[2026-08-02 00:00:25] local.INFO: TCP Data received {"connection_id":146334,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:00:25] local.INFO: Processing buffer {"connection_id":146334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:00:25] local.INFO: Packet analysis {"connection_id":146334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-02 00:00:25] local.INFO: Extracted packet for processing {"connection_id":146334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-02 00:00:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115788800001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:00:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785608851000,"timestamp_ms":1785608851000,"timestamp_seconds":1785608851,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe94ce38"} 
[2026-08-02 00:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 00:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115788800001,"66":25625,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115788800001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:00:25] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:00:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:00:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115788800001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":146334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:00:25] local.INFO: GPS data processed {"connection_id":146334,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:00:25] local.INFO: Acknowledgment sent {"connection_id":146334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:00:43] local.INFO: TCP Data received {"connection_id":148888,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:00:43] local.INFO: Processing buffer {"connection_id":148888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:00:43] local.INFO: IMEI packet received {"connection_id":148888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":148888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:00:48] local.INFO: TCP Data received {"connection_id":148888,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:00:48] local.INFO: Processing buffer {"connection_id":148888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:00:48] local.INFO: IMEI packet received {"connection_id":148888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":148888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:00:49] local.INFO: TCP Data received {"connection_id":148888,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:00:49] local.INFO: Processing buffer {"connection_id":148888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:00:49] local.INFO: Packet analysis {"connection_id":148888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-02 00:00:49] local.INFO: Extracted packet for processing {"connection_id":148888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-02 00:00:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115788800001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:00:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785608851000,"timestamp_ms":1785608851000,"timestamp_seconds":1785608851,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe94ce38"} 
[2026-08-02 00:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 00:00: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-08-02 00:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115788800001,"66":25625,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115788800001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:00:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:00:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:00:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115788800001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":148888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:00:49] local.INFO: GPS data processed {"connection_id":148888,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:00:49] local.INFO: Acknowledgment sent {"connection_id":148888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:01:21] local.INFO: TCP Data received {"connection_id":148888,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:01:21] local.INFO: Processing buffer {"connection_id":148888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:01:21] local.INFO: Packet analysis {"connection_id":148888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-02 00:01:21] local.INFO: Extracted packet for processing {"connection_id":148888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-02 00:01:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115788800001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785608851000,"timestamp_ms":1785608851000,"timestamp_seconds":1785608851,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe94ce38"} 
[2026-08-02 00:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 00:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115788800001,"66":25625,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115788800001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:01:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:01:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115788800001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":148888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:01:21] local.INFO: GPS data processed {"connection_id":148888,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:01:21] local.INFO: Acknowledgment sent {"connection_id":148888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:01:42] local.INFO: TCP Data received {"connection_id":146564,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:01:42] local.INFO: Processing buffer {"connection_id":146564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:01:42] local.INFO: IMEI packet received {"connection_id":146564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":146564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:01:48] local.INFO: TCP Data received {"connection_id":146564,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:01:48] local.INFO: Processing buffer {"connection_id":146564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:01:48] local.INFO: IMEI packet received {"connection_id":146564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":146564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:01:49] local.INFO: TCP Data received {"connection_id":146564,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:01:49] local.INFO: Processing buffer {"connection_id":146564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:01:49] local.INFO: Packet analysis {"connection_id":146564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-02 00:01:49] local.INFO: Extracted packet for processing {"connection_id":146564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-02 00:01:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115788800001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785608851000,"timestamp_ms":1785608851000,"timestamp_seconds":1785608851,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe94ce38"} 
[2026-08-02 00:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 00:01: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-08-02 00:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115788800001,"66":25625,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115788800001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:01:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:01:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115788800001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":146564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:01:49] local.INFO: GPS data processed {"connection_id":146564,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:01:49] local.INFO: Acknowledgment sent {"connection_id":146564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:02:21] local.INFO: TCP Data received {"connection_id":146564,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:02:21] local.INFO: Processing buffer {"connection_id":146564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:02:21] local.INFO: Packet analysis {"connection_id":146564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-02 00:02:21] local.INFO: Extracted packet for processing {"connection_id":146564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-02 00:02:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115788800001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785608851000,"timestamp_ms":1785608851000,"timestamp_seconds":1785608851,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe94ce38"} 
[2026-08-02 00:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 00:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115788800001,"66":25625,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115788800001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:02:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:02:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115788800001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":146564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:02:21] local.INFO: GPS data processed {"connection_id":146564,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:02:21] local.INFO: Acknowledgment sent {"connection_id":146564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:02:42] local.INFO: TCP Data received {"connection_id":147568,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:02:42] local.INFO: Processing buffer {"connection_id":147568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:02:42] local.INFO: IMEI packet received {"connection_id":147568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":147568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:02:48] local.INFO: TCP Data received {"connection_id":147568,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:02:48] local.INFO: Processing buffer {"connection_id":147568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:02:48] local.INFO: IMEI packet received {"connection_id":147568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":147568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:02:50] local.INFO: TCP Data received {"connection_id":147568,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:02:50] local.INFO: Processing buffer {"connection_id":147568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:02:50] local.INFO: Packet analysis {"connection_id":147568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-02 00:02:50] local.INFO: Extracted packet for processing {"connection_id":147568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-02 00:02:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115788800001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:02:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785608851000,"timestamp_ms":1785608851000,"timestamp_seconds":1785608851,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe94ce38"} 
[2026-08-02 00:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 00:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115788800001,"66":25625,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115788800001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:02:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:02:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:02:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115788800001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":147568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:02:50] local.INFO: GPS data processed {"connection_id":147568,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:02:50] local.INFO: Acknowledgment sent {"connection_id":147568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:03:22] local.INFO: TCP Data received {"connection_id":147568,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:03:22] local.INFO: Processing buffer {"connection_id":147568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:03:22] local.INFO: Packet analysis {"connection_id":147568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:03:22] local.INFO: Extracted packet for processing {"connection_id":147568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:03:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115865856001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:03:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785609152000,"timestamp_ms":1785609152000,"timestamp_seconds":1785609152,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe996600"} 
[2026-08-02 00:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115865856001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115865856001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:03:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:03:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:03:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115865856001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":147568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:03:22] local.INFO: GPS data processed {"connection_id":147568,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:03:22] local.INFO: Acknowledgment sent {"connection_id":147568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:03:45] local.INFO: TCP Data received {"connection_id":146565,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:03:45] local.INFO: Processing buffer {"connection_id":146565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:03:45] local.INFO: IMEI packet received {"connection_id":146565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":146565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:03:48] local.INFO: TCP Data received {"connection_id":146565,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:03:48] local.INFO: Processing buffer {"connection_id":146565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:03:48] local.INFO: IMEI packet received {"connection_id":146565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":146565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:04:00] local.INFO: TCP Data received {"connection_id":146565,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:04:00] local.INFO: Processing buffer {"connection_id":146565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:04:00] local.INFO: Packet analysis {"connection_id":146565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:04:00] local.INFO: Extracted packet for processing {"connection_id":146565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:04:00] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115865856001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785609152000,"timestamp_ms":1785609152000,"timestamp_seconds":1785609152,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe996600"} 
[2026-08-02 00:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115865856001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115865856001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:04:00] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:04:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115865856001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":146565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:04:00] local.INFO: GPS data processed {"connection_id":146565,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:04:00] local.INFO: Acknowledgment sent {"connection_id":146565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:04:02] local.INFO: TCP Data received {"connection_id":146565,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:04:02] local.INFO: Processing buffer {"connection_id":146565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:04:02] local.INFO: Packet analysis {"connection_id":146565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:04:02] local.INFO: Extracted packet for processing {"connection_id":146565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:04:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115865856001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:04:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785609152000,"timestamp_ms":1785609152000,"timestamp_seconds":1785609152,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe996600"} 
[2026-08-02 00:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115865856001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115865856001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:04:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:04:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:04:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115865856001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":146565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:04:02] local.INFO: GPS data processed {"connection_id":146565,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:04:02] local.INFO: Acknowledgment sent {"connection_id":146565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:04:43] local.INFO: TCP Data received {"connection_id":146566,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:04:43] local.INFO: Processing buffer {"connection_id":146566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:04:43] local.INFO: IMEI packet received {"connection_id":146566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":146566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:04:48] local.INFO: TCP Data received {"connection_id":146566,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:04:48] local.INFO: Processing buffer {"connection_id":146566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:04:48] local.INFO: IMEI packet received {"connection_id":146566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":146566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:04:49] local.INFO: TCP Data received {"connection_id":146566,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:04:49] local.INFO: Processing buffer {"connection_id":146566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:04:49] local.INFO: Packet analysis {"connection_id":146566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:04:49] local.INFO: Extracted packet for processing {"connection_id":146566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:04:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115865856001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785609152000,"timestamp_ms":1785609152000,"timestamp_seconds":1785609152,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe996600"} 
[2026-08-02 00:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115865856001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115865856001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:04:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:04:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115865856001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":146566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:04:49] local.INFO: GPS data processed {"connection_id":146566,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:04:49] local.INFO: Acknowledgment sent {"connection_id":146566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:05:25] local.INFO: TCP Data received {"connection_id":146566,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:05:25] local.INFO: Processing buffer {"connection_id":146566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:05:25] local.INFO: Packet analysis {"connection_id":146566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:05:25] local.INFO: Extracted packet for processing {"connection_id":146566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:05:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115865856001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:05:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785609152000,"timestamp_ms":1785609152000,"timestamp_seconds":1785609152,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe996600"} 
[2026-08-02 00:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115865856001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115865856001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:05:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:05:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:05:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115865856001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":146566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:05:25] local.INFO: GPS data processed {"connection_id":146566,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:05:25] local.INFO: Acknowledgment sent {"connection_id":146566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:05:43] local.INFO: TCP Data received {"connection_id":148889,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:05:43] local.INFO: Processing buffer {"connection_id":148889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:05:43] local.INFO: IMEI packet received {"connection_id":148889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":148889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:05:48] local.INFO: TCP Data received {"connection_id":148889,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:05:48] local.INFO: Processing buffer {"connection_id":148889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:05:48] local.INFO: IMEI packet received {"connection_id":148889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":148889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:05:49] local.INFO: TCP Data received {"connection_id":148889,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:05:49] local.INFO: Processing buffer {"connection_id":148889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:05:49] local.INFO: Packet analysis {"connection_id":148889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:05:49] local.INFO: Extracted packet for processing {"connection_id":148889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:05:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115865856001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785609152000,"timestamp_ms":1785609152000,"timestamp_seconds":1785609152,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe996600"} 
[2026-08-02 00:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115865856001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115865856001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:05:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:05:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115865856001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":148889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:05:49] local.INFO: GPS data processed {"connection_id":148889,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:05:49] local.INFO: Acknowledgment sent {"connection_id":148889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:06:21] local.INFO: TCP Data received {"connection_id":148889,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:06:21] local.INFO: Processing buffer {"connection_id":148889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:06:21] local.INFO: Packet analysis {"connection_id":148889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:06:21] local.INFO: Extracted packet for processing {"connection_id":148889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:06:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115865856001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785609152000,"timestamp_ms":1785609152000,"timestamp_seconds":1785609152,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe996600"} 
[2026-08-02 00:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115865856001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115865856001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:06:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:06:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115865856001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":148889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:06:21] local.INFO: GPS data processed {"connection_id":148889,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:06:21] local.INFO: Acknowledgment sent {"connection_id":148889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:06:42] local.INFO: TCP Data received {"connection_id":146335,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:06:42] local.INFO: Processing buffer {"connection_id":146335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:06:42] local.INFO: IMEI packet received {"connection_id":146335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":146335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:06:48] local.INFO: TCP Data received {"connection_id":146335,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:06:48] local.INFO: Processing buffer {"connection_id":146335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:06:48] local.INFO: IMEI packet received {"connection_id":146335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":146335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:06:49] local.INFO: TCP Data received {"connection_id":146335,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:06:49] local.INFO: Processing buffer {"connection_id":146335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:06:49] local.INFO: Packet analysis {"connection_id":146335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:06:49] local.INFO: Extracted packet for processing {"connection_id":146335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:06:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115865856001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:06:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785609152000,"timestamp_ms":1785609152000,"timestamp_seconds":1785609152,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe996600"} 
[2026-08-02 00:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115865856001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115865856001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:06:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:06:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:06:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115865856001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":146335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:06:49] local.INFO: GPS data processed {"connection_id":146335,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:06:49] local.INFO: Acknowledgment sent {"connection_id":146335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:07:21] local.INFO: TCP Data received {"connection_id":146335,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:07:21] local.INFO: Processing buffer {"connection_id":146335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:07:21] local.INFO: Packet analysis {"connection_id":146335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:07:21] local.INFO: Extracted packet for processing {"connection_id":146335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:07:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115865856001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785609152000,"timestamp_ms":1785609152000,"timestamp_seconds":1785609152,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe996600"} 
[2026-08-02 00:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115865856001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115865856001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:07:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:07:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115865856001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":146335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:07:21] local.INFO: GPS data processed {"connection_id":146335,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:07:21] local.INFO: Acknowledgment sent {"connection_id":146335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:07:48] local.INFO: TCP Data received {"connection_id":146336,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:07:48] local.INFO: Processing buffer {"connection_id":146336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:07:48] local.INFO: IMEI packet received {"connection_id":146336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":146336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:07:53] local.INFO: TCP Data received {"connection_id":146336,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:07:53] local.INFO: Processing buffer {"connection_id":146336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:07:53] local.INFO: IMEI packet received {"connection_id":146336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":146336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:07:54] local.INFO: TCP Data received {"connection_id":146336,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:07:54] local.INFO: Processing buffer {"connection_id":146336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:07:54] local.INFO: Packet analysis {"connection_id":146336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:07:54] local.INFO: Extracted packet for processing {"connection_id":146336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:07:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115865856001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:07:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785609152000,"timestamp_ms":1785609152000,"timestamp_seconds":1785609152,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe996600"} 
[2026-08-02 00:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115865856001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115865856001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:07:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:07:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:07:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115865856001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":146336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:07:54] local.INFO: GPS data processed {"connection_id":146336,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:07:54] local.INFO: Acknowledgment sent {"connection_id":146336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:07:59] local.INFO: TCP Data received {"connection_id":146336,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:07:59] local.INFO: Processing buffer {"connection_id":146336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe996600012cc330c007685b20005a00cd23..."} 
[2026-08-02 00:07:59] local.INFO: Packet analysis {"connection_id":146336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:07:59] local.INFO: Extracted packet for processing {"connection_id":146336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe99"} 
[2026-08-02 00:07:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115865856001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:07:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785609152000,"timestamp_ms":1785609152000,"timestamp_seconds":1785609152,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe996600"} 
[2026-08-02 00:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115865856001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115865856001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:07:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:07:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:07:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115865856001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":146336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:07:59] local.INFO: GPS data processed {"connection_id":146336,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:07:59] local.INFO: Acknowledgment sent {"connection_id":146336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:08:43] local.INFO: TCP Data received {"connection_id":146337,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:08:43] local.INFO: Processing buffer {"connection_id":146337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:08:43] local.INFO: IMEI packet received {"connection_id":146337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":146337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:08:48] local.INFO: TCP Data received {"connection_id":146337,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:08:48] local.INFO: Processing buffer {"connection_id":146337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:08:48] local.INFO: IMEI packet received {"connection_id":146337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":146337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:08:49] local.INFO: TCP Data received {"connection_id":146337,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:08:49] local.INFO: Processing buffer {"connection_id":146337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:08:49] local.INFO: Packet analysis {"connection_id":146337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:08:49] local.INFO: Extracted packet for processing {"connection_id":146337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:08:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115942912001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:08:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785609453000,"timestamp_ms":1785609453000,"timestamp_seconds":1785609453,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe9dfdc8"} 
[2026-08-02 00:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115942912001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115942912001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:08:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:08:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:08:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115942912001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":146337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:08:49] local.INFO: GPS data processed {"connection_id":146337,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:08:49] local.INFO: Acknowledgment sent {"connection_id":146337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:09:21] local.INFO: TCP Data received {"connection_id":146337,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:09:21] local.INFO: Processing buffer {"connection_id":146337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:09:21] local.INFO: Packet analysis {"connection_id":146337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:09:21] local.INFO: Extracted packet for processing {"connection_id":146337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:09:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115942912001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785609453000,"timestamp_ms":1785609453000,"timestamp_seconds":1785609453,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe9dfdc8"} 
[2026-08-02 00:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115942912001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115942912001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:09:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:09:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115942912001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":146337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:09:21] local.INFO: GPS data processed {"connection_id":146337,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:09:21] local.INFO: Acknowledgment sent {"connection_id":146337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:09:43] local.INFO: TCP Data received {"connection_id":148890,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:09:43] local.INFO: Processing buffer {"connection_id":148890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:09:43] local.INFO: IMEI packet received {"connection_id":148890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":148890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:09:48] local.INFO: TCP Data received {"connection_id":148890,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:09:48] local.INFO: Processing buffer {"connection_id":148890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:09:48] local.INFO: IMEI packet received {"connection_id":148890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":148890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:09:49] local.INFO: TCP Data received {"connection_id":148890,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:09:49] local.INFO: Processing buffer {"connection_id":148890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:09:49] local.INFO: Packet analysis {"connection_id":148890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:09:49] local.INFO: Extracted packet for processing {"connection_id":148890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:09:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115942912001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:09:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785609453000,"timestamp_ms":1785609453000,"timestamp_seconds":1785609453,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe9dfdc8"} 
[2026-08-02 00:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115942912001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115942912001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:09:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:09:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:09:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115942912001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":148890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:09:49] local.INFO: GPS data processed {"connection_id":148890,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:09:49] local.INFO: Acknowledgment sent {"connection_id":148890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:10:21] local.INFO: TCP Data received {"connection_id":148890,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:10:21] local.INFO: Processing buffer {"connection_id":148890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:10:21] local.INFO: Packet analysis {"connection_id":148890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:10:21] local.INFO: Extracted packet for processing {"connection_id":148890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:10:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115942912001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785609453000,"timestamp_ms":1785609453000,"timestamp_seconds":1785609453,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe9dfdc8"} 
[2026-08-02 00:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115942912001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115942912001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:10:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:10:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115942912001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":148890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:10:21] local.INFO: GPS data processed {"connection_id":148890,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:10:21] local.INFO: Acknowledgment sent {"connection_id":148890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:10:48] local.INFO: TCP Data received {"connection_id":146338,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:10:48] local.INFO: Processing buffer {"connection_id":146338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:10:48] local.INFO: IMEI packet received {"connection_id":146338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":146338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:10:53] local.INFO: TCP Data received {"connection_id":146338,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:10:53] local.INFO: Processing buffer {"connection_id":146338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:10:53] local.INFO: IMEI packet received {"connection_id":146338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":146338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:10:54] local.INFO: TCP Data received {"connection_id":146338,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:10:54] local.INFO: Processing buffer {"connection_id":146338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:10:54] local.INFO: Packet analysis {"connection_id":146338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:10:54] local.INFO: Extracted packet for processing {"connection_id":146338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:10:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115942912001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:10:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785609453000,"timestamp_ms":1785609453000,"timestamp_seconds":1785609453,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe9dfdc8"} 
[2026-08-02 00:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115942912001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115942912001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:10:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:10:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:10:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115942912001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":146338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:10:54] local.INFO: GPS data processed {"connection_id":146338,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:10:54] local.INFO: Acknowledgment sent {"connection_id":146338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:10:58] local.INFO: TCP Data received {"connection_id":146338,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:10:58] local.INFO: Processing buffer {"connection_id":146338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:10:58] local.INFO: Packet analysis {"connection_id":146338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:10:58] local.INFO: Extracted packet for processing {"connection_id":146338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:10:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115942912001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:10:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785609453000,"timestamp_ms":1785609453000,"timestamp_seconds":1785609453,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe9dfdc8"} 
[2026-08-02 00:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115942912001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115942912001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:10:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:10:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:10:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115942912001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":146338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:10:58] local.INFO: GPS data processed {"connection_id":146338,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:10:58] local.INFO: Acknowledgment sent {"connection_id":146338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:11:57] local.INFO: TCP Data received {"connection_id":147569,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:11:57] local.INFO: Processing buffer {"connection_id":147569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:11:57] local.INFO: IMEI packet received {"connection_id":147569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":147569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:11:58] local.INFO: TCP Data received {"connection_id":147569,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:11:58] local.INFO: Processing buffer {"connection_id":147569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:11:58] local.INFO: IMEI packet received {"connection_id":147569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":147569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:11:59] local.INFO: TCP Data received {"connection_id":147569,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:11:59] local.INFO: Processing buffer {"connection_id":147569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:11:59] local.INFO: Packet analysis {"connection_id":147569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:11:59] local.INFO: Extracted packet for processing {"connection_id":147569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:11:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115942912001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:11:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785609453000,"timestamp_ms":1785609453000,"timestamp_seconds":1785609453,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe9dfdc8"} 
[2026-08-02 00:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115942912001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115942912001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:11:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:11:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:11:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115942912001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":147569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:11:59] local.INFO: GPS data processed {"connection_id":147569,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:11:59] local.INFO: Acknowledgment sent {"connection_id":147569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:12:04] local.INFO: TCP Data received {"connection_id":147569,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:12:04] local.INFO: Processing buffer {"connection_id":147569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:12:04] local.INFO: Packet analysis {"connection_id":147569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:12:04] local.INFO: Extracted packet for processing {"connection_id":147569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:12:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115942912001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:12:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785609453000,"timestamp_ms":1785609453000,"timestamp_seconds":1785609453,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe9dfdc8"} 
[2026-08-02 00:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115942912001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115942912001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:12:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:12:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:12:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115942912001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":147569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:12:04] local.INFO: GPS data processed {"connection_id":147569,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:12:04] local.INFO: Acknowledgment sent {"connection_id":147569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:12:43] local.INFO: TCP Data received {"connection_id":147570,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:12:43] local.INFO: Processing buffer {"connection_id":147570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:12:43] local.INFO: IMEI packet received {"connection_id":147570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":147570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:12:48] local.INFO: TCP Data received {"connection_id":147570,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:12:48] local.INFO: Processing buffer {"connection_id":147570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:12:48] local.INFO: IMEI packet received {"connection_id":147570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":147570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:12:49] local.INFO: TCP Data received {"connection_id":147570,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:12:49] local.INFO: Processing buffer {"connection_id":147570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe9dfdc8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:12:49] local.INFO: Packet analysis {"connection_id":147570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:12:49] local.INFO: Extracted packet for processing {"connection_id":147570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe9d"} 
[2026-08-02 00:12:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115942912001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:12:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785609453000,"timestamp_ms":1785609453000,"timestamp_seconds":1785609453,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe9dfdc8"} 
[2026-08-02 00:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 00:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115942912001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115942912001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:12:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:12:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:12:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115942912001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":147570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:12:49] local.INFO: GPS data processed {"connection_id":147570,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:12:49] local.INFO: Acknowledgment sent {"connection_id":147570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:13:21] local.INFO: TCP Data received {"connection_id":147570,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:13:21] local.INFO: Processing buffer {"connection_id":147570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:13:21] local.INFO: Packet analysis {"connection_id":147570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:13:21] local.INFO: Extracted packet for processing {"connection_id":147570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:13:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116019968001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785609754000,"timestamp_ms":1785609754000,"timestamp_seconds":1785609754,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea29590"} 
[2026-08-02 00:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116019968001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116019968001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:13:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:13:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116019968001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":147570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:13:21] local.INFO: GPS data processed {"connection_id":147570,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:13:21] local.INFO: Acknowledgment sent {"connection_id":147570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:13:48] local.INFO: TCP Data received {"connection_id":148891,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:13:48] local.INFO: Processing buffer {"connection_id":148891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:13:48] local.INFO: IMEI packet received {"connection_id":148891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":148891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:13:53] local.INFO: TCP Data received {"connection_id":148891,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:13:53] local.INFO: Processing buffer {"connection_id":148891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:13:53] local.INFO: IMEI packet received {"connection_id":148891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":148891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:13:54] local.INFO: TCP Data received {"connection_id":148891,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:13:54] local.INFO: Processing buffer {"connection_id":148891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:13:54] local.INFO: Packet analysis {"connection_id":148891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:13:54] local.INFO: Extracted packet for processing {"connection_id":148891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:13:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116019968001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:13:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785609754000,"timestamp_ms":1785609754000,"timestamp_seconds":1785609754,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea29590"} 
[2026-08-02 00:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116019968001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116019968001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:13:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:13:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:13:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116019968001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":148891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:13:54] local.INFO: GPS data processed {"connection_id":148891,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:13:54] local.INFO: Acknowledgment sent {"connection_id":148891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:13:59] local.INFO: TCP Data received {"connection_id":148891,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:13:59] local.INFO: Processing buffer {"connection_id":148891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:13:59] local.INFO: Packet analysis {"connection_id":148891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:13:59] local.INFO: Extracted packet for processing {"connection_id":148891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:13:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116019968001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:13:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785609754000,"timestamp_ms":1785609754000,"timestamp_seconds":1785609754,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea29590"} 
[2026-08-02 00:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116019968001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116019968001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:13:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:13:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:13:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116019968001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":148891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:13:59] local.INFO: GPS data processed {"connection_id":148891,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:13:59] local.INFO: Acknowledgment sent {"connection_id":148891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:14:48] local.INFO: TCP Data received {"connection_id":146339,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:14:48] local.INFO: Processing buffer {"connection_id":146339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:14:48] local.INFO: IMEI packet received {"connection_id":146339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":146339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:14:48] local.INFO: TCP Data received {"connection_id":146339,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:14:48] local.INFO: Processing buffer {"connection_id":146339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:14:48] local.INFO: IMEI packet received {"connection_id":146339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":146339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:14:50] local.INFO: TCP Data received {"connection_id":146339,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:14:50] local.INFO: Processing buffer {"connection_id":146339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:14:50] local.INFO: Packet analysis {"connection_id":146339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:14:50] local.INFO: Extracted packet for processing {"connection_id":146339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:14:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116019968001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:14:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785609754000,"timestamp_ms":1785609754000,"timestamp_seconds":1785609754,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea29590"} 
[2026-08-02 00:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116019968001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116019968001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:14:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:14:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:14:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116019968001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":146339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:14:50] local.INFO: GPS data processed {"connection_id":146339,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:14:50] local.INFO: Acknowledgment sent {"connection_id":146339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:14:59] local.INFO: TCP Data received {"connection_id":146339,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:14:59] local.INFO: Processing buffer {"connection_id":146339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:14:59] local.INFO: Packet analysis {"connection_id":146339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:14:59] local.INFO: Extracted packet for processing {"connection_id":146339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:14:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116019968001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:14:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785609754000,"timestamp_ms":1785609754000,"timestamp_seconds":1785609754,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea29590"} 
[2026-08-02 00:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116019968001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116019968001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:14:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:14:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:14:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116019968001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":146339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:14:59] local.INFO: GPS data processed {"connection_id":146339,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:14:59] local.INFO: Acknowledgment sent {"connection_id":146339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:15:43] local.INFO: TCP Data received {"connection_id":146340,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:15:43] local.INFO: Processing buffer {"connection_id":146340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:15:43] local.INFO: IMEI packet received {"connection_id":146340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":146340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:15:48] local.INFO: TCP Data received {"connection_id":146340,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:15:48] local.INFO: Processing buffer {"connection_id":146340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:15:48] local.INFO: IMEI packet received {"connection_id":146340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":146340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:15:49] local.INFO: TCP Data received {"connection_id":146340,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:15:49] local.INFO: Processing buffer {"connection_id":146340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:15:49] local.INFO: Packet analysis {"connection_id":146340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:15:49] local.INFO: Extracted packet for processing {"connection_id":146340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:15:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116019968001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:15:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785609754000,"timestamp_ms":1785609754000,"timestamp_seconds":1785609754,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea29590"} 
[2026-08-02 00:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116019968001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116019968001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:15:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:15:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:15:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116019968001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":146340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:15:49] local.INFO: GPS data processed {"connection_id":146340,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:15:49] local.INFO: Acknowledgment sent {"connection_id":146340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:16:21] local.INFO: TCP Data received {"connection_id":146340,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:16:21] local.INFO: Processing buffer {"connection_id":146340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:16:21] local.INFO: Packet analysis {"connection_id":146340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:16:21] local.INFO: Extracted packet for processing {"connection_id":146340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:16:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116019968001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785609754000,"timestamp_ms":1785609754000,"timestamp_seconds":1785609754,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea29590"} 
[2026-08-02 00:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116019968001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116019968001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:16:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:16:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116019968001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":146340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:16:21] local.INFO: GPS data processed {"connection_id":146340,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:16:21] local.INFO: Acknowledgment sent {"connection_id":146340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:16:42] local.INFO: TCP Data received {"connection_id":146567,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:16:42] local.INFO: Processing buffer {"connection_id":146567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:16:42] local.INFO: IMEI packet received {"connection_id":146567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":146567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:16:48] local.INFO: TCP Data received {"connection_id":146567,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:16:48] local.INFO: Processing buffer {"connection_id":146567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:16:48] local.INFO: IMEI packet received {"connection_id":146567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":146567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:16:49] local.INFO: TCP Data received {"connection_id":146567,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:16:49] local.INFO: Processing buffer {"connection_id":146567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:16:49] local.INFO: Packet analysis {"connection_id":146567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:16:49] local.INFO: Extracted packet for processing {"connection_id":146567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:16:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116019968001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785609754000,"timestamp_ms":1785609754000,"timestamp_seconds":1785609754,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea29590"} 
[2026-08-02 00:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116019968001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116019968001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:16:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:16:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116019968001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":146567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:16:49] local.INFO: GPS data processed {"connection_id":146567,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:16:49] local.INFO: Acknowledgment sent {"connection_id":146567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:17:21] local.INFO: TCP Data received {"connection_id":146567,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:17:21] local.INFO: Processing buffer {"connection_id":146567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:17:21] local.INFO: Packet analysis {"connection_id":146567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:17:21] local.INFO: Extracted packet for processing {"connection_id":146567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:17:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116019968001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785609754000,"timestamp_ms":1785609754000,"timestamp_seconds":1785609754,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea29590"} 
[2026-08-02 00:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116019968001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116019968001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:17:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:17:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116019968001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":146567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:17:21] local.INFO: GPS data processed {"connection_id":146567,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:17:21] local.INFO: Acknowledgment sent {"connection_id":146567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:17:56] local.INFO: TCP Data received {"connection_id":147571,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:17:56] local.INFO: Processing buffer {"connection_id":147571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:17:56] local.INFO: IMEI packet received {"connection_id":147571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":147571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:17:56] local.INFO: TCP Data received {"connection_id":147571,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:17:56] local.INFO: Processing buffer {"connection_id":147571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:17:56] local.INFO: IMEI packet received {"connection_id":147571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":147571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:17:57] local.INFO: TCP Data received {"connection_id":147571,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:17:57] local.INFO: Processing buffer {"connection_id":147571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:17:57] local.INFO: Packet analysis {"connection_id":147571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:17:57] local.INFO: Extracted packet for processing {"connection_id":147571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:17:57] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116019968001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:17:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785609754000,"timestamp_ms":1785609754000,"timestamp_seconds":1785609754,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea29590"} 
[2026-08-02 00:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116019968001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116019968001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:17:57] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:17:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:17:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116019968001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":147571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:17:57] local.INFO: GPS data processed {"connection_id":147571,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:17:57] local.INFO: Acknowledgment sent {"connection_id":147571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:17:58] local.INFO: TCP Data received {"connection_id":147571,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:17:58] local.INFO: Processing buffer {"connection_id":147571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea29590012cc330c007685b20005a00cd22..."} 
[2026-08-02 00:17:58] local.INFO: Packet analysis {"connection_id":147571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:17:58] local.INFO: Extracted packet for processing {"connection_id":147571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea2"} 
[2026-08-02 00:17:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116019968001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:17:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785609754000,"timestamp_ms":1785609754000,"timestamp_seconds":1785609754,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea29590"} 
[2026-08-02 00:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116019968001,"66":25615,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116019968001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:17:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:17:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:17:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116019968001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":147571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:17:59] local.INFO: GPS data processed {"connection_id":147571,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:17:59] local.INFO: Acknowledgment sent {"connection_id":147571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:18:42] local.INFO: TCP Data received {"connection_id":146341,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:18:42] local.INFO: Processing buffer {"connection_id":146341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:18:42] local.INFO: IMEI packet received {"connection_id":146341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":146341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:18:48] local.INFO: TCP Data received {"connection_id":146341,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:18:48] local.INFO: Processing buffer {"connection_id":146341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:18:48] local.INFO: IMEI packet received {"connection_id":146341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":146341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:18:49] local.INFO: TCP Data received {"connection_id":146341,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:18:49] local.INFO: Processing buffer {"connection_id":146341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:18:49] local.INFO: Packet analysis {"connection_id":146341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:18:49] local.INFO: Extracted packet for processing {"connection_id":146341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:18:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116097024001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:18:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785610055000,"timestamp_ms":1785610055000,"timestamp_seconds":1785610055,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea72d58"} 
[2026-08-02 00:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116097024001,"66":25615,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116097024001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:18:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:18:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:18:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116097024001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":146341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:18:49] local.INFO: GPS data processed {"connection_id":146341,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:18:49] local.INFO: Acknowledgment sent {"connection_id":146341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:19:21] local.INFO: TCP Data received {"connection_id":146341,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:19:21] local.INFO: Processing buffer {"connection_id":146341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:19:21] local.INFO: Packet analysis {"connection_id":146341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:19:21] local.INFO: Extracted packet for processing {"connection_id":146341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:19:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116097024001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785610055000,"timestamp_ms":1785610055000,"timestamp_seconds":1785610055,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea72d58"} 
[2026-08-02 00:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116097024001,"66":25615,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116097024001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:19:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:19:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116097024001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":146341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:19:21] local.INFO: GPS data processed {"connection_id":146341,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:19:21] local.INFO: Acknowledgment sent {"connection_id":146341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:19:48] local.INFO: TCP Data received {"connection_id":146568,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:19:48] local.INFO: Processing buffer {"connection_id":146568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:19:48] local.INFO: IMEI packet received {"connection_id":146568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":146568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:19:53] local.INFO: TCP Data received {"connection_id":146568,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:19:53] local.INFO: Processing buffer {"connection_id":146568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:19:53] local.INFO: IMEI packet received {"connection_id":146568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":146568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:19:54] local.INFO: TCP Data received {"connection_id":146568,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:19:54] local.INFO: Processing buffer {"connection_id":146568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:19:54] local.INFO: Packet analysis {"connection_id":146568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:19:54] local.INFO: Extracted packet for processing {"connection_id":146568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:19:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116097024001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:19:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785610055000,"timestamp_ms":1785610055000,"timestamp_seconds":1785610055,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea72d58"} 
[2026-08-02 00:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116097024001,"66":25615,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116097024001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:19:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:19:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:19:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116097024001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":146568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:19:54] local.INFO: GPS data processed {"connection_id":146568,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:19:54] local.INFO: Acknowledgment sent {"connection_id":146568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:19:59] local.INFO: TCP Data received {"connection_id":146568,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:19:59] local.INFO: Processing buffer {"connection_id":146568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:19:59] local.INFO: Packet analysis {"connection_id":146568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:19:59] local.INFO: Extracted packet for processing {"connection_id":146568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:19:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116097024001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:19:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785610055000,"timestamp_ms":1785610055000,"timestamp_seconds":1785610055,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea72d58"} 
[2026-08-02 00:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116097024001,"66":25615,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116097024001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:19:59] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:19:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:19:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116097024001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":146568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:19:59] local.INFO: GPS data processed {"connection_id":146568,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:19:59] local.INFO: Acknowledgment sent {"connection_id":146568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:20:43] local.INFO: TCP Data received {"connection_id":147572,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:20:43] local.INFO: Processing buffer {"connection_id":147572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:20:43] local.INFO: IMEI packet received {"connection_id":147572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":147572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:20:48] local.INFO: TCP Data received {"connection_id":147572,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:20:48] local.INFO: Processing buffer {"connection_id":147572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:20:48] local.INFO: IMEI packet received {"connection_id":147572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":147572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:20:49] local.INFO: TCP Data received {"connection_id":147572,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:20:49] local.INFO: Processing buffer {"connection_id":147572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:20:49] local.INFO: Packet analysis {"connection_id":147572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:20:49] local.INFO: Extracted packet for processing {"connection_id":147572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:20:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116097024001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:20:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785610055000,"timestamp_ms":1785610055000,"timestamp_seconds":1785610055,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea72d58"} 
[2026-08-02 00:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116097024001,"66":25615,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116097024001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:20:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:20:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:20:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116097024001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":147572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:20:49] local.INFO: GPS data processed {"connection_id":147572,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:20:49] local.INFO: Acknowledgment sent {"connection_id":147572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:21:21] local.INFO: TCP Data received {"connection_id":147572,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:21:21] local.INFO: Processing buffer {"connection_id":147572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:21:21] local.INFO: Packet analysis {"connection_id":147572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:21:21] local.INFO: Extracted packet for processing {"connection_id":147572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:21:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116097024001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785610055000,"timestamp_ms":1785610055000,"timestamp_seconds":1785610055,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea72d58"} 
[2026-08-02 00:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116097024001,"66":25615,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116097024001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:21:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:21:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116097024001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":147572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:21:21] local.INFO: GPS data processed {"connection_id":147572,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:21:21] local.INFO: Acknowledgment sent {"connection_id":147572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:21:42] local.INFO: TCP Data received {"connection_id":146569,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:21:42] local.INFO: Processing buffer {"connection_id":146569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:21:42] local.INFO: IMEI packet received {"connection_id":146569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":146569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:21:48] local.INFO: TCP Data received {"connection_id":146569,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:21:48] local.INFO: Processing buffer {"connection_id":146569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:21:48] local.INFO: IMEI packet received {"connection_id":146569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":146569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:21:49] local.INFO: TCP Data received {"connection_id":146569,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:21:49] local.INFO: Processing buffer {"connection_id":146569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:21:49] local.INFO: Packet analysis {"connection_id":146569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:21:49] local.INFO: Extracted packet for processing {"connection_id":146569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:21:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116097024001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:21:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785610055000,"timestamp_ms":1785610055000,"timestamp_seconds":1785610055,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea72d58"} 
[2026-08-02 00:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116097024001,"66":25615,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116097024001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:21:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:21:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:21:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116097024001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":146569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:21:49] local.INFO: GPS data processed {"connection_id":146569,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:21:49] local.INFO: Acknowledgment sent {"connection_id":146569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:22:21] local.INFO: TCP Data received {"connection_id":146569,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:22:21] local.INFO: Processing buffer {"connection_id":146569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:22:21] local.INFO: Packet analysis {"connection_id":146569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:22:21] local.INFO: Extracted packet for processing {"connection_id":146569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:22:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116097024001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785610055000,"timestamp_ms":1785610055000,"timestamp_seconds":1785610055,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea72d58"} 
[2026-08-02 00:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116097024001,"66":25615,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116097024001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:22:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:22:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116097024001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":146569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:22:21] local.INFO: GPS data processed {"connection_id":146569,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:22:21] local.INFO: Acknowledgment sent {"connection_id":146569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:22:43] local.INFO: TCP Data received {"connection_id":146342,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:22:43] local.INFO: Processing buffer {"connection_id":146342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:22:43] local.INFO: IMEI packet received {"connection_id":146342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":146342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:22:48] local.INFO: TCP Data received {"connection_id":146342,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:22:48] local.INFO: Processing buffer {"connection_id":146342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:22:48] local.INFO: IMEI packet received {"connection_id":146342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":146342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:22:49] local.INFO: TCP Data received {"connection_id":146342,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:22:49] local.INFO: Processing buffer {"connection_id":146342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbea72d58012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:22:49] local.INFO: Packet analysis {"connection_id":146342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:22:49] local.INFO: Extracted packet for processing {"connection_id":146342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbea7"} 
[2026-08-02 00:22:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116097024001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:22:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785610055000,"timestamp_ms":1785610055000,"timestamp_seconds":1785610055,"priority":1,"record_length":96,"hex_timestamp":"0000019fbea72d58"} 
[2026-08-02 00:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116097024001,"66":25615,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116097024001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:22:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:22:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:22:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116097024001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":146342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:22:49] local.INFO: GPS data processed {"connection_id":146342,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:22:49] local.INFO: Acknowledgment sent {"connection_id":146342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:23:21] local.INFO: TCP Data received {"connection_id":146342,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:23:21] local.INFO: Processing buffer {"connection_id":146342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:23:21] local.INFO: Packet analysis {"connection_id":146342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:23:21] local.INFO: Extracted packet for processing {"connection_id":146342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:23:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116174080001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785610356000,"timestamp_ms":1785610356000,"timestamp_seconds":1785610356,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeabc520"} 
[2026-08-02 00:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116174080001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116174080001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:23:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:23:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116174080001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":146342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:23:21] local.INFO: GPS data processed {"connection_id":146342,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:23:21] local.INFO: Acknowledgment sent {"connection_id":146342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:23:48] local.INFO: TCP Data received {"connection_id":146570,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:23:48] local.INFO: Processing buffer {"connection_id":146570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:23:48] local.INFO: IMEI packet received {"connection_id":146570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":146570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:23:54] local.INFO: TCP Data received {"connection_id":146570,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:23:54] local.INFO: Processing buffer {"connection_id":146570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:23:54] local.INFO: IMEI packet received {"connection_id":146570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":146570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:23:55] local.INFO: TCP Data received {"connection_id":146570,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:23:55] local.INFO: Processing buffer {"connection_id":146570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:23:55] local.INFO: Packet analysis {"connection_id":146570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:23:55] local.INFO: Extracted packet for processing {"connection_id":146570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:23:55] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116174080001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:23:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785610356000,"timestamp_ms":1785610356000,"timestamp_seconds":1785610356,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeabc520"} 
[2026-08-02 00:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116174080001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116174080001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:23:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:23:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:23:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116174080001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":146570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:23:55] local.INFO: GPS data processed {"connection_id":146570,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:23:55] local.INFO: Acknowledgment sent {"connection_id":146570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:24:27] local.INFO: TCP Data received {"connection_id":146570,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:24:27] local.INFO: Processing buffer {"connection_id":146570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:24:27] local.INFO: Packet analysis {"connection_id":146570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:24:27] local.INFO: Extracted packet for processing {"connection_id":146570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:24:27] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116174080001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:24:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785610356000,"timestamp_ms":1785610356000,"timestamp_seconds":1785610356,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeabc520"} 
[2026-08-02 00:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116174080001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116174080001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:24:27] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:24:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:24:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116174080001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":146570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:24:27] local.INFO: GPS data processed {"connection_id":146570,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:24:27] local.INFO: Acknowledgment sent {"connection_id":146570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:24:50] local.INFO: TCP Data received {"connection_id":146343,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:24:50] local.INFO: Processing buffer {"connection_id":146343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:24:50] local.INFO: IMEI packet received {"connection_id":146343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":146343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:24:55] local.INFO: TCP Data received {"connection_id":146343,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:24:55] local.INFO: Processing buffer {"connection_id":146343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:24:55] local.INFO: IMEI packet received {"connection_id":146343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":146343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:24:57] local.INFO: TCP Data received {"connection_id":146343,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:24:57] local.INFO: Processing buffer {"connection_id":146343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:24:57] local.INFO: IMEI packet received {"connection_id":146343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":146343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:24:59] local.INFO: TCP Data received {"connection_id":146343,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:24:59] local.INFO: Processing buffer {"connection_id":146343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:24:59] local.INFO: Packet analysis {"connection_id":146343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:24:59] local.INFO: Extracted packet for processing {"connection_id":146343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:24:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116174080001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:24:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785610356000,"timestamp_ms":1785610356000,"timestamp_seconds":1785610356,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeabc520"} 
[2026-08-02 00:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116174080001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116174080001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:24:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:24:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:24:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116174080001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":146343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:24:59] local.INFO: GPS data processed {"connection_id":146343,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:24:59] local.INFO: Acknowledgment sent {"connection_id":146343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:25:07] local.INFO: TCP Data received {"connection_id":146343,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:25:07] local.INFO: Processing buffer {"connection_id":146343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:25:07] local.INFO: Packet analysis {"connection_id":146343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:25:07] local.INFO: Extracted packet for processing {"connection_id":146343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:25:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116174080001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:25:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785610356000,"timestamp_ms":1785610356000,"timestamp_seconds":1785610356,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeabc520"} 
[2026-08-02 00:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00: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-08-02 00: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":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:25: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-08-02 00:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116174080001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116174080001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:25:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:25:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:25:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116174080001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":146343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:25:07] local.INFO: GPS data processed {"connection_id":146343,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:25:07] local.INFO: Acknowledgment sent {"connection_id":146343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:25:43] local.INFO: TCP Data received {"connection_id":146344,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:25:43] local.INFO: Processing buffer {"connection_id":146344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:25:43] local.INFO: IMEI packet received {"connection_id":146344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":146344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:25:48] local.INFO: TCP Data received {"connection_id":146344,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:25:48] local.INFO: Processing buffer {"connection_id":146344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:25:48] local.INFO: IMEI packet received {"connection_id":146344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":146344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:25:49] local.INFO: TCP Data received {"connection_id":146344,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:25:49] local.INFO: Processing buffer {"connection_id":146344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:25:49] local.INFO: Packet analysis {"connection_id":146344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:25:49] local.INFO: Extracted packet for processing {"connection_id":146344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:25:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116174080001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:25:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785610356000,"timestamp_ms":1785610356000,"timestamp_seconds":1785610356,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeabc520"} 
[2026-08-02 00:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116174080001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116174080001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:25:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:25:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:25:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116174080001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":146344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:25:49] local.INFO: GPS data processed {"connection_id":146344,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:25:49] local.INFO: Acknowledgment sent {"connection_id":146344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:26:21] local.INFO: TCP Data received {"connection_id":146344,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:26:21] local.INFO: Processing buffer {"connection_id":146344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:26:21] local.INFO: Packet analysis {"connection_id":146344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:26:21] local.INFO: Extracted packet for processing {"connection_id":146344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:26:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116174080001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785610356000,"timestamp_ms":1785610356000,"timestamp_seconds":1785610356,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeabc520"} 
[2026-08-02 00:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116174080001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116174080001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:26:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:26:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116174080001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":146344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:26:21] local.INFO: GPS data processed {"connection_id":146344,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:26:21] local.INFO: Acknowledgment sent {"connection_id":146344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:26:42] local.INFO: TCP Data received {"connection_id":147573,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:26:42] local.INFO: Processing buffer {"connection_id":147573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:26:42] local.INFO: IMEI packet received {"connection_id":147573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":147573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:26:48] local.INFO: TCP Data received {"connection_id":147573,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:26:48] local.INFO: Processing buffer {"connection_id":147573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:26:48] local.INFO: IMEI packet received {"connection_id":147573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":147573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:26:49] local.INFO: TCP Data received {"connection_id":147573,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:26:49] local.INFO: Processing buffer {"connection_id":147573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:26:49] local.INFO: Packet analysis {"connection_id":147573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:26:49] local.INFO: Extracted packet for processing {"connection_id":147573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:26:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116174080001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:26:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785610356000,"timestamp_ms":1785610356000,"timestamp_seconds":1785610356,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeabc520"} 
[2026-08-02 00:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116174080001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116174080001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:26:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:26:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:26:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116174080001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":147573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:26:49] local.INFO: GPS data processed {"connection_id":147573,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:26:49] local.INFO: Acknowledgment sent {"connection_id":147573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:27:21] local.INFO: TCP Data received {"connection_id":147573,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:27:21] local.INFO: Processing buffer {"connection_id":147573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:27:21] local.INFO: Packet analysis {"connection_id":147573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:27:21] local.INFO: Extracted packet for processing {"connection_id":147573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:27:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116174080001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785610356000,"timestamp_ms":1785610356000,"timestamp_seconds":1785610356,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeabc520"} 
[2026-08-02 00:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116174080001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116174080001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:27:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:27:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116174080001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":147573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:27:21] local.INFO: GPS data processed {"connection_id":147573,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:27:21] local.INFO: Acknowledgment sent {"connection_id":147573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:27:42] local.INFO: TCP Data received {"connection_id":146345,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:27:42] local.INFO: Processing buffer {"connection_id":146345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:27:42] local.INFO: IMEI packet received {"connection_id":146345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":146345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:27:48] local.INFO: TCP Data received {"connection_id":146345,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:27:48] local.INFO: Processing buffer {"connection_id":146345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:27:48] local.INFO: IMEI packet received {"connection_id":146345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":146345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:27:49] local.INFO: TCP Data received {"connection_id":146345,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:27:49] local.INFO: Processing buffer {"connection_id":146345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeabc520012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:27:49] local.INFO: Packet analysis {"connection_id":146345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:27:49] local.INFO: Extracted packet for processing {"connection_id":146345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeab"} 
[2026-08-02 00:27:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116174080001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:27:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785610356000,"timestamp_ms":1785610356000,"timestamp_seconds":1785610356,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeabc520"} 
[2026-08-02 00:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 00:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116174080001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116174080001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:27:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:27:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:27:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116174080001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":146345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:27:49] local.INFO: GPS data processed {"connection_id":146345,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:27:49] local.INFO: Acknowledgment sent {"connection_id":146345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:28:21] local.INFO: TCP Data received {"connection_id":146345,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:28:21] local.INFO: Processing buffer {"connection_id":146345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:28:21] local.INFO: Packet analysis {"connection_id":146345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:28:21] local.INFO: Extracted packet for processing {"connection_id":146345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:28:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116251136001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785610657000,"timestamp_ms":1785610657000,"timestamp_seconds":1785610657,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb05ce8"} 
[2026-08-02 00:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116251136001,"66":25604,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116251136001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:28:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:28:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116251136001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":146345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:28:21] local.INFO: GPS data processed {"connection_id":146345,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:28:21] local.INFO: Acknowledgment sent {"connection_id":146345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:28:48] local.INFO: TCP Data received {"connection_id":148892,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:28:48] local.INFO: Processing buffer {"connection_id":148892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:28:48] local.INFO: IMEI packet received {"connection_id":148892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":148892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:28:53] local.INFO: TCP Data received {"connection_id":148892,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:28:53] local.INFO: Processing buffer {"connection_id":148892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:28:53] local.INFO: IMEI packet received {"connection_id":148892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":148892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:28:54] local.INFO: TCP Data received {"connection_id":148892,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:28:54] local.INFO: Processing buffer {"connection_id":148892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:28:54] local.INFO: Packet analysis {"connection_id":148892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:28:54] local.INFO: Extracted packet for processing {"connection_id":148892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:28:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116251136001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:28:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785610657000,"timestamp_ms":1785610657000,"timestamp_seconds":1785610657,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb05ce8"} 
[2026-08-02 00:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116251136001,"66":25604,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116251136001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:28:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:28:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:28:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116251136001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":148892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:28:54] local.INFO: GPS data processed {"connection_id":148892,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:28:54] local.INFO: Acknowledgment sent {"connection_id":148892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:29:26] local.INFO: TCP Data received {"connection_id":148892,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:29:26] local.INFO: Processing buffer {"connection_id":148892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:29:26] local.INFO: Packet analysis {"connection_id":148892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:29:26] local.INFO: Extracted packet for processing {"connection_id":148892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:29:26] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116251136001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:29:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785610657000,"timestamp_ms":1785610657000,"timestamp_seconds":1785610657,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb05ce8"} 
[2026-08-02 00:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116251136001,"66":25604,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116251136001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:29:26] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:29:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:29:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116251136001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":148892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:29:26] local.INFO: GPS data processed {"connection_id":148892,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:29:26] local.INFO: Acknowledgment sent {"connection_id":148892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:29:43] local.INFO: TCP Data received {"connection_id":147574,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:29:43] local.INFO: Processing buffer {"connection_id":147574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:29:43] local.INFO: IMEI packet received {"connection_id":147574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":147574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:29:48] local.INFO: TCP Data received {"connection_id":147574,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:29:48] local.INFO: Processing buffer {"connection_id":147574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:29:48] local.INFO: IMEI packet received {"connection_id":147574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":147574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:29:49] local.INFO: TCP Data received {"connection_id":147574,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:29:49] local.INFO: Processing buffer {"connection_id":147574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:29:49] local.INFO: Packet analysis {"connection_id":147574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:29:49] local.INFO: Extracted packet for processing {"connection_id":147574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:29:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116251136001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:29:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785610657000,"timestamp_ms":1785610657000,"timestamp_seconds":1785610657,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb05ce8"} 
[2026-08-02 00:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116251136001,"66":25604,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116251136001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:29:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:29:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:29:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116251136001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":147574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:29:49] local.INFO: GPS data processed {"connection_id":147574,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:29:49] local.INFO: Acknowledgment sent {"connection_id":147574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:30:21] local.INFO: TCP Data received {"connection_id":147574,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:30:21] local.INFO: Processing buffer {"connection_id":147574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:30:21] local.INFO: Packet analysis {"connection_id":147574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:30:21] local.INFO: Extracted packet for processing {"connection_id":147574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:30:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116251136001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785610657000,"timestamp_ms":1785610657000,"timestamp_seconds":1785610657,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb05ce8"} 
[2026-08-02 00:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116251136001,"66":25604,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116251136001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:30:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:30:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116251136001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":147574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:30:21] local.INFO: GPS data processed {"connection_id":147574,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:30:21] local.INFO: Acknowledgment sent {"connection_id":147574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:30:42] local.INFO: TCP Data received {"connection_id":146346,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:30:42] local.INFO: Processing buffer {"connection_id":146346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:30:42] local.INFO: IMEI packet received {"connection_id":146346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":146346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:30:48] local.INFO: TCP Data received {"connection_id":146346,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:30:48] local.INFO: Processing buffer {"connection_id":146346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:30:48] local.INFO: IMEI packet received {"connection_id":146346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":146346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:30:49] local.INFO: TCP Data received {"connection_id":146346,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:30:49] local.INFO: Processing buffer {"connection_id":146346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:30:49] local.INFO: Packet analysis {"connection_id":146346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:30:49] local.INFO: Extracted packet for processing {"connection_id":146346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:30:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116251136001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:30:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785610657000,"timestamp_ms":1785610657000,"timestamp_seconds":1785610657,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb05ce8"} 
[2026-08-02 00:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116251136001,"66":25604,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116251136001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:30:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:30:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:30:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116251136001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":146346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:30:49] local.INFO: GPS data processed {"connection_id":146346,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:30:49] local.INFO: Acknowledgment sent {"connection_id":146346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:31:21] local.INFO: TCP Data received {"connection_id":146346,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:31:21] local.INFO: Processing buffer {"connection_id":146346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:31:21] local.INFO: Packet analysis {"connection_id":146346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:31:21] local.INFO: Extracted packet for processing {"connection_id":146346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:31:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116251136001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785610657000,"timestamp_ms":1785610657000,"timestamp_seconds":1785610657,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb05ce8"} 
[2026-08-02 00:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116251136001,"66":25604,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116251136001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:31:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:31:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116251136001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":146346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:31:21] local.INFO: GPS data processed {"connection_id":146346,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:31:21] local.INFO: Acknowledgment sent {"connection_id":146346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:31:42] local.INFO: TCP Data received {"connection_id":148893,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:31:42] local.INFO: Processing buffer {"connection_id":148893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:31:42] local.INFO: IMEI packet received {"connection_id":148893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":148893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:31:48] local.INFO: TCP Data received {"connection_id":148893,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:31:48] local.INFO: Processing buffer {"connection_id":148893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:31:48] local.INFO: IMEI packet received {"connection_id":148893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":148893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:31:49] local.INFO: TCP Data received {"connection_id":148893,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:31:49] local.INFO: Processing buffer {"connection_id":148893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:31:49] local.INFO: Packet analysis {"connection_id":148893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:31:49] local.INFO: Extracted packet for processing {"connection_id":148893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:31:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116251136001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:31:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785610657000,"timestamp_ms":1785610657000,"timestamp_seconds":1785610657,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb05ce8"} 
[2026-08-02 00:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116251136001,"66":25604,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116251136001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:31:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:31:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:31:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116251136001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":148893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:31:49] local.INFO: GPS data processed {"connection_id":148893,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:31:49] local.INFO: Acknowledgment sent {"connection_id":148893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:32:21] local.INFO: TCP Data received {"connection_id":148893,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:32:21] local.INFO: Processing buffer {"connection_id":148893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:32:21] local.INFO: Packet analysis {"connection_id":148893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:32:21] local.INFO: Extracted packet for processing {"connection_id":148893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:32:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116251136001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785610657000,"timestamp_ms":1785610657000,"timestamp_seconds":1785610657,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb05ce8"} 
[2026-08-02 00:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116251136001,"66":25604,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116251136001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:32:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:32:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116251136001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":148893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:32:21] local.INFO: GPS data processed {"connection_id":148893,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:32:21] local.INFO: Acknowledgment sent {"connection_id":148893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:32:48] local.INFO: TCP Data received {"connection_id":146347,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:32:48] local.INFO: Processing buffer {"connection_id":146347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:32:48] local.INFO: IMEI packet received {"connection_id":146347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":146347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:32:53] local.INFO: TCP Data received {"connection_id":146347,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:32:53] local.INFO: Processing buffer {"connection_id":146347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:32:53] local.INFO: IMEI packet received {"connection_id":146347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":146347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:32:54] local.INFO: TCP Data received {"connection_id":146347,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:32:54] local.INFO: Processing buffer {"connection_id":146347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:32:54] local.INFO: Packet analysis {"connection_id":146347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:32:54] local.INFO: Extracted packet for processing {"connection_id":146347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:32:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116251136001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:32:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785610657000,"timestamp_ms":1785610657000,"timestamp_seconds":1785610657,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb05ce8"} 
[2026-08-02 00:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116251136001,"66":25604,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116251136001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:32:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:32:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:32:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116251136001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":146347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:32:54] local.INFO: GPS data processed {"connection_id":146347,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:32:54] local.INFO: Acknowledgment sent {"connection_id":146347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:32:58] local.INFO: TCP Data received {"connection_id":146347,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:32:58] local.INFO: Processing buffer {"connection_id":146347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb05ce8012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:32:58] local.INFO: Packet analysis {"connection_id":146347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:32:58] local.INFO: Extracted packet for processing {"connection_id":146347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb0"} 
[2026-08-02 00:32:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116251136001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:32:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785610657000,"timestamp_ms":1785610657000,"timestamp_seconds":1785610657,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb05ce8"} 
[2026-08-02 00:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116251136001,"66":25604,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 00:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116251136001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:32:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 00:32:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:32:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116251136001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":146347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:32:58] local.INFO: GPS data processed {"connection_id":146347,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:32:58] local.INFO: Acknowledgment sent {"connection_id":146347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:33:43] local.INFO: TCP Data received {"connection_id":146571,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:33:43] local.INFO: Processing buffer {"connection_id":146571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:33:43] local.INFO: IMEI packet received {"connection_id":146571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":146571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:33:48] local.INFO: TCP Data received {"connection_id":146571,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:33:48] local.INFO: Processing buffer {"connection_id":146571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:33:48] local.INFO: IMEI packet received {"connection_id":146571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":146571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:33:49] local.INFO: TCP Data received {"connection_id":146571,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:33:49] local.INFO: Processing buffer {"connection_id":146571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:33:49] local.INFO: Packet analysis {"connection_id":146571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:33:49] local.INFO: Extracted packet for processing {"connection_id":146571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:33:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116328192001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:33:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785610958000,"timestamp_ms":1785610958000,"timestamp_seconds":1785610958,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb4f4b0"} 
[2026-08-02 00:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116328192001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116328192001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:33:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:33:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:33:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116328192001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":146571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:33:49] local.INFO: GPS data processed {"connection_id":146571,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:33:49] local.INFO: Acknowledgment sent {"connection_id":146571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:34:21] local.INFO: TCP Data received {"connection_id":146571,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:34:21] local.INFO: Processing buffer {"connection_id":146571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:34:21] local.INFO: Packet analysis {"connection_id":146571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:34:21] local.INFO: Extracted packet for processing {"connection_id":146571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:34:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116328192001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785610958000,"timestamp_ms":1785610958000,"timestamp_seconds":1785610958,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb4f4b0"} 
[2026-08-02 00:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116328192001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116328192001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:34:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:34:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116328192001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":146571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:34:21] local.INFO: GPS data processed {"connection_id":146571,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:34:21] local.INFO: Acknowledgment sent {"connection_id":146571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:34:43] local.INFO: TCP Data received {"connection_id":147575,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:34:43] local.INFO: Processing buffer {"connection_id":147575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:34:43] local.INFO: IMEI packet received {"connection_id":147575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":147575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:34:52] local.INFO: TCP Data received {"connection_id":147575,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:34:52] local.INFO: Processing buffer {"connection_id":147575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:34:52] local.INFO: IMEI packet received {"connection_id":147575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":147575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:34:57] local.INFO: TCP Data received {"connection_id":147575,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:34:57] local.INFO: Processing buffer {"connection_id":147575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:34:57] local.INFO: Packet analysis {"connection_id":147575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:34:57] local.INFO: Extracted packet for processing {"connection_id":147575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:34:57] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116328192001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:34:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785610958000,"timestamp_ms":1785610958000,"timestamp_seconds":1785610958,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb4f4b0"} 
[2026-08-02 00:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116328192001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116328192001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:34:57] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:34:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:34:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116328192001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":147575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:34:57] local.INFO: GPS data processed {"connection_id":147575,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:34:57] local.INFO: Acknowledgment sent {"connection_id":147575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:35:42] local.INFO: TCP Data received {"connection_id":146572,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:35:42] local.INFO: Processing buffer {"connection_id":146572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:35:42] local.INFO: IMEI packet received {"connection_id":146572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":146572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:35:48] local.INFO: TCP Data received {"connection_id":146572,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:35:48] local.INFO: Processing buffer {"connection_id":146572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:35:48] local.INFO: IMEI packet received {"connection_id":146572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":146572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:35:49] local.INFO: TCP Data received {"connection_id":146572,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:35:49] local.INFO: Processing buffer {"connection_id":146572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:35:49] local.INFO: Packet analysis {"connection_id":146572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:35:49] local.INFO: Extracted packet for processing {"connection_id":146572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:35:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116328192001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785610958000,"timestamp_ms":1785610958000,"timestamp_seconds":1785610958,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb4f4b0"} 
[2026-08-02 00:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116328192001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116328192001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:35:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:35:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116328192001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":146572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:35:49] local.INFO: GPS data processed {"connection_id":146572,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:35:49] local.INFO: Acknowledgment sent {"connection_id":146572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:36:21] local.INFO: TCP Data received {"connection_id":146572,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:36:21] local.INFO: Processing buffer {"connection_id":146572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:36:21] local.INFO: Packet analysis {"connection_id":146572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:36:21] local.INFO: Extracted packet for processing {"connection_id":146572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:36:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116328192001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785610958000,"timestamp_ms":1785610958000,"timestamp_seconds":1785610958,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb4f4b0"} 
[2026-08-02 00:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116328192001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116328192001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:36:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:36:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116328192001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":146572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:36:21] local.INFO: GPS data processed {"connection_id":146572,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:36:21] local.INFO: Acknowledgment sent {"connection_id":146572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:36:42] local.INFO: TCP Data received {"connection_id":147576,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:36:42] local.INFO: Processing buffer {"connection_id":147576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:36:42] local.INFO: IMEI packet received {"connection_id":147576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":147576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:36:48] local.INFO: TCP Data received {"connection_id":147576,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:36:48] local.INFO: Processing buffer {"connection_id":147576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:36:48] local.INFO: IMEI packet received {"connection_id":147576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":147576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:36:50] local.INFO: TCP Data received {"connection_id":147576,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:36:50] local.INFO: Processing buffer {"connection_id":147576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:36:50] local.INFO: Packet analysis {"connection_id":147576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:36:50] local.INFO: Extracted packet for processing {"connection_id":147576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:36:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116328192001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785610958000,"timestamp_ms":1785610958000,"timestamp_seconds":1785610958,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb4f4b0"} 
[2026-08-02 00:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116328192001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116328192001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:36:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:36:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:36:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116328192001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":147576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:36:50] local.INFO: GPS data processed {"connection_id":147576,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:36:50] local.INFO: Acknowledgment sent {"connection_id":147576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:37:21] local.INFO: TCP Data received {"connection_id":147576,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:37:21] local.INFO: Processing buffer {"connection_id":147576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:37:21] local.INFO: Packet analysis {"connection_id":147576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:37:21] local.INFO: Extracted packet for processing {"connection_id":147576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:37:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116328192001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785610958000,"timestamp_ms":1785610958000,"timestamp_seconds":1785610958,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb4f4b0"} 
[2026-08-02 00:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116328192001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116328192001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:37:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:37:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116328192001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":147576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:37:21] local.INFO: GPS data processed {"connection_id":147576,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:37:21] local.INFO: Acknowledgment sent {"connection_id":147576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:37:48] local.INFO: TCP Data received {"connection_id":148894,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:37:48] local.INFO: Processing buffer {"connection_id":148894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:37:48] local.INFO: IMEI packet received {"connection_id":148894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":148894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:37:53] local.INFO: TCP Data received {"connection_id":148894,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:37:53] local.INFO: Processing buffer {"connection_id":148894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:37:53] local.INFO: IMEI packet received {"connection_id":148894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":148894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:37:54] local.INFO: TCP Data received {"connection_id":148894,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:37:54] local.INFO: Processing buffer {"connection_id":148894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:37:54] local.INFO: Packet analysis {"connection_id":148894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:37:54] local.INFO: Extracted packet for processing {"connection_id":148894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:37:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116328192001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:37:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785610958000,"timestamp_ms":1785610958000,"timestamp_seconds":1785610958,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb4f4b0"} 
[2026-08-02 00:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116328192001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116328192001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:37:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:37:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:37:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116328192001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":148894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:37:54] local.INFO: GPS data processed {"connection_id":148894,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:37:54] local.INFO: Acknowledgment sent {"connection_id":148894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:37:58] local.INFO: TCP Data received {"connection_id":148894,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:37:58] local.INFO: Processing buffer {"connection_id":148894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb4f4b0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:37:58] local.INFO: Packet analysis {"connection_id":148894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:37:58] local.INFO: Extracted packet for processing {"connection_id":148894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb4"} 
[2026-08-02 00:37:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116328192001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:37:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785610958000,"timestamp_ms":1785610958000,"timestamp_seconds":1785610958,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb4f4b0"} 
[2026-08-02 00:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116328192001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116328192001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:37:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:37:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:37:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116328192001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":148894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:37:58] local.INFO: GPS data processed {"connection_id":148894,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:37:58] local.INFO: Acknowledgment sent {"connection_id":148894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:38:43] local.INFO: TCP Data received {"connection_id":146573,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:38:43] local.INFO: Processing buffer {"connection_id":146573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:38:43] local.INFO: IMEI packet received {"connection_id":146573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":146573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:38:48] local.INFO: TCP Data received {"connection_id":146573,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:38:48] local.INFO: Processing buffer {"connection_id":146573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:38:48] local.INFO: IMEI packet received {"connection_id":146573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":146573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:38:49] local.INFO: TCP Data received {"connection_id":146573,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:38:49] local.INFO: Processing buffer {"connection_id":146573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:38:49] local.INFO: Packet analysis {"connection_id":146573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:38:49] local.INFO: Extracted packet for processing {"connection_id":146573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:38:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116405248001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:38:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785611259000,"timestamp_ms":1785611259000,"timestamp_seconds":1785611259,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb98c78"} 
[2026-08-02 00:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116405248001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116405248001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:38:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:38:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116405248001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":146573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:38:49] local.INFO: GPS data processed {"connection_id":146573,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:38:49] local.INFO: Acknowledgment sent {"connection_id":146573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:39:21] local.INFO: TCP Data received {"connection_id":146573,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:39:21] local.INFO: Processing buffer {"connection_id":146573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:39:21] local.INFO: Packet analysis {"connection_id":146573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:39:21] local.INFO: Extracted packet for processing {"connection_id":146573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:39:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116405248001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785611259000,"timestamp_ms":1785611259000,"timestamp_seconds":1785611259,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb98c78"} 
[2026-08-02 00:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116405248001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116405248001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:39:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:39:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116405248001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":146573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:39:21] local.INFO: GPS data processed {"connection_id":146573,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:39:21] local.INFO: Acknowledgment sent {"connection_id":146573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:39:43] local.INFO: TCP Data received {"connection_id":147577,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:39:43] local.INFO: Processing buffer {"connection_id":147577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:39:43] local.INFO: IMEI packet received {"connection_id":147577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":147577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:39:48] local.INFO: TCP Data received {"connection_id":147577,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:39:48] local.INFO: Processing buffer {"connection_id":147577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:39:48] local.INFO: IMEI packet received {"connection_id":147577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":147577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:39:49] local.INFO: TCP Data received {"connection_id":147577,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:39:49] local.INFO: Processing buffer {"connection_id":147577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:39:49] local.INFO: Packet analysis {"connection_id":147577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:39:49] local.INFO: Extracted packet for processing {"connection_id":147577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:39:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116405248001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:39:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785611259000,"timestamp_ms":1785611259000,"timestamp_seconds":1785611259,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb98c78"} 
[2026-08-02 00:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116405248001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116405248001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:39:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:39:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:39:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116405248001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":147577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:39:49] local.INFO: GPS data processed {"connection_id":147577,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:39:49] local.INFO: Acknowledgment sent {"connection_id":147577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:40:21] local.INFO: TCP Data received {"connection_id":147577,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:40:21] local.INFO: Processing buffer {"connection_id":147577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:40:21] local.INFO: Packet analysis {"connection_id":147577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:40:21] local.INFO: Extracted packet for processing {"connection_id":147577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:40:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116405248001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785611259000,"timestamp_ms":1785611259000,"timestamp_seconds":1785611259,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb98c78"} 
[2026-08-02 00:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116405248001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116405248001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:40:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:40:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116405248001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":147577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:40:21] local.INFO: GPS data processed {"connection_id":147577,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:40:21] local.INFO: Acknowledgment sent {"connection_id":147577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:40:42] local.INFO: TCP Data received {"connection_id":148895,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:40:42] local.INFO: Processing buffer {"connection_id":148895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:40:42] local.INFO: IMEI packet received {"connection_id":148895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":148895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:40:48] local.INFO: TCP Data received {"connection_id":148895,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:40:48] local.INFO: Processing buffer {"connection_id":148895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:40:48] local.INFO: IMEI packet received {"connection_id":148895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":148895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:40:49] local.INFO: TCP Data received {"connection_id":148895,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:40:49] local.INFO: Processing buffer {"connection_id":148895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:40:49] local.INFO: Packet analysis {"connection_id":148895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:40:49] local.INFO: Extracted packet for processing {"connection_id":148895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:40:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116405248001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:40:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785611259000,"timestamp_ms":1785611259000,"timestamp_seconds":1785611259,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb98c78"} 
[2026-08-02 00:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116405248001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116405248001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:40:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:40:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:40:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116405248001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":148895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:40:49] local.INFO: GPS data processed {"connection_id":148895,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:40:49] local.INFO: Acknowledgment sent {"connection_id":148895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:41:21] local.INFO: TCP Data received {"connection_id":148895,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:41:21] local.INFO: Processing buffer {"connection_id":148895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:41:21] local.INFO: Packet analysis {"connection_id":148895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:41:21] local.INFO: Extracted packet for processing {"connection_id":148895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:41:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116405248001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785611259000,"timestamp_ms":1785611259000,"timestamp_seconds":1785611259,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb98c78"} 
[2026-08-02 00:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116405248001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116405248001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:41:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:41:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116405248001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":148895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:41:21] local.INFO: GPS data processed {"connection_id":148895,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:41:21] local.INFO: Acknowledgment sent {"connection_id":148895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:41:42] local.INFO: TCP Data received {"connection_id":147578,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:41:42] local.INFO: Processing buffer {"connection_id":147578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:41:42] local.INFO: IMEI packet received {"connection_id":147578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":147578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:41:48] local.INFO: TCP Data received {"connection_id":147578,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:41:48] local.INFO: Processing buffer {"connection_id":147578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:41:48] local.INFO: IMEI packet received {"connection_id":147578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":147578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:41:49] local.INFO: TCP Data received {"connection_id":147578,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:41:49] local.INFO: Processing buffer {"connection_id":147578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:41:49] local.INFO: Packet analysis {"connection_id":147578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:41:49] local.INFO: Extracted packet for processing {"connection_id":147578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:41:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116405248001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:41:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785611259000,"timestamp_ms":1785611259000,"timestamp_seconds":1785611259,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb98c78"} 
[2026-08-02 00:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116405248001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116405248001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:41:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:41:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:41:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116405248001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":147578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:41:49] local.INFO: GPS data processed {"connection_id":147578,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:41:49] local.INFO: Acknowledgment sent {"connection_id":147578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:42:21] local.INFO: TCP Data received {"connection_id":147578,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:42:21] local.INFO: Processing buffer {"connection_id":147578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:42:21] local.INFO: Packet analysis {"connection_id":147578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:42:21] local.INFO: Extracted packet for processing {"connection_id":147578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:42:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116405248001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:42:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785611259000,"timestamp_ms":1785611259000,"timestamp_seconds":1785611259,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb98c78"} 
[2026-08-02 00:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116405248001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116405248001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:42:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:42:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116405248001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":147578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:42:21] local.INFO: GPS data processed {"connection_id":147578,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:42:21] local.INFO: Acknowledgment sent {"connection_id":147578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:42:48] local.INFO: TCP Data received {"connection_id":146348,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:42:48] local.INFO: Processing buffer {"connection_id":146348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:42:48] local.INFO: IMEI packet received {"connection_id":146348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":146348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:42:53] local.INFO: TCP Data received {"connection_id":146348,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:42:53] local.INFO: Processing buffer {"connection_id":146348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:42:53] local.INFO: IMEI packet received {"connection_id":146348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":146348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:42:54] local.INFO: TCP Data received {"connection_id":146348,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:42:54] local.INFO: Processing buffer {"connection_id":146348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:42:54] local.INFO: Packet analysis {"connection_id":146348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:42:54] local.INFO: Extracted packet for processing {"connection_id":146348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:42:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116405248001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:42:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785611259000,"timestamp_ms":1785611259000,"timestamp_seconds":1785611259,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb98c78"} 
[2026-08-02 00:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116405248001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116405248001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:42:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:42:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:42:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116405248001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":146348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:42:54] local.INFO: GPS data processed {"connection_id":146348,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:42:54] local.INFO: Acknowledgment sent {"connection_id":146348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:42:58] local.INFO: TCP Data received {"connection_id":146348,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:42:58] local.INFO: Processing buffer {"connection_id":146348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeb98c78012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:42:58] local.INFO: Packet analysis {"connection_id":146348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:42:58] local.INFO: Extracted packet for processing {"connection_id":146348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeb9"} 
[2026-08-02 00:42:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116405248001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:42:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785611259000,"timestamp_ms":1785611259000,"timestamp_seconds":1785611259,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeb98c78"} 
[2026-08-02 00:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 00:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116405248001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116405248001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:42:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:42:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:42:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116405248001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":146348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:42:58] local.INFO: GPS data processed {"connection_id":146348,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:42:58] local.INFO: Acknowledgment sent {"connection_id":146348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:43:43] local.INFO: TCP Data received {"connection_id":148896,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:43:43] local.INFO: Processing buffer {"connection_id":148896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:43:43] local.INFO: IMEI packet received {"connection_id":148896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":148896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:43:48] local.INFO: TCP Data received {"connection_id":148896,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:43:48] local.INFO: Processing buffer {"connection_id":148896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:43:48] local.INFO: IMEI packet received {"connection_id":148896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":148896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:43:49] local.INFO: TCP Data received {"connection_id":148896,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:43:49] local.INFO: Processing buffer {"connection_id":148896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:43:49] local.INFO: Packet analysis {"connection_id":148896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:43:49] local.INFO: Extracted packet for processing {"connection_id":148896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:43:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116482304001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:43:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785611560000,"timestamp_ms":1785611560000,"timestamp_seconds":1785611560,"priority":1,"record_length":96,"hex_timestamp":"0000019fbebe2440"} 
[2026-08-02 00:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116482304001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116482304001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:43:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:43:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:43:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116482304001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":148896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:43:49] local.INFO: GPS data processed {"connection_id":148896,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:43:49] local.INFO: Acknowledgment sent {"connection_id":148896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:44:21] local.INFO: TCP Data received {"connection_id":148896,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:44:21] local.INFO: Processing buffer {"connection_id":148896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:44:21] local.INFO: Packet analysis {"connection_id":148896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:44:21] local.INFO: Extracted packet for processing {"connection_id":148896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:44:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116482304001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785611560000,"timestamp_ms":1785611560000,"timestamp_seconds":1785611560,"priority":1,"record_length":96,"hex_timestamp":"0000019fbebe2440"} 
[2026-08-02 00:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116482304001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116482304001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:44:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:44:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116482304001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":148896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:44:21] local.INFO: GPS data processed {"connection_id":148896,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:44:21] local.INFO: Acknowledgment sent {"connection_id":148896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:44:42] local.INFO: TCP Data received {"connection_id":147579,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:44:42] local.INFO: Processing buffer {"connection_id":147579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:44:42] local.INFO: IMEI packet received {"connection_id":147579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":147579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:44:48] local.INFO: TCP Data received {"connection_id":147579,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:44:48] local.INFO: Processing buffer {"connection_id":147579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:44:48] local.INFO: IMEI packet received {"connection_id":147579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":147579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:44:49] local.INFO: TCP Data received {"connection_id":147579,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:44:49] local.INFO: Processing buffer {"connection_id":147579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:44:49] local.INFO: Packet analysis {"connection_id":147579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:44:49] local.INFO: Extracted packet for processing {"connection_id":147579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:44:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116482304001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:44:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785611560000,"timestamp_ms":1785611560000,"timestamp_seconds":1785611560,"priority":1,"record_length":96,"hex_timestamp":"0000019fbebe2440"} 
[2026-08-02 00:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116482304001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116482304001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:44:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:44:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:44:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116482304001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":147579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:44:49] local.INFO: GPS data processed {"connection_id":147579,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:44:49] local.INFO: Acknowledgment sent {"connection_id":147579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:45:21] local.INFO: TCP Data received {"connection_id":147579,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:45:21] local.INFO: Processing buffer {"connection_id":147579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:45:21] local.INFO: Packet analysis {"connection_id":147579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:45:21] local.INFO: Extracted packet for processing {"connection_id":147579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:45:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116482304001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:45:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785611560000,"timestamp_ms":1785611560000,"timestamp_seconds":1785611560,"priority":1,"record_length":96,"hex_timestamp":"0000019fbebe2440"} 
[2026-08-02 00:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116482304001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116482304001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:45:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:45:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:45:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116482304001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":147579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:45:21] local.INFO: GPS data processed {"connection_id":147579,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:45:21] local.INFO: Acknowledgment sent {"connection_id":147579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:45:42] local.INFO: TCP Data received {"connection_id":148897,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:45:42] local.INFO: Processing buffer {"connection_id":148897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:45:42] local.INFO: IMEI packet received {"connection_id":148897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":148897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:45:48] local.INFO: TCP Data received {"connection_id":148897,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:45:48] local.INFO: Processing buffer {"connection_id":148897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:45:48] local.INFO: IMEI packet received {"connection_id":148897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":148897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:45:49] local.INFO: TCP Data received {"connection_id":148897,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:45:49] local.INFO: Processing buffer {"connection_id":148897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:45:49] local.INFO: Packet analysis {"connection_id":148897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:45:49] local.INFO: Extracted packet for processing {"connection_id":148897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:45:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116482304001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:45:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785611560000,"timestamp_ms":1785611560000,"timestamp_seconds":1785611560,"priority":1,"record_length":96,"hex_timestamp":"0000019fbebe2440"} 
[2026-08-02 00:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116482304001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116482304001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:45:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:45:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:45:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116482304001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":148897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:45:49] local.INFO: GPS data processed {"connection_id":148897,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:45:49] local.INFO: Acknowledgment sent {"connection_id":148897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:46:21] local.INFO: TCP Data received {"connection_id":148897,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:46:21] local.INFO: Processing buffer {"connection_id":148897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:46:21] local.INFO: Packet analysis {"connection_id":148897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:46:21] local.INFO: Extracted packet for processing {"connection_id":148897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:46:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116482304001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785611560000,"timestamp_ms":1785611560000,"timestamp_seconds":1785611560,"priority":1,"record_length":96,"hex_timestamp":"0000019fbebe2440"} 
[2026-08-02 00:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116482304001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116482304001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:46:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:46:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116482304001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":148897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:46:21] local.INFO: GPS data processed {"connection_id":148897,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:46:21] local.INFO: Acknowledgment sent {"connection_id":148897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:46:48] local.INFO: TCP Data received {"connection_id":146574,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:46:48] local.INFO: Processing buffer {"connection_id":146574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:46:48] local.INFO: IMEI packet received {"connection_id":146574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":146574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:46:53] local.INFO: TCP Data received {"connection_id":146574,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:46:53] local.INFO: Processing buffer {"connection_id":146574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:46:53] local.INFO: IMEI packet received {"connection_id":146574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":146574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:46:54] local.INFO: TCP Data received {"connection_id":146574,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:46:54] local.INFO: Processing buffer {"connection_id":146574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:46:54] local.INFO: Packet analysis {"connection_id":146574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:46:54] local.INFO: Extracted packet for processing {"connection_id":146574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:46:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00: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-08-02 00:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116482304001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:46:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785611560000,"timestamp_ms":1785611560000,"timestamp_seconds":1785611560,"priority":1,"record_length":96,"hex_timestamp":"0000019fbebe2440"} 
[2026-08-02 00:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00: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-08-02 00:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116482304001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116482304001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:46:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:46:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:46:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116482304001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":146574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:46:54] local.INFO: GPS data processed {"connection_id":146574,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:46:54] local.INFO: Acknowledgment sent {"connection_id":146574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:46:58] local.INFO: TCP Data received {"connection_id":146574,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:46:58] local.INFO: Processing buffer {"connection_id":146574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:46:58] local.INFO: Packet analysis {"connection_id":146574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:46:58] local.INFO: Extracted packet for processing {"connection_id":146574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:46:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116482304001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:46:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785611560000,"timestamp_ms":1785611560000,"timestamp_seconds":1785611560,"priority":1,"record_length":96,"hex_timestamp":"0000019fbebe2440"} 
[2026-08-02 00:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116482304001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116482304001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:46:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:46:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:46:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116482304001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":146574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:46:58] local.INFO: GPS data processed {"connection_id":146574,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:46:58] local.INFO: Acknowledgment sent {"connection_id":146574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:47:43] local.INFO: TCP Data received {"connection_id":147580,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:47:43] local.INFO: Processing buffer {"connection_id":147580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:47:43] local.INFO: IMEI packet received {"connection_id":147580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":147580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:47:48] local.INFO: TCP Data received {"connection_id":147580,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:47:48] local.INFO: Processing buffer {"connection_id":147580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:47:48] local.INFO: IMEI packet received {"connection_id":147580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":147580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:47:49] local.INFO: TCP Data received {"connection_id":147580,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:47:49] local.INFO: Processing buffer {"connection_id":147580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbebe2440012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:47:49] local.INFO: Packet analysis {"connection_id":147580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:47:49] local.INFO: Extracted packet for processing {"connection_id":147580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbebe"} 
[2026-08-02 00:47:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116482304001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:47:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785611560000,"timestamp_ms":1785611560000,"timestamp_seconds":1785611560,"priority":1,"record_length":96,"hex_timestamp":"0000019fbebe2440"} 
[2026-08-02 00:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116482304001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116482304001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:47:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:47:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:47:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116482304001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":147580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:47:49] local.INFO: GPS data processed {"connection_id":147580,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:47:49] local.INFO: Acknowledgment sent {"connection_id":147580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:48:21] local.INFO: TCP Data received {"connection_id":147580,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:48:21] local.INFO: Processing buffer {"connection_id":147580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:48:21] local.INFO: Packet analysis {"connection_id":147580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:48:21] local.INFO: Extracted packet for processing {"connection_id":147580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:48:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116559360001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785611861000,"timestamp_ms":1785611861000,"timestamp_seconds":1785611861,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec2bc08"} 
[2026-08-02 00:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116559360001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116559360001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:48:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:48:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116559360001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":147580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:48:21] local.INFO: GPS data processed {"connection_id":147580,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:48:21] local.INFO: Acknowledgment sent {"connection_id":147580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:48:47] local.INFO: TCP Data received {"connection_id":146349,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:48:47] local.INFO: Processing buffer {"connection_id":146349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:48:47] local.INFO: IMEI packet received {"connection_id":146349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":146349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:48:53] local.INFO: TCP Data received {"connection_id":146349,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:48:53] local.INFO: Processing buffer {"connection_id":146349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:48:53] local.INFO: IMEI packet received {"connection_id":146349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":146349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:48:54] local.INFO: TCP Data received {"connection_id":146349,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:48:54] local.INFO: Processing buffer {"connection_id":146349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:48:54] local.INFO: Packet analysis {"connection_id":146349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:48:54] local.INFO: Extracted packet for processing {"connection_id":146349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:48:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116559360001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:48:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785611861000,"timestamp_ms":1785611861000,"timestamp_seconds":1785611861,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec2bc08"} 
[2026-08-02 00:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116559360001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116559360001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:48:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:48:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:48:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116559360001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":146349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:48:54] local.INFO: GPS data processed {"connection_id":146349,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:48:54] local.INFO: Acknowledgment sent {"connection_id":146349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:48:58] local.INFO: TCP Data received {"connection_id":146349,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:48:58] local.INFO: Processing buffer {"connection_id":146349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:48:58] local.INFO: Packet analysis {"connection_id":146349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:48:58] local.INFO: Extracted packet for processing {"connection_id":146349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:48:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116559360001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:48:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785611861000,"timestamp_ms":1785611861000,"timestamp_seconds":1785611861,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec2bc08"} 
[2026-08-02 00:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116559360001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116559360001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:48:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:48:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:48:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116559360001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":146349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:48:58] local.INFO: GPS data processed {"connection_id":146349,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:48:58] local.INFO: Acknowledgment sent {"connection_id":146349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:49:43] local.INFO: TCP Data received {"connection_id":147581,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:49:43] local.INFO: Processing buffer {"connection_id":147581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:49:43] local.INFO: IMEI packet received {"connection_id":147581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":147581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:49:48] local.INFO: TCP Data received {"connection_id":147581,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:49:48] local.INFO: Processing buffer {"connection_id":147581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:49:48] local.INFO: IMEI packet received {"connection_id":147581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":147581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:49:49] local.INFO: TCP Data received {"connection_id":147581,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:49:49] local.INFO: Processing buffer {"connection_id":147581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:49:49] local.INFO: Packet analysis {"connection_id":147581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:49:49] local.INFO: Extracted packet for processing {"connection_id":147581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:49:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116559360001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:49:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785611861000,"timestamp_ms":1785611861000,"timestamp_seconds":1785611861,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec2bc08"} 
[2026-08-02 00:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116559360001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116559360001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:49:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:49:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:49:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116559360001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":147581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:49:49] local.INFO: GPS data processed {"connection_id":147581,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:49:49] local.INFO: Acknowledgment sent {"connection_id":147581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:50:25] local.INFO: TCP Data received {"connection_id":147581,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:50:25] local.INFO: Processing buffer {"connection_id":147581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:50:25] local.INFO: Packet analysis {"connection_id":147581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:50:25] local.INFO: Extracted packet for processing {"connection_id":147581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:50:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116559360001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785611861000,"timestamp_ms":1785611861000,"timestamp_seconds":1785611861,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec2bc08"} 
[2026-08-02 00:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116559360001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116559360001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:50:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:50:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116559360001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":147581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:50:25] local.INFO: GPS data processed {"connection_id":147581,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:50:25] local.INFO: Acknowledgment sent {"connection_id":147581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:50:48] local.INFO: TCP Data received {"connection_id":148898,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:50:48] local.INFO: Processing buffer {"connection_id":148898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:50:48] local.INFO: IMEI packet received {"connection_id":148898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":148898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:50:53] local.INFO: TCP Data received {"connection_id":148898,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:50:53] local.INFO: Processing buffer {"connection_id":148898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:50:53] local.INFO: IMEI packet received {"connection_id":148898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":148898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:50:54] local.INFO: TCP Data received {"connection_id":148898,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:50:54] local.INFO: Processing buffer {"connection_id":148898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:50:54] local.INFO: Packet analysis {"connection_id":148898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:50:54] local.INFO: Extracted packet for processing {"connection_id":148898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:50:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116559360001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:50:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785611861000,"timestamp_ms":1785611861000,"timestamp_seconds":1785611861,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec2bc08"} 
[2026-08-02 00:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116559360001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116559360001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:50:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:50:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:50:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116559360001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":148898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:50:54] local.INFO: GPS data processed {"connection_id":148898,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:50:54] local.INFO: Acknowledgment sent {"connection_id":148898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:51:26] local.INFO: TCP Data received {"connection_id":148898,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:51:26] local.INFO: Processing buffer {"connection_id":148898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:51:26] local.INFO: Packet analysis {"connection_id":148898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:51:26] local.INFO: Extracted packet for processing {"connection_id":148898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:51:26] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116559360001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:51:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785611861000,"timestamp_ms":1785611861000,"timestamp_seconds":1785611861,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec2bc08"} 
[2026-08-02 00:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116559360001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116559360001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:51:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:51:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:51:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116559360001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":148898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:51:26] local.INFO: GPS data processed {"connection_id":148898,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:51:26] local.INFO: Acknowledgment sent {"connection_id":148898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:51:43] local.INFO: TCP Data received {"connection_id":146575,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:51:43] local.INFO: Processing buffer {"connection_id":146575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:51:43] local.INFO: IMEI packet received {"connection_id":146575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":146575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:51:48] local.INFO: TCP Data received {"connection_id":146575,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:51:48] local.INFO: Processing buffer {"connection_id":146575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:51:48] local.INFO: IMEI packet received {"connection_id":146575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":146575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:51:49] local.INFO: TCP Data received {"connection_id":146575,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:51:49] local.INFO: Processing buffer {"connection_id":146575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:51:49] local.INFO: Packet analysis {"connection_id":146575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:51:49] local.INFO: Extracted packet for processing {"connection_id":146575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:51:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116559360001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785611861000,"timestamp_ms":1785611861000,"timestamp_seconds":1785611861,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec2bc08"} 
[2026-08-02 00:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116559360001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116559360001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:51:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:51:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116559360001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":146575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:51:49] local.INFO: GPS data processed {"connection_id":146575,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:51:49] local.INFO: Acknowledgment sent {"connection_id":146575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:52:25] local.INFO: TCP Data received {"connection_id":146575,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:52:25] local.INFO: Processing buffer {"connection_id":146575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:52:25] local.INFO: Packet analysis {"connection_id":146575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:52:25] local.INFO: Extracted packet for processing {"connection_id":146575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:52:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116559360001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785611861000,"timestamp_ms":1785611861000,"timestamp_seconds":1785611861,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec2bc08"} 
[2026-08-02 00:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116559360001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116559360001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:52:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:52:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116559360001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":146575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:52:25] local.INFO: GPS data processed {"connection_id":146575,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:52:25] local.INFO: Acknowledgment sent {"connection_id":146575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:52:42] local.INFO: TCP Data received {"connection_id":148899,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:52:42] local.INFO: Processing buffer {"connection_id":148899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:52:42] local.INFO: IMEI packet received {"connection_id":148899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":148899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:52:48] local.INFO: TCP Data received {"connection_id":148899,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:52:48] local.INFO: Processing buffer {"connection_id":148899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:52:48] local.INFO: IMEI packet received {"connection_id":148899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":148899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:52:49] local.INFO: TCP Data received {"connection_id":148899,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:52:49] local.INFO: Processing buffer {"connection_id":148899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec2bc08012cc330c007685b20005a00cd25..."} 
[2026-08-02 00:52:49] local.INFO: Packet analysis {"connection_id":148899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:52:49] local.INFO: Extracted packet for processing {"connection_id":148899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec2"} 
[2026-08-02 00:52:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116559360001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:52:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785611861000,"timestamp_ms":1785611861000,"timestamp_seconds":1785611861,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec2bc08"} 
[2026-08-02 00:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116559360001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116559360001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:52:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:52:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:52:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116559360001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":148899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:52:49] local.INFO: GPS data processed {"connection_id":148899,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:52:49] local.INFO: Acknowledgment sent {"connection_id":148899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:53:20] local.INFO: TCP Data received {"connection_id":148899,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:53:20] local.INFO: Processing buffer {"connection_id":148899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:53:20] local.INFO: Packet analysis {"connection_id":148899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:53:20] local.INFO: Extracted packet for processing {"connection_id":148899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:53:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 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-08-02 00:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116636416001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785612162000,"timestamp_ms":1785612162000,"timestamp_seconds":1785612162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec753d0"} 
[2026-08-02 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-08-02 00:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 00:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116636416001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116636416001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:53:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:53:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116636416001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":148899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:53:20] local.INFO: GPS data processed {"connection_id":148899,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:53:20] local.INFO: Acknowledgment sent {"connection_id":148899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:53:50] local.INFO: TCP Data received {"connection_id":147582,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:53:50] local.INFO: Processing buffer {"connection_id":147582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:53:50] local.INFO: IMEI packet received {"connection_id":147582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":147582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:53:52] local.INFO: TCP Data received {"connection_id":147582,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:53:52] local.INFO: Processing buffer {"connection_id":147582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:53:52] local.INFO: IMEI packet received {"connection_id":147582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":147582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:53:54] local.INFO: TCP Data received {"connection_id":147582,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:53:54] local.INFO: Processing buffer {"connection_id":147582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:53:54] local.INFO: Packet analysis {"connection_id":147582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:53:54] local.INFO: Extracted packet for processing {"connection_id":147582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:53:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116636416001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:53:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785612162000,"timestamp_ms":1785612162000,"timestamp_seconds":1785612162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec753d0"} 
[2026-08-02 00:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116636416001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116636416001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:53:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:53:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:53:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116636416001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":147582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:53:54] local.INFO: GPS data processed {"connection_id":147582,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:53:54] local.INFO: Acknowledgment sent {"connection_id":147582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:54:02] local.INFO: TCP Data received {"connection_id":147582,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:54:02] local.INFO: Processing buffer {"connection_id":147582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:54:02] local.INFO: Packet analysis {"connection_id":147582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:54:02] local.INFO: Extracted packet for processing {"connection_id":147582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:54:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116636416001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:54:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785612162000,"timestamp_ms":1785612162000,"timestamp_seconds":1785612162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec753d0"} 
[2026-08-02 00:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116636416001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116636416001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:54:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:54:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:54:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116636416001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":147582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:54:02] local.INFO: GPS data processed {"connection_id":147582,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:54:02] local.INFO: Acknowledgment sent {"connection_id":147582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:54:43] local.INFO: TCP Data received {"connection_id":146350,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:54:43] local.INFO: Processing buffer {"connection_id":146350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:54:43] local.INFO: IMEI packet received {"connection_id":146350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":146350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:54:48] local.INFO: TCP Data received {"connection_id":146350,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:54:48] local.INFO: Processing buffer {"connection_id":146350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:54:48] local.INFO: IMEI packet received {"connection_id":146350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":146350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:54:50] local.INFO: TCP Data received {"connection_id":146350,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:54:50] local.INFO: Processing buffer {"connection_id":146350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:54:50] local.INFO: Packet analysis {"connection_id":146350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:54:50] local.INFO: Extracted packet for processing {"connection_id":146350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:54:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116636416001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:54:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785612162000,"timestamp_ms":1785612162000,"timestamp_seconds":1785612162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec753d0"} 
[2026-08-02 00:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116636416001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116636416001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:54:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:54:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:54:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116636416001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":146350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:54:50] local.INFO: GPS data processed {"connection_id":146350,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:54:50] local.INFO: Acknowledgment sent {"connection_id":146350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:55:21] local.INFO: TCP Data received {"connection_id":146350,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:55:21] local.INFO: Processing buffer {"connection_id":146350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:55:21] local.INFO: Packet analysis {"connection_id":146350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:55:21] local.INFO: Extracted packet for processing {"connection_id":146350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:55:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116636416001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785612162000,"timestamp_ms":1785612162000,"timestamp_seconds":1785612162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec753d0"} 
[2026-08-02 00:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116636416001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116636416001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:55:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:55:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116636416001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":146350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:55:21] local.INFO: GPS data processed {"connection_id":146350,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:55:21] local.INFO: Acknowledgment sent {"connection_id":146350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:55:43] local.INFO: TCP Data received {"connection_id":146576,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:55:43] local.INFO: Processing buffer {"connection_id":146576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:55:43] local.INFO: IMEI packet received {"connection_id":146576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":146576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:55:48] local.INFO: TCP Data received {"connection_id":146576,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:55:48] local.INFO: Processing buffer {"connection_id":146576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:55:48] local.INFO: IMEI packet received {"connection_id":146576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":146576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:55:56] local.INFO: TCP Data received {"connection_id":146576,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:55:56] local.INFO: Processing buffer {"connection_id":146576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:55:56] local.INFO: Packet analysis {"connection_id":146576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:55:56] local.INFO: Extracted packet for processing {"connection_id":146576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:55:56] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116636416001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:55:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785612162000,"timestamp_ms":1785612162000,"timestamp_seconds":1785612162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec753d0"} 
[2026-08-02 00:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116636416001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116636416001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:55:56] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:55:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:55:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116636416001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":146576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:55:56] local.INFO: GPS data processed {"connection_id":146576,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:55:56] local.INFO: Acknowledgment sent {"connection_id":146576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:56:27] local.INFO: TCP Data received {"connection_id":146576,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:56:27] local.INFO: Processing buffer {"connection_id":146576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:56:27] local.INFO: Packet analysis {"connection_id":146576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:56:27] local.INFO: Extracted packet for processing {"connection_id":146576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:56:27] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116636416001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:56:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785612162000,"timestamp_ms":1785612162000,"timestamp_seconds":1785612162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec753d0"} 
[2026-08-02 00:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116636416001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116636416001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:56:27] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:56:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:56:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116636416001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":146576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:56:27] local.INFO: GPS data processed {"connection_id":146576,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:56:27] local.INFO: Acknowledgment sent {"connection_id":146576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:56:42] local.INFO: TCP Data received {"connection_id":148900,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:56:42] local.INFO: Processing buffer {"connection_id":148900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:56:42] local.INFO: IMEI packet received {"connection_id":148900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":148900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:56:48] local.INFO: TCP Data received {"connection_id":148900,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:56:48] local.INFO: Processing buffer {"connection_id":148900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:56:48] local.INFO: IMEI packet received {"connection_id":148900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":148900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:56:50] local.INFO: TCP Data received {"connection_id":148900,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:56:50] local.INFO: Processing buffer {"connection_id":148900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:56:50] local.INFO: Packet analysis {"connection_id":148900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:56:50] local.INFO: Extracted packet for processing {"connection_id":148900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:56:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116636416001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785612162000,"timestamp_ms":1785612162000,"timestamp_seconds":1785612162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec753d0"} 
[2026-08-02 00:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116636416001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116636416001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:56:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:56:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116636416001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":148900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:56:50] local.INFO: GPS data processed {"connection_id":148900,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:56:50] local.INFO: Acknowledgment sent {"connection_id":148900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:57:21] local.INFO: TCP Data received {"connection_id":148900,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:57:21] local.INFO: Processing buffer {"connection_id":148900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:57:21] local.INFO: Packet analysis {"connection_id":148900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:57:21] local.INFO: Extracted packet for processing {"connection_id":148900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:57:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116636416001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785612162000,"timestamp_ms":1785612162000,"timestamp_seconds":1785612162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec753d0"} 
[2026-08-02 00:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116636416001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116636416001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:57:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:57:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116636416001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":148900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:57:21] local.INFO: GPS data processed {"connection_id":148900,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:57:21] local.INFO: Acknowledgment sent {"connection_id":148900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:57:42] local.INFO: TCP Data received {"connection_id":146351,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:57:42] local.INFO: Processing buffer {"connection_id":146351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:57:42] local.INFO: IMEI packet received {"connection_id":146351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":146351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:57:48] local.INFO: TCP Data received {"connection_id":146351,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:57:48] local.INFO: Processing buffer {"connection_id":146351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:57:48] local.INFO: IMEI packet received {"connection_id":146351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":146351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:57:49] local.INFO: TCP Data received {"connection_id":146351,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:57:49] local.INFO: Processing buffer {"connection_id":146351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:57:49] local.INFO: Packet analysis {"connection_id":146351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:57:49] local.INFO: Extracted packet for processing {"connection_id":146351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:57:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116636416001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785612162000,"timestamp_ms":1785612162000,"timestamp_seconds":1785612162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec753d0"} 
[2026-08-02 00:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116636416001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116636416001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:57:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:57:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116636416001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":146351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:57:49] local.INFO: GPS data processed {"connection_id":146351,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:57:49] local.INFO: Acknowledgment sent {"connection_id":146351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:58:21] local.INFO: TCP Data received {"connection_id":146351,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:58:21] local.INFO: Processing buffer {"connection_id":146351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbec753d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 00:58:21] local.INFO: Packet analysis {"connection_id":146351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:58:21] local.INFO: Extracted packet for processing {"connection_id":146351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbec7"} 
[2026-08-02 00:58:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116636416001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785612162000,"timestamp_ms":1785612162000,"timestamp_seconds":1785612162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbec753d0"} 
[2026-08-02 00:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 00:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116636416001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116636416001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:58:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:58:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116636416001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":146351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:58:21] local.INFO: GPS data processed {"connection_id":146351,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:58:21] local.INFO: Acknowledgment sent {"connection_id":146351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:58:48] local.INFO: TCP Data received {"connection_id":146577,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:58:48] local.INFO: Processing buffer {"connection_id":146577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:58:48] local.INFO: IMEI packet received {"connection_id":146577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":146577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:58:53] local.INFO: TCP Data received {"connection_id":146577,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:58:53] local.INFO: Processing buffer {"connection_id":146577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:58:53] local.INFO: IMEI packet received {"connection_id":146577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":146577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:58:54] local.INFO: TCP Data received {"connection_id":146577,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:58:54] local.INFO: Processing buffer {"connection_id":146577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:58:54] local.INFO: Packet analysis {"connection_id":146577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 00:58:54] local.INFO: Extracted packet for processing {"connection_id":146577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 00:58:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116713472001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:58:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785612463000,"timestamp_ms":1785612463000,"timestamp_seconds":1785612463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbecbeb98"} 
[2026-08-02 00:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 00:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116713472001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116713472001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:58:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:58:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:58:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116713472001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":146577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:58:54] local.INFO: GPS data processed {"connection_id":146577,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:58:54] local.INFO: Acknowledgment sent {"connection_id":146577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:59:25] local.INFO: TCP Data received {"connection_id":146577,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:59:25] local.INFO: Processing buffer {"connection_id":146577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:59:25] local.INFO: Packet analysis {"connection_id":146577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 00:59:25] local.INFO: Extracted packet for processing {"connection_id":146577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 00:59:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116713472001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:59:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785612463000,"timestamp_ms":1785612463000,"timestamp_seconds":1785612463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbecbeb98"} 
[2026-08-02 00:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 00:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116713472001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116713472001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:59:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:59:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:59:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116713472001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":146577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:59:25] local.INFO: GPS data processed {"connection_id":146577,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:59:25] local.INFO: Acknowledgment sent {"connection_id":146577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 00:59:43] local.INFO: TCP Data received {"connection_id":146578,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:59:43] local.INFO: Processing buffer {"connection_id":146578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:59:43] local.INFO: IMEI packet received {"connection_id":146578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 00:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":146578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 00:59:48] local.INFO: TCP Data received {"connection_id":146578,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:59:48] local.INFO: Processing buffer {"connection_id":146578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 00:59:48] local.INFO: IMEI packet received {"connection_id":146578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 00:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":146578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 00:59:49] local.INFO: TCP Data received {"connection_id":146578,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:59:49] local.INFO: Processing buffer {"connection_id":146578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 00:59:49] local.INFO: Packet analysis {"connection_id":146578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 00:59:49] local.INFO: Extracted packet for processing {"connection_id":146578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 00:59:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 00:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 00:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116713472001,"note":"Value kept but may cause issues"} 
[2026-08-02 00:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 00:59:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 00:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 00:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785612463000,"timestamp_ms":1785612463000,"timestamp_seconds":1785612463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbecbeb98"} 
[2026-08-02 00:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 00:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 00:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 00:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 00:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 00:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 00:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 00:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 00:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 00:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 00:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 00:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 00:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116713472001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 00:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 00:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 00:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116713472001,"description":"Unknown IO ID 0"} 
[2026-08-02 00:59:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 00:59:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 00:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 00:59:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 00:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116713472001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 00:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":146578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 00:59:49] local.INFO: GPS data processed {"connection_id":146578,"processed":1,"errors":0,"total":1} 
[2026-08-02 00:59:49] local.INFO: Acknowledgment sent {"connection_id":146578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:00:21] local.INFO: TCP Data received {"connection_id":146578,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:00:21] local.INFO: Processing buffer {"connection_id":146578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:00:21] local.INFO: Packet analysis {"connection_id":146578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 01:00:21] local.INFO: Extracted packet for processing {"connection_id":146578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 01:00:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116713472001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785612463000,"timestamp_ms":1785612463000,"timestamp_seconds":1785612463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbecbeb98"} 
[2026-08-02 01:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116713472001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116713472001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:00:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:00:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116713472001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":146578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:00:21] local.INFO: GPS data processed {"connection_id":146578,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:00:21] local.INFO: Acknowledgment sent {"connection_id":146578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:00:42] local.INFO: TCP Data received {"connection_id":148901,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:00:42] local.INFO: Processing buffer {"connection_id":148901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:00:42] local.INFO: IMEI packet received {"connection_id":148901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":148901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:00:48] local.INFO: TCP Data received {"connection_id":148901,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:00:48] local.INFO: Processing buffer {"connection_id":148901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:00:48] local.INFO: IMEI packet received {"connection_id":148901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":148901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:00:49] local.INFO: TCP Data received {"connection_id":148901,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:00:49] local.INFO: Processing buffer {"connection_id":148901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:00:49] local.INFO: Packet analysis {"connection_id":148901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 01:00:49] local.INFO: Extracted packet for processing {"connection_id":148901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 01:00:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116713472001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:00:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785612463000,"timestamp_ms":1785612463000,"timestamp_seconds":1785612463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbecbeb98"} 
[2026-08-02 01:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116713472001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116713472001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:00:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:00:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:00:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116713472001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":148901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:00:49] local.INFO: GPS data processed {"connection_id":148901,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:00:49] local.INFO: Acknowledgment sent {"connection_id":148901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:01:22] local.INFO: TCP Data received {"connection_id":148901,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:01:22] local.INFO: Processing buffer {"connection_id":148901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:01:22] local.INFO: Packet analysis {"connection_id":148901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 01:01:22] local.INFO: Extracted packet for processing {"connection_id":148901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 01:01:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116713472001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:01:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785612463000,"timestamp_ms":1785612463000,"timestamp_seconds":1785612463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbecbeb98"} 
[2026-08-02 01:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116713472001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116713472001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:01:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:01:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:01:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116713472001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":148901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:01:22] local.INFO: GPS data processed {"connection_id":148901,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:01:22] local.INFO: Acknowledgment sent {"connection_id":148901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:01:42] local.INFO: TCP Data received {"connection_id":147583,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:01:42] local.INFO: Processing buffer {"connection_id":147583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:01:42] local.INFO: IMEI packet received {"connection_id":147583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":147583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:01:48] local.INFO: TCP Data received {"connection_id":147583,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:01:48] local.INFO: Processing buffer {"connection_id":147583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:01:48] local.INFO: IMEI packet received {"connection_id":147583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":147583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:01:49] local.INFO: TCP Data received {"connection_id":147583,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:01:49] local.INFO: Processing buffer {"connection_id":147583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:01:49] local.INFO: Packet analysis {"connection_id":147583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 01:01:49] local.INFO: Extracted packet for processing {"connection_id":147583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 01:01:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116713472001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785612463000,"timestamp_ms":1785612463000,"timestamp_seconds":1785612463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbecbeb98"} 
[2026-08-02 01:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116713472001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116713472001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:01:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:01:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116713472001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":147583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:01:49] local.INFO: GPS data processed {"connection_id":147583,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:01:49] local.INFO: Acknowledgment sent {"connection_id":147583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:02:21] local.INFO: TCP Data received {"connection_id":147583,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:02:21] local.INFO: Processing buffer {"connection_id":147583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:02:21] local.INFO: Packet analysis {"connection_id":147583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 01:02:21] local.INFO: Extracted packet for processing {"connection_id":147583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 01:02:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116713472001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785612463000,"timestamp_ms":1785612463000,"timestamp_seconds":1785612463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbecbeb98"} 
[2026-08-02 01:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116713472001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116713472001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:02:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:02:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116713472001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":147583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:02:21] local.INFO: GPS data processed {"connection_id":147583,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:02:21] local.INFO: Acknowledgment sent {"connection_id":147583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:02:48] local.INFO: TCP Data received {"connection_id":146579,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:02:48] local.INFO: Processing buffer {"connection_id":146579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:02:48] local.INFO: IMEI packet received {"connection_id":146579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":146579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:02:53] local.INFO: TCP Data received {"connection_id":146579,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:02:53] local.INFO: Processing buffer {"connection_id":146579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:02:53] local.INFO: IMEI packet received {"connection_id":146579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":146579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:02:58] local.INFO: TCP Data received {"connection_id":146579,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:02:58] local.INFO: Processing buffer {"connection_id":146579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:02:58] local.INFO: Packet analysis {"connection_id":146579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 01:02:58] local.INFO: Extracted packet for processing {"connection_id":146579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 01:02:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116713472001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:02:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785612463000,"timestamp_ms":1785612463000,"timestamp_seconds":1785612463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbecbeb98"} 
[2026-08-02 01:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116713472001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116713472001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:02:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:02:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:02:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116713472001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":146579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:02:58] local.INFO: GPS data processed {"connection_id":146579,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:02:58] local.INFO: Acknowledgment sent {"connection_id":146579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:02:59] local.INFO: TCP Data received {"connection_id":146579,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:02:59] local.INFO: Processing buffer {"connection_id":146579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbecbeb98012cc330c007685b20005a00cd24..."} 
[2026-08-02 01:02:59] local.INFO: Packet analysis {"connection_id":146579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 01:02:59] local.INFO: Extracted packet for processing {"connection_id":146579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbecb"} 
[2026-08-02 01:02:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116713472001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:02:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785612463000,"timestamp_ms":1785612463000,"timestamp_seconds":1785612463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbecbeb98"} 
[2026-08-02 01:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116713472001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116713472001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:02:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:02:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:02:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116713472001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":146579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:02:59] local.INFO: GPS data processed {"connection_id":146579,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:02:59] local.INFO: Acknowledgment sent {"connection_id":146579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:03:43] local.INFO: TCP Data received {"connection_id":148902,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:03:43] local.INFO: Processing buffer {"connection_id":148902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:03:43] local.INFO: IMEI packet received {"connection_id":148902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":148902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:03:48] local.INFO: TCP Data received {"connection_id":148902,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:03:48] local.INFO: Processing buffer {"connection_id":148902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:03:48] local.INFO: IMEI packet received {"connection_id":148902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":148902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:03:49] local.INFO: TCP Data received {"connection_id":148902,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:03:49] local.INFO: Processing buffer {"connection_id":148902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:03:49] local.INFO: Packet analysis {"connection_id":148902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:03:49] local.INFO: Extracted packet for processing {"connection_id":148902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:03:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116790528001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:03:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785612764000,"timestamp_ms":1785612764000,"timestamp_seconds":1785612764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed08360"} 
[2026-08-02 01:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 01:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116790528001,"66":25560,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116790528001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:03:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:03:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:03:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116790528001,"power":25560,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":148902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:03:49] local.INFO: GPS data processed {"connection_id":148902,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:03:49] local.INFO: Acknowledgment sent {"connection_id":148902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:04:20] local.INFO: TCP Data received {"connection_id":148902,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:04:20] local.INFO: Processing buffer {"connection_id":148902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:04:20] local.INFO: Packet analysis {"connection_id":148902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:04:20] local.INFO: Extracted packet for processing {"connection_id":148902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:04:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116790528001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:04:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785612764000,"timestamp_ms":1785612764000,"timestamp_seconds":1785612764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed08360"} 
[2026-08-02 01:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 01:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116790528001,"66":25560,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116790528001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:04:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:04:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:04:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116790528001,"power":25560,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":148902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:04:20] local.INFO: GPS data processed {"connection_id":148902,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:04:20] local.INFO: Acknowledgment sent {"connection_id":148902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:04:42] local.INFO: TCP Data received {"connection_id":146352,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:04:42] local.INFO: Processing buffer {"connection_id":146352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:04:42] local.INFO: IMEI packet received {"connection_id":146352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":146352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:04:48] local.INFO: TCP Data received {"connection_id":146352,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:04:48] local.INFO: Processing buffer {"connection_id":146352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:04:48] local.INFO: IMEI packet received {"connection_id":146352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":146352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:04:49] local.INFO: TCP Data received {"connection_id":146352,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:04:49] local.INFO: Processing buffer {"connection_id":146352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:04:49] local.INFO: Packet analysis {"connection_id":146352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:04:49] local.INFO: Extracted packet for processing {"connection_id":146352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:04:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116790528001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785612764000,"timestamp_ms":1785612764000,"timestamp_seconds":1785612764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed08360"} 
[2026-08-02 01:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 01:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116790528001,"66":25560,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116790528001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:04:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:04:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116790528001,"power":25560,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":146352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:04:49] local.INFO: GPS data processed {"connection_id":146352,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:04:49] local.INFO: Acknowledgment sent {"connection_id":146352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:05:20] local.INFO: TCP Data received {"connection_id":146352,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:05:20] local.INFO: Processing buffer {"connection_id":146352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:05:20] local.INFO: Packet analysis {"connection_id":146352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:05:20] local.INFO: Extracted packet for processing {"connection_id":146352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:05:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116790528001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785612764000,"timestamp_ms":1785612764000,"timestamp_seconds":1785612764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed08360"} 
[2026-08-02 01:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 01:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116790528001,"66":25560,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116790528001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:05:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:05:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116790528001,"power":25560,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":146352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:05:20] local.INFO: GPS data processed {"connection_id":146352,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:05:20] local.INFO: Acknowledgment sent {"connection_id":146352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:05:42] local.INFO: TCP Data received {"connection_id":146580,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:05:42] local.INFO: Processing buffer {"connection_id":146580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:05:42] local.INFO: IMEI packet received {"connection_id":146580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":146580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:05:48] local.INFO: TCP Data received {"connection_id":146580,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:05:48] local.INFO: Processing buffer {"connection_id":146580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:05:48] local.INFO: IMEI packet received {"connection_id":146580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":146580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:05:49] local.INFO: TCP Data received {"connection_id":146580,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:05:49] local.INFO: Processing buffer {"connection_id":146580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:05:49] local.INFO: Packet analysis {"connection_id":146580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:05:49] local.INFO: Extracted packet for processing {"connection_id":146580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:05:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116790528001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785612764000,"timestamp_ms":1785612764000,"timestamp_seconds":1785612764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed08360"} 
[2026-08-02 01:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 01:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116790528001,"66":25560,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116790528001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:05:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:05:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116790528001,"power":25560,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":146580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:05:49] local.INFO: GPS data processed {"connection_id":146580,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:05:49] local.INFO: Acknowledgment sent {"connection_id":146580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:06:20] local.INFO: TCP Data received {"connection_id":146580,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:06:20] local.INFO: Processing buffer {"connection_id":146580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:06:20] local.INFO: Packet analysis {"connection_id":146580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:06:20] local.INFO: Extracted packet for processing {"connection_id":146580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:06:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116790528001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785612764000,"timestamp_ms":1785612764000,"timestamp_seconds":1785612764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed08360"} 
[2026-08-02 01:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 01:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116790528001,"66":25560,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116790528001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:06:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:06:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116790528001,"power":25560,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":146580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:06:20] local.INFO: GPS data processed {"connection_id":146580,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:06:20] local.INFO: Acknowledgment sent {"connection_id":146580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:06:48] local.INFO: TCP Data received {"connection_id":147584,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:06:48] local.INFO: Processing buffer {"connection_id":147584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:06:48] local.INFO: IMEI packet received {"connection_id":147584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":147584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:06:53] local.INFO: TCP Data received {"connection_id":147584,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:06:53] local.INFO: Processing buffer {"connection_id":147584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:06:53] local.INFO: IMEI packet received {"connection_id":147584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":147584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:06:54] local.INFO: TCP Data received {"connection_id":147584,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:06:54] local.INFO: Processing buffer {"connection_id":147584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:06:54] local.INFO: Packet analysis {"connection_id":147584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:06:54] local.INFO: Extracted packet for processing {"connection_id":147584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:06:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01: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-08-02 01:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116790528001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:06:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785612764000,"timestamp_ms":1785612764000,"timestamp_seconds":1785612764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed08360"} 
[2026-08-02 01:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 01:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01: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-08-02 01:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116790528001,"66":25560,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116790528001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:06:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:06:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:06:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116790528001,"power":25560,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":147584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:06:54] local.INFO: GPS data processed {"connection_id":147584,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:06:54] local.INFO: Acknowledgment sent {"connection_id":147584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:06:58] local.INFO: TCP Data received {"connection_id":147584,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:06:58] local.INFO: Processing buffer {"connection_id":147584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:06:58] local.INFO: Packet analysis {"connection_id":147584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:06:58] local.INFO: Extracted packet for processing {"connection_id":147584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:06:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01: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-08-02 01:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116790528001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:06:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785612764000,"timestamp_ms":1785612764000,"timestamp_seconds":1785612764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed08360"} 
[2026-08-02 01:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 01:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01: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-08-02 01:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116790528001,"66":25560,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116790528001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:06:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:06:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:06:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116790528001,"power":25560,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":147584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:06:58] local.INFO: GPS data processed {"connection_id":147584,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:06:58] local.INFO: Acknowledgment sent {"connection_id":147584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:07:43] local.INFO: TCP Data received {"connection_id":146353,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:07:43] local.INFO: Processing buffer {"connection_id":146353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:07:43] local.INFO: IMEI packet received {"connection_id":146353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":146353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:07:48] local.INFO: TCP Data received {"connection_id":146353,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:07:48] local.INFO: Processing buffer {"connection_id":146353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:07:48] local.INFO: IMEI packet received {"connection_id":146353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":146353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:07:49] local.INFO: TCP Data received {"connection_id":146353,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:07:49] local.INFO: Processing buffer {"connection_id":146353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:07:49] local.INFO: Packet analysis {"connection_id":146353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:07:49] local.INFO: Extracted packet for processing {"connection_id":146353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:07:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116790528001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:07:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785612764000,"timestamp_ms":1785612764000,"timestamp_seconds":1785612764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed08360"} 
[2026-08-02 01:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 01:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116790528001,"66":25560,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116790528001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:07:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:07:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:07:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116790528001,"power":25560,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":146353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:07:49] local.INFO: GPS data processed {"connection_id":146353,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:07:49] local.INFO: Acknowledgment sent {"connection_id":146353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:08:20] local.INFO: TCP Data received {"connection_id":146353,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:08:20] local.INFO: Processing buffer {"connection_id":146353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed08360012cc330c007685b20005a00cd23..."} 
[2026-08-02 01:08:20] local.INFO: Packet analysis {"connection_id":146353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:08:20] local.INFO: Extracted packet for processing {"connection_id":146353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed0"} 
[2026-08-02 01:08:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116790528001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785612764000,"timestamp_ms":1785612764000,"timestamp_seconds":1785612764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed08360"} 
[2026-08-02 01:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 01:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116790528001,"66":25560,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116790528001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:08:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:08:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116790528001,"power":25560,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":146353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:08:20] local.INFO: GPS data processed {"connection_id":146353,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:08:20] local.INFO: Acknowledgment sent {"connection_id":146353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:08:43] local.INFO: TCP Data received {"connection_id":148903,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:08:43] local.INFO: Processing buffer {"connection_id":148903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:08:43] local.INFO: IMEI packet received {"connection_id":148903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":148903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:08:48] local.INFO: TCP Data received {"connection_id":148903,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:08:48] local.INFO: Processing buffer {"connection_id":148903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:08:48] local.INFO: IMEI packet received {"connection_id":148903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":148903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:08:49] local.INFO: TCP Data received {"connection_id":148903,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:08:49] local.INFO: Processing buffer {"connection_id":148903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:08:49] local.INFO: Packet analysis {"connection_id":148903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:08:49] local.INFO: Extracted packet for processing {"connection_id":148903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:08:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116867584001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:08:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785613065000,"timestamp_ms":1785613065000,"timestamp_seconds":1785613065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed51b28"} 
[2026-08-02 01:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 01:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116867584001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116867584001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:08:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:08:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:08:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116867584001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":148903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:08:49] local.INFO: GPS data processed {"connection_id":148903,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:08:49] local.INFO: Acknowledgment sent {"connection_id":148903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:09:21] local.INFO: TCP Data received {"connection_id":148903,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:09:21] local.INFO: Processing buffer {"connection_id":148903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:09:21] local.INFO: Packet analysis {"connection_id":148903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:09:21] local.INFO: Extracted packet for processing {"connection_id":148903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:09:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116867584001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785613065000,"timestamp_ms":1785613065000,"timestamp_seconds":1785613065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed51b28"} 
[2026-08-02 01:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 01:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116867584001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116867584001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:09:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:09:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116867584001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":148903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:09:21] local.INFO: GPS data processed {"connection_id":148903,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:09:21] local.INFO: Acknowledgment sent {"connection_id":148903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:09:42] local.INFO: TCP Data received {"connection_id":147585,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:09:42] local.INFO: Processing buffer {"connection_id":147585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:09:42] local.INFO: IMEI packet received {"connection_id":147585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":147585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:09:48] local.INFO: TCP Data received {"connection_id":147585,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:09:48] local.INFO: Processing buffer {"connection_id":147585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:09:48] local.INFO: IMEI packet received {"connection_id":147585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":147585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:09:49] local.INFO: TCP Data received {"connection_id":147585,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:09:49] local.INFO: Processing buffer {"connection_id":147585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:09:49] local.INFO: Packet analysis {"connection_id":147585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:09:49] local.INFO: Extracted packet for processing {"connection_id":147585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:09:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116867584001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:09:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785613065000,"timestamp_ms":1785613065000,"timestamp_seconds":1785613065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed51b28"} 
[2026-08-02 01:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 01:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116867584001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116867584001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:09:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:09:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:09:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116867584001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":147585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:09:49] local.INFO: GPS data processed {"connection_id":147585,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:09:49] local.INFO: Acknowledgment sent {"connection_id":147585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:10:20] local.INFO: TCP Data received {"connection_id":147585,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:10:20] local.INFO: Processing buffer {"connection_id":147585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:10:20] local.INFO: Packet analysis {"connection_id":147585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:10:20] local.INFO: Extracted packet for processing {"connection_id":147585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:10:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116867584001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785613065000,"timestamp_ms":1785613065000,"timestamp_seconds":1785613065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed51b28"} 
[2026-08-02 01:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 01:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116867584001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116867584001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:10:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:10:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116867584001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":147585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:10:20] local.INFO: GPS data processed {"connection_id":147585,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:10:20] local.INFO: Acknowledgment sent {"connection_id":147585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:10:48] local.INFO: TCP Data received {"connection_id":148904,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:10:48] local.INFO: Processing buffer {"connection_id":148904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:10:48] local.INFO: IMEI packet received {"connection_id":148904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":148904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:10:53] local.INFO: TCP Data received {"connection_id":148904,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:10:53] local.INFO: Processing buffer {"connection_id":148904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:10:53] local.INFO: IMEI packet received {"connection_id":148904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":148904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:10:54] local.INFO: TCP Data received {"connection_id":148904,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:10:54] local.INFO: Processing buffer {"connection_id":148904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:10:54] local.INFO: Packet analysis {"connection_id":148904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:10:54] local.INFO: Extracted packet for processing {"connection_id":148904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:10:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116867584001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:10:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785613065000,"timestamp_ms":1785613065000,"timestamp_seconds":1785613065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed51b28"} 
[2026-08-02 01:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 01:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116867584001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116867584001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:10:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:10:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:10:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116867584001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":148904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:10:54] local.INFO: GPS data processed {"connection_id":148904,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:10:54] local.INFO: Acknowledgment sent {"connection_id":148904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:10:58] local.INFO: TCP Data received {"connection_id":148904,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:10:58] local.INFO: Processing buffer {"connection_id":148904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:10:58] local.INFO: Packet analysis {"connection_id":148904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:10:58] local.INFO: Extracted packet for processing {"connection_id":148904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:10:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116867584001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:10:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785613065000,"timestamp_ms":1785613065000,"timestamp_seconds":1785613065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed51b28"} 
[2026-08-02 01:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 01:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116867584001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116867584001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:10:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:10:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:10:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116867584001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":148904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:10:58] local.INFO: GPS data processed {"connection_id":148904,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:10:58] local.INFO: Acknowledgment sent {"connection_id":148904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:11:43] local.INFO: TCP Data received {"connection_id":146581,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:11:43] local.INFO: Processing buffer {"connection_id":146581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:11:43] local.INFO: IMEI packet received {"connection_id":146581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":146581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:11:48] local.INFO: TCP Data received {"connection_id":146581,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:11:48] local.INFO: Processing buffer {"connection_id":146581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:11:48] local.INFO: IMEI packet received {"connection_id":146581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":146581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:11:49] local.INFO: TCP Data received {"connection_id":146581,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:11:49] local.INFO: Processing buffer {"connection_id":146581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:11:49] local.INFO: Packet analysis {"connection_id":146581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:11:49] local.INFO: Extracted packet for processing {"connection_id":146581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:11:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116867584001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:11:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785613065000,"timestamp_ms":1785613065000,"timestamp_seconds":1785613065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed51b28"} 
[2026-08-02 01:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 01:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116867584001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116867584001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:11:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:11:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:11:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116867584001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":146581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:11:49] local.INFO: GPS data processed {"connection_id":146581,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:11:49] local.INFO: Acknowledgment sent {"connection_id":146581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:12:20] local.INFO: TCP Data received {"connection_id":146581,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:12:20] local.INFO: Processing buffer {"connection_id":146581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:12:20] local.INFO: Packet analysis {"connection_id":146581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:12:20] local.INFO: Extracted packet for processing {"connection_id":146581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:12:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116867584001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785613065000,"timestamp_ms":1785613065000,"timestamp_seconds":1785613065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed51b28"} 
[2026-08-02 01:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 01:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116867584001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116867584001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:12:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:12:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116867584001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":146581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:12:20] local.INFO: GPS data processed {"connection_id":146581,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:12:20] local.INFO: Acknowledgment sent {"connection_id":146581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:12:43] local.INFO: TCP Data received {"connection_id":146582,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:12:43] local.INFO: Processing buffer {"connection_id":146582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:12:43] local.INFO: IMEI packet received {"connection_id":146582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":146582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:12:48] local.INFO: TCP Data received {"connection_id":146582,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:12:48] local.INFO: Processing buffer {"connection_id":146582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:12:48] local.INFO: IMEI packet received {"connection_id":146582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":146582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:12:49] local.INFO: TCP Data received {"connection_id":146582,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:12:49] local.INFO: Processing buffer {"connection_id":146582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:12:49] local.INFO: Packet analysis {"connection_id":146582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:12:49] local.INFO: Extracted packet for processing {"connection_id":146582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:12:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116867584001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:12:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785613065000,"timestamp_ms":1785613065000,"timestamp_seconds":1785613065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed51b28"} 
[2026-08-02 01:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 01:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116867584001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116867584001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:12:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:12:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:12:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116867584001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":146582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:12:49] local.INFO: GPS data processed {"connection_id":146582,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:12:49] local.INFO: Acknowledgment sent {"connection_id":146582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:13:21] local.INFO: TCP Data received {"connection_id":146582,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:13:21] local.INFO: Processing buffer {"connection_id":146582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed51b28012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:13:21] local.INFO: Packet analysis {"connection_id":146582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:13:21] local.INFO: Extracted packet for processing {"connection_id":146582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed5"} 
[2026-08-02 01:13:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116867584001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785613065000,"timestamp_ms":1785613065000,"timestamp_seconds":1785613065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed51b28"} 
[2026-08-02 01:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 01:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116867584001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116867584001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:13:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:13:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116867584001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":146582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:13:21] local.INFO: GPS data processed {"connection_id":146582,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:13:21] local.INFO: Acknowledgment sent {"connection_id":146582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:13:42] local.INFO: TCP Data received {"connection_id":147586,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:13:42] local.INFO: Processing buffer {"connection_id":147586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:13:42] local.INFO: IMEI packet received {"connection_id":147586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":147586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:13:48] local.INFO: TCP Data received {"connection_id":147586,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:13:48] local.INFO: Processing buffer {"connection_id":147586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:13:48] local.INFO: IMEI packet received {"connection_id":147586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":147586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:13:49] local.INFO: TCP Data received {"connection_id":147586,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:13:49] local.INFO: Processing buffer {"connection_id":147586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:13:49] local.INFO: Packet analysis {"connection_id":147586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:13:49] local.INFO: Extracted packet for processing {"connection_id":147586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:13:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116944640001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:13:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785613365000,"timestamp_ms":1785613365000,"timestamp_seconds":1785613365,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed9af08"} 
[2026-08-02 01:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116944640001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116944640001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:13:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:13:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:13:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116944640001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":147586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:13:49] local.INFO: GPS data processed {"connection_id":147586,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:13:49] local.INFO: Acknowledgment sent {"connection_id":147586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:14:21] local.INFO: TCP Data received {"connection_id":147586,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:14:21] local.INFO: Processing buffer {"connection_id":147586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:14:21] local.INFO: Packet analysis {"connection_id":147586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:14:21] local.INFO: Extracted packet for processing {"connection_id":147586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:14:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116944640001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785613365000,"timestamp_ms":1785613365000,"timestamp_seconds":1785613365,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed9af08"} 
[2026-08-02 01:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116944640001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116944640001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:14:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:14:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116944640001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":147586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:14:21] local.INFO: GPS data processed {"connection_id":147586,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:14:21] local.INFO: Acknowledgment sent {"connection_id":147586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:14:42] local.INFO: TCP Data received {"connection_id":148905,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:14:42] local.INFO: Processing buffer {"connection_id":148905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:14:42] local.INFO: IMEI packet received {"connection_id":148905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":148905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:14:48] local.INFO: TCP Data received {"connection_id":148905,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:14:48] local.INFO: Processing buffer {"connection_id":148905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:14:48] local.INFO: IMEI packet received {"connection_id":148905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":148905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:14:49] local.INFO: TCP Data received {"connection_id":148905,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:14:49] local.INFO: Processing buffer {"connection_id":148905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:14:49] local.INFO: Packet analysis {"connection_id":148905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:14:49] local.INFO: Extracted packet for processing {"connection_id":148905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:14:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116944640001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:14:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785613365000,"timestamp_ms":1785613365000,"timestamp_seconds":1785613365,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed9af08"} 
[2026-08-02 01:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116944640001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116944640001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:14:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:14:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:14:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116944640001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":148905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:14:49] local.INFO: GPS data processed {"connection_id":148905,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:14:49] local.INFO: Acknowledgment sent {"connection_id":148905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:15:20] local.INFO: TCP Data received {"connection_id":148905,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:15:20] local.INFO: Processing buffer {"connection_id":148905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:15:20] local.INFO: Packet analysis {"connection_id":148905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:15:20] local.INFO: Extracted packet for processing {"connection_id":148905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:15:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116944640001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:15:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785613365000,"timestamp_ms":1785613365000,"timestamp_seconds":1785613365,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed9af08"} 
[2026-08-02 01:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116944640001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116944640001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:15:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:15:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:15:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116944640001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":148905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:15:20] local.INFO: GPS data processed {"connection_id":148905,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:15:20] local.INFO: Acknowledgment sent {"connection_id":148905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:15:48] local.INFO: TCP Data received {"connection_id":146354,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:15:48] local.INFO: Processing buffer {"connection_id":146354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:15:48] local.INFO: IMEI packet received {"connection_id":146354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":146354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:15:53] local.INFO: TCP Data received {"connection_id":146354,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:15:53] local.INFO: Processing buffer {"connection_id":146354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:15:53] local.INFO: IMEI packet received {"connection_id":146354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":146354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:15:54] local.INFO: TCP Data received {"connection_id":146354,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:15:54] local.INFO: Processing buffer {"connection_id":146354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:15:54] local.INFO: Packet analysis {"connection_id":146354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:15:54] local.INFO: Extracted packet for processing {"connection_id":146354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:15:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116944640001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:15:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785613365000,"timestamp_ms":1785613365000,"timestamp_seconds":1785613365,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed9af08"} 
[2026-08-02 01:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116944640001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116944640001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:15:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:15:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:15:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116944640001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":146354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:15:54] local.INFO: GPS data processed {"connection_id":146354,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:15:54] local.INFO: Acknowledgment sent {"connection_id":146354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:15:58] local.INFO: TCP Data received {"connection_id":146354,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:15:58] local.INFO: Processing buffer {"connection_id":146354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:15:58] local.INFO: Packet analysis {"connection_id":146354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:15:58] local.INFO: Extracted packet for processing {"connection_id":146354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:15:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116944640001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:15:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785613365000,"timestamp_ms":1785613365000,"timestamp_seconds":1785613365,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed9af08"} 
[2026-08-02 01:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116944640001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116944640001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:15:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:15:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:15:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116944640001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":146354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:15:58] local.INFO: GPS data processed {"connection_id":146354,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:15:58] local.INFO: Acknowledgment sent {"connection_id":146354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:16:43] local.INFO: TCP Data received {"connection_id":147587,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:16:43] local.INFO: Processing buffer {"connection_id":147587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:16:43] local.INFO: IMEI packet received {"connection_id":147587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":147587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:16:48] local.INFO: TCP Data received {"connection_id":147587,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:16:48] local.INFO: Processing buffer {"connection_id":147587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:16:48] local.INFO: IMEI packet received {"connection_id":147587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":147587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:16:49] local.INFO: TCP Data received {"connection_id":147587,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:16:49] local.INFO: Processing buffer {"connection_id":147587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:16:49] local.INFO: Packet analysis {"connection_id":147587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:16:49] local.INFO: Extracted packet for processing {"connection_id":147587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:16:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116944640001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785613365000,"timestamp_ms":1785613365000,"timestamp_seconds":1785613365,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed9af08"} 
[2026-08-02 01:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116944640001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116944640001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:16:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:16:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116944640001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":147587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:16:49] local.INFO: GPS data processed {"connection_id":147587,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:16:49] local.INFO: Acknowledgment sent {"connection_id":147587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:17:21] local.INFO: TCP Data received {"connection_id":147587,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:17:21] local.INFO: Processing buffer {"connection_id":147587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:17:21] local.INFO: Packet analysis {"connection_id":147587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:17:21] local.INFO: Extracted packet for processing {"connection_id":147587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:17:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116944640001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785613365000,"timestamp_ms":1785613365000,"timestamp_seconds":1785613365,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed9af08"} 
[2026-08-02 01:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116944640001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116944640001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:17:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:17:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116944640001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":147587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:17:21] local.INFO: GPS data processed {"connection_id":147587,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:17:21] local.INFO: Acknowledgment sent {"connection_id":147587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:17:42] local.INFO: TCP Data received {"connection_id":146583,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:17:42] local.INFO: Processing buffer {"connection_id":146583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:17:42] local.INFO: IMEI packet received {"connection_id":146583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":146583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:17:48] local.INFO: TCP Data received {"connection_id":146583,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:17:48] local.INFO: Processing buffer {"connection_id":146583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:17:48] local.INFO: IMEI packet received {"connection_id":146583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":146583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:17:49] local.INFO: TCP Data received {"connection_id":146583,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:17:49] local.INFO: Processing buffer {"connection_id":146583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:17:49] local.INFO: Packet analysis {"connection_id":146583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:17:49] local.INFO: Extracted packet for processing {"connection_id":146583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:17:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116944640001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:17:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785613365000,"timestamp_ms":1785613365000,"timestamp_seconds":1785613365,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed9af08"} 
[2026-08-02 01:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116944640001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116944640001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:17:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:17:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:17:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116944640001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":146583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:17:49] local.INFO: GPS data processed {"connection_id":146583,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:17:49] local.INFO: Acknowledgment sent {"connection_id":146583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:18:21] local.INFO: TCP Data received {"connection_id":146583,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:18:21] local.INFO: Processing buffer {"connection_id":146583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbed9af08012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:18:21] local.INFO: Packet analysis {"connection_id":146583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:18:21] local.INFO: Extracted packet for processing {"connection_id":146583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbed9"} 
[2026-08-02 01:18:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457116944640001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785613365000,"timestamp_ms":1785613365000,"timestamp_seconds":1785613365,"priority":1,"record_length":96,"hex_timestamp":"0000019fbed9af08"} 
[2026-08-02 01:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457116944640001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457116944640001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:18:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:18:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457116944640001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":146583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:18:21] local.INFO: GPS data processed {"connection_id":146583,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:18:21] local.INFO: Acknowledgment sent {"connection_id":146583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:18:42] local.INFO: TCP Data received {"connection_id":146355,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:18:42] local.INFO: Processing buffer {"connection_id":146355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:18:42] local.INFO: IMEI packet received {"connection_id":146355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":146355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:18:48] local.INFO: TCP Data received {"connection_id":146355,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:18:48] local.INFO: Processing buffer {"connection_id":146355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:18:48] local.INFO: IMEI packet received {"connection_id":146355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":146355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:18:49] local.INFO: TCP Data received {"connection_id":146355,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:18:49] local.INFO: Processing buffer {"connection_id":146355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:18:49] local.INFO: Packet analysis {"connection_id":146355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:18:49] local.INFO: Extracted packet for processing {"connection_id":146355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:18:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117021440001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:18:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785613666000,"timestamp_ms":1785613666000,"timestamp_seconds":1785613666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbede46d0"} 
[2026-08-02 01:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117021440001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117021440001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:18:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:18:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:18:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117021440001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":146355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:18:49] local.INFO: GPS data processed {"connection_id":146355,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:18:49] local.INFO: Acknowledgment sent {"connection_id":146355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:19:21] local.INFO: TCP Data received {"connection_id":146355,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:19:21] local.INFO: Processing buffer {"connection_id":146355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:19:21] local.INFO: Packet analysis {"connection_id":146355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:19:21] local.INFO: Extracted packet for processing {"connection_id":146355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:19:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117021440001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785613666000,"timestamp_ms":1785613666000,"timestamp_seconds":1785613666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbede46d0"} 
[2026-08-02 01:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117021440001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117021440001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:19:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:19:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117021440001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":146355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:19:21] local.INFO: GPS data processed {"connection_id":146355,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:19:21] local.INFO: Acknowledgment sent {"connection_id":146355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:19:48] local.INFO: TCP Data received {"connection_id":146584,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:19:48] local.INFO: Processing buffer {"connection_id":146584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:19:48] local.INFO: IMEI packet received {"connection_id":146584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":146584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:19:53] local.INFO: TCP Data received {"connection_id":146584,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:19:53] local.INFO: Processing buffer {"connection_id":146584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:19:53] local.INFO: IMEI packet received {"connection_id":146584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":146584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:19:54] local.INFO: TCP Data received {"connection_id":146584,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:19:54] local.INFO: Processing buffer {"connection_id":146584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:19:54] local.INFO: Packet analysis {"connection_id":146584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:19:54] local.INFO: Extracted packet for processing {"connection_id":146584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:19:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117021440001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:19:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785613666000,"timestamp_ms":1785613666000,"timestamp_seconds":1785613666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbede46d0"} 
[2026-08-02 01:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117021440001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117021440001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:19:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:19:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:19:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117021440001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":146584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:19:54] local.INFO: GPS data processed {"connection_id":146584,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:19:54] local.INFO: Acknowledgment sent {"connection_id":146584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:19:59] local.INFO: TCP Data received {"connection_id":146584,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:19:59] local.INFO: Processing buffer {"connection_id":146584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:19:59] local.INFO: Packet analysis {"connection_id":146584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:19:59] local.INFO: Extracted packet for processing {"connection_id":146584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:19:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117021440001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:19:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785613666000,"timestamp_ms":1785613666000,"timestamp_seconds":1785613666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbede46d0"} 
[2026-08-02 01:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117021440001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117021440001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:19:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:19:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:19:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117021440001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":146584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:19:59] local.INFO: GPS data processed {"connection_id":146584,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:19:59] local.INFO: Acknowledgment sent {"connection_id":146584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:20:43] local.INFO: TCP Data received {"connection_id":146585,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:20:43] local.INFO: Processing buffer {"connection_id":146585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:20:43] local.INFO: IMEI packet received {"connection_id":146585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":146585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:20:48] local.INFO: TCP Data received {"connection_id":146585,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:20:48] local.INFO: Processing buffer {"connection_id":146585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:20:48] local.INFO: IMEI packet received {"connection_id":146585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":146585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:20:50] local.INFO: TCP Data received {"connection_id":146585,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:20:50] local.INFO: Processing buffer {"connection_id":146585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:20:50] local.INFO: Packet analysis {"connection_id":146585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:20:50] local.INFO: Extracted packet for processing {"connection_id":146585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:20:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117021440001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785613666000,"timestamp_ms":1785613666000,"timestamp_seconds":1785613666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbede46d0"} 
[2026-08-02 01:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117021440001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117021440001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:20:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:20:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117021440001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":146585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:20:50] local.INFO: GPS data processed {"connection_id":146585,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:20:50] local.INFO: Acknowledgment sent {"connection_id":146585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:21:22] local.INFO: TCP Data received {"connection_id":146585,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:21:22] local.INFO: Processing buffer {"connection_id":146585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:21:22] local.INFO: Packet analysis {"connection_id":146585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:21:22] local.INFO: Extracted packet for processing {"connection_id":146585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:21:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117021440001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:21:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785613666000,"timestamp_ms":1785613666000,"timestamp_seconds":1785613666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbede46d0"} 
[2026-08-02 01:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117021440001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117021440001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:21:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:21:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:21:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117021440001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":146585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:21:22] local.INFO: GPS data processed {"connection_id":146585,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:21:22] local.INFO: Acknowledgment sent {"connection_id":146585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:21:43] local.INFO: TCP Data received {"connection_id":147588,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:21:43] local.INFO: Processing buffer {"connection_id":147588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:21:43] local.INFO: IMEI packet received {"connection_id":147588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":147588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:21:48] local.INFO: TCP Data received {"connection_id":147588,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:21:48] local.INFO: Processing buffer {"connection_id":147588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:21:48] local.INFO: IMEI packet received {"connection_id":147588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":147588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:21:50] local.INFO: TCP Data received {"connection_id":147588,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:21:50] local.INFO: Processing buffer {"connection_id":147588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:21:50] local.INFO: Packet analysis {"connection_id":147588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:21:50] local.INFO: Extracted packet for processing {"connection_id":147588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:21:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117021440001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:21:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785613666000,"timestamp_ms":1785613666000,"timestamp_seconds":1785613666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbede46d0"} 
[2026-08-02 01:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117021440001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117021440001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:21:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:21:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:21:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117021440001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":147588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:21:50] local.INFO: GPS data processed {"connection_id":147588,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:21:50] local.INFO: Acknowledgment sent {"connection_id":147588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:22:22] local.INFO: TCP Data received {"connection_id":147588,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:22:22] local.INFO: Processing buffer {"connection_id":147588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:22:22] local.INFO: Packet analysis {"connection_id":147588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:22:22] local.INFO: Extracted packet for processing {"connection_id":147588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:22:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117021440001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:22:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785613666000,"timestamp_ms":1785613666000,"timestamp_seconds":1785613666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbede46d0"} 
[2026-08-02 01:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117021440001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117021440001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:22:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:22:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:22:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117021440001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":147588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:22:22] local.INFO: GPS data processed {"connection_id":147588,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:22:22] local.INFO: Acknowledgment sent {"connection_id":147588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:22:42] local.INFO: TCP Data received {"connection_id":146356,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:22:42] local.INFO: Processing buffer {"connection_id":146356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:22:42] local.INFO: IMEI packet received {"connection_id":146356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":146356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:22:48] local.INFO: TCP Data received {"connection_id":146356,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:22:48] local.INFO: Processing buffer {"connection_id":146356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:22:48] local.INFO: IMEI packet received {"connection_id":146356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":146356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:22:50] local.INFO: TCP Data received {"connection_id":146356,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:22:50] local.INFO: Processing buffer {"connection_id":146356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:22:50] local.INFO: Packet analysis {"connection_id":146356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:22:50] local.INFO: Extracted packet for processing {"connection_id":146356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:22:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117021440001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:22:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785613666000,"timestamp_ms":1785613666000,"timestamp_seconds":1785613666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbede46d0"} 
[2026-08-02 01:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117021440001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117021440001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:22:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:22:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:22:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117021440001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":146356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:22:50] local.INFO: GPS data processed {"connection_id":146356,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:22:50] local.INFO: Acknowledgment sent {"connection_id":146356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:23:22] local.INFO: TCP Data received {"connection_id":146356,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:23:22] local.INFO: Processing buffer {"connection_id":146356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbede46d0012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:23:22] local.INFO: Packet analysis {"connection_id":146356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:23:22] local.INFO: Extracted packet for processing {"connection_id":146356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbede"} 
[2026-08-02 01:23:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117021440001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:23:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785613666000,"timestamp_ms":1785613666000,"timestamp_seconds":1785613666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbede46d0"} 
[2026-08-02 01:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117021440001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117021440001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:23:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:23:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:23:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117021440001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":146356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:23:22] local.INFO: GPS data processed {"connection_id":146356,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:23:22] local.INFO: Acknowledgment sent {"connection_id":146356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:23:48] local.INFO: TCP Data received {"connection_id":146586,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:23:48] local.INFO: Processing buffer {"connection_id":146586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:23:48] local.INFO: IMEI packet received {"connection_id":146586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":146586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:23:53] local.INFO: TCP Data received {"connection_id":146586,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:23:53] local.INFO: Processing buffer {"connection_id":146586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:23:53] local.INFO: IMEI packet received {"connection_id":146586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":146586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:23:54] local.INFO: TCP Data received {"connection_id":146586,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:23:54] local.INFO: Processing buffer {"connection_id":146586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:23:54] local.INFO: Packet analysis {"connection_id":146586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:23:54] local.INFO: Extracted packet for processing {"connection_id":146586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:23:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 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-08-02 01:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117098496001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:23:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785613967000,"timestamp_ms":1785613967000,"timestamp_seconds":1785613967,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee2de98"} 
[2026-08-02 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-08-02 01:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 01:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117098496001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117098496001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:23:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:23:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:23:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117098496001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":146586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:23:54] local.INFO: GPS data processed {"connection_id":146586,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:23:54] local.INFO: Acknowledgment sent {"connection_id":146586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:24:27] local.INFO: TCP Data received {"connection_id":146586,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:24:27] local.INFO: Processing buffer {"connection_id":146586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:24:27] local.INFO: Packet analysis {"connection_id":146586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:24:27] local.INFO: Extracted packet for processing {"connection_id":146586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:24:27] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117098496001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:24:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785613967000,"timestamp_ms":1785613967000,"timestamp_seconds":1785613967,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee2de98"} 
[2026-08-02 01:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117098496001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117098496001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:24:27] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:24:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:24:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117098496001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":146586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:24:27] local.INFO: GPS data processed {"connection_id":146586,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:24:27] local.INFO: Acknowledgment sent {"connection_id":146586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:24:43] local.INFO: TCP Data received {"connection_id":147589,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:24:43] local.INFO: Processing buffer {"connection_id":147589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:24:43] local.INFO: IMEI packet received {"connection_id":147589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":147589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:24:48] local.INFO: TCP Data received {"connection_id":147589,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:24:48] local.INFO: Processing buffer {"connection_id":147589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:24:48] local.INFO: IMEI packet received {"connection_id":147589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":147589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:24:49] local.INFO: TCP Data received {"connection_id":147589,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:24:49] local.INFO: Processing buffer {"connection_id":147589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:24:49] local.INFO: Packet analysis {"connection_id":147589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:24:49] local.INFO: Extracted packet for processing {"connection_id":147589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:24:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117098496001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:24:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785613967000,"timestamp_ms":1785613967000,"timestamp_seconds":1785613967,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee2de98"} 
[2026-08-02 01:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117098496001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117098496001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:24:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:24:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:24:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117098496001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":147589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:24:49] local.INFO: GPS data processed {"connection_id":147589,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:24:49] local.INFO: Acknowledgment sent {"connection_id":147589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:25:23] local.INFO: TCP Data received {"connection_id":147589,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:25:23] local.INFO: Processing buffer {"connection_id":147589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:25:23] local.INFO: Packet analysis {"connection_id":147589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:25:23] local.INFO: Extracted packet for processing {"connection_id":147589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:25:23] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117098496001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:25:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785613967000,"timestamp_ms":1785613967000,"timestamp_seconds":1785613967,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee2de98"} 
[2026-08-02 01:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117098496001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117098496001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:25:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:25:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:25:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117098496001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":147589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:25:23] local.INFO: GPS data processed {"connection_id":147589,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:25:23] local.INFO: Acknowledgment sent {"connection_id":147589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:25:42] local.INFO: TCP Data received {"connection_id":146587,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:25:42] local.INFO: Processing buffer {"connection_id":146587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:25:42] local.INFO: IMEI packet received {"connection_id":146587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":146587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:25:48] local.INFO: TCP Data received {"connection_id":146587,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:25:48] local.INFO: Processing buffer {"connection_id":146587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:25:48] local.INFO: IMEI packet received {"connection_id":146587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":146587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:25:49] local.INFO: TCP Data received {"connection_id":146587,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:25:49] local.INFO: Processing buffer {"connection_id":146587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:25:49] local.INFO: Packet analysis {"connection_id":146587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:25:49] local.INFO: Extracted packet for processing {"connection_id":146587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:25:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117098496001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:25:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785613967000,"timestamp_ms":1785613967000,"timestamp_seconds":1785613967,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee2de98"} 
[2026-08-02 01:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117098496001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117098496001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:25:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:25:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:25:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117098496001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":146587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:25:49] local.INFO: GPS data processed {"connection_id":146587,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:25:49] local.INFO: Acknowledgment sent {"connection_id":146587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:26:22] local.INFO: TCP Data received {"connection_id":146587,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:26:22] local.INFO: Processing buffer {"connection_id":146587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:26:22] local.INFO: Packet analysis {"connection_id":146587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:26:22] local.INFO: Extracted packet for processing {"connection_id":146587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:26:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117098496001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:26:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785613967000,"timestamp_ms":1785613967000,"timestamp_seconds":1785613967,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee2de98"} 
[2026-08-02 01:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117098496001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117098496001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:26:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:26:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:26:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117098496001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":146587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:26:22] local.INFO: GPS data processed {"connection_id":146587,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:26:22] local.INFO: Acknowledgment sent {"connection_id":146587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:26:42] local.INFO: TCP Data received {"connection_id":147590,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:26:42] local.INFO: Processing buffer {"connection_id":147590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:26:42] local.INFO: IMEI packet received {"connection_id":147590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":147590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:26:48] local.INFO: TCP Data received {"connection_id":147590,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:26:48] local.INFO: Processing buffer {"connection_id":147590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:26:48] local.INFO: IMEI packet received {"connection_id":147590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":147590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:26:49] local.INFO: TCP Data received {"connection_id":147590,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:26:49] local.INFO: Processing buffer {"connection_id":147590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:26:49] local.INFO: Packet analysis {"connection_id":147590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:26:49] local.INFO: Extracted packet for processing {"connection_id":147590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:26:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117098496001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:26:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785613967000,"timestamp_ms":1785613967000,"timestamp_seconds":1785613967,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee2de98"} 
[2026-08-02 01:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117098496001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117098496001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:26:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:26:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:26:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117098496001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":147590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:26:49] local.INFO: GPS data processed {"connection_id":147590,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:26:49] local.INFO: Acknowledgment sent {"connection_id":147590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:27:21] local.INFO: TCP Data received {"connection_id":147590,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:27:21] local.INFO: Processing buffer {"connection_id":147590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:27:21] local.INFO: Packet analysis {"connection_id":147590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:27:21] local.INFO: Extracted packet for processing {"connection_id":147590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:27:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117098496001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785613967000,"timestamp_ms":1785613967000,"timestamp_seconds":1785613967,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee2de98"} 
[2026-08-02 01:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117098496001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117098496001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:27:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:27:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117098496001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":147590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:27:21] local.INFO: GPS data processed {"connection_id":147590,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:27:21] local.INFO: Acknowledgment sent {"connection_id":147590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:27:48] local.INFO: TCP Data received {"connection_id":146357,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:27:48] local.INFO: Processing buffer {"connection_id":146357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:27:48] local.INFO: IMEI packet received {"connection_id":146357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":146357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:27:53] local.INFO: TCP Data received {"connection_id":146357,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:27:53] local.INFO: Processing buffer {"connection_id":146357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:27:53] local.INFO: IMEI packet received {"connection_id":146357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":146357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:27:54] local.INFO: TCP Data received {"connection_id":146357,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:27:54] local.INFO: Processing buffer {"connection_id":146357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:27:54] local.INFO: Packet analysis {"connection_id":146357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:27:54] local.INFO: Extracted packet for processing {"connection_id":146357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:27:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117098496001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:27:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785613967000,"timestamp_ms":1785613967000,"timestamp_seconds":1785613967,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee2de98"} 
[2026-08-02 01:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117098496001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117098496001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:27:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:27:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:27:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117098496001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":146357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:27:54] local.INFO: GPS data processed {"connection_id":146357,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:27:54] local.INFO: Acknowledgment sent {"connection_id":146357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:27:58] local.INFO: TCP Data received {"connection_id":146357,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:27:58] local.INFO: Processing buffer {"connection_id":146357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee2de98012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:27:58] local.INFO: Packet analysis {"connection_id":146357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:27:58] local.INFO: Extracted packet for processing {"connection_id":146357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee2"} 
[2026-08-02 01:27:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117098496001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:27:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785613967000,"timestamp_ms":1785613967000,"timestamp_seconds":1785613967,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee2de98"} 
[2026-08-02 01:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117098496001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117098496001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:27:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:27:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:27:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117098496001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":146357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:27:58] local.INFO: GPS data processed {"connection_id":146357,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:27:58] local.INFO: Acknowledgment sent {"connection_id":146357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:28:43] local.INFO: TCP Data received {"connection_id":147591,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:28:43] local.INFO: Processing buffer {"connection_id":147591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:28:43] local.INFO: IMEI packet received {"connection_id":147591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":147591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:28:48] local.INFO: TCP Data received {"connection_id":147591,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:28:48] local.INFO: Processing buffer {"connection_id":147591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:28:48] local.INFO: IMEI packet received {"connection_id":147591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":147591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:28:49] local.INFO: TCP Data received {"connection_id":147591,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:28:49] local.INFO: Processing buffer {"connection_id":147591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:28:49] local.INFO: Packet analysis {"connection_id":147591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:28:49] local.INFO: Extracted packet for processing {"connection_id":147591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:28:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117175552001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:28:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785614268000,"timestamp_ms":1785614268000,"timestamp_seconds":1785614268,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee77660"} 
[2026-08-02 01:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117175552001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117175552001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:28:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:28:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:28:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117175552001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":147591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:28:49] local.INFO: GPS data processed {"connection_id":147591,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:28:49] local.INFO: Acknowledgment sent {"connection_id":147591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:29:21] local.INFO: TCP Data received {"connection_id":147591,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:29:21] local.INFO: Processing buffer {"connection_id":147591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:29:21] local.INFO: Packet analysis {"connection_id":147591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:29:21] local.INFO: Extracted packet for processing {"connection_id":147591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:29:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117175552001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785614268000,"timestamp_ms":1785614268000,"timestamp_seconds":1785614268,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee77660"} 
[2026-08-02 01:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117175552001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117175552001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:29:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:29:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117175552001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":147591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:29:21] local.INFO: GPS data processed {"connection_id":147591,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:29:21] local.INFO: Acknowledgment sent {"connection_id":147591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:29:42] local.INFO: TCP Data received {"connection_id":146588,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:29:42] local.INFO: Processing buffer {"connection_id":146588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:29:42] local.INFO: IMEI packet received {"connection_id":146588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":146588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:29:48] local.INFO: TCP Data received {"connection_id":146588,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:29:48] local.INFO: Processing buffer {"connection_id":146588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:29:48] local.INFO: IMEI packet received {"connection_id":146588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":146588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:29:49] local.INFO: TCP Data received {"connection_id":146588,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:29:49] local.INFO: Processing buffer {"connection_id":146588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:29:49] local.INFO: Packet analysis {"connection_id":146588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:29:49] local.INFO: Extracted packet for processing {"connection_id":146588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:29:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117175552001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:29:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785614268000,"timestamp_ms":1785614268000,"timestamp_seconds":1785614268,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee77660"} 
[2026-08-02 01:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117175552001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117175552001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:29:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:29:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:29:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117175552001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":146588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:29:49] local.INFO: GPS data processed {"connection_id":146588,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:29:49] local.INFO: Acknowledgment sent {"connection_id":146588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:30:22] local.INFO: TCP Data received {"connection_id":146588,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:30:22] local.INFO: Processing buffer {"connection_id":146588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:30:22] local.INFO: Packet analysis {"connection_id":146588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:30:22] local.INFO: Extracted packet for processing {"connection_id":146588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:30:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117175552001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:30:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785614268000,"timestamp_ms":1785614268000,"timestamp_seconds":1785614268,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee77660"} 
[2026-08-02 01:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117175552001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117175552001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:30:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:30:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:30:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117175552001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":146588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:30:22] local.INFO: GPS data processed {"connection_id":146588,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:30:22] local.INFO: Acknowledgment sent {"connection_id":146588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:30:42] local.INFO: TCP Data received {"connection_id":148906,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:30:42] local.INFO: Processing buffer {"connection_id":148906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:30:42] local.INFO: IMEI packet received {"connection_id":148906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":148906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:30:48] local.INFO: TCP Data received {"connection_id":148906,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:30:48] local.INFO: Processing buffer {"connection_id":148906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:30:48] local.INFO: IMEI packet received {"connection_id":148906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":148906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:30:49] local.INFO: TCP Data received {"connection_id":148906,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:30:49] local.INFO: Processing buffer {"connection_id":148906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:30:49] local.INFO: Packet analysis {"connection_id":148906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:30:49] local.INFO: Extracted packet for processing {"connection_id":148906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:30:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117175552001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:30:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785614268000,"timestamp_ms":1785614268000,"timestamp_seconds":1785614268,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee77660"} 
[2026-08-02 01:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117175552001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117175552001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:30:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:30:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:30:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117175552001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":148906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:30:49] local.INFO: GPS data processed {"connection_id":148906,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:30:49] local.INFO: Acknowledgment sent {"connection_id":148906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:31:21] local.INFO: TCP Data received {"connection_id":148906,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:31:21] local.INFO: Processing buffer {"connection_id":148906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:31:21] local.INFO: Packet analysis {"connection_id":148906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:31:21] local.INFO: Extracted packet for processing {"connection_id":148906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:31:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117175552001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785614268000,"timestamp_ms":1785614268000,"timestamp_seconds":1785614268,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee77660"} 
[2026-08-02 01:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117175552001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117175552001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:31:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:31:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117175552001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":148906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:31:21] local.INFO: GPS data processed {"connection_id":148906,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:31:21] local.INFO: Acknowledgment sent {"connection_id":148906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:31:48] local.INFO: TCP Data received {"connection_id":146589,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:31:48] local.INFO: Processing buffer {"connection_id":146589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:31:48] local.INFO: IMEI packet received {"connection_id":146589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":146589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:31:53] local.INFO: TCP Data received {"connection_id":146589,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:31:53] local.INFO: Processing buffer {"connection_id":146589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:31:53] local.INFO: IMEI packet received {"connection_id":146589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":146589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:31:54] local.INFO: TCP Data received {"connection_id":146589,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:31:54] local.INFO: Processing buffer {"connection_id":146589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:31:54] local.INFO: Packet analysis {"connection_id":146589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:31:54] local.INFO: Extracted packet for processing {"connection_id":146589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:31:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117175552001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:31:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785614268000,"timestamp_ms":1785614268000,"timestamp_seconds":1785614268,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee77660"} 
[2026-08-02 01:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117175552001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117175552001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:31:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:31:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:31:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117175552001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":146589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:31:54] local.INFO: GPS data processed {"connection_id":146589,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:31:54] local.INFO: Acknowledgment sent {"connection_id":146589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:31:59] local.INFO: TCP Data received {"connection_id":146589,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:31:59] local.INFO: Processing buffer {"connection_id":146589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:31:59] local.INFO: Packet analysis {"connection_id":146589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:31:59] local.INFO: Extracted packet for processing {"connection_id":146589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:31:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117175552001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:31:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785614268000,"timestamp_ms":1785614268000,"timestamp_seconds":1785614268,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee77660"} 
[2026-08-02 01:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117175552001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117175552001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:31:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:31:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:31:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117175552001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":146589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:31:59] local.INFO: GPS data processed {"connection_id":146589,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:31:59] local.INFO: Acknowledgment sent {"connection_id":146589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:32:43] local.INFO: TCP Data received {"connection_id":146358,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:32:43] local.INFO: Processing buffer {"connection_id":146358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:32:43] local.INFO: IMEI packet received {"connection_id":146358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":146358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:32:48] local.INFO: TCP Data received {"connection_id":146358,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:32:48] local.INFO: Processing buffer {"connection_id":146358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:32:48] local.INFO: IMEI packet received {"connection_id":146358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":146358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:32:49] local.INFO: TCP Data received {"connection_id":146358,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:32:49] local.INFO: Processing buffer {"connection_id":146358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:32:49] local.INFO: Packet analysis {"connection_id":146358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:32:49] local.INFO: Extracted packet for processing {"connection_id":146358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:32:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01: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-08-02 01:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117175552001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:32:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785614268000,"timestamp_ms":1785614268000,"timestamp_seconds":1785614268,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee77660"} 
[2026-08-02 01:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01: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-08-02 01:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117175552001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117175552001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:32:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:32:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:32:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117175552001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":146358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:32:49] local.INFO: GPS data processed {"connection_id":146358,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:32:49] local.INFO: Acknowledgment sent {"connection_id":146358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:33:20] local.INFO: TCP Data received {"connection_id":146358,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:33:20] local.INFO: Processing buffer {"connection_id":146358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbee77660012cc330c007685b20005a00cd28..."} 
[2026-08-02 01:33:20] local.INFO: Packet analysis {"connection_id":146358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:33:20] local.INFO: Extracted packet for processing {"connection_id":146358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbee7"} 
[2026-08-02 01:33:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117175552001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785614268000,"timestamp_ms":1785614268000,"timestamp_seconds":1785614268,"priority":1,"record_length":96,"hex_timestamp":"0000019fbee77660"} 
[2026-08-02 01:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117175552001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117175552001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:33:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:33:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117175552001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":146358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:33:20] local.INFO: GPS data processed {"connection_id":146358,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:33:20] local.INFO: Acknowledgment sent {"connection_id":146358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:33:42] local.INFO: TCP Data received {"connection_id":147592,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:33:42] local.INFO: Processing buffer {"connection_id":147592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:33:42] local.INFO: IMEI packet received {"connection_id":147592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":147592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:33:47] local.INFO: TCP Data received {"connection_id":147592,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:33:47] local.INFO: Processing buffer {"connection_id":147592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:33:47] local.INFO: IMEI packet received {"connection_id":147592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":147592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:33:48] local.INFO: TCP Data received {"connection_id":147592,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:33:48] local.INFO: Processing buffer {"connection_id":147592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:33:48] local.INFO: Packet analysis {"connection_id":147592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:33:48] local.INFO: Extracted packet for processing {"connection_id":147592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:33:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117252608001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:33:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785614569000,"timestamp_ms":1785614569000,"timestamp_seconds":1785614569,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeec0e28"} 
[2026-08-02 01:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117252608001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117252608001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:33:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:33:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:33:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117252608001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":147592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:33:48] local.INFO: GPS data processed {"connection_id":147592,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:33:48] local.INFO: Acknowledgment sent {"connection_id":147592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:34:21] local.INFO: TCP Data received {"connection_id":147592,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:34:21] local.INFO: Processing buffer {"connection_id":147592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:34:21] local.INFO: Packet analysis {"connection_id":147592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:34:21] local.INFO: Extracted packet for processing {"connection_id":147592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:34:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117252608001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785614569000,"timestamp_ms":1785614569000,"timestamp_seconds":1785614569,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeec0e28"} 
[2026-08-02 01:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117252608001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117252608001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:34:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:34:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117252608001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":147592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:34:21] local.INFO: GPS data processed {"connection_id":147592,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:34:21] local.INFO: Acknowledgment sent {"connection_id":147592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:34:48] local.INFO: TCP Data received {"connection_id":146590,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:34:48] local.INFO: Processing buffer {"connection_id":146590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:34:48] local.INFO: IMEI packet received {"connection_id":146590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":146590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:34:53] local.INFO: TCP Data received {"connection_id":146590,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:34:53] local.INFO: Processing buffer {"connection_id":146590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:34:53] local.INFO: IMEI packet received {"connection_id":146590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":146590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:34:54] local.INFO: TCP Data received {"connection_id":146590,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:34:54] local.INFO: Processing buffer {"connection_id":146590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:34:54] local.INFO: Packet analysis {"connection_id":146590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:34:54] local.INFO: Extracted packet for processing {"connection_id":146590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:34:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117252608001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:34:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785614569000,"timestamp_ms":1785614569000,"timestamp_seconds":1785614569,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeec0e28"} 
[2026-08-02 01:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117252608001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117252608001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:34:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:34:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:34:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117252608001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":146590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:34:54] local.INFO: GPS data processed {"connection_id":146590,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:34:54] local.INFO: Acknowledgment sent {"connection_id":146590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:34:58] local.INFO: TCP Data received {"connection_id":146590,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:34:58] local.INFO: Processing buffer {"connection_id":146590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:34:58] local.INFO: Packet analysis {"connection_id":146590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:34:58] local.INFO: Extracted packet for processing {"connection_id":146590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:34:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117252608001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:34:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785614569000,"timestamp_ms":1785614569000,"timestamp_seconds":1785614569,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeec0e28"} 
[2026-08-02 01:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117252608001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117252608001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:34:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:34:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:34:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117252608001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":146590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:34:58] local.INFO: GPS data processed {"connection_id":146590,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:34:58] local.INFO: Acknowledgment sent {"connection_id":146590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:35:43] local.INFO: TCP Data received {"connection_id":146359,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:35:43] local.INFO: Processing buffer {"connection_id":146359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:35:43] local.INFO: IMEI packet received {"connection_id":146359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":146359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:35:48] local.INFO: TCP Data received {"connection_id":146359,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:35:48] local.INFO: Processing buffer {"connection_id":146359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:35:48] local.INFO: IMEI packet received {"connection_id":146359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":146359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:35:49] local.INFO: TCP Data received {"connection_id":146359,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:35:49] local.INFO: Processing buffer {"connection_id":146359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:35:49] local.INFO: Packet analysis {"connection_id":146359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:35:49] local.INFO: Extracted packet for processing {"connection_id":146359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:35:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117252608001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785614569000,"timestamp_ms":1785614569000,"timestamp_seconds":1785614569,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeec0e28"} 
[2026-08-02 01:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117252608001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117252608001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:35:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:35:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117252608001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":146359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:35:49] local.INFO: GPS data processed {"connection_id":146359,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:35:49] local.INFO: Acknowledgment sent {"connection_id":146359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:36:20] local.INFO: TCP Data received {"connection_id":146359,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:36:20] local.INFO: Processing buffer {"connection_id":146359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:36:20] local.INFO: Packet analysis {"connection_id":146359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:36:20] local.INFO: Extracted packet for processing {"connection_id":146359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:36:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117252608001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785614569000,"timestamp_ms":1785614569000,"timestamp_seconds":1785614569,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeec0e28"} 
[2026-08-02 01:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117252608001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117252608001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:36:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:36:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117252608001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":146359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:36:20] local.INFO: GPS data processed {"connection_id":146359,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:36:20] local.INFO: Acknowledgment sent {"connection_id":146359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:36:43] local.INFO: TCP Data received {"connection_id":148907,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:36:43] local.INFO: Processing buffer {"connection_id":148907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:36:43] local.INFO: IMEI packet received {"connection_id":148907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":148907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:36:48] local.INFO: TCP Data received {"connection_id":148907,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:36:48] local.INFO: Processing buffer {"connection_id":148907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:36:48] local.INFO: IMEI packet received {"connection_id":148907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":148907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:36:49] local.INFO: TCP Data received {"connection_id":148907,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:36:49] local.INFO: Processing buffer {"connection_id":148907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:36:49] local.INFO: Packet analysis {"connection_id":148907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:36:49] local.INFO: Extracted packet for processing {"connection_id":148907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:36:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117252608001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:36:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785614569000,"timestamp_ms":1785614569000,"timestamp_seconds":1785614569,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeec0e28"} 
[2026-08-02 01:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117252608001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117252608001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:36:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:36:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:36:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117252608001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":148907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:36:49] local.INFO: GPS data processed {"connection_id":148907,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:36:49] local.INFO: Acknowledgment sent {"connection_id":148907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:37:21] local.INFO: TCP Data received {"connection_id":148907,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:37:21] local.INFO: Processing buffer {"connection_id":148907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:37:21] local.INFO: Packet analysis {"connection_id":148907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:37:21] local.INFO: Extracted packet for processing {"connection_id":148907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:37:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117252608001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785614569000,"timestamp_ms":1785614569000,"timestamp_seconds":1785614569,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeec0e28"} 
[2026-08-02 01:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117252608001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117252608001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:37:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:37:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117252608001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":148907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:37:21] local.INFO: GPS data processed {"connection_id":148907,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:37:21] local.INFO: Acknowledgment sent {"connection_id":148907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:37:47] local.INFO: TCP Data received {"connection_id":146360,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:37:47] local.INFO: Processing buffer {"connection_id":146360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:37:47] local.INFO: IMEI packet received {"connection_id":146360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":146360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:37:53] local.INFO: TCP Data received {"connection_id":146360,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:37:53] local.INFO: Processing buffer {"connection_id":146360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:37:53] local.INFO: IMEI packet received {"connection_id":146360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":146360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:37:54] local.INFO: TCP Data received {"connection_id":146360,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:37:54] local.INFO: Processing buffer {"connection_id":146360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:37:54] local.INFO: Packet analysis {"connection_id":146360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:37:54] local.INFO: Extracted packet for processing {"connection_id":146360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:37:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117252608001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:37:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785614569000,"timestamp_ms":1785614569000,"timestamp_seconds":1785614569,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeec0e28"} 
[2026-08-02 01:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117252608001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117252608001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:37:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:37:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:37:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117252608001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":146360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:37:54] local.INFO: GPS data processed {"connection_id":146360,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:37:54] local.INFO: Acknowledgment sent {"connection_id":146360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:38:25] local.INFO: TCP Data received {"connection_id":146360,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:38:25] local.INFO: Processing buffer {"connection_id":146360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbeec0e28012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:38:25] local.INFO: Packet analysis {"connection_id":146360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:38:25] local.INFO: Extracted packet for processing {"connection_id":146360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbeec"} 
[2026-08-02 01:38:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117252608001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:38:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785614569000,"timestamp_ms":1785614569000,"timestamp_seconds":1785614569,"priority":1,"record_length":96,"hex_timestamp":"0000019fbeec0e28"} 
[2026-08-02 01:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117252608001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117252608001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:38:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:38:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:38:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117252608001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":146360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:38:25] local.INFO: GPS data processed {"connection_id":146360,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:38:25] local.INFO: Acknowledgment sent {"connection_id":146360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:38:42] local.INFO: TCP Data received {"connection_id":146361,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:38:42] local.INFO: Processing buffer {"connection_id":146361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:38:42] local.INFO: IMEI packet received {"connection_id":146361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":146361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:38:47] local.INFO: TCP Data received {"connection_id":146361,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:38:47] local.INFO: Processing buffer {"connection_id":146361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:38:47] local.INFO: IMEI packet received {"connection_id":146361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":146361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:38:48] local.INFO: TCP Data received {"connection_id":146361,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:38:48] local.INFO: Processing buffer {"connection_id":146361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:38:48] local.INFO: Packet analysis {"connection_id":146361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:38:48] local.INFO: Extracted packet for processing {"connection_id":146361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:38:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117329664001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:38:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785614870000,"timestamp_ms":1785614870000,"timestamp_seconds":1785614870,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef0a5f0"} 
[2026-08-02 01:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117329664001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117329664001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:38:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:38:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:38:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117329664001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":146361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:38:48] local.INFO: GPS data processed {"connection_id":146361,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:38:48] local.INFO: Acknowledgment sent {"connection_id":146361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:39:21] local.INFO: TCP Data received {"connection_id":146361,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:39:21] local.INFO: Processing buffer {"connection_id":146361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:39:21] local.INFO: Packet analysis {"connection_id":146361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:39:21] local.INFO: Extracted packet for processing {"connection_id":146361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:39:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117329664001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785614870000,"timestamp_ms":1785614870000,"timestamp_seconds":1785614870,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef0a5f0"} 
[2026-08-02 01:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117329664001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117329664001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:39:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:39:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117329664001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":146361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:39:21] local.INFO: GPS data processed {"connection_id":146361,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:39:21] local.INFO: Acknowledgment sent {"connection_id":146361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:39:43] local.INFO: TCP Data received {"connection_id":147593,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:39:43] local.INFO: Processing buffer {"connection_id":147593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:39:43] local.INFO: IMEI packet received {"connection_id":147593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":147593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:39:48] local.INFO: TCP Data received {"connection_id":147593,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:39:48] local.INFO: Processing buffer {"connection_id":147593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:39:48] local.INFO: IMEI packet received {"connection_id":147593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":147593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:39:49] local.INFO: TCP Data received {"connection_id":147593,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:39:49] local.INFO: Processing buffer {"connection_id":147593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:39:49] local.INFO: Packet analysis {"connection_id":147593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:39:49] local.INFO: Extracted packet for processing {"connection_id":147593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:39:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117329664001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:39:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785614870000,"timestamp_ms":1785614870000,"timestamp_seconds":1785614870,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef0a5f0"} 
[2026-08-02 01:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117329664001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117329664001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:39:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:39:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:39:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117329664001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":147593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:39:49] local.INFO: GPS data processed {"connection_id":147593,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:39:49] local.INFO: Acknowledgment sent {"connection_id":147593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:40:26] local.INFO: TCP Data received {"connection_id":147593,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:40:26] local.INFO: Processing buffer {"connection_id":147593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:40:26] local.INFO: Packet analysis {"connection_id":147593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:40:26] local.INFO: Extracted packet for processing {"connection_id":147593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:40:26] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117329664001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:40:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785614870000,"timestamp_ms":1785614870000,"timestamp_seconds":1785614870,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef0a5f0"} 
[2026-08-02 01:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117329664001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117329664001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:40:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:40:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:40:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117329664001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":147593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:40:26] local.INFO: GPS data processed {"connection_id":147593,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:40:26] local.INFO: Acknowledgment sent {"connection_id":147593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:40:43] local.INFO: TCP Data received {"connection_id":148908,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:40:43] local.INFO: Processing buffer {"connection_id":148908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:40:43] local.INFO: IMEI packet received {"connection_id":148908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":148908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:40:48] local.INFO: TCP Data received {"connection_id":148908,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:40:48] local.INFO: Processing buffer {"connection_id":148908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:40:48] local.INFO: IMEI packet received {"connection_id":148908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":148908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:40:49] local.INFO: TCP Data received {"connection_id":148908,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:40:49] local.INFO: Processing buffer {"connection_id":148908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:40:49] local.INFO: Packet analysis {"connection_id":148908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:40:49] local.INFO: Extracted packet for processing {"connection_id":148908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:40:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117329664001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:40:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785614870000,"timestamp_ms":1785614870000,"timestamp_seconds":1785614870,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef0a5f0"} 
[2026-08-02 01:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117329664001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117329664001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:40:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:40:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:40:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117329664001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":148908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:40:49] local.INFO: GPS data processed {"connection_id":148908,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:40:49] local.INFO: Acknowledgment sent {"connection_id":148908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:41:21] local.INFO: TCP Data received {"connection_id":148908,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:41:21] local.INFO: Processing buffer {"connection_id":148908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:41:21] local.INFO: Packet analysis {"connection_id":148908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:41:21] local.INFO: Extracted packet for processing {"connection_id":148908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:41:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117329664001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785614870000,"timestamp_ms":1785614870000,"timestamp_seconds":1785614870,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef0a5f0"} 
[2026-08-02 01:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117329664001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117329664001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:41:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:41:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117329664001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":148908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:41:21] local.INFO: GPS data processed {"connection_id":148908,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:41:21] local.INFO: Acknowledgment sent {"connection_id":148908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:41:42] local.INFO: TCP Data received {"connection_id":146591,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:41:42] local.INFO: Processing buffer {"connection_id":146591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:41:42] local.INFO: IMEI packet received {"connection_id":146591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":146591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:41:48] local.INFO: TCP Data received {"connection_id":146591,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:41:48] local.INFO: Processing buffer {"connection_id":146591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:41:48] local.INFO: IMEI packet received {"connection_id":146591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":146591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:41:49] local.INFO: TCP Data received {"connection_id":146591,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:41:49] local.INFO: Processing buffer {"connection_id":146591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:41:49] local.INFO: Packet analysis {"connection_id":146591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:41:49] local.INFO: Extracted packet for processing {"connection_id":146591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:41:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117329664001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:41:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785614870000,"timestamp_ms":1785614870000,"timestamp_seconds":1785614870,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef0a5f0"} 
[2026-08-02 01:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117329664001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117329664001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:41:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:41:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:41:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117329664001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":146591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:41:49] local.INFO: GPS data processed {"connection_id":146591,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:41:49] local.INFO: Acknowledgment sent {"connection_id":146591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:42:22] local.INFO: TCP Data received {"connection_id":146591,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:42:22] local.INFO: Processing buffer {"connection_id":146591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:42:22] local.INFO: Packet analysis {"connection_id":146591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:42:22] local.INFO: Extracted packet for processing {"connection_id":146591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:42:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117329664001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:42:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785614870000,"timestamp_ms":1785614870000,"timestamp_seconds":1785614870,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef0a5f0"} 
[2026-08-02 01:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117329664001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117329664001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:42:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:42:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:42:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117329664001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":146591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:42:22] local.INFO: GPS data processed {"connection_id":146591,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:42:22] local.INFO: Acknowledgment sent {"connection_id":146591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:42:44] local.INFO: TCP Data received {"connection_id":146362,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:42:44] local.INFO: Processing buffer {"connection_id":146362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:42:44] local.INFO: IMEI packet received {"connection_id":146362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":146362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:42:48] local.INFO: TCP Data received {"connection_id":146362,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:42:48] local.INFO: Processing buffer {"connection_id":146362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:42:48] local.INFO: IMEI packet received {"connection_id":146362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":146362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:42:49] local.INFO: TCP Data received {"connection_id":146362,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:42:49] local.INFO: Processing buffer {"connection_id":146362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:42:49] local.INFO: Packet analysis {"connection_id":146362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:42:49] local.INFO: Extracted packet for processing {"connection_id":146362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:42:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117329664001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:42:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785614870000,"timestamp_ms":1785614870000,"timestamp_seconds":1785614870,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef0a5f0"} 
[2026-08-02 01:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117329664001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117329664001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:42:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:42:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:42:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117329664001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":146362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:42:49] local.INFO: GPS data processed {"connection_id":146362,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:42:49] local.INFO: Acknowledgment sent {"connection_id":146362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:43:20] local.INFO: TCP Data received {"connection_id":146362,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:43:20] local.INFO: Processing buffer {"connection_id":146362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef0a5f0012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:43:20] local.INFO: Packet analysis {"connection_id":146362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:43:20] local.INFO: Extracted packet for processing {"connection_id":146362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef0"} 
[2026-08-02 01:43:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117329664001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785614870000,"timestamp_ms":1785614870000,"timestamp_seconds":1785614870,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef0a5f0"} 
[2026-08-02 01:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 01:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117329664001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117329664001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:43:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:43:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117329664001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":146362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:43:20] local.INFO: GPS data processed {"connection_id":146362,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:43:20] local.INFO: Acknowledgment sent {"connection_id":146362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:43:48] local.INFO: TCP Data received {"connection_id":148909,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:43:48] local.INFO: Processing buffer {"connection_id":148909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:43:48] local.INFO: IMEI packet received {"connection_id":148909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":148909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:43:53] local.INFO: TCP Data received {"connection_id":148909,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:43:53] local.INFO: Processing buffer {"connection_id":148909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:43:53] local.INFO: IMEI packet received {"connection_id":148909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":148909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:43:54] local.INFO: TCP Data received {"connection_id":148909,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:43:54] local.INFO: Processing buffer {"connection_id":148909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:43:54] local.INFO: Packet analysis {"connection_id":148909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:43:54] local.INFO: Extracted packet for processing {"connection_id":148909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:43:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117406720001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:43:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785615171000,"timestamp_ms":1785615171000,"timestamp_seconds":1785615171,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef53db8"} 
[2026-08-02 01:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117406720001,"66":25180,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117406720001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:43:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:43:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:43:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117406720001,"power":25180,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":148909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:43:54] local.INFO: GPS data processed {"connection_id":148909,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:43:54] local.INFO: Acknowledgment sent {"connection_id":148909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:43:58] local.INFO: TCP Data received {"connection_id":148909,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:43:58] local.INFO: Processing buffer {"connection_id":148909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:43:58] local.INFO: Packet analysis {"connection_id":148909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:43:58] local.INFO: Extracted packet for processing {"connection_id":148909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:43:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117406720001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:43:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785615171000,"timestamp_ms":1785615171000,"timestamp_seconds":1785615171,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef53db8"} 
[2026-08-02 01:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117406720001,"66":25180,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117406720001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:43:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:43:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:43:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117406720001,"power":25180,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":148909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:43:58] local.INFO: GPS data processed {"connection_id":148909,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:43:58] local.INFO: Acknowledgment sent {"connection_id":148909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:44:42] local.INFO: TCP Data received {"connection_id":146363,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:44:42] local.INFO: Processing buffer {"connection_id":146363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:44:42] local.INFO: IMEI packet received {"connection_id":146363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":146363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:44:48] local.INFO: TCP Data received {"connection_id":146363,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:44:48] local.INFO: Processing buffer {"connection_id":146363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:44:48] local.INFO: IMEI packet received {"connection_id":146363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":146363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:44:49] local.INFO: TCP Data received {"connection_id":146363,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:44:49] local.INFO: Processing buffer {"connection_id":146363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:44:49] local.INFO: Packet analysis {"connection_id":146363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:44:49] local.INFO: Extracted packet for processing {"connection_id":146363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:44:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117406720001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:44:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785615171000,"timestamp_ms":1785615171000,"timestamp_seconds":1785615171,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef53db8"} 
[2026-08-02 01:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117406720001,"66":25180,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117406720001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:44:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:44:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:44:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117406720001,"power":25180,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":146363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:44:49] local.INFO: GPS data processed {"connection_id":146363,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:44:49] local.INFO: Acknowledgment sent {"connection_id":146363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:45:20] local.INFO: TCP Data received {"connection_id":146363,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:45:20] local.INFO: Processing buffer {"connection_id":146363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:45:20] local.INFO: Packet analysis {"connection_id":146363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:45:20] local.INFO: Extracted packet for processing {"connection_id":146363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:45:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117406720001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785615171000,"timestamp_ms":1785615171000,"timestamp_seconds":1785615171,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef53db8"} 
[2026-08-02 01:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117406720001,"66":25180,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117406720001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:45:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:45:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117406720001,"power":25180,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":146363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:45:20] local.INFO: GPS data processed {"connection_id":146363,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:45:20] local.INFO: Acknowledgment sent {"connection_id":146363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:45:42] local.INFO: TCP Data received {"connection_id":148910,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:45:42] local.INFO: Processing buffer {"connection_id":148910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:45:42] local.INFO: IMEI packet received {"connection_id":148910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":148910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:45:48] local.INFO: TCP Data received {"connection_id":148910,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:45:48] local.INFO: Processing buffer {"connection_id":148910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:45:48] local.INFO: IMEI packet received {"connection_id":148910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":148910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:45:49] local.INFO: TCP Data received {"connection_id":148910,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:45:49] local.INFO: Processing buffer {"connection_id":148910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:45:49] local.INFO: Packet analysis {"connection_id":148910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:45:49] local.INFO: Extracted packet for processing {"connection_id":148910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:45:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117406720001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:45:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785615171000,"timestamp_ms":1785615171000,"timestamp_seconds":1785615171,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef53db8"} 
[2026-08-02 01:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117406720001,"66":25180,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117406720001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:45:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:45:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:45:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117406720001,"power":25180,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":148910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:45:49] local.INFO: GPS data processed {"connection_id":148910,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:45:49] local.INFO: Acknowledgment sent {"connection_id":148910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:46:21] local.INFO: TCP Data received {"connection_id":148910,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:46:21] local.INFO: Processing buffer {"connection_id":148910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:46:21] local.INFO: Packet analysis {"connection_id":148910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:46:21] local.INFO: Extracted packet for processing {"connection_id":148910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:46:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117406720001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785615171000,"timestamp_ms":1785615171000,"timestamp_seconds":1785615171,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef53db8"} 
[2026-08-02 01:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117406720001,"66":25180,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117406720001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:46:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:46:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117406720001,"power":25180,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":148910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:46:21] local.INFO: GPS data processed {"connection_id":148910,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:46:21] local.INFO: Acknowledgment sent {"connection_id":148910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:46:42] local.INFO: TCP Data received {"connection_id":146364,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:46:42] local.INFO: Processing buffer {"connection_id":146364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:46:42] local.INFO: IMEI packet received {"connection_id":146364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":146364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:46:48] local.INFO: TCP Data received {"connection_id":146364,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:46:48] local.INFO: Processing buffer {"connection_id":146364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:46:48] local.INFO: IMEI packet received {"connection_id":146364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":146364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:46:49] local.INFO: TCP Data received {"connection_id":146364,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:46:49] local.INFO: Processing buffer {"connection_id":146364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:46:49] local.INFO: Packet analysis {"connection_id":146364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:46:49] local.INFO: Extracted packet for processing {"connection_id":146364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:46:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117406720001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:46:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785615171000,"timestamp_ms":1785615171000,"timestamp_seconds":1785615171,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef53db8"} 
[2026-08-02 01:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117406720001,"66":25180,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117406720001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:46:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:46:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:46:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117406720001,"power":25180,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":146364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:46:49] local.INFO: GPS data processed {"connection_id":146364,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:46:49] local.INFO: Acknowledgment sent {"connection_id":146364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:47:21] local.INFO: TCP Data received {"connection_id":146364,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:47:21] local.INFO: Processing buffer {"connection_id":146364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:47:21] local.INFO: Packet analysis {"connection_id":146364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:47:21] local.INFO: Extracted packet for processing {"connection_id":146364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:47:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117406720001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785615171000,"timestamp_ms":1785615171000,"timestamp_seconds":1785615171,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef53db8"} 
[2026-08-02 01:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117406720001,"66":25180,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117406720001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:47:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:47:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117406720001,"power":25180,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":146364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:47:21] local.INFO: GPS data processed {"connection_id":146364,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:47:21] local.INFO: Acknowledgment sent {"connection_id":146364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:47:48] local.INFO: TCP Data received {"connection_id":147594,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:47:48] local.INFO: Processing buffer {"connection_id":147594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:47:48] local.INFO: IMEI packet received {"connection_id":147594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":147594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:47:53] local.INFO: TCP Data received {"connection_id":147594,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:47:53] local.INFO: Processing buffer {"connection_id":147594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:47:53] local.INFO: IMEI packet received {"connection_id":147594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":147594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:47:54] local.INFO: TCP Data received {"connection_id":147594,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:47:54] local.INFO: Processing buffer {"connection_id":147594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:47:54] local.INFO: Packet analysis {"connection_id":147594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:47:54] local.INFO: Extracted packet for processing {"connection_id":147594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:47:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117406720001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:47:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785615171000,"timestamp_ms":1785615171000,"timestamp_seconds":1785615171,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef53db8"} 
[2026-08-02 01:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117406720001,"66":25180,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117406720001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:47:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:47:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:47:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117406720001,"power":25180,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":147594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:47:54] local.INFO: GPS data processed {"connection_id":147594,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:47:54] local.INFO: Acknowledgment sent {"connection_id":147594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:47:58] local.INFO: TCP Data received {"connection_id":147594,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:47:58] local.INFO: Processing buffer {"connection_id":147594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef53db8012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:47:58] local.INFO: Packet analysis {"connection_id":147594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:47:58] local.INFO: Extracted packet for processing {"connection_id":147594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef5"} 
[2026-08-02 01:47:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117406720001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:47:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785615171000,"timestamp_ms":1785615171000,"timestamp_seconds":1785615171,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef53db8"} 
[2026-08-02 01:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117406720001,"66":25180,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117406720001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:47:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:47:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:47:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117406720001,"power":25180,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":147594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:47:58] local.INFO: GPS data processed {"connection_id":147594,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:47:58] local.INFO: Acknowledgment sent {"connection_id":147594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:48:43] local.INFO: TCP Data received {"connection_id":146592,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:48:43] local.INFO: Processing buffer {"connection_id":146592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:48:43] local.INFO: IMEI packet received {"connection_id":146592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":146592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:48:48] local.INFO: TCP Data received {"connection_id":146592,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:48:48] local.INFO: Processing buffer {"connection_id":146592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:48:48] local.INFO: IMEI packet received {"connection_id":146592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":146592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:48:49] local.INFO: TCP Data received {"connection_id":146592,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:48:49] local.INFO: Processing buffer {"connection_id":146592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:48:49] local.INFO: Packet analysis {"connection_id":146592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:48:49] local.INFO: Extracted packet for processing {"connection_id":146592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:48:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117483776001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:48:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785615472000,"timestamp_ms":1785615472000,"timestamp_seconds":1785615472,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef9d580"} 
[2026-08-02 01:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 01:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117483776001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117483776001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:48:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:48:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:48:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117483776001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":146592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:48:49] local.INFO: GPS data processed {"connection_id":146592,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:48:49] local.INFO: Acknowledgment sent {"connection_id":146592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:49:20] local.INFO: TCP Data received {"connection_id":146592,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:49:20] local.INFO: Processing buffer {"connection_id":146592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:49:20] local.INFO: Packet analysis {"connection_id":146592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:49:20] local.INFO: Extracted packet for processing {"connection_id":146592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:49:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117483776001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785615472000,"timestamp_ms":1785615472000,"timestamp_seconds":1785615472,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef9d580"} 
[2026-08-02 01:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 01:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117483776001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117483776001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:49:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:49:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117483776001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":146592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:49:20] local.INFO: GPS data processed {"connection_id":146592,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:49:20] local.INFO: Acknowledgment sent {"connection_id":146592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:49:45] local.INFO: TCP Data received {"connection_id":148911,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:49:45] local.INFO: Processing buffer {"connection_id":148911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:49:45] local.INFO: IMEI packet received {"connection_id":148911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":148911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:49:48] local.INFO: TCP Data received {"connection_id":148911,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:49:48] local.INFO: Processing buffer {"connection_id":148911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:49:48] local.INFO: IMEI packet received {"connection_id":148911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":148911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:49:51] local.INFO: TCP Data received {"connection_id":148911,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:49:51] local.INFO: Processing buffer {"connection_id":148911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:49:51] local.INFO: Packet analysis {"connection_id":148911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:49:51] local.INFO: Extracted packet for processing {"connection_id":148911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:49:51] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117483776001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:49:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785615472000,"timestamp_ms":1785615472000,"timestamp_seconds":1785615472,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef9d580"} 
[2026-08-02 01:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 01:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117483776001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117483776001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:49:51] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:49:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:49:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117483776001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":148911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:49:51] local.INFO: GPS data processed {"connection_id":148911,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:49:51] local.INFO: Acknowledgment sent {"connection_id":148911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:50:27] local.INFO: TCP Data received {"connection_id":148911,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:50:27] local.INFO: Processing buffer {"connection_id":148911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:50:27] local.INFO: Packet analysis {"connection_id":148911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:50:27] local.INFO: Extracted packet for processing {"connection_id":148911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:50:27] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117483776001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:50:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785615472000,"timestamp_ms":1785615472000,"timestamp_seconds":1785615472,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef9d580"} 
[2026-08-02 01:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 01:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117483776001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117483776001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:50:27] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:50:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:50:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117483776001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":148911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:50:27] local.INFO: GPS data processed {"connection_id":148911,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:50:27] local.INFO: Acknowledgment sent {"connection_id":148911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:50:42] local.INFO: TCP Data received {"connection_id":146593,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:50:42] local.INFO: Processing buffer {"connection_id":146593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:50:42] local.INFO: IMEI packet received {"connection_id":146593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":146593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:50:48] local.INFO: TCP Data received {"connection_id":146593,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:50:48] local.INFO: Processing buffer {"connection_id":146593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:50:48] local.INFO: IMEI packet received {"connection_id":146593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":146593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:50:49] local.INFO: TCP Data received {"connection_id":146593,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:50:49] local.INFO: Processing buffer {"connection_id":146593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:50:49] local.INFO: Packet analysis {"connection_id":146593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:50:49] local.INFO: Extracted packet for processing {"connection_id":146593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:50:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117483776001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:50:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785615472000,"timestamp_ms":1785615472000,"timestamp_seconds":1785615472,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef9d580"} 
[2026-08-02 01:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 01:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117483776001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117483776001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:50:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:50:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:50:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117483776001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":146593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:50:49] local.INFO: GPS data processed {"connection_id":146593,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:50:49] local.INFO: Acknowledgment sent {"connection_id":146593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:51:21] local.INFO: TCP Data received {"connection_id":146593,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:51:21] local.INFO: Processing buffer {"connection_id":146593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:51:21] local.INFO: Packet analysis {"connection_id":146593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:51:21] local.INFO: Extracted packet for processing {"connection_id":146593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:51:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117483776001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785615472000,"timestamp_ms":1785615472000,"timestamp_seconds":1785615472,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef9d580"} 
[2026-08-02 01:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 01:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117483776001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117483776001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:51:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:51:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117483776001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":146593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:51:21] local.INFO: GPS data processed {"connection_id":146593,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:51:21] local.INFO: Acknowledgment sent {"connection_id":146593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:51:48] local.INFO: TCP Data received {"connection_id":146365,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:51:48] local.INFO: Processing buffer {"connection_id":146365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:51:48] local.INFO: IMEI packet received {"connection_id":146365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":146365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:51:53] local.INFO: TCP Data received {"connection_id":146365,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:51:53] local.INFO: Processing buffer {"connection_id":146365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:51:53] local.INFO: IMEI packet received {"connection_id":146365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":146365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:51:55] local.INFO: TCP Data received {"connection_id":146365,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:51:55] local.INFO: Processing buffer {"connection_id":146365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:51:55] local.INFO: Packet analysis {"connection_id":146365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:51:55] local.INFO: Extracted packet for processing {"connection_id":146365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:51:55] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117483776001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:51:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785615472000,"timestamp_ms":1785615472000,"timestamp_seconds":1785615472,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef9d580"} 
[2026-08-02 01:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 01:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117483776001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117483776001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:51:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:51:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:51:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117483776001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":146365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:51:55] local.INFO: GPS data processed {"connection_id":146365,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:51:55] local.INFO: Acknowledgment sent {"connection_id":146365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:51:59] local.INFO: TCP Data received {"connection_id":146365,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:51:59] local.INFO: Processing buffer {"connection_id":146365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:51:59] local.INFO: Packet analysis {"connection_id":146365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:51:59] local.INFO: Extracted packet for processing {"connection_id":146365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:51:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117483776001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:51:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785615472000,"timestamp_ms":1785615472000,"timestamp_seconds":1785615472,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef9d580"} 
[2026-08-02 01:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 01:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01: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-08-02 01:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117483776001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117483776001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:51:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:51:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:51:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117483776001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":146365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:51:59] local.INFO: GPS data processed {"connection_id":146365,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:51:59] local.INFO: Acknowledgment sent {"connection_id":146365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:52:43] local.INFO: TCP Data received {"connection_id":146594,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:52:43] local.INFO: Processing buffer {"connection_id":146594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:52:43] local.INFO: IMEI packet received {"connection_id":146594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":146594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:52:48] local.INFO: TCP Data received {"connection_id":146594,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:52:48] local.INFO: Processing buffer {"connection_id":146594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:52:48] local.INFO: IMEI packet received {"connection_id":146594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":146594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:52:50] local.INFO: TCP Data received {"connection_id":146594,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:52:50] local.INFO: Processing buffer {"connection_id":146594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:52:50] local.INFO: Packet analysis {"connection_id":146594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:52:50] local.INFO: Extracted packet for processing {"connection_id":146594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:52:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117483776001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785615472000,"timestamp_ms":1785615472000,"timestamp_seconds":1785615472,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef9d580"} 
[2026-08-02 01:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 01:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117483776001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117483776001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:52:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:52:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117483776001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":146594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:52:50] local.INFO: GPS data processed {"connection_id":146594,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:52:50] local.INFO: Acknowledgment sent {"connection_id":146594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:53:21] local.INFO: TCP Data received {"connection_id":146594,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:53:21] local.INFO: Processing buffer {"connection_id":146594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbef9d580012cc330c007685b20005a00cd25..."} 
[2026-08-02 01:53:21] local.INFO: Packet analysis {"connection_id":146594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:53:21] local.INFO: Extracted packet for processing {"connection_id":146594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbef9"} 
[2026-08-02 01:53:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117483776001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:53:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785615472000,"timestamp_ms":1785615472000,"timestamp_seconds":1785615472,"priority":1,"record_length":96,"hex_timestamp":"0000019fbef9d580"} 
[2026-08-02 01:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 01:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117483776001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117483776001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:53:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:53:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:53:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117483776001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":146594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:53:21] local.INFO: GPS data processed {"connection_id":146594,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:53:21] local.INFO: Acknowledgment sent {"connection_id":146594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:53:43] local.INFO: TCP Data received {"connection_id":148912,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:53:43] local.INFO: Processing buffer {"connection_id":148912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:53:43] local.INFO: IMEI packet received {"connection_id":148912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":148912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:53:47] local.INFO: TCP Data received {"connection_id":148912,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:53:47] local.INFO: Processing buffer {"connection_id":148912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:53:47] local.INFO: IMEI packet received {"connection_id":148912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":148912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:53:49] local.INFO: TCP Data received {"connection_id":148912,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:53:49] local.INFO: Processing buffer {"connection_id":148912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:53:49] local.INFO: Packet analysis {"connection_id":148912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:53:49] local.INFO: Extracted packet for processing {"connection_id":148912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:53:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 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-08-02 01:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117560832001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:53:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785615773000,"timestamp_ms":1785615773000,"timestamp_seconds":1785615773,"priority":1,"record_length":96,"hex_timestamp":"0000019fbefe6d48"} 
[2026-08-02 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-08-02 01:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 01:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117560832001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117560832001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:53:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:53:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:53:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117560832001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":148912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:53:49] local.INFO: GPS data processed {"connection_id":148912,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:53:49] local.INFO: Acknowledgment sent {"connection_id":148912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:54:22] local.INFO: TCP Data received {"connection_id":148912,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:54:22] local.INFO: Processing buffer {"connection_id":148912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:54:22] local.INFO: Packet analysis {"connection_id":148912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:54:22] local.INFO: Extracted packet for processing {"connection_id":148912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:54:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117560832001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:54:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785615773000,"timestamp_ms":1785615773000,"timestamp_seconds":1785615773,"priority":1,"record_length":96,"hex_timestamp":"0000019fbefe6d48"} 
[2026-08-02 01:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117560832001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117560832001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:54:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:54:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:54:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117560832001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":148912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:54:22] local.INFO: GPS data processed {"connection_id":148912,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:54:22] local.INFO: Acknowledgment sent {"connection_id":148912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:54:48] local.INFO: TCP Data received {"connection_id":146366,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:54:48] local.INFO: Processing buffer {"connection_id":146366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:54:48] local.INFO: IMEI packet received {"connection_id":146366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":146366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:54:53] local.INFO: TCP Data received {"connection_id":146366,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:54:53] local.INFO: Processing buffer {"connection_id":146366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:54:53] local.INFO: IMEI packet received {"connection_id":146366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":146366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:54:54] local.INFO: TCP Data received {"connection_id":146366,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:54:54] local.INFO: Processing buffer {"connection_id":146366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:54:54] local.INFO: Packet analysis {"connection_id":146366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:54:54] local.INFO: Extracted packet for processing {"connection_id":146366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:54:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117560832001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:54:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785615773000,"timestamp_ms":1785615773000,"timestamp_seconds":1785615773,"priority":1,"record_length":96,"hex_timestamp":"0000019fbefe6d48"} 
[2026-08-02 01:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117560832001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117560832001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:54:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:54:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:54:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117560832001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":146366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:54:54] local.INFO: GPS data processed {"connection_id":146366,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:54:54] local.INFO: Acknowledgment sent {"connection_id":146366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:54:58] local.INFO: TCP Data received {"connection_id":146366,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:54:58] local.INFO: Processing buffer {"connection_id":146366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:54:58] local.INFO: Packet analysis {"connection_id":146366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:54:58] local.INFO: Extracted packet for processing {"connection_id":146366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:54:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117560832001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:54:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785615773000,"timestamp_ms":1785615773000,"timestamp_seconds":1785615773,"priority":1,"record_length":96,"hex_timestamp":"0000019fbefe6d48"} 
[2026-08-02 01:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117560832001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117560832001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:54:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:54:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:54:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117560832001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":146366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:54:58] local.INFO: GPS data processed {"connection_id":146366,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:54:58] local.INFO: Acknowledgment sent {"connection_id":146366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:55:43] local.INFO: TCP Data received {"connection_id":146595,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:55:43] local.INFO: Processing buffer {"connection_id":146595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:55:43] local.INFO: IMEI packet received {"connection_id":146595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":146595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:55:48] local.INFO: TCP Data received {"connection_id":146595,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:55:48] local.INFO: Processing buffer {"connection_id":146595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:55:48] local.INFO: IMEI packet received {"connection_id":146595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":146595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:55:49] local.INFO: TCP Data received {"connection_id":146595,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:55:49] local.INFO: Processing buffer {"connection_id":146595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:55:49] local.INFO: Packet analysis {"connection_id":146595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:55:49] local.INFO: Extracted packet for processing {"connection_id":146595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:55:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117560832001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:55:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785615773000,"timestamp_ms":1785615773000,"timestamp_seconds":1785615773,"priority":1,"record_length":96,"hex_timestamp":"0000019fbefe6d48"} 
[2026-08-02 01:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117560832001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117560832001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:55:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:55:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:55:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117560832001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":146595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:55:49] local.INFO: GPS data processed {"connection_id":146595,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:55:49] local.INFO: Acknowledgment sent {"connection_id":146595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:56:20] local.INFO: TCP Data received {"connection_id":146595,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:56:20] local.INFO: Processing buffer {"connection_id":146595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:56:20] local.INFO: Packet analysis {"connection_id":146595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:56:20] local.INFO: Extracted packet for processing {"connection_id":146595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:56:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117560832001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785615773000,"timestamp_ms":1785615773000,"timestamp_seconds":1785615773,"priority":1,"record_length":96,"hex_timestamp":"0000019fbefe6d48"} 
[2026-08-02 01:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117560832001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117560832001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:56:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:56:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117560832001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":146595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:56:20] local.INFO: GPS data processed {"connection_id":146595,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:56:20] local.INFO: Acknowledgment sent {"connection_id":146595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:56:43] local.INFO: TCP Data received {"connection_id":148913,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:56:43] local.INFO: Processing buffer {"connection_id":148913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:56:43] local.INFO: IMEI packet received {"connection_id":148913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":148913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:56:48] local.INFO: TCP Data received {"connection_id":148913,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:56:48] local.INFO: Processing buffer {"connection_id":148913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:56:48] local.INFO: IMEI packet received {"connection_id":148913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":148913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:56:49] local.INFO: TCP Data received {"connection_id":148913,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:56:49] local.INFO: Processing buffer {"connection_id":148913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:56:49] local.INFO: Packet analysis {"connection_id":148913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:56:49] local.INFO: Extracted packet for processing {"connection_id":148913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:56:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117560832001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:56:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785615773000,"timestamp_ms":1785615773000,"timestamp_seconds":1785615773,"priority":1,"record_length":96,"hex_timestamp":"0000019fbefe6d48"} 
[2026-08-02 01:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117560832001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117560832001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:56:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:56:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:56:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117560832001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":148913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:56:49] local.INFO: GPS data processed {"connection_id":148913,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:56:49] local.INFO: Acknowledgment sent {"connection_id":148913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:57:20] local.INFO: TCP Data received {"connection_id":148913,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:57:20] local.INFO: Processing buffer {"connection_id":148913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:57:20] local.INFO: Packet analysis {"connection_id":148913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:57:20] local.INFO: Extracted packet for processing {"connection_id":148913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:57:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117560832001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:57:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785615773000,"timestamp_ms":1785615773000,"timestamp_seconds":1785615773,"priority":1,"record_length":96,"hex_timestamp":"0000019fbefe6d48"} 
[2026-08-02 01:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117560832001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117560832001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:57:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:57:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:57:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117560832001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":148913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:57:20] local.INFO: GPS data processed {"connection_id":148913,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:57:20] local.INFO: Acknowledgment sent {"connection_id":148913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:57:42] local.INFO: TCP Data received {"connection_id":147595,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:57:42] local.INFO: Processing buffer {"connection_id":147595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:57:42] local.INFO: IMEI packet received {"connection_id":147595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":147595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:57:48] local.INFO: TCP Data received {"connection_id":147595,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:57:48] local.INFO: Processing buffer {"connection_id":147595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:57:48] local.INFO: IMEI packet received {"connection_id":147595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":147595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:57:49] local.INFO: TCP Data received {"connection_id":147595,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:57:49] local.INFO: Processing buffer {"connection_id":147595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:57:49] local.INFO: Packet analysis {"connection_id":147595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:57:49] local.INFO: Extracted packet for processing {"connection_id":147595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:57:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117560832001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785615773000,"timestamp_ms":1785615773000,"timestamp_seconds":1785615773,"priority":1,"record_length":96,"hex_timestamp":"0000019fbefe6d48"} 
[2026-08-02 01:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117560832001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117560832001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:57:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:57:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117560832001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":147595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:57:49] local.INFO: GPS data processed {"connection_id":147595,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:57:49] local.INFO: Acknowledgment sent {"connection_id":147595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:58:21] local.INFO: TCP Data received {"connection_id":147595,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:58:21] local.INFO: Processing buffer {"connection_id":147595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbefe6d48012cc330c007685b20005a00cd27..."} 
[2026-08-02 01:58:21] local.INFO: Packet analysis {"connection_id":147595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:58:21] local.INFO: Extracted packet for processing {"connection_id":147595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbefe"} 
[2026-08-02 01:58:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117560832001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785615773000,"timestamp_ms":1785615773000,"timestamp_seconds":1785615773,"priority":1,"record_length":96,"hex_timestamp":"0000019fbefe6d48"} 
[2026-08-02 01:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117560832001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117560832001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:58:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:58:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117560832001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":147595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:58:21] local.INFO: GPS data processed {"connection_id":147595,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:58:21] local.INFO: Acknowledgment sent {"connection_id":147595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:58:42] local.INFO: TCP Data received {"connection_id":148914,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:58:42] local.INFO: Processing buffer {"connection_id":148914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:58:42] local.INFO: IMEI packet received {"connection_id":148914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":148914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:58:48] local.INFO: TCP Data received {"connection_id":148914,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:58:48] local.INFO: Processing buffer {"connection_id":148914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:58:48] local.INFO: IMEI packet received {"connection_id":148914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":148914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:58:49] local.INFO: TCP Data received {"connection_id":148914,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:58:49] local.INFO: Processing buffer {"connection_id":148914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:58:49] local.INFO: Packet analysis {"connection_id":148914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 01:58:49] local.INFO: Extracted packet for processing {"connection_id":148914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 01:58:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117637888001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:58:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616074000,"timestamp_ms":1785616074000,"timestamp_seconds":1785616074,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf030510"} 
[2026-08-02 01:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117637888001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117637888001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:58:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:58:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:58:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117637888001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":148914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:58:49] local.INFO: GPS data processed {"connection_id":148914,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:58:49] local.INFO: Acknowledgment sent {"connection_id":148914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:59:20] local.INFO: TCP Data received {"connection_id":148914,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:59:20] local.INFO: Processing buffer {"connection_id":148914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:59:20] local.INFO: Packet analysis {"connection_id":148914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 01:59:20] local.INFO: Extracted packet for processing {"connection_id":148914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 01:59:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117637888001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:59:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785616074000,"timestamp_ms":1785616074000,"timestamp_seconds":1785616074,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf030510"} 
[2026-08-02 01:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117637888001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117637888001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:59:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:59:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:59:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117637888001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":148914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:59:20] local.INFO: GPS data processed {"connection_id":148914,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:59:20] local.INFO: Acknowledgment sent {"connection_id":148914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 01:59:43] local.INFO: TCP Data received {"connection_id":146596,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:59:43] local.INFO: Processing buffer {"connection_id":146596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:59:43] local.INFO: IMEI packet received {"connection_id":146596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 01:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":146596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 01:59:48] local.INFO: TCP Data received {"connection_id":146596,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:59:48] local.INFO: Processing buffer {"connection_id":146596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 01:59:48] local.INFO: IMEI packet received {"connection_id":146596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 01:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":146596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 01:59:49] local.INFO: TCP Data received {"connection_id":146596,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:59:49] local.INFO: Processing buffer {"connection_id":146596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 01:59:49] local.INFO: Packet analysis {"connection_id":146596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 01:59:49] local.INFO: Extracted packet for processing {"connection_id":146596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 01:59:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 01:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 01:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117637888001,"note":"Value kept but may cause issues"} 
[2026-08-02 01:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 01:59:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 01:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 01:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616074000,"timestamp_ms":1785616074000,"timestamp_seconds":1785616074,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf030510"} 
[2026-08-02 01:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 01:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 01:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 01:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 01:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 01:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 01:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 01:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 01:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 01:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 01:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 01:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 01:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117637888001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 01:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 01:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 01:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117637888001,"description":"Unknown IO ID 0"} 
[2026-08-02 01:59:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 01:59:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 01:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 01:59:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 01:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117637888001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 01:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":146596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 01:59:49] local.INFO: GPS data processed {"connection_id":146596,"processed":1,"errors":0,"total":1} 
[2026-08-02 01:59:49] local.INFO: Acknowledgment sent {"connection_id":146596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:00:22] local.INFO: TCP Data received {"connection_id":146596,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:00:22] local.INFO: Processing buffer {"connection_id":146596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:00:22] local.INFO: Packet analysis {"connection_id":146596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 02:00:22] local.INFO: Extracted packet for processing {"connection_id":146596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 02:00:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117637888001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:00:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785616074000,"timestamp_ms":1785616074000,"timestamp_seconds":1785616074,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf030510"} 
[2026-08-02 02:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117637888001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117637888001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:00:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:00:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:00:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117637888001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":146596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:00:22] local.INFO: GPS data processed {"connection_id":146596,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:00:22] local.INFO: Acknowledgment sent {"connection_id":146596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:00:42] local.INFO: TCP Data received {"connection_id":148915,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:00:42] local.INFO: Processing buffer {"connection_id":148915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:00:42] local.INFO: IMEI packet received {"connection_id":148915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":148915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:00:48] local.INFO: TCP Data received {"connection_id":148915,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:00:48] local.INFO: Processing buffer {"connection_id":148915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:00:48] local.INFO: IMEI packet received {"connection_id":148915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":148915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:00:49] local.INFO: TCP Data received {"connection_id":148915,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:00:49] local.INFO: Processing buffer {"connection_id":148915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:00:49] local.INFO: Packet analysis {"connection_id":148915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 02:00:49] local.INFO: Extracted packet for processing {"connection_id":148915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 02:00:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117637888001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:00:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616074000,"timestamp_ms":1785616074000,"timestamp_seconds":1785616074,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf030510"} 
[2026-08-02 02:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117637888001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117637888001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:00:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:00:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:00:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117637888001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":148915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:00:49] local.INFO: GPS data processed {"connection_id":148915,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:00:49] local.INFO: Acknowledgment sent {"connection_id":148915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:01:22] local.INFO: TCP Data received {"connection_id":148915,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:01:22] local.INFO: Processing buffer {"connection_id":148915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:01:22] local.INFO: Packet analysis {"connection_id":148915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 02:01:22] local.INFO: Extracted packet for processing {"connection_id":148915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 02:01:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117637888001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:01:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785616074000,"timestamp_ms":1785616074000,"timestamp_seconds":1785616074,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf030510"} 
[2026-08-02 02:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117637888001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117637888001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:01:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:01:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:01:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117637888001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":148915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:01:22] local.INFO: GPS data processed {"connection_id":148915,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:01:22] local.INFO: Acknowledgment sent {"connection_id":148915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:01:42] local.INFO: TCP Data received {"connection_id":146597,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:01:42] local.INFO: Processing buffer {"connection_id":146597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:01:42] local.INFO: IMEI packet received {"connection_id":146597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":146597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:01:48] local.INFO: TCP Data received {"connection_id":146597,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:01:48] local.INFO: Processing buffer {"connection_id":146597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:01:48] local.INFO: IMEI packet received {"connection_id":146597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":146597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:01:49] local.INFO: TCP Data received {"connection_id":146597,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:01:49] local.INFO: Processing buffer {"connection_id":146597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:01:49] local.INFO: Packet analysis {"connection_id":146597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 02:01:49] local.INFO: Extracted packet for processing {"connection_id":146597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 02:01:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117637888001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616074000,"timestamp_ms":1785616074000,"timestamp_seconds":1785616074,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf030510"} 
[2026-08-02 02:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117637888001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117637888001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:01:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:01:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117637888001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":146597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:01:49] local.INFO: GPS data processed {"connection_id":146597,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:01:49] local.INFO: Acknowledgment sent {"connection_id":146597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:02:21] local.INFO: TCP Data received {"connection_id":146597,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:02:21] local.INFO: Processing buffer {"connection_id":146597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:02:21] local.INFO: Packet analysis {"connection_id":146597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 02:02:21] local.INFO: Extracted packet for processing {"connection_id":146597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 02:02:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117637888001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785616074000,"timestamp_ms":1785616074000,"timestamp_seconds":1785616074,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf030510"} 
[2026-08-02 02:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117637888001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117637888001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:02:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:02:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117637888001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":146597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:02:21] local.INFO: GPS data processed {"connection_id":146597,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:02:21] local.INFO: Acknowledgment sent {"connection_id":146597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:02:42] local.INFO: TCP Data received {"connection_id":147596,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:02:42] local.INFO: Processing buffer {"connection_id":147596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:02:42] local.INFO: IMEI packet received {"connection_id":147596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":147596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:02:48] local.INFO: TCP Data received {"connection_id":147596,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:02:48] local.INFO: Processing buffer {"connection_id":147596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:02:48] local.INFO: IMEI packet received {"connection_id":147596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":147596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:02:49] local.INFO: TCP Data received {"connection_id":147596,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:02:49] local.INFO: Processing buffer {"connection_id":147596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:02:49] local.INFO: Packet analysis {"connection_id":147596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 02:02:49] local.INFO: Extracted packet for processing {"connection_id":147596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 02:02:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 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-08-02 02:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117637888001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:02:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616074000,"timestamp_ms":1785616074000,"timestamp_seconds":1785616074,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf030510"} 
[2026-08-02 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-08-02 02:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 02:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117637888001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117637888001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:02:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:02:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:02:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117637888001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":147596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:02:49] local.INFO: GPS data processed {"connection_id":147596,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:02:49] local.INFO: Acknowledgment sent {"connection_id":147596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:03:20] local.INFO: TCP Data received {"connection_id":147596,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:03:20] local.INFO: Processing buffer {"connection_id":147596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf030510012cc330c007685b20005a00cd26..."} 
[2026-08-02 02:03:20] local.INFO: Packet analysis {"connection_id":147596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 02:03:20] local.INFO: Extracted packet for processing {"connection_id":147596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf03"} 
[2026-08-02 02:03:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117637888001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785616074000,"timestamp_ms":1785616074000,"timestamp_seconds":1785616074,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf030510"} 
[2026-08-02 02:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117637888001,"66":25549,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117637888001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:03:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:03:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117637888001,"power":25549,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":147596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:03:20] local.INFO: GPS data processed {"connection_id":147596,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:03:20] local.INFO: Acknowledgment sent {"connection_id":147596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:03:48] local.INFO: TCP Data received {"connection_id":148916,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:03:48] local.INFO: Processing buffer {"connection_id":148916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:03:48] local.INFO: IMEI packet received {"connection_id":148916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":148916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:03:53] local.INFO: TCP Data received {"connection_id":148916,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:03:53] local.INFO: Processing buffer {"connection_id":148916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:03:53] local.INFO: IMEI packet received {"connection_id":148916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":148916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:03:54] local.INFO: TCP Data received {"connection_id":148916,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:03:54] local.INFO: Processing buffer {"connection_id":148916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:03:54] local.INFO: Packet analysis {"connection_id":148916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:03:54] local.INFO: Extracted packet for processing {"connection_id":148916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:03:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117714944001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:03:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785616375000,"timestamp_ms":1785616375000,"timestamp_seconds":1785616375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf079cd8"} 
[2026-08-02 02:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 02:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117714944001,"66":25517,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117714944001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:03:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:03:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:03:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117714944001,"power":25517,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":148916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:03:54] local.INFO: GPS data processed {"connection_id":148916,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:03:54] local.INFO: Acknowledgment sent {"connection_id":148916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:03:58] local.INFO: TCP Data received {"connection_id":148916,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:03:58] local.INFO: Processing buffer {"connection_id":148916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:03:58] local.INFO: Packet analysis {"connection_id":148916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:03:58] local.INFO: Extracted packet for processing {"connection_id":148916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:03:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117714944001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:03:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785616375000,"timestamp_ms":1785616375000,"timestamp_seconds":1785616375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf079cd8"} 
[2026-08-02 02:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 02:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117714944001,"66":25517,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117714944001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:03:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:03:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:03:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117714944001,"power":25517,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":148916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:03:58] local.INFO: GPS data processed {"connection_id":148916,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:03:58] local.INFO: Acknowledgment sent {"connection_id":148916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:04:42] local.INFO: TCP Data received {"connection_id":146367,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:04:42] local.INFO: Processing buffer {"connection_id":146367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:04:42] local.INFO: IMEI packet received {"connection_id":146367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":146367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:04:48] local.INFO: TCP Data received {"connection_id":146367,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:04:48] local.INFO: Processing buffer {"connection_id":146367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:04:48] local.INFO: IMEI packet received {"connection_id":146367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":146367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:04:49] local.INFO: TCP Data received {"connection_id":146367,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:04:49] local.INFO: Processing buffer {"connection_id":146367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:04:49] local.INFO: Packet analysis {"connection_id":146367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:04:49] local.INFO: Extracted packet for processing {"connection_id":146367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:04:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117714944001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616375000,"timestamp_ms":1785616375000,"timestamp_seconds":1785616375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf079cd8"} 
[2026-08-02 02:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 02:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117714944001,"66":25517,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117714944001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:04:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:04:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117714944001,"power":25517,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":146367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:04:49] local.INFO: GPS data processed {"connection_id":146367,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:04:49] local.INFO: Acknowledgment sent {"connection_id":146367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:05:21] local.INFO: TCP Data received {"connection_id":146367,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:05:21] local.INFO: Processing buffer {"connection_id":146367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:05:21] local.INFO: Packet analysis {"connection_id":146367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:05:21] local.INFO: Extracted packet for processing {"connection_id":146367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:05:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117714944001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785616375000,"timestamp_ms":1785616375000,"timestamp_seconds":1785616375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf079cd8"} 
[2026-08-02 02:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 02:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117714944001,"66":25517,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117714944001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:05:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:05:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117714944001,"power":25517,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":146367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:05:21] local.INFO: GPS data processed {"connection_id":146367,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:05:21] local.INFO: Acknowledgment sent {"connection_id":146367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:05:42] local.INFO: TCP Data received {"connection_id":147597,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:05:42] local.INFO: Processing buffer {"connection_id":147597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:05:42] local.INFO: IMEI packet received {"connection_id":147597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":147597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:05:48] local.INFO: TCP Data received {"connection_id":147597,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:05:48] local.INFO: Processing buffer {"connection_id":147597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:05:48] local.INFO: IMEI packet received {"connection_id":147597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":147597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:05:49] local.INFO: TCP Data received {"connection_id":147597,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:05:49] local.INFO: Processing buffer {"connection_id":147597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:05:49] local.INFO: Packet analysis {"connection_id":147597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:05:49] local.INFO: Extracted packet for processing {"connection_id":147597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:05:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117714944001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616375000,"timestamp_ms":1785616375000,"timestamp_seconds":1785616375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf079cd8"} 
[2026-08-02 02:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 02:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117714944001,"66":25517,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117714944001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:05:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:05:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117714944001,"power":25517,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":147597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:05:49] local.INFO: GPS data processed {"connection_id":147597,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:05:49] local.INFO: Acknowledgment sent {"connection_id":147597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:06:21] local.INFO: TCP Data received {"connection_id":147597,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:06:21] local.INFO: Processing buffer {"connection_id":147597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:06:21] local.INFO: Packet analysis {"connection_id":147597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:06:21] local.INFO: Extracted packet for processing {"connection_id":147597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:06:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117714944001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785616375000,"timestamp_ms":1785616375000,"timestamp_seconds":1785616375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf079cd8"} 
[2026-08-02 02:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 02:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117714944001,"66":25517,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117714944001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:06:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:06:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117714944001,"power":25517,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":147597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:06:21] local.INFO: GPS data processed {"connection_id":147597,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:06:21] local.INFO: Acknowledgment sent {"connection_id":147597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:06:42] local.INFO: TCP Data received {"connection_id":148917,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:06:42] local.INFO: Processing buffer {"connection_id":148917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:06:42] local.INFO: IMEI packet received {"connection_id":148917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":148917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:06:48] local.INFO: TCP Data received {"connection_id":148917,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:06:48] local.INFO: Processing buffer {"connection_id":148917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:06:48] local.INFO: IMEI packet received {"connection_id":148917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":148917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:06:49] local.INFO: TCP Data received {"connection_id":148917,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:06:49] local.INFO: Processing buffer {"connection_id":148917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:06:49] local.INFO: Packet analysis {"connection_id":148917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:06:49] local.INFO: Extracted packet for processing {"connection_id":148917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:06:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117714944001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:06:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616375000,"timestamp_ms":1785616375000,"timestamp_seconds":1785616375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf079cd8"} 
[2026-08-02 02:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 02:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117714944001,"66":25517,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117714944001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:06:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:06:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:06:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117714944001,"power":25517,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":148917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:06:49] local.INFO: GPS data processed {"connection_id":148917,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:06:49] local.INFO: Acknowledgment sent {"connection_id":148917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:07:20] local.INFO: TCP Data received {"connection_id":148917,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:07:20] local.INFO: Processing buffer {"connection_id":148917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:07:20] local.INFO: Packet analysis {"connection_id":148917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:07:20] local.INFO: Extracted packet for processing {"connection_id":148917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:07:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117714944001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785616375000,"timestamp_ms":1785616375000,"timestamp_seconds":1785616375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf079cd8"} 
[2026-08-02 02:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 02:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117714944001,"66":25517,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117714944001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:07:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:07:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117714944001,"power":25517,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":148917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:07:20] local.INFO: GPS data processed {"connection_id":148917,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:07:20] local.INFO: Acknowledgment sent {"connection_id":148917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:07:48] local.INFO: TCP Data received {"connection_id":146598,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:07:48] local.INFO: Processing buffer {"connection_id":146598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:07:48] local.INFO: IMEI packet received {"connection_id":146598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":146598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:07:53] local.INFO: TCP Data received {"connection_id":146598,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:07:53] local.INFO: Processing buffer {"connection_id":146598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:07:53] local.INFO: IMEI packet received {"connection_id":146598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":146598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:07:54] local.INFO: TCP Data received {"connection_id":146598,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:07:54] local.INFO: Processing buffer {"connection_id":146598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:07:54] local.INFO: Packet analysis {"connection_id":146598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:07:54] local.INFO: Extracted packet for processing {"connection_id":146598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:07:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117714944001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:07:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785616375000,"timestamp_ms":1785616375000,"timestamp_seconds":1785616375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf079cd8"} 
[2026-08-02 02:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 02:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117714944001,"66":25517,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117714944001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:07:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:07:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:07:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117714944001,"power":25517,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":146598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:07:54] local.INFO: GPS data processed {"connection_id":146598,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:07:54] local.INFO: Acknowledgment sent {"connection_id":146598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:07:59] local.INFO: TCP Data received {"connection_id":146598,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:07:59] local.INFO: Processing buffer {"connection_id":146598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf079cd8012cc330c007685b20005a00cd23..."} 
[2026-08-02 02:07:59] local.INFO: Packet analysis {"connection_id":146598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:07:59] local.INFO: Extracted packet for processing {"connection_id":146598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf07"} 
[2026-08-02 02:07:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117714944001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:07:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785616375000,"timestamp_ms":1785616375000,"timestamp_seconds":1785616375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf079cd8"} 
[2026-08-02 02:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 02:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117714944001,"66":25517,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117714944001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:07:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:07:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:07:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117714944001,"power":25517,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":146598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:07:59] local.INFO: GPS data processed {"connection_id":146598,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:07:59] local.INFO: Acknowledgment sent {"connection_id":146598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:08:43] local.INFO: TCP Data received {"connection_id":147598,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:08:43] local.INFO: Processing buffer {"connection_id":147598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:08:43] local.INFO: IMEI packet received {"connection_id":147598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":147598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:08:48] local.INFO: TCP Data received {"connection_id":147598,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:08:48] local.INFO: Processing buffer {"connection_id":147598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:08:48] local.INFO: IMEI packet received {"connection_id":147598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":147598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:08:49] local.INFO: TCP Data received {"connection_id":147598,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:08:49] local.INFO: Processing buffer {"connection_id":147598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:08:49] local.INFO: Packet analysis {"connection_id":147598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:08:49] local.INFO: Extracted packet for processing {"connection_id":147598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:08:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117792000001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:08:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616676000,"timestamp_ms":1785616676000,"timestamp_seconds":1785616676,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf0c34a0"} 
[2026-08-02 02:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 02:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117792000001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117792000001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:08:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:08:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:08:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117792000001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":147598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:08:49] local.INFO: GPS data processed {"connection_id":147598,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:08:49] local.INFO: Acknowledgment sent {"connection_id":147598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:09:20] local.INFO: TCP Data received {"connection_id":147598,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:09:20] local.INFO: Processing buffer {"connection_id":147598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:09:20] local.INFO: Packet analysis {"connection_id":147598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:09:20] local.INFO: Extracted packet for processing {"connection_id":147598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:09:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117792000001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785616676000,"timestamp_ms":1785616676000,"timestamp_seconds":1785616676,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf0c34a0"} 
[2026-08-02 02:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 02:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117792000001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117792000001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:09:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:09:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117792000001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":147598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:09:20] local.INFO: GPS data processed {"connection_id":147598,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:09:20] local.INFO: Acknowledgment sent {"connection_id":147598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:09:42] local.INFO: TCP Data received {"connection_id":146368,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:09:42] local.INFO: Processing buffer {"connection_id":146368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:09:42] local.INFO: IMEI packet received {"connection_id":146368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":146368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:09:48] local.INFO: TCP Data received {"connection_id":146368,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:09:48] local.INFO: Processing buffer {"connection_id":146368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:09:48] local.INFO: IMEI packet received {"connection_id":146368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":146368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:09:49] local.INFO: TCP Data received {"connection_id":146368,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:09:49] local.INFO: Processing buffer {"connection_id":146368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:09:49] local.INFO: Packet analysis {"connection_id":146368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:09:49] local.INFO: Extracted packet for processing {"connection_id":146368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:09:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117792000001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:09:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616676000,"timestamp_ms":1785616676000,"timestamp_seconds":1785616676,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf0c34a0"} 
[2026-08-02 02:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 02:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117792000001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117792000001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:09:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:09:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:09:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117792000001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":146368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:09:49] local.INFO: GPS data processed {"connection_id":146368,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:09:49] local.INFO: Acknowledgment sent {"connection_id":146368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:10:20] local.INFO: TCP Data received {"connection_id":146368,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:10:20] local.INFO: Processing buffer {"connection_id":146368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:10:20] local.INFO: Packet analysis {"connection_id":146368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:10:20] local.INFO: Extracted packet for processing {"connection_id":146368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:10:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117792000001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785616676000,"timestamp_ms":1785616676000,"timestamp_seconds":1785616676,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf0c34a0"} 
[2026-08-02 02:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 02:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117792000001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117792000001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:10:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:10:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117792000001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":146368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:10:20] local.INFO: GPS data processed {"connection_id":146368,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:10:20] local.INFO: Acknowledgment sent {"connection_id":146368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:10:42] local.INFO: TCP Data received {"connection_id":147599,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:10:42] local.INFO: Processing buffer {"connection_id":147599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:10:42] local.INFO: IMEI packet received {"connection_id":147599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":147599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:10:48] local.INFO: TCP Data received {"connection_id":147599,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:10:48] local.INFO: Processing buffer {"connection_id":147599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:10:48] local.INFO: IMEI packet received {"connection_id":147599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":147599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:10:49] local.INFO: TCP Data received {"connection_id":147599,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:10:49] local.INFO: Processing buffer {"connection_id":147599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:10:49] local.INFO: Packet analysis {"connection_id":147599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:10:49] local.INFO: Extracted packet for processing {"connection_id":147599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:10:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117792000001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:10:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616676000,"timestamp_ms":1785616676000,"timestamp_seconds":1785616676,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf0c34a0"} 
[2026-08-02 02:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 02:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117792000001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117792000001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:10:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:10:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:10:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117792000001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":147599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:10:49] local.INFO: GPS data processed {"connection_id":147599,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:10:49] local.INFO: Acknowledgment sent {"connection_id":147599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:11:21] local.INFO: TCP Data received {"connection_id":147599,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:11:21] local.INFO: Processing buffer {"connection_id":147599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:11:21] local.INFO: Packet analysis {"connection_id":147599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:11:21] local.INFO: Extracted packet for processing {"connection_id":147599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:11:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117792000001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785616676000,"timestamp_ms":1785616676000,"timestamp_seconds":1785616676,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf0c34a0"} 
[2026-08-02 02:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 02:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117792000001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117792000001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:11:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:11:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117792000001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":147599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:11:21] local.INFO: GPS data processed {"connection_id":147599,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:11:21] local.INFO: Acknowledgment sent {"connection_id":147599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:11:48] local.INFO: TCP Data received {"connection_id":146369,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:11:48] local.INFO: Processing buffer {"connection_id":146369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:11:48] local.INFO: IMEI packet received {"connection_id":146369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":146369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:11:53] local.INFO: TCP Data received {"connection_id":146369,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:11:53] local.INFO: Processing buffer {"connection_id":146369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:11:53] local.INFO: IMEI packet received {"connection_id":146369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":146369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:11:54] local.INFO: TCP Data received {"connection_id":146369,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:11:54] local.INFO: Processing buffer {"connection_id":146369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:11:54] local.INFO: Packet analysis {"connection_id":146369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:11:54] local.INFO: Extracted packet for processing {"connection_id":146369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:11:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117792000001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:11:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785616676000,"timestamp_ms":1785616676000,"timestamp_seconds":1785616676,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf0c34a0"} 
[2026-08-02 02:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 02:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117792000001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117792000001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:11:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:11:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:11:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117792000001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":146369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:11:54] local.INFO: GPS data processed {"connection_id":146369,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:11:54] local.INFO: Acknowledgment sent {"connection_id":146369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:11:58] local.INFO: TCP Data received {"connection_id":146369,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:11:58] local.INFO: Processing buffer {"connection_id":146369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:11:58] local.INFO: Packet analysis {"connection_id":146369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:11:58] local.INFO: Extracted packet for processing {"connection_id":146369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:11:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117792000001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:11:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785616676000,"timestamp_ms":1785616676000,"timestamp_seconds":1785616676,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf0c34a0"} 
[2026-08-02 02:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 02:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117792000001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117792000001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:11:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:11:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:11:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117792000001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":146369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:11:58] local.INFO: GPS data processed {"connection_id":146369,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:11:58] local.INFO: Acknowledgment sent {"connection_id":146369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:12:43] local.INFO: TCP Data received {"connection_id":148918,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:12:43] local.INFO: Processing buffer {"connection_id":148918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:12:43] local.INFO: IMEI packet received {"connection_id":148918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":148918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:12:48] local.INFO: TCP Data received {"connection_id":148918,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:12:48] local.INFO: Processing buffer {"connection_id":148918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:12:48] local.INFO: IMEI packet received {"connection_id":148918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":148918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:12:49] local.INFO: TCP Data received {"connection_id":148918,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:12:49] local.INFO: Processing buffer {"connection_id":148918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:12:49] local.INFO: Packet analysis {"connection_id":148918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:12:49] local.INFO: Extracted packet for processing {"connection_id":148918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:12:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117792000001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:12:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616676000,"timestamp_ms":1785616676000,"timestamp_seconds":1785616676,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf0c34a0"} 
[2026-08-02 02:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 02:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117792000001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117792000001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:12:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:12:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:12:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117792000001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":148918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:12:49] local.INFO: GPS data processed {"connection_id":148918,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:12:49] local.INFO: Acknowledgment sent {"connection_id":148918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:13:21] local.INFO: TCP Data received {"connection_id":148918,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:13:21] local.INFO: Processing buffer {"connection_id":148918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf0c34a0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:13:21] local.INFO: Packet analysis {"connection_id":148918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:13:21] local.INFO: Extracted packet for processing {"connection_id":148918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf0c"} 
[2026-08-02 02:13:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117792000001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785616676000,"timestamp_ms":1785616676000,"timestamp_seconds":1785616676,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf0c34a0"} 
[2026-08-02 02:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 02:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117792000001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117792000001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:13:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:13:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117792000001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":148918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:13:21] local.INFO: GPS data processed {"connection_id":148918,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:13:21] local.INFO: Acknowledgment sent {"connection_id":148918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:13:43] local.INFO: TCP Data received {"connection_id":146599,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:13:43] local.INFO: Processing buffer {"connection_id":146599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:13:43] local.INFO: IMEI packet received {"connection_id":146599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":146599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:13:48] local.INFO: TCP Data received {"connection_id":146599,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:13:48] local.INFO: Processing buffer {"connection_id":146599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:13:48] local.INFO: IMEI packet received {"connection_id":146599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":146599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:13:49] local.INFO: TCP Data received {"connection_id":146599,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:13:49] local.INFO: Processing buffer {"connection_id":146599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:13:49] local.INFO: Packet analysis {"connection_id":146599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:13:49] local.INFO: Extracted packet for processing {"connection_id":146599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:13:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117869056001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:13:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616977000,"timestamp_ms":1785616977000,"timestamp_seconds":1785616977,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf10cc68"} 
[2026-08-02 02:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117869056001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117869056001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:13:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:13:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:13:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117869056001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":146599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:13:49] local.INFO: GPS data processed {"connection_id":146599,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:13:49] local.INFO: Acknowledgment sent {"connection_id":146599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:14:20] local.INFO: TCP Data received {"connection_id":146599,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:14:20] local.INFO: Processing buffer {"connection_id":146599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:14:20] local.INFO: Packet analysis {"connection_id":146599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:14:20] local.INFO: Extracted packet for processing {"connection_id":146599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:14:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117869056001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785616977000,"timestamp_ms":1785616977000,"timestamp_seconds":1785616977,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf10cc68"} 
[2026-08-02 02:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117869056001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117869056001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:14:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:14:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117869056001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":146599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:14:20] local.INFO: GPS data processed {"connection_id":146599,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:14:20] local.INFO: Acknowledgment sent {"connection_id":146599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:14:42] local.INFO: TCP Data received {"connection_id":148919,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:14:42] local.INFO: Processing buffer {"connection_id":148919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:14:42] local.INFO: IMEI packet received {"connection_id":148919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":148919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:14:47] local.INFO: TCP Data received {"connection_id":148919,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:14:47] local.INFO: Processing buffer {"connection_id":148919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:14:47] local.INFO: IMEI packet received {"connection_id":148919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":148919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:14:48] local.INFO: TCP Data received {"connection_id":148919,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:14:48] local.INFO: Processing buffer {"connection_id":148919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:14:48] local.INFO: Packet analysis {"connection_id":148919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:14:48] local.INFO: Extracted packet for processing {"connection_id":148919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:14:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02: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-08-02 02:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117869056001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:14:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785616977000,"timestamp_ms":1785616977000,"timestamp_seconds":1785616977,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf10cc68"} 
[2026-08-02 02:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:14: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-08-02 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117869056001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117869056001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:14:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:14:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:14:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117869056001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":148919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:14:48] local.INFO: GPS data processed {"connection_id":148919,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:14:48] local.INFO: Acknowledgment sent {"connection_id":148919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:15:22] local.INFO: TCP Data received {"connection_id":148919,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:15:22] local.INFO: Processing buffer {"connection_id":148919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:15:22] local.INFO: Packet analysis {"connection_id":148919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:15:22] local.INFO: Extracted packet for processing {"connection_id":148919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:15:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117869056001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:15:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785616977000,"timestamp_ms":1785616977000,"timestamp_seconds":1785616977,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf10cc68"} 
[2026-08-02 02:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117869056001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117869056001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:15:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:15:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:15:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117869056001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":148919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:15:22] local.INFO: GPS data processed {"connection_id":148919,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:15:22] local.INFO: Acknowledgment sent {"connection_id":148919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:15:48] local.INFO: TCP Data received {"connection_id":146600,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:15:48] local.INFO: Processing buffer {"connection_id":146600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:15:48] local.INFO: IMEI packet received {"connection_id":146600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":146600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:15:53] local.INFO: TCP Data received {"connection_id":146600,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:15:53] local.INFO: Processing buffer {"connection_id":146600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:15:53] local.INFO: IMEI packet received {"connection_id":146600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":146600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:15:54] local.INFO: TCP Data received {"connection_id":146600,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:15:54] local.INFO: Processing buffer {"connection_id":146600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:15:54] local.INFO: Packet analysis {"connection_id":146600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:15:54] local.INFO: Extracted packet for processing {"connection_id":146600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:15:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117869056001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:15:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785616977000,"timestamp_ms":1785616977000,"timestamp_seconds":1785616977,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf10cc68"} 
[2026-08-02 02:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117869056001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117869056001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:15:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:15:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:15:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117869056001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":146600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:15:54] local.INFO: GPS data processed {"connection_id":146600,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:15:54] local.INFO: Acknowledgment sent {"connection_id":146600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:15:59] local.INFO: TCP Data received {"connection_id":146600,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:15:59] local.INFO: Processing buffer {"connection_id":146600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:15:59] local.INFO: Packet analysis {"connection_id":146600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:15:59] local.INFO: Extracted packet for processing {"connection_id":146600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:15:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117869056001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:15:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785616977000,"timestamp_ms":1785616977000,"timestamp_seconds":1785616977,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf10cc68"} 
[2026-08-02 02:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117869056001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117869056001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:15:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:15:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:15:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117869056001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":146600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:15:59] local.INFO: GPS data processed {"connection_id":146600,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:15:59] local.INFO: Acknowledgment sent {"connection_id":146600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:16:43] local.INFO: TCP Data received {"connection_id":146601,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:16:43] local.INFO: Processing buffer {"connection_id":146601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:16:43] local.INFO: IMEI packet received {"connection_id":146601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":146601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:16:48] local.INFO: TCP Data received {"connection_id":146601,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:16:48] local.INFO: Processing buffer {"connection_id":146601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:16:48] local.INFO: IMEI packet received {"connection_id":146601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":146601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:16:49] local.INFO: TCP Data received {"connection_id":146601,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:16:49] local.INFO: Processing buffer {"connection_id":146601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:16:49] local.INFO: Packet analysis {"connection_id":146601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:16:49] local.INFO: Extracted packet for processing {"connection_id":146601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:16:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117869056001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616977000,"timestamp_ms":1785616977000,"timestamp_seconds":1785616977,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf10cc68"} 
[2026-08-02 02:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117869056001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117869056001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:16:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:16:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117869056001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":146601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:16:49] local.INFO: GPS data processed {"connection_id":146601,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:16:49] local.INFO: Acknowledgment sent {"connection_id":146601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:17:21] local.INFO: TCP Data received {"connection_id":146601,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:17:21] local.INFO: Processing buffer {"connection_id":146601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:17:21] local.INFO: Packet analysis {"connection_id":146601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:17:21] local.INFO: Extracted packet for processing {"connection_id":146601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:17:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117869056001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785616977000,"timestamp_ms":1785616977000,"timestamp_seconds":1785616977,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf10cc68"} 
[2026-08-02 02:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117869056001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117869056001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:17:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:17:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117869056001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":146601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:17:21] local.INFO: GPS data processed {"connection_id":146601,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:17:21] local.INFO: Acknowledgment sent {"connection_id":146601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:17:43] local.INFO: TCP Data received {"connection_id":148920,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:17:43] local.INFO: Processing buffer {"connection_id":148920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:17:43] local.INFO: IMEI packet received {"connection_id":148920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":148920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:17:48] local.INFO: TCP Data received {"connection_id":148920,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:17:48] local.INFO: Processing buffer {"connection_id":148920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:17:48] local.INFO: IMEI packet received {"connection_id":148920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":148920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:17:49] local.INFO: TCP Data received {"connection_id":148920,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:17:49] local.INFO: Processing buffer {"connection_id":148920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:17:49] local.INFO: Packet analysis {"connection_id":148920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:17:49] local.INFO: Extracted packet for processing {"connection_id":148920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:17:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117869056001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:17:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785616977000,"timestamp_ms":1785616977000,"timestamp_seconds":1785616977,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf10cc68"} 
[2026-08-02 02:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117869056001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117869056001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:17:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:17:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:17:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117869056001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":148920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:17:49] local.INFO: GPS data processed {"connection_id":148920,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:17:49] local.INFO: Acknowledgment sent {"connection_id":148920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:18:21] local.INFO: TCP Data received {"connection_id":148920,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:18:21] local.INFO: Processing buffer {"connection_id":148920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf10cc68012cc330c007685b20006300cd25..."} 
[2026-08-02 02:18:21] local.INFO: Packet analysis {"connection_id":148920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:18:21] local.INFO: Extracted packet for processing {"connection_id":148920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf10"} 
[2026-08-02 02:18:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117869056001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785616977000,"timestamp_ms":1785616977000,"timestamp_seconds":1785616977,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf10cc68"} 
[2026-08-02 02:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117869056001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117869056001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:18:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:18:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117869056001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":148920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:18:21] local.INFO: GPS data processed {"connection_id":148920,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:18:21] local.INFO: Acknowledgment sent {"connection_id":148920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:18:42] local.INFO: TCP Data received {"connection_id":147600,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:18:42] local.INFO: Processing buffer {"connection_id":147600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:18:42] local.INFO: IMEI packet received {"connection_id":147600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":147600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:18:48] local.INFO: TCP Data received {"connection_id":147600,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:18:48] local.INFO: Processing buffer {"connection_id":147600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:18:48] local.INFO: IMEI packet received {"connection_id":147600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":147600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:18:49] local.INFO: TCP Data received {"connection_id":147600,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:18:49] local.INFO: Processing buffer {"connection_id":147600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:18:49] local.INFO: Packet analysis {"connection_id":147600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:18:49] local.INFO: Extracted packet for processing {"connection_id":147600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:18:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 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-08-02 02:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117946112001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:18:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785617278000,"timestamp_ms":1785617278000,"timestamp_seconds":1785617278,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf156430"} 
[2026-08-02 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-08-02 02:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 02:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117946112001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117946112001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:18:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:18:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:18:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117946112001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":147600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:18:49] local.INFO: GPS data processed {"connection_id":147600,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:18:49] local.INFO: Acknowledgment sent {"connection_id":147600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:19:20] local.INFO: TCP Data received {"connection_id":147600,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:19:20] local.INFO: Processing buffer {"connection_id":147600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:19:20] local.INFO: Packet analysis {"connection_id":147600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:19:20] local.INFO: Extracted packet for processing {"connection_id":147600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:19:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 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-08-02 02:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117946112001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785617278000,"timestamp_ms":1785617278000,"timestamp_seconds":1785617278,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf156430"} 
[2026-08-02 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-08-02 02:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 02:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117946112001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117946112001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:19:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:19:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117946112001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":147600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:19:20] local.INFO: GPS data processed {"connection_id":147600,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:19:20] local.INFO: Acknowledgment sent {"connection_id":147600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:19:42] local.INFO: TCP Data received {"connection_id":146602,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:19:42] local.INFO: Processing buffer {"connection_id":146602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:19:42] local.INFO: IMEI packet received {"connection_id":146602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":146602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:19:48] local.INFO: TCP Data received {"connection_id":146602,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:19:48] local.INFO: Processing buffer {"connection_id":146602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:19:48] local.INFO: IMEI packet received {"connection_id":146602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":146602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:19:49] local.INFO: TCP Data received {"connection_id":146602,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:19:49] local.INFO: Processing buffer {"connection_id":146602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:19:49] local.INFO: Packet analysis {"connection_id":146602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:19:49] local.INFO: Extracted packet for processing {"connection_id":146602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:19:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 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-08-02 02:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117946112001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:19:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785617278000,"timestamp_ms":1785617278000,"timestamp_seconds":1785617278,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf156430"} 
[2026-08-02 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-08-02 02:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 02:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117946112001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117946112001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:19:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:19:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:19:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117946112001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":146602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:19:49] local.INFO: GPS data processed {"connection_id":146602,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:19:49] local.INFO: Acknowledgment sent {"connection_id":146602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:20:20] local.INFO: TCP Data received {"connection_id":146602,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:20:20] local.INFO: Processing buffer {"connection_id":146602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:20:20] local.INFO: Packet analysis {"connection_id":146602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:20:20] local.INFO: Extracted packet for processing {"connection_id":146602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:20:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117946112001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785617278000,"timestamp_ms":1785617278000,"timestamp_seconds":1785617278,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf156430"} 
[2026-08-02 02:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117946112001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117946112001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:20:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:20:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117946112001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":146602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:20:20] local.INFO: GPS data processed {"connection_id":146602,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:20:20] local.INFO: Acknowledgment sent {"connection_id":146602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:20:48] local.INFO: TCP Data received {"connection_id":147601,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:20:48] local.INFO: Processing buffer {"connection_id":147601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:20:48] local.INFO: IMEI packet received {"connection_id":147601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":147601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:20:53] local.INFO: TCP Data received {"connection_id":147601,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:20:53] local.INFO: Processing buffer {"connection_id":147601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:20:53] local.INFO: IMEI packet received {"connection_id":147601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":147601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:20:53] local.INFO: TCP Data received {"connection_id":147601,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:20:54] local.INFO: Processing buffer {"connection_id":147601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:20:54] local.INFO: Packet analysis {"connection_id":147601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:20:54] local.INFO: Extracted packet for processing {"connection_id":147601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:20:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117946112001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:20:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785617278000,"timestamp_ms":1785617278000,"timestamp_seconds":1785617278,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf156430"} 
[2026-08-02 02:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117946112001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117946112001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:20:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:20:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:20:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117946112001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":147601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:20:54] local.INFO: GPS data processed {"connection_id":147601,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:20:54] local.INFO: Acknowledgment sent {"connection_id":147601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:20:58] local.INFO: TCP Data received {"connection_id":147601,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:20:58] local.INFO: Processing buffer {"connection_id":147601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:20:58] local.INFO: Packet analysis {"connection_id":147601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:20:58] local.INFO: Extracted packet for processing {"connection_id":147601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:20:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117946112001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:20:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785617278000,"timestamp_ms":1785617278000,"timestamp_seconds":1785617278,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf156430"} 
[2026-08-02 02:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117946112001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117946112001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:20:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:20:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:20:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117946112001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":147601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:20:58] local.INFO: GPS data processed {"connection_id":147601,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:20:58] local.INFO: Acknowledgment sent {"connection_id":147601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:21:43] local.INFO: TCP Data received {"connection_id":148921,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:21:43] local.INFO: Processing buffer {"connection_id":148921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:21:43] local.INFO: IMEI packet received {"connection_id":148921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":148921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:21:48] local.INFO: TCP Data received {"connection_id":148921,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:21:48] local.INFO: Processing buffer {"connection_id":148921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:21:48] local.INFO: IMEI packet received {"connection_id":148921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":148921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:21:49] local.INFO: TCP Data received {"connection_id":148921,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:21:49] local.INFO: Processing buffer {"connection_id":148921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:21:49] local.INFO: Packet analysis {"connection_id":148921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:21:49] local.INFO: Extracted packet for processing {"connection_id":148921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:21:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117946112001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:21:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785617278000,"timestamp_ms":1785617278000,"timestamp_seconds":1785617278,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf156430"} 
[2026-08-02 02:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117946112001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117946112001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:21:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:21:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:21:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117946112001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":148921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:21:49] local.INFO: GPS data processed {"connection_id":148921,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:21:49] local.INFO: Acknowledgment sent {"connection_id":148921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:22:21] local.INFO: TCP Data received {"connection_id":148921,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:22:21] local.INFO: Processing buffer {"connection_id":148921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:22:21] local.INFO: Packet analysis {"connection_id":148921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:22:21] local.INFO: Extracted packet for processing {"connection_id":148921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:22:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117946112001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785617278000,"timestamp_ms":1785617278000,"timestamp_seconds":1785617278,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf156430"} 
[2026-08-02 02:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117946112001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117946112001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:22:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:22:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117946112001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":148921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:22:21] local.INFO: GPS data processed {"connection_id":148921,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:22:21] local.INFO: Acknowledgment sent {"connection_id":148921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:22:43] local.INFO: TCP Data received {"connection_id":148922,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:22:43] local.INFO: Processing buffer {"connection_id":148922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:22:43] local.INFO: IMEI packet received {"connection_id":148922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":148922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:22:48] local.INFO: TCP Data received {"connection_id":148922,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:22:48] local.INFO: Processing buffer {"connection_id":148922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:22:48] local.INFO: IMEI packet received {"connection_id":148922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":148922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:22:49] local.INFO: TCP Data received {"connection_id":148922,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:22:49] local.INFO: Processing buffer {"connection_id":148922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:22:49] local.INFO: Packet analysis {"connection_id":148922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:22:49] local.INFO: Extracted packet for processing {"connection_id":148922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:22:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117946112001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:22:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785617278000,"timestamp_ms":1785617278000,"timestamp_seconds":1785617278,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf156430"} 
[2026-08-02 02:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117946112001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117946112001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:22:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:22:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:22:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117946112001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":148922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:22:49] local.INFO: GPS data processed {"connection_id":148922,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:22:49] local.INFO: Acknowledgment sent {"connection_id":148922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:23:21] local.INFO: TCP Data received {"connection_id":148922,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:23:21] local.INFO: Processing buffer {"connection_id":148922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf156430012cc330c007685b20006300cd26..."} 
[2026-08-02 02:23:21] local.INFO: Packet analysis {"connection_id":148922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:23:21] local.INFO: Extracted packet for processing {"connection_id":148922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf15"} 
[2026-08-02 02:23:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457117946112001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785617278000,"timestamp_ms":1785617278000,"timestamp_seconds":1785617278,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf156430"} 
[2026-08-02 02:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457117946112001,"66":25538,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457117946112001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:23:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:23:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457117946112001,"power":25538,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":148922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:23:21] local.INFO: GPS data processed {"connection_id":148922,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:23:21] local.INFO: Acknowledgment sent {"connection_id":148922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:23:42] local.INFO: TCP Data received {"connection_id":146603,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:23:42] local.INFO: Processing buffer {"connection_id":146603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:23:42] local.INFO: IMEI packet received {"connection_id":146603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":146603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:23:48] local.INFO: TCP Data received {"connection_id":146603,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:23:48] local.INFO: Processing buffer {"connection_id":146603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:23:48] local.INFO: IMEI packet received {"connection_id":146603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":146603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:23:49] local.INFO: TCP Data received {"connection_id":146603,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:23:49] local.INFO: Processing buffer {"connection_id":146603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:23:49] local.INFO: Packet analysis {"connection_id":146603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:23:49] local.INFO: Extracted packet for processing {"connection_id":146603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:23:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118023168001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:23:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785617579000,"timestamp_ms":1785617579000,"timestamp_seconds":1785617579,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf19fbf8"} 
[2026-08-02 02:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118023168001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118023168001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:23:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:23:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:23:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118023168001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":146603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:23:49] local.INFO: GPS data processed {"connection_id":146603,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:23:49] local.INFO: Acknowledgment sent {"connection_id":146603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:24:21] local.INFO: TCP Data received {"connection_id":146603,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:24:21] local.INFO: Processing buffer {"connection_id":146603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:24:21] local.INFO: Packet analysis {"connection_id":146603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:24:21] local.INFO: Extracted packet for processing {"connection_id":146603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:24:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118023168001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:24:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785617579000,"timestamp_ms":1785617579000,"timestamp_seconds":1785617579,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf19fbf8"} 
[2026-08-02 02:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118023168001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118023168001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:24:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:24:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:24:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118023168001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":146603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:24:21] local.INFO: GPS data processed {"connection_id":146603,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:24:21] local.INFO: Acknowledgment sent {"connection_id":146603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:24:42] local.INFO: TCP Data received {"connection_id":148923,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:24:42] local.INFO: Processing buffer {"connection_id":148923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:24:42] local.INFO: IMEI packet received {"connection_id":148923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":148923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:24:48] local.INFO: TCP Data received {"connection_id":148923,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:24:48] local.INFO: Processing buffer {"connection_id":148923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:24:48] local.INFO: IMEI packet received {"connection_id":148923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":148923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:24:49] local.INFO: TCP Data received {"connection_id":148923,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:24:49] local.INFO: Processing buffer {"connection_id":148923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:24:49] local.INFO: Packet analysis {"connection_id":148923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:24:49] local.INFO: Extracted packet for processing {"connection_id":148923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:24:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118023168001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:24:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785617579000,"timestamp_ms":1785617579000,"timestamp_seconds":1785617579,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf19fbf8"} 
[2026-08-02 02:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118023168001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118023168001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:24:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:24:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:24:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118023168001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":148923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:24:49] local.INFO: GPS data processed {"connection_id":148923,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:24:49] local.INFO: Acknowledgment sent {"connection_id":148923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:25:20] local.INFO: TCP Data received {"connection_id":148923,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:25:20] local.INFO: Processing buffer {"connection_id":148923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:25:20] local.INFO: Packet analysis {"connection_id":148923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:25:20] local.INFO: Extracted packet for processing {"connection_id":148923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:25:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118023168001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785617579000,"timestamp_ms":1785617579000,"timestamp_seconds":1785617579,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf19fbf8"} 
[2026-08-02 02:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118023168001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118023168001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:25:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:25:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118023168001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":148923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:25:21] local.INFO: GPS data processed {"connection_id":148923,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:25:21] local.INFO: Acknowledgment sent {"connection_id":148923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:25:48] local.INFO: TCP Data received {"connection_id":147602,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:25:48] local.INFO: Processing buffer {"connection_id":147602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:25:48] local.INFO: IMEI packet received {"connection_id":147602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":147602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:25:53] local.INFO: TCP Data received {"connection_id":147602,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:25:53] local.INFO: Processing buffer {"connection_id":147602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:25:53] local.INFO: IMEI packet received {"connection_id":147602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":147602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:25:54] local.INFO: TCP Data received {"connection_id":147602,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:25:54] local.INFO: Processing buffer {"connection_id":147602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:25:54] local.INFO: Packet analysis {"connection_id":147602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:25:54] local.INFO: Extracted packet for processing {"connection_id":147602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:25:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118023168001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:25:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785617579000,"timestamp_ms":1785617579000,"timestamp_seconds":1785617579,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf19fbf8"} 
[2026-08-02 02:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118023168001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118023168001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:25:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:25:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:25:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118023168001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":147602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:25:54] local.INFO: GPS data processed {"connection_id":147602,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:25:54] local.INFO: Acknowledgment sent {"connection_id":147602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:25:58] local.INFO: TCP Data received {"connection_id":147602,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:25:58] local.INFO: Processing buffer {"connection_id":147602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:25:58] local.INFO: Packet analysis {"connection_id":147602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:25:58] local.INFO: Extracted packet for processing {"connection_id":147602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:25:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118023168001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:25:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785617579000,"timestamp_ms":1785617579000,"timestamp_seconds":1785617579,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf19fbf8"} 
[2026-08-02 02:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118023168001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118023168001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:25:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:25:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:25:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118023168001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":147602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:25:58] local.INFO: GPS data processed {"connection_id":147602,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:25:58] local.INFO: Acknowledgment sent {"connection_id":147602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:26:43] local.INFO: TCP Data received {"connection_id":146370,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:26:43] local.INFO: Processing buffer {"connection_id":146370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:26:43] local.INFO: IMEI packet received {"connection_id":146370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":146370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:26:48] local.INFO: TCP Data received {"connection_id":146370,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:26:48] local.INFO: Processing buffer {"connection_id":146370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:26:48] local.INFO: IMEI packet received {"connection_id":146370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":146370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:26:49] local.INFO: TCP Data received {"connection_id":146370,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:26:49] local.INFO: Processing buffer {"connection_id":146370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:26:49] local.INFO: Packet analysis {"connection_id":146370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:26:49] local.INFO: Extracted packet for processing {"connection_id":146370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:26:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118023168001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:26:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785617579000,"timestamp_ms":1785617579000,"timestamp_seconds":1785617579,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf19fbf8"} 
[2026-08-02 02:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118023168001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118023168001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:26:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:26:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:26:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118023168001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":146370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:26:49] local.INFO: GPS data processed {"connection_id":146370,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:26:49] local.INFO: Acknowledgment sent {"connection_id":146370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:27:21] local.INFO: TCP Data received {"connection_id":146370,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:27:21] local.INFO: Processing buffer {"connection_id":146370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:27:21] local.INFO: Packet analysis {"connection_id":146370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:27:21] local.INFO: Extracted packet for processing {"connection_id":146370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:27:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118023168001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785617579000,"timestamp_ms":1785617579000,"timestamp_seconds":1785617579,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf19fbf8"} 
[2026-08-02 02:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118023168001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118023168001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:27:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:27:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118023168001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":146370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:27:21] local.INFO: GPS data processed {"connection_id":146370,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:27:21] local.INFO: Acknowledgment sent {"connection_id":146370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:27:43] local.INFO: TCP Data received {"connection_id":148924,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:27:43] local.INFO: Processing buffer {"connection_id":148924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:27:43] local.INFO: IMEI packet received {"connection_id":148924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":148924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:27:48] local.INFO: TCP Data received {"connection_id":148924,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:27:48] local.INFO: Processing buffer {"connection_id":148924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:27:48] local.INFO: IMEI packet received {"connection_id":148924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":148924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:27:49] local.INFO: TCP Data received {"connection_id":148924,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:27:49] local.INFO: Processing buffer {"connection_id":148924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:27:49] local.INFO: Packet analysis {"connection_id":148924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:27:49] local.INFO: Extracted packet for processing {"connection_id":148924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:27:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118023168001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:27:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785617579000,"timestamp_ms":1785617579000,"timestamp_seconds":1785617579,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf19fbf8"} 
[2026-08-02 02:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118023168001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118023168001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:27:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:27:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:27:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118023168001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":148924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:27:49] local.INFO: GPS data processed {"connection_id":148924,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:27:49] local.INFO: Acknowledgment sent {"connection_id":148924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:28:21] local.INFO: TCP Data received {"connection_id":148924,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:28:21] local.INFO: Processing buffer {"connection_id":148924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf19fbf8012cc330c007685b20006300cd26..."} 
[2026-08-02 02:28:21] local.INFO: Packet analysis {"connection_id":148924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:28:21] local.INFO: Extracted packet for processing {"connection_id":148924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf19"} 
[2026-08-02 02:28:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118023168001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785617579000,"timestamp_ms":1785617579000,"timestamp_seconds":1785617579,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf19fbf8"} 
[2026-08-02 02:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118023168001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 02:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118023168001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:28:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 02:28:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118023168001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":148924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:28:21] local.INFO: GPS data processed {"connection_id":148924,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:28:21] local.INFO: Acknowledgment sent {"connection_id":148924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:28:42] local.INFO: TCP Data received {"connection_id":147603,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:28:42] local.INFO: Processing buffer {"connection_id":147603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:28:42] local.INFO: IMEI packet received {"connection_id":147603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":147603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:28:48] local.INFO: TCP Data received {"connection_id":147603,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:28:48] local.INFO: Processing buffer {"connection_id":147603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:28:48] local.INFO: IMEI packet received {"connection_id":147603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":147603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:28:49] local.INFO: TCP Data received {"connection_id":147603,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:28:49] local.INFO: Processing buffer {"connection_id":147603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:28:49] local.INFO: Packet analysis {"connection_id":147603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:28:49] local.INFO: Extracted packet for processing {"connection_id":147603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:28:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118100224001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:28:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785617880000,"timestamp_ms":1785617880000,"timestamp_seconds":1785617880,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf1e93c0"} 
[2026-08-02 02:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118100224001,"66":25538,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118100224001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:28:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:28:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:28:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118100224001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":147603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:28:49] local.INFO: GPS data processed {"connection_id":147603,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:28:49] local.INFO: Acknowledgment sent {"connection_id":147603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:29:20] local.INFO: TCP Data received {"connection_id":147603,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:29:20] local.INFO: Processing buffer {"connection_id":147603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:29:20] local.INFO: Packet analysis {"connection_id":147603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:29:20] local.INFO: Extracted packet for processing {"connection_id":147603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:29:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118100224001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785617880000,"timestamp_ms":1785617880000,"timestamp_seconds":1785617880,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf1e93c0"} 
[2026-08-02 02:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118100224001,"66":25538,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118100224001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:29:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:29:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118100224001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":147603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:29:21] local.INFO: GPS data processed {"connection_id":147603,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:29:21] local.INFO: Acknowledgment sent {"connection_id":147603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:29:48] local.INFO: TCP Data received {"connection_id":146371,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:29:48] local.INFO: Processing buffer {"connection_id":146371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:29:48] local.INFO: IMEI packet received {"connection_id":146371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":146371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:29:53] local.INFO: TCP Data received {"connection_id":146371,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:29:53] local.INFO: Processing buffer {"connection_id":146371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:29:53] local.INFO: IMEI packet received {"connection_id":146371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":146371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:29:54] local.INFO: TCP Data received {"connection_id":146371,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:29:54] local.INFO: Processing buffer {"connection_id":146371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:29:54] local.INFO: Packet analysis {"connection_id":146371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:29:54] local.INFO: Extracted packet for processing {"connection_id":146371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:29:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118100224001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:29:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785617880000,"timestamp_ms":1785617880000,"timestamp_seconds":1785617880,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf1e93c0"} 
[2026-08-02 02:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118100224001,"66":25538,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118100224001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:29:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:29:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:29:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118100224001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":146371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:29:54] local.INFO: GPS data processed {"connection_id":146371,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:29:54] local.INFO: Acknowledgment sent {"connection_id":146371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:29:58] local.INFO: TCP Data received {"connection_id":146371,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:29:58] local.INFO: Processing buffer {"connection_id":146371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:29:58] local.INFO: Packet analysis {"connection_id":146371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:29:58] local.INFO: Extracted packet for processing {"connection_id":146371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:29:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118100224001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:29:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785617880000,"timestamp_ms":1785617880000,"timestamp_seconds":1785617880,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf1e93c0"} 
[2026-08-02 02:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118100224001,"66":25538,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118100224001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:29:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:29:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:29:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118100224001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":146371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:29:58] local.INFO: GPS data processed {"connection_id":146371,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:29:58] local.INFO: Acknowledgment sent {"connection_id":146371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:30:43] local.INFO: TCP Data received {"connection_id":148926,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:30:43] local.INFO: Processing buffer {"connection_id":148926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:30:43] local.INFO: IMEI packet received {"connection_id":148926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":148926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:30:48] local.INFO: TCP Data received {"connection_id":148926,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:30:48] local.INFO: Processing buffer {"connection_id":148926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:30:48] local.INFO: IMEI packet received {"connection_id":148926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":148926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:30:49] local.INFO: TCP Data received {"connection_id":148926,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:30:49] local.INFO: Processing buffer {"connection_id":148926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:30:49] local.INFO: Packet analysis {"connection_id":148926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:30:49] local.INFO: Extracted packet for processing {"connection_id":148926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:30:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118100224001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:30:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785617880000,"timestamp_ms":1785617880000,"timestamp_seconds":1785617880,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf1e93c0"} 
[2026-08-02 02:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118100224001,"66":25538,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118100224001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:30:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:30:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:30:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118100224001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":148926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:30:49] local.INFO: GPS data processed {"connection_id":148926,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:30:49] local.INFO: Acknowledgment sent {"connection_id":148926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:31:20] local.INFO: TCP Data received {"connection_id":148926,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:31:20] local.INFO: Processing buffer {"connection_id":148926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:31:20] local.INFO: Packet analysis {"connection_id":148926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:31:20] local.INFO: Extracted packet for processing {"connection_id":148926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:31:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118100224001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785617880000,"timestamp_ms":1785617880000,"timestamp_seconds":1785617880,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf1e93c0"} 
[2026-08-02 02:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118100224001,"66":25538,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118100224001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:31:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:31:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118100224001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":148926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:31:20] local.INFO: GPS data processed {"connection_id":148926,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:31:20] local.INFO: Acknowledgment sent {"connection_id":148926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:31:43] local.INFO: TCP Data received {"connection_id":146373,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:31:43] local.INFO: Processing buffer {"connection_id":146373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:31:43] local.INFO: IMEI packet received {"connection_id":146373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":146373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:31:48] local.INFO: TCP Data received {"connection_id":146373,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:31:48] local.INFO: Processing buffer {"connection_id":146373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:31:48] local.INFO: IMEI packet received {"connection_id":146373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":146373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:31:49] local.INFO: TCP Data received {"connection_id":146373,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:31:49] local.INFO: Processing buffer {"connection_id":146373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:31:49] local.INFO: Packet analysis {"connection_id":146373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:31:49] local.INFO: Extracted packet for processing {"connection_id":146373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:31:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118100224001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:31:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785617880000,"timestamp_ms":1785617880000,"timestamp_seconds":1785617880,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf1e93c0"} 
[2026-08-02 02:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118100224001,"66":25538,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118100224001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:31:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:31:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:31:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118100224001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":146373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:31:49] local.INFO: GPS data processed {"connection_id":146373,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:31:49] local.INFO: Acknowledgment sent {"connection_id":146373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:32:20] local.INFO: TCP Data received {"connection_id":146373,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:32:20] local.INFO: Processing buffer {"connection_id":146373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:32:20] local.INFO: Packet analysis {"connection_id":146373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:32:20] local.INFO: Extracted packet for processing {"connection_id":146373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:32:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118100224001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785617880000,"timestamp_ms":1785617880000,"timestamp_seconds":1785617880,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf1e93c0"} 
[2026-08-02 02:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118100224001,"66":25538,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118100224001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:32:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:32:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118100224001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":146373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:32:20] local.INFO: GPS data processed {"connection_id":146373,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:32:20] local.INFO: Acknowledgment sent {"connection_id":146373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:32:42] local.INFO: TCP Data received {"connection_id":148927,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:32:42] local.INFO: Processing buffer {"connection_id":148927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:32:42] local.INFO: IMEI packet received {"connection_id":148927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":148927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:32:48] local.INFO: TCP Data received {"connection_id":148927,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:32:48] local.INFO: Processing buffer {"connection_id":148927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:32:48] local.INFO: IMEI packet received {"connection_id":148927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":148927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:32:49] local.INFO: TCP Data received {"connection_id":148927,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:32:49] local.INFO: Processing buffer {"connection_id":148927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:32:49] local.INFO: Packet analysis {"connection_id":148927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:32:49] local.INFO: Extracted packet for processing {"connection_id":148927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:32:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02: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-08-02 02:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118100224001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:32:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785617880000,"timestamp_ms":1785617880000,"timestamp_seconds":1785617880,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf1e93c0"} 
[2026-08-02 02:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02: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-08-02 02:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118100224001,"66":25538,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118100224001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:32:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:32:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:32:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118100224001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":148927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:32:49] local.INFO: GPS data processed {"connection_id":148927,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:32:49] local.INFO: Acknowledgment sent {"connection_id":148927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:33:20] local.INFO: TCP Data received {"connection_id":148927,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:33:20] local.INFO: Processing buffer {"connection_id":148927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf1e93c0012cc330c007685b20006300cd24..."} 
[2026-08-02 02:33:20] local.INFO: Packet analysis {"connection_id":148927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:33:20] local.INFO: Extracted packet for processing {"connection_id":148927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf1e"} 
[2026-08-02 02:33:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118100224001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785617880000,"timestamp_ms":1785617880000,"timestamp_seconds":1785617880,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf1e93c0"} 
[2026-08-02 02:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118100224001,"66":25538,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118100224001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:33:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:33:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118100224001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":148927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:33:21] local.INFO: GPS data processed {"connection_id":148927,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:33:21] local.INFO: Acknowledgment sent {"connection_id":148927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:33:42] local.INFO: TCP Data received {"connection_id":146606,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:33:42] local.INFO: Processing buffer {"connection_id":146606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:33:42] local.INFO: IMEI packet received {"connection_id":146606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":146606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:33:49] local.INFO: TCP Data received {"connection_id":146606,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:33:49] local.INFO: Processing buffer {"connection_id":146606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:33:49] local.INFO: IMEI packet received {"connection_id":146606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":146606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:33:50] local.INFO: TCP Data received {"connection_id":146606,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:33:50] local.INFO: Processing buffer {"connection_id":146606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:33:50] local.INFO: Packet analysis {"connection_id":146606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:33:50] local.INFO: Extracted packet for processing {"connection_id":146606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:33:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118177280001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:33:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785618181000,"timestamp_ms":1785618181000,"timestamp_seconds":1785618181,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf232b88"} 
[2026-08-02 02:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118177280001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118177280001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:33:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:33:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:33:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118177280001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":146606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:33:50] local.INFO: GPS data processed {"connection_id":146606,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:33:50] local.INFO: Acknowledgment sent {"connection_id":146606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:34:22] local.INFO: TCP Data received {"connection_id":146606,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:34:22] local.INFO: Processing buffer {"connection_id":146606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:34:22] local.INFO: Packet analysis {"connection_id":146606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:34:22] local.INFO: Extracted packet for processing {"connection_id":146606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:34:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118177280001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:34:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785618181000,"timestamp_ms":1785618181000,"timestamp_seconds":1785618181,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf232b88"} 
[2026-08-02 02:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118177280001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118177280001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:34:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:34:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:34:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118177280001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":146606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:34:22] local.INFO: GPS data processed {"connection_id":146606,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:34:22] local.INFO: Acknowledgment sent {"connection_id":146606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:34:43] local.INFO: TCP Data received {"connection_id":148928,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:34:43] local.INFO: Processing buffer {"connection_id":148928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:34:43] local.INFO: IMEI packet received {"connection_id":148928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":148928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:34:49] local.INFO: TCP Data received {"connection_id":148928,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:34:49] local.INFO: Processing buffer {"connection_id":148928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:34:49] local.INFO: IMEI packet received {"connection_id":148928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":148928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:34:50] local.INFO: TCP Data received {"connection_id":148928,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:34:50] local.INFO: Processing buffer {"connection_id":148928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:34:50] local.INFO: Packet analysis {"connection_id":148928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:34:50] local.INFO: Extracted packet for processing {"connection_id":148928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:34:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 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-08-02 02:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118177280001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:34:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785618181000,"timestamp_ms":1785618181000,"timestamp_seconds":1785618181,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf232b88"} 
[2026-08-02 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-08-02 02:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 02:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118177280001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118177280001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:34:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:34:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:34:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118177280001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":148928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:34:50] local.INFO: GPS data processed {"connection_id":148928,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:34:50] local.INFO: Acknowledgment sent {"connection_id":148928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:35:22] local.INFO: TCP Data received {"connection_id":148928,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:35:22] local.INFO: Processing buffer {"connection_id":148928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:35:22] local.INFO: Packet analysis {"connection_id":148928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:35:22] local.INFO: Extracted packet for processing {"connection_id":148928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:35:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118177280001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:35:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785618181000,"timestamp_ms":1785618181000,"timestamp_seconds":1785618181,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf232b88"} 
[2026-08-02 02:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118177280001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118177280001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:35:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:35:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:35:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118177280001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":148928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:35:22] local.INFO: GPS data processed {"connection_id":148928,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:35:22] local.INFO: Acknowledgment sent {"connection_id":148928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:35:43] local.INFO: TCP Data received {"connection_id":146374,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:35:43] local.INFO: Processing buffer {"connection_id":146374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:35:43] local.INFO: IMEI packet received {"connection_id":146374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":146374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:35:48] local.INFO: TCP Data received {"connection_id":146374,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:35:48] local.INFO: Processing buffer {"connection_id":146374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:35:48] local.INFO: IMEI packet received {"connection_id":146374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":146374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:35:49] local.INFO: TCP Data received {"connection_id":146374,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:35:49] local.INFO: Processing buffer {"connection_id":146374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:35:49] local.INFO: Packet analysis {"connection_id":146374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:35:49] local.INFO: Extracted packet for processing {"connection_id":146374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:35:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118177280001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785618181000,"timestamp_ms":1785618181000,"timestamp_seconds":1785618181,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf232b88"} 
[2026-08-02 02:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118177280001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118177280001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:35:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:35:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118177280001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":146374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:35:49] local.INFO: GPS data processed {"connection_id":146374,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:35:49] local.INFO: Acknowledgment sent {"connection_id":146374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:36:21] local.INFO: TCP Data received {"connection_id":146374,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:36:21] local.INFO: Processing buffer {"connection_id":146374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:36:21] local.INFO: Packet analysis {"connection_id":146374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:36:21] local.INFO: Extracted packet for processing {"connection_id":146374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:36:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118177280001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785618181000,"timestamp_ms":1785618181000,"timestamp_seconds":1785618181,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf232b88"} 
[2026-08-02 02:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118177280001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118177280001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:36:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:36:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118177280001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":146374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:36:21] local.INFO: GPS data processed {"connection_id":146374,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:36:21] local.INFO: Acknowledgment sent {"connection_id":146374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:36:42] local.INFO: TCP Data received {"connection_id":146607,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:36:42] local.INFO: Processing buffer {"connection_id":146607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:36:42] local.INFO: IMEI packet received {"connection_id":146607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":146607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:36:48] local.INFO: TCP Data received {"connection_id":146607,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:36:48] local.INFO: Processing buffer {"connection_id":146607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:36:48] local.INFO: IMEI packet received {"connection_id":146607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":146607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:36:49] local.INFO: TCP Data received {"connection_id":146607,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:36:49] local.INFO: Processing buffer {"connection_id":146607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:36:49] local.INFO: Packet analysis {"connection_id":146607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:36:49] local.INFO: Extracted packet for processing {"connection_id":146607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:36:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118177280001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:36:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785618181000,"timestamp_ms":1785618181000,"timestamp_seconds":1785618181,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf232b88"} 
[2026-08-02 02:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118177280001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118177280001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:36:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:36:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:36:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118177280001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":146607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:36:49] local.INFO: GPS data processed {"connection_id":146607,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:36:49] local.INFO: Acknowledgment sent {"connection_id":146607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:37:20] local.INFO: TCP Data received {"connection_id":146607,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:37:20] local.INFO: Processing buffer {"connection_id":146607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:37:20] local.INFO: Packet analysis {"connection_id":146607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:37:20] local.INFO: Extracted packet for processing {"connection_id":146607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:37:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118177280001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785618181000,"timestamp_ms":1785618181000,"timestamp_seconds":1785618181,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf232b88"} 
[2026-08-02 02:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118177280001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118177280001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:37:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:37:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118177280001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":146607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:37:20] local.INFO: GPS data processed {"connection_id":146607,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:37:20] local.INFO: Acknowledgment sent {"connection_id":146607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:37:42] local.INFO: TCP Data received {"connection_id":148929,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:37:42] local.INFO: Processing buffer {"connection_id":148929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:37:42] local.INFO: IMEI packet received {"connection_id":148929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":148929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:37:48] local.INFO: TCP Data received {"connection_id":148929,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:37:48] local.INFO: Processing buffer {"connection_id":148929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:37:48] local.INFO: IMEI packet received {"connection_id":148929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":148929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:37:49] local.INFO: TCP Data received {"connection_id":148929,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:37:49] local.INFO: Processing buffer {"connection_id":148929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:37:49] local.INFO: Packet analysis {"connection_id":148929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:37:49] local.INFO: Extracted packet for processing {"connection_id":148929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:37:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118177280001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:37:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785618181000,"timestamp_ms":1785618181000,"timestamp_seconds":1785618181,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf232b88"} 
[2026-08-02 02:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118177280001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118177280001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:37:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:37:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:37:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118177280001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":148929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:37:49] local.INFO: GPS data processed {"connection_id":148929,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:37:49] local.INFO: Acknowledgment sent {"connection_id":148929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:38:20] local.INFO: TCP Data received {"connection_id":148929,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:38:20] local.INFO: Processing buffer {"connection_id":148929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf232b88012cc330c007685b20006300cd25..."} 
[2026-08-02 02:38:20] local.INFO: Packet analysis {"connection_id":148929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:38:20] local.INFO: Extracted packet for processing {"connection_id":148929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf23"} 
[2026-08-02 02:38:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118177280001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785618181000,"timestamp_ms":1785618181000,"timestamp_seconds":1785618181,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf232b88"} 
[2026-08-02 02:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 02:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118177280001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118177280001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:38:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:38:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118177280001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":148929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:38:20] local.INFO: GPS data processed {"connection_id":148929,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:38:20] local.INFO: Acknowledgment sent {"connection_id":148929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:38:48] local.INFO: TCP Data received {"connection_id":146375,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:38:48] local.INFO: Processing buffer {"connection_id":146375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:38:48] local.INFO: IMEI packet received {"connection_id":146375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":146375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:38:53] local.INFO: TCP Data received {"connection_id":146375,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:38:53] local.INFO: Processing buffer {"connection_id":146375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:38:53] local.INFO: IMEI packet received {"connection_id":146375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":146375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:38:54] local.INFO: TCP Data received {"connection_id":146375,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:38:54] local.INFO: Processing buffer {"connection_id":146375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:38:54] local.INFO: Packet analysis {"connection_id":146375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:38:54] local.INFO: Extracted packet for processing {"connection_id":146375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:38:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118254336001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:38:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785618482000,"timestamp_ms":1785618482000,"timestamp_seconds":1785618482,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf27c350"} 
[2026-08-02 02:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118254336001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118254336001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:38:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:38:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:38:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118254336001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":146375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:38:54] local.INFO: GPS data processed {"connection_id":146375,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:38:54] local.INFO: Acknowledgment sent {"connection_id":146375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:38:58] local.INFO: TCP Data received {"connection_id":146375,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:38:58] local.INFO: Processing buffer {"connection_id":146375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:38:58] local.INFO: Packet analysis {"connection_id":146375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:38:58] local.INFO: Extracted packet for processing {"connection_id":146375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:38:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118254336001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:38:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785618482000,"timestamp_ms":1785618482000,"timestamp_seconds":1785618482,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf27c350"} 
[2026-08-02 02:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118254336001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118254336001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:38:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:38:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:38:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118254336001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":146375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:38:58] local.INFO: GPS data processed {"connection_id":146375,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:38:58] local.INFO: Acknowledgment sent {"connection_id":146375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:39:42] local.INFO: TCP Data received {"connection_id":146376,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:39:42] local.INFO: Processing buffer {"connection_id":146376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:39:42] local.INFO: IMEI packet received {"connection_id":146376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":146376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:39:48] local.INFO: TCP Data received {"connection_id":146376,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:39:48] local.INFO: Processing buffer {"connection_id":146376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:39:48] local.INFO: IMEI packet received {"connection_id":146376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":146376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:39:49] local.INFO: TCP Data received {"connection_id":146376,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:39:49] local.INFO: Processing buffer {"connection_id":146376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:39:49] local.INFO: Packet analysis {"connection_id":146376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:39:49] local.INFO: Extracted packet for processing {"connection_id":146376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:39:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118254336001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:39:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785618482000,"timestamp_ms":1785618482000,"timestamp_seconds":1785618482,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf27c350"} 
[2026-08-02 02:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118254336001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118254336001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:39:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:39:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:39:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118254336001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":146376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:39:49] local.INFO: GPS data processed {"connection_id":146376,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:39:49] local.INFO: Acknowledgment sent {"connection_id":146376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:40:20] local.INFO: TCP Data received {"connection_id":146376,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:40:20] local.INFO: Processing buffer {"connection_id":146376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:40:20] local.INFO: Packet analysis {"connection_id":146376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:40:20] local.INFO: Extracted packet for processing {"connection_id":146376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:40:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118254336001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785618482000,"timestamp_ms":1785618482000,"timestamp_seconds":1785618482,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf27c350"} 
[2026-08-02 02:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118254336001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118254336001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:40:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:40:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118254336001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":146376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:40:20] local.INFO: GPS data processed {"connection_id":146376,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:40:20] local.INFO: Acknowledgment sent {"connection_id":146376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:40:42] local.INFO: TCP Data received {"connection_id":146608,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:40:42] local.INFO: Processing buffer {"connection_id":146608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:40:42] local.INFO: IMEI packet received {"connection_id":146608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":146608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:40:49] local.INFO: TCP Data received {"connection_id":146608,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:40:49] local.INFO: Processing buffer {"connection_id":146608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:40:49] local.INFO: IMEI packet received {"connection_id":146608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":146608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:40:50] local.INFO: TCP Data received {"connection_id":146608,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:40:50] local.INFO: Processing buffer {"connection_id":146608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:40:50] local.INFO: Packet analysis {"connection_id":146608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:40:50] local.INFO: Extracted packet for processing {"connection_id":146608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:40:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118254336001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785618482000,"timestamp_ms":1785618482000,"timestamp_seconds":1785618482,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf27c350"} 
[2026-08-02 02:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118254336001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118254336001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:40:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:40:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118254336001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":146608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:40:50] local.INFO: GPS data processed {"connection_id":146608,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:40:50] local.INFO: Acknowledgment sent {"connection_id":146608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:41:22] local.INFO: TCP Data received {"connection_id":146608,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:41:22] local.INFO: Processing buffer {"connection_id":146608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:41:22] local.INFO: Packet analysis {"connection_id":146608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:41:22] local.INFO: Extracted packet for processing {"connection_id":146608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:41:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118254336001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:41:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785618482000,"timestamp_ms":1785618482000,"timestamp_seconds":1785618482,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf27c350"} 
[2026-08-02 02:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118254336001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118254336001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:41:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:41:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:41:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118254336001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":146608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:41:22] local.INFO: GPS data processed {"connection_id":146608,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:41:22] local.INFO: Acknowledgment sent {"connection_id":146608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:41:42] local.INFO: TCP Data received {"connection_id":146377,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:41:42] local.INFO: Processing buffer {"connection_id":146377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:41:42] local.INFO: IMEI packet received {"connection_id":146377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":146377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:41:48] local.INFO: TCP Data received {"connection_id":146377,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:41:48] local.INFO: Processing buffer {"connection_id":146377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:41:48] local.INFO: IMEI packet received {"connection_id":146377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":146377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:41:49] local.INFO: TCP Data received {"connection_id":146377,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:41:49] local.INFO: Processing buffer {"connection_id":146377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:41:49] local.INFO: Packet analysis {"connection_id":146377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:41:49] local.INFO: Extracted packet for processing {"connection_id":146377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:41:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118254336001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:41:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785618482000,"timestamp_ms":1785618482000,"timestamp_seconds":1785618482,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf27c350"} 
[2026-08-02 02:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118254336001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118254336001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:41:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:41:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:41:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118254336001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":146377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:41:49] local.INFO: GPS data processed {"connection_id":146377,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:41:49] local.INFO: Acknowledgment sent {"connection_id":146377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:42:20] local.INFO: TCP Data received {"connection_id":146377,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:42:20] local.INFO: Processing buffer {"connection_id":146377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:42:20] local.INFO: Packet analysis {"connection_id":146377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:42:20] local.INFO: Extracted packet for processing {"connection_id":146377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:42:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118254336001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785618482000,"timestamp_ms":1785618482000,"timestamp_seconds":1785618482,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf27c350"} 
[2026-08-02 02:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118254336001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118254336001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:42:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:42:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118254336001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":146377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:42:20] local.INFO: GPS data processed {"connection_id":146377,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:42:20] local.INFO: Acknowledgment sent {"connection_id":146377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:42:48] local.INFO: TCP Data received {"connection_id":148930,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:42:48] local.INFO: Processing buffer {"connection_id":148930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:42:48] local.INFO: IMEI packet received {"connection_id":148930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":148930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:42:53] local.INFO: TCP Data received {"connection_id":148930,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:42:53] local.INFO: Processing buffer {"connection_id":148930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:42:53] local.INFO: IMEI packet received {"connection_id":148930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":148930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:42:54] local.INFO: TCP Data received {"connection_id":148930,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:42:54] local.INFO: Processing buffer {"connection_id":148930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:42:54] local.INFO: Packet analysis {"connection_id":148930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:42:54] local.INFO: Extracted packet for processing {"connection_id":148930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:42:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118254336001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:42:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785618482000,"timestamp_ms":1785618482000,"timestamp_seconds":1785618482,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf27c350"} 
[2026-08-02 02:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118254336001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118254336001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:42:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:42:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:42:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118254336001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":148930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:42:54] local.INFO: GPS data processed {"connection_id":148930,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:42:54] local.INFO: Acknowledgment sent {"connection_id":148930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:42:58] local.INFO: TCP Data received {"connection_id":148930,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:42:58] local.INFO: Processing buffer {"connection_id":148930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf27c350012cc330c007685b20006300cd26..."} 
[2026-08-02 02:42:58] local.INFO: Packet analysis {"connection_id":148930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:42:58] local.INFO: Extracted packet for processing {"connection_id":148930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf27"} 
[2026-08-02 02:42:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118254336001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:42:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785618482000,"timestamp_ms":1785618482000,"timestamp_seconds":1785618482,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf27c350"} 
[2026-08-02 02:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118254336001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118254336001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:42:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:42:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:42:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118254336001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":148930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:42:58] local.INFO: GPS data processed {"connection_id":148930,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:42:58] local.INFO: Acknowledgment sent {"connection_id":148930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:43:41] local.INFO: TCP Data received {"connection_id":146609,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:43:41] local.INFO: Processing buffer {"connection_id":146609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:43:41] local.INFO: IMEI packet received {"connection_id":146609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":146609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:43:42] local.INFO: TCP Data received {"connection_id":146609,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:43:42] local.INFO: Processing buffer {"connection_id":146609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:43:42] local.INFO: IMEI packet received {"connection_id":146609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":146609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:43:48] local.INFO: TCP Data received {"connection_id":146609,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:43:48] local.INFO: Processing buffer {"connection_id":146609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:43:48] local.INFO: IMEI packet received {"connection_id":146609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":146609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:43:50] local.INFO: TCP Data received {"connection_id":146609,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:43:50] local.INFO: Processing buffer {"connection_id":146609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:43:50] local.INFO: Packet analysis {"connection_id":146609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:43:50] local.INFO: Extracted packet for processing {"connection_id":146609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:43:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118331392001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785618783000,"timestamp_ms":1785618783000,"timestamp_seconds":1785618783,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf2c5b18"} 
[2026-08-02 02:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118331392001,"66":25451,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118331392001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:43:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:43:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118331392001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":146609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:43:50] local.INFO: GPS data processed {"connection_id":146609,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:43:50] local.INFO: Acknowledgment sent {"connection_id":146609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:44:21] local.INFO: TCP Data received {"connection_id":146609,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:44:21] local.INFO: Processing buffer {"connection_id":146609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:44:21] local.INFO: Packet analysis {"connection_id":146609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:44:21] local.INFO: Extracted packet for processing {"connection_id":146609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:44:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118331392001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785618783000,"timestamp_ms":1785618783000,"timestamp_seconds":1785618783,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf2c5b18"} 
[2026-08-02 02:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118331392001,"66":25451,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118331392001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:44:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:44:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118331392001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":146609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:44:21] local.INFO: GPS data processed {"connection_id":146609,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:44:21] local.INFO: Acknowledgment sent {"connection_id":146609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:44:42] local.INFO: TCP Data received {"connection_id":146610,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:44:42] local.INFO: Processing buffer {"connection_id":146610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:44:42] local.INFO: IMEI packet received {"connection_id":146610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":146610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:44:48] local.INFO: TCP Data received {"connection_id":146610,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:44:48] local.INFO: Processing buffer {"connection_id":146610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:44:48] local.INFO: IMEI packet received {"connection_id":146610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":146610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:44:49] local.INFO: TCP Data received {"connection_id":146610,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:44:49] local.INFO: Processing buffer {"connection_id":146610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:44:49] local.INFO: Packet analysis {"connection_id":146610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:44:49] local.INFO: Extracted packet for processing {"connection_id":146610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:44:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118331392001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:44:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785618783000,"timestamp_ms":1785618783000,"timestamp_seconds":1785618783,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf2c5b18"} 
[2026-08-02 02:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118331392001,"66":25451,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118331392001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:44:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:44:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:44:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118331392001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":146610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:44:49] local.INFO: GPS data processed {"connection_id":146610,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:44:49] local.INFO: Acknowledgment sent {"connection_id":146610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:45:21] local.INFO: TCP Data received {"connection_id":146610,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:45:21] local.INFO: Processing buffer {"connection_id":146610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:45:21] local.INFO: Packet analysis {"connection_id":146610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:45:21] local.INFO: Extracted packet for processing {"connection_id":146610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:45:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118331392001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:45:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785618783000,"timestamp_ms":1785618783000,"timestamp_seconds":1785618783,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf2c5b18"} 
[2026-08-02 02:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118331392001,"66":25451,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118331392001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:45:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:45:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:45:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118331392001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":146610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:45:21] local.INFO: GPS data processed {"connection_id":146610,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:45:21] local.INFO: Acknowledgment sent {"connection_id":146610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:45:48] local.INFO: TCP Data received {"connection_id":148931,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:45:48] local.INFO: Processing buffer {"connection_id":148931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:45:48] local.INFO: IMEI packet received {"connection_id":148931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":148931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:45:54] local.INFO: TCP Data received {"connection_id":148931,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:45:54] local.INFO: Processing buffer {"connection_id":148931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:45:54] local.INFO: IMEI packet received {"connection_id":148931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":148931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:45:55] local.INFO: TCP Data received {"connection_id":148931,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:45:55] local.INFO: Processing buffer {"connection_id":148931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:45:55] local.INFO: Packet analysis {"connection_id":148931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:45:55] local.INFO: Extracted packet for processing {"connection_id":148931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:45:55] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118331392001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:45:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785618783000,"timestamp_ms":1785618783000,"timestamp_seconds":1785618783,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf2c5b18"} 
[2026-08-02 02:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118331392001,"66":25451,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118331392001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:45:55] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:45:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:45:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118331392001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":148931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:45:55] local.INFO: GPS data processed {"connection_id":148931,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:45:55] local.INFO: Acknowledgment sent {"connection_id":148931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:45:58] local.INFO: TCP Data received {"connection_id":148931,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:45:58] local.INFO: Processing buffer {"connection_id":148931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:45:58] local.INFO: Packet analysis {"connection_id":148931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:45:58] local.INFO: Extracted packet for processing {"connection_id":148931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:45:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118331392001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:45:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785618783000,"timestamp_ms":1785618783000,"timestamp_seconds":1785618783,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf2c5b18"} 
[2026-08-02 02:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118331392001,"66":25451,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118331392001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:45:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:45:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:45:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118331392001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":148931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:45:58] local.INFO: GPS data processed {"connection_id":148931,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:45:58] local.INFO: Acknowledgment sent {"connection_id":148931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:46:43] local.INFO: TCP Data received {"connection_id":147605,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:46:43] local.INFO: Processing buffer {"connection_id":147605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:46:43] local.INFO: IMEI packet received {"connection_id":147605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":147605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:46:49] local.INFO: TCP Data received {"connection_id":147605,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:46:49] local.INFO: Processing buffer {"connection_id":147605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:46:49] local.INFO: IMEI packet received {"connection_id":147605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":147605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:46:51] local.INFO: TCP Data received {"connection_id":147605,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:46:51] local.INFO: Processing buffer {"connection_id":147605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:46:51] local.INFO: Packet analysis {"connection_id":147605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:46:51] local.INFO: Extracted packet for processing {"connection_id":147605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:46:51] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118331392001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785618783000,"timestamp_ms":1785618783000,"timestamp_seconds":1785618783,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf2c5b18"} 
[2026-08-02 02:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118331392001,"66":25451,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118331392001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:46:51] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:46:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118331392001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":147605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:46:51] local.INFO: GPS data processed {"connection_id":147605,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:46:51] local.INFO: Acknowledgment sent {"connection_id":147605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:47:22] local.INFO: TCP Data received {"connection_id":147605,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:47:22] local.INFO: Processing buffer {"connection_id":147605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:47:22] local.INFO: Packet analysis {"connection_id":147605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:47:22] local.INFO: Extracted packet for processing {"connection_id":147605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:47:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118331392001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:47:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785618783000,"timestamp_ms":1785618783000,"timestamp_seconds":1785618783,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf2c5b18"} 
[2026-08-02 02:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118331392001,"66":25451,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118331392001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:47:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:47:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:47:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118331392001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":147605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:47:22] local.INFO: GPS data processed {"connection_id":147605,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:47:22] local.INFO: Acknowledgment sent {"connection_id":147605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:47:42] local.INFO: TCP Data received {"connection_id":146611,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:47:42] local.INFO: Processing buffer {"connection_id":146611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:47:42] local.INFO: IMEI packet received {"connection_id":146611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":146611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:47:48] local.INFO: TCP Data received {"connection_id":146611,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:47:48] local.INFO: Processing buffer {"connection_id":146611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:47:48] local.INFO: IMEI packet received {"connection_id":146611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":146611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:47:49] local.INFO: TCP Data received {"connection_id":146611,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:47:49] local.INFO: Processing buffer {"connection_id":146611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:47:49] local.INFO: Packet analysis {"connection_id":146611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:47:49] local.INFO: Extracted packet for processing {"connection_id":146611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:47:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118331392001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:47:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785618783000,"timestamp_ms":1785618783000,"timestamp_seconds":1785618783,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf2c5b18"} 
[2026-08-02 02:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118331392001,"66":25451,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118331392001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:47:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:47:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:47:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118331392001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":146611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:47:49] local.INFO: GPS data processed {"connection_id":146611,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:47:49] local.INFO: Acknowledgment sent {"connection_id":146611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:48:21] local.INFO: TCP Data received {"connection_id":146611,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:48:21] local.INFO: Processing buffer {"connection_id":146611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf2c5b18012cc330c007685b20006300cd25..."} 
[2026-08-02 02:48:21] local.INFO: Packet analysis {"connection_id":146611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:48:21] local.INFO: Extracted packet for processing {"connection_id":146611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf2c"} 
[2026-08-02 02:48:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118331392001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785618783000,"timestamp_ms":1785618783000,"timestamp_seconds":1785618783,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf2c5b18"} 
[2026-08-02 02:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02: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-08-02 02:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 02:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118331392001,"66":25451,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118331392001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:48:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:48:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118331392001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":146611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:48:21] local.INFO: GPS data processed {"connection_id":146611,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:48:21] local.INFO: Acknowledgment sent {"connection_id":146611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:48:42] local.INFO: TCP Data received {"connection_id":148932,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:48:42] local.INFO: Processing buffer {"connection_id":148932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:48:42] local.INFO: IMEI packet received {"connection_id":148932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":148932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:48:43] local.INFO: TCP Data received {"connection_id":148932,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:48:43] local.INFO: Processing buffer {"connection_id":148932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:48:43] local.INFO: IMEI packet received {"connection_id":148932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":148932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:48:58] local.INFO: TCP Data received {"connection_id":148932,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:48:58] local.INFO: Processing buffer {"connection_id":148932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:48:58] local.INFO: IMEI packet received {"connection_id":148932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":148932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:49:00] local.INFO: TCP Data received {"connection_id":148932,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:49:00] local.INFO: Processing buffer {"connection_id":148932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:49:00] local.INFO: Packet analysis {"connection_id":148932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:49:00] local.INFO: Extracted packet for processing {"connection_id":148932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:49:00] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118408448001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:49:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785619084000,"timestamp_ms":1785619084000,"timestamp_seconds":1785619084,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf30f2e0"} 
[2026-08-02 02:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 02:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118408448001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118408448001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:49:00] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:49:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:49:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118408448001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":148932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:49:00] local.INFO: GPS data processed {"connection_id":148932,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:49:00] local.INFO: Acknowledgment sent {"connection_id":148932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:49:48] local.INFO: TCP Data received {"connection_id":147606,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:49:48] local.INFO: Processing buffer {"connection_id":147606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:49:48] local.INFO: IMEI packet received {"connection_id":147606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":147606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:49:53] local.INFO: TCP Data received {"connection_id":147606,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:49:53] local.INFO: Processing buffer {"connection_id":147606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:49:53] local.INFO: IMEI packet received {"connection_id":147606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":147606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:49:54] local.INFO: TCP Data received {"connection_id":147606,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:49:54] local.INFO: Processing buffer {"connection_id":147606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:49:54] local.INFO: Packet analysis {"connection_id":147606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:49:54] local.INFO: Extracted packet for processing {"connection_id":147606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:49:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118408448001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:49:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785619084000,"timestamp_ms":1785619084000,"timestamp_seconds":1785619084,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf30f2e0"} 
[2026-08-02 02:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 02:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118408448001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118408448001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:49:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:49:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:49:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118408448001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":147606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:49:54] local.INFO: GPS data processed {"connection_id":147606,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:49:54] local.INFO: Acknowledgment sent {"connection_id":147606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:50:26] local.INFO: TCP Data received {"connection_id":147606,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:50:26] local.INFO: Processing buffer {"connection_id":147606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:50:26] local.INFO: Packet analysis {"connection_id":147606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:50:26] local.INFO: Extracted packet for processing {"connection_id":147606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:50:26] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118408448001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:50:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785619084000,"timestamp_ms":1785619084000,"timestamp_seconds":1785619084,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf30f2e0"} 
[2026-08-02 02:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 02:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118408448001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118408448001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:50:26] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:50:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:50:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118408448001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":147606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:50:26] local.INFO: GPS data processed {"connection_id":147606,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:50:26] local.INFO: Acknowledgment sent {"connection_id":147606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:50:42] local.INFO: TCP Data received {"connection_id":146612,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:50:42] local.INFO: Processing buffer {"connection_id":146612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:50:42] local.INFO: IMEI packet received {"connection_id":146612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":146612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:50:50] local.INFO: TCP Data received {"connection_id":146612,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:50:50] local.INFO: Processing buffer {"connection_id":146612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:50:50] local.INFO: IMEI packet received {"connection_id":146612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":146612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:50:52] local.INFO: TCP Data received {"connection_id":146612,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:50:52] local.INFO: Processing buffer {"connection_id":146612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:50:52] local.INFO: Packet analysis {"connection_id":146612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:50:52] local.INFO: Extracted packet for processing {"connection_id":146612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:50:52] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118408448001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:50:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785619084000,"timestamp_ms":1785619084000,"timestamp_seconds":1785619084,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf30f2e0"} 
[2026-08-02 02:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 02:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118408448001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118408448001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:50:52] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:50:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:50:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118408448001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":146612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:50:52] local.INFO: GPS data processed {"connection_id":146612,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:50:52] local.INFO: Acknowledgment sent {"connection_id":146612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:51:26] local.INFO: TCP Data received {"connection_id":146612,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:51:26] local.INFO: Processing buffer {"connection_id":146612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:51:26] local.INFO: Packet analysis {"connection_id":146612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:51:26] local.INFO: Extracted packet for processing {"connection_id":146612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:51:26] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118408448001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:51:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785619084000,"timestamp_ms":1785619084000,"timestamp_seconds":1785619084,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf30f2e0"} 
[2026-08-02 02:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 02:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118408448001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118408448001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:51:26] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:51:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:51:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118408448001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":146612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:51:26] local.INFO: GPS data processed {"connection_id":146612,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:51:26] local.INFO: Acknowledgment sent {"connection_id":146612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:51:42] local.INFO: TCP Data received {"connection_id":147607,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:51:42] local.INFO: Processing buffer {"connection_id":147607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:51:42] local.INFO: IMEI packet received {"connection_id":147607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":147607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:51:48] local.INFO: TCP Data received {"connection_id":147607,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:51:48] local.INFO: Processing buffer {"connection_id":147607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:51:48] local.INFO: IMEI packet received {"connection_id":147607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":147607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:51:49] local.INFO: TCP Data received {"connection_id":147607,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:51:49] local.INFO: Processing buffer {"connection_id":147607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:51:49] local.INFO: Packet analysis {"connection_id":147607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:51:49] local.INFO: Extracted packet for processing {"connection_id":147607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:51:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118408448001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785619084000,"timestamp_ms":1785619084000,"timestamp_seconds":1785619084,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf30f2e0"} 
[2026-08-02 02:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 02:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118408448001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118408448001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:51:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:51:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118408448001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":147607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:51:49] local.INFO: GPS data processed {"connection_id":147607,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:51:49] local.INFO: Acknowledgment sent {"connection_id":147607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:52:20] local.INFO: TCP Data received {"connection_id":147607,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:52:21] local.INFO: Processing buffer {"connection_id":147607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:52:21] local.INFO: Packet analysis {"connection_id":147607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:52:21] local.INFO: Extracted packet for processing {"connection_id":147607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:52:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118408448001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785619084000,"timestamp_ms":1785619084000,"timestamp_seconds":1785619084,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf30f2e0"} 
[2026-08-02 02:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 02:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118408448001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118408448001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:52:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:52:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118408448001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":147607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:52:21] local.INFO: GPS data processed {"connection_id":147607,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:52:21] local.INFO: Acknowledgment sent {"connection_id":147607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:52:42] local.INFO: TCP Data received {"connection_id":146613,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:52:42] local.INFO: Processing buffer {"connection_id":146613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:52:42] local.INFO: IMEI packet received {"connection_id":146613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":146613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:52:49] local.INFO: TCP Data received {"connection_id":146613,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:52:49] local.INFO: Processing buffer {"connection_id":146613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:52:49] local.INFO: IMEI packet received {"connection_id":146613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":146613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:52:50] local.INFO: TCP Data received {"connection_id":146613,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:52:50] local.INFO: Processing buffer {"connection_id":146613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:52:50] local.INFO: Packet analysis {"connection_id":146613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:52:50] local.INFO: Extracted packet for processing {"connection_id":146613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:52:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118408448001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785619084000,"timestamp_ms":1785619084000,"timestamp_seconds":1785619084,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf30f2e0"} 
[2026-08-02 02:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 02:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118408448001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118408448001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:52:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:52:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118408448001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":146613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:52:50] local.INFO: GPS data processed {"connection_id":146613,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:52:50] local.INFO: Acknowledgment sent {"connection_id":146613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:53:22] local.INFO: TCP Data received {"connection_id":146613,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:53:22] local.INFO: Processing buffer {"connection_id":146613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf30f2e0012cc330c007685b20006300cd26..."} 
[2026-08-02 02:53:22] local.INFO: Packet analysis {"connection_id":146613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:53:22] local.INFO: Extracted packet for processing {"connection_id":146613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf30"} 
[2026-08-02 02:53:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118408448001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:53:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785619084000,"timestamp_ms":1785619084000,"timestamp_seconds":1785619084,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf30f2e0"} 
[2026-08-02 02:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 02:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118408448001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 02:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118408448001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:53:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 02:53:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:53:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118408448001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":146613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:53:22] local.INFO: GPS data processed {"connection_id":146613,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:53:22] local.INFO: Acknowledgment sent {"connection_id":146613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:53:43] local.INFO: TCP Data received {"connection_id":148933,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:53:43] local.INFO: Processing buffer {"connection_id":148933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:53:43] local.INFO: IMEI packet received {"connection_id":148933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":148933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:53:48] local.INFO: TCP Data received {"connection_id":148933,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:53:48] local.INFO: Processing buffer {"connection_id":148933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:53:48] local.INFO: IMEI packet received {"connection_id":148933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":148933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:53:53] local.INFO: TCP Data received {"connection_id":148933,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:53:53] local.INFO: Processing buffer {"connection_id":148933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:53:53] local.INFO: IMEI packet received {"connection_id":148933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":148933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:53:54] local.INFO: TCP Data received {"connection_id":148933,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:53:54] local.INFO: Processing buffer {"connection_id":148933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:53:54] local.INFO: Packet analysis {"connection_id":148933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:53:54] local.INFO: Extracted packet for processing {"connection_id":148933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:53:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118485504001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:53:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785619385000,"timestamp_ms":1785619385000,"timestamp_seconds":1785619385,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf358aa8"} 
[2026-08-02 02:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 02:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118485504001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 02:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118485504001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:53:54] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 02:53:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:53:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118485504001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":148933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:53:54] local.INFO: GPS data processed {"connection_id":148933,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:53:54] local.INFO: Acknowledgment sent {"connection_id":148933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:53:58] local.INFO: TCP Data received {"connection_id":148933,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:53:58] local.INFO: Processing buffer {"connection_id":148933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:53:58] local.INFO: Packet analysis {"connection_id":148933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:53:58] local.INFO: Extracted packet for processing {"connection_id":148933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:53:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118485504001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:53:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785619385000,"timestamp_ms":1785619385000,"timestamp_seconds":1785619385,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf358aa8"} 
[2026-08-02 02:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 02:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118485504001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 02:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118485504001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:53:58] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 02:53:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:53:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118485504001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":148933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:53:58] local.INFO: GPS data processed {"connection_id":148933,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:53:58] local.INFO: Acknowledgment sent {"connection_id":148933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:54:42] local.INFO: TCP Data received {"connection_id":147608,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:54:42] local.INFO: Processing buffer {"connection_id":147608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:54:42] local.INFO: IMEI packet received {"connection_id":147608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":147608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:54:49] local.INFO: TCP Data received {"connection_id":147608,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:54:49] local.INFO: Processing buffer {"connection_id":147608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:54:49] local.INFO: IMEI packet received {"connection_id":147608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":147608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:54:50] local.INFO: TCP Data received {"connection_id":147608,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:54:50] local.INFO: Processing buffer {"connection_id":147608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:54:50] local.INFO: Packet analysis {"connection_id":147608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:54:50] local.INFO: Extracted packet for processing {"connection_id":147608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:54:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118485504001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:54:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785619385000,"timestamp_ms":1785619385000,"timestamp_seconds":1785619385,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf358aa8"} 
[2026-08-02 02:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 02:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118485504001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 02:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118485504001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:54:50] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 02:54:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:54:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118485504001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":147608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:54:50] local.INFO: GPS data processed {"connection_id":147608,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:54:50] local.INFO: Acknowledgment sent {"connection_id":147608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:55:22] local.INFO: TCP Data received {"connection_id":147608,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:55:22] local.INFO: Processing buffer {"connection_id":147608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:55:22] local.INFO: Packet analysis {"connection_id":147608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:55:22] local.INFO: Extracted packet for processing {"connection_id":147608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:55:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118485504001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:55:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785619385000,"timestamp_ms":1785619385000,"timestamp_seconds":1785619385,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf358aa8"} 
[2026-08-02 02:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 02:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118485504001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 02:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118485504001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:55:22] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 02:55:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:55:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118485504001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":147608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:55:22] local.INFO: GPS data processed {"connection_id":147608,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:55:22] local.INFO: Acknowledgment sent {"connection_id":147608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:55:42] local.INFO: TCP Data received {"connection_id":147609,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:55:42] local.INFO: Processing buffer {"connection_id":147609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:55:42] local.INFO: IMEI packet received {"connection_id":147609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":147609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:55:48] local.INFO: TCP Data received {"connection_id":147609,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:55:48] local.INFO: Processing buffer {"connection_id":147609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:55:48] local.INFO: IMEI packet received {"connection_id":147609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":147609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:55:49] local.INFO: TCP Data received {"connection_id":147609,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:55:49] local.INFO: Processing buffer {"connection_id":147609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:55:49] local.INFO: Packet analysis {"connection_id":147609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:55:49] local.INFO: Extracted packet for processing {"connection_id":147609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:55:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118485504001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:55:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785619385000,"timestamp_ms":1785619385000,"timestamp_seconds":1785619385,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf358aa8"} 
[2026-08-02 02:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 02:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118485504001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 02:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118485504001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:55:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 02:55:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:55:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118485504001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":147609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:55:49] local.INFO: GPS data processed {"connection_id":147609,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:55:49] local.INFO: Acknowledgment sent {"connection_id":147609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:56:20] local.INFO: TCP Data received {"connection_id":147609,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:56:20] local.INFO: Processing buffer {"connection_id":147609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:56:20] local.INFO: Packet analysis {"connection_id":147609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:56:20] local.INFO: Extracted packet for processing {"connection_id":147609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:56:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118485504001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785619385000,"timestamp_ms":1785619385000,"timestamp_seconds":1785619385,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf358aa8"} 
[2026-08-02 02:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 02:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118485504001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 02:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118485504001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:56:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 02:56:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118485504001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":147609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:56:20] local.INFO: GPS data processed {"connection_id":147609,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:56:20] local.INFO: Acknowledgment sent {"connection_id":147609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:56:42] local.INFO: TCP Data received {"connection_id":146378,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:56:42] local.INFO: Processing buffer {"connection_id":146378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:56:42] local.INFO: IMEI packet received {"connection_id":146378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":146378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:56:49] local.INFO: TCP Data received {"connection_id":146378,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:56:49] local.INFO: Processing buffer {"connection_id":146378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:56:49] local.INFO: IMEI packet received {"connection_id":146378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":146378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:56:50] local.INFO: TCP Data received {"connection_id":146378,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:56:50] local.INFO: Processing buffer {"connection_id":146378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:56:50] local.INFO: Packet analysis {"connection_id":146378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:56:50] local.INFO: Extracted packet for processing {"connection_id":146378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:56:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118485504001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785619385000,"timestamp_ms":1785619385000,"timestamp_seconds":1785619385,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf358aa8"} 
[2026-08-02 02:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 02:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118485504001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 02:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118485504001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:56:50] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 02:56:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118485504001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":146378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:56:50] local.INFO: GPS data processed {"connection_id":146378,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:56:50] local.INFO: Acknowledgment sent {"connection_id":146378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:57:24] local.INFO: TCP Data received {"connection_id":146378,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:57:24] local.INFO: Processing buffer {"connection_id":146378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:57:24] local.INFO: Packet analysis {"connection_id":146378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:57:24] local.INFO: Extracted packet for processing {"connection_id":146378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:57:24] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118485504001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:57:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785619385000,"timestamp_ms":1785619385000,"timestamp_seconds":1785619385,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf358aa8"} 
[2026-08-02 02:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 02:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118485504001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 02:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118485504001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:57:24] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 02:57:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:57:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118485504001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":146378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:57:24] local.INFO: GPS data processed {"connection_id":146378,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:57:24] local.INFO: Acknowledgment sent {"connection_id":146378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:57:48] local.INFO: TCP Data received {"connection_id":147610,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:57:48] local.INFO: Processing buffer {"connection_id":147610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:57:48] local.INFO: IMEI packet received {"connection_id":147610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":147610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:57:53] local.INFO: TCP Data received {"connection_id":147610,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:57:53] local.INFO: Processing buffer {"connection_id":147610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:57:53] local.INFO: IMEI packet received {"connection_id":147610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":147610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:57:54] local.INFO: TCP Data received {"connection_id":147610,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:57:54] local.INFO: Processing buffer {"connection_id":147610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:57:54] local.INFO: Packet analysis {"connection_id":147610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:57:54] local.INFO: Extracted packet for processing {"connection_id":147610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:57:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118485504001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:57:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785619385000,"timestamp_ms":1785619385000,"timestamp_seconds":1785619385,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf358aa8"} 
[2026-08-02 02:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 02:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118485504001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 02:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118485504001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:57:54] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 02:57:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:57:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118485504001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":147610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:57:54] local.INFO: GPS data processed {"connection_id":147610,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:57:54] local.INFO: Acknowledgment sent {"connection_id":147610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:57:58] local.INFO: TCP Data received {"connection_id":147610,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:57:58] local.INFO: Processing buffer {"connection_id":147610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf358aa8012cc330c007685b20006300cd27..."} 
[2026-08-02 02:57:58] local.INFO: Packet analysis {"connection_id":147610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:57:58] local.INFO: Extracted packet for processing {"connection_id":147610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf35"} 
[2026-08-02 02:57:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118485504001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:57:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785619385000,"timestamp_ms":1785619385000,"timestamp_seconds":1785619385,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf358aa8"} 
[2026-08-02 02:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 02:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118485504001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 02:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118485504001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:57:58] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 02:57:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:57:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118485504001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":147610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:57:58] local.INFO: GPS data processed {"connection_id":147610,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:57:58] local.INFO: Acknowledgment sent {"connection_id":147610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:58:43] local.INFO: TCP Data received {"connection_id":148934,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:58:43] local.INFO: Processing buffer {"connection_id":148934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:58:43] local.INFO: IMEI packet received {"connection_id":148934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":148934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:58:44] local.INFO: TCP Data received {"connection_id":148934,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:58:44] local.INFO: Processing buffer {"connection_id":148934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:58:44] local.INFO: IMEI packet received {"connection_id":148934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":148934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:58:45] local.INFO: TCP Data received {"connection_id":148934,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 02:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 02:58:45] local.INFO: Processing buffer {"connection_id":148934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 02:58:45] local.INFO: Packet analysis {"connection_id":148934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 02:58:45] local.INFO: Extracted packet for processing {"connection_id":148934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 02:58:45] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118562560001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:58:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785619686000,"timestamp_ms":1785619686000,"timestamp_seconds":1785619686,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3a2270"} 
[2026-08-02 02:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 02:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118562560001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 02:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118562560001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:58:45] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 02:58:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:58:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118562560001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":148934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:58:45] local.INFO: GPS data processed {"connection_id":148934,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:58:45] local.INFO: Acknowledgment sent {"connection_id":148934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:59:17] local.INFO: TCP Data received {"connection_id":148934,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 02:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 02:59:17] local.INFO: Processing buffer {"connection_id":148934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 02:59:17] local.INFO: Packet analysis {"connection_id":148934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 02:59:17] local.INFO: Extracted packet for processing {"connection_id":148934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 02:59:17] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118562560001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:59:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785619686000,"timestamp_ms":1785619686000,"timestamp_seconds":1785619686,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3a2270"} 
[2026-08-02 02:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 02:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118562560001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 02:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118562560001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:59:17] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 02:59:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:59:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118562560001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":148934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:59:17] local.INFO: GPS data processed {"connection_id":148934,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:59:17] local.INFO: Acknowledgment sent {"connection_id":148934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 02:59:42] local.INFO: TCP Data received {"connection_id":146379,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:59:42] local.INFO: Processing buffer {"connection_id":146379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:59:42] local.INFO: IMEI packet received {"connection_id":146379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 02:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":146379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 02:59:48] local.INFO: TCP Data received {"connection_id":146379,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:59:48] local.INFO: Processing buffer {"connection_id":146379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 02:59:48] local.INFO: IMEI packet received {"connection_id":146379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 02:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":146379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 02:59:49] local.INFO: TCP Data received {"connection_id":146379,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 02:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 02:59:49] local.INFO: Processing buffer {"connection_id":146379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 02:59:49] local.INFO: Packet analysis {"connection_id":146379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 02:59:49] local.INFO: Extracted packet for processing {"connection_id":146379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 02:59:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 02:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 02:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118562560001,"note":"Value kept but may cause issues"} 
[2026-08-02 02:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 02:59:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 02:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 02:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785619686000,"timestamp_ms":1785619686000,"timestamp_seconds":1785619686,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3a2270"} 
[2026-08-02 02:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 02:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 02:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 02:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 02:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 02:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 02:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 02:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 02:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 02:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 02:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 02:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 02:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118562560001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 02:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 02:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 02:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118562560001,"description":"Unknown IO ID 0"} 
[2026-08-02 02:59:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 02:59:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 02:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 02:59:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 02:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118562560001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 02:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":146379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 02:59:49] local.INFO: GPS data processed {"connection_id":146379,"processed":1,"errors":0,"total":1} 
[2026-08-02 02:59:49] local.INFO: Acknowledgment sent {"connection_id":146379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:00:21] local.INFO: TCP Data received {"connection_id":146379,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:00:21] local.INFO: Processing buffer {"connection_id":146379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:00:21] local.INFO: Packet analysis {"connection_id":146379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 03:00:21] local.INFO: Extracted packet for processing {"connection_id":146379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 03:00:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118562560001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785619686000,"timestamp_ms":1785619686000,"timestamp_seconds":1785619686,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3a2270"} 
[2026-08-02 03:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118562560001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118562560001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:00:21] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:00:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118562560001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":146379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:00:21] local.INFO: GPS data processed {"connection_id":146379,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:00:21] local.INFO: Acknowledgment sent {"connection_id":146379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:00:57] local.INFO: TCP Data received {"connection_id":147611,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:00:57] local.INFO: Processing buffer {"connection_id":147611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:00:57] local.INFO: IMEI packet received {"connection_id":147611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":147611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:01:03] local.INFO: TCP Data received {"connection_id":147611,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:01:03] local.INFO: Processing buffer {"connection_id":147611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:01:03] local.INFO: IMEI packet received {"connection_id":147611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":147611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:01:22] local.INFO: TCP Data received {"connection_id":147611,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:01:22] local.INFO: Processing buffer {"connection_id":147611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:01:22] local.INFO: Packet analysis {"connection_id":147611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 03:01:22] local.INFO: Extracted packet for processing {"connection_id":147611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 03:01:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118562560001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:01:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785619686000,"timestamp_ms":1785619686000,"timestamp_seconds":1785619686,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3a2270"} 
[2026-08-02 03:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118562560001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118562560001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:01:22] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:01:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:01:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118562560001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":147611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:01:22] local.INFO: GPS data processed {"connection_id":147611,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:01:22] local.INFO: Acknowledgment sent {"connection_id":147611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:01:47] local.INFO: TCP Data received {"connection_id":146614,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:01:47] local.INFO: Processing buffer {"connection_id":146614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:01:47] local.INFO: IMEI packet received {"connection_id":146614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":146614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:01:53] local.INFO: TCP Data received {"connection_id":146614,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:01:53] local.INFO: Processing buffer {"connection_id":146614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:01:53] local.INFO: IMEI packet received {"connection_id":146614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":146614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:02:03] local.INFO: TCP Data received {"connection_id":146614,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:02:03] local.INFO: Processing buffer {"connection_id":146614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:02:03] local.INFO: Packet analysis {"connection_id":146614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 03:02:03] local.INFO: Extracted packet for processing {"connection_id":146614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 03:02:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118562560001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:02:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785619686000,"timestamp_ms":1785619686000,"timestamp_seconds":1785619686,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3a2270"} 
[2026-08-02 03:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118562560001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118562560001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:02:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:02:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:02:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118562560001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":146614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:02:03] local.INFO: GPS data processed {"connection_id":146614,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:02:03] local.INFO: Acknowledgment sent {"connection_id":146614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:02:42] local.INFO: TCP Data received {"connection_id":148935,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:02:42] local.INFO: Processing buffer {"connection_id":148935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:02:42] local.INFO: IMEI packet received {"connection_id":148935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":148935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:02:48] local.INFO: TCP Data received {"connection_id":148935,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:02:48] local.INFO: Processing buffer {"connection_id":148935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:02:48] local.INFO: IMEI packet received {"connection_id":148935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":148935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:02:49] local.INFO: TCP Data received {"connection_id":148935,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:02:49] local.INFO: Processing buffer {"connection_id":148935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:02:49] local.INFO: Packet analysis {"connection_id":148935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 03:02:49] local.INFO: Extracted packet for processing {"connection_id":148935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 03:02:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118562560001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:02:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785619686000,"timestamp_ms":1785619686000,"timestamp_seconds":1785619686,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3a2270"} 
[2026-08-02 03:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118562560001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118562560001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:02:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:02:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:02:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118562560001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":148935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:02:49] local.INFO: GPS data processed {"connection_id":148935,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:02:49] local.INFO: Acknowledgment sent {"connection_id":148935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:03:21] local.INFO: TCP Data received {"connection_id":148935,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:03:21] local.INFO: Processing buffer {"connection_id":148935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3a2270012cc330c007685b20006300cd25..."} 
[2026-08-02 03:03:21] local.INFO: Packet analysis {"connection_id":148935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 03:03:21] local.INFO: Extracted packet for processing {"connection_id":148935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3a"} 
[2026-08-02 03:03:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118562560001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:03:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785619686000,"timestamp_ms":1785619686000,"timestamp_seconds":1785619686,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3a2270"} 
[2026-08-02 03:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118562560001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118562560001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:03:21] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:03:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:03:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118562560001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":148935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:03:21] local.INFO: GPS data processed {"connection_id":148935,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:03:21] local.INFO: Acknowledgment sent {"connection_id":148935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:03:45] local.INFO: TCP Data received {"connection_id":146380,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:03:45] local.INFO: Processing buffer {"connection_id":146380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:03:45] local.INFO: IMEI packet received {"connection_id":146380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":146380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:03:47] local.INFO: TCP Data received {"connection_id":146380,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:03:47] local.INFO: Processing buffer {"connection_id":146380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:03:47] local.INFO: IMEI packet received {"connection_id":146380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":146380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:03:53] local.INFO: TCP Data received {"connection_id":146380,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:03:53] local.INFO: Processing buffer {"connection_id":146380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:03:53] local.INFO: IMEI packet received {"connection_id":146380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":146380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:03:54] local.INFO: TCP Data received {"connection_id":146380,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:03:54] local.INFO: Processing buffer {"connection_id":146380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:03:54] local.INFO: Packet analysis {"connection_id":146380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:03:54] local.INFO: Extracted packet for processing {"connection_id":146380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:03:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118639616001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:03:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785619987000,"timestamp_ms":1785619987000,"timestamp_seconds":1785619987,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3eba38"} 
[2026-08-02 03:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118639616001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118639616001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:03:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:03:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:03:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118639616001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":146380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:03:54] local.INFO: GPS data processed {"connection_id":146380,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:03:54] local.INFO: Acknowledgment sent {"connection_id":146380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:04:26] local.INFO: TCP Data received {"connection_id":146380,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:04:26] local.INFO: Processing buffer {"connection_id":146380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:04:26] local.INFO: Packet analysis {"connection_id":146380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:04:26] local.INFO: Extracted packet for processing {"connection_id":146380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:04:26] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118639616001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:04:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785619987000,"timestamp_ms":1785619987000,"timestamp_seconds":1785619987,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3eba38"} 
[2026-08-02 03:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118639616001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118639616001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:04:26] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:04:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:04:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118639616001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":146380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:04:26] local.INFO: GPS data processed {"connection_id":146380,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:04:26] local.INFO: Acknowledgment sent {"connection_id":146380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:04:42] local.INFO: TCP Data received {"connection_id":147612,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:04:42] local.INFO: Processing buffer {"connection_id":147612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:04:42] local.INFO: IMEI packet received {"connection_id":147612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":147612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:04:48] local.INFO: TCP Data received {"connection_id":147612,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:04:48] local.INFO: Processing buffer {"connection_id":147612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:04:48] local.INFO: IMEI packet received {"connection_id":147612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":147612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:04:49] local.INFO: TCP Data received {"connection_id":147612,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:04:49] local.INFO: Processing buffer {"connection_id":147612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:04:49] local.INFO: Packet analysis {"connection_id":147612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:04:49] local.INFO: Extracted packet for processing {"connection_id":147612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:04:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118639616001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785619987000,"timestamp_ms":1785619987000,"timestamp_seconds":1785619987,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3eba38"} 
[2026-08-02 03:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118639616001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118639616001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:04:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:04:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118639616001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":147612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:04:49] local.INFO: GPS data processed {"connection_id":147612,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:04:49] local.INFO: Acknowledgment sent {"connection_id":147612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:05:21] local.INFO: TCP Data received {"connection_id":147612,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:05:21] local.INFO: Processing buffer {"connection_id":147612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:05:21] local.INFO: Packet analysis {"connection_id":147612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:05:21] local.INFO: Extracted packet for processing {"connection_id":147612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:05:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118639616001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785619987000,"timestamp_ms":1785619987000,"timestamp_seconds":1785619987,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3eba38"} 
[2026-08-02 03:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118639616001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118639616001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:05:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:05:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118639616001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":147612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:05:21] local.INFO: GPS data processed {"connection_id":147612,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:05:21] local.INFO: Acknowledgment sent {"connection_id":147612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:05:42] local.INFO: TCP Data received {"connection_id":146615,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:05:42] local.INFO: Processing buffer {"connection_id":146615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:05:42] local.INFO: IMEI packet received {"connection_id":146615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":146615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:05:48] local.INFO: TCP Data received {"connection_id":146615,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:05:48] local.INFO: Processing buffer {"connection_id":146615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:05:48] local.INFO: IMEI packet received {"connection_id":146615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":146615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:05:49] local.INFO: TCP Data received {"connection_id":146615,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:05:49] local.INFO: Processing buffer {"connection_id":146615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:05:49] local.INFO: Packet analysis {"connection_id":146615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:05:49] local.INFO: Extracted packet for processing {"connection_id":146615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:05:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118639616001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785619987000,"timestamp_ms":1785619987000,"timestamp_seconds":1785619987,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3eba38"} 
[2026-08-02 03:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118639616001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118639616001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:05:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:05:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118639616001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":146615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:05:49] local.INFO: GPS data processed {"connection_id":146615,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:05:49] local.INFO: Acknowledgment sent {"connection_id":146615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:06:20] local.INFO: TCP Data received {"connection_id":146615,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:06:20] local.INFO: Processing buffer {"connection_id":146615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:06:20] local.INFO: Packet analysis {"connection_id":146615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:06:20] local.INFO: Extracted packet for processing {"connection_id":146615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:06:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118639616001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785619987000,"timestamp_ms":1785619987000,"timestamp_seconds":1785619987,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3eba38"} 
[2026-08-02 03:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118639616001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118639616001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:06:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:06:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118639616001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":146615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:06:20] local.INFO: GPS data processed {"connection_id":146615,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:06:20] local.INFO: Acknowledgment sent {"connection_id":146615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:06:49] local.INFO: TCP Data received {"connection_id":148936,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:06:49] local.INFO: Processing buffer {"connection_id":148936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:06:49] local.INFO: IMEI packet received {"connection_id":148936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":148936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:06:53] local.INFO: TCP Data received {"connection_id":148936,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:06:53] local.INFO: Processing buffer {"connection_id":148936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:06:53] local.INFO: IMEI packet received {"connection_id":148936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":148936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:06:54] local.INFO: TCP Data received {"connection_id":148936,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:06:54] local.INFO: Processing buffer {"connection_id":148936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:06:54] local.INFO: Packet analysis {"connection_id":148936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:06:54] local.INFO: Extracted packet for processing {"connection_id":148936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:06:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03: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-08-02 03:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118639616001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:06:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785619987000,"timestamp_ms":1785619987000,"timestamp_seconds":1785619987,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3eba38"} 
[2026-08-02 03:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03: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-08-02 03:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118639616001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118639616001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:06:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:06:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:06:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118639616001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":148936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:06:54] local.INFO: GPS data processed {"connection_id":148936,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:06:54] local.INFO: Acknowledgment sent {"connection_id":148936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:06:58] local.INFO: TCP Data received {"connection_id":148936,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:06:58] local.INFO: Processing buffer {"connection_id":148936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:06:58] local.INFO: Packet analysis {"connection_id":148936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:06:58] local.INFO: Extracted packet for processing {"connection_id":148936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:06:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03: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-08-02 03:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118639616001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:06:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785619987000,"timestamp_ms":1785619987000,"timestamp_seconds":1785619987,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3eba38"} 
[2026-08-02 03:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03: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-08-02 03:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118639616001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118639616001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:06:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:06:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:06:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118639616001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":148936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:06:58] local.INFO: GPS data processed {"connection_id":148936,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:06:58] local.INFO: Acknowledgment sent {"connection_id":148936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:07:43] local.INFO: TCP Data received {"connection_id":146381,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:07:43] local.INFO: Processing buffer {"connection_id":146381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:07:43] local.INFO: IMEI packet received {"connection_id":146381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":146381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:07:48] local.INFO: TCP Data received {"connection_id":146381,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:07:48] local.INFO: Processing buffer {"connection_id":146381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:07:48] local.INFO: IMEI packet received {"connection_id":146381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":146381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:07:49] local.INFO: TCP Data received {"connection_id":146381,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:07:49] local.INFO: Processing buffer {"connection_id":146381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:07:49] local.INFO: Packet analysis {"connection_id":146381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:07:49] local.INFO: Extracted packet for processing {"connection_id":146381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:07:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118639616001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:07:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785619987000,"timestamp_ms":1785619987000,"timestamp_seconds":1785619987,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3eba38"} 
[2026-08-02 03:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118639616001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118639616001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:07:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:07:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:07:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118639616001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":146381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:07:49] local.INFO: GPS data processed {"connection_id":146381,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:07:49] local.INFO: Acknowledgment sent {"connection_id":146381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:07:54] local.INFO: TCP Data received {"connection_id":146381,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:07:54] local.INFO: Processing buffer {"connection_id":146381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:07:54] local.INFO: Packet analysis {"connection_id":146381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:07:54] local.INFO: Extracted packet for processing {"connection_id":146381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:07:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118639616001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:07:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785619987000,"timestamp_ms":1785619987000,"timestamp_seconds":1785619987,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3eba38"} 
[2026-08-02 03:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118639616001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118639616001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:07:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:07:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:07:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118639616001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":146381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:07:54] local.INFO: GPS data processed {"connection_id":146381,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:07:54] local.INFO: Acknowledgment sent {"connection_id":146381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:08:25] local.INFO: TCP Data received {"connection_id":146381,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:08:25] local.INFO: Processing buffer {"connection_id":146381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf3eba38012cc330c007685b20006300cd27..."} 
[2026-08-02 03:08:25] local.INFO: Packet analysis {"connection_id":146381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:08:25] local.INFO: Extracted packet for processing {"connection_id":146381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf3e"} 
[2026-08-02 03:08:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118639616001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:08:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785619987000,"timestamp_ms":1785619987000,"timestamp_seconds":1785619987,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf3eba38"} 
[2026-08-02 03:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118639616001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118639616001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:08:25] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:08:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:08:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118639616001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":146381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:08:25] local.INFO: GPS data processed {"connection_id":146381,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:08:25] local.INFO: Acknowledgment sent {"connection_id":146381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:08:43] local.INFO: TCP Data received {"connection_id":146616,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:08:43] local.INFO: Processing buffer {"connection_id":146616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:08:43] local.INFO: IMEI packet received {"connection_id":146616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":146616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:08:47] local.INFO: TCP Data received {"connection_id":146616,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:08:47] local.INFO: Processing buffer {"connection_id":146616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:08:47] local.INFO: IMEI packet received {"connection_id":146616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":146616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:08:48] local.INFO: TCP Data received {"connection_id":146616,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:08:48] local.INFO: Processing buffer {"connection_id":146616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:08:48] local.INFO: Packet analysis {"connection_id":146616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:08:48] local.INFO: Extracted packet for processing {"connection_id":146616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:08:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118716672001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:08:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785620288000,"timestamp_ms":1785620288000,"timestamp_seconds":1785620288,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf435200"} 
[2026-08-02 03:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:08: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-08-02 03:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118716672001,"66":25462,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118716672001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:08:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:08:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:08:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118716672001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":146616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:08:48] local.INFO: GPS data processed {"connection_id":146616,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:08:48] local.INFO: Acknowledgment sent {"connection_id":146616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:09:20] local.INFO: TCP Data received {"connection_id":146616,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:09:20] local.INFO: Processing buffer {"connection_id":146616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:09:20] local.INFO: Packet analysis {"connection_id":146616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:09:20] local.INFO: Extracted packet for processing {"connection_id":146616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:09:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118716672001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785620288000,"timestamp_ms":1785620288000,"timestamp_seconds":1785620288,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf435200"} 
[2026-08-02 03:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118716672001,"66":25462,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118716672001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:09:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:09:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118716672001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":146616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:09:20] local.INFO: GPS data processed {"connection_id":146616,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:09:20] local.INFO: Acknowledgment sent {"connection_id":146616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:09:42] local.INFO: TCP Data received {"connection_id":148937,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:09:42] local.INFO: Processing buffer {"connection_id":148937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:09:42] local.INFO: IMEI packet received {"connection_id":148937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":148937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:09:47] local.INFO: TCP Data received {"connection_id":148937,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:09:47] local.INFO: Processing buffer {"connection_id":148937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:09:47] local.INFO: IMEI packet received {"connection_id":148937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":148937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:09:52] local.INFO: TCP Data received {"connection_id":148937,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:09:52] local.INFO: Processing buffer {"connection_id":148937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:09:52] local.INFO: Packet analysis {"connection_id":148937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:09:52] local.INFO: Extracted packet for processing {"connection_id":148937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:09:52] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118716672001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:09:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785620288000,"timestamp_ms":1785620288000,"timestamp_seconds":1785620288,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf435200"} 
[2026-08-02 03:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118716672001,"66":25462,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118716672001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:09:52] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:09:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:09:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118716672001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":148937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:09:52] local.INFO: GPS data processed {"connection_id":148937,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:09:52] local.INFO: Acknowledgment sent {"connection_id":148937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:10:25] local.INFO: TCP Data received {"connection_id":148937,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:10:25] local.INFO: Processing buffer {"connection_id":148937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:10:25] local.INFO: Packet analysis {"connection_id":148937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:10:25] local.INFO: Extracted packet for processing {"connection_id":148937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:10:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118716672001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:10:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785620288000,"timestamp_ms":1785620288000,"timestamp_seconds":1785620288,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf435200"} 
[2026-08-02 03:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118716672001,"66":25462,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118716672001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:10:25] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:10:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:10:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118716672001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":148937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:10:25] local.INFO: GPS data processed {"connection_id":148937,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:10:25] local.INFO: Acknowledgment sent {"connection_id":148937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:10:48] local.INFO: TCP Data received {"connection_id":146617,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:10:48] local.INFO: Processing buffer {"connection_id":146617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:10:48] local.INFO: IMEI packet received {"connection_id":146617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":146617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:10:53] local.INFO: TCP Data received {"connection_id":146617,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:10:53] local.INFO: Processing buffer {"connection_id":146617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:10:53] local.INFO: IMEI packet received {"connection_id":146617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":146617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:10:54] local.INFO: TCP Data received {"connection_id":146617,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:10:54] local.INFO: Processing buffer {"connection_id":146617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:10:54] local.INFO: Packet analysis {"connection_id":146617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:10:54] local.INFO: Extracted packet for processing {"connection_id":146617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:10:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118716672001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:10:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785620288000,"timestamp_ms":1785620288000,"timestamp_seconds":1785620288,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf435200"} 
[2026-08-02 03:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118716672001,"66":25462,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118716672001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:10:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:10:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:10:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118716672001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":146617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:10:54] local.INFO: GPS data processed {"connection_id":146617,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:10:54] local.INFO: Acknowledgment sent {"connection_id":146617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:10:58] local.INFO: TCP Data received {"connection_id":146617,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:10:58] local.INFO: Processing buffer {"connection_id":146617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:10:58] local.INFO: Packet analysis {"connection_id":146617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:10:58] local.INFO: Extracted packet for processing {"connection_id":146617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:10:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118716672001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:10:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785620288000,"timestamp_ms":1785620288000,"timestamp_seconds":1785620288,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf435200"} 
[2026-08-02 03:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118716672001,"66":25462,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118716672001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:10:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:10:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:10:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118716672001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":146617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:10:58] local.INFO: GPS data processed {"connection_id":146617,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:10:58] local.INFO: Acknowledgment sent {"connection_id":146617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:11:43] local.INFO: TCP Data received {"connection_id":146382,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:11:43] local.INFO: Processing buffer {"connection_id":146382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:11:43] local.INFO: IMEI packet received {"connection_id":146382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":146382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:11:48] local.INFO: TCP Data received {"connection_id":146382,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:11:48] local.INFO: Processing buffer {"connection_id":146382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:11:48] local.INFO: IMEI packet received {"connection_id":146382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":146382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:11:49] local.INFO: TCP Data received {"connection_id":146382,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:11:49] local.INFO: Processing buffer {"connection_id":146382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:11:49] local.INFO: Packet analysis {"connection_id":146382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:11:49] local.INFO: Extracted packet for processing {"connection_id":146382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:11:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118716672001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:11:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785620288000,"timestamp_ms":1785620288000,"timestamp_seconds":1785620288,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf435200"} 
[2026-08-02 03:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118716672001,"66":25462,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118716672001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:11:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:11:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:11:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118716672001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":146382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:11:49] local.INFO: GPS data processed {"connection_id":146382,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:11:49] local.INFO: Acknowledgment sent {"connection_id":146382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:12:20] local.INFO: TCP Data received {"connection_id":146382,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:12:20] local.INFO: Processing buffer {"connection_id":146382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:12:20] local.INFO: Packet analysis {"connection_id":146382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:12:20] local.INFO: Extracted packet for processing {"connection_id":146382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:12:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118716672001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785620288000,"timestamp_ms":1785620288000,"timestamp_seconds":1785620288,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf435200"} 
[2026-08-02 03:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118716672001,"66":25462,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118716672001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:12:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:12:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118716672001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":146382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:12:20] local.INFO: GPS data processed {"connection_id":146382,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:12:20] local.INFO: Acknowledgment sent {"connection_id":146382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:12:42] local.INFO: TCP Data received {"connection_id":148938,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:12:42] local.INFO: Processing buffer {"connection_id":148938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:12:42] local.INFO: IMEI packet received {"connection_id":148938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":148938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:12:48] local.INFO: TCP Data received {"connection_id":148938,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:12:48] local.INFO: Processing buffer {"connection_id":148938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:12:48] local.INFO: IMEI packet received {"connection_id":148938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":148938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:12:49] local.INFO: TCP Data received {"connection_id":148938,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:12:49] local.INFO: Processing buffer {"connection_id":148938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:12:49] local.INFO: Packet analysis {"connection_id":148938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:12:49] local.INFO: Extracted packet for processing {"connection_id":148938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:12:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118716672001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:12:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785620288000,"timestamp_ms":1785620288000,"timestamp_seconds":1785620288,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf435200"} 
[2026-08-02 03:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118716672001,"66":25462,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118716672001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:12:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:12:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:12:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118716672001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":148938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:12:49] local.INFO: GPS data processed {"connection_id":148938,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:12:49] local.INFO: Acknowledgment sent {"connection_id":148938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:13:20] local.INFO: TCP Data received {"connection_id":148938,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:13:20] local.INFO: Processing buffer {"connection_id":148938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf435200012cc330c007685b20006300cd28..."} 
[2026-08-02 03:13:20] local.INFO: Packet analysis {"connection_id":148938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:13:20] local.INFO: Extracted packet for processing {"connection_id":148938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf43"} 
[2026-08-02 03:13:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118716672001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785620288000,"timestamp_ms":1785620288000,"timestamp_seconds":1785620288,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf435200"} 
[2026-08-02 03:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118716672001,"66":25462,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118716672001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:13:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:13:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118716672001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":148938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:13:20] local.INFO: GPS data processed {"connection_id":148938,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:13:20] local.INFO: Acknowledgment sent {"connection_id":148938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:13:42] local.INFO: TCP Data received {"connection_id":146383,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:13:42] local.INFO: Processing buffer {"connection_id":146383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:13:42] local.INFO: IMEI packet received {"connection_id":146383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":146383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:13:47] local.INFO: TCP Data received {"connection_id":146383,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:13:47] local.INFO: Processing buffer {"connection_id":146383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:13:47] local.INFO: IMEI packet received {"connection_id":146383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":146383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:13:48] local.INFO: TCP Data received {"connection_id":146383,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:13:48] local.INFO: Processing buffer {"connection_id":146383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:13:48] local.INFO: Packet analysis {"connection_id":146383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:13:48] local.INFO: Extracted packet for processing {"connection_id":146383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:13:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118793728001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:13:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785620589000,"timestamp_ms":1785620589000,"timestamp_seconds":1785620589,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf47e9c8"} 
[2026-08-02 03:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:13: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-08-02 03:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118793728001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118793728001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:13:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:13:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:13:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118793728001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":146383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:13:48] local.INFO: GPS data processed {"connection_id":146383,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:13:48] local.INFO: Acknowledgment sent {"connection_id":146383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:14:43] local.INFO: TCP Data received {"connection_id":146618,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:14:43] local.INFO: Processing buffer {"connection_id":146618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:14:43] local.INFO: IMEI packet received {"connection_id":146618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":146618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:14:48] local.INFO: TCP Data received {"connection_id":146618,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:14:48] local.INFO: Processing buffer {"connection_id":146618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:14:48] local.INFO: IMEI packet received {"connection_id":146618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":146618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:14:49] local.INFO: TCP Data received {"connection_id":146618,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:14:49] local.INFO: Processing buffer {"connection_id":146618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:14:49] local.INFO: Packet analysis {"connection_id":146618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:14:49] local.INFO: Extracted packet for processing {"connection_id":146618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:14:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118793728001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:14:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785620589000,"timestamp_ms":1785620589000,"timestamp_seconds":1785620589,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf47e9c8"} 
[2026-08-02 03:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118793728001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118793728001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:14:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:14:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:14:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118793728001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":146618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:14:49] local.INFO: GPS data processed {"connection_id":146618,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:14:49] local.INFO: Acknowledgment sent {"connection_id":146618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:15:20] local.INFO: TCP Data received {"connection_id":146618,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:15:20] local.INFO: Processing buffer {"connection_id":146618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:15:20] local.INFO: Packet analysis {"connection_id":146618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:15:20] local.INFO: Extracted packet for processing {"connection_id":146618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:15:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118793728001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:15:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785620589000,"timestamp_ms":1785620589000,"timestamp_seconds":1785620589,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf47e9c8"} 
[2026-08-02 03:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118793728001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118793728001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:15:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:15:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:15:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118793728001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":146618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:15:20] local.INFO: GPS data processed {"connection_id":146618,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:15:20] local.INFO: Acknowledgment sent {"connection_id":146618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:15:42] local.INFO: TCP Data received {"connection_id":148939,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:15:42] local.INFO: Processing buffer {"connection_id":148939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:15:42] local.INFO: IMEI packet received {"connection_id":148939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":148939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:15:48] local.INFO: TCP Data received {"connection_id":148939,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:15:48] local.INFO: Processing buffer {"connection_id":148939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:15:48] local.INFO: IMEI packet received {"connection_id":148939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":148939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:15:49] local.INFO: TCP Data received {"connection_id":148939,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:15:49] local.INFO: Processing buffer {"connection_id":148939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:15:49] local.INFO: Packet analysis {"connection_id":148939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:15:49] local.INFO: Extracted packet for processing {"connection_id":148939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:15:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118793728001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:15:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785620589000,"timestamp_ms":1785620589000,"timestamp_seconds":1785620589,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf47e9c8"} 
[2026-08-02 03:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03: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-08-02 03:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118793728001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118793728001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:15:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:15:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:15:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118793728001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":148939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:15:49] local.INFO: GPS data processed {"connection_id":148939,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:15:49] local.INFO: Acknowledgment sent {"connection_id":148939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:16:20] local.INFO: TCP Data received {"connection_id":148939,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:16:20] local.INFO: Processing buffer {"connection_id":148939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:16:20] local.INFO: Packet analysis {"connection_id":148939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:16:20] local.INFO: Extracted packet for processing {"connection_id":148939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:16:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118793728001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785620589000,"timestamp_ms":1785620589000,"timestamp_seconds":1785620589,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf47e9c8"} 
[2026-08-02 03:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118793728001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118793728001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:16:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:16:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118793728001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":148939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:16:20] local.INFO: GPS data processed {"connection_id":148939,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:16:20] local.INFO: Acknowledgment sent {"connection_id":148939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:16:42] local.INFO: TCP Data received {"connection_id":147613,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:16:42] local.INFO: Processing buffer {"connection_id":147613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:16:42] local.INFO: IMEI packet received {"connection_id":147613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":147613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:16:48] local.INFO: TCP Data received {"connection_id":147613,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:16:48] local.INFO: Processing buffer {"connection_id":147613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:16:48] local.INFO: IMEI packet received {"connection_id":147613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":147613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:16:49] local.INFO: TCP Data received {"connection_id":147613,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:16:49] local.INFO: Processing buffer {"connection_id":147613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:16:49] local.INFO: Packet analysis {"connection_id":147613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:16:49] local.INFO: Extracted packet for processing {"connection_id":147613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:16:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118793728001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785620589000,"timestamp_ms":1785620589000,"timestamp_seconds":1785620589,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf47e9c8"} 
[2026-08-02 03:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118793728001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118793728001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:16:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:16:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118793728001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":147613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:16:49] local.INFO: GPS data processed {"connection_id":147613,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:16:49] local.INFO: Acknowledgment sent {"connection_id":147613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:17:20] local.INFO: TCP Data received {"connection_id":147613,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:17:20] local.INFO: Processing buffer {"connection_id":147613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:17:20] local.INFO: Packet analysis {"connection_id":147613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:17:20] local.INFO: Extracted packet for processing {"connection_id":147613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:17:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118793728001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785620589000,"timestamp_ms":1785620589000,"timestamp_seconds":1785620589,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf47e9c8"} 
[2026-08-02 03:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118793728001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118793728001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:17:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:17:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118793728001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":147613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:17:20] local.INFO: GPS data processed {"connection_id":147613,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:17:20] local.INFO: Acknowledgment sent {"connection_id":147613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:17:42] local.INFO: TCP Data received {"connection_id":146619,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:17:42] local.INFO: Processing buffer {"connection_id":146619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:17:42] local.INFO: IMEI packet received {"connection_id":146619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":146619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:17:48] local.INFO: TCP Data received {"connection_id":146619,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:17:48] local.INFO: Processing buffer {"connection_id":146619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:17:48] local.INFO: IMEI packet received {"connection_id":146619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":146619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:17:49] local.INFO: TCP Data received {"connection_id":146619,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:17:49] local.INFO: Processing buffer {"connection_id":146619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:17:49] local.INFO: Packet analysis {"connection_id":146619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:17:49] local.INFO: Extracted packet for processing {"connection_id":146619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:17:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118793728001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:17:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785620589000,"timestamp_ms":1785620589000,"timestamp_seconds":1785620589,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf47e9c8"} 
[2026-08-02 03:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118793728001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118793728001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:17:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:17:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:17:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118793728001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":146619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:17:49] local.INFO: GPS data processed {"connection_id":146619,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:17:49] local.INFO: Acknowledgment sent {"connection_id":146619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:18:20] local.INFO: TCP Data received {"connection_id":146619,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:18:20] local.INFO: Processing buffer {"connection_id":146619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf47e9c8012cc330c007685b20006300cd26..."} 
[2026-08-02 03:18:20] local.INFO: Packet analysis {"connection_id":146619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:18:20] local.INFO: Extracted packet for processing {"connection_id":146619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf47"} 
[2026-08-02 03:18:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118793728001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785620589000,"timestamp_ms":1785620589000,"timestamp_seconds":1785620589,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf47e9c8"} 
[2026-08-02 03:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118793728001,"66":25321,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118793728001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:18:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:18:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118793728001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":146619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:18:20] local.INFO: GPS data processed {"connection_id":146619,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:18:20] local.INFO: Acknowledgment sent {"connection_id":146619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:18:48] local.INFO: TCP Data received {"connection_id":146384,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:18:48] local.INFO: Processing buffer {"connection_id":146384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:18:48] local.INFO: IMEI packet received {"connection_id":146384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":146384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:18:48] local.INFO: TCP Data received {"connection_id":146384,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:18:48] local.INFO: Processing buffer {"connection_id":146384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:18:48] local.INFO: IMEI packet received {"connection_id":146384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":146384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:18:50] local.INFO: TCP Data received {"connection_id":146384,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:18:50] local.INFO: Processing buffer {"connection_id":146384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:18:50] local.INFO: Packet analysis {"connection_id":146384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:18:50] local.INFO: Extracted packet for processing {"connection_id":146384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:18:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118870784001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:18:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785620890000,"timestamp_ms":1785620890000,"timestamp_seconds":1785620890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf4c8190"} 
[2026-08-02 03:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118870784001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118870784001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:18:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:18:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:18:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118870784001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":146384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:18:50] local.INFO: GPS data processed {"connection_id":146384,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:18:50] local.INFO: Acknowledgment sent {"connection_id":146384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:18:53] local.INFO: TCP Data received {"connection_id":146384,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:18:53] local.INFO: Processing buffer {"connection_id":146384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:18:53] local.INFO: Packet analysis {"connection_id":146384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:18:53] local.INFO: Extracted packet for processing {"connection_id":146384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:18:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118870784001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:18:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785620890000,"timestamp_ms":1785620890000,"timestamp_seconds":1785620890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf4c8190"} 
[2026-08-02 03:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118870784001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118870784001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:18:53] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:18:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:18:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118870784001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":146384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:18:53] local.INFO: GPS data processed {"connection_id":146384,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:18:53] local.INFO: Acknowledgment sent {"connection_id":146384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:19:25] local.INFO: TCP Data received {"connection_id":146384,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:19:25] local.INFO: Processing buffer {"connection_id":146384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:19:25] local.INFO: Packet analysis {"connection_id":146384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:19:25] local.INFO: Extracted packet for processing {"connection_id":146384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:19:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118870784001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:19:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785620890000,"timestamp_ms":1785620890000,"timestamp_seconds":1785620890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf4c8190"} 
[2026-08-02 03:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118870784001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118870784001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:19:25] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:19:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:19:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118870784001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":146384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:19:25] local.INFO: GPS data processed {"connection_id":146384,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:19:25] local.INFO: Acknowledgment sent {"connection_id":146384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:19:42] local.INFO: TCP Data received {"connection_id":148940,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:19:42] local.INFO: Processing buffer {"connection_id":148940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:19:42] local.INFO: IMEI packet received {"connection_id":148940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":148940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:19:48] local.INFO: TCP Data received {"connection_id":148940,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:19:48] local.INFO: Processing buffer {"connection_id":148940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:19:48] local.INFO: IMEI packet received {"connection_id":148940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":148940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:19:49] local.INFO: TCP Data received {"connection_id":148940,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:19:49] local.INFO: Processing buffer {"connection_id":148940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:19:49] local.INFO: Packet analysis {"connection_id":148940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:19:49] local.INFO: Extracted packet for processing {"connection_id":148940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:19:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118870784001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:19:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785620890000,"timestamp_ms":1785620890000,"timestamp_seconds":1785620890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf4c8190"} 
[2026-08-02 03:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03: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-08-02 03:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118870784001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118870784001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:19:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:19:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:19:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118870784001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":148940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:19:49] local.INFO: GPS data processed {"connection_id":148940,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:19:49] local.INFO: Acknowledgment sent {"connection_id":148940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:20:20] local.INFO: TCP Data received {"connection_id":148940,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:20:20] local.INFO: Processing buffer {"connection_id":148940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:20:20] local.INFO: Packet analysis {"connection_id":148940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:20:20] local.INFO: Extracted packet for processing {"connection_id":148940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:20:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118870784001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785620890000,"timestamp_ms":1785620890000,"timestamp_seconds":1785620890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf4c8190"} 
[2026-08-02 03:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118870784001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118870784001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:20:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:20:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118870784001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":148940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:20:20] local.INFO: GPS data processed {"connection_id":148940,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:20:20] local.INFO: Acknowledgment sent {"connection_id":148940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:20:47] local.INFO: TCP Data received {"connection_id":146620,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:20:47] local.INFO: Processing buffer {"connection_id":146620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:20:47] local.INFO: IMEI packet received {"connection_id":146620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":146620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:20:53] local.INFO: TCP Data received {"connection_id":146620,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:20:53] local.INFO: Processing buffer {"connection_id":146620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:20:53] local.INFO: IMEI packet received {"connection_id":146620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":146620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:21:00] local.INFO: TCP Data received {"connection_id":146620,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:21:00] local.INFO: Processing buffer {"connection_id":146620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:21:00] local.INFO: Packet analysis {"connection_id":146620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:21:00] local.INFO: Extracted packet for processing {"connection_id":146620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:21:00] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118870784001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:21:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785620890000,"timestamp_ms":1785620890000,"timestamp_seconds":1785620890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf4c8190"} 
[2026-08-02 03:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118870784001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118870784001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:21:00] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:21:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:21:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118870784001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":146620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:21:00] local.INFO: GPS data processed {"connection_id":146620,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:21:00] local.INFO: Acknowledgment sent {"connection_id":146620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:21:42] local.INFO: TCP Data received {"connection_id":147614,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:21:42] local.INFO: Processing buffer {"connection_id":147614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:21:42] local.INFO: IMEI packet received {"connection_id":147614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":147614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:21:48] local.INFO: TCP Data received {"connection_id":147614,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:21:48] local.INFO: Processing buffer {"connection_id":147614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:21:48] local.INFO: IMEI packet received {"connection_id":147614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":147614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:21:49] local.INFO: TCP Data received {"connection_id":147614,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:21:49] local.INFO: Processing buffer {"connection_id":147614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:21:49] local.INFO: Packet analysis {"connection_id":147614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:21:49] local.INFO: Extracted packet for processing {"connection_id":147614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:21:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118870784001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:21:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785620890000,"timestamp_ms":1785620890000,"timestamp_seconds":1785620890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf4c8190"} 
[2026-08-02 03:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118870784001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118870784001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:21:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:21:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:21:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118870784001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":147614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:21:49] local.INFO: GPS data processed {"connection_id":147614,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:21:49] local.INFO: Acknowledgment sent {"connection_id":147614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:22:27] local.INFO: TCP Data received {"connection_id":147614,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:22:27] local.INFO: Processing buffer {"connection_id":147614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:22:27] local.INFO: Packet analysis {"connection_id":147614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:22:27] local.INFO: Extracted packet for processing {"connection_id":147614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:22:27] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118870784001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:22:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785620890000,"timestamp_ms":1785620890000,"timestamp_seconds":1785620890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf4c8190"} 
[2026-08-02 03:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":147614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":147614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":147614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118870784001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118870784001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:22:27] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:22:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:22:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118870784001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":147614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:22:27] local.INFO: GPS data processed {"connection_id":147614,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:22:27] local.INFO: Acknowledgment sent {"connection_id":147614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:22:52] local.INFO: TCP Data received {"connection_id":146385,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:22:52] local.INFO: Processing buffer {"connection_id":146385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:22:52] local.INFO: IMEI packet received {"connection_id":146385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":146385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:22:57] local.INFO: TCP Data received {"connection_id":146385,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:22:57] local.INFO: Processing buffer {"connection_id":146385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:22:57] local.INFO: IMEI packet received {"connection_id":146385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":146385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:22:58] local.INFO: TCP Data received {"connection_id":146385,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:22:58] local.INFO: Processing buffer {"connection_id":146385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:22:58] local.INFO: Packet analysis {"connection_id":146385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:22:58] local.INFO: Extracted packet for processing {"connection_id":146385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:22:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118870784001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:22:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785620890000,"timestamp_ms":1785620890000,"timestamp_seconds":1785620890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf4c8190"} 
[2026-08-02 03:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118870784001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118870784001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:22:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:22:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:22:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118870784001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":146385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:22:58] local.INFO: GPS data processed {"connection_id":146385,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:22:58] local.INFO: Acknowledgment sent {"connection_id":146385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:23:03] local.INFO: TCP Data received {"connection_id":146385,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:23:03] local.INFO: Processing buffer {"connection_id":146385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf4c8190012cc330c007685b20006300cd27..."} 
[2026-08-02 03:23:03] local.INFO: Packet analysis {"connection_id":146385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:23:03] local.INFO: Extracted packet for processing {"connection_id":146385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf4c"} 
[2026-08-02 03:23:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118870784001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:23:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785620890000,"timestamp_ms":1785620890000,"timestamp_seconds":1785620890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf4c8190"} 
[2026-08-02 03:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 03:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118870784001,"66":25495,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118870784001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:23:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:23:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:23:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118870784001,"power":25495,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":146385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:23:03] local.INFO: GPS data processed {"connection_id":146385,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:23:03] local.INFO: Acknowledgment sent {"connection_id":146385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:23:42] local.INFO: TCP Data received {"connection_id":146621,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:23:42] local.INFO: Processing buffer {"connection_id":146621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:23:42] local.INFO: IMEI packet received {"connection_id":146621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":146621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:23:50] local.INFO: TCP Data received {"connection_id":146621,"ip":"117.224.93.208","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 03:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146621,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 03:23:50] local.INFO: Processing buffer {"connection_id":146621,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 03:23:50] local.INFO: IMEI packet received {"connection_id":146621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":146621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:24:07] local.INFO: TCP Data received {"connection_id":146621,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:24:07] local.INFO: Processing buffer {"connection_id":146621,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 03:24:07] local.INFO: IMEI packet received {"connection_id":146621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":146621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:24:08] local.INFO: TCP Data received {"connection_id":146621,"ip":"117.224.93.208","data_length":1360,"data_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146621,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:24:08] local.INFO: Processing buffer {"connection_id":146621,"buffer_length":1377,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbf..."} 
[2026-08-02 03:24:08] local.INFO: IMEI packet received {"connection_id":146621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":146621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:24:11] local.INFO: TCP Data received {"connection_id":146621,"ip":"117.224.93.208","data_length":230,"data_hex":"2cc330c007685b20006300cd2600000000000a000400ef0000715a00f0000045..."} 
[2026-08-02 03:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146621,"packet_length":230,"packet_hex":"2cc330c007685b20006300cd2600000000000a000400ef0000715a00f0000045..."} 
[2026-08-02 03:24:11] local.INFO: Processing buffer {"connection_id":146621,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:24:11] local.INFO: Packet analysis {"connection_id":146621,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:24:11] local.INFO: Extracted packet for processing {"connection_id":146621,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:24:11] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118947840001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785621191000,"timestamp_ms":1785621191000,"timestamp_seconds":1785621191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf511958"} 
[2026-08-02 03:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:24: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-08-02 03: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-08-02 03: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-08-02 03:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118947840001,"66":25473,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118947840001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:24:11] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:24:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118947840001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":146621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:24:11] local.INFO: GPS data processed {"connection_id":146621,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:24:11] local.INFO: Acknowledgment sent {"connection_id":146621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:24:11] local.INFO: Packet analysis {"connection_id":146621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:24:11] local.INFO: Extracted packet for processing {"connection_id":146621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:24:11] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118947840001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785621191000,"timestamp_ms":1785621191000,"timestamp_seconds":1785621191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf511958"} 
[2026-08-02 03:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:24: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-08-02 03: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-08-02 03: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-08-02 03:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118947840001,"66":25473,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118947840001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:24:11] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:24:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118947840001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":146621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:24:11] local.INFO: GPS data processed {"connection_id":146621,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:24:11] local.INFO: Acknowledgment sent {"connection_id":146621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:24:12] local.INFO: TCP Data received {"connection_id":146621,"ip":"117.224.93.208","data_length":1360,"data_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146621,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:24:12] local.INFO: Processing buffer {"connection_id":146621,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:24:12] local.INFO: Packet analysis {"connection_id":146621,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:24:12] local.INFO: Extracted packet for processing {"connection_id":146621,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:24:12] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118947840001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785621191000,"timestamp_ms":1785621191000,"timestamp_seconds":1785621191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf511958"} 
[2026-08-02 03:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:24: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-08-02 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:24: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-08-02 03:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118947840001,"66":25473,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118947840001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:24:12] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:24:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118947840001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":146621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:24:12] local.INFO: GPS data processed {"connection_id":146621,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:24:12] local.INFO: Acknowledgment sent {"connection_id":146621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:24:12] local.INFO: Packet analysis {"connection_id":146621,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:24:12] local.INFO: Incomplete packet, waiting for more data {"connection_id":146621,"needed":795,"available":565} 
[2026-08-02 03:24:12] local.INFO: TCP Data received {"connection_id":146621,"ip":"117.224.93.208","data_length":230,"data_hex":"2cc330c007685b20006300cd2600000000000a000400ef0000715a00f0000045..."} 
[2026-08-02 03:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146621,"packet_length":230,"packet_hex":"2cc330c007685b20006300cd2600000000000a000400ef0000715a00f0000045..."} 
[2026-08-02 03:24:12] local.INFO: Processing buffer {"connection_id":146621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:24:12] local.INFO: Packet analysis {"connection_id":146621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:24:12] local.INFO: Extracted packet for processing {"connection_id":146621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:24:12] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118947840001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785621191000,"timestamp_ms":1785621191000,"timestamp_seconds":1785621191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf511958"} 
[2026-08-02 03:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:24: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-08-02 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:24: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-08-02 03:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118947840001,"66":25473,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118947840001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:24:12] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:24:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118947840001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":146621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:24:13] local.INFO: GPS data processed {"connection_id":146621,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:24:13] local.INFO: Acknowledgment sent {"connection_id":146621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:24:47] local.INFO: TCP Data received {"connection_id":148941,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:24:47] local.INFO: Processing buffer {"connection_id":148941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:24:47] local.INFO: IMEI packet received {"connection_id":148941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":148941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:24:53] local.INFO: TCP Data received {"connection_id":148941,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:24:53] local.INFO: Processing buffer {"connection_id":148941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:24:53] local.INFO: IMEI packet received {"connection_id":148941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":148941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:24:54] local.INFO: TCP Data received {"connection_id":148941,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:24:54] local.INFO: Processing buffer {"connection_id":148941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:24:54] local.INFO: Packet analysis {"connection_id":148941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:24:54] local.INFO: Extracted packet for processing {"connection_id":148941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:24:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118947840001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785621191000,"timestamp_ms":1785621191000,"timestamp_seconds":1785621191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf511958"} 
[2026-08-02 03:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118947840001,"66":25473,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118947840001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:24:54] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:24:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:24:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118947840001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":148941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:24:54] local.INFO: GPS data processed {"connection_id":148941,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:24:54] local.INFO: Acknowledgment sent {"connection_id":148941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:25:26] local.INFO: TCP Data received {"connection_id":148941,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:25:26] local.INFO: Processing buffer {"connection_id":148941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:25:26] local.INFO: Packet analysis {"connection_id":148941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:25:26] local.INFO: Extracted packet for processing {"connection_id":148941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:25:26] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118947840001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:25:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785621191000,"timestamp_ms":1785621191000,"timestamp_seconds":1785621191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf511958"} 
[2026-08-02 03:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118947840001,"66":25473,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118947840001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:25:26] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:25:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:25:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118947840001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":148941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:25:26] local.INFO: GPS data processed {"connection_id":148941,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:25:26] local.INFO: Acknowledgment sent {"connection_id":148941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:25:54] local.INFO: TCP Data received {"connection_id":146386,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:25:54] local.INFO: Processing buffer {"connection_id":146386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:25:54] local.INFO: IMEI packet received {"connection_id":146386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":146386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:25:55] local.INFO: TCP Data received {"connection_id":146386,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:25:55] local.INFO: Processing buffer {"connection_id":146386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:25:55] local.INFO: IMEI packet received {"connection_id":146386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":146386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:25:57] local.INFO: TCP Data received {"connection_id":146386,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:25:57] local.INFO: Processing buffer {"connection_id":146386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:25:57] local.INFO: IMEI packet received {"connection_id":146386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":146386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:26:01] local.INFO: TCP Data received {"connection_id":146386,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:26:01] local.INFO: Processing buffer {"connection_id":146386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:26:01] local.INFO: Packet analysis {"connection_id":146386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:26:01] local.INFO: Extracted packet for processing {"connection_id":146386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:26:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118947840001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:26:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785621191000,"timestamp_ms":1785621191000,"timestamp_seconds":1785621191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf511958"} 
[2026-08-02 03:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118947840001,"66":25473,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118947840001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:26:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:26:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:26:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118947840001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":146386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:26:01] local.INFO: GPS data processed {"connection_id":146386,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:26:01] local.INFO: Acknowledgment sent {"connection_id":146386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:26:03] local.INFO: TCP Data received {"connection_id":146386,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:26:03] local.INFO: Processing buffer {"connection_id":146386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:26:03] local.INFO: Packet analysis {"connection_id":146386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:26:03] local.INFO: Extracted packet for processing {"connection_id":146386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:26:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118947840001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785621191000,"timestamp_ms":1785621191000,"timestamp_seconds":1785621191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf511958"} 
[2026-08-02 03:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118947840001,"66":25473,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118947840001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:26:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:26:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:26:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118947840001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":146386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:26:03] local.INFO: GPS data processed {"connection_id":146386,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:26:03] local.INFO: Acknowledgment sent {"connection_id":146386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:26:42] local.INFO: TCP Data received {"connection_id":146622,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:26:42] local.INFO: Processing buffer {"connection_id":146622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:26:42] local.INFO: IMEI packet received {"connection_id":146622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":146622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:26:50] local.INFO: TCP Data received {"connection_id":146622,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:26:50] local.INFO: Processing buffer {"connection_id":146622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:26:50] local.INFO: IMEI packet received {"connection_id":146622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":146622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:26:52] local.INFO: TCP Data received {"connection_id":146622,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:26:52] local.INFO: Processing buffer {"connection_id":146622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:26:52] local.INFO: Packet analysis {"connection_id":146622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:26:52] local.INFO: Extracted packet for processing {"connection_id":146622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:26:52] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118947840001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:26:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785621191000,"timestamp_ms":1785621191000,"timestamp_seconds":1785621191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf511958"} 
[2026-08-02 03:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118947840001,"66":25473,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118947840001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:26:52] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:26:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:26:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118947840001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":146622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:26:52] local.INFO: GPS data processed {"connection_id":146622,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:26:52] local.INFO: Acknowledgment sent {"connection_id":146622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:27:24] local.INFO: TCP Data received {"connection_id":146622,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:27:24] local.INFO: Processing buffer {"connection_id":146622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:27:24] local.INFO: Packet analysis {"connection_id":146622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:27:24] local.INFO: Extracted packet for processing {"connection_id":146622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:27:24] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118947840001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:27:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785621191000,"timestamp_ms":1785621191000,"timestamp_seconds":1785621191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf511958"} 
[2026-08-02 03:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118947840001,"66":25473,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118947840001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:27:24] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:27:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:27:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118947840001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":146622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:27:24] local.INFO: GPS data processed {"connection_id":146622,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:27:24] local.INFO: Acknowledgment sent {"connection_id":146622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:27:42] local.INFO: TCP Data received {"connection_id":146387,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:27:42] local.INFO: Processing buffer {"connection_id":146387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:27:42] local.INFO: IMEI packet received {"connection_id":146387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":146387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:27:47] local.INFO: TCP Data received {"connection_id":146387,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:27:47] local.INFO: Processing buffer {"connection_id":146387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:27:47] local.INFO: IMEI packet received {"connection_id":146387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":146387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:27:49] local.INFO: TCP Data received {"connection_id":146387,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:27:49] local.INFO: Processing buffer {"connection_id":146387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:27:49] local.INFO: Packet analysis {"connection_id":146387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:27:49] local.INFO: Extracted packet for processing {"connection_id":146387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:27:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118947840001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:27:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785621191000,"timestamp_ms":1785621191000,"timestamp_seconds":1785621191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf511958"} 
[2026-08-02 03:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118947840001,"66":25473,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118947840001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:27:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:27:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:27:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118947840001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":146387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:27:49] local.INFO: GPS data processed {"connection_id":146387,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:27:49] local.INFO: Acknowledgment sent {"connection_id":146387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:28:20] local.INFO: TCP Data received {"connection_id":146387,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:28:20] local.INFO: Processing buffer {"connection_id":146387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf511958012cc330c007685b20006300cd26..."} 
[2026-08-02 03:28:20] local.INFO: Packet analysis {"connection_id":146387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:28:20] local.INFO: Extracted packet for processing {"connection_id":146387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf51"} 
[2026-08-02 03:28:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457118947840001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785621191000,"timestamp_ms":1785621191000,"timestamp_seconds":1785621191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf511958"} 
[2026-08-02 03:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457118947840001,"66":25473,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457118947840001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:28:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:28:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457118947840001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":146387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:28:20] local.INFO: GPS data processed {"connection_id":146387,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:28:20] local.INFO: Acknowledgment sent {"connection_id":146387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:28:47] local.INFO: TCP Data received {"connection_id":147615,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:28:47] local.INFO: Processing buffer {"connection_id":147615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:28:47] local.INFO: IMEI packet received {"connection_id":147615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":147615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:28:50] local.INFO: TCP Data received {"connection_id":147615,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:28:50] local.INFO: Processing buffer {"connection_id":147615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:28:50] local.INFO: IMEI packet received {"connection_id":147615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":147615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:28:51] local.INFO: TCP Data received {"connection_id":147615,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:28:51] local.INFO: Processing buffer {"connection_id":147615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:28:51] local.INFO: Packet analysis {"connection_id":147615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:28:51] local.INFO: Extracted packet for processing {"connection_id":147615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:28:51] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119024896001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:28:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785621492000,"timestamp_ms":1785621492000,"timestamp_seconds":1785621492,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf55b120"} 
[2026-08-02 03:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119024896001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119024896001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:28:51] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:28:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:28:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119024896001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":147615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:28:51] local.INFO: GPS data processed {"connection_id":147615,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:28:51] local.INFO: Acknowledgment sent {"connection_id":147615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:29:26] local.INFO: TCP Data received {"connection_id":147615,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:29:26] local.INFO: Processing buffer {"connection_id":147615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:29:26] local.INFO: Packet analysis {"connection_id":147615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:29:26] local.INFO: Extracted packet for processing {"connection_id":147615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:29:26] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119024896001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:29:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785621492000,"timestamp_ms":1785621492000,"timestamp_seconds":1785621492,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf55b120"} 
[2026-08-02 03:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119024896001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119024896001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:29:26] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:29:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:29:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119024896001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":147615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:29:26] local.INFO: GPS data processed {"connection_id":147615,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:29:26] local.INFO: Acknowledgment sent {"connection_id":147615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:29:42] local.INFO: TCP Data received {"connection_id":146388,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:29:42] local.INFO: Processing buffer {"connection_id":146388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:29:42] local.INFO: IMEI packet received {"connection_id":146388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":146388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:29:47] local.INFO: TCP Data received {"connection_id":146388,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:29:47] local.INFO: Processing buffer {"connection_id":146388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:29:47] local.INFO: IMEI packet received {"connection_id":146388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":146388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:29:51] local.INFO: TCP Data received {"connection_id":146388,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:29:51] local.INFO: Processing buffer {"connection_id":146388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:29:51] local.INFO: Packet analysis {"connection_id":146388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:29:51] local.INFO: Extracted packet for processing {"connection_id":146388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:29:51] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119024896001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785621492000,"timestamp_ms":1785621492000,"timestamp_seconds":1785621492,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf55b120"} 
[2026-08-02 03:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119024896001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119024896001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:29:51] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:29:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119024896001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":146388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:29:51] local.INFO: GPS data processed {"connection_id":146388,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:29:51] local.INFO: Acknowledgment sent {"connection_id":146388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:30:24] local.INFO: TCP Data received {"connection_id":146388,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:30:24] local.INFO: Processing buffer {"connection_id":146388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:30:24] local.INFO: Packet analysis {"connection_id":146388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:30:24] local.INFO: Extracted packet for processing {"connection_id":146388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:30:24] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119024896001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:30:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785621492000,"timestamp_ms":1785621492000,"timestamp_seconds":1785621492,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf55b120"} 
[2026-08-02 03:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119024896001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119024896001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:30:24] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:30:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:30:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119024896001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":146388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:30:24] local.INFO: GPS data processed {"connection_id":146388,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:30:24] local.INFO: Acknowledgment sent {"connection_id":146388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:30:48] local.INFO: TCP Data received {"connection_id":146623,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:30:48] local.INFO: Processing buffer {"connection_id":146623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:30:48] local.INFO: IMEI packet received {"connection_id":146623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":146623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:30:52] local.INFO: TCP Data received {"connection_id":146623,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:30:52] local.INFO: Processing buffer {"connection_id":146623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:30:52] local.INFO: IMEI packet received {"connection_id":146623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":146623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:30:54] local.INFO: TCP Data received {"connection_id":146623,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:30:54] local.INFO: Processing buffer {"connection_id":146623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:30:54] local.INFO: Packet analysis {"connection_id":146623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:30:54] local.INFO: Extracted packet for processing {"connection_id":146623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:30:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119024896001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:30:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785621492000,"timestamp_ms":1785621492000,"timestamp_seconds":1785621492,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf55b120"} 
[2026-08-02 03:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119024896001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119024896001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:30:54] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:30:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:30:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119024896001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":146623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:30:54] local.INFO: GPS data processed {"connection_id":146623,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:30:54] local.INFO: Acknowledgment sent {"connection_id":146623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:30:58] local.INFO: TCP Data received {"connection_id":146623,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:30:58] local.INFO: Processing buffer {"connection_id":146623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:30:58] local.INFO: Packet analysis {"connection_id":146623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:30:58] local.INFO: Extracted packet for processing {"connection_id":146623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:30:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119024896001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:30:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785621492000,"timestamp_ms":1785621492000,"timestamp_seconds":1785621492,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf55b120"} 
[2026-08-02 03:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119024896001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119024896001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:30:58] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:30:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:30:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119024896001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":146623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:30:58] local.INFO: GPS data processed {"connection_id":146623,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:30:58] local.INFO: Acknowledgment sent {"connection_id":146623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:31:43] local.INFO: TCP Data received {"connection_id":148942,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:31:43] local.INFO: Processing buffer {"connection_id":148942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:31:43] local.INFO: IMEI packet received {"connection_id":148942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":148942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:31:48] local.INFO: TCP Data received {"connection_id":148942,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:31:48] local.INFO: Processing buffer {"connection_id":148942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:31:48] local.INFO: IMEI packet received {"connection_id":148942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":148942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:31:49] local.INFO: TCP Data received {"connection_id":148942,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:31:49] local.INFO: Processing buffer {"connection_id":148942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:31:49] local.INFO: Packet analysis {"connection_id":148942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:31:49] local.INFO: Extracted packet for processing {"connection_id":148942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:31:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119024896001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:31:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785621492000,"timestamp_ms":1785621492000,"timestamp_seconds":1785621492,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf55b120"} 
[2026-08-02 03:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:31: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-08-02 03:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119024896001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119024896001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:31:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:31:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:31:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119024896001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":148942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:31:49] local.INFO: GPS data processed {"connection_id":148942,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:31:49] local.INFO: Acknowledgment sent {"connection_id":148942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:32:20] local.INFO: TCP Data received {"connection_id":148942,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:32:20] local.INFO: Processing buffer {"connection_id":148942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:32:20] local.INFO: Packet analysis {"connection_id":148942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:32:20] local.INFO: Extracted packet for processing {"connection_id":148942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:32:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119024896001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785621492000,"timestamp_ms":1785621492000,"timestamp_seconds":1785621492,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf55b120"} 
[2026-08-02 03:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119024896001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119024896001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:32:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:32:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119024896001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":148942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:32:20] local.INFO: GPS data processed {"connection_id":148942,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:32:20] local.INFO: Acknowledgment sent {"connection_id":148942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:32:42] local.INFO: TCP Data received {"connection_id":146389,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:32:42] local.INFO: Processing buffer {"connection_id":146389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:32:42] local.INFO: IMEI packet received {"connection_id":146389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":146389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:32:49] local.INFO: TCP Data received {"connection_id":146389,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:32:49] local.INFO: Processing buffer {"connection_id":146389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:32:49] local.INFO: IMEI packet received {"connection_id":146389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":146389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:32:50] local.INFO: TCP Data received {"connection_id":146389,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:32:50] local.INFO: Processing buffer {"connection_id":146389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:32:50] local.INFO: Packet analysis {"connection_id":146389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:32:50] local.INFO: Extracted packet for processing {"connection_id":146389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:32:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119024896001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:32:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785621492000,"timestamp_ms":1785621492000,"timestamp_seconds":1785621492,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf55b120"} 
[2026-08-02 03:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119024896001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119024896001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:32:50] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:32:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:32:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119024896001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":146389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:32:50] local.INFO: GPS data processed {"connection_id":146389,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:32:50] local.INFO: Acknowledgment sent {"connection_id":146389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:33:21] local.INFO: TCP Data received {"connection_id":146389,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:33:21] local.INFO: Processing buffer {"connection_id":146389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:33:21] local.INFO: Packet analysis {"connection_id":146389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:33:21] local.INFO: Extracted packet for processing {"connection_id":146389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:33:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119024896001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785621492000,"timestamp_ms":1785621492000,"timestamp_seconds":1785621492,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf55b120"} 
[2026-08-02 03:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119024896001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119024896001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:33:21] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:33:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119024896001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":146389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:33:21] local.INFO: GPS data processed {"connection_id":146389,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:33:21] local.INFO: Acknowledgment sent {"connection_id":146389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:33:42] local.INFO: TCP Data received {"connection_id":147616,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:33:42] local.INFO: Processing buffer {"connection_id":147616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:33:42] local.INFO: IMEI packet received {"connection_id":147616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":147616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:33:48] local.INFO: TCP Data received {"connection_id":147616,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:33:48] local.INFO: Processing buffer {"connection_id":147616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:33:48] local.INFO: IMEI packet received {"connection_id":147616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":147616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:33:49] local.INFO: TCP Data received {"connection_id":147616,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:33:49] local.INFO: Processing buffer {"connection_id":147616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf55b120012cc330c007685b20006300cd28..."} 
[2026-08-02 03:33:49] local.INFO: Packet analysis {"connection_id":147616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:33:49] local.INFO: Extracted packet for processing {"connection_id":147616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf55"} 
[2026-08-02 03:33:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119024896001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:33:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785621492000,"timestamp_ms":1785621492000,"timestamp_seconds":1785621492,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf55b120"} 
[2026-08-02 03:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:33: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-08-02 03:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119024896001,"66":25462,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 03:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119024896001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:33:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 03:33:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:33:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119024896001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":147616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:33:49] local.INFO: GPS data processed {"connection_id":147616,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:33:49] local.INFO: Acknowledgment sent {"connection_id":147616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:34:20] local.INFO: TCP Data received {"connection_id":147616,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:34:20] local.INFO: Processing buffer {"connection_id":147616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:34:20] local.INFO: Packet analysis {"connection_id":147616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:34:20] local.INFO: Extracted packet for processing {"connection_id":147616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:34:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119101952001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785621793000,"timestamp_ms":1785621793000,"timestamp_seconds":1785621793,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5a48e8"} 
[2026-08-02 03:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119101952001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119101952001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:34:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:34:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119101952001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":147616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:34:20] local.INFO: GPS data processed {"connection_id":147616,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:34:20] local.INFO: Acknowledgment sent {"connection_id":147616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:34:43] local.INFO: TCP Data received {"connection_id":148943,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:34:43] local.INFO: Processing buffer {"connection_id":148943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:34:43] local.INFO: IMEI packet received {"connection_id":148943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":148943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:34:48] local.INFO: TCP Data received {"connection_id":148943,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:34:48] local.INFO: Processing buffer {"connection_id":148943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:34:48] local.INFO: IMEI packet received {"connection_id":148943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":148943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:34:49] local.INFO: TCP Data received {"connection_id":148943,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:34:49] local.INFO: Processing buffer {"connection_id":148943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:34:49] local.INFO: Packet analysis {"connection_id":148943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:34:49] local.INFO: Extracted packet for processing {"connection_id":148943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:34:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119101952001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:34:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785621793000,"timestamp_ms":1785621793000,"timestamp_seconds":1785621793,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5a48e8"} 
[2026-08-02 03:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119101952001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119101952001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:34:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:34:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:34:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119101952001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":148943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:34:49] local.INFO: GPS data processed {"connection_id":148943,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:34:49] local.INFO: Acknowledgment sent {"connection_id":148943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:35:20] local.INFO: TCP Data received {"connection_id":148943,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:35:20] local.INFO: Processing buffer {"connection_id":148943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:35:20] local.INFO: Packet analysis {"connection_id":148943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:35:20] local.INFO: Extracted packet for processing {"connection_id":148943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:35:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119101952001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785621793000,"timestamp_ms":1785621793000,"timestamp_seconds":1785621793,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5a48e8"} 
[2026-08-02 03:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119101952001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119101952001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:35:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:35:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119101952001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":148943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:35:20] local.INFO: GPS data processed {"connection_id":148943,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:35:20] local.INFO: Acknowledgment sent {"connection_id":148943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:35:43] local.INFO: TCP Data received {"connection_id":146624,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:35:43] local.INFO: Processing buffer {"connection_id":146624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:35:43] local.INFO: IMEI packet received {"connection_id":146624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":146624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:35:47] local.INFO: TCP Data received {"connection_id":146624,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:35:47] local.INFO: Processing buffer {"connection_id":146624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:35:47] local.INFO: IMEI packet received {"connection_id":146624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":146624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:35:49] local.INFO: TCP Data received {"connection_id":146624,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:35:49] local.INFO: Processing buffer {"connection_id":146624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:35:49] local.INFO: Packet analysis {"connection_id":146624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:35:49] local.INFO: Extracted packet for processing {"connection_id":146624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:35:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119101952001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785621793000,"timestamp_ms":1785621793000,"timestamp_seconds":1785621793,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5a48e8"} 
[2026-08-02 03:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119101952001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119101952001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:35:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:35:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119101952001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":146624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:35:49] local.INFO: GPS data processed {"connection_id":146624,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:35:49] local.INFO: Acknowledgment sent {"connection_id":146624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:36:21] local.INFO: TCP Data received {"connection_id":146624,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:36:21] local.INFO: Processing buffer {"connection_id":146624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:36:21] local.INFO: Packet analysis {"connection_id":146624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:36:21] local.INFO: Extracted packet for processing {"connection_id":146624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:36:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119101952001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785621793000,"timestamp_ms":1785621793000,"timestamp_seconds":1785621793,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5a48e8"} 
[2026-08-02 03:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119101952001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119101952001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:36:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:36:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119101952001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":146624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:36:21] local.INFO: GPS data processed {"connection_id":146624,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:36:21] local.INFO: Acknowledgment sent {"connection_id":146624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:36:43] local.INFO: TCP Data received {"connection_id":148944,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:36:43] local.INFO: Processing buffer {"connection_id":148944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:36:43] local.INFO: IMEI packet received {"connection_id":148944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":148944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:36:47] local.INFO: TCP Data received {"connection_id":148944,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:36:47] local.INFO: Processing buffer {"connection_id":148944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:36:47] local.INFO: IMEI packet received {"connection_id":148944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":148944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:36:49] local.INFO: TCP Data received {"connection_id":148944,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:36:49] local.INFO: Processing buffer {"connection_id":148944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:36:49] local.INFO: Packet analysis {"connection_id":148944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:36:49] local.INFO: Extracted packet for processing {"connection_id":148944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:36:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119101952001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:36:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785621793000,"timestamp_ms":1785621793000,"timestamp_seconds":1785621793,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5a48e8"} 
[2026-08-02 03:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119101952001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119101952001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:36:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:36:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:36:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119101952001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":148944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:36:49] local.INFO: GPS data processed {"connection_id":148944,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:36:49] local.INFO: Acknowledgment sent {"connection_id":148944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:37:21] local.INFO: TCP Data received {"connection_id":148944,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:37:21] local.INFO: Processing buffer {"connection_id":148944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:37:21] local.INFO: Packet analysis {"connection_id":148944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:37:21] local.INFO: Extracted packet for processing {"connection_id":148944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:37:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119101952001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785621793000,"timestamp_ms":1785621793000,"timestamp_seconds":1785621793,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5a48e8"} 
[2026-08-02 03:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119101952001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119101952001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:37:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:37:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119101952001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":148944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:37:21] local.INFO: GPS data processed {"connection_id":148944,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:37:21] local.INFO: Acknowledgment sent {"connection_id":148944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:37:42] local.INFO: TCP Data received {"connection_id":146390,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:37:42] local.INFO: Processing buffer {"connection_id":146390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:37:42] local.INFO: IMEI packet received {"connection_id":146390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":146390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:37:47] local.INFO: TCP Data received {"connection_id":146390,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:37:47] local.INFO: Processing buffer {"connection_id":146390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:37:47] local.INFO: IMEI packet received {"connection_id":146390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":146390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:37:49] local.INFO: TCP Data received {"connection_id":146390,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:37:49] local.INFO: Processing buffer {"connection_id":146390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:37:49] local.INFO: Packet analysis {"connection_id":146390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:37:49] local.INFO: Extracted packet for processing {"connection_id":146390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:37:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119101952001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:37:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785621793000,"timestamp_ms":1785621793000,"timestamp_seconds":1785621793,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5a48e8"} 
[2026-08-02 03:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119101952001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119101952001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:37:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:37:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:37:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119101952001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":146390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:37:49] local.INFO: GPS data processed {"connection_id":146390,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:37:49] local.INFO: Acknowledgment sent {"connection_id":146390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:38:20] local.INFO: TCP Data received {"connection_id":146390,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:38:20] local.INFO: Processing buffer {"connection_id":146390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:38:20] local.INFO: Packet analysis {"connection_id":146390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:38:20] local.INFO: Extracted packet for processing {"connection_id":146390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:38:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119101952001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785621793000,"timestamp_ms":1785621793000,"timestamp_seconds":1785621793,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5a48e8"} 
[2026-08-02 03:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119101952001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119101952001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:38:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:38:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119101952001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":146390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:38:20] local.INFO: GPS data processed {"connection_id":146390,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:38:20] local.INFO: Acknowledgment sent {"connection_id":146390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:38:42] local.INFO: TCP Data received {"connection_id":146625,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:38:42] local.INFO: Processing buffer {"connection_id":146625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:38:42] local.INFO: IMEI packet received {"connection_id":146625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":146625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:38:47] local.INFO: TCP Data received {"connection_id":146625,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:38:47] local.INFO: Processing buffer {"connection_id":146625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:38:47] local.INFO: IMEI packet received {"connection_id":146625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":146625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:38:49] local.INFO: TCP Data received {"connection_id":146625,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:38:49] local.INFO: Processing buffer {"connection_id":146625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5a48e8012cc330c007685b20006300cd28..."} 
[2026-08-02 03:38:49] local.INFO: Packet analysis {"connection_id":146625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:38:49] local.INFO: Extracted packet for processing {"connection_id":146625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5a"} 
[2026-08-02 03:38:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119101952001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:38:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785621793000,"timestamp_ms":1785621793000,"timestamp_seconds":1785621793,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5a48e8"} 
[2026-08-02 03:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 03:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119101952001,"66":25473,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119101952001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:38:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:38:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119101952001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":146625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:38:49] local.INFO: GPS data processed {"connection_id":146625,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:38:49] local.INFO: Acknowledgment sent {"connection_id":146625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:39:20] local.INFO: TCP Data received {"connection_id":146625,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:39:20] local.INFO: Processing buffer {"connection_id":146625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:39:20] local.INFO: Packet analysis {"connection_id":146625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:39:20] local.INFO: Extracted packet for processing {"connection_id":146625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:39:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119179008001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785622094000,"timestamp_ms":1785622094000,"timestamp_seconds":1785622094,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5ee0b0"} 
[2026-08-02 03:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119179008001,"66":25441,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119179008001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:39:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:39:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119179008001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":146625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:39:20] local.INFO: GPS data processed {"connection_id":146625,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:39:20] local.INFO: Acknowledgment sent {"connection_id":146625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:39:43] local.INFO: TCP Data received {"connection_id":148945,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:39:43] local.INFO: Processing buffer {"connection_id":148945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:39:43] local.INFO: IMEI packet received {"connection_id":148945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":148945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:39:47] local.INFO: TCP Data received {"connection_id":148945,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:39:47] local.INFO: Processing buffer {"connection_id":148945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:39:47] local.INFO: IMEI packet received {"connection_id":148945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":148945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:39:49] local.INFO: TCP Data received {"connection_id":148945,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:39:49] local.INFO: Processing buffer {"connection_id":148945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:39:49] local.INFO: Packet analysis {"connection_id":148945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:39:49] local.INFO: Extracted packet for processing {"connection_id":148945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:39:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119179008001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:39:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785622094000,"timestamp_ms":1785622094000,"timestamp_seconds":1785622094,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5ee0b0"} 
[2026-08-02 03:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119179008001,"66":25441,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119179008001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:39:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:39:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:39:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119179008001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":148945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:39:49] local.INFO: GPS data processed {"connection_id":148945,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:39:49] local.INFO: Acknowledgment sent {"connection_id":148945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:40:20] local.INFO: TCP Data received {"connection_id":148945,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:40:20] local.INFO: Processing buffer {"connection_id":148945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:40:20] local.INFO: Packet analysis {"connection_id":148945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:40:20] local.INFO: Extracted packet for processing {"connection_id":148945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:40:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119179008001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785622094000,"timestamp_ms":1785622094000,"timestamp_seconds":1785622094,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5ee0b0"} 
[2026-08-02 03:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119179008001,"66":25441,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119179008001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:40:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:40:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119179008001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":148945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:40:20] local.INFO: GPS data processed {"connection_id":148945,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:40:20] local.INFO: Acknowledgment sent {"connection_id":148945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:40:42] local.INFO: TCP Data received {"connection_id":146391,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:40:42] local.INFO: Processing buffer {"connection_id":146391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:40:42] local.INFO: IMEI packet received {"connection_id":146391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":146391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:40:47] local.INFO: TCP Data received {"connection_id":146391,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:40:47] local.INFO: Processing buffer {"connection_id":146391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:40:47] local.INFO: IMEI packet received {"connection_id":146391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":146391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:40:49] local.INFO: TCP Data received {"connection_id":146391,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:40:49] local.INFO: Processing buffer {"connection_id":146391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:40:49] local.INFO: Packet analysis {"connection_id":146391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:40:49] local.INFO: Extracted packet for processing {"connection_id":146391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:40:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119179008001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:40:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785622094000,"timestamp_ms":1785622094000,"timestamp_seconds":1785622094,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5ee0b0"} 
[2026-08-02 03:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119179008001,"66":25441,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119179008001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:40:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:40:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:40:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119179008001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":146391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:40:49] local.INFO: GPS data processed {"connection_id":146391,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:40:49] local.INFO: Acknowledgment sent {"connection_id":146391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:41:20] local.INFO: TCP Data received {"connection_id":146391,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:41:20] local.INFO: Processing buffer {"connection_id":146391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:41:20] local.INFO: Packet analysis {"connection_id":146391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:41:20] local.INFO: Extracted packet for processing {"connection_id":146391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:41:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119179008001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785622094000,"timestamp_ms":1785622094000,"timestamp_seconds":1785622094,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5ee0b0"} 
[2026-08-02 03:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119179008001,"66":25441,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119179008001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:41:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:41:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119179008001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":146391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:41:20] local.INFO: GPS data processed {"connection_id":146391,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:41:20] local.INFO: Acknowledgment sent {"connection_id":146391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:41:47] local.INFO: TCP Data received {"connection_id":147617,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:41:47] local.INFO: Processing buffer {"connection_id":147617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:41:47] local.INFO: IMEI packet received {"connection_id":147617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":147617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:41:52] local.INFO: TCP Data received {"connection_id":147617,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:41:52] local.INFO: Processing buffer {"connection_id":147617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:41:52] local.INFO: IMEI packet received {"connection_id":147617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":147617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:41:54] local.INFO: TCP Data received {"connection_id":147617,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:41:54] local.INFO: Processing buffer {"connection_id":147617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:41:54] local.INFO: Packet analysis {"connection_id":147617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:41:54] local.INFO: Extracted packet for processing {"connection_id":147617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:41:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119179008001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:41:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785622094000,"timestamp_ms":1785622094000,"timestamp_seconds":1785622094,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5ee0b0"} 
[2026-08-02 03:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119179008001,"66":25441,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119179008001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:41:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:41:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:41:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119179008001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":147617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:41:54] local.INFO: GPS data processed {"connection_id":147617,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:41:54] local.INFO: Acknowledgment sent {"connection_id":147617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:41:58] local.INFO: TCP Data received {"connection_id":147617,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:41:58] local.INFO: Processing buffer {"connection_id":147617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:41:58] local.INFO: Packet analysis {"connection_id":147617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:41:58] local.INFO: Extracted packet for processing {"connection_id":147617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:41:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119179008001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:41:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785622094000,"timestamp_ms":1785622094000,"timestamp_seconds":1785622094,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5ee0b0"} 
[2026-08-02 03:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119179008001,"66":25441,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119179008001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:41:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:41:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:41:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119179008001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":147617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:41:58] local.INFO: GPS data processed {"connection_id":147617,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:41:58] local.INFO: Acknowledgment sent {"connection_id":147617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:42:42] local.INFO: TCP Data received {"connection_id":147618,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:42:42] local.INFO: Processing buffer {"connection_id":147618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:42:42] local.INFO: IMEI packet received {"connection_id":147618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":147618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:42:47] local.INFO: TCP Data received {"connection_id":147618,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:42:47] local.INFO: Processing buffer {"connection_id":147618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:42:47] local.INFO: IMEI packet received {"connection_id":147618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":147618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:42:49] local.INFO: TCP Data received {"connection_id":147618,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:42:49] local.INFO: Processing buffer {"connection_id":147618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:42:49] local.INFO: Packet analysis {"connection_id":147618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:42:49] local.INFO: Extracted packet for processing {"connection_id":147618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:42:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119179008001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:42:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785622094000,"timestamp_ms":1785622094000,"timestamp_seconds":1785622094,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5ee0b0"} 
[2026-08-02 03:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119179008001,"66":25441,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119179008001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:42:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:42:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:42:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119179008001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":147618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:42:49] local.INFO: GPS data processed {"connection_id":147618,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:42:49] local.INFO: Acknowledgment sent {"connection_id":147618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:43:20] local.INFO: TCP Data received {"connection_id":147618,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:43:20] local.INFO: Processing buffer {"connection_id":147618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:43:20] local.INFO: Packet analysis {"connection_id":147618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:43:20] local.INFO: Extracted packet for processing {"connection_id":147618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:43:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119179008001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785622094000,"timestamp_ms":1785622094000,"timestamp_seconds":1785622094,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5ee0b0"} 
[2026-08-02 03:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119179008001,"66":25441,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119179008001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:43:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:43:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119179008001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":147618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:43:20] local.INFO: GPS data processed {"connection_id":147618,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:43:20] local.INFO: Acknowledgment sent {"connection_id":147618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:43:43] local.INFO: TCP Data received {"connection_id":146392,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:43:43] local.INFO: Processing buffer {"connection_id":146392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:43:43] local.INFO: IMEI packet received {"connection_id":146392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":146392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:43:47] local.INFO: TCP Data received {"connection_id":146392,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:43:47] local.INFO: Processing buffer {"connection_id":146392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:43:47] local.INFO: IMEI packet received {"connection_id":146392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":146392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:43:49] local.INFO: TCP Data received {"connection_id":146392,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:43:49] local.INFO: Processing buffer {"connection_id":146392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf5ee0b0012cc330c007685b20006300cd2b..."} 
[2026-08-02 03:43:49] local.INFO: Packet analysis {"connection_id":146392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:43:49] local.INFO: Extracted packet for processing {"connection_id":146392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf5e"} 
[2026-08-02 03:43:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":99,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119179008001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:43:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785622094000,"timestamp_ms":1785622094000,"timestamp_seconds":1785622094,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf5ee0b0"} 
[2026-08-02 03:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119179008001,"66":25441,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 03:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119179008001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:43:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 03:43:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:43:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119179008001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":146392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:43:49] local.INFO: GPS data processed {"connection_id":146392,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:43:49] local.INFO: Acknowledgment sent {"connection_id":146392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:44:20] local.INFO: TCP Data received {"connection_id":146392,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:44:20] local.INFO: Processing buffer {"connection_id":146392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:44:20] local.INFO: Packet analysis {"connection_id":146392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:44:20] local.INFO: Extracted packet for processing {"connection_id":146392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:44:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119256064001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785622395000,"timestamp_ms":1785622395000,"timestamp_seconds":1785622395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf637878"} 
[2026-08-02 03:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 03:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119256064001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119256064001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:44:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:44:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119256064001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":146392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:44:20] local.INFO: GPS data processed {"connection_id":146392,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:44:20] local.INFO: Acknowledgment sent {"connection_id":146392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:44:42] local.INFO: TCP Data received {"connection_id":146393,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:44:42] local.INFO: Processing buffer {"connection_id":146393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:44:42] local.INFO: IMEI packet received {"connection_id":146393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":146393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:44:47] local.INFO: TCP Data received {"connection_id":146393,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:44:47] local.INFO: Processing buffer {"connection_id":146393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:44:47] local.INFO: IMEI packet received {"connection_id":146393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":146393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:44:49] local.INFO: TCP Data received {"connection_id":146393,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:44:49] local.INFO: Processing buffer {"connection_id":146393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:44:49] local.INFO: Packet analysis {"connection_id":146393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:44:49] local.INFO: Extracted packet for processing {"connection_id":146393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:44:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119256064001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:44:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785622395000,"timestamp_ms":1785622395000,"timestamp_seconds":1785622395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf637878"} 
[2026-08-02 03:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:44: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-08-02 03:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 03:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119256064001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119256064001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:44:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:44:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:44:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119256064001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":146393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:44:49] local.INFO: GPS data processed {"connection_id":146393,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:44:49] local.INFO: Acknowledgment sent {"connection_id":146393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:45:20] local.INFO: TCP Data received {"connection_id":146393,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:45:20] local.INFO: Processing buffer {"connection_id":146393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:45:20] local.INFO: Packet analysis {"connection_id":146393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:45:20] local.INFO: Extracted packet for processing {"connection_id":146393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:45:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119256064001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785622395000,"timestamp_ms":1785622395000,"timestamp_seconds":1785622395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf637878"} 
[2026-08-02 03:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 03:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119256064001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119256064001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:45:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:45:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119256064001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":146393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:45:20] local.INFO: GPS data processed {"connection_id":146393,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:45:20] local.INFO: Acknowledgment sent {"connection_id":146393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:45:42] local.INFO: TCP Data received {"connection_id":148946,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:45:42] local.INFO: Processing buffer {"connection_id":148946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:45:42] local.INFO: IMEI packet received {"connection_id":148946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":148946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:45:47] local.INFO: TCP Data received {"connection_id":148946,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:45:47] local.INFO: Processing buffer {"connection_id":148946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:45:47] local.INFO: IMEI packet received {"connection_id":148946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":148946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:45:48] local.INFO: TCP Data received {"connection_id":148946,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:45:48] local.INFO: Processing buffer {"connection_id":148946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:45:48] local.INFO: Packet analysis {"connection_id":148946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:45:48] local.INFO: Extracted packet for processing {"connection_id":148946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:45:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119256064001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:45:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785622395000,"timestamp_ms":1785622395000,"timestamp_seconds":1785622395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf637878"} 
[2026-08-02 03:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 03:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119256064001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119256064001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:45:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:45:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:45:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119256064001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":148946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:45:48] local.INFO: GPS data processed {"connection_id":148946,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:45:48] local.INFO: Acknowledgment sent {"connection_id":148946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:46:25] local.INFO: TCP Data received {"connection_id":148946,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:46:25] local.INFO: Processing buffer {"connection_id":148946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:46:25] local.INFO: Packet analysis {"connection_id":148946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:46:25] local.INFO: Extracted packet for processing {"connection_id":148946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:46:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119256064001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:46:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785622395000,"timestamp_ms":1785622395000,"timestamp_seconds":1785622395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf637878"} 
[2026-08-02 03:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 03:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119256064001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119256064001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:46:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:46:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:46:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119256064001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":148946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:46:25] local.INFO: GPS data processed {"connection_id":148946,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:46:25] local.INFO: Acknowledgment sent {"connection_id":148946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:46:47] local.INFO: TCP Data received {"connection_id":146394,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:46:47] local.INFO: Processing buffer {"connection_id":146394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:46:47] local.INFO: IMEI packet received {"connection_id":146394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":146394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:46:52] local.INFO: TCP Data received {"connection_id":146394,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:46:52] local.INFO: Processing buffer {"connection_id":146394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:46:52] local.INFO: IMEI packet received {"connection_id":146394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":146394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:46:54] local.INFO: TCP Data received {"connection_id":146394,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:46:54] local.INFO: Processing buffer {"connection_id":146394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:46:54] local.INFO: Packet analysis {"connection_id":146394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:46:54] local.INFO: Extracted packet for processing {"connection_id":146394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:46:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03: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-08-02 03:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119256064001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:46:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785622395000,"timestamp_ms":1785622395000,"timestamp_seconds":1785622395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf637878"} 
[2026-08-02 03:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 03:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03: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-08-02 03:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119256064001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119256064001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:46:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:46:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:46:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119256064001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":146394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:46:54] local.INFO: GPS data processed {"connection_id":146394,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:46:54] local.INFO: Acknowledgment sent {"connection_id":146394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:46:58] local.INFO: TCP Data received {"connection_id":146394,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:46:58] local.INFO: Processing buffer {"connection_id":146394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:46:58] local.INFO: Packet analysis {"connection_id":146394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:46:58] local.INFO: Extracted packet for processing {"connection_id":146394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:46:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119256064001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:46:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785622395000,"timestamp_ms":1785622395000,"timestamp_seconds":1785622395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf637878"} 
[2026-08-02 03:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 03:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119256064001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119256064001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:46:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:46:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:46:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119256064001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":146394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:46:58] local.INFO: GPS data processed {"connection_id":146394,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:46:58] local.INFO: Acknowledgment sent {"connection_id":146394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:47:43] local.INFO: TCP Data received {"connection_id":148947,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:47:43] local.INFO: Processing buffer {"connection_id":148947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:47:43] local.INFO: IMEI packet received {"connection_id":148947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":148947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:47:48] local.INFO: TCP Data received {"connection_id":148947,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:47:48] local.INFO: Processing buffer {"connection_id":148947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:47:48] local.INFO: IMEI packet received {"connection_id":148947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":148947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:47:49] local.INFO: TCP Data received {"connection_id":148947,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:47:49] local.INFO: Processing buffer {"connection_id":148947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:47:49] local.INFO: Packet analysis {"connection_id":148947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:47:49] local.INFO: Extracted packet for processing {"connection_id":148947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:47:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119256064001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:47:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785622395000,"timestamp_ms":1785622395000,"timestamp_seconds":1785622395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf637878"} 
[2026-08-02 03:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:47: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-08-02 03:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 03:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119256064001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119256064001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:47:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:47:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:47:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119256064001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":148947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:47:49] local.INFO: GPS data processed {"connection_id":148947,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:47:49] local.INFO: Acknowledgment sent {"connection_id":148947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:48:20] local.INFO: TCP Data received {"connection_id":148947,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:48:20] local.INFO: Processing buffer {"connection_id":148947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:48:20] local.INFO: Packet analysis {"connection_id":148947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:48:20] local.INFO: Extracted packet for processing {"connection_id":148947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:48:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119256064001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785622395000,"timestamp_ms":1785622395000,"timestamp_seconds":1785622395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf637878"} 
[2026-08-02 03:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 03:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119256064001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119256064001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:48:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:48:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119256064001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":148947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:48:20] local.INFO: GPS data processed {"connection_id":148947,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:48:20] local.INFO: Acknowledgment sent {"connection_id":148947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:48:42] local.INFO: TCP Data received {"connection_id":147619,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:48:42] local.INFO: Processing buffer {"connection_id":147619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:48:42] local.INFO: IMEI packet received {"connection_id":147619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":147619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:48:48] local.INFO: TCP Data received {"connection_id":147619,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:48:48] local.INFO: Processing buffer {"connection_id":147619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:48:48] local.INFO: IMEI packet received {"connection_id":147619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":147619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:48:49] local.INFO: TCP Data received {"connection_id":147619,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:48:49] local.INFO: Processing buffer {"connection_id":147619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf637878012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:48:49] local.INFO: Packet analysis {"connection_id":147619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:48:49] local.INFO: Extracted packet for processing {"connection_id":147619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf63"} 
[2026-08-02 03:48:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119256064001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:48:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785622395000,"timestamp_ms":1785622395000,"timestamp_seconds":1785622395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf637878"} 
[2026-08-02 03:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:48: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-08-02 03:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 03:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119256064001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119256064001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:48:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:48:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:48:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119256064001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":147619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:48:49] local.INFO: GPS data processed {"connection_id":147619,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:48:49] local.INFO: Acknowledgment sent {"connection_id":147619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:49:21] local.INFO: TCP Data received {"connection_id":147619,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:49:21] local.INFO: Processing buffer {"connection_id":147619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:49:21] local.INFO: Packet analysis {"connection_id":147619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:49:21] local.INFO: Extracted packet for processing {"connection_id":147619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:49:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119333120001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785622697000,"timestamp_ms":1785622697000,"timestamp_seconds":1785622697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf681428"} 
[2026-08-02 03:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119333120001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119333120001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:49:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:49:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119333120001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":147619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:49:21] local.INFO: GPS data processed {"connection_id":147619,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:49:21] local.INFO: Acknowledgment sent {"connection_id":147619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:49:48] local.INFO: TCP Data received {"connection_id":148948,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:49:48] local.INFO: Processing buffer {"connection_id":148948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:49:48] local.INFO: IMEI packet received {"connection_id":148948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":148948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:49:53] local.INFO: TCP Data received {"connection_id":148948,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:49:53] local.INFO: Processing buffer {"connection_id":148948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:49:53] local.INFO: IMEI packet received {"connection_id":148948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":148948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:49:54] local.INFO: TCP Data received {"connection_id":148948,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:49:54] local.INFO: Processing buffer {"connection_id":148948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:49:54] local.INFO: Packet analysis {"connection_id":148948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:49:54] local.INFO: Extracted packet for processing {"connection_id":148948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:49:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119333120001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:49:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785622697000,"timestamp_ms":1785622697000,"timestamp_seconds":1785622697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf681428"} 
[2026-08-02 03:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119333120001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119333120001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:49:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:49:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:49:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119333120001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":148948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:49:54] local.INFO: GPS data processed {"connection_id":148948,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:49:54] local.INFO: Acknowledgment sent {"connection_id":148948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:49:58] local.INFO: TCP Data received {"connection_id":148948,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:49:58] local.INFO: Processing buffer {"connection_id":148948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:49:58] local.INFO: Packet analysis {"connection_id":148948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:49:58] local.INFO: Extracted packet for processing {"connection_id":148948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:49:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119333120001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:49:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785622697000,"timestamp_ms":1785622697000,"timestamp_seconds":1785622697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf681428"} 
[2026-08-02 03:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119333120001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119333120001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:49:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:49:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:49:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119333120001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":148948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:49:58] local.INFO: GPS data processed {"connection_id":148948,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:49:58] local.INFO: Acknowledgment sent {"connection_id":148948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:50:42] local.INFO: TCP Data received {"connection_id":147620,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:50:42] local.INFO: Processing buffer {"connection_id":147620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:50:42] local.INFO: IMEI packet received {"connection_id":147620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":147620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:50:48] local.INFO: TCP Data received {"connection_id":147620,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:50:48] local.INFO: Processing buffer {"connection_id":147620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:50:48] local.INFO: IMEI packet received {"connection_id":147620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":147620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:50:49] local.INFO: TCP Data received {"connection_id":147620,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:50:49] local.INFO: Processing buffer {"connection_id":147620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:50:49] local.INFO: Packet analysis {"connection_id":147620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:50:49] local.INFO: Extracted packet for processing {"connection_id":147620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:50:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119333120001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:50:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785622697000,"timestamp_ms":1785622697000,"timestamp_seconds":1785622697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf681428"} 
[2026-08-02 03:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119333120001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119333120001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:50:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:50:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:50:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119333120001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":147620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:50:49] local.INFO: GPS data processed {"connection_id":147620,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:50:49] local.INFO: Acknowledgment sent {"connection_id":147620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:51:25] local.INFO: TCP Data received {"connection_id":147620,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:51:25] local.INFO: Processing buffer {"connection_id":147620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:51:25] local.INFO: Packet analysis {"connection_id":147620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:51:25] local.INFO: Extracted packet for processing {"connection_id":147620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:51:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119333120001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:51:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785622697000,"timestamp_ms":1785622697000,"timestamp_seconds":1785622697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf681428"} 
[2026-08-02 03:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119333120001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119333120001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:51:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:51:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:51:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119333120001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":147620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:51:25] local.INFO: GPS data processed {"connection_id":147620,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:51:25] local.INFO: Acknowledgment sent {"connection_id":147620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:51:43] local.INFO: TCP Data received {"connection_id":146626,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:51:43] local.INFO: Processing buffer {"connection_id":146626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:51:43] local.INFO: IMEI packet received {"connection_id":146626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":146626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:51:48] local.INFO: TCP Data received {"connection_id":146626,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:51:48] local.INFO: Processing buffer {"connection_id":146626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:51:48] local.INFO: IMEI packet received {"connection_id":146626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":146626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:51:49] local.INFO: TCP Data received {"connection_id":146626,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:51:49] local.INFO: Processing buffer {"connection_id":146626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:51:49] local.INFO: Packet analysis {"connection_id":146626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:51:49] local.INFO: Extracted packet for processing {"connection_id":146626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:51:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119333120001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785622697000,"timestamp_ms":1785622697000,"timestamp_seconds":1785622697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf681428"} 
[2026-08-02 03:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119333120001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119333120001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:51:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:51:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119333120001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":146626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:51:49] local.INFO: GPS data processed {"connection_id":146626,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:51:49] local.INFO: Acknowledgment sent {"connection_id":146626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:52:21] local.INFO: TCP Data received {"connection_id":146626,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:52:21] local.INFO: Processing buffer {"connection_id":146626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:52:21] local.INFO: Packet analysis {"connection_id":146626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:52:21] local.INFO: Extracted packet for processing {"connection_id":146626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:52:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119333120001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785622697000,"timestamp_ms":1785622697000,"timestamp_seconds":1785622697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf681428"} 
[2026-08-02 03:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119333120001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119333120001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:52:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:52:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119333120001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":146626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:52:21] local.INFO: GPS data processed {"connection_id":146626,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:52:21] local.INFO: Acknowledgment sent {"connection_id":146626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:52:42] local.INFO: TCP Data received {"connection_id":146395,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:52:42] local.INFO: Processing buffer {"connection_id":146395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:52:42] local.INFO: IMEI packet received {"connection_id":146395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":146395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:52:47] local.INFO: TCP Data received {"connection_id":146395,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:52:47] local.INFO: Processing buffer {"connection_id":146395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:52:47] local.INFO: IMEI packet received {"connection_id":146395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":146395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:52:49] local.INFO: TCP Data received {"connection_id":146395,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:52:49] local.INFO: Processing buffer {"connection_id":146395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:52:49] local.INFO: Packet analysis {"connection_id":146395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:52:49] local.INFO: Extracted packet for processing {"connection_id":146395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:52:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119333120001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:52:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785622697000,"timestamp_ms":1785622697000,"timestamp_seconds":1785622697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf681428"} 
[2026-08-02 03:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119333120001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119333120001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:52:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:52:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:52:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119333120001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":146395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:52:49] local.INFO: GPS data processed {"connection_id":146395,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:52:49] local.INFO: Acknowledgment sent {"connection_id":146395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:53:20] local.INFO: TCP Data received {"connection_id":146395,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:53:20] local.INFO: Processing buffer {"connection_id":146395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:53:20] local.INFO: Packet analysis {"connection_id":146395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:53:20] local.INFO: Extracted packet for processing {"connection_id":146395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:53:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119333120001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785622697000,"timestamp_ms":1785622697000,"timestamp_seconds":1785622697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf681428"} 
[2026-08-02 03:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119333120001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119333120001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:53:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:53:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119333120001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":146395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:53:20] local.INFO: GPS data processed {"connection_id":146395,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:53:20] local.INFO: Acknowledgment sent {"connection_id":146395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:53:42] local.INFO: TCP Data received {"connection_id":146627,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:53:42] local.INFO: Processing buffer {"connection_id":146627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:53:42] local.INFO: IMEI packet received {"connection_id":146627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":146627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:53:47] local.INFO: TCP Data received {"connection_id":146627,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:53:47] local.INFO: Processing buffer {"connection_id":146627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:53:47] local.INFO: IMEI packet received {"connection_id":146627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":146627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:53:49] local.INFO: TCP Data received {"connection_id":146627,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:53:49] local.INFO: Processing buffer {"connection_id":146627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf681428012cc330c007685b20006000cd29..."} 
[2026-08-02 03:53:49] local.INFO: Packet analysis {"connection_id":146627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:53:49] local.INFO: Extracted packet for processing {"connection_id":146627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf68"} 
[2026-08-02 03:53:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119333120001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:53:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785622697000,"timestamp_ms":1785622697000,"timestamp_seconds":1785622697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf681428"} 
[2026-08-02 03:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 03:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119333120001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119333120001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:53:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:53:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:53:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119333120001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":146627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:53:49] local.INFO: GPS data processed {"connection_id":146627,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:53:49] local.INFO: Acknowledgment sent {"connection_id":146627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:54:20] local.INFO: TCP Data received {"connection_id":146627,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:54:20] local.INFO: Processing buffer {"connection_id":146627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:54:20] local.INFO: Packet analysis {"connection_id":146627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:54:20] local.INFO: Extracted packet for processing {"connection_id":146627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:54:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119410432001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785622997000,"timestamp_ms":1785622997000,"timestamp_seconds":1785622997,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf6ca808"} 
[2026-08-02 03:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119410432001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119410432001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:54:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:54:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119410432001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":146627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:54:20] local.INFO: GPS data processed {"connection_id":146627,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:54:20] local.INFO: Acknowledgment sent {"connection_id":146627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:54:43] local.INFO: TCP Data received {"connection_id":146396,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:54:43] local.INFO: Processing buffer {"connection_id":146396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:54:43] local.INFO: IMEI packet received {"connection_id":146396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":146396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:54:47] local.INFO: TCP Data received {"connection_id":146396,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:54:47] local.INFO: Processing buffer {"connection_id":146396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:54:47] local.INFO: IMEI packet received {"connection_id":146396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":146396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:54:48] local.INFO: TCP Data received {"connection_id":146396,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:54:48] local.INFO: Processing buffer {"connection_id":146396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:54:48] local.INFO: Packet analysis {"connection_id":146396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:54:48] local.INFO: Extracted packet for processing {"connection_id":146396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:54:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119410432001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:54:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785622997000,"timestamp_ms":1785622997000,"timestamp_seconds":1785622997,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf6ca808"} 
[2026-08-02 03:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119410432001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119410432001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:54:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:54:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:54:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119410432001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":146396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:54:48] local.INFO: GPS data processed {"connection_id":146396,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:54:48] local.INFO: Acknowledgment sent {"connection_id":146396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:55:21] local.INFO: TCP Data received {"connection_id":146396,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:55:21] local.INFO: Processing buffer {"connection_id":146396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:55:21] local.INFO: Packet analysis {"connection_id":146396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:55:21] local.INFO: Extracted packet for processing {"connection_id":146396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:55:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119410432001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785622997000,"timestamp_ms":1785622997000,"timestamp_seconds":1785622997,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf6ca808"} 
[2026-08-02 03:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119410432001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119410432001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:55:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:55:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119410432001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":146396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:55:21] local.INFO: GPS data processed {"connection_id":146396,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:55:21] local.INFO: Acknowledgment sent {"connection_id":146396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:55:42] local.INFO: TCP Data received {"connection_id":146628,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:55:42] local.INFO: Processing buffer {"connection_id":146628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:55:42] local.INFO: IMEI packet received {"connection_id":146628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":146628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:55:47] local.INFO: TCP Data received {"connection_id":146628,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:55:47] local.INFO: Processing buffer {"connection_id":146628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:55:47] local.INFO: IMEI packet received {"connection_id":146628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":146628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:55:48] local.INFO: TCP Data received {"connection_id":146628,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:55:48] local.INFO: Processing buffer {"connection_id":146628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:55:48] local.INFO: Packet analysis {"connection_id":146628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:55:48] local.INFO: Extracted packet for processing {"connection_id":146628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:55:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119410432001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:55:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785622997000,"timestamp_ms":1785622997000,"timestamp_seconds":1785622997,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf6ca808"} 
[2026-08-02 03:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119410432001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119410432001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:55:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:55:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:55:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119410432001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":146628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:55:48] local.INFO: GPS data processed {"connection_id":146628,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:55:48] local.INFO: Acknowledgment sent {"connection_id":146628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:56:20] local.INFO: TCP Data received {"connection_id":146628,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:56:20] local.INFO: Processing buffer {"connection_id":146628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:56:20] local.INFO: Packet analysis {"connection_id":146628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:56:20] local.INFO: Extracted packet for processing {"connection_id":146628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:56:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119410432001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785622997000,"timestamp_ms":1785622997000,"timestamp_seconds":1785622997,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf6ca808"} 
[2026-08-02 03:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119410432001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119410432001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:56:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:56:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119410432001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":146628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:56:20] local.INFO: GPS data processed {"connection_id":146628,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:56:20] local.INFO: Acknowledgment sent {"connection_id":146628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:56:42] local.INFO: TCP Data received {"connection_id":146629,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:56:42] local.INFO: Processing buffer {"connection_id":146629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:56:42] local.INFO: IMEI packet received {"connection_id":146629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":146629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:56:47] local.INFO: TCP Data received {"connection_id":146629,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:56:47] local.INFO: Processing buffer {"connection_id":146629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:56:47] local.INFO: IMEI packet received {"connection_id":146629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":146629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:56:49] local.INFO: TCP Data received {"connection_id":146629,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:56:49] local.INFO: Processing buffer {"connection_id":146629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:56:49] local.INFO: Packet analysis {"connection_id":146629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:56:49] local.INFO: Extracted packet for processing {"connection_id":146629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:56:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119410432001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:56:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785622997000,"timestamp_ms":1785622997000,"timestamp_seconds":1785622997,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf6ca808"} 
[2026-08-02 03:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:56: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-08-02 03:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119410432001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119410432001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:56:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:56:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:56:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119410432001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":146629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:56:49] local.INFO: GPS data processed {"connection_id":146629,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:56:49] local.INFO: Acknowledgment sent {"connection_id":146629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:57:20] local.INFO: TCP Data received {"connection_id":146629,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:57:20] local.INFO: Processing buffer {"connection_id":146629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:57:20] local.INFO: Packet analysis {"connection_id":146629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:57:20] local.INFO: Extracted packet for processing {"connection_id":146629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:57:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119410432001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:57:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785622997000,"timestamp_ms":1785622997000,"timestamp_seconds":1785622997,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf6ca808"} 
[2026-08-02 03:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119410432001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119410432001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:57:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:57:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:57:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119410432001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":146629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:57:20] local.INFO: GPS data processed {"connection_id":146629,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:57:20] local.INFO: Acknowledgment sent {"connection_id":146629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:57:47] local.INFO: TCP Data received {"connection_id":147621,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:57:47] local.INFO: Processing buffer {"connection_id":147621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:57:47] local.INFO: IMEI packet received {"connection_id":147621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":147621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:57:52] local.INFO: TCP Data received {"connection_id":147621,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:57:52] local.INFO: Processing buffer {"connection_id":147621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:57:52] local.INFO: IMEI packet received {"connection_id":147621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":147621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:57:53] local.INFO: TCP Data received {"connection_id":147621,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:57:53] local.INFO: Processing buffer {"connection_id":147621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:57:53] local.INFO: Packet analysis {"connection_id":147621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:57:53] local.INFO: Extracted packet for processing {"connection_id":147621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:57:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119410432001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:57:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785622997000,"timestamp_ms":1785622997000,"timestamp_seconds":1785622997,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf6ca808"} 
[2026-08-02 03:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119410432001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119410432001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:57:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:57:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:57:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119410432001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":147621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:57:53] local.INFO: GPS data processed {"connection_id":147621,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:57:53] local.INFO: Acknowledgment sent {"connection_id":147621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:57:58] local.INFO: TCP Data received {"connection_id":147621,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:57:58] local.INFO: Processing buffer {"connection_id":147621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:57:58] local.INFO: Packet analysis {"connection_id":147621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:57:58] local.INFO: Extracted packet for processing {"connection_id":147621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:57:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119410432001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:57:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785622997000,"timestamp_ms":1785622997000,"timestamp_seconds":1785622997,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf6ca808"} 
[2026-08-02 03:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119410432001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119410432001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:57:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:57:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:57:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119410432001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":147621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:57:58] local.INFO: GPS data processed {"connection_id":147621,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:57:58] local.INFO: Acknowledgment sent {"connection_id":147621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:58:42] local.INFO: TCP Data received {"connection_id":148949,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:58:42] local.INFO: Processing buffer {"connection_id":148949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:58:42] local.INFO: IMEI packet received {"connection_id":148949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":148949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:58:47] local.INFO: TCP Data received {"connection_id":148949,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:58:47] local.INFO: Processing buffer {"connection_id":148949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:58:47] local.INFO: IMEI packet received {"connection_id":148949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":148949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:58:48] local.INFO: TCP Data received {"connection_id":148949,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:58:48] local.INFO: Processing buffer {"connection_id":148949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf6ca808012cc330c007685b20006000cd2c..."} 
[2026-08-02 03:58:48] local.INFO: Packet analysis {"connection_id":148949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:58:48] local.INFO: Extracted packet for processing {"connection_id":148949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf6c"} 
[2026-08-02 03:58:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119410432001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:58:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785622997000,"timestamp_ms":1785622997000,"timestamp_seconds":1785622997,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf6ca808"} 
[2026-08-02 03:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119410432001,"66":25495,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119410432001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:58:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:58:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:58:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119410432001,"power":25495,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":148949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:58:48] local.INFO: GPS data processed {"connection_id":148949,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:58:48] local.INFO: Acknowledgment sent {"connection_id":148949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:59:19] local.INFO: TCP Data received {"connection_id":148949,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 03:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 03:59:19] local.INFO: Processing buffer {"connection_id":148949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 03:59:19] local.INFO: Packet analysis {"connection_id":148949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 03:59:19] local.INFO: Extracted packet for processing {"connection_id":148949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 03:59:19] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119487232001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:59:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785623298000,"timestamp_ms":1785623298000,"timestamp_seconds":1785623298,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf713fd0"} 
[2026-08-02 03:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119487232001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119487232001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:59:19] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:59:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:59:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119487232001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":148949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:59:19] local.INFO: GPS data processed {"connection_id":148949,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:59:19] local.INFO: Acknowledgment sent {"connection_id":148949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 03:59:42] local.INFO: TCP Data received {"connection_id":146397,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:59:42] local.INFO: Processing buffer {"connection_id":146397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:59:42] local.INFO: IMEI packet received {"connection_id":146397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 03:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":146397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 03:59:47] local.INFO: TCP Data received {"connection_id":146397,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:59:47] local.INFO: Processing buffer {"connection_id":146397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 03:59:47] local.INFO: IMEI packet received {"connection_id":146397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 03:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":146397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 03:59:48] local.INFO: TCP Data received {"connection_id":146397,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 03:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 03:59:48] local.INFO: Processing buffer {"connection_id":146397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 03:59:48] local.INFO: Packet analysis {"connection_id":146397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 03:59:48] local.INFO: Extracted packet for processing {"connection_id":146397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 03:59:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 03:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 03:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119487232001,"note":"Value kept but may cause issues"} 
[2026-08-02 03:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 03:59:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 03:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 03:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785623298000,"timestamp_ms":1785623298000,"timestamp_seconds":1785623298,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf713fd0"} 
[2026-08-02 03:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 03:59: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-08-02 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 03:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 03:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 03:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 03:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 03:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 03:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 03:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 03:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 03:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 03:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119487232001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 03:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 03:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 03:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119487232001,"description":"Unknown IO ID 0"} 
[2026-08-02 03:59:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 03:59:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 03:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 03:59:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 03:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119487232001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 03:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":146397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 03:59:48] local.INFO: GPS data processed {"connection_id":146397,"processed":1,"errors":0,"total":1} 
[2026-08-02 03:59:48] local.INFO: Acknowledgment sent {"connection_id":146397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:00:20] local.INFO: TCP Data received {"connection_id":146397,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:00:20] local.INFO: Processing buffer {"connection_id":146397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:00:20] local.INFO: Packet analysis {"connection_id":146397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:00:20] local.INFO: Extracted packet for processing {"connection_id":146397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:00:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119487232001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785623298000,"timestamp_ms":1785623298000,"timestamp_seconds":1785623298,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf713fd0"} 
[2026-08-02 04:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 04:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119487232001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119487232001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:00:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:00:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119487232001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":146397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:00:20] local.INFO: GPS data processed {"connection_id":146397,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:00:20] local.INFO: Acknowledgment sent {"connection_id":146397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:00:42] local.INFO: TCP Data received {"connection_id":146630,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:00:42] local.INFO: Processing buffer {"connection_id":146630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:00:42] local.INFO: IMEI packet received {"connection_id":146630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":146630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:00:48] local.INFO: TCP Data received {"connection_id":146630,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:00:48] local.INFO: Processing buffer {"connection_id":146630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:00:48] local.INFO: IMEI packet received {"connection_id":146630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":146630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:00:49] local.INFO: TCP Data received {"connection_id":146630,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:00:49] local.INFO: Processing buffer {"connection_id":146630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:00:49] local.INFO: Packet analysis {"connection_id":146630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:00:49] local.INFO: Extracted packet for processing {"connection_id":146630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:00:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119487232001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:00:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785623298000,"timestamp_ms":1785623298000,"timestamp_seconds":1785623298,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf713fd0"} 
[2026-08-02 04:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 04:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119487232001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119487232001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:00:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:00:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:00:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119487232001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":146630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:00:49] local.INFO: GPS data processed {"connection_id":146630,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:00:49] local.INFO: Acknowledgment sent {"connection_id":146630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:01:21] local.INFO: TCP Data received {"connection_id":146630,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:01:21] local.INFO: Processing buffer {"connection_id":146630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:01:21] local.INFO: Packet analysis {"connection_id":146630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:01:21] local.INFO: Extracted packet for processing {"connection_id":146630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:01:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119487232001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785623298000,"timestamp_ms":1785623298000,"timestamp_seconds":1785623298,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf713fd0"} 
[2026-08-02 04:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 04:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119487232001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119487232001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:01:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:01:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119487232001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":146630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:01:21] local.INFO: GPS data processed {"connection_id":146630,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:01:21] local.INFO: Acknowledgment sent {"connection_id":146630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:01:47] local.INFO: TCP Data received {"connection_id":147622,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:01:47] local.INFO: Processing buffer {"connection_id":147622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:01:47] local.INFO: IMEI packet received {"connection_id":147622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":147622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:01:52] local.INFO: TCP Data received {"connection_id":147622,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:01:52] local.INFO: Processing buffer {"connection_id":147622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:01:52] local.INFO: IMEI packet received {"connection_id":147622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":147622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:01:53] local.INFO: TCP Data received {"connection_id":147622,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:01:53] local.INFO: Processing buffer {"connection_id":147622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:01:53] local.INFO: Packet analysis {"connection_id":147622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:01:53] local.INFO: Extracted packet for processing {"connection_id":147622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:01:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119487232001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:01:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785623298000,"timestamp_ms":1785623298000,"timestamp_seconds":1785623298,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf713fd0"} 
[2026-08-02 04:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 04:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119487232001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119487232001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:01:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:01:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:01:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119487232001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":147622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:01:53] local.INFO: GPS data processed {"connection_id":147622,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:01:53] local.INFO: Acknowledgment sent {"connection_id":147622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:01:59] local.INFO: TCP Data received {"connection_id":147622,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:01:59] local.INFO: Processing buffer {"connection_id":147622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:01:59] local.INFO: Packet analysis {"connection_id":147622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:01:59] local.INFO: Extracted packet for processing {"connection_id":147622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:01:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119487232001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:01:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785623298000,"timestamp_ms":1785623298000,"timestamp_seconds":1785623298,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf713fd0"} 
[2026-08-02 04:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 04:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119487232001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119487232001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:01:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:01:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:01:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119487232001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":147622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:01:59] local.INFO: GPS data processed {"connection_id":147622,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:01:59] local.INFO: Acknowledgment sent {"connection_id":147622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:02:42] local.INFO: TCP Data received {"connection_id":146398,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:02:42] local.INFO: Processing buffer {"connection_id":146398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:02:42] local.INFO: IMEI packet received {"connection_id":146398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":146398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:02:47] local.INFO: TCP Data received {"connection_id":146398,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:02:47] local.INFO: Processing buffer {"connection_id":146398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:02:47] local.INFO: IMEI packet received {"connection_id":146398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":146398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:02:49] local.INFO: TCP Data received {"connection_id":146398,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:02:49] local.INFO: Processing buffer {"connection_id":146398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:02:49] local.INFO: Packet analysis {"connection_id":146398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:02:49] local.INFO: Extracted packet for processing {"connection_id":146398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:02:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119487232001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:02:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785623298000,"timestamp_ms":1785623298000,"timestamp_seconds":1785623298,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf713fd0"} 
[2026-08-02 04:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 04:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119487232001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119487232001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:02:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:02:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:02:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119487232001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":146398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:02:49] local.INFO: GPS data processed {"connection_id":146398,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:02:49] local.INFO: Acknowledgment sent {"connection_id":146398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:03:20] local.INFO: TCP Data received {"connection_id":146398,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:03:20] local.INFO: Processing buffer {"connection_id":146398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:03:20] local.INFO: Packet analysis {"connection_id":146398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:03:20] local.INFO: Extracted packet for processing {"connection_id":146398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:03:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119487232001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785623298000,"timestamp_ms":1785623298000,"timestamp_seconds":1785623298,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf713fd0"} 
[2026-08-02 04:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 04:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119487232001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119487232001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:03:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:03:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119487232001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":146398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:03:21] local.INFO: GPS data processed {"connection_id":146398,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:03:21] local.INFO: Acknowledgment sent {"connection_id":146398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:03:43] local.INFO: TCP Data received {"connection_id":147623,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:03:43] local.INFO: Processing buffer {"connection_id":147623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:03:43] local.INFO: IMEI packet received {"connection_id":147623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":147623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:03:47] local.INFO: TCP Data received {"connection_id":147623,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:03:47] local.INFO: Processing buffer {"connection_id":147623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:03:47] local.INFO: IMEI packet received {"connection_id":147623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":147623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:03:48] local.INFO: TCP Data received {"connection_id":147623,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:03:48] local.INFO: Processing buffer {"connection_id":147623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf713fd0012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:03:48] local.INFO: Packet analysis {"connection_id":147623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:03:48] local.INFO: Extracted packet for processing {"connection_id":147623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf71"} 
[2026-08-02 04:03:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119487232001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:03:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785623298000,"timestamp_ms":1785623298000,"timestamp_seconds":1785623298,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf713fd0"} 
[2026-08-02 04:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:03: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-08-02 04:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 04:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119487232001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119487232001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:03:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:03:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:03:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119487232001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":147623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:03:48] local.INFO: GPS data processed {"connection_id":147623,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:03:48] local.INFO: Acknowledgment sent {"connection_id":147623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:04:19] local.INFO: TCP Data received {"connection_id":147623,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:04:19] local.INFO: Processing buffer {"connection_id":147623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:04:19] local.INFO: Packet analysis {"connection_id":147623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:04:19] local.INFO: Extracted packet for processing {"connection_id":147623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:04:19] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04: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-08-02 04:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119564288001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:04:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785623599000,"timestamp_ms":1785623599000,"timestamp_seconds":1785623599,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf75d798"} 
[2026-08-02 04:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:04: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-08-02 04:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04: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-08-02 04:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119564288001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119564288001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:04:19] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:04:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:04:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119564288001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":147623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:04:19] local.INFO: GPS data processed {"connection_id":147623,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:04:19] local.INFO: Acknowledgment sent {"connection_id":147623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:04:42] local.INFO: TCP Data received {"connection_id":148950,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:04:42] local.INFO: Processing buffer {"connection_id":148950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:04:42] local.INFO: IMEI packet received {"connection_id":148950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":148950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:04:47] local.INFO: TCP Data received {"connection_id":148950,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:04:47] local.INFO: Processing buffer {"connection_id":148950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:04:47] local.INFO: IMEI packet received {"connection_id":148950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":148950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:04:48] local.INFO: TCP Data received {"connection_id":148950,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:04:48] local.INFO: Processing buffer {"connection_id":148950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:04:48] local.INFO: Packet analysis {"connection_id":148950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:04:48] local.INFO: Extracted packet for processing {"connection_id":148950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:04:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119564288001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:04:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785623599000,"timestamp_ms":1785623599000,"timestamp_seconds":1785623599,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf75d798"} 
[2026-08-02 04:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119564288001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119564288001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:04:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:04:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:04:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119564288001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":148950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:04:48] local.INFO: GPS data processed {"connection_id":148950,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:04:48] local.INFO: Acknowledgment sent {"connection_id":148950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:05:20] local.INFO: TCP Data received {"connection_id":148950,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:05:20] local.INFO: Processing buffer {"connection_id":148950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:05:20] local.INFO: Packet analysis {"connection_id":148950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:05:20] local.INFO: Extracted packet for processing {"connection_id":148950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:05:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119564288001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785623599000,"timestamp_ms":1785623599000,"timestamp_seconds":1785623599,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf75d798"} 
[2026-08-02 04:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119564288001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119564288001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:05:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:05:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119564288001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":148950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:05:20] local.INFO: GPS data processed {"connection_id":148950,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:05:20] local.INFO: Acknowledgment sent {"connection_id":148950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:05:49] local.INFO: TCP Data received {"connection_id":146631,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:05:49] local.INFO: Processing buffer {"connection_id":146631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:05:49] local.INFO: IMEI packet received {"connection_id":146631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":146631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:05:52] local.INFO: TCP Data received {"connection_id":146631,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:05:52] local.INFO: Processing buffer {"connection_id":146631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:05:52] local.INFO: IMEI packet received {"connection_id":146631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":146631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:05:54] local.INFO: TCP Data received {"connection_id":146631,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:05:54] local.INFO: Processing buffer {"connection_id":146631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:05:54] local.INFO: Packet analysis {"connection_id":146631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:05:54] local.INFO: Extracted packet for processing {"connection_id":146631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:05:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119564288001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:05:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785623599000,"timestamp_ms":1785623599000,"timestamp_seconds":1785623599,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf75d798"} 
[2026-08-02 04:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119564288001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119564288001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:05:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:05:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:05:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119564288001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":146631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:05:54] local.INFO: GPS data processed {"connection_id":146631,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:05:54] local.INFO: Acknowledgment sent {"connection_id":146631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:05:58] local.INFO: TCP Data received {"connection_id":146631,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:05:58] local.INFO: Processing buffer {"connection_id":146631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:05:58] local.INFO: Packet analysis {"connection_id":146631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:05:58] local.INFO: Extracted packet for processing {"connection_id":146631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:05:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119564288001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:05:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785623599000,"timestamp_ms":1785623599000,"timestamp_seconds":1785623599,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf75d798"} 
[2026-08-02 04:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119564288001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119564288001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:05:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:05:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:05:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119564288001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":146631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:05:58] local.INFO: GPS data processed {"connection_id":146631,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:05:58] local.INFO: Acknowledgment sent {"connection_id":146631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:06:42] local.INFO: TCP Data received {"connection_id":146399,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:06:42] local.INFO: Processing buffer {"connection_id":146399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:06:42] local.INFO: IMEI packet received {"connection_id":146399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":146399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:06:52] local.INFO: TCP Data received {"connection_id":146399,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:06:52] local.INFO: Processing buffer {"connection_id":146399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:06:52] local.INFO: IMEI packet received {"connection_id":146399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":146399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:06:53] local.INFO: TCP Data received {"connection_id":146399,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:06:53] local.INFO: Processing buffer {"connection_id":146399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:06:53] local.INFO: Packet analysis {"connection_id":146399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:06:53] local.INFO: Extracted packet for processing {"connection_id":146399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:06:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119564288001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:06:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785623599000,"timestamp_ms":1785623599000,"timestamp_seconds":1785623599,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf75d798"} 
[2026-08-02 04:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119564288001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119564288001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:06:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:06:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:06:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119564288001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":146399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:06:53] local.INFO: GPS data processed {"connection_id":146399,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:06:53] local.INFO: Acknowledgment sent {"connection_id":146399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:07:25] local.INFO: TCP Data received {"connection_id":146399,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:07:25] local.INFO: Processing buffer {"connection_id":146399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:07:25] local.INFO: Packet analysis {"connection_id":146399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:07:25] local.INFO: Extracted packet for processing {"connection_id":146399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:07:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119564288001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:07:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785623599000,"timestamp_ms":1785623599000,"timestamp_seconds":1785623599,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf75d798"} 
[2026-08-02 04:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119564288001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119564288001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:07:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:07:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:07:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119564288001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":146399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:07:25] local.INFO: GPS data processed {"connection_id":146399,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:07:25] local.INFO: Acknowledgment sent {"connection_id":146399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:07:42] local.INFO: TCP Data received {"connection_id":147624,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:07:42] local.INFO: Processing buffer {"connection_id":147624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:07:42] local.INFO: IMEI packet received {"connection_id":147624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":147624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:07:47] local.INFO: TCP Data received {"connection_id":147624,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:07:47] local.INFO: Processing buffer {"connection_id":147624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:07:47] local.INFO: IMEI packet received {"connection_id":147624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":147624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:07:48] local.INFO: TCP Data received {"connection_id":147624,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:07:48] local.INFO: Processing buffer {"connection_id":147624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:07:48] local.INFO: Packet analysis {"connection_id":147624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:07:48] local.INFO: Extracted packet for processing {"connection_id":147624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:07:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119564288001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:07:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785623599000,"timestamp_ms":1785623599000,"timestamp_seconds":1785623599,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf75d798"} 
[2026-08-02 04:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119564288001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119564288001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:07:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:07:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:07:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119564288001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":147624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:07:48] local.INFO: GPS data processed {"connection_id":147624,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:07:48] local.INFO: Acknowledgment sent {"connection_id":147624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:08:24] local.INFO: TCP Data received {"connection_id":147624,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:08:24] local.INFO: Processing buffer {"connection_id":147624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:08:24] local.INFO: Packet analysis {"connection_id":147624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:08:24] local.INFO: Extracted packet for processing {"connection_id":147624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:08:24] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119564288001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:08:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785623599000,"timestamp_ms":1785623599000,"timestamp_seconds":1785623599,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf75d798"} 
[2026-08-02 04:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119564288001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119564288001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:08:24] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:08:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:08:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119564288001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":147624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:08:24] local.INFO: GPS data processed {"connection_id":147624,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:08:24] local.INFO: Acknowledgment sent {"connection_id":147624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:08:42] local.INFO: TCP Data received {"connection_id":147625,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:08:42] local.INFO: Processing buffer {"connection_id":147625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:08:42] local.INFO: IMEI packet received {"connection_id":147625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":147625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:08:47] local.INFO: TCP Data received {"connection_id":147625,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:08:47] local.INFO: Processing buffer {"connection_id":147625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:08:47] local.INFO: IMEI packet received {"connection_id":147625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":147625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:08:48] local.INFO: TCP Data received {"connection_id":147625,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:08:48] local.INFO: Processing buffer {"connection_id":147625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf75d798012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:08:48] local.INFO: Packet analysis {"connection_id":147625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:08:48] local.INFO: Extracted packet for processing {"connection_id":147625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf75"} 
[2026-08-02 04:08:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119564288001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:08:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785623599000,"timestamp_ms":1785623599000,"timestamp_seconds":1785623599,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf75d798"} 
[2026-08-02 04:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119564288001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119564288001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:08:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:08:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:08:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119564288001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":147625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:08:49] local.INFO: GPS data processed {"connection_id":147625,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:08:49] local.INFO: Acknowledgment sent {"connection_id":147625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:09:19] local.INFO: TCP Data received {"connection_id":147625,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:09:19] local.INFO: Processing buffer {"connection_id":147625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:09:19] local.INFO: Packet analysis {"connection_id":147625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:09:19] local.INFO: Extracted packet for processing {"connection_id":147625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:09:19] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119641344001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:09:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785623900000,"timestamp_ms":1785623900000,"timestamp_seconds":1785623900,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7a6f60"} 
[2026-08-02 04:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:09: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-08-02 04:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119641344001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119641344001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:09:19] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:09:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:09:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119641344001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":147625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:09:19] local.INFO: GPS data processed {"connection_id":147625,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:09:19] local.INFO: Acknowledgment sent {"connection_id":147625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:09:47] local.INFO: TCP Data received {"connection_id":146632,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:09:47] local.INFO: Processing buffer {"connection_id":146632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:09:47] local.INFO: IMEI packet received {"connection_id":146632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":146632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:09:52] local.INFO: TCP Data received {"connection_id":146632,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:09:52] local.INFO: Processing buffer {"connection_id":146632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:09:52] local.INFO: IMEI packet received {"connection_id":146632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":146632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:09:53] local.INFO: TCP Data received {"connection_id":146632,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:09:53] local.INFO: Processing buffer {"connection_id":146632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:09:53] local.INFO: Packet analysis {"connection_id":146632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:09:53] local.INFO: Extracted packet for processing {"connection_id":146632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:09:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119641344001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:09:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785623900000,"timestamp_ms":1785623900000,"timestamp_seconds":1785623900,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7a6f60"} 
[2026-08-02 04:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119641344001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119641344001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:09:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:09:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:09:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119641344001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":146632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:09:53] local.INFO: GPS data processed {"connection_id":146632,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:09:53] local.INFO: Acknowledgment sent {"connection_id":146632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:09:58] local.INFO: TCP Data received {"connection_id":146632,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:09:58] local.INFO: Processing buffer {"connection_id":146632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:09:58] local.INFO: Packet analysis {"connection_id":146632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:09:58] local.INFO: Extracted packet for processing {"connection_id":146632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:09:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119641344001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:09:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785623900000,"timestamp_ms":1785623900000,"timestamp_seconds":1785623900,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7a6f60"} 
[2026-08-02 04:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119641344001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119641344001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:09:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:09:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:09:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119641344001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":146632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:09:58] local.INFO: GPS data processed {"connection_id":146632,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:09:58] local.INFO: Acknowledgment sent {"connection_id":146632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:10:42] local.INFO: TCP Data received {"connection_id":146400,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:10:42] local.INFO: Processing buffer {"connection_id":146400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:10:42] local.INFO: IMEI packet received {"connection_id":146400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":146400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:10:47] local.INFO: TCP Data received {"connection_id":146400,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:10:47] local.INFO: Processing buffer {"connection_id":146400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:10:47] local.INFO: IMEI packet received {"connection_id":146400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":146400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:10:48] local.INFO: TCP Data received {"connection_id":146400,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:10:48] local.INFO: Processing buffer {"connection_id":146400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:10:48] local.INFO: Packet analysis {"connection_id":146400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:10:48] local.INFO: Extracted packet for processing {"connection_id":146400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:10:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119641344001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:10:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785623900000,"timestamp_ms":1785623900000,"timestamp_seconds":1785623900,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7a6f60"} 
[2026-08-02 04:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119641344001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119641344001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:10:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:10:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:10:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119641344001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":146400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:10:48] local.INFO: GPS data processed {"connection_id":146400,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:10:48] local.INFO: Acknowledgment sent {"connection_id":146400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:10:53] local.INFO: TCP Data received {"connection_id":146400,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:10:53] local.INFO: Processing buffer {"connection_id":146400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:10:53] local.INFO: Packet analysis {"connection_id":146400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:10:53] local.INFO: Extracted packet for processing {"connection_id":146400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:10:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119641344001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:10:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785623900000,"timestamp_ms":1785623900000,"timestamp_seconds":1785623900,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7a6f60"} 
[2026-08-02 04:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119641344001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119641344001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:10:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:10:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:10:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119641344001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":146400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:10:53] local.INFO: GPS data processed {"connection_id":146400,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:10:53] local.INFO: Acknowledgment sent {"connection_id":146400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:11:25] local.INFO: TCP Data received {"connection_id":146400,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:11:25] local.INFO: Processing buffer {"connection_id":146400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:11:25] local.INFO: Packet analysis {"connection_id":146400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:11:25] local.INFO: Extracted packet for processing {"connection_id":146400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:11:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119641344001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:11:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785623900000,"timestamp_ms":1785623900000,"timestamp_seconds":1785623900,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7a6f60"} 
[2026-08-02 04:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119641344001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119641344001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:11:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:11:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:11:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119641344001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":146400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:11:25] local.INFO: GPS data processed {"connection_id":146400,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:11:25] local.INFO: Acknowledgment sent {"connection_id":146400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:11:42] local.INFO: TCP Data received {"connection_id":146401,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:11:42] local.INFO: Processing buffer {"connection_id":146401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:11:42] local.INFO: IMEI packet received {"connection_id":146401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":146401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:11:47] local.INFO: TCP Data received {"connection_id":146401,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:11:47] local.INFO: Processing buffer {"connection_id":146401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:11:47] local.INFO: IMEI packet received {"connection_id":146401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":146401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:11:49] local.INFO: TCP Data received {"connection_id":146401,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:11:49] local.INFO: Processing buffer {"connection_id":146401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:11:49] local.INFO: Packet analysis {"connection_id":146401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:11:49] local.INFO: Extracted packet for processing {"connection_id":146401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:11:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119641344001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:11:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785623900000,"timestamp_ms":1785623900000,"timestamp_seconds":1785623900,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7a6f60"} 
[2026-08-02 04:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119641344001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119641344001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:11:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:11:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:11:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119641344001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":146401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:11:49] local.INFO: GPS data processed {"connection_id":146401,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:11:49] local.INFO: Acknowledgment sent {"connection_id":146401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:12:20] local.INFO: TCP Data received {"connection_id":146401,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:12:20] local.INFO: Processing buffer {"connection_id":146401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:12:20] local.INFO: Packet analysis {"connection_id":146401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:12:20] local.INFO: Extracted packet for processing {"connection_id":146401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:12:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119641344001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785623900000,"timestamp_ms":1785623900000,"timestamp_seconds":1785623900,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7a6f60"} 
[2026-08-02 04:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119641344001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119641344001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:12:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:12:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119641344001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":146401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:12:20] local.INFO: GPS data processed {"connection_id":146401,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:12:20] local.INFO: Acknowledgment sent {"connection_id":146401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:12:42] local.INFO: TCP Data received {"connection_id":147626,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:12:42] local.INFO: Processing buffer {"connection_id":147626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:12:42] local.INFO: IMEI packet received {"connection_id":147626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":147626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:12:47] local.INFO: TCP Data received {"connection_id":147626,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:12:47] local.INFO: Processing buffer {"connection_id":147626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:12:47] local.INFO: IMEI packet received {"connection_id":147626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":147626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:12:49] local.INFO: TCP Data received {"connection_id":147626,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:12:49] local.INFO: Processing buffer {"connection_id":147626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:12:49] local.INFO: Packet analysis {"connection_id":147626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:12:49] local.INFO: Extracted packet for processing {"connection_id":147626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:12:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119641344001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:12:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785623900000,"timestamp_ms":1785623900000,"timestamp_seconds":1785623900,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7a6f60"} 
[2026-08-02 04:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:12: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-08-02 04:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119641344001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119641344001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:12:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:12:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:12:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119641344001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":147626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:12:49] local.INFO: GPS data processed {"connection_id":147626,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:12:49] local.INFO: Acknowledgment sent {"connection_id":147626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:13:20] local.INFO: TCP Data received {"connection_id":147626,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:13:20] local.INFO: Processing buffer {"connection_id":147626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:13:20] local.INFO: Packet analysis {"connection_id":147626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:13:20] local.INFO: Extracted packet for processing {"connection_id":147626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:13:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119641344001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785623900000,"timestamp_ms":1785623900000,"timestamp_seconds":1785623900,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7a6f60"} 
[2026-08-02 04:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119641344001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119641344001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:13:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:13:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119641344001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":147626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:13:20] local.INFO: GPS data processed {"connection_id":147626,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:13:20] local.INFO: Acknowledgment sent {"connection_id":147626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:13:42] local.INFO: TCP Data received {"connection_id":146633,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:13:42] local.INFO: Processing buffer {"connection_id":146633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:13:42] local.INFO: IMEI packet received {"connection_id":146633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":146633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:13:47] local.INFO: TCP Data received {"connection_id":146633,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:13:47] local.INFO: Processing buffer {"connection_id":146633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:13:47] local.INFO: IMEI packet received {"connection_id":146633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":146633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:13:49] local.INFO: TCP Data received {"connection_id":146633,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:13:49] local.INFO: Processing buffer {"connection_id":146633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7a6f60012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:13:49] local.INFO: Packet analysis {"connection_id":146633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:13:49] local.INFO: Extracted packet for processing {"connection_id":146633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7a"} 
[2026-08-02 04:13:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119641344001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:13:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785623900000,"timestamp_ms":1785623900000,"timestamp_seconds":1785623900,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7a6f60"} 
[2026-08-02 04:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:13: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-08-02 04:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119641344001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119641344001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:13:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:13:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:13:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119641344001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":146633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:13:49] local.INFO: GPS data processed {"connection_id":146633,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:13:49] local.INFO: Acknowledgment sent {"connection_id":146633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:14:20] local.INFO: TCP Data received {"connection_id":146633,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:14:20] local.INFO: Processing buffer {"connection_id":146633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:14:20] local.INFO: Packet analysis {"connection_id":146633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:14:20] local.INFO: Extracted packet for processing {"connection_id":146633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:14:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119718400001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785624201000,"timestamp_ms":1785624201000,"timestamp_seconds":1785624201,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7f0728"} 
[2026-08-02 04:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119718400001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119718400001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:14:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:14:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119718400001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":146633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:14:20] local.INFO: GPS data processed {"connection_id":146633,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:14:20] local.INFO: Acknowledgment sent {"connection_id":146633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:14:42] local.INFO: TCP Data received {"connection_id":146634,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:14:42] local.INFO: Processing buffer {"connection_id":146634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:14:42] local.INFO: IMEI packet received {"connection_id":146634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":146634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:14:47] local.INFO: TCP Data received {"connection_id":146634,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:14:47] local.INFO: Processing buffer {"connection_id":146634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:14:47] local.INFO: IMEI packet received {"connection_id":146634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":146634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:14:49] local.INFO: TCP Data received {"connection_id":146634,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:14:49] local.INFO: Processing buffer {"connection_id":146634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:14:49] local.INFO: Packet analysis {"connection_id":146634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:14:49] local.INFO: Extracted packet for processing {"connection_id":146634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:14:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119718400001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:14:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785624201000,"timestamp_ms":1785624201000,"timestamp_seconds":1785624201,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7f0728"} 
[2026-08-02 04:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119718400001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119718400001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:14:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:14:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:14:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119718400001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":146634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:14:49] local.INFO: GPS data processed {"connection_id":146634,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:14:49] local.INFO: Acknowledgment sent {"connection_id":146634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:15:20] local.INFO: TCP Data received {"connection_id":146634,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:15:20] local.INFO: Processing buffer {"connection_id":146634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:15:20] local.INFO: Packet analysis {"connection_id":146634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:15:20] local.INFO: Extracted packet for processing {"connection_id":146634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:15:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119718400001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:15:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785624201000,"timestamp_ms":1785624201000,"timestamp_seconds":1785624201,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7f0728"} 
[2026-08-02 04:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119718400001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119718400001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:15:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:15:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:15:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119718400001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":146634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:15:20] local.INFO: GPS data processed {"connection_id":146634,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:15:20] local.INFO: Acknowledgment sent {"connection_id":146634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:15:43] local.INFO: TCP Data received {"connection_id":146402,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:15:43] local.INFO: Processing buffer {"connection_id":146402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:15:43] local.INFO: IMEI packet received {"connection_id":146402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":146402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:15:47] local.INFO: TCP Data received {"connection_id":146402,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:15:47] local.INFO: Processing buffer {"connection_id":146402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:15:47] local.INFO: IMEI packet received {"connection_id":146402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":146402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:15:49] local.INFO: TCP Data received {"connection_id":146402,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:15:49] local.INFO: Processing buffer {"connection_id":146402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:15:49] local.INFO: Packet analysis {"connection_id":146402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:15:49] local.INFO: Extracted packet for processing {"connection_id":146402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:15:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119718400001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:15:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785624201000,"timestamp_ms":1785624201000,"timestamp_seconds":1785624201,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7f0728"} 
[2026-08-02 04:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119718400001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119718400001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:15:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:15:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:15:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119718400001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":146402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:15:49] local.INFO: GPS data processed {"connection_id":146402,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:15:49] local.INFO: Acknowledgment sent {"connection_id":146402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:16:20] local.INFO: TCP Data received {"connection_id":146402,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:16:20] local.INFO: Processing buffer {"connection_id":146402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:16:20] local.INFO: Packet analysis {"connection_id":146402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:16:20] local.INFO: Extracted packet for processing {"connection_id":146402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:16:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119718400001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785624201000,"timestamp_ms":1785624201000,"timestamp_seconds":1785624201,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7f0728"} 
[2026-08-02 04:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119718400001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119718400001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:16:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:16:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119718400001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":146402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:16:20] local.INFO: GPS data processed {"connection_id":146402,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:16:20] local.INFO: Acknowledgment sent {"connection_id":146402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:16:42] local.INFO: TCP Data received {"connection_id":148951,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:16:42] local.INFO: Processing buffer {"connection_id":148951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:16:42] local.INFO: IMEI packet received {"connection_id":148951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":148951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:16:47] local.INFO: TCP Data received {"connection_id":148951,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:16:47] local.INFO: Processing buffer {"connection_id":148951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:16:47] local.INFO: IMEI packet received {"connection_id":148951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":148951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:16:49] local.INFO: TCP Data received {"connection_id":148951,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:16:49] local.INFO: Processing buffer {"connection_id":148951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:16:49] local.INFO: Packet analysis {"connection_id":148951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:16:49] local.INFO: Extracted packet for processing {"connection_id":148951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:16:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119718400001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785624201000,"timestamp_ms":1785624201000,"timestamp_seconds":1785624201,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7f0728"} 
[2026-08-02 04:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:16: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-08-02 04:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119718400001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119718400001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:16:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:16:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119718400001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":148951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:16:49] local.INFO: GPS data processed {"connection_id":148951,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:16:49] local.INFO: Acknowledgment sent {"connection_id":148951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:17:20] local.INFO: TCP Data received {"connection_id":148951,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:17:20] local.INFO: Processing buffer {"connection_id":148951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:17:20] local.INFO: Packet analysis {"connection_id":148951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:17:20] local.INFO: Extracted packet for processing {"connection_id":148951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:17:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119718400001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785624201000,"timestamp_ms":1785624201000,"timestamp_seconds":1785624201,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7f0728"} 
[2026-08-02 04:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119718400001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119718400001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:17:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:17:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119718400001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":148951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:17:20] local.INFO: GPS data processed {"connection_id":148951,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:17:20] local.INFO: Acknowledgment sent {"connection_id":148951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:17:42] local.INFO: TCP Data received {"connection_id":147627,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:17:42] local.INFO: Processing buffer {"connection_id":147627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:17:42] local.INFO: IMEI packet received {"connection_id":147627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":147627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:17:47] local.INFO: TCP Data received {"connection_id":147627,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:17:47] local.INFO: Processing buffer {"connection_id":147627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:17:47] local.INFO: IMEI packet received {"connection_id":147627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":147627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:17:49] local.INFO: TCP Data received {"connection_id":147627,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:17:49] local.INFO: Processing buffer {"connection_id":147627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:17:49] local.INFO: Packet analysis {"connection_id":147627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:17:49] local.INFO: Extracted packet for processing {"connection_id":147627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:17:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119718400001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:17:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785624201000,"timestamp_ms":1785624201000,"timestamp_seconds":1785624201,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7f0728"} 
[2026-08-02 04:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:17: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-08-02 04:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119718400001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119718400001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:17:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:17:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:17:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119718400001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":147627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:17:49] local.INFO: GPS data processed {"connection_id":147627,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:17:49] local.INFO: Acknowledgment sent {"connection_id":147627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:18:20] local.INFO: TCP Data received {"connection_id":147627,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:18:20] local.INFO: Processing buffer {"connection_id":147627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:18:20] local.INFO: Packet analysis {"connection_id":147627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:18:20] local.INFO: Extracted packet for processing {"connection_id":147627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:18:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119718400001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785624201000,"timestamp_ms":1785624201000,"timestamp_seconds":1785624201,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7f0728"} 
[2026-08-02 04:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119718400001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119718400001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:18:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:18:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119718400001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":147627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:18:20] local.INFO: GPS data processed {"connection_id":147627,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:18:20] local.INFO: Acknowledgment sent {"connection_id":147627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:18:47] local.INFO: TCP Data received {"connection_id":147628,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:18:47] local.INFO: Processing buffer {"connection_id":147628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:18:47] local.INFO: IMEI packet received {"connection_id":147628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":147628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:18:52] local.INFO: TCP Data received {"connection_id":147628,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:18:52] local.INFO: Processing buffer {"connection_id":147628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:18:52] local.INFO: IMEI packet received {"connection_id":147628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":147628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:18:54] local.INFO: TCP Data received {"connection_id":147628,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:18:54] local.INFO: Processing buffer {"connection_id":147628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:18:54] local.INFO: Packet analysis {"connection_id":147628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:18:54] local.INFO: Extracted packet for processing {"connection_id":147628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:18:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119718400001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:18:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785624201000,"timestamp_ms":1785624201000,"timestamp_seconds":1785624201,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7f0728"} 
[2026-08-02 04:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119718400001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119718400001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:18:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:18:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:18:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119718400001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":147628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:18:54] local.INFO: GPS data processed {"connection_id":147628,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:18:54] local.INFO: Acknowledgment sent {"connection_id":147628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:18:58] local.INFO: TCP Data received {"connection_id":147628,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:18:58] local.INFO: Processing buffer {"connection_id":147628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf7f0728012cc330c007685b20006000cd29..."} 
[2026-08-02 04:18:58] local.INFO: Packet analysis {"connection_id":147628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:18:58] local.INFO: Extracted packet for processing {"connection_id":147628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf7f"} 
[2026-08-02 04:18:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119718400001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:18:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785624201000,"timestamp_ms":1785624201000,"timestamp_seconds":1785624201,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf7f0728"} 
[2026-08-02 04:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 04:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119718400001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119718400001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:18:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:18:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:18:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119718400001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":147628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:18:58] local.INFO: GPS data processed {"connection_id":147628,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:18:58] local.INFO: Acknowledgment sent {"connection_id":147628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:19:42] local.INFO: TCP Data received {"connection_id":146403,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:19:42] local.INFO: Processing buffer {"connection_id":146403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:19:42] local.INFO: IMEI packet received {"connection_id":146403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":146403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:19:47] local.INFO: TCP Data received {"connection_id":146403,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:19:47] local.INFO: Processing buffer {"connection_id":146403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:19:47] local.INFO: IMEI packet received {"connection_id":146403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":146403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:19:49] local.INFO: TCP Data received {"connection_id":146403,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:19:49] local.INFO: Processing buffer {"connection_id":146403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:19:49] local.INFO: Packet analysis {"connection_id":146403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:19:49] local.INFO: Extracted packet for processing {"connection_id":146403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:19:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119795456001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:19:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785624502000,"timestamp_ms":1785624502000,"timestamp_seconds":1785624502,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf839ef0"} 
[2026-08-02 04:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:19: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-08-02 04:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04: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-08-02 04:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119795456001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119795456001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:19:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:19:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:19:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119795456001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":146403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:19:49] local.INFO: GPS data processed {"connection_id":146403,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:19:49] local.INFO: Acknowledgment sent {"connection_id":146403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:20:20] local.INFO: TCP Data received {"connection_id":146403,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:20:20] local.INFO: Processing buffer {"connection_id":146403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:20:20] local.INFO: Packet analysis {"connection_id":146403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:20:20] local.INFO: Extracted packet for processing {"connection_id":146403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:20:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119795456001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785624502000,"timestamp_ms":1785624502000,"timestamp_seconds":1785624502,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf839ef0"} 
[2026-08-02 04:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119795456001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119795456001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:20:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:20:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119795456001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":146403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:20:20] local.INFO: GPS data processed {"connection_id":146403,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:20:20] local.INFO: Acknowledgment sent {"connection_id":146403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:20:42] local.INFO: TCP Data received {"connection_id":147629,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:20:42] local.INFO: Processing buffer {"connection_id":147629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:20:42] local.INFO: IMEI packet received {"connection_id":147629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":147629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:20:47] local.INFO: TCP Data received {"connection_id":147629,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:20:47] local.INFO: Processing buffer {"connection_id":147629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:20:47] local.INFO: IMEI packet received {"connection_id":147629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":147629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:20:49] local.INFO: TCP Data received {"connection_id":147629,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:20:49] local.INFO: Processing buffer {"connection_id":147629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:20:49] local.INFO: Packet analysis {"connection_id":147629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:20:49] local.INFO: Extracted packet for processing {"connection_id":147629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:20:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119795456001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:20:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785624502000,"timestamp_ms":1785624502000,"timestamp_seconds":1785624502,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf839ef0"} 
[2026-08-02 04:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:20: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-08-02 04:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119795456001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119795456001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:20:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:20:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:20:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119795456001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":147629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:20:49] local.INFO: GPS data processed {"connection_id":147629,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:20:49] local.INFO: Acknowledgment sent {"connection_id":147629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:21:20] local.INFO: TCP Data received {"connection_id":147629,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:21:20] local.INFO: Processing buffer {"connection_id":147629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:21:20] local.INFO: Packet analysis {"connection_id":147629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:21:20] local.INFO: Extracted packet for processing {"connection_id":147629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:21:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119795456001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785624502000,"timestamp_ms":1785624502000,"timestamp_seconds":1785624502,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf839ef0"} 
[2026-08-02 04:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119795456001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119795456001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:21:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:21:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119795456001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":147629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:21:20] local.INFO: GPS data processed {"connection_id":147629,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:21:20] local.INFO: Acknowledgment sent {"connection_id":147629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:21:42] local.INFO: TCP Data received {"connection_id":147630,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:21:42] local.INFO: Processing buffer {"connection_id":147630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:21:42] local.INFO: IMEI packet received {"connection_id":147630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":147630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:21:47] local.INFO: TCP Data received {"connection_id":147630,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:21:47] local.INFO: Processing buffer {"connection_id":147630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:21:47] local.INFO: IMEI packet received {"connection_id":147630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":147630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:21:49] local.INFO: TCP Data received {"connection_id":147630,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:21:49] local.INFO: Processing buffer {"connection_id":147630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:21:49] local.INFO: Packet analysis {"connection_id":147630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:21:49] local.INFO: Extracted packet for processing {"connection_id":147630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:21:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119795456001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:21:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785624502000,"timestamp_ms":1785624502000,"timestamp_seconds":1785624502,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf839ef0"} 
[2026-08-02 04:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:21: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-08-02 04:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119795456001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119795456001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:21:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:21:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:21:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119795456001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":147630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:21:49] local.INFO: GPS data processed {"connection_id":147630,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:21:49] local.INFO: Acknowledgment sent {"connection_id":147630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:22:20] local.INFO: TCP Data received {"connection_id":147630,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:22:20] local.INFO: Processing buffer {"connection_id":147630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:22:20] local.INFO: Packet analysis {"connection_id":147630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:22:20] local.INFO: Extracted packet for processing {"connection_id":147630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:22:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119795456001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:22:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785624502000,"timestamp_ms":1785624502000,"timestamp_seconds":1785624502,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf839ef0"} 
[2026-08-02 04:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119795456001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119795456001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:22:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:22:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:22:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119795456001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":147630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:22:20] local.INFO: GPS data processed {"connection_id":147630,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:22:20] local.INFO: Acknowledgment sent {"connection_id":147630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:22:47] local.INFO: TCP Data received {"connection_id":148952,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:22:47] local.INFO: Processing buffer {"connection_id":148952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:22:47] local.INFO: IMEI packet received {"connection_id":148952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":148952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:22:52] local.INFO: TCP Data received {"connection_id":148952,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:22:52] local.INFO: Processing buffer {"connection_id":148952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:22:52] local.INFO: IMEI packet received {"connection_id":148952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":148952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:22:54] local.INFO: TCP Data received {"connection_id":148952,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:22:54] local.INFO: Processing buffer {"connection_id":148952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:22:54] local.INFO: Packet analysis {"connection_id":148952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:22:54] local.INFO: Extracted packet for processing {"connection_id":148952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:22:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119795456001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:22:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785624502000,"timestamp_ms":1785624502000,"timestamp_seconds":1785624502,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf839ef0"} 
[2026-08-02 04:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119795456001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119795456001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:22:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:22:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:22:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119795456001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":148952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:22:54] local.INFO: GPS data processed {"connection_id":148952,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:22:54] local.INFO: Acknowledgment sent {"connection_id":148952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:22:58] local.INFO: TCP Data received {"connection_id":148952,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:22:58] local.INFO: Processing buffer {"connection_id":148952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:22:58] local.INFO: Packet analysis {"connection_id":148952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:22:58] local.INFO: Extracted packet for processing {"connection_id":148952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:22:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119795456001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:22:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785624502000,"timestamp_ms":1785624502000,"timestamp_seconds":1785624502,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf839ef0"} 
[2026-08-02 04:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119795456001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119795456001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:22:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:22:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:22:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119795456001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":148952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:22:58] local.INFO: GPS data processed {"connection_id":148952,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:22:58] local.INFO: Acknowledgment sent {"connection_id":148952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:23:42] local.INFO: TCP Data received {"connection_id":147631,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:23:42] local.INFO: Processing buffer {"connection_id":147631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:23:42] local.INFO: IMEI packet received {"connection_id":147631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":147631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:23:47] local.INFO: TCP Data received {"connection_id":147631,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:23:47] local.INFO: Processing buffer {"connection_id":147631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:23:47] local.INFO: IMEI packet received {"connection_id":147631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":147631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:23:49] local.INFO: TCP Data received {"connection_id":147631,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:23:49] local.INFO: Processing buffer {"connection_id":147631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf839ef0012cc330c007685b20006000cd29..."} 
[2026-08-02 04:23:49] local.INFO: Packet analysis {"connection_id":147631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:23:49] local.INFO: Extracted packet for processing {"connection_id":147631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf83"} 
[2026-08-02 04:23:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119795456001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:23:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785624502000,"timestamp_ms":1785624502000,"timestamp_seconds":1785624502,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf839ef0"} 
[2026-08-02 04:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:23: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-08-02 04:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119795456001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119795456001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:23:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:23:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:23:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119795456001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":147631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:23:49] local.INFO: GPS data processed {"connection_id":147631,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:23:49] local.INFO: Acknowledgment sent {"connection_id":147631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:24:19] local.INFO: TCP Data received {"connection_id":147631,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:24:19] local.INFO: Processing buffer {"connection_id":147631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:24:19] local.INFO: Packet analysis {"connection_id":147631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:24:19] local.INFO: Extracted packet for processing {"connection_id":147631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:24:19] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119872512001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785624803000,"timestamp_ms":1785624803000,"timestamp_seconds":1785624803,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8836b8"} 
[2026-08-02 04:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:24: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-08-02 04:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 04:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119872512001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119872512001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:24:19] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:24:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119872512001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":147631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:24:19] local.INFO: GPS data processed {"connection_id":147631,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:24:19] local.INFO: Acknowledgment sent {"connection_id":147631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:24:42] local.INFO: TCP Data received {"connection_id":147632,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:24:42] local.INFO: Processing buffer {"connection_id":147632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:24:42] local.INFO: IMEI packet received {"connection_id":147632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":147632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:24:47] local.INFO: TCP Data received {"connection_id":147632,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:24:47] local.INFO: Processing buffer {"connection_id":147632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:24:47] local.INFO: IMEI packet received {"connection_id":147632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":147632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:24:49] local.INFO: TCP Data received {"connection_id":147632,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:24:49] local.INFO: Processing buffer {"connection_id":147632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:24:49] local.INFO: Packet analysis {"connection_id":147632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:24:49] local.INFO: Extracted packet for processing {"connection_id":147632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:24:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119872512001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:24:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785624803000,"timestamp_ms":1785624803000,"timestamp_seconds":1785624803,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8836b8"} 
[2026-08-02 04:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:24: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-08-02 04:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 04:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119872512001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119872512001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:24:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:24:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:24:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119872512001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":147632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:24:49] local.INFO: GPS data processed {"connection_id":147632,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:24:49] local.INFO: Acknowledgment sent {"connection_id":147632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:25:20] local.INFO: TCP Data received {"connection_id":147632,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:25:20] local.INFO: Processing buffer {"connection_id":147632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:25:20] local.INFO: Packet analysis {"connection_id":147632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:25:20] local.INFO: Extracted packet for processing {"connection_id":147632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:25:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119872512001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785624803000,"timestamp_ms":1785624803000,"timestamp_seconds":1785624803,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8836b8"} 
[2026-08-02 04:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 04:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119872512001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119872512001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:25:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:25:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119872512001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":147632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:25:20] local.INFO: GPS data processed {"connection_id":147632,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:25:20] local.INFO: Acknowledgment sent {"connection_id":147632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:25:47] local.INFO: TCP Data received {"connection_id":148953,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:25:47] local.INFO: Processing buffer {"connection_id":148953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:25:47] local.INFO: IMEI packet received {"connection_id":148953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":148953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:25:52] local.INFO: TCP Data received {"connection_id":148953,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:25:52] local.INFO: Processing buffer {"connection_id":148953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:25:52] local.INFO: IMEI packet received {"connection_id":148953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":148953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:25:54] local.INFO: TCP Data received {"connection_id":148953,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:25:54] local.INFO: Processing buffer {"connection_id":148953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:25:54] local.INFO: Packet analysis {"connection_id":148953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:25:54] local.INFO: Extracted packet for processing {"connection_id":148953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:25:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119872512001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:25:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785624803000,"timestamp_ms":1785624803000,"timestamp_seconds":1785624803,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8836b8"} 
[2026-08-02 04:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 04:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119872512001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119872512001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:25:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:25:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:25:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119872512001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":148953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:25:54] local.INFO: GPS data processed {"connection_id":148953,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:25:54] local.INFO: Acknowledgment sent {"connection_id":148953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:25:58] local.INFO: TCP Data received {"connection_id":148953,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:25:58] local.INFO: Processing buffer {"connection_id":148953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:25:58] local.INFO: Packet analysis {"connection_id":148953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:25:58] local.INFO: Extracted packet for processing {"connection_id":148953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:25:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119872512001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:25:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785624803000,"timestamp_ms":1785624803000,"timestamp_seconds":1785624803,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8836b8"} 
[2026-08-02 04:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 04:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119872512001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119872512001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:25:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:25:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:25:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119872512001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":148953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:25:58] local.INFO: GPS data processed {"connection_id":148953,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:25:58] local.INFO: Acknowledgment sent {"connection_id":148953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:26:42] local.INFO: TCP Data received {"connection_id":146404,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:26:42] local.INFO: Processing buffer {"connection_id":146404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:26:42] local.INFO: IMEI packet received {"connection_id":146404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":146404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:26:47] local.INFO: TCP Data received {"connection_id":146404,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:26:47] local.INFO: Processing buffer {"connection_id":146404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:26:47] local.INFO: IMEI packet received {"connection_id":146404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":146404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:26:49] local.INFO: TCP Data received {"connection_id":146404,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:26:49] local.INFO: Processing buffer {"connection_id":146404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:26:49] local.INFO: Packet analysis {"connection_id":146404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:26:49] local.INFO: Extracted packet for processing {"connection_id":146404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:26:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119872512001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:26:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785624803000,"timestamp_ms":1785624803000,"timestamp_seconds":1785624803,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8836b8"} 
[2026-08-02 04:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:26: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-08-02 04:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 04:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119872512001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119872512001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:26:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:26:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:26:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119872512001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":146404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:26:49] local.INFO: GPS data processed {"connection_id":146404,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:26:49] local.INFO: Acknowledgment sent {"connection_id":146404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:27:20] local.INFO: TCP Data received {"connection_id":146404,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:27:20] local.INFO: Processing buffer {"connection_id":146404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:27:20] local.INFO: Packet analysis {"connection_id":146404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:27:20] local.INFO: Extracted packet for processing {"connection_id":146404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:27:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119872512001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785624803000,"timestamp_ms":1785624803000,"timestamp_seconds":1785624803,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8836b8"} 
[2026-08-02 04:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 04:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119872512001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119872512001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:27:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:27:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119872512001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":146404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:27:20] local.INFO: GPS data processed {"connection_id":146404,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:27:20] local.INFO: Acknowledgment sent {"connection_id":146404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:27:42] local.INFO: TCP Data received {"connection_id":148954,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:27:43] local.INFO: Processing buffer {"connection_id":148954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:27:43] local.INFO: IMEI packet received {"connection_id":148954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":148954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:27:47] local.INFO: TCP Data received {"connection_id":148954,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:27:47] local.INFO: Processing buffer {"connection_id":148954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:27:47] local.INFO: IMEI packet received {"connection_id":148954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":148954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:27:49] local.INFO: TCP Data received {"connection_id":148954,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:27:49] local.INFO: Processing buffer {"connection_id":148954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:27:49] local.INFO: Packet analysis {"connection_id":148954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:27:49] local.INFO: Extracted packet for processing {"connection_id":148954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:27:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119872512001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:27:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785624803000,"timestamp_ms":1785624803000,"timestamp_seconds":1785624803,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8836b8"} 
[2026-08-02 04:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:27: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-08-02 04:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 04:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119872512001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119872512001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:27:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:27:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:27:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119872512001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":148954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:27:49] local.INFO: GPS data processed {"connection_id":148954,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:27:49] local.INFO: Acknowledgment sent {"connection_id":148954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:28:20] local.INFO: TCP Data received {"connection_id":148954,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:28:20] local.INFO: Processing buffer {"connection_id":148954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:28:20] local.INFO: Packet analysis {"connection_id":148954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:28:20] local.INFO: Extracted packet for processing {"connection_id":148954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:28:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119872512001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785624803000,"timestamp_ms":1785624803000,"timestamp_seconds":1785624803,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8836b8"} 
[2026-08-02 04:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 04:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119872512001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119872512001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:28:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:28:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119872512001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":148954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:28:20] local.INFO: GPS data processed {"connection_id":148954,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:28:20] local.INFO: Acknowledgment sent {"connection_id":148954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:28:42] local.INFO: TCP Data received {"connection_id":146635,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:28:42] local.INFO: Processing buffer {"connection_id":146635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:28:42] local.INFO: IMEI packet received {"connection_id":146635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":146635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:28:47] local.INFO: TCP Data received {"connection_id":146635,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:28:47] local.INFO: Processing buffer {"connection_id":146635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:28:47] local.INFO: IMEI packet received {"connection_id":146635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":146635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:28:48] local.INFO: TCP Data received {"connection_id":146635,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:28:48] local.INFO: Processing buffer {"connection_id":146635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8836b8012cc330c007685b20006000cd28..."} 
[2026-08-02 04:28:48] local.INFO: Packet analysis {"connection_id":146635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:28:48] local.INFO: Extracted packet for processing {"connection_id":146635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf88"} 
[2026-08-02 04:28:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04: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-08-02 04:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119872512001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:28:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785624803000,"timestamp_ms":1785624803000,"timestamp_seconds":1785624803,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8836b8"} 
[2026-08-02 04:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 04:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04: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-08-02 04:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119872512001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119872512001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:28:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:28:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:28:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119872512001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":146635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:28:48] local.INFO: GPS data processed {"connection_id":146635,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:28:48] local.INFO: Acknowledgment sent {"connection_id":146635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:29:20] local.INFO: TCP Data received {"connection_id":146635,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:29:20] local.INFO: Processing buffer {"connection_id":146635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:29:20] local.INFO: Packet analysis {"connection_id":146635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:29:20] local.INFO: Extracted packet for processing {"connection_id":146635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:29:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119949568001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785625104000,"timestamp_ms":1785625104000,"timestamp_seconds":1785625104,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8cce80"} 
[2026-08-02 04:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119949568001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119949568001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:29:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:29:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119949568001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":146635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:29:20] local.INFO: GPS data processed {"connection_id":146635,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:29:20] local.INFO: Acknowledgment sent {"connection_id":146635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:29:42] local.INFO: TCP Data received {"connection_id":146636,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:29:42] local.INFO: Processing buffer {"connection_id":146636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:29:42] local.INFO: IMEI packet received {"connection_id":146636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":146636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:29:47] local.INFO: TCP Data received {"connection_id":146636,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:29:47] local.INFO: Processing buffer {"connection_id":146636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:29:47] local.INFO: IMEI packet received {"connection_id":146636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":146636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:29:48] local.INFO: TCP Data received {"connection_id":146636,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:29:48] local.INFO: Processing buffer {"connection_id":146636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:29:48] local.INFO: Packet analysis {"connection_id":146636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:29:48] local.INFO: Extracted packet for processing {"connection_id":146636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:29:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119949568001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:29:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785625104000,"timestamp_ms":1785625104000,"timestamp_seconds":1785625104,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8cce80"} 
[2026-08-02 04:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119949568001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119949568001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:29:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:29:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:29:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119949568001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":146636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:29:48] local.INFO: GPS data processed {"connection_id":146636,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:29:48] local.INFO: Acknowledgment sent {"connection_id":146636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:30:20] local.INFO: TCP Data received {"connection_id":146636,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:30:20] local.INFO: Processing buffer {"connection_id":146636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:30:20] local.INFO: Packet analysis {"connection_id":146636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:30:20] local.INFO: Extracted packet for processing {"connection_id":146636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:30:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119949568001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785625104000,"timestamp_ms":1785625104000,"timestamp_seconds":1785625104,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8cce80"} 
[2026-08-02 04:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119949568001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119949568001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:30:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:30:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119949568001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":146636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:30:20] local.INFO: GPS data processed {"connection_id":146636,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:30:20] local.INFO: Acknowledgment sent {"connection_id":146636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:30:47] local.INFO: TCP Data received {"connection_id":146405,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:30:47] local.INFO: Processing buffer {"connection_id":146405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:30:47] local.INFO: IMEI packet received {"connection_id":146405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":146405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:30:52] local.INFO: TCP Data received {"connection_id":146405,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:30:52] local.INFO: Processing buffer {"connection_id":146405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:30:52] local.INFO: IMEI packet received {"connection_id":146405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":146405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:30:54] local.INFO: TCP Data received {"connection_id":146405,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:30:54] local.INFO: Processing buffer {"connection_id":146405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:30:54] local.INFO: Packet analysis {"connection_id":146405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:30:54] local.INFO: Extracted packet for processing {"connection_id":146405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:30:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119949568001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:30:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785625104000,"timestamp_ms":1785625104000,"timestamp_seconds":1785625104,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8cce80"} 
[2026-08-02 04:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119949568001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119949568001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:30:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:30:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:30:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119949568001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":146405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:30:54] local.INFO: GPS data processed {"connection_id":146405,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:30:54] local.INFO: Acknowledgment sent {"connection_id":146405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:30:58] local.INFO: TCP Data received {"connection_id":146405,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:30:58] local.INFO: Processing buffer {"connection_id":146405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:30:58] local.INFO: Packet analysis {"connection_id":146405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:30:58] local.INFO: Extracted packet for processing {"connection_id":146405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:30:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119949568001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:30:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785625104000,"timestamp_ms":1785625104000,"timestamp_seconds":1785625104,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8cce80"} 
[2026-08-02 04:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119949568001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119949568001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:30:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:30:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:30:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119949568001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":146405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:30:58] local.INFO: GPS data processed {"connection_id":146405,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:30:58] local.INFO: Acknowledgment sent {"connection_id":146405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:31:42] local.INFO: TCP Data received {"connection_id":148955,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:31:42] local.INFO: Processing buffer {"connection_id":148955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:31:42] local.INFO: IMEI packet received {"connection_id":148955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":148955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:31:47] local.INFO: TCP Data received {"connection_id":148955,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:31:47] local.INFO: Processing buffer {"connection_id":148955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:31:47] local.INFO: IMEI packet received {"connection_id":148955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":148955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:31:48] local.INFO: TCP Data received {"connection_id":148955,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:31:48] local.INFO: Processing buffer {"connection_id":148955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:31:48] local.INFO: Packet analysis {"connection_id":148955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:31:48] local.INFO: Extracted packet for processing {"connection_id":148955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:31:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04: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-08-02 04:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119949568001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:31:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785625104000,"timestamp_ms":1785625104000,"timestamp_seconds":1785625104,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8cce80"} 
[2026-08-02 04:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04: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-08-02 04:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119949568001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119949568001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:31:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:31:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:31:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119949568001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":148955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:31:49] local.INFO: GPS data processed {"connection_id":148955,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:31:49] local.INFO: Acknowledgment sent {"connection_id":148955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:32:20] local.INFO: TCP Data received {"connection_id":148955,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:32:20] local.INFO: Processing buffer {"connection_id":148955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:32:20] local.INFO: Packet analysis {"connection_id":148955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:32:20] local.INFO: Extracted packet for processing {"connection_id":148955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:32:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119949568001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785625104000,"timestamp_ms":1785625104000,"timestamp_seconds":1785625104,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8cce80"} 
[2026-08-02 04:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119949568001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119949568001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:32:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:32:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119949568001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":148955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:32:20] local.INFO: GPS data processed {"connection_id":148955,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:32:20] local.INFO: Acknowledgment sent {"connection_id":148955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:32:42] local.INFO: TCP Data received {"connection_id":146406,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:32:42] local.INFO: Processing buffer {"connection_id":146406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:32:42] local.INFO: IMEI packet received {"connection_id":146406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":146406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:32:47] local.INFO: TCP Data received {"connection_id":146406,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:32:47] local.INFO: Processing buffer {"connection_id":146406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:32:47] local.INFO: IMEI packet received {"connection_id":146406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":146406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:32:49] local.INFO: TCP Data received {"connection_id":146406,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:32:49] local.INFO: Processing buffer {"connection_id":146406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:32:49] local.INFO: Packet analysis {"connection_id":146406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:32:49] local.INFO: Extracted packet for processing {"connection_id":146406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:32:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04: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-08-02 04:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119949568001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:32:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785625104000,"timestamp_ms":1785625104000,"timestamp_seconds":1785625104,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8cce80"} 
[2026-08-02 04:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04: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-08-02 04:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119949568001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119949568001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:32:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:32:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:32:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119949568001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":146406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:32:49] local.INFO: GPS data processed {"connection_id":146406,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:32:49] local.INFO: Acknowledgment sent {"connection_id":146406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:33:20] local.INFO: TCP Data received {"connection_id":146406,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:33:20] local.INFO: Processing buffer {"connection_id":146406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:33:20] local.INFO: Packet analysis {"connection_id":146406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:33:20] local.INFO: Extracted packet for processing {"connection_id":146406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:33:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119949568001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785625104000,"timestamp_ms":1785625104000,"timestamp_seconds":1785625104,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8cce80"} 
[2026-08-02 04:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119949568001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119949568001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:33:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:33:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119949568001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":146406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:33:20] local.INFO: GPS data processed {"connection_id":146406,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:33:20] local.INFO: Acknowledgment sent {"connection_id":146406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:33:42] local.INFO: TCP Data received {"connection_id":148956,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:33:42] local.INFO: Processing buffer {"connection_id":148956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:33:42] local.INFO: IMEI packet received {"connection_id":148956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":148956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:33:47] local.INFO: TCP Data received {"connection_id":148956,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:33:47] local.INFO: Processing buffer {"connection_id":148956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:33:47] local.INFO: IMEI packet received {"connection_id":148956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":148956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:33:49] local.INFO: TCP Data received {"connection_id":148956,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:33:49] local.INFO: Processing buffer {"connection_id":148956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf8cce80012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:33:49] local.INFO: Packet analysis {"connection_id":148956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:33:49] local.INFO: Extracted packet for processing {"connection_id":148956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf8c"} 
[2026-08-02 04:33:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457119949568001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:33:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785625104000,"timestamp_ms":1785625104000,"timestamp_seconds":1785625104,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf8cce80"} 
[2026-08-02 04:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:33: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-08-02 04:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457119949568001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457119949568001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:33:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:33:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:33:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457119949568001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":148956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:33:49] local.INFO: GPS data processed {"connection_id":148956,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:33:49] local.INFO: Acknowledgment sent {"connection_id":148956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:34:20] local.INFO: TCP Data received {"connection_id":148956,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:34:20] local.INFO: Processing buffer {"connection_id":148956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:34:20] local.INFO: Packet analysis {"connection_id":148956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:34:20] local.INFO: Extracted packet for processing {"connection_id":148956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:34:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120026624001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785625405000,"timestamp_ms":1785625405000,"timestamp_seconds":1785625405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf916648"} 
[2026-08-02 04:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 04:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120026624001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120026624001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:34:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:34:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120026624001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":148956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:34:20] local.INFO: GPS data processed {"connection_id":148956,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:34:20] local.INFO: Acknowledgment sent {"connection_id":148956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:34:42] local.INFO: TCP Data received {"connection_id":146407,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:34:42] local.INFO: Processing buffer {"connection_id":146407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:34:42] local.INFO: IMEI packet received {"connection_id":146407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":146407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:34:47] local.INFO: TCP Data received {"connection_id":146407,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:34:47] local.INFO: Processing buffer {"connection_id":146407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:34:47] local.INFO: IMEI packet received {"connection_id":146407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":146407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:34:49] local.INFO: TCP Data received {"connection_id":146407,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:34:49] local.INFO: Processing buffer {"connection_id":146407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:34:49] local.INFO: Packet analysis {"connection_id":146407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:34:49] local.INFO: Extracted packet for processing {"connection_id":146407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:34:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120026624001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:34:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785625405000,"timestamp_ms":1785625405000,"timestamp_seconds":1785625405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf916648"} 
[2026-08-02 04:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:34: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-08-02 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 04:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120026624001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120026624001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:34:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:34:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:34:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120026624001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":146407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:34:49] local.INFO: GPS data processed {"connection_id":146407,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:34:49] local.INFO: Acknowledgment sent {"connection_id":146407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:35:20] local.INFO: TCP Data received {"connection_id":146407,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:35:20] local.INFO: Processing buffer {"connection_id":146407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:35:20] local.INFO: Packet analysis {"connection_id":146407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:35:20] local.INFO: Extracted packet for processing {"connection_id":146407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:35:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120026624001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785625405000,"timestamp_ms":1785625405000,"timestamp_seconds":1785625405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf916648"} 
[2026-08-02 04:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 04:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120026624001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120026624001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:35:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:35:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120026624001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":146407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:35:20] local.INFO: GPS data processed {"connection_id":146407,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:35:20] local.INFO: Acknowledgment sent {"connection_id":146407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:35:43] local.INFO: TCP Data received {"connection_id":148957,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:35:43] local.INFO: Processing buffer {"connection_id":148957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:35:43] local.INFO: IMEI packet received {"connection_id":148957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":148957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:35:47] local.INFO: TCP Data received {"connection_id":148957,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:35:47] local.INFO: Processing buffer {"connection_id":148957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:35:47] local.INFO: IMEI packet received {"connection_id":148957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":148957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:35:48] local.INFO: TCP Data received {"connection_id":148957,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:35:48] local.INFO: Processing buffer {"connection_id":148957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:35:48] local.INFO: Packet analysis {"connection_id":148957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:35:48] local.INFO: Extracted packet for processing {"connection_id":148957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:35:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04: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-08-02 04:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120026624001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:35:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785625405000,"timestamp_ms":1785625405000,"timestamp_seconds":1785625405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf916648"} 
[2026-08-02 04:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 04:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04: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-08-02 04:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120026624001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120026624001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:35:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:35:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:35:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120026624001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":148957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:35:48] local.INFO: GPS data processed {"connection_id":148957,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:35:48] local.INFO: Acknowledgment sent {"connection_id":148957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:36:20] local.INFO: TCP Data received {"connection_id":148957,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:36:20] local.INFO: Processing buffer {"connection_id":148957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:36:20] local.INFO: Packet analysis {"connection_id":148957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:36:20] local.INFO: Extracted packet for processing {"connection_id":148957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:36:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120026624001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785625405000,"timestamp_ms":1785625405000,"timestamp_seconds":1785625405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf916648"} 
[2026-08-02 04:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 04:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120026624001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120026624001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:36:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:36:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120026624001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":148957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:36:20] local.INFO: GPS data processed {"connection_id":148957,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:36:20] local.INFO: Acknowledgment sent {"connection_id":148957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:36:42] local.INFO: TCP Data received {"connection_id":146637,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:36:42] local.INFO: Processing buffer {"connection_id":146637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:36:42] local.INFO: IMEI packet received {"connection_id":146637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":146637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:36:47] local.INFO: TCP Data received {"connection_id":146637,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:36:47] local.INFO: Processing buffer {"connection_id":146637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:36:47] local.INFO: IMEI packet received {"connection_id":146637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":146637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:36:48] local.INFO: TCP Data received {"connection_id":146637,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:36:48] local.INFO: Processing buffer {"connection_id":146637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:36:48] local.INFO: Packet analysis {"connection_id":146637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:36:48] local.INFO: Extracted packet for processing {"connection_id":146637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:36:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120026624001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:36:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785625405000,"timestamp_ms":1785625405000,"timestamp_seconds":1785625405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf916648"} 
[2026-08-02 04:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 04:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120026624001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120026624001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:36:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:36:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:36:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120026624001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":146637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:36:48] local.INFO: GPS data processed {"connection_id":146637,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:36:48] local.INFO: Acknowledgment sent {"connection_id":146637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:37:20] local.INFO: TCP Data received {"connection_id":146637,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:37:20] local.INFO: Processing buffer {"connection_id":146637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:37:20] local.INFO: Packet analysis {"connection_id":146637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:37:20] local.INFO: Extracted packet for processing {"connection_id":146637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:37:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120026624001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785625405000,"timestamp_ms":1785625405000,"timestamp_seconds":1785625405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf916648"} 
[2026-08-02 04:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 04:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120026624001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120026624001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:37:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:37:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120026624001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":146637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:37:20] local.INFO: GPS data processed {"connection_id":146637,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:37:20] local.INFO: Acknowledgment sent {"connection_id":146637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:37:42] local.INFO: TCP Data received {"connection_id":147633,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:37:42] local.INFO: Processing buffer {"connection_id":147633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:37:42] local.INFO: IMEI packet received {"connection_id":147633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":147633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:37:47] local.INFO: TCP Data received {"connection_id":147633,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:37:47] local.INFO: Processing buffer {"connection_id":147633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:37:47] local.INFO: IMEI packet received {"connection_id":147633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":147633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:37:48] local.INFO: TCP Data received {"connection_id":147633,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:37:48] local.INFO: Processing buffer {"connection_id":147633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:37:48] local.INFO: Packet analysis {"connection_id":147633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:37:48] local.INFO: Extracted packet for processing {"connection_id":147633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:37:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120026624001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:37:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785625405000,"timestamp_ms":1785625405000,"timestamp_seconds":1785625405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf916648"} 
[2026-08-02 04:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 04:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120026624001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120026624001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:37:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:37:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:37:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120026624001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":147633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:37:48] local.INFO: GPS data processed {"connection_id":147633,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:37:48] local.INFO: Acknowledgment sent {"connection_id":147633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:38:20] local.INFO: TCP Data received {"connection_id":147633,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:38:20] local.INFO: Processing buffer {"connection_id":147633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:38:20] local.INFO: Packet analysis {"connection_id":147633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:38:20] local.INFO: Extracted packet for processing {"connection_id":147633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:38:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120026624001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785625405000,"timestamp_ms":1785625405000,"timestamp_seconds":1785625405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf916648"} 
[2026-08-02 04:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 04:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120026624001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120026624001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:38:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:38:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120026624001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":147633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:38:20] local.INFO: GPS data processed {"connection_id":147633,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:38:20] local.INFO: Acknowledgment sent {"connection_id":147633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:38:47] local.INFO: TCP Data received {"connection_id":146638,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:38:47] local.INFO: Processing buffer {"connection_id":146638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:38:47] local.INFO: IMEI packet received {"connection_id":146638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":146638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:38:52] local.INFO: TCP Data received {"connection_id":146638,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:38:52] local.INFO: Processing buffer {"connection_id":146638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:38:52] local.INFO: IMEI packet received {"connection_id":146638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":146638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:38:54] local.INFO: TCP Data received {"connection_id":146638,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:38:54] local.INFO: Processing buffer {"connection_id":146638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:38:54] local.INFO: Packet analysis {"connection_id":146638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:38:54] local.INFO: Extracted packet for processing {"connection_id":146638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:38:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120026624001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:38:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785625405000,"timestamp_ms":1785625405000,"timestamp_seconds":1785625405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf916648"} 
[2026-08-02 04:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 04:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120026624001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120026624001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:38:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:38:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:38:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120026624001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":146638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:38:54] local.INFO: GPS data processed {"connection_id":146638,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:38:54] local.INFO: Acknowledgment sent {"connection_id":146638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:38:58] local.INFO: TCP Data received {"connection_id":146638,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:38:58] local.INFO: Processing buffer {"connection_id":146638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf916648012cc330c007685b20006000cd2a..."} 
[2026-08-02 04:38:58] local.INFO: Packet analysis {"connection_id":146638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:38:58] local.INFO: Extracted packet for processing {"connection_id":146638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf91"} 
[2026-08-02 04:38:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120026624001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:38:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785625405000,"timestamp_ms":1785625405000,"timestamp_seconds":1785625405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf916648"} 
[2026-08-02 04:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 04:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120026624001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120026624001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:38:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:38:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:38:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120026624001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":146638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:38:58] local.INFO: GPS data processed {"connection_id":146638,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:38:58] local.INFO: Acknowledgment sent {"connection_id":146638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:39:43] local.INFO: TCP Data received {"connection_id":147634,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:39:43] local.INFO: Processing buffer {"connection_id":147634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:39:43] local.INFO: IMEI packet received {"connection_id":147634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":147634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:39:47] local.INFO: TCP Data received {"connection_id":147634,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:39:47] local.INFO: Processing buffer {"connection_id":147634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:39:47] local.INFO: IMEI packet received {"connection_id":147634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":147634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:39:49] local.INFO: TCP Data received {"connection_id":147634,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:39:49] local.INFO: Processing buffer {"connection_id":147634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:39:49] local.INFO: Packet analysis {"connection_id":147634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:39:49] local.INFO: Extracted packet for processing {"connection_id":147634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:39:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120103680001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:39:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785625706000,"timestamp_ms":1785625706000,"timestamp_seconds":1785625706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf95fe10"} 
[2026-08-02 04:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120103680001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120103680001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:39:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:39:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:39:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120103680001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":147634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:39:49] local.INFO: GPS data processed {"connection_id":147634,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:39:49] local.INFO: Acknowledgment sent {"connection_id":147634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:40:20] local.INFO: TCP Data received {"connection_id":147634,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:40:20] local.INFO: Processing buffer {"connection_id":147634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:40:20] local.INFO: Packet analysis {"connection_id":147634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:40:20] local.INFO: Extracted packet for processing {"connection_id":147634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:40:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120103680001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785625706000,"timestamp_ms":1785625706000,"timestamp_seconds":1785625706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf95fe10"} 
[2026-08-02 04:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120103680001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120103680001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:40:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:40:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120103680001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":147634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:40:20] local.INFO: GPS data processed {"connection_id":147634,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:40:20] local.INFO: Acknowledgment sent {"connection_id":147634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:40:42] local.INFO: TCP Data received {"connection_id":146639,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:40:42] local.INFO: Processing buffer {"connection_id":146639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:40:42] local.INFO: IMEI packet received {"connection_id":146639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":146639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:40:47] local.INFO: TCP Data received {"connection_id":146639,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:40:47] local.INFO: Processing buffer {"connection_id":146639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:40:47] local.INFO: IMEI packet received {"connection_id":146639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":146639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:40:48] local.INFO: TCP Data received {"connection_id":146639,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:40:48] local.INFO: Processing buffer {"connection_id":146639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:40:48] local.INFO: Packet analysis {"connection_id":146639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:40:48] local.INFO: Extracted packet for processing {"connection_id":146639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:40:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120103680001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:40:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785625706000,"timestamp_ms":1785625706000,"timestamp_seconds":1785625706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf95fe10"} 
[2026-08-02 04:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120103680001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120103680001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:40:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:40:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:40:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120103680001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":146639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:40:48] local.INFO: GPS data processed {"connection_id":146639,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:40:48] local.INFO: Acknowledgment sent {"connection_id":146639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:41:21] local.INFO: TCP Data received {"connection_id":146639,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:41:21] local.INFO: Processing buffer {"connection_id":146639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:41:21] local.INFO: Packet analysis {"connection_id":146639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:41:21] local.INFO: Extracted packet for processing {"connection_id":146639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:41:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120103680001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785625706000,"timestamp_ms":1785625706000,"timestamp_seconds":1785625706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf95fe10"} 
[2026-08-02 04:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120103680001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120103680001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:41:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:41:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120103680001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":146639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:41:21] local.INFO: GPS data processed {"connection_id":146639,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:41:21] local.INFO: Acknowledgment sent {"connection_id":146639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:41:42] local.INFO: TCP Data received {"connection_id":146408,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:41:42] local.INFO: Processing buffer {"connection_id":146408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:41:42] local.INFO: IMEI packet received {"connection_id":146408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":146408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:41:47] local.INFO: TCP Data received {"connection_id":146408,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:41:47] local.INFO: Processing buffer {"connection_id":146408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:41:47] local.INFO: IMEI packet received {"connection_id":146408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":146408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:41:49] local.INFO: TCP Data received {"connection_id":146408,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:41:49] local.INFO: Processing buffer {"connection_id":146408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:41:49] local.INFO: Packet analysis {"connection_id":146408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:41:49] local.INFO: Extracted packet for processing {"connection_id":146408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:41:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120103680001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:41:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785625706000,"timestamp_ms":1785625706000,"timestamp_seconds":1785625706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf95fe10"} 
[2026-08-02 04:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:41: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-08-02 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120103680001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120103680001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:41:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:41:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:41:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120103680001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":146408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:41:49] local.INFO: GPS data processed {"connection_id":146408,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:41:49] local.INFO: Acknowledgment sent {"connection_id":146408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:42:21] local.INFO: TCP Data received {"connection_id":146408,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:42:21] local.INFO: Processing buffer {"connection_id":146408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:42:21] local.INFO: Packet analysis {"connection_id":146408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:42:21] local.INFO: Extracted packet for processing {"connection_id":146408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:42:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120103680001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:42:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785625706000,"timestamp_ms":1785625706000,"timestamp_seconds":1785625706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf95fe10"} 
[2026-08-02 04:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120103680001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120103680001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:42:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:42:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120103680001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":146408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:42:21] local.INFO: GPS data processed {"connection_id":146408,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:42:21] local.INFO: Acknowledgment sent {"connection_id":146408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:42:47] local.INFO: TCP Data received {"connection_id":147635,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:42:47] local.INFO: Processing buffer {"connection_id":147635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:42:47] local.INFO: IMEI packet received {"connection_id":147635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":147635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:42:52] local.INFO: TCP Data received {"connection_id":147635,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:42:52] local.INFO: Processing buffer {"connection_id":147635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:42:52] local.INFO: IMEI packet received {"connection_id":147635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":147635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:42:54] local.INFO: TCP Data received {"connection_id":147635,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:42:54] local.INFO: Processing buffer {"connection_id":147635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:42:54] local.INFO: Packet analysis {"connection_id":147635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:42:54] local.INFO: Extracted packet for processing {"connection_id":147635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:42:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120103680001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:42:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785625706000,"timestamp_ms":1785625706000,"timestamp_seconds":1785625706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf95fe10"} 
[2026-08-02 04:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120103680001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120103680001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:42:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:42:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:42:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120103680001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":147635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:42:54] local.INFO: GPS data processed {"connection_id":147635,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:42:54] local.INFO: Acknowledgment sent {"connection_id":147635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:42:58] local.INFO: TCP Data received {"connection_id":147635,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:42:58] local.INFO: Processing buffer {"connection_id":147635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:42:58] local.INFO: Packet analysis {"connection_id":147635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:42:58] local.INFO: Extracted packet for processing {"connection_id":147635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:42:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120103680001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:42:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785625706000,"timestamp_ms":1785625706000,"timestamp_seconds":1785625706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf95fe10"} 
[2026-08-02 04:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120103680001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120103680001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:42:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:42:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:42:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120103680001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":147635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:42:58] local.INFO: GPS data processed {"connection_id":147635,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:42:58] local.INFO: Acknowledgment sent {"connection_id":147635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:43:42] local.INFO: TCP Data received {"connection_id":146409,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:43:42] local.INFO: Processing buffer {"connection_id":146409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:43:42] local.INFO: IMEI packet received {"connection_id":146409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":146409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:43:47] local.INFO: TCP Data received {"connection_id":146409,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:43:47] local.INFO: Processing buffer {"connection_id":146409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:43:47] local.INFO: IMEI packet received {"connection_id":146409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":146409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:43:48] local.INFO: TCP Data received {"connection_id":146409,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:43:48] local.INFO: Processing buffer {"connection_id":146409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf95fe10012cc330c007685b20006000cd2b..."} 
[2026-08-02 04:43:48] local.INFO: Packet analysis {"connection_id":146409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:43:48] local.INFO: Extracted packet for processing {"connection_id":146409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf95"} 
[2026-08-02 04:43:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120103680001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:43:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785625706000,"timestamp_ms":1785625706000,"timestamp_seconds":1785625706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf95fe10"} 
[2026-08-02 04:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120103680001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120103680001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:43:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:43:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:43:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120103680001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":146409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:43:48] local.INFO: GPS data processed {"connection_id":146409,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:43:48] local.INFO: Acknowledgment sent {"connection_id":146409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:44:19] local.INFO: TCP Data received {"connection_id":146409,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:44:19] local.INFO: Processing buffer {"connection_id":146409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:44:19] local.INFO: Packet analysis {"connection_id":146409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:44:19] local.INFO: Extracted packet for processing {"connection_id":146409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:44:19] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04: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-08-02 04:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120180736001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:44:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785626007000,"timestamp_ms":1785626007000,"timestamp_seconds":1785626007,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9a95d8"} 
[2026-08-02 04:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:44: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-08-02 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04: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-08-02 04:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120180736001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120180736001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:44:19] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:44:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:44:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120180736001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":146409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:44:19] local.INFO: GPS data processed {"connection_id":146409,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:44:19] local.INFO: Acknowledgment sent {"connection_id":146409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:44:42] local.INFO: TCP Data received {"connection_id":146640,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:44:42] local.INFO: Processing buffer {"connection_id":146640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:44:42] local.INFO: IMEI packet received {"connection_id":146640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":146640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:44:47] local.INFO: TCP Data received {"connection_id":146640,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:44:47] local.INFO: Processing buffer {"connection_id":146640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:44:47] local.INFO: IMEI packet received {"connection_id":146640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":146640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:44:48] local.INFO: TCP Data received {"connection_id":146640,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:44:48] local.INFO: Processing buffer {"connection_id":146640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:44:48] local.INFO: Packet analysis {"connection_id":146640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:44:48] local.INFO: Extracted packet for processing {"connection_id":146640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:44:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120180736001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:44:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785626007000,"timestamp_ms":1785626007000,"timestamp_seconds":1785626007,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9a95d8"} 
[2026-08-02 04:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120180736001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120180736001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:44:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:44:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:44:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120180736001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":146640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:44:48] local.INFO: GPS data processed {"connection_id":146640,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:44:48] local.INFO: Acknowledgment sent {"connection_id":146640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:45:20] local.INFO: TCP Data received {"connection_id":146640,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:45:20] local.INFO: Processing buffer {"connection_id":146640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:45:20] local.INFO: Packet analysis {"connection_id":146640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:45:20] local.INFO: Extracted packet for processing {"connection_id":146640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:45:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120180736001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785626007000,"timestamp_ms":1785626007000,"timestamp_seconds":1785626007,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9a95d8"} 
[2026-08-02 04:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120180736001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120180736001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:45:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:45:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120180736001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":146640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:45:20] local.INFO: GPS data processed {"connection_id":146640,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:45:20] local.INFO: Acknowledgment sent {"connection_id":146640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:45:47] local.INFO: TCP Data received {"connection_id":146410,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:45:47] local.INFO: Processing buffer {"connection_id":146410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:45:47] local.INFO: IMEI packet received {"connection_id":146410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":146410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:45:52] local.INFO: TCP Data received {"connection_id":146410,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:45:52] local.INFO: Processing buffer {"connection_id":146410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:45:52] local.INFO: IMEI packet received {"connection_id":146410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":146410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:45:53] local.INFO: TCP Data received {"connection_id":146410,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:45:53] local.INFO: Processing buffer {"connection_id":146410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:45:53] local.INFO: Packet analysis {"connection_id":146410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:45:53] local.INFO: Extracted packet for processing {"connection_id":146410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:45:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120180736001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:45:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785626007000,"timestamp_ms":1785626007000,"timestamp_seconds":1785626007,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9a95d8"} 
[2026-08-02 04:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120180736001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120180736001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:45:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:45:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:45:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120180736001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":146410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:45:53] local.INFO: GPS data processed {"connection_id":146410,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:45:53] local.INFO: Acknowledgment sent {"connection_id":146410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:45:58] local.INFO: TCP Data received {"connection_id":146410,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:45:58] local.INFO: Processing buffer {"connection_id":146410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:45:58] local.INFO: Packet analysis {"connection_id":146410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:45:58] local.INFO: Extracted packet for processing {"connection_id":146410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:45:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120180736001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:45:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785626007000,"timestamp_ms":1785626007000,"timestamp_seconds":1785626007,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9a95d8"} 
[2026-08-02 04:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120180736001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120180736001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:45:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:45:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:45:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120180736001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":146410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:45:58] local.INFO: GPS data processed {"connection_id":146410,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:45:58] local.INFO: Acknowledgment sent {"connection_id":146410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:46:42] local.INFO: TCP Data received {"connection_id":147636,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:46:42] local.INFO: Processing buffer {"connection_id":147636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:46:42] local.INFO: IMEI packet received {"connection_id":147636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":147636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:46:47] local.INFO: TCP Data received {"connection_id":147636,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:46:47] local.INFO: Processing buffer {"connection_id":147636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:46:47] local.INFO: IMEI packet received {"connection_id":147636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":147636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:46:49] local.INFO: TCP Data received {"connection_id":147636,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:46:49] local.INFO: Processing buffer {"connection_id":147636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:46:49] local.INFO: Packet analysis {"connection_id":147636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:46:49] local.INFO: Extracted packet for processing {"connection_id":147636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:46:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120180736001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:46:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785626007000,"timestamp_ms":1785626007000,"timestamp_seconds":1785626007,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9a95d8"} 
[2026-08-02 04:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:46: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-08-02 04:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120180736001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120180736001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:46:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:46:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:46:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120180736001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":147636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:46:49] local.INFO: GPS data processed {"connection_id":147636,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:46:49] local.INFO: Acknowledgment sent {"connection_id":147636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:47:20] local.INFO: TCP Data received {"connection_id":147636,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:47:20] local.INFO: Processing buffer {"connection_id":147636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:47:20] local.INFO: Packet analysis {"connection_id":147636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:47:20] local.INFO: Extracted packet for processing {"connection_id":147636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:47:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120180736001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785626007000,"timestamp_ms":1785626007000,"timestamp_seconds":1785626007,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9a95d8"} 
[2026-08-02 04:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120180736001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120180736001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:47:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:47:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120180736001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":147636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:47:20] local.INFO: GPS data processed {"connection_id":147636,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:47:20] local.INFO: Acknowledgment sent {"connection_id":147636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:47:43] local.INFO: TCP Data received {"connection_id":148958,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:47:43] local.INFO: Processing buffer {"connection_id":148958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:47:43] local.INFO: IMEI packet received {"connection_id":148958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":148958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:47:47] local.INFO: TCP Data received {"connection_id":148958,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:47:47] local.INFO: Processing buffer {"connection_id":148958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:47:47] local.INFO: IMEI packet received {"connection_id":148958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":148958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:47:48] local.INFO: TCP Data received {"connection_id":148958,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:47:48] local.INFO: Processing buffer {"connection_id":148958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:47:48] local.INFO: Packet analysis {"connection_id":148958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:47:48] local.INFO: Extracted packet for processing {"connection_id":148958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:47:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120180736001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:47:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785626007000,"timestamp_ms":1785626007000,"timestamp_seconds":1785626007,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9a95d8"} 
[2026-08-02 04:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120180736001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120180736001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:47:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:47:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:47:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120180736001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":148958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:47:48] local.INFO: GPS data processed {"connection_id":148958,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:47:48] local.INFO: Acknowledgment sent {"connection_id":148958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:48:20] local.INFO: TCP Data received {"connection_id":148958,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:48:20] local.INFO: Processing buffer {"connection_id":148958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:48:20] local.INFO: Packet analysis {"connection_id":148958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:48:20] local.INFO: Extracted packet for processing {"connection_id":148958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:48:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120180736001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785626007000,"timestamp_ms":1785626007000,"timestamp_seconds":1785626007,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9a95d8"} 
[2026-08-02 04:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120180736001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120180736001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:48:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:48:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120180736001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":148958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:48:20] local.INFO: GPS data processed {"connection_id":148958,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:48:20] local.INFO: Acknowledgment sent {"connection_id":148958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:48:42] local.INFO: TCP Data received {"connection_id":147637,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:48:42] local.INFO: Processing buffer {"connection_id":147637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:48:42] local.INFO: IMEI packet received {"connection_id":147637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":147637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:48:47] local.INFO: TCP Data received {"connection_id":147637,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:48:47] local.INFO: Processing buffer {"connection_id":147637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:48:47] local.INFO: IMEI packet received {"connection_id":147637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":147637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:48:49] local.INFO: TCP Data received {"connection_id":147637,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:48:49] local.INFO: Processing buffer {"connection_id":147637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9a95d8012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:48:49] local.INFO: Packet analysis {"connection_id":147637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:48:49] local.INFO: Extracted packet for processing {"connection_id":147637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9a"} 
[2026-08-02 04:48:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120180736001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:48:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785626007000,"timestamp_ms":1785626007000,"timestamp_seconds":1785626007,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9a95d8"} 
[2026-08-02 04:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:48: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-08-02 04:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120180736001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120180736001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:48:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:48:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:48:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120180736001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":147637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:48:49] local.INFO: GPS data processed {"connection_id":147637,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:48:49] local.INFO: Acknowledgment sent {"connection_id":147637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:49:22] local.INFO: TCP Data received {"connection_id":147637,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:49:22] local.INFO: Processing buffer {"connection_id":147637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:49:22] local.INFO: Packet analysis {"connection_id":147637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:49:22] local.INFO: Extracted packet for processing {"connection_id":147637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:49:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120257792001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785626308000,"timestamp_ms":1785626308000,"timestamp_seconds":1785626308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9f2da0"} 
[2026-08-02 04:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120257792001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120257792001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:49:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:49:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120257792001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":147637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:49:22] local.INFO: GPS data processed {"connection_id":147637,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:49:22] local.INFO: Acknowledgment sent {"connection_id":147637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:49:42] local.INFO: TCP Data received {"connection_id":146411,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:49:42] local.INFO: Processing buffer {"connection_id":146411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:49:42] local.INFO: IMEI packet received {"connection_id":146411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":146411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:49:47] local.INFO: TCP Data received {"connection_id":146411,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:49:47] local.INFO: Processing buffer {"connection_id":146411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:49:47] local.INFO: IMEI packet received {"connection_id":146411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":146411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:49:49] local.INFO: TCP Data received {"connection_id":146411,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:49:49] local.INFO: Processing buffer {"connection_id":146411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:49:49] local.INFO: Packet analysis {"connection_id":146411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:49:49] local.INFO: Extracted packet for processing {"connection_id":146411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:49:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120257792001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:49:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785626308000,"timestamp_ms":1785626308000,"timestamp_seconds":1785626308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9f2da0"} 
[2026-08-02 04:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:49: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-08-02 04:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120257792001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120257792001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:49:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:49:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:49:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120257792001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":146411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:49:49] local.INFO: GPS data processed {"connection_id":146411,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:49:49] local.INFO: Acknowledgment sent {"connection_id":146411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:50:20] local.INFO: TCP Data received {"connection_id":146411,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:50:20] local.INFO: Processing buffer {"connection_id":146411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:50:20] local.INFO: Packet analysis {"connection_id":146411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:50:20] local.INFO: Extracted packet for processing {"connection_id":146411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:50:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120257792001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785626308000,"timestamp_ms":1785626308000,"timestamp_seconds":1785626308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9f2da0"} 
[2026-08-02 04:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120257792001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120257792001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:50:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:50:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120257792001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":146411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:50:20] local.INFO: GPS data processed {"connection_id":146411,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:50:20] local.INFO: Acknowledgment sent {"connection_id":146411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:50:42] local.INFO: TCP Data received {"connection_id":146412,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:50:42] local.INFO: Processing buffer {"connection_id":146412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:50:42] local.INFO: IMEI packet received {"connection_id":146412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":146412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:50:47] local.INFO: TCP Data received {"connection_id":146412,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:50:47] local.INFO: Processing buffer {"connection_id":146412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:50:47] local.INFO: IMEI packet received {"connection_id":146412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":146412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:50:49] local.INFO: TCP Data received {"connection_id":146412,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:50:49] local.INFO: Processing buffer {"connection_id":146412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:50:49] local.INFO: Packet analysis {"connection_id":146412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:50:49] local.INFO: Extracted packet for processing {"connection_id":146412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:50:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120257792001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:50:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785626308000,"timestamp_ms":1785626308000,"timestamp_seconds":1785626308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9f2da0"} 
[2026-08-02 04:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:50: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-08-02 04:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120257792001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120257792001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:50:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:50:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:50:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120257792001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":146412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:50:49] local.INFO: GPS data processed {"connection_id":146412,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:50:49] local.INFO: Acknowledgment sent {"connection_id":146412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:51:20] local.INFO: TCP Data received {"connection_id":146412,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:51:20] local.INFO: Processing buffer {"connection_id":146412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:51:20] local.INFO: Packet analysis {"connection_id":146412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:51:20] local.INFO: Extracted packet for processing {"connection_id":146412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:51:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120257792001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785626308000,"timestamp_ms":1785626308000,"timestamp_seconds":1785626308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9f2da0"} 
[2026-08-02 04:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120257792001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120257792001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:51:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:51:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120257792001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":146412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:51:20] local.INFO: GPS data processed {"connection_id":146412,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:51:20] local.INFO: Acknowledgment sent {"connection_id":146412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:51:42] local.INFO: TCP Data received {"connection_id":146641,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:51:42] local.INFO: Processing buffer {"connection_id":146641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:51:42] local.INFO: IMEI packet received {"connection_id":146641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":146641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:51:47] local.INFO: TCP Data received {"connection_id":146641,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:51:47] local.INFO: Processing buffer {"connection_id":146641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:51:47] local.INFO: IMEI packet received {"connection_id":146641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":146641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:51:49] local.INFO: TCP Data received {"connection_id":146641,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:51:49] local.INFO: Processing buffer {"connection_id":146641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:51:49] local.INFO: Packet analysis {"connection_id":146641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:51:49] local.INFO: Extracted packet for processing {"connection_id":146641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:51:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120257792001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785626308000,"timestamp_ms":1785626308000,"timestamp_seconds":1785626308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9f2da0"} 
[2026-08-02 04:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120257792001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120257792001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:51:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:51:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120257792001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":146641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:51:49] local.INFO: GPS data processed {"connection_id":146641,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:51:49] local.INFO: Acknowledgment sent {"connection_id":146641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:52:21] local.INFO: TCP Data received {"connection_id":146641,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:52:21] local.INFO: Processing buffer {"connection_id":146641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:52:21] local.INFO: Packet analysis {"connection_id":146641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:52:21] local.INFO: Extracted packet for processing {"connection_id":146641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:52:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120257792001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785626308000,"timestamp_ms":1785626308000,"timestamp_seconds":1785626308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9f2da0"} 
[2026-08-02 04:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120257792001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120257792001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:52:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:52:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120257792001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":146641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:52:21] local.INFO: GPS data processed {"connection_id":146641,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:52:21] local.INFO: Acknowledgment sent {"connection_id":146641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:52:42] local.INFO: TCP Data received {"connection_id":146413,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:52:42] local.INFO: Processing buffer {"connection_id":146413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:52:42] local.INFO: IMEI packet received {"connection_id":146413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":146413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:52:47] local.INFO: TCP Data received {"connection_id":146413,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:52:47] local.INFO: Processing buffer {"connection_id":146413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:52:47] local.INFO: IMEI packet received {"connection_id":146413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":146413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:52:48] local.INFO: TCP Data received {"connection_id":146413,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:52:48] local.INFO: Processing buffer {"connection_id":146413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:52:48] local.INFO: Packet analysis {"connection_id":146413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:52:48] local.INFO: Extracted packet for processing {"connection_id":146413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:52:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04: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-08-02 04:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120257792001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:52:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785626308000,"timestamp_ms":1785626308000,"timestamp_seconds":1785626308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9f2da0"} 
[2026-08-02 04:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04: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-08-02 04:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120257792001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120257792001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:52:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:52:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:52:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120257792001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":146413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:52:48] local.INFO: GPS data processed {"connection_id":146413,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:52:48] local.INFO: Acknowledgment sent {"connection_id":146413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:53:21] local.INFO: TCP Data received {"connection_id":146413,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:53:21] local.INFO: Processing buffer {"connection_id":146413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:53:21] local.INFO: Packet analysis {"connection_id":146413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:53:21] local.INFO: Extracted packet for processing {"connection_id":146413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:53:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120257792001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:53:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785626308000,"timestamp_ms":1785626308000,"timestamp_seconds":1785626308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9f2da0"} 
[2026-08-02 04:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120257792001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120257792001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:53:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:53:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:53:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120257792001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":146413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:53:21] local.INFO: GPS data processed {"connection_id":146413,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:53:21] local.INFO: Acknowledgment sent {"connection_id":146413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:53:50] local.INFO: TCP Data received {"connection_id":147638,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:53:50] local.INFO: Processing buffer {"connection_id":147638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:53:50] local.INFO: IMEI packet received {"connection_id":147638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":147638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:53:52] local.INFO: TCP Data received {"connection_id":147638,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:53:52] local.INFO: Processing buffer {"connection_id":147638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:53:52] local.INFO: IMEI packet received {"connection_id":147638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":147638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:53:53] local.INFO: TCP Data received {"connection_id":147638,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:53:53] local.INFO: Processing buffer {"connection_id":147638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:53:53] local.INFO: Packet analysis {"connection_id":147638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:53:53] local.INFO: Extracted packet for processing {"connection_id":147638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:53:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120257792001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:53:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785626308000,"timestamp_ms":1785626308000,"timestamp_seconds":1785626308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9f2da0"} 
[2026-08-02 04:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120257792001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120257792001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:53:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:53:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:53:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120257792001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":147638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:53:53] local.INFO: GPS data processed {"connection_id":147638,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:53:53] local.INFO: Acknowledgment sent {"connection_id":147638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:53:58] local.INFO: TCP Data received {"connection_id":147638,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:53:58] local.INFO: Processing buffer {"connection_id":147638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbf9f2da0012cc330c007685b20006000cd2c..."} 
[2026-08-02 04:53:58] local.INFO: Packet analysis {"connection_id":147638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:53:58] local.INFO: Extracted packet for processing {"connection_id":147638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbf9f"} 
[2026-08-02 04:53:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120257792001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:53:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785626308000,"timestamp_ms":1785626308000,"timestamp_seconds":1785626308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbf9f2da0"} 
[2026-08-02 04:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120257792001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120257792001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:53:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:53:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:53:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120257792001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":147638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:53:58] local.INFO: GPS data processed {"connection_id":147638,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:53:58] local.INFO: Acknowledgment sent {"connection_id":147638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:54:42] local.INFO: TCP Data received {"connection_id":146415,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:54:42] local.INFO: Processing buffer {"connection_id":146415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:54:42] local.INFO: IMEI packet received {"connection_id":146415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":146415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:54:47] local.INFO: TCP Data received {"connection_id":146415,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:54:47] local.INFO: Processing buffer {"connection_id":146415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:54:47] local.INFO: IMEI packet received {"connection_id":146415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":146415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:54:48] local.INFO: TCP Data received {"connection_id":146415,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:54:49] local.INFO: Processing buffer {"connection_id":146415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:54:49] local.INFO: Packet analysis {"connection_id":146415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:54:49] local.INFO: Extracted packet for processing {"connection_id":146415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:54:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120334848001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:54:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785626609000,"timestamp_ms":1785626609000,"timestamp_seconds":1785626609,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa3c568"} 
[2026-08-02 04:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:54: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-08-02 04:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120334848001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120334848001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:54:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:54:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:54:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120334848001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":146415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:54:49] local.INFO: GPS data processed {"connection_id":146415,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:54:49] local.INFO: Acknowledgment sent {"connection_id":146415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:55:20] local.INFO: TCP Data received {"connection_id":146415,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:55:20] local.INFO: Processing buffer {"connection_id":146415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:55:20] local.INFO: Packet analysis {"connection_id":146415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:55:20] local.INFO: Extracted packet for processing {"connection_id":146415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:55:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120334848001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785626609000,"timestamp_ms":1785626609000,"timestamp_seconds":1785626609,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa3c568"} 
[2026-08-02 04:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120334848001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120334848001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:55:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:55:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120334848001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":146415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:55:20] local.INFO: GPS data processed {"connection_id":146415,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:55:20] local.INFO: Acknowledgment sent {"connection_id":146415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:55:42] local.INFO: TCP Data received {"connection_id":148959,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:55:42] local.INFO: Processing buffer {"connection_id":148959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:55:42] local.INFO: IMEI packet received {"connection_id":148959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":148959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:55:47] local.INFO: TCP Data received {"connection_id":148959,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:55:47] local.INFO: Processing buffer {"connection_id":148959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:55:47] local.INFO: IMEI packet received {"connection_id":148959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":148959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:55:48] local.INFO: TCP Data received {"connection_id":148959,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:55:48] local.INFO: Processing buffer {"connection_id":148959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:55:48] local.INFO: Packet analysis {"connection_id":148959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:55:48] local.INFO: Extracted packet for processing {"connection_id":148959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:55:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120334848001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:55:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785626609000,"timestamp_ms":1785626609000,"timestamp_seconds":1785626609,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa3c568"} 
[2026-08-02 04:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120334848001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120334848001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:55:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:55:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:55:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120334848001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":148959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:55:48] local.INFO: GPS data processed {"connection_id":148959,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:55:48] local.INFO: Acknowledgment sent {"connection_id":148959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:56:21] local.INFO: TCP Data received {"connection_id":148959,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:56:21] local.INFO: Processing buffer {"connection_id":148959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:56:21] local.INFO: Packet analysis {"connection_id":148959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:56:21] local.INFO: Extracted packet for processing {"connection_id":148959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:56:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120334848001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785626609000,"timestamp_ms":1785626609000,"timestamp_seconds":1785626609,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa3c568"} 
[2026-08-02 04:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120334848001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120334848001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:56:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:56:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120334848001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":148959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:56:21] local.INFO: GPS data processed {"connection_id":148959,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:56:21] local.INFO: Acknowledgment sent {"connection_id":148959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:56:47] local.INFO: TCP Data received {"connection_id":146642,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:56:47] local.INFO: Processing buffer {"connection_id":146642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:56:47] local.INFO: IMEI packet received {"connection_id":146642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":146642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:56:52] local.INFO: TCP Data received {"connection_id":146642,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:56:52] local.INFO: Processing buffer {"connection_id":146642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:56:52] local.INFO: IMEI packet received {"connection_id":146642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":146642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:56:54] local.INFO: TCP Data received {"connection_id":146642,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:56:54] local.INFO: Processing buffer {"connection_id":146642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:56:54] local.INFO: Packet analysis {"connection_id":146642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:56:54] local.INFO: Extracted packet for processing {"connection_id":146642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:56:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120334848001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:56:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785626609000,"timestamp_ms":1785626609000,"timestamp_seconds":1785626609,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa3c568"} 
[2026-08-02 04:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120334848001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120334848001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:56:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:56:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:56:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120334848001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":146642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:56:54] local.INFO: GPS data processed {"connection_id":146642,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:56:54] local.INFO: Acknowledgment sent {"connection_id":146642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:56:58] local.INFO: TCP Data received {"connection_id":146642,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:56:58] local.INFO: Processing buffer {"connection_id":146642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:56:58] local.INFO: Packet analysis {"connection_id":146642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:56:58] local.INFO: Extracted packet for processing {"connection_id":146642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:56:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120334848001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:56:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785626609000,"timestamp_ms":1785626609000,"timestamp_seconds":1785626609,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa3c568"} 
[2026-08-02 04:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120334848001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120334848001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:56:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:56:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:56:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120334848001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":146642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:56:58] local.INFO: GPS data processed {"connection_id":146642,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:56:58] local.INFO: Acknowledgment sent {"connection_id":146642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:57:42] local.INFO: TCP Data received {"connection_id":146416,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:57:42] local.INFO: Processing buffer {"connection_id":146416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:57:42] local.INFO: IMEI packet received {"connection_id":146416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":146416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:57:47] local.INFO: TCP Data received {"connection_id":146416,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:57:47] local.INFO: Processing buffer {"connection_id":146416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:57:47] local.INFO: IMEI packet received {"connection_id":146416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":146416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:57:48] local.INFO: TCP Data received {"connection_id":146416,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:57:48] local.INFO: Processing buffer {"connection_id":146416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:57:48] local.INFO: Packet analysis {"connection_id":146416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:57:48] local.INFO: Extracted packet for processing {"connection_id":146416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:57:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120334848001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:57:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785626609000,"timestamp_ms":1785626609000,"timestamp_seconds":1785626609,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa3c568"} 
[2026-08-02 04:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120334848001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120334848001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:57:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:57:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:57:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120334848001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":146416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:57:48] local.INFO: GPS data processed {"connection_id":146416,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:57:48] local.INFO: Acknowledgment sent {"connection_id":146416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:58:20] local.INFO: TCP Data received {"connection_id":146416,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:58:20] local.INFO: Processing buffer {"connection_id":146416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:58:20] local.INFO: Packet analysis {"connection_id":146416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:58:20] local.INFO: Extracted packet for processing {"connection_id":146416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:58:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120334848001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785626609000,"timestamp_ms":1785626609000,"timestamp_seconds":1785626609,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa3c568"} 
[2026-08-02 04:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120334848001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120334848001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:58:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:58:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120334848001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":146416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:58:20] local.INFO: GPS data processed {"connection_id":146416,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:58:20] local.INFO: Acknowledgment sent {"connection_id":146416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:58:42] local.INFO: TCP Data received {"connection_id":147639,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:58:42] local.INFO: Processing buffer {"connection_id":147639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:58:42] local.INFO: IMEI packet received {"connection_id":147639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":147639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:58:47] local.INFO: TCP Data received {"connection_id":147639,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:58:47] local.INFO: Processing buffer {"connection_id":147639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:58:47] local.INFO: IMEI packet received {"connection_id":147639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":147639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:58:48] local.INFO: TCP Data received {"connection_id":147639,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:58:48] local.INFO: Processing buffer {"connection_id":147639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa3c568012cc330c007685b20006000cd2e..."} 
[2026-08-02 04:58:48] local.INFO: Packet analysis {"connection_id":147639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:58:48] local.INFO: Extracted packet for processing {"connection_id":147639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa3"} 
[2026-08-02 04:58:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":96,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120334848001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:58:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785626609000,"timestamp_ms":1785626609000,"timestamp_seconds":1785626609,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa3c568"} 
[2026-08-02 04:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 04:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120334848001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120334848001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:58:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:58:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:58:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120334848001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":147639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:58:48] local.INFO: GPS data processed {"connection_id":147639,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:58:48] local.INFO: Acknowledgment sent {"connection_id":147639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:59:21] local.INFO: TCP Data received {"connection_id":147639,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 04:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 04:59:21] local.INFO: Processing buffer {"connection_id":147639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 04:59:21] local.INFO: Packet analysis {"connection_id":147639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 04:59:21] local.INFO: Extracted packet for processing {"connection_id":147639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 04:59:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120411904001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785626910000,"timestamp_ms":1785626910000,"timestamp_seconds":1785626910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa85d30"} 
[2026-08-02 04:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 04:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 04:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120411904001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120411904001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:59:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:59:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120411904001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":147639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:59:21] local.INFO: GPS data processed {"connection_id":147639,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:59:21] local.INFO: Acknowledgment sent {"connection_id":147639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 04:59:42] local.INFO: TCP Data received {"connection_id":146643,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:59:42] local.INFO: Processing buffer {"connection_id":146643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:59:42] local.INFO: IMEI packet received {"connection_id":146643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 04:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":146643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 04:59:47] local.INFO: TCP Data received {"connection_id":146643,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:59:47] local.INFO: Processing buffer {"connection_id":146643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 04:59:47] local.INFO: IMEI packet received {"connection_id":146643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 04:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":146643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 04:59:49] local.INFO: TCP Data received {"connection_id":146643,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 04:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 04:59:49] local.INFO: Processing buffer {"connection_id":146643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 04:59:49] local.INFO: Packet analysis {"connection_id":146643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 04:59:49] local.INFO: Extracted packet for processing {"connection_id":146643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 04:59:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 04:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 04:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120411904001,"note":"Value kept but may cause issues"} 
[2026-08-02 04:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 04:59:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 04:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 04:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785626910000,"timestamp_ms":1785626910000,"timestamp_seconds":1785626910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa85d30"} 
[2026-08-02 04:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 04:59: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-08-02 04:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 04:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 04:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 04:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 04:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 04:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 04:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 04:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 04:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 04:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 04:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120411904001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 04:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 04:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 04:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120411904001,"description":"Unknown IO ID 0"} 
[2026-08-02 04:59:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 04:59:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 04:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 04:59:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 04:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120411904001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 04:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":146643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 04:59:49] local.INFO: GPS data processed {"connection_id":146643,"processed":1,"errors":0,"total":1} 
[2026-08-02 04:59:49] local.INFO: Acknowledgment sent {"connection_id":146643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:00:21] local.INFO: TCP Data received {"connection_id":146643,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:00:21] local.INFO: Processing buffer {"connection_id":146643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:00:21] local.INFO: Packet analysis {"connection_id":146643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:00:21] local.INFO: Extracted packet for processing {"connection_id":146643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:00:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120411904001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785626910000,"timestamp_ms":1785626910000,"timestamp_seconds":1785626910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa85d30"} 
[2026-08-02 05:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120411904001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120411904001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:00:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:00:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120411904001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":146643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:00:21] local.INFO: GPS data processed {"connection_id":146643,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:00:21] local.INFO: Acknowledgment sent {"connection_id":146643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:00:42] local.INFO: TCP Data received {"connection_id":146417,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:00:42] local.INFO: Processing buffer {"connection_id":146417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:00:42] local.INFO: IMEI packet received {"connection_id":146417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":146417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:00:47] local.INFO: TCP Data received {"connection_id":146417,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:00:47] local.INFO: Processing buffer {"connection_id":146417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:00:47] local.INFO: IMEI packet received {"connection_id":146417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":146417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:00:49] local.INFO: TCP Data received {"connection_id":146417,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:00:49] local.INFO: Processing buffer {"connection_id":146417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:00:49] local.INFO: Packet analysis {"connection_id":146417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:00:49] local.INFO: Extracted packet for processing {"connection_id":146417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:00:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120411904001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:00:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785626910000,"timestamp_ms":1785626910000,"timestamp_seconds":1785626910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa85d30"} 
[2026-08-02 05:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:00: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-08-02 05:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120411904001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120411904001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:00:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:00:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:00:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120411904001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":146417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:00:49] local.INFO: GPS data processed {"connection_id":146417,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:00:49] local.INFO: Acknowledgment sent {"connection_id":146417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:01:20] local.INFO: TCP Data received {"connection_id":146417,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:01:20] local.INFO: Processing buffer {"connection_id":146417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:01:20] local.INFO: Packet analysis {"connection_id":146417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:01:20] local.INFO: Extracted packet for processing {"connection_id":146417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:01:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120411904001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785626910000,"timestamp_ms":1785626910000,"timestamp_seconds":1785626910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa85d30"} 
[2026-08-02 05:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120411904001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120411904001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:01:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:01:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120411904001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":146417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:01:20] local.INFO: GPS data processed {"connection_id":146417,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:01:20] local.INFO: Acknowledgment sent {"connection_id":146417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:01:42] local.INFO: TCP Data received {"connection_id":147640,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:01:42] local.INFO: Processing buffer {"connection_id":147640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:01:42] local.INFO: IMEI packet received {"connection_id":147640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":147640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:01:47] local.INFO: TCP Data received {"connection_id":147640,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:01:47] local.INFO: Processing buffer {"connection_id":147640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:01:47] local.INFO: IMEI packet received {"connection_id":147640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":147640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:01:48] local.INFO: TCP Data received {"connection_id":147640,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:01:48] local.INFO: Processing buffer {"connection_id":147640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:01:48] local.INFO: Packet analysis {"connection_id":147640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:01:48] local.INFO: Extracted packet for processing {"connection_id":147640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:01:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05: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-08-02 05:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120411904001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:01:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785626910000,"timestamp_ms":1785626910000,"timestamp_seconds":1785626910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa85d30"} 
[2026-08-02 05:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05: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-08-02 05:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120411904001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120411904001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:01:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:01:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:01:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120411904001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":147640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:01:48] local.INFO: GPS data processed {"connection_id":147640,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:01:48] local.INFO: Acknowledgment sent {"connection_id":147640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:02:20] local.INFO: TCP Data received {"connection_id":147640,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:02:20] local.INFO: Processing buffer {"connection_id":147640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:02:20] local.INFO: Packet analysis {"connection_id":147640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:02:20] local.INFO: Extracted packet for processing {"connection_id":147640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:02:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120411904001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785626910000,"timestamp_ms":1785626910000,"timestamp_seconds":1785626910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa85d30"} 
[2026-08-02 05:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120411904001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120411904001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:02:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:02:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120411904001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":147640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:02:20] local.INFO: GPS data processed {"connection_id":147640,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:02:20] local.INFO: Acknowledgment sent {"connection_id":147640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:02:42] local.INFO: TCP Data received {"connection_id":148960,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:02:42] local.INFO: Processing buffer {"connection_id":148960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:02:42] local.INFO: IMEI packet received {"connection_id":148960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":148960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:02:47] local.INFO: TCP Data received {"connection_id":148960,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:02:47] local.INFO: Processing buffer {"connection_id":148960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:02:47] local.INFO: IMEI packet received {"connection_id":148960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":148960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:02:48] local.INFO: TCP Data received {"connection_id":148960,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:02:48] local.INFO: Processing buffer {"connection_id":148960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:02:48] local.INFO: Packet analysis {"connection_id":148960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:02:48] local.INFO: Extracted packet for processing {"connection_id":148960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:02:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120411904001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:02:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785626910000,"timestamp_ms":1785626910000,"timestamp_seconds":1785626910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa85d30"} 
[2026-08-02 05:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120411904001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120411904001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:02:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:02:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:02:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120411904001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":148960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:02:48] local.INFO: GPS data processed {"connection_id":148960,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:02:48] local.INFO: Acknowledgment sent {"connection_id":148960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:03:21] local.INFO: TCP Data received {"connection_id":148960,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:03:21] local.INFO: Processing buffer {"connection_id":148960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:03:21] local.INFO: Packet analysis {"connection_id":148960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:03:21] local.INFO: Extracted packet for processing {"connection_id":148960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:03:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120411904001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:03:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785626910000,"timestamp_ms":1785626910000,"timestamp_seconds":1785626910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa85d30"} 
[2026-08-02 05:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120411904001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120411904001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:03:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:03:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:03:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120411904001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":148960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:03:21] local.INFO: GPS data processed {"connection_id":148960,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:03:21] local.INFO: Acknowledgment sent {"connection_id":148960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:03:47] local.INFO: TCP Data received {"connection_id":146644,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:03:47] local.INFO: Processing buffer {"connection_id":146644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:03:47] local.INFO: IMEI packet received {"connection_id":146644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":146644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:03:52] local.INFO: TCP Data received {"connection_id":146644,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:03:52] local.INFO: Processing buffer {"connection_id":146644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:03:52] local.INFO: IMEI packet received {"connection_id":146644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":146644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:03:54] local.INFO: TCP Data received {"connection_id":146644,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:03:54] local.INFO: Processing buffer {"connection_id":146644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:03:54] local.INFO: Packet analysis {"connection_id":146644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:03:54] local.INFO: Extracted packet for processing {"connection_id":146644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:03:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120411904001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:03:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785626910000,"timestamp_ms":1785626910000,"timestamp_seconds":1785626910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa85d30"} 
[2026-08-02 05:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120411904001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120411904001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:03:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:03:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:03:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120411904001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":146644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:03:54] local.INFO: GPS data processed {"connection_id":146644,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:03:54] local.INFO: Acknowledgment sent {"connection_id":146644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:03:58] local.INFO: TCP Data received {"connection_id":146644,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:03:58] local.INFO: Processing buffer {"connection_id":146644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfa85d30012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:03:58] local.INFO: Packet analysis {"connection_id":146644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:03:58] local.INFO: Extracted packet for processing {"connection_id":146644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfa8"} 
[2026-08-02 05:03:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120411904001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:03:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785626910000,"timestamp_ms":1785626910000,"timestamp_seconds":1785626910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfa85d30"} 
[2026-08-02 05:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120411904001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120411904001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:03:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:03:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:03:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120411904001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":146644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:03:58] local.INFO: GPS data processed {"connection_id":146644,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:03:58] local.INFO: Acknowledgment sent {"connection_id":146644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:04:42] local.INFO: TCP Data received {"connection_id":148961,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:04:42] local.INFO: Processing buffer {"connection_id":148961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:04:42] local.INFO: IMEI packet received {"connection_id":148961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":148961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:04:47] local.INFO: TCP Data received {"connection_id":148961,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:04:47] local.INFO: Processing buffer {"connection_id":148961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:04:47] local.INFO: IMEI packet received {"connection_id":148961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":148961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:04:48] local.INFO: TCP Data received {"connection_id":148961,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:04:49] local.INFO: Processing buffer {"connection_id":148961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:04:49] local.INFO: Packet analysis {"connection_id":148961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:04:49] local.INFO: Extracted packet for processing {"connection_id":148961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:04:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120488960001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785627211000,"timestamp_ms":1785627211000,"timestamp_seconds":1785627211,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfacf4f8"} 
[2026-08-02 05:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120488960001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120488960001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:04:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:04:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120488960001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":148961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:04:49] local.INFO: GPS data processed {"connection_id":148961,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:04:49] local.INFO: Acknowledgment sent {"connection_id":148961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:05:20] local.INFO: TCP Data received {"connection_id":148961,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:05:20] local.INFO: Processing buffer {"connection_id":148961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:05:20] local.INFO: Packet analysis {"connection_id":148961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:05:20] local.INFO: Extracted packet for processing {"connection_id":148961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:05:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120488960001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785627211000,"timestamp_ms":1785627211000,"timestamp_seconds":1785627211,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfacf4f8"} 
[2026-08-02 05:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120488960001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120488960001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:05:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:05:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120488960001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":148961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:05:20] local.INFO: GPS data processed {"connection_id":148961,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:05:20] local.INFO: Acknowledgment sent {"connection_id":148961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:05:42] local.INFO: TCP Data received {"connection_id":148962,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:05:42] local.INFO: Processing buffer {"connection_id":148962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:05:42] local.INFO: IMEI packet received {"connection_id":148962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":148962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:05:47] local.INFO: TCP Data received {"connection_id":148962,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:05:47] local.INFO: Processing buffer {"connection_id":148962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:05:47] local.INFO: IMEI packet received {"connection_id":148962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":148962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:05:48] local.INFO: TCP Data received {"connection_id":148962,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:05:48] local.INFO: Processing buffer {"connection_id":148962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:05:48] local.INFO: Packet analysis {"connection_id":148962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:05:48] local.INFO: Extracted packet for processing {"connection_id":148962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:05:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120488960001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:05:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785627211000,"timestamp_ms":1785627211000,"timestamp_seconds":1785627211,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfacf4f8"} 
[2026-08-02 05:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120488960001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120488960001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:05:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:05:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:05:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120488960001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":148962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:05:48] local.INFO: GPS data processed {"connection_id":148962,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:05:48] local.INFO: Acknowledgment sent {"connection_id":148962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:06:21] local.INFO: TCP Data received {"connection_id":148962,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:06:21] local.INFO: Processing buffer {"connection_id":148962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:06:21] local.INFO: Packet analysis {"connection_id":148962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:06:21] local.INFO: Extracted packet for processing {"connection_id":148962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:06:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120488960001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785627211000,"timestamp_ms":1785627211000,"timestamp_seconds":1785627211,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfacf4f8"} 
[2026-08-02 05:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120488960001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120488960001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:06:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:06:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120488960001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":148962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:06:21] local.INFO: GPS data processed {"connection_id":148962,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:06:21] local.INFO: Acknowledgment sent {"connection_id":148962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:06:47] local.INFO: TCP Data received {"connection_id":146418,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:06:47] local.INFO: Processing buffer {"connection_id":146418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:06:47] local.INFO: IMEI packet received {"connection_id":146418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":146418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:06:52] local.INFO: TCP Data received {"connection_id":146418,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:06:52] local.INFO: Processing buffer {"connection_id":146418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:06:52] local.INFO: IMEI packet received {"connection_id":146418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":146418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:06:54] local.INFO: TCP Data received {"connection_id":146418,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:06:54] local.INFO: Processing buffer {"connection_id":146418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:06:54] local.INFO: Packet analysis {"connection_id":146418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:06:54] local.INFO: Extracted packet for processing {"connection_id":146418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:06:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05: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-08-02 05:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120488960001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:06:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785627211000,"timestamp_ms":1785627211000,"timestamp_seconds":1785627211,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfacf4f8"} 
[2026-08-02 05:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05: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-08-02 05:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120488960001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120488960001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:06:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:06:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:06:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120488960001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":146418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:06:54] local.INFO: GPS data processed {"connection_id":146418,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:06:54] local.INFO: Acknowledgment sent {"connection_id":146418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:06:58] local.INFO: TCP Data received {"connection_id":146418,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:06:58] local.INFO: Processing buffer {"connection_id":146418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:06:58] local.INFO: Packet analysis {"connection_id":146418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:06:58] local.INFO: Extracted packet for processing {"connection_id":146418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:06:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05: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-08-02 05:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120488960001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:06:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785627211000,"timestamp_ms":1785627211000,"timestamp_seconds":1785627211,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfacf4f8"} 
[2026-08-02 05:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05: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-08-02 05:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120488960001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120488960001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:06:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:06:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:06:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120488960001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":146418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:06:58] local.INFO: GPS data processed {"connection_id":146418,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:06:58] local.INFO: Acknowledgment sent {"connection_id":146418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:07:43] local.INFO: TCP Data received {"connection_id":146645,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:07:43] local.INFO: Processing buffer {"connection_id":146645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:07:43] local.INFO: IMEI packet received {"connection_id":146645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":146645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:07:47] local.INFO: TCP Data received {"connection_id":146645,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:07:47] local.INFO: Processing buffer {"connection_id":146645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:07:47] local.INFO: IMEI packet received {"connection_id":146645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":146645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:07:49] local.INFO: TCP Data received {"connection_id":146645,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:07:49] local.INFO: Processing buffer {"connection_id":146645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:07:49] local.INFO: Packet analysis {"connection_id":146645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:07:49] local.INFO: Extracted packet for processing {"connection_id":146645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:07:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120488960001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:07:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785627211000,"timestamp_ms":1785627211000,"timestamp_seconds":1785627211,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfacf4f8"} 
[2026-08-02 05:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120488960001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120488960001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:07:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:07:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:07:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120488960001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":146645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:07:49] local.INFO: GPS data processed {"connection_id":146645,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:07:49] local.INFO: Acknowledgment sent {"connection_id":146645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:08:21] local.INFO: TCP Data received {"connection_id":146645,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:08:21] local.INFO: Processing buffer {"connection_id":146645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:08:21] local.INFO: Packet analysis {"connection_id":146645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:08:21] local.INFO: Extracted packet for processing {"connection_id":146645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:08:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120488960001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785627211000,"timestamp_ms":1785627211000,"timestamp_seconds":1785627211,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfacf4f8"} 
[2026-08-02 05:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120488960001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120488960001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:08:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:08:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120488960001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":146645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:08:21] local.INFO: GPS data processed {"connection_id":146645,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:08:21] local.INFO: Acknowledgment sent {"connection_id":146645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:08:42] local.INFO: TCP Data received {"connection_id":147641,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:08:42] local.INFO: Processing buffer {"connection_id":147641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:08:42] local.INFO: IMEI packet received {"connection_id":147641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":147641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:08:51] local.INFO: TCP Data received {"connection_id":147641,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:08:51] local.INFO: Processing buffer {"connection_id":147641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:08:51] local.INFO: IMEI packet received {"connection_id":147641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":147641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:08:52] local.INFO: TCP Data received {"connection_id":147641,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:08:52] local.INFO: Processing buffer {"connection_id":147641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfacf4f8012cc330c007685b20006100cd2c..."} 
[2026-08-02 05:08:52] local.INFO: Packet analysis {"connection_id":147641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:08:52] local.INFO: Extracted packet for processing {"connection_id":147641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfac"} 
[2026-08-02 05:08:52] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120488960001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:08:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785627211000,"timestamp_ms":1785627211000,"timestamp_seconds":1785627211,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfacf4f8"} 
[2026-08-02 05:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120488960001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120488960001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:08:52] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:08:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:08:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120488960001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":147641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:08:52] local.INFO: GPS data processed {"connection_id":147641,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:08:52] local.INFO: Acknowledgment sent {"connection_id":147641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:09:23] local.INFO: TCP Data received {"connection_id":147641,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:09:23] local.INFO: Processing buffer {"connection_id":147641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:09:23] local.INFO: Packet analysis {"connection_id":147641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:09:23] local.INFO: Extracted packet for processing {"connection_id":147641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:09:23] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120566016001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:09:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785627512000,"timestamp_ms":1785627512000,"timestamp_seconds":1785627512,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb18cc0"} 
[2026-08-02 05:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120566016001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120566016001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:09:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:09:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:09:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120566016001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":147641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:09:23] local.INFO: GPS data processed {"connection_id":147641,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:09:23] local.INFO: Acknowledgment sent {"connection_id":147641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:09:42] local.INFO: TCP Data received {"connection_id":146419,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:09:42] local.INFO: Processing buffer {"connection_id":146419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:09:42] local.INFO: IMEI packet received {"connection_id":146419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":146419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:09:47] local.INFO: TCP Data received {"connection_id":146419,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:09:47] local.INFO: Processing buffer {"connection_id":146419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:09:47] local.INFO: IMEI packet received {"connection_id":146419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":146419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:09:48] local.INFO: TCP Data received {"connection_id":146419,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:09:48] local.INFO: Processing buffer {"connection_id":146419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:09:48] local.INFO: Packet analysis {"connection_id":146419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:09:48] local.INFO: Extracted packet for processing {"connection_id":146419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:09:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120566016001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:09:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785627512000,"timestamp_ms":1785627512000,"timestamp_seconds":1785627512,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb18cc0"} 
[2026-08-02 05:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120566016001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120566016001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:09:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:09:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:09:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120566016001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":146419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:09:48] local.INFO: GPS data processed {"connection_id":146419,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:09:48] local.INFO: Acknowledgment sent {"connection_id":146419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:10:20] local.INFO: TCP Data received {"connection_id":146419,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:10:20] local.INFO: Processing buffer {"connection_id":146419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:10:20] local.INFO: Packet analysis {"connection_id":146419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:10:20] local.INFO: Extracted packet for processing {"connection_id":146419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:10:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120566016001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785627512000,"timestamp_ms":1785627512000,"timestamp_seconds":1785627512,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb18cc0"} 
[2026-08-02 05:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120566016001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120566016001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:10:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:10:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120566016001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":146419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:10:20] local.INFO: GPS data processed {"connection_id":146419,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:10:20] local.INFO: Acknowledgment sent {"connection_id":146419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:10:47] local.INFO: TCP Data received {"connection_id":147643,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:10:47] local.INFO: Processing buffer {"connection_id":147643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:10:47] local.INFO: IMEI packet received {"connection_id":147643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":147643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:10:52] local.INFO: TCP Data received {"connection_id":147643,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:10:52] local.INFO: Processing buffer {"connection_id":147643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:10:52] local.INFO: IMEI packet received {"connection_id":147643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":147643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:10:53] local.INFO: TCP Data received {"connection_id":147643,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:10:53] local.INFO: Processing buffer {"connection_id":147643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:10:53] local.INFO: Packet analysis {"connection_id":147643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:10:53] local.INFO: Extracted packet for processing {"connection_id":147643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:10:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120566016001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:10:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785627512000,"timestamp_ms":1785627512000,"timestamp_seconds":1785627512,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb18cc0"} 
[2026-08-02 05:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120566016001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120566016001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:10:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:10:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:10:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120566016001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":147643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:10:53] local.INFO: GPS data processed {"connection_id":147643,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:10:53] local.INFO: Acknowledgment sent {"connection_id":147643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:10:58] local.INFO: TCP Data received {"connection_id":147643,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:10:58] local.INFO: Processing buffer {"connection_id":147643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:10:58] local.INFO: Packet analysis {"connection_id":147643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:10:58] local.INFO: Extracted packet for processing {"connection_id":147643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:10:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120566016001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:10:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785627512000,"timestamp_ms":1785627512000,"timestamp_seconds":1785627512,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb18cc0"} 
[2026-08-02 05:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120566016001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120566016001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:10:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:10:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:10:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120566016001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":147643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:10:58] local.INFO: GPS data processed {"connection_id":147643,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:10:58] local.INFO: Acknowledgment sent {"connection_id":147643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:11:42] local.INFO: TCP Data received {"connection_id":146420,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:11:42] local.INFO: Processing buffer {"connection_id":146420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:11:42] local.INFO: IMEI packet received {"connection_id":146420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":146420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:11:47] local.INFO: TCP Data received {"connection_id":146420,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:11:47] local.INFO: Processing buffer {"connection_id":146420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:11:47] local.INFO: IMEI packet received {"connection_id":146420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":146420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:11:49] local.INFO: TCP Data received {"connection_id":146420,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:11:49] local.INFO: Processing buffer {"connection_id":146420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:11:49] local.INFO: Packet analysis {"connection_id":146420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:11:49] local.INFO: Extracted packet for processing {"connection_id":146420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:11:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120566016001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:11:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785627512000,"timestamp_ms":1785627512000,"timestamp_seconds":1785627512,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb18cc0"} 
[2026-08-02 05:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120566016001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120566016001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:11:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:11:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:11:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120566016001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":146420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:11:49] local.INFO: GPS data processed {"connection_id":146420,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:11:49] local.INFO: Acknowledgment sent {"connection_id":146420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:12:21] local.INFO: TCP Data received {"connection_id":146420,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:12:21] local.INFO: Processing buffer {"connection_id":146420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:12:21] local.INFO: Packet analysis {"connection_id":146420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:12:21] local.INFO: Extracted packet for processing {"connection_id":146420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:12:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120566016001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785627512000,"timestamp_ms":1785627512000,"timestamp_seconds":1785627512,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb18cc0"} 
[2026-08-02 05:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120566016001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120566016001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:12:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:12:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120566016001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":146420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:12:21] local.INFO: GPS data processed {"connection_id":146420,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:12:21] local.INFO: Acknowledgment sent {"connection_id":146420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:12:43] local.INFO: TCP Data received {"connection_id":146646,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:12:43] local.INFO: Processing buffer {"connection_id":146646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:12:43] local.INFO: IMEI packet received {"connection_id":146646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":146646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:12:47] local.INFO: TCP Data received {"connection_id":146646,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:12:47] local.INFO: Processing buffer {"connection_id":146646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:12:47] local.INFO: IMEI packet received {"connection_id":146646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":146646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:12:48] local.INFO: TCP Data received {"connection_id":146646,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:12:48] local.INFO: Processing buffer {"connection_id":146646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:12:48] local.INFO: Packet analysis {"connection_id":146646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:12:48] local.INFO: Extracted packet for processing {"connection_id":146646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:12:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120566016001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:12:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785627512000,"timestamp_ms":1785627512000,"timestamp_seconds":1785627512,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb18cc0"} 
[2026-08-02 05:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120566016001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120566016001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:12:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:12:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:12:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120566016001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":146646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:12:48] local.INFO: GPS data processed {"connection_id":146646,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:12:48] local.INFO: Acknowledgment sent {"connection_id":146646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:13:20] local.INFO: TCP Data received {"connection_id":146646,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:13:20] local.INFO: Processing buffer {"connection_id":146646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:13:20] local.INFO: Packet analysis {"connection_id":146646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:13:20] local.INFO: Extracted packet for processing {"connection_id":146646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:13:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120566016001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785627512000,"timestamp_ms":1785627512000,"timestamp_seconds":1785627512,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb18cc0"} 
[2026-08-02 05:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120566016001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120566016001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:13:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:13:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120566016001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":146646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:13:20] local.INFO: GPS data processed {"connection_id":146646,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:13:20] local.INFO: Acknowledgment sent {"connection_id":146646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:13:42] local.INFO: TCP Data received {"connection_id":147644,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:13:42] local.INFO: Processing buffer {"connection_id":147644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:13:42] local.INFO: IMEI packet received {"connection_id":147644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":147644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:13:47] local.INFO: TCP Data received {"connection_id":147644,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:13:47] local.INFO: Processing buffer {"connection_id":147644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:13:47] local.INFO: IMEI packet received {"connection_id":147644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":147644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:13:48] local.INFO: TCP Data received {"connection_id":147644,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:13:48] local.INFO: Processing buffer {"connection_id":147644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb18cc0012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:13:48] local.INFO: Packet analysis {"connection_id":147644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:13:48] local.INFO: Extracted packet for processing {"connection_id":147644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb1"} 
[2026-08-02 05:13:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120566016001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:13:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785627512000,"timestamp_ms":1785627512000,"timestamp_seconds":1785627512,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb18cc0"} 
[2026-08-02 05:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120566016001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120566016001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:13:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:13:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:13:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120566016001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":147644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:13:48] local.INFO: GPS data processed {"connection_id":147644,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:13:48] local.INFO: Acknowledgment sent {"connection_id":147644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:14:20] local.INFO: TCP Data received {"connection_id":147644,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:14:20] local.INFO: Processing buffer {"connection_id":147644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:14:20] local.INFO: Packet analysis {"connection_id":147644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:14:20] local.INFO: Extracted packet for processing {"connection_id":147644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:14:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120643072001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785627813000,"timestamp_ms":1785627813000,"timestamp_seconds":1785627813,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb62488"} 
[2026-08-02 05:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120643072001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120643072001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:14:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:14:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120643072001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":147644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:14:20] local.INFO: GPS data processed {"connection_id":147644,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:14:20] local.INFO: Acknowledgment sent {"connection_id":147644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:14:47] local.INFO: TCP Data received {"connection_id":147645,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:14:47] local.INFO: Processing buffer {"connection_id":147645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:14:47] local.INFO: IMEI packet received {"connection_id":147645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":147645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:14:55] local.INFO: TCP Data received {"connection_id":147645,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:14:55] local.INFO: Processing buffer {"connection_id":147645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:14:55] local.INFO: IMEI packet received {"connection_id":147645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":147645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:14:56] local.INFO: TCP Data received {"connection_id":147645,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:14:56] local.INFO: Processing buffer {"connection_id":147645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:14:56] local.INFO: Packet analysis {"connection_id":147645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:14:56] local.INFO: Extracted packet for processing {"connection_id":147645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:14:56] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120643072001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:14:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785627813000,"timestamp_ms":1785627813000,"timestamp_seconds":1785627813,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb62488"} 
[2026-08-02 05:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120643072001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120643072001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:14:56] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:14:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:14:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120643072001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":147645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:14:56] local.INFO: GPS data processed {"connection_id":147645,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:14:56] local.INFO: Acknowledgment sent {"connection_id":147645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:14:57] local.INFO: TCP Data received {"connection_id":147645,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:14:57] local.INFO: Processing buffer {"connection_id":147645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:14:57] local.INFO: Packet analysis {"connection_id":147645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:14:57] local.INFO: Extracted packet for processing {"connection_id":147645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:14:57] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05: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-08-02 05:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120643072001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:14:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785627813000,"timestamp_ms":1785627813000,"timestamp_seconds":1785627813,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb62488"} 
[2026-08-02 05:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05: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-08-02 05:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120643072001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120643072001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:14:57] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:14:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:14:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120643072001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":147645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:14:57] local.INFO: GPS data processed {"connection_id":147645,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:14:57] local.INFO: Acknowledgment sent {"connection_id":147645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:15:42] local.INFO: TCP Data received {"connection_id":148963,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:15:42] local.INFO: Processing buffer {"connection_id":148963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:15:42] local.INFO: IMEI packet received {"connection_id":148963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":148963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:15:47] local.INFO: TCP Data received {"connection_id":148963,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:15:47] local.INFO: Processing buffer {"connection_id":148963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:15:47] local.INFO: IMEI packet received {"connection_id":148963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":148963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:15:49] local.INFO: TCP Data received {"connection_id":148963,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:15:49] local.INFO: Processing buffer {"connection_id":148963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:15:49] local.INFO: Packet analysis {"connection_id":148963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:15:49] local.INFO: Extracted packet for processing {"connection_id":148963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:15:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120643072001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:15:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785627813000,"timestamp_ms":1785627813000,"timestamp_seconds":1785627813,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb62488"} 
[2026-08-02 05:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120643072001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120643072001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:15:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:15:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:15:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120643072001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":148963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:15:49] local.INFO: GPS data processed {"connection_id":148963,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:15:49] local.INFO: Acknowledgment sent {"connection_id":148963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:16:20] local.INFO: TCP Data received {"connection_id":148963,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:16:20] local.INFO: Processing buffer {"connection_id":148963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:16:20] local.INFO: Packet analysis {"connection_id":148963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:16:20] local.INFO: Extracted packet for processing {"connection_id":148963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:16:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120643072001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785627813000,"timestamp_ms":1785627813000,"timestamp_seconds":1785627813,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb62488"} 
[2026-08-02 05:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120643072001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120643072001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:16:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:16:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120643072001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":148963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:16:20] local.INFO: GPS data processed {"connection_id":148963,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:16:20] local.INFO: Acknowledgment sent {"connection_id":148963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:16:42] local.INFO: TCP Data received {"connection_id":147646,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:16:42] local.INFO: Processing buffer {"connection_id":147646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:16:42] local.INFO: IMEI packet received {"connection_id":147646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":147646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:16:47] local.INFO: TCP Data received {"connection_id":147646,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:16:47] local.INFO: Processing buffer {"connection_id":147646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:16:47] local.INFO: IMEI packet received {"connection_id":147646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":147646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:16:48] local.INFO: TCP Data received {"connection_id":147646,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:16:48] local.INFO: Processing buffer {"connection_id":147646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:16:48] local.INFO: Packet analysis {"connection_id":147646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:16:48] local.INFO: Extracted packet for processing {"connection_id":147646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:16:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120643072001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:16:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785627813000,"timestamp_ms":1785627813000,"timestamp_seconds":1785627813,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb62488"} 
[2026-08-02 05:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:16: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-08-02 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120643072001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120643072001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:16:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:16:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:16:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120643072001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":147646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:16:48] local.INFO: GPS data processed {"connection_id":147646,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:16:48] local.INFO: Acknowledgment sent {"connection_id":147646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:17:21] local.INFO: TCP Data received {"connection_id":147646,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:17:21] local.INFO: Processing buffer {"connection_id":147646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:17:21] local.INFO: Packet analysis {"connection_id":147646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:17:21] local.INFO: Extracted packet for processing {"connection_id":147646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:17:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120643072001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785627813000,"timestamp_ms":1785627813000,"timestamp_seconds":1785627813,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb62488"} 
[2026-08-02 05:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120643072001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120643072001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:17:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:17:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120643072001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":147646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:17:21] local.INFO: GPS data processed {"connection_id":147646,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:17:21] local.INFO: Acknowledgment sent {"connection_id":147646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:17:42] local.INFO: TCP Data received {"connection_id":148964,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:17:42] local.INFO: Processing buffer {"connection_id":148964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:17:42] local.INFO: IMEI packet received {"connection_id":148964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":148964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:17:47] local.INFO: TCP Data received {"connection_id":148964,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:17:47] local.INFO: Processing buffer {"connection_id":148964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:17:47] local.INFO: IMEI packet received {"connection_id":148964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":148964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:17:49] local.INFO: TCP Data received {"connection_id":148964,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:17:49] local.INFO: Processing buffer {"connection_id":148964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:17:49] local.INFO: Packet analysis {"connection_id":148964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:17:49] local.INFO: Extracted packet for processing {"connection_id":148964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:17:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120643072001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:17:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785627813000,"timestamp_ms":1785627813000,"timestamp_seconds":1785627813,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb62488"} 
[2026-08-02 05:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120643072001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120643072001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:17:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:17:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:17:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120643072001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":148964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:17:49] local.INFO: GPS data processed {"connection_id":148964,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:17:49] local.INFO: Acknowledgment sent {"connection_id":148964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:18:21] local.INFO: TCP Data received {"connection_id":148964,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:18:21] local.INFO: Processing buffer {"connection_id":148964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:18:21] local.INFO: Packet analysis {"connection_id":148964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:18:21] local.INFO: Extracted packet for processing {"connection_id":148964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:18:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120643072001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785627813000,"timestamp_ms":1785627813000,"timestamp_seconds":1785627813,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb62488"} 
[2026-08-02 05:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120643072001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120643072001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:18:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:18:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120643072001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":148964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:18:21] local.INFO: GPS data processed {"connection_id":148964,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:18:21] local.INFO: Acknowledgment sent {"connection_id":148964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:18:42] local.INFO: TCP Data received {"connection_id":146421,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:18:42] local.INFO: Processing buffer {"connection_id":146421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:18:42] local.INFO: IMEI packet received {"connection_id":146421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":146421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:18:47] local.INFO: TCP Data received {"connection_id":146421,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:18:47] local.INFO: Processing buffer {"connection_id":146421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:18:47] local.INFO: IMEI packet received {"connection_id":146421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":146421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:18:48] local.INFO: TCP Data received {"connection_id":146421,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:18:48] local.INFO: Processing buffer {"connection_id":146421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfb62488012cc330c007685b20006100cd28..."} 
[2026-08-02 05:18:48] local.INFO: Packet analysis {"connection_id":146421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:18:48] local.INFO: Extracted packet for processing {"connection_id":146421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfb6"} 
[2026-08-02 05:18:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120643072001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:18:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785627813000,"timestamp_ms":1785627813000,"timestamp_seconds":1785627813,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfb62488"} 
[2026-08-02 05:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:18: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-08-02 05:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120643072001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120643072001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:18:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:18:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:18:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120643072001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":146421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:18:48] local.INFO: GPS data processed {"connection_id":146421,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:18:48] local.INFO: Acknowledgment sent {"connection_id":146421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:19:20] local.INFO: TCP Data received {"connection_id":146421,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:19:20] local.INFO: Processing buffer {"connection_id":146421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:19:20] local.INFO: Packet analysis {"connection_id":146421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:19:20] local.INFO: Extracted packet for processing {"connection_id":146421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:19:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120720128001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785628114000,"timestamp_ms":1785628114000,"timestamp_seconds":1785628114,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbabc50"} 
[2026-08-02 05:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120720128001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120720128001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:19:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:19:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120720128001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":146421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:19:20] local.INFO: GPS data processed {"connection_id":146421,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:19:20] local.INFO: Acknowledgment sent {"connection_id":146421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:19:47] local.INFO: TCP Data received {"connection_id":146647,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:19:47] local.INFO: Processing buffer {"connection_id":146647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:19:47] local.INFO: IMEI packet received {"connection_id":146647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":146647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:19:52] local.INFO: TCP Data received {"connection_id":146647,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:19:52] local.INFO: Processing buffer {"connection_id":146647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:19:52] local.INFO: IMEI packet received {"connection_id":146647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":146647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:19:53] local.INFO: TCP Data received {"connection_id":146647,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:19:53] local.INFO: Processing buffer {"connection_id":146647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:19:53] local.INFO: Packet analysis {"connection_id":146647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:19:53] local.INFO: Extracted packet for processing {"connection_id":146647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:19:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120720128001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:19:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785628114000,"timestamp_ms":1785628114000,"timestamp_seconds":1785628114,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbabc50"} 
[2026-08-02 05:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120720128001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120720128001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:19:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:19:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:19:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120720128001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":146647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:19:53] local.INFO: GPS data processed {"connection_id":146647,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:19:53] local.INFO: Acknowledgment sent {"connection_id":146647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:20:26] local.INFO: TCP Data received {"connection_id":146647,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:20:26] local.INFO: Processing buffer {"connection_id":146647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:20:26] local.INFO: Packet analysis {"connection_id":146647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:20:26] local.INFO: Extracted packet for processing {"connection_id":146647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:20:26] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120720128001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:20:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785628114000,"timestamp_ms":1785628114000,"timestamp_seconds":1785628114,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbabc50"} 
[2026-08-02 05:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120720128001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120720128001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:20:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:20:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:20:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120720128001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":146647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:20:26] local.INFO: GPS data processed {"connection_id":146647,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:20:26] local.INFO: Acknowledgment sent {"connection_id":146647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:20:42] local.INFO: TCP Data received {"connection_id":147649,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:20:42] local.INFO: Processing buffer {"connection_id":147649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:20:42] local.INFO: IMEI packet received {"connection_id":147649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":147649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:20:47] local.INFO: TCP Data received {"connection_id":147649,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:20:47] local.INFO: Processing buffer {"connection_id":147649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:20:47] local.INFO: IMEI packet received {"connection_id":147649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":147649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:20:52] local.INFO: TCP Data received {"connection_id":147649,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:20:52] local.INFO: Processing buffer {"connection_id":147649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:20:52] local.INFO: Packet analysis {"connection_id":147649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:20:52] local.INFO: Extracted packet for processing {"connection_id":147649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:20:52] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120720128001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:20:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785628114000,"timestamp_ms":1785628114000,"timestamp_seconds":1785628114,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbabc50"} 
[2026-08-02 05:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120720128001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120720128001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:20:52] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:20:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:20:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120720128001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":147649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:20:52] local.INFO: GPS data processed {"connection_id":147649,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:20:52] local.INFO: Acknowledgment sent {"connection_id":147649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:21:24] local.INFO: TCP Data received {"connection_id":147649,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:21:24] local.INFO: Processing buffer {"connection_id":147649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:21:24] local.INFO: Packet analysis {"connection_id":147649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:21:24] local.INFO: Extracted packet for processing {"connection_id":147649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:21:24] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120720128001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:21:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785628114000,"timestamp_ms":1785628114000,"timestamp_seconds":1785628114,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbabc50"} 
[2026-08-02 05:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120720128001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120720128001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:21:24] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:21:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:21:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120720128001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":147649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:21:24] local.INFO: GPS data processed {"connection_id":147649,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:21:24] local.INFO: Acknowledgment sent {"connection_id":147649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:21:42] local.INFO: TCP Data received {"connection_id":148965,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:21:42] local.INFO: Processing buffer {"connection_id":148965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:21:42] local.INFO: IMEI packet received {"connection_id":148965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":148965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:21:47] local.INFO: TCP Data received {"connection_id":148965,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:21:47] local.INFO: Processing buffer {"connection_id":148965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:21:47] local.INFO: IMEI packet received {"connection_id":148965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":148965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:21:55] local.INFO: TCP Data received {"connection_id":148965,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:21:55] local.INFO: Processing buffer {"connection_id":148965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:21:55] local.INFO: Packet analysis {"connection_id":148965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:21:55] local.INFO: Extracted packet for processing {"connection_id":148965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:21:55] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120720128001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:21:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785628114000,"timestamp_ms":1785628114000,"timestamp_seconds":1785628114,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbabc50"} 
[2026-08-02 05:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120720128001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120720128001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:21:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:21:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:21:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120720128001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":148965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:21:55] local.INFO: GPS data processed {"connection_id":148965,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:21:55] local.INFO: Acknowledgment sent {"connection_id":148965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:22:27] local.INFO: TCP Data received {"connection_id":148965,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:22:27] local.INFO: Processing buffer {"connection_id":148965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:22:27] local.INFO: Packet analysis {"connection_id":148965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:22:27] local.INFO: Extracted packet for processing {"connection_id":148965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:22:27] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120720128001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:22:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785628114000,"timestamp_ms":1785628114000,"timestamp_seconds":1785628114,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbabc50"} 
[2026-08-02 05:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120720128001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120720128001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:22:27] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:22:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:22:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120720128001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":148965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:22:27] local.INFO: GPS data processed {"connection_id":148965,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:22:27] local.INFO: Acknowledgment sent {"connection_id":148965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:22:42] local.INFO: TCP Data received {"connection_id":147650,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:22:42] local.INFO: Processing buffer {"connection_id":147650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:22:42] local.INFO: IMEI packet received {"connection_id":147650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":147650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:22:47] local.INFO: TCP Data received {"connection_id":147650,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:22:47] local.INFO: Processing buffer {"connection_id":147650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:22:47] local.INFO: IMEI packet received {"connection_id":147650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":147650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:22:48] local.INFO: TCP Data received {"connection_id":147650,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:22:48] local.INFO: Processing buffer {"connection_id":147650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:22:48] local.INFO: Packet analysis {"connection_id":147650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:22:48] local.INFO: Extracted packet for processing {"connection_id":147650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:22:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120720128001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:22:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785628114000,"timestamp_ms":1785628114000,"timestamp_seconds":1785628114,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbabc50"} 
[2026-08-02 05:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120720128001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120720128001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:22:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:22:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:22:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120720128001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":147650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:22:48] local.INFO: GPS data processed {"connection_id":147650,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:22:48] local.INFO: Acknowledgment sent {"connection_id":147650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:23:20] local.INFO: TCP Data received {"connection_id":147650,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:23:20] local.INFO: Processing buffer {"connection_id":147650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:23:20] local.INFO: Packet analysis {"connection_id":147650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:23:20] local.INFO: Extracted packet for processing {"connection_id":147650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:23:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120720128001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:23:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785628114000,"timestamp_ms":1785628114000,"timestamp_seconds":1785628114,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbabc50"} 
[2026-08-02 05:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120720128001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120720128001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:23:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:23:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:23:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120720128001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":147650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:23:20] local.INFO: GPS data processed {"connection_id":147650,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:23:20] local.INFO: Acknowledgment sent {"connection_id":147650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:23:47] local.INFO: TCP Data received {"connection_id":146648,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:23:47] local.INFO: Processing buffer {"connection_id":146648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:23:47] local.INFO: IMEI packet received {"connection_id":146648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":146648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:23:52] local.INFO: TCP Data received {"connection_id":146648,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:23:52] local.INFO: Processing buffer {"connection_id":146648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:23:52] local.INFO: IMEI packet received {"connection_id":146648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":146648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:23:53] local.INFO: TCP Data received {"connection_id":146648,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:23:53] local.INFO: Processing buffer {"connection_id":146648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:23:53] local.INFO: Packet analysis {"connection_id":146648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:23:53] local.INFO: Extracted packet for processing {"connection_id":146648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:23:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120720128001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:23:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785628114000,"timestamp_ms":1785628114000,"timestamp_seconds":1785628114,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbabc50"} 
[2026-08-02 05:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120720128001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120720128001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:23:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:23:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:23:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120720128001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":146648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:23:53] local.INFO: GPS data processed {"connection_id":146648,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:23:53] local.INFO: Acknowledgment sent {"connection_id":146648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:23:58] local.INFO: TCP Data received {"connection_id":146648,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:23:58] local.INFO: Processing buffer {"connection_id":146648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbabc50012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:23:58] local.INFO: Packet analysis {"connection_id":146648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:23:58] local.INFO: Extracted packet for processing {"connection_id":146648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfba"} 
[2026-08-02 05:23:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05: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-08-02 05:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120720128001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:23:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785628114000,"timestamp_ms":1785628114000,"timestamp_seconds":1785628114,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbabc50"} 
[2026-08-02 05:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05: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-08-02 05:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120720128001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120720128001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:23:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:23:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:23:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120720128001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":146648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:23:58] local.INFO: GPS data processed {"connection_id":146648,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:23:58] local.INFO: Acknowledgment sent {"connection_id":146648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:24:42] local.INFO: TCP Data received {"connection_id":148966,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:24:42] local.INFO: Processing buffer {"connection_id":148966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:24:42] local.INFO: IMEI packet received {"connection_id":148966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":148966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:24:47] local.INFO: TCP Data received {"connection_id":148966,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:24:47] local.INFO: Processing buffer {"connection_id":148966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:24:47] local.INFO: IMEI packet received {"connection_id":148966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":148966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:24:48] local.INFO: TCP Data received {"connection_id":148966,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:24:48] local.INFO: Processing buffer {"connection_id":148966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:24:48] local.INFO: Packet analysis {"connection_id":148966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:24:48] local.INFO: Extracted packet for processing {"connection_id":148966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:24:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120797184001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:24:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785628415000,"timestamp_ms":1785628415000,"timestamp_seconds":1785628415,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbf5418"} 
[2026-08-02 05:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120797184001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120797184001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:24:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:24:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:24:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120797184001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":148966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:24:48] local.INFO: GPS data processed {"connection_id":148966,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:24:48] local.INFO: Acknowledgment sent {"connection_id":148966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:25:20] local.INFO: TCP Data received {"connection_id":148966,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:25:20] local.INFO: Processing buffer {"connection_id":148966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:25:20] local.INFO: Packet analysis {"connection_id":148966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:25:20] local.INFO: Extracted packet for processing {"connection_id":148966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:25:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120797184001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785628415000,"timestamp_ms":1785628415000,"timestamp_seconds":1785628415,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbf5418"} 
[2026-08-02 05:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120797184001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120797184001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:25:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:25:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120797184001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":148966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:25:20] local.INFO: GPS data processed {"connection_id":148966,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:25:20] local.INFO: Acknowledgment sent {"connection_id":148966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:25:42] local.INFO: TCP Data received {"connection_id":146422,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:25:42] local.INFO: Processing buffer {"connection_id":146422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:25:42] local.INFO: IMEI packet received {"connection_id":146422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":146422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:25:47] local.INFO: TCP Data received {"connection_id":146422,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:25:47] local.INFO: Processing buffer {"connection_id":146422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:25:47] local.INFO: IMEI packet received {"connection_id":146422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":146422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:25:48] local.INFO: TCP Data received {"connection_id":146422,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:25:48] local.INFO: Processing buffer {"connection_id":146422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:25:48] local.INFO: Packet analysis {"connection_id":146422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:25:48] local.INFO: Extracted packet for processing {"connection_id":146422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:25:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120797184001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:25:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785628415000,"timestamp_ms":1785628415000,"timestamp_seconds":1785628415,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbf5418"} 
[2026-08-02 05:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120797184001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120797184001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:25:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:25:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:25:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120797184001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":146422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:25:49] local.INFO: GPS data processed {"connection_id":146422,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:25:49] local.INFO: Acknowledgment sent {"connection_id":146422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:26:20] local.INFO: TCP Data received {"connection_id":146422,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:26:20] local.INFO: Processing buffer {"connection_id":146422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:26:20] local.INFO: Packet analysis {"connection_id":146422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:26:20] local.INFO: Extracted packet for processing {"connection_id":146422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:26:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120797184001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:26:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785628415000,"timestamp_ms":1785628415000,"timestamp_seconds":1785628415,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbf5418"} 
[2026-08-02 05:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120797184001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120797184001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:26:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:26:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:26:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120797184001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":146422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:26:20] local.INFO: GPS data processed {"connection_id":146422,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:26:20] local.INFO: Acknowledgment sent {"connection_id":146422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:26:42] local.INFO: TCP Data received {"connection_id":147651,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:26:42] local.INFO: Processing buffer {"connection_id":147651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:26:42] local.INFO: IMEI packet received {"connection_id":147651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":147651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:26:47] local.INFO: TCP Data received {"connection_id":147651,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:26:47] local.INFO: Processing buffer {"connection_id":147651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:26:47] local.INFO: IMEI packet received {"connection_id":147651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":147651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:26:48] local.INFO: TCP Data received {"connection_id":147651,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:26:48] local.INFO: Processing buffer {"connection_id":147651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:26:48] local.INFO: Packet analysis {"connection_id":147651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:26:48] local.INFO: Extracted packet for processing {"connection_id":147651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:26:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120797184001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:26:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785628415000,"timestamp_ms":1785628415000,"timestamp_seconds":1785628415,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbf5418"} 
[2026-08-02 05:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120797184001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120797184001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:26:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:26:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:26:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120797184001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":147651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:26:49] local.INFO: GPS data processed {"connection_id":147651,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:26:49] local.INFO: Acknowledgment sent {"connection_id":147651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:27:20] local.INFO: TCP Data received {"connection_id":147651,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:27:20] local.INFO: Processing buffer {"connection_id":147651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:27:20] local.INFO: Packet analysis {"connection_id":147651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:27:20] local.INFO: Extracted packet for processing {"connection_id":147651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:27:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120797184001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785628415000,"timestamp_ms":1785628415000,"timestamp_seconds":1785628415,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbf5418"} 
[2026-08-02 05:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120797184001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120797184001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:27:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:27:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120797184001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":147651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:27:20] local.INFO: GPS data processed {"connection_id":147651,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:27:20] local.INFO: Acknowledgment sent {"connection_id":147651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:27:47] local.INFO: TCP Data received {"connection_id":146423,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:27:47] local.INFO: Processing buffer {"connection_id":146423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:27:47] local.INFO: IMEI packet received {"connection_id":146423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":146423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:27:49] local.INFO: TCP Data received {"connection_id":146423,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:27:49] local.INFO: Processing buffer {"connection_id":146423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:27:49] local.INFO: Packet analysis {"connection_id":146423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:27:49] local.INFO: Extracted packet for processing {"connection_id":146423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:27:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120797184001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:27:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785628415000,"timestamp_ms":1785628415000,"timestamp_seconds":1785628415,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbf5418"} 
[2026-08-02 05:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:27: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-08-02 05:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120797184001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120797184001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:27:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:27:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:27:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120797184001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":146423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:27:49] local.INFO: GPS data processed {"connection_id":146423,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:27:49] local.INFO: Acknowledgment sent {"connection_id":146423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:28:22] local.INFO: TCP Data received {"connection_id":146423,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:28:22] local.INFO: Processing buffer {"connection_id":146423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:28:22] local.INFO: Packet analysis {"connection_id":146423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:28:22] local.INFO: Extracted packet for processing {"connection_id":146423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:28:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120797184001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:28:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785628415000,"timestamp_ms":1785628415000,"timestamp_seconds":1785628415,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbf5418"} 
[2026-08-02 05:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120797184001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120797184001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:28:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:28:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:28:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120797184001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":146423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:28:22] local.INFO: GPS data processed {"connection_id":146423,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:28:22] local.INFO: Acknowledgment sent {"connection_id":146423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:28:42] local.INFO: TCP Data received {"connection_id":148967,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:28:42] local.INFO: Processing buffer {"connection_id":148967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:28:42] local.INFO: IMEI packet received {"connection_id":148967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":148967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:28:47] local.INFO: TCP Data received {"connection_id":148967,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:28:47] local.INFO: Processing buffer {"connection_id":148967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:28:47] local.INFO: IMEI packet received {"connection_id":148967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":148967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:28:49] local.INFO: TCP Data received {"connection_id":148967,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:28:49] local.INFO: Processing buffer {"connection_id":148967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:28:49] local.INFO: Packet analysis {"connection_id":148967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:28:49] local.INFO: Extracted packet for processing {"connection_id":148967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:28:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120797184001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:28:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785628415000,"timestamp_ms":1785628415000,"timestamp_seconds":1785628415,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbf5418"} 
[2026-08-02 05:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:28: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-08-02 05:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120797184001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120797184001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:28:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:28:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:28:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120797184001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":148967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:28:49] local.INFO: GPS data processed {"connection_id":148967,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:28:49] local.INFO: Acknowledgment sent {"connection_id":148967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:28:54] local.INFO: TCP Data received {"connection_id":148967,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:28:54] local.INFO: Processing buffer {"connection_id":148967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfbf5418012cc330c007685b20006100cd2a..."} 
[2026-08-02 05:28:54] local.INFO: Packet analysis {"connection_id":148967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:28:54] local.INFO: Extracted packet for processing {"connection_id":148967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfbf"} 
[2026-08-02 05:28:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120797184001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:28:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785628415000,"timestamp_ms":1785628415000,"timestamp_seconds":1785628415,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfbf5418"} 
[2026-08-02 05:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120797184001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120797184001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:28:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:28:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:28:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120797184001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":148967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:28:54] local.INFO: GPS data processed {"connection_id":148967,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:28:54] local.INFO: Acknowledgment sent {"connection_id":148967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:29:25] local.INFO: TCP Data received {"connection_id":148967,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:29:25] local.INFO: Processing buffer {"connection_id":148967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:29:25] local.INFO: Packet analysis {"connection_id":148967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:29:25] local.INFO: Extracted packet for processing {"connection_id":148967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:29:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120874240001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:29:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785628716000,"timestamp_ms":1785628716000,"timestamp_seconds":1785628716,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc3ebe0"} 
[2026-08-02 05:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120874240001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120874240001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:29:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:29:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:29:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120874240001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":148967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:29:25] local.INFO: GPS data processed {"connection_id":148967,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:29:25] local.INFO: Acknowledgment sent {"connection_id":148967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:29:42] local.INFO: TCP Data received {"connection_id":146649,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:29:42] local.INFO: Processing buffer {"connection_id":146649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:29:42] local.INFO: IMEI packet received {"connection_id":146649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":146649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:29:47] local.INFO: TCP Data received {"connection_id":146649,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:29:47] local.INFO: Processing buffer {"connection_id":146649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:29:47] local.INFO: IMEI packet received {"connection_id":146649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":146649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:29:48] local.INFO: TCP Data received {"connection_id":146649,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:29:48] local.INFO: Processing buffer {"connection_id":146649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:29:48] local.INFO: Packet analysis {"connection_id":146649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:29:48] local.INFO: Extracted packet for processing {"connection_id":146649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:29:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120874240001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:29:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785628716000,"timestamp_ms":1785628716000,"timestamp_seconds":1785628716,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc3ebe0"} 
[2026-08-02 05:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120874240001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120874240001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:29:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:29:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:29:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120874240001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":146649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:29:48] local.INFO: GPS data processed {"connection_id":146649,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:29:48] local.INFO: Acknowledgment sent {"connection_id":146649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:30:20] local.INFO: TCP Data received {"connection_id":146649,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:30:20] local.INFO: Processing buffer {"connection_id":146649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:30:20] local.INFO: Packet analysis {"connection_id":146649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:30:20] local.INFO: Extracted packet for processing {"connection_id":146649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:30:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120874240001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785628716000,"timestamp_ms":1785628716000,"timestamp_seconds":1785628716,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc3ebe0"} 
[2026-08-02 05:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120874240001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120874240001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:30:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:30:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120874240001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":146649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:30:20] local.INFO: GPS data processed {"connection_id":146649,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:30:20] local.INFO: Acknowledgment sent {"connection_id":146649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:30:42] local.INFO: TCP Data received {"connection_id":148968,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:30:42] local.INFO: Processing buffer {"connection_id":148968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:30:42] local.INFO: IMEI packet received {"connection_id":148968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":148968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:30:47] local.INFO: TCP Data received {"connection_id":148968,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:30:47] local.INFO: Processing buffer {"connection_id":148968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:30:47] local.INFO: IMEI packet received {"connection_id":148968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":148968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:30:48] local.INFO: TCP Data received {"connection_id":148968,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:30:48] local.INFO: Processing buffer {"connection_id":148968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:30:48] local.INFO: Packet analysis {"connection_id":148968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:30:48] local.INFO: Extracted packet for processing {"connection_id":148968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:30:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120874240001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:30:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785628716000,"timestamp_ms":1785628716000,"timestamp_seconds":1785628716,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc3ebe0"} 
[2026-08-02 05:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120874240001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120874240001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:30:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:30:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:30:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120874240001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":148968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:30:48] local.INFO: GPS data processed {"connection_id":148968,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:30:48] local.INFO: Acknowledgment sent {"connection_id":148968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:31:20] local.INFO: TCP Data received {"connection_id":148968,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:31:20] local.INFO: Processing buffer {"connection_id":148968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:31:20] local.INFO: Packet analysis {"connection_id":148968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:31:20] local.INFO: Extracted packet for processing {"connection_id":148968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:31:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120874240001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785628716000,"timestamp_ms":1785628716000,"timestamp_seconds":1785628716,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc3ebe0"} 
[2026-08-02 05:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120874240001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120874240001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:31:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:31:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120874240001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":148968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:31:20] local.INFO: GPS data processed {"connection_id":148968,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:31:20] local.INFO: Acknowledgment sent {"connection_id":148968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:31:42] local.INFO: TCP Data received {"connection_id":147652,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:31:42] local.INFO: Processing buffer {"connection_id":147652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:31:42] local.INFO: IMEI packet received {"connection_id":147652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":147652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:31:47] local.INFO: TCP Data received {"connection_id":147652,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:31:47] local.INFO: Processing buffer {"connection_id":147652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:31:47] local.INFO: IMEI packet received {"connection_id":147652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":147652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:31:55] local.INFO: TCP Data received {"connection_id":147652,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:31:55] local.INFO: Processing buffer {"connection_id":147652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:31:55] local.INFO: Packet analysis {"connection_id":147652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:31:55] local.INFO: Extracted packet for processing {"connection_id":147652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:31:55] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120874240001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:31:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785628716000,"timestamp_ms":1785628716000,"timestamp_seconds":1785628716,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc3ebe0"} 
[2026-08-02 05:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120874240001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120874240001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:31:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:31:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:31:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120874240001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":147652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:31:55] local.INFO: GPS data processed {"connection_id":147652,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:31:55] local.INFO: Acknowledgment sent {"connection_id":147652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:32:28] local.INFO: TCP Data received {"connection_id":147652,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:32:28] local.INFO: Processing buffer {"connection_id":147652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:32:28] local.INFO: Packet analysis {"connection_id":147652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:32:28] local.INFO: Extracted packet for processing {"connection_id":147652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:32:28] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120874240001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:32:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785628716000,"timestamp_ms":1785628716000,"timestamp_seconds":1785628716,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc3ebe0"} 
[2026-08-02 05:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120874240001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120874240001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:32:28] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:32:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:32:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120874240001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":147652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:32:28] local.INFO: GPS data processed {"connection_id":147652,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:32:28] local.INFO: Acknowledgment sent {"connection_id":147652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:32:42] local.INFO: TCP Data received {"connection_id":146650,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:32:42] local.INFO: Processing buffer {"connection_id":146650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:32:42] local.INFO: IMEI packet received {"connection_id":146650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":146650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:32:47] local.INFO: TCP Data received {"connection_id":146650,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:32:47] local.INFO: Processing buffer {"connection_id":146650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:32:47] local.INFO: IMEI packet received {"connection_id":146650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":146650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:32:48] local.INFO: TCP Data received {"connection_id":146650,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:32:48] local.INFO: Processing buffer {"connection_id":146650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:32:48] local.INFO: Packet analysis {"connection_id":146650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:32:48] local.INFO: Extracted packet for processing {"connection_id":146650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:32:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120874240001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:32:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785628716000,"timestamp_ms":1785628716000,"timestamp_seconds":1785628716,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc3ebe0"} 
[2026-08-02 05:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120874240001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120874240001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:32:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:32:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:32:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120874240001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":146650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:32:48] local.INFO: GPS data processed {"connection_id":146650,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:32:48] local.INFO: Acknowledgment sent {"connection_id":146650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:33:20] local.INFO: TCP Data received {"connection_id":146650,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:33:20] local.INFO: Processing buffer {"connection_id":146650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:33:20] local.INFO: Packet analysis {"connection_id":146650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:33:20] local.INFO: Extracted packet for processing {"connection_id":146650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:33:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120874240001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785628716000,"timestamp_ms":1785628716000,"timestamp_seconds":1785628716,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc3ebe0"} 
[2026-08-02 05:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120874240001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120874240001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:33:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:33:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120874240001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":146650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:33:20] local.INFO: GPS data processed {"connection_id":146650,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:33:20] local.INFO: Acknowledgment sent {"connection_id":146650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:33:47] local.INFO: TCP Data received {"connection_id":147653,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:33:47] local.INFO: Processing buffer {"connection_id":147653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:33:47] local.INFO: IMEI packet received {"connection_id":147653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":147653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:33:52] local.INFO: TCP Data received {"connection_id":147653,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:33:52] local.INFO: Processing buffer {"connection_id":147653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:33:52] local.INFO: IMEI packet received {"connection_id":147653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":147653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:33:53] local.INFO: TCP Data received {"connection_id":147653,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:33:53] local.INFO: Processing buffer {"connection_id":147653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:33:53] local.INFO: Packet analysis {"connection_id":147653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:33:53] local.INFO: Extracted packet for processing {"connection_id":147653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:33:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120874240001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:33:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785628716000,"timestamp_ms":1785628716000,"timestamp_seconds":1785628716,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc3ebe0"} 
[2026-08-02 05:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120874240001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120874240001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:33:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:33:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:33:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120874240001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":147653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:33:53] local.INFO: GPS data processed {"connection_id":147653,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:33:53] local.INFO: Acknowledgment sent {"connection_id":147653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:33:58] local.INFO: TCP Data received {"connection_id":147653,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:33:58] local.INFO: Processing buffer {"connection_id":147653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc3ebe0012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:33:58] local.INFO: Packet analysis {"connection_id":147653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:33:58] local.INFO: Extracted packet for processing {"connection_id":147653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc3"} 
[2026-08-02 05:33:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120874240001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:33:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785628716000,"timestamp_ms":1785628716000,"timestamp_seconds":1785628716,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc3ebe0"} 
[2026-08-02 05:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120874240001,"66":25473,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120874240001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:33:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:33:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:33:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120874240001,"power":25473,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":147653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:33:58] local.INFO: GPS data processed {"connection_id":147653,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:33:58] local.INFO: Acknowledgment sent {"connection_id":147653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:34:43] local.INFO: TCP Data received {"connection_id":146424,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:34:43] local.INFO: Processing buffer {"connection_id":146424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:34:43] local.INFO: IMEI packet received {"connection_id":146424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":146424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:34:47] local.INFO: TCP Data received {"connection_id":146424,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:34:47] local.INFO: Processing buffer {"connection_id":146424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:34:47] local.INFO: IMEI packet received {"connection_id":146424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":146424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:34:49] local.INFO: TCP Data received {"connection_id":146424,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:34:49] local.INFO: Processing buffer {"connection_id":146424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:34:49] local.INFO: Packet analysis {"connection_id":146424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:34:49] local.INFO: Extracted packet for processing {"connection_id":146424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:34:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120951296001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:34:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785629017000,"timestamp_ms":1785629017000,"timestamp_seconds":1785629017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc883a8"} 
[2026-08-02 05:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120951296001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120951296001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:34:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:34:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:34:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120951296001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":146424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:34:49] local.INFO: GPS data processed {"connection_id":146424,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:34:49] local.INFO: Acknowledgment sent {"connection_id":146424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:35:20] local.INFO: TCP Data received {"connection_id":146424,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:35:20] local.INFO: Processing buffer {"connection_id":146424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:35:20] local.INFO: Packet analysis {"connection_id":146424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:35:20] local.INFO: Extracted packet for processing {"connection_id":146424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:35:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120951296001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785629017000,"timestamp_ms":1785629017000,"timestamp_seconds":1785629017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc883a8"} 
[2026-08-02 05:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120951296001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120951296001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:35:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:35:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120951296001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":146424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:35:20] local.INFO: GPS data processed {"connection_id":146424,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:35:20] local.INFO: Acknowledgment sent {"connection_id":146424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:35:42] local.INFO: TCP Data received {"connection_id":148969,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:35:42] local.INFO: Processing buffer {"connection_id":148969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:35:42] local.INFO: IMEI packet received {"connection_id":148969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":148969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:35:47] local.INFO: TCP Data received {"connection_id":148969,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:35:47] local.INFO: Processing buffer {"connection_id":148969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:35:47] local.INFO: IMEI packet received {"connection_id":148969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":148969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:35:48] local.INFO: TCP Data received {"connection_id":148969,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:35:48] local.INFO: Processing buffer {"connection_id":148969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:35:48] local.INFO: Packet analysis {"connection_id":148969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:35:48] local.INFO: Extracted packet for processing {"connection_id":148969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:35:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05: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-08-02 05:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120951296001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:35:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785629017000,"timestamp_ms":1785629017000,"timestamp_seconds":1785629017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc883a8"} 
[2026-08-02 05:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:35: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-08-02 05:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05: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-08-02 05:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120951296001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120951296001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:35:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:35:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:35:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120951296001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":148969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:35:48] local.INFO: GPS data processed {"connection_id":148969,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:35:48] local.INFO: Acknowledgment sent {"connection_id":148969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:36:21] local.INFO: TCP Data received {"connection_id":148969,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:36:21] local.INFO: Processing buffer {"connection_id":148969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:36:21] local.INFO: Packet analysis {"connection_id":148969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:36:21] local.INFO: Extracted packet for processing {"connection_id":148969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:36:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120951296001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785629017000,"timestamp_ms":1785629017000,"timestamp_seconds":1785629017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc883a8"} 
[2026-08-02 05:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120951296001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120951296001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:36:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:36:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120951296001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":148969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:36:21] local.INFO: GPS data processed {"connection_id":148969,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:36:21] local.INFO: Acknowledgment sent {"connection_id":148969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:36:42] local.INFO: TCP Data received {"connection_id":147654,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:36:42] local.INFO: Processing buffer {"connection_id":147654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:36:42] local.INFO: IMEI packet received {"connection_id":147654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":147654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:36:50] local.INFO: TCP Data received {"connection_id":147654,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:36:50] local.INFO: Processing buffer {"connection_id":147654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:36:50] local.INFO: IMEI packet received {"connection_id":147654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":147654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:36:52] local.INFO: TCP Data received {"connection_id":147654,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:36:52] local.INFO: Processing buffer {"connection_id":147654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:36:52] local.INFO: Packet analysis {"connection_id":147654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:36:52] local.INFO: Extracted packet for processing {"connection_id":147654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:36:52] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120951296001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:36:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785629017000,"timestamp_ms":1785629017000,"timestamp_seconds":1785629017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc883a8"} 
[2026-08-02 05:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120951296001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120951296001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:36:52] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:36:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:36:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120951296001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":147654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:36:52] local.INFO: GPS data processed {"connection_id":147654,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:36:52] local.INFO: Acknowledgment sent {"connection_id":147654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:37:24] local.INFO: TCP Data received {"connection_id":147654,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:37:24] local.INFO: Processing buffer {"connection_id":147654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:37:24] local.INFO: Packet analysis {"connection_id":147654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:37:24] local.INFO: Extracted packet for processing {"connection_id":147654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:37:24] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120951296001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:37:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785629017000,"timestamp_ms":1785629017000,"timestamp_seconds":1785629017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc883a8"} 
[2026-08-02 05:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120951296001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120951296001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:37:24] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:37:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:37:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120951296001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":147654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:37:24] local.INFO: GPS data processed {"connection_id":147654,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:37:24] local.INFO: Acknowledgment sent {"connection_id":147654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:37:47] local.INFO: TCP Data received {"connection_id":146651,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:37:47] local.INFO: Processing buffer {"connection_id":146651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:37:47] local.INFO: IMEI packet received {"connection_id":146651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":146651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:37:52] local.INFO: TCP Data received {"connection_id":146651,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:37:52] local.INFO: Processing buffer {"connection_id":146651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:37:52] local.INFO: IMEI packet received {"connection_id":146651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":146651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:37:53] local.INFO: TCP Data received {"connection_id":146651,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:37:53] local.INFO: Processing buffer {"connection_id":146651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:37:53] local.INFO: Packet analysis {"connection_id":146651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:37:53] local.INFO: Extracted packet for processing {"connection_id":146651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:37:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120951296001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:37:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785629017000,"timestamp_ms":1785629017000,"timestamp_seconds":1785629017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc883a8"} 
[2026-08-02 05:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120951296001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120951296001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:37:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:37:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:37:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120951296001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":146651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:37:54] local.INFO: GPS data processed {"connection_id":146651,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:37:54] local.INFO: Acknowledgment sent {"connection_id":146651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:37:58] local.INFO: TCP Data received {"connection_id":146651,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:37:58] local.INFO: Processing buffer {"connection_id":146651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:37:58] local.INFO: Packet analysis {"connection_id":146651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:37:58] local.INFO: Extracted packet for processing {"connection_id":146651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:37:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120951296001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:37:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785629017000,"timestamp_ms":1785629017000,"timestamp_seconds":1785629017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc883a8"} 
[2026-08-02 05:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120951296001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120951296001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:37:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:37:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:37:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120951296001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":146651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:37:58] local.INFO: GPS data processed {"connection_id":146651,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:37:58] local.INFO: Acknowledgment sent {"connection_id":146651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:38:42] local.INFO: TCP Data received {"connection_id":146425,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:38:42] local.INFO: Processing buffer {"connection_id":146425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:38:42] local.INFO: IMEI packet received {"connection_id":146425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":146425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:38:47] local.INFO: TCP Data received {"connection_id":146425,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:38:47] local.INFO: Processing buffer {"connection_id":146425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:38:47] local.INFO: IMEI packet received {"connection_id":146425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":146425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:38:48] local.INFO: TCP Data received {"connection_id":146425,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:38:48] local.INFO: Processing buffer {"connection_id":146425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfc883a8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:38:48] local.INFO: Packet analysis {"connection_id":146425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:38:48] local.INFO: Extracted packet for processing {"connection_id":146425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfc8"} 
[2026-08-02 05:38:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457120951296001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:38:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785629017000,"timestamp_ms":1785629017000,"timestamp_seconds":1785629017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfc883a8"} 
[2026-08-02 05:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:38: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-08-02 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 05:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457120951296001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457120951296001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:38:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:38:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:38:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457120951296001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":146425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:38:49] local.INFO: GPS data processed {"connection_id":146425,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:38:49] local.INFO: Acknowledgment sent {"connection_id":146425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:39:21] local.INFO: TCP Data received {"connection_id":146425,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:39:21] local.INFO: Processing buffer {"connection_id":146425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:39:21] local.INFO: Packet analysis {"connection_id":146425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:39:21] local.INFO: Extracted packet for processing {"connection_id":146425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:39:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121028352001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785629318000,"timestamp_ms":1785629318000,"timestamp_seconds":1785629318,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfcd1b70"} 
[2026-08-02 05:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121028352001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121028352001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:39:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:39:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121028352001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":146425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:39:21] local.INFO: GPS data processed {"connection_id":146425,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:39:21] local.INFO: Acknowledgment sent {"connection_id":146425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:39:43] local.INFO: TCP Data received {"connection_id":146652,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:39:43] local.INFO: Processing buffer {"connection_id":146652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:39:43] local.INFO: IMEI packet received {"connection_id":146652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":146652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:39:47] local.INFO: TCP Data received {"connection_id":146652,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:39:47] local.INFO: Processing buffer {"connection_id":146652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:39:47] local.INFO: IMEI packet received {"connection_id":146652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":146652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:39:49] local.INFO: TCP Data received {"connection_id":146652,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:39:49] local.INFO: Processing buffer {"connection_id":146652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:39:49] local.INFO: Packet analysis {"connection_id":146652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:39:49] local.INFO: Extracted packet for processing {"connection_id":146652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:39:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121028352001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:39:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785629318000,"timestamp_ms":1785629318000,"timestamp_seconds":1785629318,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfcd1b70"} 
[2026-08-02 05:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121028352001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121028352001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:39:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:39:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:39:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121028352001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":146652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:39:49] local.INFO: GPS data processed {"connection_id":146652,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:39:49] local.INFO: Acknowledgment sent {"connection_id":146652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:40:21] local.INFO: TCP Data received {"connection_id":146652,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:40:21] local.INFO: Processing buffer {"connection_id":146652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:40:21] local.INFO: Packet analysis {"connection_id":146652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:40:21] local.INFO: Extracted packet for processing {"connection_id":146652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:40:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121028352001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785629318000,"timestamp_ms":1785629318000,"timestamp_seconds":1785629318,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfcd1b70"} 
[2026-08-02 05:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121028352001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121028352001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:40:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:40:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121028352001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":146652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:40:21] local.INFO: GPS data processed {"connection_id":146652,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:40:21] local.INFO: Acknowledgment sent {"connection_id":146652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:40:42] local.INFO: TCP Data received {"connection_id":146426,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:40:42] local.INFO: Processing buffer {"connection_id":146426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:40:42] local.INFO: IMEI packet received {"connection_id":146426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":146426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:40:47] local.INFO: TCP Data received {"connection_id":146426,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:40:47] local.INFO: Processing buffer {"connection_id":146426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:40:47] local.INFO: IMEI packet received {"connection_id":146426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":146426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:40:48] local.INFO: TCP Data received {"connection_id":146426,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:40:48] local.INFO: Processing buffer {"connection_id":146426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:40:48] local.INFO: Packet analysis {"connection_id":146426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:40:48] local.INFO: Extracted packet for processing {"connection_id":146426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:40:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121028352001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:40:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785629318000,"timestamp_ms":1785629318000,"timestamp_seconds":1785629318,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfcd1b70"} 
[2026-08-02 05:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:40: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-08-02 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121028352001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121028352001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:40:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:40:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:40:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121028352001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":146426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:40:48] local.INFO: GPS data processed {"connection_id":146426,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:40:48] local.INFO: Acknowledgment sent {"connection_id":146426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:41:20] local.INFO: TCP Data received {"connection_id":146426,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:41:20] local.INFO: Processing buffer {"connection_id":146426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:41:20] local.INFO: Packet analysis {"connection_id":146426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:41:20] local.INFO: Extracted packet for processing {"connection_id":146426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:41:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121028352001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785629318000,"timestamp_ms":1785629318000,"timestamp_seconds":1785629318,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfcd1b70"} 
[2026-08-02 05:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121028352001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121028352001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:41:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:41:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121028352001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":146426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:41:20] local.INFO: GPS data processed {"connection_id":146426,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:41:20] local.INFO: Acknowledgment sent {"connection_id":146426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:41:42] local.INFO: TCP Data received {"connection_id":148970,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:41:42] local.INFO: Processing buffer {"connection_id":148970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:41:42] local.INFO: IMEI packet received {"connection_id":148970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":148970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:41:47] local.INFO: TCP Data received {"connection_id":148970,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:41:47] local.INFO: Processing buffer {"connection_id":148970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:41:47] local.INFO: IMEI packet received {"connection_id":148970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":148970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:41:48] local.INFO: TCP Data received {"connection_id":148970,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:41:48] local.INFO: Processing buffer {"connection_id":148970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:41:48] local.INFO: Packet analysis {"connection_id":148970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:41:48] local.INFO: Extracted packet for processing {"connection_id":148970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:41:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121028352001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:41:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785629318000,"timestamp_ms":1785629318000,"timestamp_seconds":1785629318,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfcd1b70"} 
[2026-08-02 05:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:41: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-08-02 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121028352001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121028352001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:41:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:41:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:41:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121028352001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":148970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:41:48] local.INFO: GPS data processed {"connection_id":148970,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:41:48] local.INFO: Acknowledgment sent {"connection_id":148970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:42:21] local.INFO: TCP Data received {"connection_id":148970,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:42:21] local.INFO: Processing buffer {"connection_id":148970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:42:21] local.INFO: Packet analysis {"connection_id":148970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:42:21] local.INFO: Extracted packet for processing {"connection_id":148970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:42:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121028352001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:42:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785629318000,"timestamp_ms":1785629318000,"timestamp_seconds":1785629318,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfcd1b70"} 
[2026-08-02 05:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121028352001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121028352001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:42:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:42:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121028352001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":148970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:42:21] local.INFO: GPS data processed {"connection_id":148970,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:42:21] local.INFO: Acknowledgment sent {"connection_id":148970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:42:47] local.INFO: TCP Data received {"connection_id":148971,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:42:47] local.INFO: Processing buffer {"connection_id":148971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:42:47] local.INFO: IMEI packet received {"connection_id":148971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":148971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:42:52] local.INFO: TCP Data received {"connection_id":148971,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:42:52] local.INFO: Processing buffer {"connection_id":148971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:42:52] local.INFO: IMEI packet received {"connection_id":148971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":148971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:42:54] local.INFO: TCP Data received {"connection_id":148971,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:42:54] local.INFO: Processing buffer {"connection_id":148971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:42:54] local.INFO: Packet analysis {"connection_id":148971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:42:54] local.INFO: Extracted packet for processing {"connection_id":148971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:42:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121028352001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:42:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785629318000,"timestamp_ms":1785629318000,"timestamp_seconds":1785629318,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfcd1b70"} 
[2026-08-02 05:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121028352001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121028352001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:42:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:42:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:42:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121028352001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":148971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:42:54] local.INFO: GPS data processed {"connection_id":148971,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:42:54] local.INFO: Acknowledgment sent {"connection_id":148971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:42:58] local.INFO: TCP Data received {"connection_id":148971,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:42:58] local.INFO: Processing buffer {"connection_id":148971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:42:58] local.INFO: Packet analysis {"connection_id":148971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:42:58] local.INFO: Extracted packet for processing {"connection_id":148971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:42:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121028352001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:42:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785629318000,"timestamp_ms":1785629318000,"timestamp_seconds":1785629318,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfcd1b70"} 
[2026-08-02 05:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121028352001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121028352001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:42:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:42:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:42:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121028352001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":148971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:42:58] local.INFO: GPS data processed {"connection_id":148971,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:42:58] local.INFO: Acknowledgment sent {"connection_id":148971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:43:42] local.INFO: TCP Data received {"connection_id":146427,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:43:42] local.INFO: Processing buffer {"connection_id":146427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:43:42] local.INFO: IMEI packet received {"connection_id":146427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":146427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:43:47] local.INFO: TCP Data received {"connection_id":146427,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:43:47] local.INFO: Processing buffer {"connection_id":146427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:43:47] local.INFO: IMEI packet received {"connection_id":146427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":146427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:43:48] local.INFO: TCP Data received {"connection_id":146427,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:43:48] local.INFO: Processing buffer {"connection_id":146427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfcd1b70012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:43:48] local.INFO: Packet analysis {"connection_id":146427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:43:48] local.INFO: Extracted packet for processing {"connection_id":146427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfcd"} 
[2026-08-02 05:43:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121028352001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:43:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785629318000,"timestamp_ms":1785629318000,"timestamp_seconds":1785629318,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfcd1b70"} 
[2026-08-02 05:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:43: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-08-02 05:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121028352001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121028352001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:43:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:43:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:43:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121028352001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":146427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:43:48] local.INFO: GPS data processed {"connection_id":146427,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:43:48] local.INFO: Acknowledgment sent {"connection_id":146427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:44:20] local.INFO: TCP Data received {"connection_id":146427,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:44:20] local.INFO: Processing buffer {"connection_id":146427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:44:20] local.INFO: Packet analysis {"connection_id":146427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:44:20] local.INFO: Extracted packet for processing {"connection_id":146427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:44:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121105408001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785629619000,"timestamp_ms":1785629619000,"timestamp_seconds":1785629619,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd1b338"} 
[2026-08-02 05:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121105408001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121105408001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:44:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:44:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121105408001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":146427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:44:20] local.INFO: GPS data processed {"connection_id":146427,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:44:20] local.INFO: Acknowledgment sent {"connection_id":146427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:44:42] local.INFO: TCP Data received {"connection_id":147655,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:44:42] local.INFO: Processing buffer {"connection_id":147655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:44:42] local.INFO: IMEI packet received {"connection_id":147655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":147655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:44:47] local.INFO: TCP Data received {"connection_id":147655,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:44:47] local.INFO: Processing buffer {"connection_id":147655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:44:47] local.INFO: IMEI packet received {"connection_id":147655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":147655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:44:48] local.INFO: TCP Data received {"connection_id":147655,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:44:48] local.INFO: Processing buffer {"connection_id":147655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:44:48] local.INFO: Packet analysis {"connection_id":147655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:44:48] local.INFO: Extracted packet for processing {"connection_id":147655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:44:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121105408001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:44:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785629619000,"timestamp_ms":1785629619000,"timestamp_seconds":1785629619,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd1b338"} 
[2026-08-02 05:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121105408001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121105408001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:44:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:44:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:44:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121105408001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":147655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:44:48] local.INFO: GPS data processed {"connection_id":147655,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:44:48] local.INFO: Acknowledgment sent {"connection_id":147655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:45:20] local.INFO: TCP Data received {"connection_id":147655,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:45:20] local.INFO: Processing buffer {"connection_id":147655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:45:20] local.INFO: Packet analysis {"connection_id":147655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:45:20] local.INFO: Extracted packet for processing {"connection_id":147655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:45:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121105408001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785629619000,"timestamp_ms":1785629619000,"timestamp_seconds":1785629619,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd1b338"} 
[2026-08-02 05:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121105408001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121105408001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:45:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:45:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121105408001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":147655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:45:20] local.INFO: GPS data processed {"connection_id":147655,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:45:20] local.INFO: Acknowledgment sent {"connection_id":147655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:45:42] local.INFO: TCP Data received {"connection_id":148972,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:45:42] local.INFO: Processing buffer {"connection_id":148972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:45:42] local.INFO: IMEI packet received {"connection_id":148972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":148972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:45:48] local.INFO: TCP Data received {"connection_id":148972,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:45:48] local.INFO: Processing buffer {"connection_id":148972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:45:48] local.INFO: IMEI packet received {"connection_id":148972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":148972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:45:49] local.INFO: TCP Data received {"connection_id":148972,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:45:49] local.INFO: Processing buffer {"connection_id":148972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:45:49] local.INFO: Packet analysis {"connection_id":148972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:45:49] local.INFO: Extracted packet for processing {"connection_id":148972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:45:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121105408001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:45:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785629619000,"timestamp_ms":1785629619000,"timestamp_seconds":1785629619,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd1b338"} 
[2026-08-02 05:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:45: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-08-02 05:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121105408001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121105408001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:45:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:45:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:45:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121105408001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":148972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:45:49] local.INFO: GPS data processed {"connection_id":148972,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:45:49] local.INFO: Acknowledgment sent {"connection_id":148972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:46:21] local.INFO: TCP Data received {"connection_id":148972,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:46:21] local.INFO: Processing buffer {"connection_id":148972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:46:21] local.INFO: Packet analysis {"connection_id":148972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:46:21] local.INFO: Extracted packet for processing {"connection_id":148972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:46:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121105408001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785629619000,"timestamp_ms":1785629619000,"timestamp_seconds":1785629619,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd1b338"} 
[2026-08-02 05:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121105408001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121105408001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:46:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:46:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121105408001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":148972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:46:21] local.INFO: GPS data processed {"connection_id":148972,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:46:21] local.INFO: Acknowledgment sent {"connection_id":148972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:46:47] local.INFO: TCP Data received {"connection_id":148973,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:46:47] local.INFO: Processing buffer {"connection_id":148973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:46:47] local.INFO: IMEI packet received {"connection_id":148973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":148973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:46:52] local.INFO: TCP Data received {"connection_id":148973,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:46:52] local.INFO: Processing buffer {"connection_id":148973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:46:52] local.INFO: IMEI packet received {"connection_id":148973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":148973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:46:54] local.INFO: TCP Data received {"connection_id":148973,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:46:54] local.INFO: Processing buffer {"connection_id":148973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:46:54] local.INFO: Packet analysis {"connection_id":148973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:46:54] local.INFO: Extracted packet for processing {"connection_id":148973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:46:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05: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-08-02 05:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121105408001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:46:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785629619000,"timestamp_ms":1785629619000,"timestamp_seconds":1785629619,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd1b338"} 
[2026-08-02 05:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05: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-08-02 05:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121105408001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121105408001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:46:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:46:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:46:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121105408001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":148973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:46:54] local.INFO: GPS data processed {"connection_id":148973,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:46:54] local.INFO: Acknowledgment sent {"connection_id":148973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:46:58] local.INFO: TCP Data received {"connection_id":148973,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:46:58] local.INFO: Processing buffer {"connection_id":148973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:46:58] local.INFO: Packet analysis {"connection_id":148973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:46:58] local.INFO: Extracted packet for processing {"connection_id":148973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:46:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121105408001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:46:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785629619000,"timestamp_ms":1785629619000,"timestamp_seconds":1785629619,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd1b338"} 
[2026-08-02 05:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121105408001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121105408001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:46:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:46:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:46:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121105408001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":148973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:46:58] local.INFO: GPS data processed {"connection_id":148973,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:46:58] local.INFO: Acknowledgment sent {"connection_id":148973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:47:42] local.INFO: TCP Data received {"connection_id":148974,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:47:42] local.INFO: Processing buffer {"connection_id":148974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:47:42] local.INFO: IMEI packet received {"connection_id":148974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":148974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:47:47] local.INFO: TCP Data received {"connection_id":148974,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:47:47] local.INFO: Processing buffer {"connection_id":148974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:47:47] local.INFO: IMEI packet received {"connection_id":148974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":148974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:47:48] local.INFO: TCP Data received {"connection_id":148974,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:47:48] local.INFO: Processing buffer {"connection_id":148974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:47:48] local.INFO: Packet analysis {"connection_id":148974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:47:48] local.INFO: Extracted packet for processing {"connection_id":148974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:47:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121105408001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:47:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785629619000,"timestamp_ms":1785629619000,"timestamp_seconds":1785629619,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd1b338"} 
[2026-08-02 05:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121105408001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121105408001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:47:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:47:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:47:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121105408001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":148974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:47:48] local.INFO: GPS data processed {"connection_id":148974,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:47:48] local.INFO: Acknowledgment sent {"connection_id":148974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:48:20] local.INFO: TCP Data received {"connection_id":148974,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:48:20] local.INFO: Processing buffer {"connection_id":148974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:48:20] local.INFO: Packet analysis {"connection_id":148974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:48:20] local.INFO: Extracted packet for processing {"connection_id":148974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:48:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121105408001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785629619000,"timestamp_ms":1785629619000,"timestamp_seconds":1785629619,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd1b338"} 
[2026-08-02 05:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121105408001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121105408001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:48:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:48:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121105408001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":148974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:48:20] local.INFO: GPS data processed {"connection_id":148974,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:48:20] local.INFO: Acknowledgment sent {"connection_id":148974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:48:42] local.INFO: TCP Data received {"connection_id":147656,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:48:42] local.INFO: Processing buffer {"connection_id":147656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:48:42] local.INFO: IMEI packet received {"connection_id":147656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":147656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:48:47] local.INFO: TCP Data received {"connection_id":147656,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:48:47] local.INFO: Processing buffer {"connection_id":147656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:48:47] local.INFO: IMEI packet received {"connection_id":147656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":147656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:48:48] local.INFO: TCP Data received {"connection_id":147656,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:48:48] local.INFO: Processing buffer {"connection_id":147656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd1b338012cc330c007685b20006100cd28..."} 
[2026-08-02 05:48:48] local.INFO: Packet analysis {"connection_id":147656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:48:48] local.INFO: Extracted packet for processing {"connection_id":147656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd1"} 
[2026-08-02 05:48:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05: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-08-02 05:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121105408001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:48:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785629619000,"timestamp_ms":1785629619000,"timestamp_seconds":1785629619,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd1b338"} 
[2026-08-02 05:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 05:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05: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-08-02 05:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121105408001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121105408001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:48:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:48:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:48:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121105408001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":147656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:48:48] local.INFO: GPS data processed {"connection_id":147656,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:48:48] local.INFO: Acknowledgment sent {"connection_id":147656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:49:20] local.INFO: TCP Data received {"connection_id":147656,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:49:20] local.INFO: Processing buffer {"connection_id":147656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:49:20] local.INFO: Packet analysis {"connection_id":147656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:49:20] local.INFO: Extracted packet for processing {"connection_id":147656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:49:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121182464001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785629920000,"timestamp_ms":1785629920000,"timestamp_seconds":1785629920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd64b00"} 
[2026-08-02 05:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121182464001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121182464001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:49:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:49:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121182464001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":147656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:49:20] local.INFO: GPS data processed {"connection_id":147656,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:49:20] local.INFO: Acknowledgment sent {"connection_id":147656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:49:42] local.INFO: TCP Data received {"connection_id":148975,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:49:42] local.INFO: Processing buffer {"connection_id":148975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:49:42] local.INFO: IMEI packet received {"connection_id":148975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":148975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:49:47] local.INFO: TCP Data received {"connection_id":148975,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:49:47] local.INFO: Processing buffer {"connection_id":148975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:49:47] local.INFO: IMEI packet received {"connection_id":148975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":148975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:49:48] local.INFO: TCP Data received {"connection_id":148975,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:49:48] local.INFO: Processing buffer {"connection_id":148975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:49:48] local.INFO: Packet analysis {"connection_id":148975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:49:48] local.INFO: Extracted packet for processing {"connection_id":148975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:49:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121182464001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:49:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785629920000,"timestamp_ms":1785629920000,"timestamp_seconds":1785629920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd64b00"} 
[2026-08-02 05:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121182464001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121182464001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:49:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:49:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:49:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121182464001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":148975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:49:48] local.INFO: GPS data processed {"connection_id":148975,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:49:48] local.INFO: Acknowledgment sent {"connection_id":148975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:50:20] local.INFO: TCP Data received {"connection_id":148975,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:50:20] local.INFO: Processing buffer {"connection_id":148975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:50:20] local.INFO: Packet analysis {"connection_id":148975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:50:20] local.INFO: Extracted packet for processing {"connection_id":148975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:50:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121182464001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785629920000,"timestamp_ms":1785629920000,"timestamp_seconds":1785629920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd64b00"} 
[2026-08-02 05:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121182464001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121182464001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:50:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:50:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121182464001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":148975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:50:20] local.INFO: GPS data processed {"connection_id":148975,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:50:20] local.INFO: Acknowledgment sent {"connection_id":148975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:50:47] local.INFO: TCP Data received {"connection_id":147657,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:50:47] local.INFO: Processing buffer {"connection_id":147657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:50:47] local.INFO: IMEI packet received {"connection_id":147657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":147657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:50:52] local.INFO: TCP Data received {"connection_id":147657,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:50:52] local.INFO: Processing buffer {"connection_id":147657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:50:52] local.INFO: IMEI packet received {"connection_id":147657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":147657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:50:53] local.INFO: TCP Data received {"connection_id":147657,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:50:53] local.INFO: Processing buffer {"connection_id":147657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:50:53] local.INFO: Packet analysis {"connection_id":147657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:50:53] local.INFO: Extracted packet for processing {"connection_id":147657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:50:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121182464001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:50:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785629920000,"timestamp_ms":1785629920000,"timestamp_seconds":1785629920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd64b00"} 
[2026-08-02 05:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121182464001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121182464001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:50:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:50:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:50:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121182464001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":147657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:50:53] local.INFO: GPS data processed {"connection_id":147657,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:50:53] local.INFO: Acknowledgment sent {"connection_id":147657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:50:58] local.INFO: TCP Data received {"connection_id":147657,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:50:58] local.INFO: Processing buffer {"connection_id":147657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:50:58] local.INFO: Packet analysis {"connection_id":147657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:50:58] local.INFO: Extracted packet for processing {"connection_id":147657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:50:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121182464001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:50:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785629920000,"timestamp_ms":1785629920000,"timestamp_seconds":1785629920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd64b00"} 
[2026-08-02 05:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121182464001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121182464001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:50:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:50:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:50:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121182464001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":147657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:50:58] local.INFO: GPS data processed {"connection_id":147657,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:50:58] local.INFO: Acknowledgment sent {"connection_id":147657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:51:42] local.INFO: TCP Data received {"connection_id":146653,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:51:42] local.INFO: Processing buffer {"connection_id":146653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:51:42] local.INFO: IMEI packet received {"connection_id":146653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":146653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:51:47] local.INFO: TCP Data received {"connection_id":146653,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:51:47] local.INFO: Processing buffer {"connection_id":146653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:51:47] local.INFO: IMEI packet received {"connection_id":146653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":146653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:51:49] local.INFO: TCP Data received {"connection_id":146653,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:51:49] local.INFO: Processing buffer {"connection_id":146653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:51:49] local.INFO: Packet analysis {"connection_id":146653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:51:49] local.INFO: Extracted packet for processing {"connection_id":146653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:51:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121182464001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785629920000,"timestamp_ms":1785629920000,"timestamp_seconds":1785629920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd64b00"} 
[2026-08-02 05:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121182464001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121182464001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:51:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:51:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121182464001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":146653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:51:49] local.INFO: GPS data processed {"connection_id":146653,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:51:49] local.INFO: Acknowledgment sent {"connection_id":146653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:52:20] local.INFO: TCP Data received {"connection_id":146653,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:52:20] local.INFO: Processing buffer {"connection_id":146653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:52:20] local.INFO: Packet analysis {"connection_id":146653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:52:20] local.INFO: Extracted packet for processing {"connection_id":146653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:52:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121182464001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785629920000,"timestamp_ms":1785629920000,"timestamp_seconds":1785629920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd64b00"} 
[2026-08-02 05:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121182464001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121182464001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:52:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:52:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121182464001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":146653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:52:20] local.INFO: GPS data processed {"connection_id":146653,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:52:20] local.INFO: Acknowledgment sent {"connection_id":146653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:52:42] local.INFO: TCP Data received {"connection_id":148976,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:52:42] local.INFO: Processing buffer {"connection_id":148976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:52:42] local.INFO: IMEI packet received {"connection_id":148976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":148976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:52:47] local.INFO: TCP Data received {"connection_id":148976,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:52:47] local.INFO: Processing buffer {"connection_id":148976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:52:47] local.INFO: IMEI packet received {"connection_id":148976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":148976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:52:48] local.INFO: TCP Data received {"connection_id":148976,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:52:48] local.INFO: Processing buffer {"connection_id":148976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:52:48] local.INFO: Packet analysis {"connection_id":148976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:52:48] local.INFO: Extracted packet for processing {"connection_id":148976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:52:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05: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-08-02 05:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121182464001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:52:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785629920000,"timestamp_ms":1785629920000,"timestamp_seconds":1785629920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd64b00"} 
[2026-08-02 05:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05: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-08-02 05:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121182464001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121182464001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:52:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:52:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:52:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121182464001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":148976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:52:48] local.INFO: GPS data processed {"connection_id":148976,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:52:48] local.INFO: Acknowledgment sent {"connection_id":148976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:53:20] local.INFO: TCP Data received {"connection_id":148976,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:53:20] local.INFO: Processing buffer {"connection_id":148976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:53:20] local.INFO: Packet analysis {"connection_id":148976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:53:20] local.INFO: Extracted packet for processing {"connection_id":148976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:53:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121182464001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785629920000,"timestamp_ms":1785629920000,"timestamp_seconds":1785629920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd64b00"} 
[2026-08-02 05:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121182464001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121182464001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:53:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:53:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121182464001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":148976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:53:20] local.INFO: GPS data processed {"connection_id":148976,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:53:20] local.INFO: Acknowledgment sent {"connection_id":148976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:53:42] local.INFO: TCP Data received {"connection_id":148977,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:53:42] local.INFO: Processing buffer {"connection_id":148977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:53:42] local.INFO: IMEI packet received {"connection_id":148977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":148977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:53:47] local.INFO: TCP Data received {"connection_id":148977,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:53:47] local.INFO: Processing buffer {"connection_id":148977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:53:47] local.INFO: IMEI packet received {"connection_id":148977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":148977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:53:48] local.INFO: TCP Data received {"connection_id":148977,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:53:48] local.INFO: Processing buffer {"connection_id":148977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfd64b00012cc330c007685b20006100cd2b..."} 
[2026-08-02 05:53:48] local.INFO: Packet analysis {"connection_id":148977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:53:48] local.INFO: Extracted packet for processing {"connection_id":148977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfd6"} 
[2026-08-02 05:53:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121182464001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:53:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785629920000,"timestamp_ms":1785629920000,"timestamp_seconds":1785629920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfd64b00"} 
[2026-08-02 05:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121182464001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121182464001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:53:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:53:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:53:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121182464001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":148977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:53:48] local.INFO: GPS data processed {"connection_id":148977,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:53:48] local.INFO: Acknowledgment sent {"connection_id":148977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:54:21] local.INFO: TCP Data received {"connection_id":148977,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:54:21] local.INFO: Processing buffer {"connection_id":148977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:54:21] local.INFO: Packet analysis {"connection_id":148977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:54:21] local.INFO: Extracted packet for processing {"connection_id":148977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:54:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121259520001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:54:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785630221000,"timestamp_ms":1785630221000,"timestamp_seconds":1785630221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdae2c8"} 
[2026-08-02 05:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121259520001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121259520001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:54:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:54:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:54:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121259520001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":148977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:54:21] local.INFO: GPS data processed {"connection_id":148977,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:54:21] local.INFO: Acknowledgment sent {"connection_id":148977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:54:42] local.INFO: TCP Data received {"connection_id":147658,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:54:42] local.INFO: Processing buffer {"connection_id":147658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:54:42] local.INFO: IMEI packet received {"connection_id":147658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":147658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:54:47] local.INFO: TCP Data received {"connection_id":147658,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:54:47] local.INFO: Processing buffer {"connection_id":147658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:54:47] local.INFO: IMEI packet received {"connection_id":147658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":147658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:54:48] local.INFO: TCP Data received {"connection_id":147658,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:54:48] local.INFO: Processing buffer {"connection_id":147658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:54:48] local.INFO: Packet analysis {"connection_id":147658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:54:48] local.INFO: Extracted packet for processing {"connection_id":147658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:54:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121259520001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:54:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785630221000,"timestamp_ms":1785630221000,"timestamp_seconds":1785630221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdae2c8"} 
[2026-08-02 05:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:54: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-08-02 05:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121259520001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121259520001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:54:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:54:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:54:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121259520001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":147658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:54:48] local.INFO: GPS data processed {"connection_id":147658,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:54:48] local.INFO: Acknowledgment sent {"connection_id":147658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:55:20] local.INFO: TCP Data received {"connection_id":147658,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:55:20] local.INFO: Processing buffer {"connection_id":147658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:55:20] local.INFO: Packet analysis {"connection_id":147658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:55:20] local.INFO: Extracted packet for processing {"connection_id":147658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:55:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121259520001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785630221000,"timestamp_ms":1785630221000,"timestamp_seconds":1785630221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdae2c8"} 
[2026-08-02 05:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121259520001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121259520001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:55:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:55:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121259520001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":147658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:55:20] local.INFO: GPS data processed {"connection_id":147658,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:55:20] local.INFO: Acknowledgment sent {"connection_id":147658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:55:42] local.INFO: TCP Data received {"connection_id":146654,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:55:42] local.INFO: Processing buffer {"connection_id":146654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:55:42] local.INFO: IMEI packet received {"connection_id":146654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":146654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:55:47] local.INFO: TCP Data received {"connection_id":146654,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:55:47] local.INFO: Processing buffer {"connection_id":146654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:55:47] local.INFO: IMEI packet received {"connection_id":146654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":146654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:55:49] local.INFO: TCP Data received {"connection_id":146654,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:55:49] local.INFO: Processing buffer {"connection_id":146654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:55:49] local.INFO: Packet analysis {"connection_id":146654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:55:49] local.INFO: Extracted packet for processing {"connection_id":146654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:55:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121259520001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:55:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785630221000,"timestamp_ms":1785630221000,"timestamp_seconds":1785630221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdae2c8"} 
[2026-08-02 05:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121259520001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121259520001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:55:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:55:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:55:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121259520001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":146654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:55:49] local.INFO: GPS data processed {"connection_id":146654,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:55:49] local.INFO: Acknowledgment sent {"connection_id":146654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:56:20] local.INFO: TCP Data received {"connection_id":146654,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:56:20] local.INFO: Processing buffer {"connection_id":146654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:56:20] local.INFO: Packet analysis {"connection_id":146654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:56:20] local.INFO: Extracted packet for processing {"connection_id":146654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:56:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121259520001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785630221000,"timestamp_ms":1785630221000,"timestamp_seconds":1785630221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdae2c8"} 
[2026-08-02 05:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121259520001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121259520001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:56:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:56:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121259520001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":146654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:56:20] local.INFO: GPS data processed {"connection_id":146654,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:56:20] local.INFO: Acknowledgment sent {"connection_id":146654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:56:42] local.INFO: TCP Data received {"connection_id":146428,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:56:42] local.INFO: Processing buffer {"connection_id":146428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:56:42] local.INFO: IMEI packet received {"connection_id":146428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":146428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:56:47] local.INFO: TCP Data received {"connection_id":146428,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:56:47] local.INFO: Processing buffer {"connection_id":146428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:56:47] local.INFO: IMEI packet received {"connection_id":146428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":146428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:56:48] local.INFO: TCP Data received {"connection_id":146428,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:56:48] local.INFO: Processing buffer {"connection_id":146428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:56:48] local.INFO: Packet analysis {"connection_id":146428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:56:48] local.INFO: Extracted packet for processing {"connection_id":146428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:56:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121259520001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:56:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785630221000,"timestamp_ms":1785630221000,"timestamp_seconds":1785630221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdae2c8"} 
[2026-08-02 05:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:56: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-08-02 05:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121259520001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121259520001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:56:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:56:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:56:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121259520001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":146428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:56:48] local.INFO: GPS data processed {"connection_id":146428,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:56:48] local.INFO: Acknowledgment sent {"connection_id":146428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:57:20] local.INFO: TCP Data received {"connection_id":146428,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:57:20] local.INFO: Processing buffer {"connection_id":146428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:57:20] local.INFO: Packet analysis {"connection_id":146428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:57:20] local.INFO: Extracted packet for processing {"connection_id":146428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:57:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121259520001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:57:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785630221000,"timestamp_ms":1785630221000,"timestamp_seconds":1785630221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdae2c8"} 
[2026-08-02 05:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121259520001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121259520001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:57:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:57:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:57:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121259520001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":146428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:57:20] local.INFO: GPS data processed {"connection_id":146428,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:57:20] local.INFO: Acknowledgment sent {"connection_id":146428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:57:42] local.INFO: TCP Data received {"connection_id":147659,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:57:42] local.INFO: Processing buffer {"connection_id":147659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:57:42] local.INFO: IMEI packet received {"connection_id":147659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":147659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:57:47] local.INFO: TCP Data received {"connection_id":147659,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:57:47] local.INFO: Processing buffer {"connection_id":147659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:57:47] local.INFO: IMEI packet received {"connection_id":147659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":147659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:57:48] local.INFO: TCP Data received {"connection_id":147659,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:57:48] local.INFO: Processing buffer {"connection_id":147659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:57:48] local.INFO: Packet analysis {"connection_id":147659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:57:48] local.INFO: Extracted packet for processing {"connection_id":147659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:57:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121259520001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:57:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785630221000,"timestamp_ms":1785630221000,"timestamp_seconds":1785630221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdae2c8"} 
[2026-08-02 05:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:57: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-08-02 05:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121259520001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121259520001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:57:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:57:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:57:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121259520001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":147659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:57:48] local.INFO: GPS data processed {"connection_id":147659,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:57:48] local.INFO: Acknowledgment sent {"connection_id":147659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:58:20] local.INFO: TCP Data received {"connection_id":147659,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:58:20] local.INFO: Processing buffer {"connection_id":147659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:58:20] local.INFO: Packet analysis {"connection_id":147659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:58:20] local.INFO: Extracted packet for processing {"connection_id":147659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:58:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121259520001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785630221000,"timestamp_ms":1785630221000,"timestamp_seconds":1785630221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdae2c8"} 
[2026-08-02 05:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121259520001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121259520001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:58:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:58:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121259520001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":147659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:58:20] local.INFO: GPS data processed {"connection_id":147659,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:58:20] local.INFO: Acknowledgment sent {"connection_id":147659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:58:47] local.INFO: TCP Data received {"connection_id":148978,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:58:47] local.INFO: Processing buffer {"connection_id":148978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:58:47] local.INFO: IMEI packet received {"connection_id":148978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":148978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:58:52] local.INFO: TCP Data received {"connection_id":148978,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:58:52] local.INFO: Processing buffer {"connection_id":148978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:58:52] local.INFO: IMEI packet received {"connection_id":148978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":148978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:58:53] local.INFO: TCP Data received {"connection_id":148978,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:58:53] local.INFO: Processing buffer {"connection_id":148978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:58:53] local.INFO: Packet analysis {"connection_id":148978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:58:53] local.INFO: Extracted packet for processing {"connection_id":148978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:58:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121259520001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:58:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785630221000,"timestamp_ms":1785630221000,"timestamp_seconds":1785630221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdae2c8"} 
[2026-08-02 05:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121259520001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121259520001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:58:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:58:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:58:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121259520001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":148978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:58:53] local.INFO: GPS data processed {"connection_id":148978,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:58:53] local.INFO: Acknowledgment sent {"connection_id":148978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:58:57] local.INFO: TCP Data received {"connection_id":148978,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:58:57] local.INFO: Processing buffer {"connection_id":148978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdae2c8012cc330c007685b20006100cd2d..."} 
[2026-08-02 05:58:57] local.INFO: Packet analysis {"connection_id":148978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:58:57] local.INFO: Extracted packet for processing {"connection_id":148978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfda"} 
[2026-08-02 05:58:57] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121259520001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:58:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785630221000,"timestamp_ms":1785630221000,"timestamp_seconds":1785630221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdae2c8"} 
[2026-08-02 05:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121259520001,"66":25441,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121259520001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:58:57] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:58:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:58:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121259520001,"power":25441,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":148978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:58:57] local.INFO: GPS data processed {"connection_id":148978,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:58:57] local.INFO: Acknowledgment sent {"connection_id":148978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 05:59:42] local.INFO: TCP Data received {"connection_id":146655,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:59:43] local.INFO: Processing buffer {"connection_id":146655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:59:43] local.INFO: IMEI packet received {"connection_id":146655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 05:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":146655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 05:59:47] local.INFO: TCP Data received {"connection_id":146655,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:59:47] local.INFO: Processing buffer {"connection_id":146655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 05:59:47] local.INFO: IMEI packet received {"connection_id":146655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 05:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":146655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 05:59:48] local.INFO: TCP Data received {"connection_id":146655,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:59:48] local.INFO: Processing buffer {"connection_id":146655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 05:59:48] local.INFO: Packet analysis {"connection_id":146655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 05:59:48] local.INFO: Extracted packet for processing {"connection_id":146655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 05:59:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 05:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 05:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121336576001,"note":"Value kept but may cause issues"} 
[2026-08-02 05:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 05:59:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 05:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 05:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785630522000,"timestamp_ms":1785630522000,"timestamp_seconds":1785630522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdf7a90"} 
[2026-08-02 05:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 05:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 05: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 05:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 05:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 05:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 05:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 05:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 05:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 05:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 05:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 05:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 05:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121336576001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 05:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 05:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 05:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121336576001,"description":"Unknown IO ID 0"} 
[2026-08-02 05:59:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 05:59:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 05:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 05:59:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 05:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121336576001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 05:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":146655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 05:59:48] local.INFO: GPS data processed {"connection_id":146655,"processed":1,"errors":0,"total":1} 
[2026-08-02 05:59:48] local.INFO: Acknowledgment sent {"connection_id":146655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:00:20] local.INFO: TCP Data received {"connection_id":146655,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:00:20] local.INFO: Processing buffer {"connection_id":146655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:00:20] local.INFO: Packet analysis {"connection_id":146655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:00:20] local.INFO: Extracted packet for processing {"connection_id":146655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:00:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121336576001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785630522000,"timestamp_ms":1785630522000,"timestamp_seconds":1785630522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdf7a90"} 
[2026-08-02 06:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 06:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121336576001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121336576001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:00:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:00:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121336576001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":146655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:00:20] local.INFO: GPS data processed {"connection_id":146655,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:00:20] local.INFO: Acknowledgment sent {"connection_id":146655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:00:42] local.INFO: TCP Data received {"connection_id":147660,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:00:42] local.INFO: Processing buffer {"connection_id":147660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:00:42] local.INFO: IMEI packet received {"connection_id":147660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":147660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:00:47] local.INFO: TCP Data received {"connection_id":147660,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:00:47] local.INFO: Processing buffer {"connection_id":147660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:00:47] local.INFO: IMEI packet received {"connection_id":147660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":147660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:00:48] local.INFO: TCP Data received {"connection_id":147660,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:00:48] local.INFO: Processing buffer {"connection_id":147660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:00:48] local.INFO: Packet analysis {"connection_id":147660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:00:48] local.INFO: Extracted packet for processing {"connection_id":147660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:00:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121336576001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:00:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785630522000,"timestamp_ms":1785630522000,"timestamp_seconds":1785630522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdf7a90"} 
[2026-08-02 06:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 06:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121336576001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121336576001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:00:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:00:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:00:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121336576001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":147660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:00:48] local.INFO: GPS data processed {"connection_id":147660,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:00:48] local.INFO: Acknowledgment sent {"connection_id":147660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:01:20] local.INFO: TCP Data received {"connection_id":147660,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:01:20] local.INFO: Processing buffer {"connection_id":147660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:01:20] local.INFO: Packet analysis {"connection_id":147660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:01:20] local.INFO: Extracted packet for processing {"connection_id":147660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:01:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121336576001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785630522000,"timestamp_ms":1785630522000,"timestamp_seconds":1785630522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdf7a90"} 
[2026-08-02 06:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 06:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121336576001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121336576001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:01:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:01:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121336576001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":147660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:01:20] local.INFO: GPS data processed {"connection_id":147660,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:01:20] local.INFO: Acknowledgment sent {"connection_id":147660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:01:42] local.INFO: TCP Data received {"connection_id":148979,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:01:42] local.INFO: Processing buffer {"connection_id":148979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:01:42] local.INFO: IMEI packet received {"connection_id":148979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":148979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:01:47] local.INFO: TCP Data received {"connection_id":148979,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:01:47] local.INFO: Processing buffer {"connection_id":148979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:01:47] local.INFO: IMEI packet received {"connection_id":148979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":148979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:01:48] local.INFO: TCP Data received {"connection_id":148979,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:01:48] local.INFO: Processing buffer {"connection_id":148979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:01:48] local.INFO: Packet analysis {"connection_id":148979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:01:48] local.INFO: Extracted packet for processing {"connection_id":148979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:01:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06: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-08-02 06:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121336576001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:01:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785630522000,"timestamp_ms":1785630522000,"timestamp_seconds":1785630522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdf7a90"} 
[2026-08-02 06:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 06:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06: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-08-02 06:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121336576001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121336576001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:01:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:01:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:01:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121336576001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":148979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:01:48] local.INFO: GPS data processed {"connection_id":148979,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:01:48] local.INFO: Acknowledgment sent {"connection_id":148979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:02:20] local.INFO: TCP Data received {"connection_id":148979,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:02:20] local.INFO: Processing buffer {"connection_id":148979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:02:20] local.INFO: Packet analysis {"connection_id":148979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:02:20] local.INFO: Extracted packet for processing {"connection_id":148979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:02:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121336576001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785630522000,"timestamp_ms":1785630522000,"timestamp_seconds":1785630522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdf7a90"} 
[2026-08-02 06:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 06:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121336576001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121336576001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:02:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:02:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121336576001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":148979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:02:20] local.INFO: GPS data processed {"connection_id":148979,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:02:20] local.INFO: Acknowledgment sent {"connection_id":148979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:02:42] local.INFO: TCP Data received {"connection_id":146656,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:02:42] local.INFO: Processing buffer {"connection_id":146656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:02:42] local.INFO: IMEI packet received {"connection_id":146656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":146656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:02:47] local.INFO: TCP Data received {"connection_id":146656,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:02:47] local.INFO: Processing buffer {"connection_id":146656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:02:47] local.INFO: IMEI packet received {"connection_id":146656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":146656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:02:48] local.INFO: TCP Data received {"connection_id":146656,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:02:48] local.INFO: Processing buffer {"connection_id":146656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:02:48] local.INFO: Packet analysis {"connection_id":146656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:02:48] local.INFO: Extracted packet for processing {"connection_id":146656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:02:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121336576001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:02:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785630522000,"timestamp_ms":1785630522000,"timestamp_seconds":1785630522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdf7a90"} 
[2026-08-02 06:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 06:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121336576001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121336576001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:02:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:02:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:02:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121336576001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":146656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:02:48] local.INFO: GPS data processed {"connection_id":146656,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:02:48] local.INFO: Acknowledgment sent {"connection_id":146656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:03:20] local.INFO: TCP Data received {"connection_id":146656,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:03:20] local.INFO: Processing buffer {"connection_id":146656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:03:20] local.INFO: Packet analysis {"connection_id":146656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:03:20] local.INFO: Extracted packet for processing {"connection_id":146656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:03:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121336576001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785630522000,"timestamp_ms":1785630522000,"timestamp_seconds":1785630522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdf7a90"} 
[2026-08-02 06:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 06:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121336576001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121336576001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:03:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:03:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121336576001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":146656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:03:20] local.INFO: GPS data processed {"connection_id":146656,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:03:20] local.INFO: Acknowledgment sent {"connection_id":146656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:03:47] local.INFO: TCP Data received {"connection_id":146429,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:03:47] local.INFO: Processing buffer {"connection_id":146429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:03:47] local.INFO: IMEI packet received {"connection_id":146429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":146429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:03:52] local.INFO: TCP Data received {"connection_id":146429,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:03:52] local.INFO: Processing buffer {"connection_id":146429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:03:52] local.INFO: IMEI packet received {"connection_id":146429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":146429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:03:53] local.INFO: TCP Data received {"connection_id":146429,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:03:53] local.INFO: Processing buffer {"connection_id":146429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:03:53] local.INFO: Packet analysis {"connection_id":146429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:03:53] local.INFO: Extracted packet for processing {"connection_id":146429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:03:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121336576001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:03:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785630522000,"timestamp_ms":1785630522000,"timestamp_seconds":1785630522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdf7a90"} 
[2026-08-02 06:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 06:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121336576001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121336576001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:03:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:03:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:03:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121336576001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":146429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:03:53] local.INFO: GPS data processed {"connection_id":146429,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:03:53] local.INFO: Acknowledgment sent {"connection_id":146429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:03:57] local.INFO: TCP Data received {"connection_id":146429,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:03:57] local.INFO: Processing buffer {"connection_id":146429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:03:57] local.INFO: Packet analysis {"connection_id":146429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:03:57] local.INFO: Extracted packet for processing {"connection_id":146429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfdf"} 
[2026-08-02 06:03:57] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06: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-08-02 06:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121336576001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:03:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785630522000,"timestamp_ms":1785630522000,"timestamp_seconds":1785630522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdf7a90"} 
[2026-08-02 06:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 06:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06: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-08-02 06:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121336576001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121336576001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:03:57] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:03:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:03:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121336576001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":146429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:03:57] local.INFO: GPS data processed {"connection_id":146429,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:03:57] local.INFO: Acknowledgment sent {"connection_id":146429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:04:42] local.INFO: TCP Data received {"connection_id":146657,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:04:42] local.INFO: Processing buffer {"connection_id":146657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:04:42] local.INFO: IMEI packet received {"connection_id":146657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":146657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:04:47] local.INFO: TCP Data received {"connection_id":146657,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:04:47] local.INFO: Processing buffer {"connection_id":146657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:04:47] local.INFO: IMEI packet received {"connection_id":146657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":146657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:04:49] local.INFO: TCP Data received {"connection_id":146657,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:04:49] local.INFO: Processing buffer {"connection_id":146657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:04:49] local.INFO: Packet analysis {"connection_id":146657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:04:49] local.INFO: Extracted packet for processing {"connection_id":146657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:04:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121413632001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785630823000,"timestamp_ms":1785630823000,"timestamp_seconds":1785630823,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe41258"} 
[2026-08-02 06:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 06:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121413632001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121413632001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:04:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:04:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121413632001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":146657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:04:49] local.INFO: GPS data processed {"connection_id":146657,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:04:49] local.INFO: Acknowledgment sent {"connection_id":146657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:05:20] local.INFO: TCP Data received {"connection_id":146657,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:05:20] local.INFO: Processing buffer {"connection_id":146657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:05:20] local.INFO: Packet analysis {"connection_id":146657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:05:20] local.INFO: Extracted packet for processing {"connection_id":146657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:05:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121413632001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785630823000,"timestamp_ms":1785630823000,"timestamp_seconds":1785630823,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe41258"} 
[2026-08-02 06:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 06:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121413632001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121413632001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:05:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:05:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121413632001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":146657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:05:20] local.INFO: GPS data processed {"connection_id":146657,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:05:20] local.INFO: Acknowledgment sent {"connection_id":146657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:05:42] local.INFO: TCP Data received {"connection_id":147661,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:05:42] local.INFO: Processing buffer {"connection_id":147661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:05:42] local.INFO: IMEI packet received {"connection_id":147661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":147661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:05:47] local.INFO: TCP Data received {"connection_id":147661,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:05:47] local.INFO: Processing buffer {"connection_id":147661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:05:47] local.INFO: IMEI packet received {"connection_id":147661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":147661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:05:49] local.INFO: TCP Data received {"connection_id":147661,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:05:49] local.INFO: Processing buffer {"connection_id":147661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:05:49] local.INFO: Packet analysis {"connection_id":147661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:05:49] local.INFO: Extracted packet for processing {"connection_id":147661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:05:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121413632001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785630823000,"timestamp_ms":1785630823000,"timestamp_seconds":1785630823,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe41258"} 
[2026-08-02 06:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 06:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121413632001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121413632001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:05:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:05:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121413632001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":147661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:05:49] local.INFO: GPS data processed {"connection_id":147661,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:05:49] local.INFO: Acknowledgment sent {"connection_id":147661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:06:21] local.INFO: TCP Data received {"connection_id":147661,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:06:21] local.INFO: Processing buffer {"connection_id":147661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:06:21] local.INFO: Packet analysis {"connection_id":147661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:06:21] local.INFO: Extracted packet for processing {"connection_id":147661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:06:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121413632001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785630823000,"timestamp_ms":1785630823000,"timestamp_seconds":1785630823,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe41258"} 
[2026-08-02 06:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 06:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121413632001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121413632001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:06:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:06:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121413632001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":147661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:06:21] local.INFO: GPS data processed {"connection_id":147661,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:06:21] local.INFO: Acknowledgment sent {"connection_id":147661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:06:42] local.INFO: TCP Data received {"connection_id":148980,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:06:42] local.INFO: Processing buffer {"connection_id":148980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:06:42] local.INFO: IMEI packet received {"connection_id":148980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":148980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:06:47] local.INFO: TCP Data received {"connection_id":148980,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:06:47] local.INFO: Processing buffer {"connection_id":148980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:06:47] local.INFO: IMEI packet received {"connection_id":148980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":148980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:06:48] local.INFO: TCP Data received {"connection_id":148980,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:06:48] local.INFO: Processing buffer {"connection_id":148980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:06:48] local.INFO: Packet analysis {"connection_id":148980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:06:48] local.INFO: Extracted packet for processing {"connection_id":148980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:06:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121413632001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:06:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785630823000,"timestamp_ms":1785630823000,"timestamp_seconds":1785630823,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe41258"} 
[2026-08-02 06:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:06: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-08-02 06:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 06:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121413632001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121413632001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:06:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:06:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:06:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121413632001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":148980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:06:48] local.INFO: GPS data processed {"connection_id":148980,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:06:48] local.INFO: Acknowledgment sent {"connection_id":148980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:07:21] local.INFO: TCP Data received {"connection_id":148980,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:07:21] local.INFO: Processing buffer {"connection_id":148980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:07:21] local.INFO: Packet analysis {"connection_id":148980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:07:21] local.INFO: Extracted packet for processing {"connection_id":148980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:07:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121413632001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785630823000,"timestamp_ms":1785630823000,"timestamp_seconds":1785630823,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe41258"} 
[2026-08-02 06:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 06:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121413632001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121413632001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:07:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:07:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121413632001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":148980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:07:21] local.INFO: GPS data processed {"connection_id":148980,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:07:21] local.INFO: Acknowledgment sent {"connection_id":148980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:07:47] local.INFO: TCP Data received {"connection_id":146430,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:07:47] local.INFO: Processing buffer {"connection_id":146430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:07:47] local.INFO: IMEI packet received {"connection_id":146430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":146430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:07:52] local.INFO: TCP Data received {"connection_id":146430,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:07:52] local.INFO: Processing buffer {"connection_id":146430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:07:52] local.INFO: IMEI packet received {"connection_id":146430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":146430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:07:54] local.INFO: TCP Data received {"connection_id":146430,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:07:54] local.INFO: Processing buffer {"connection_id":146430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:07:54] local.INFO: Packet analysis {"connection_id":146430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:07:54] local.INFO: Extracted packet for processing {"connection_id":146430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:07:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121413632001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:07:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785630823000,"timestamp_ms":1785630823000,"timestamp_seconds":1785630823,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe41258"} 
[2026-08-02 06:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 06:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121413632001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121413632001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:07:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:07:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:07:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121413632001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":146430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:07:54] local.INFO: GPS data processed {"connection_id":146430,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:07:54] local.INFO: Acknowledgment sent {"connection_id":146430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:07:58] local.INFO: TCP Data received {"connection_id":146430,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:07:58] local.INFO: Processing buffer {"connection_id":146430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:07:58] local.INFO: Packet analysis {"connection_id":146430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:07:58] local.INFO: Extracted packet for processing {"connection_id":146430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:07:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121413632001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:07:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785630823000,"timestamp_ms":1785630823000,"timestamp_seconds":1785630823,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe41258"} 
[2026-08-02 06:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 06:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06: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-08-02 06:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121413632001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121413632001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:07:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:07:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:07:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121413632001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":146430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:07:58] local.INFO: GPS data processed {"connection_id":146430,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:07:58] local.INFO: Acknowledgment sent {"connection_id":146430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:08:42] local.INFO: TCP Data received {"connection_id":146431,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:08:42] local.INFO: Processing buffer {"connection_id":146431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:08:42] local.INFO: IMEI packet received {"connection_id":146431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":146431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:08:47] local.INFO: TCP Data received {"connection_id":146431,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:08:47] local.INFO: Processing buffer {"connection_id":146431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:08:47] local.INFO: IMEI packet received {"connection_id":146431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":146431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:08:48] local.INFO: TCP Data received {"connection_id":146431,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:08:48] local.INFO: Processing buffer {"connection_id":146431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:08:48] local.INFO: Packet analysis {"connection_id":146431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:08:48] local.INFO: Extracted packet for processing {"connection_id":146431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:08:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121413632001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:08:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785630823000,"timestamp_ms":1785630823000,"timestamp_seconds":1785630823,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe41258"} 
[2026-08-02 06:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:08: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-08-02 06:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 06:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121413632001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121413632001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:08:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:08:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:08:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121413632001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":146431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:08:48] local.INFO: GPS data processed {"connection_id":146431,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:08:48] local.INFO: Acknowledgment sent {"connection_id":146431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:09:20] local.INFO: TCP Data received {"connection_id":146431,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:09:20] local.INFO: Processing buffer {"connection_id":146431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe41258012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:09:20] local.INFO: Packet analysis {"connection_id":146431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:09:20] local.INFO: Extracted packet for processing {"connection_id":146431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe4"} 
[2026-08-02 06:09:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121413632001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785630823000,"timestamp_ms":1785630823000,"timestamp_seconds":1785630823,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe41258"} 
[2026-08-02 06:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 06:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121413632001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121413632001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:09:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:09:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121413632001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":146431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:09:20] local.INFO: GPS data processed {"connection_id":146431,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:09:20] local.INFO: Acknowledgment sent {"connection_id":146431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:09:42] local.INFO: TCP Data received {"connection_id":148981,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:09:42] local.INFO: Processing buffer {"connection_id":148981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:09:42] local.INFO: IMEI packet received {"connection_id":148981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":148981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:09:47] local.INFO: TCP Data received {"connection_id":148981,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:09:47] local.INFO: Processing buffer {"connection_id":148981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:09:47] local.INFO: IMEI packet received {"connection_id":148981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":148981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:09:48] local.INFO: TCP Data received {"connection_id":148981,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:09:48] local.INFO: Processing buffer {"connection_id":148981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:09:48] local.INFO: Packet analysis {"connection_id":148981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:09:48] local.INFO: Extracted packet for processing {"connection_id":148981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:09:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":48,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121490688001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:09:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785631124000,"timestamp_ms":1785631124000,"timestamp_seconds":1785631124,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe8aa20"} 
[2026-08-02 06:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:09: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-08-02 06:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121490688001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121490688001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:09:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:09:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:09:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121490688001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":148981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:09:48] local.INFO: GPS data processed {"connection_id":148981,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:09:48] local.INFO: Acknowledgment sent {"connection_id":148981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:10:20] local.INFO: TCP Data received {"connection_id":148981,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:10:20] local.INFO: Processing buffer {"connection_id":148981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:10:20] local.INFO: Packet analysis {"connection_id":148981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:10:20] local.INFO: Extracted packet for processing {"connection_id":148981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:10:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":48,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121490688001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785631124000,"timestamp_ms":1785631124000,"timestamp_seconds":1785631124,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe8aa20"} 
[2026-08-02 06:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121490688001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121490688001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:10:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:10:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121490688001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":148981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:10:21] local.INFO: GPS data processed {"connection_id":148981,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:10:21] local.INFO: Acknowledgment sent {"connection_id":148981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:10:42] local.INFO: TCP Data received {"connection_id":147662,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:10:42] local.INFO: Processing buffer {"connection_id":147662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:10:42] local.INFO: IMEI packet received {"connection_id":147662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":147662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:10:47] local.INFO: TCP Data received {"connection_id":147662,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:10:47] local.INFO: Processing buffer {"connection_id":147662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:10:47] local.INFO: IMEI packet received {"connection_id":147662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":147662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:10:48] local.INFO: TCP Data received {"connection_id":147662,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:10:48] local.INFO: Processing buffer {"connection_id":147662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:10:48] local.INFO: Packet analysis {"connection_id":147662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:10:48] local.INFO: Extracted packet for processing {"connection_id":147662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:10:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":48,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121490688001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:10:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785631124000,"timestamp_ms":1785631124000,"timestamp_seconds":1785631124,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe8aa20"} 
[2026-08-02 06:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:10: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-08-02 06:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121490688001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121490688001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:10:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:10:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:10:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121490688001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":147662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:10:48] local.INFO: GPS data processed {"connection_id":147662,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:10:48] local.INFO: Acknowledgment sent {"connection_id":147662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:11:20] local.INFO: TCP Data received {"connection_id":147662,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:11:20] local.INFO: Processing buffer {"connection_id":147662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:11:20] local.INFO: Packet analysis {"connection_id":147662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:11:20] local.INFO: Extracted packet for processing {"connection_id":147662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:11:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":48,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121490688001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:11:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785631124000,"timestamp_ms":1785631124000,"timestamp_seconds":1785631124,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe8aa20"} 
[2026-08-02 06:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121490688001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121490688001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:11:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:11:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:11:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121490688001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":147662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:11:20] local.INFO: GPS data processed {"connection_id":147662,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:11:20] local.INFO: Acknowledgment sent {"connection_id":147662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:11:47] local.INFO: TCP Data received {"connection_id":146432,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:11:47] local.INFO: Processing buffer {"connection_id":146432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:11:47] local.INFO: IMEI packet received {"connection_id":146432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":146432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:11:52] local.INFO: TCP Data received {"connection_id":146432,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:11:52] local.INFO: Processing buffer {"connection_id":146432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:11:52] local.INFO: IMEI packet received {"connection_id":146432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":146432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:11:53] local.INFO: TCP Data received {"connection_id":146432,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:11:53] local.INFO: Processing buffer {"connection_id":146432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:11:53] local.INFO: Packet analysis {"connection_id":146432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:11:53] local.INFO: Extracted packet for processing {"connection_id":146432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:11:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":48,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121490688001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:11:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785631124000,"timestamp_ms":1785631124000,"timestamp_seconds":1785631124,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe8aa20"} 
[2026-08-02 06:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121490688001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121490688001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:11:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:11:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:11:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121490688001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":146432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:11:53] local.INFO: GPS data processed {"connection_id":146432,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:11:53] local.INFO: Acknowledgment sent {"connection_id":146432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:11:58] local.INFO: TCP Data received {"connection_id":146432,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:11:58] local.INFO: Processing buffer {"connection_id":146432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:11:58] local.INFO: Packet analysis {"connection_id":146432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:11:58] local.INFO: Extracted packet for processing {"connection_id":146432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:11:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":48,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121490688001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:11:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785631124000,"timestamp_ms":1785631124000,"timestamp_seconds":1785631124,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe8aa20"} 
[2026-08-02 06:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121490688001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121490688001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:11:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:11:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:11:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121490688001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":146432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:11:58] local.INFO: GPS data processed {"connection_id":146432,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:11:58] local.INFO: Acknowledgment sent {"connection_id":146432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:12:42] local.INFO: TCP Data received {"connection_id":147663,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:12:42] local.INFO: Processing buffer {"connection_id":147663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:12:42] local.INFO: IMEI packet received {"connection_id":147663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":147663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:12:47] local.INFO: TCP Data received {"connection_id":147663,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:12:47] local.INFO: Processing buffer {"connection_id":147663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:12:47] local.INFO: IMEI packet received {"connection_id":147663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":147663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:12:49] local.INFO: TCP Data received {"connection_id":147663,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:12:49] local.INFO: Processing buffer {"connection_id":147663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:12:49] local.INFO: Packet analysis {"connection_id":147663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:12:49] local.INFO: Extracted packet for processing {"connection_id":147663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:12:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":48,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121490688001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:12:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785631124000,"timestamp_ms":1785631124000,"timestamp_seconds":1785631124,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe8aa20"} 
[2026-08-02 06:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121490688001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121490688001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:12:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:12:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:12:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121490688001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":147663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:12:49] local.INFO: GPS data processed {"connection_id":147663,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:12:49] local.INFO: Acknowledgment sent {"connection_id":147663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:13:21] local.INFO: TCP Data received {"connection_id":147663,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:13:21] local.INFO: Processing buffer {"connection_id":147663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:13:21] local.INFO: Packet analysis {"connection_id":147663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:13:21] local.INFO: Extracted packet for processing {"connection_id":147663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:13:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":48,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121490688001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785631124000,"timestamp_ms":1785631124000,"timestamp_seconds":1785631124,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe8aa20"} 
[2026-08-02 06:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121490688001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121490688001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:13:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:13:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121490688001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":147663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:13:21] local.INFO: GPS data processed {"connection_id":147663,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:13:21] local.INFO: Acknowledgment sent {"connection_id":147663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:13:42] local.INFO: TCP Data received {"connection_id":148982,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:13:42] local.INFO: Processing buffer {"connection_id":148982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:13:42] local.INFO: IMEI packet received {"connection_id":148982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":148982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:13:47] local.INFO: TCP Data received {"connection_id":148982,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:13:47] local.INFO: Processing buffer {"connection_id":148982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:13:47] local.INFO: IMEI packet received {"connection_id":148982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":148982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:13:49] local.INFO: TCP Data received {"connection_id":148982,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:13:49] local.INFO: Processing buffer {"connection_id":148982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:13:49] local.INFO: Packet analysis {"connection_id":148982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:13:49] local.INFO: Extracted packet for processing {"connection_id":148982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:13:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":48,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121490688001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:13:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785631124000,"timestamp_ms":1785631124000,"timestamp_seconds":1785631124,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe8aa20"} 
[2026-08-02 06:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121490688001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121490688001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:13:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:13:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:13:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121490688001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":148982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:13:49] local.INFO: GPS data processed {"connection_id":148982,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:13:49] local.INFO: Acknowledgment sent {"connection_id":148982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:14:21] local.INFO: TCP Data received {"connection_id":148982,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:14:21] local.INFO: Processing buffer {"connection_id":148982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfe8aa20012cc330c007685b20006100cd30..."} 
[2026-08-02 06:14:21] local.INFO: Packet analysis {"connection_id":148982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:14:21] local.INFO: Extracted packet for processing {"connection_id":148982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfe8"} 
[2026-08-02 06:14:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":48,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121490688001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785631124000,"timestamp_ms":1785631124000,"timestamp_seconds":1785631124,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfe8aa20"} 
[2026-08-02 06:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121490688001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121490688001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:14:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:14:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121490688001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":148982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:14:21] local.INFO: GPS data processed {"connection_id":148982,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:14:21] local.INFO: Acknowledgment sent {"connection_id":148982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:14:42] local.INFO: TCP Data received {"connection_id":147664,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:14:42] local.INFO: Processing buffer {"connection_id":147664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:14:42] local.INFO: IMEI packet received {"connection_id":147664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":147664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:14:47] local.INFO: TCP Data received {"connection_id":147664,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:14:47] local.INFO: Processing buffer {"connection_id":147664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:14:47] local.INFO: IMEI packet received {"connection_id":147664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":147664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:14:48] local.INFO: TCP Data received {"connection_id":147664,"ip":"117.224.93.208","data_length":93,"data_hex":"00000000000000518e010000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147664,"packet_length":93,"packet_hex":"00000000000000518e010000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:14:48] local.INFO: Processing buffer {"connection_id":147664,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:14:48] local.INFO: Packet analysis {"connection_id":147664,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fbfed"} 
[2026-08-02 06:14:48] local.INFO: Extracted packet for processing {"connection_id":147664,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fbfed"} 
[2026-08-02 06:14:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06: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":93,"current_offset":40} 
[2026-08-02 06:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:14:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:14:48] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 06:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147664,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 06:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147664,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 06:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147664,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 06:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 06:14:48] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 06:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":147664,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 06:14:48] local.ERROR: GPS data processing failed {"connection_id":147664,"error":"No valid data to process"} 
[2026-08-02 06:14:48] local.INFO: Acknowledgment sent {"connection_id":147664,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 06:15:20] local.INFO: TCP Data received {"connection_id":147664,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:15:20] local.INFO: Processing buffer {"connection_id":147664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:15:20] local.INFO: Packet analysis {"connection_id":147664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:15:20] local.INFO: Extracted packet for processing {"connection_id":147664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:15:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121567744001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:15:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785631425000,"timestamp_ms":1785631425000,"timestamp_seconds":1785631425,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfed41e8"} 
[2026-08-02 06:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121567744001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121567744001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:15:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:15:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:15:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121567744001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":147664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:15:20] local.INFO: GPS data processed {"connection_id":147664,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:15:20] local.INFO: Acknowledgment sent {"connection_id":147664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:15:47] local.INFO: TCP Data received {"connection_id":147665,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:15:47] local.INFO: Processing buffer {"connection_id":147665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:15:47] local.INFO: IMEI packet received {"connection_id":147665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":147665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:15:52] local.INFO: TCP Data received {"connection_id":147665,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:15:52] local.INFO: Processing buffer {"connection_id":147665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:15:52] local.INFO: IMEI packet received {"connection_id":147665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":147665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:15:54] local.INFO: TCP Data received {"connection_id":147665,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:15:54] local.INFO: Processing buffer {"connection_id":147665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:15:54] local.INFO: Packet analysis {"connection_id":147665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:15:54] local.INFO: Extracted packet for processing {"connection_id":147665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:15:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121567744001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:15:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785631425000,"timestamp_ms":1785631425000,"timestamp_seconds":1785631425,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfed41e8"} 
[2026-08-02 06:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121567744001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121567744001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:15:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:15:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:15:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121567744001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":147665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:15:54] local.INFO: GPS data processed {"connection_id":147665,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:15:54] local.INFO: Acknowledgment sent {"connection_id":147665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:15:58] local.INFO: TCP Data received {"connection_id":147665,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:15:58] local.INFO: Processing buffer {"connection_id":147665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:15:58] local.INFO: Packet analysis {"connection_id":147665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:15:58] local.INFO: Extracted packet for processing {"connection_id":147665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:15:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121567744001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:15:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785631425000,"timestamp_ms":1785631425000,"timestamp_seconds":1785631425,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfed41e8"} 
[2026-08-02 06:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121567744001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121567744001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:15:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:15:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:15:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121567744001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":147665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:15:58] local.INFO: GPS data processed {"connection_id":147665,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:15:58] local.INFO: Acknowledgment sent {"connection_id":147665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:16:43] local.INFO: TCP Data received {"connection_id":146433,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:16:43] local.INFO: Processing buffer {"connection_id":146433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:16:43] local.INFO: IMEI packet received {"connection_id":146433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":146433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:16:47] local.INFO: TCP Data received {"connection_id":146433,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:16:47] local.INFO: Processing buffer {"connection_id":146433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:16:47] local.INFO: IMEI packet received {"connection_id":146433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":146433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:16:49] local.INFO: TCP Data received {"connection_id":146433,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:16:49] local.INFO: Processing buffer {"connection_id":146433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:16:49] local.INFO: Packet analysis {"connection_id":146433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:16:49] local.INFO: Extracted packet for processing {"connection_id":146433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:16:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121567744001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785631425000,"timestamp_ms":1785631425000,"timestamp_seconds":1785631425,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfed41e8"} 
[2026-08-02 06:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121567744001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121567744001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:16:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:16:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121567744001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":146433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:16:49] local.INFO: GPS data processed {"connection_id":146433,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:16:49] local.INFO: Acknowledgment sent {"connection_id":146433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:17:22] local.INFO: TCP Data received {"connection_id":146433,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:17:22] local.INFO: Processing buffer {"connection_id":146433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:17:22] local.INFO: Packet analysis {"connection_id":146433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:17:22] local.INFO: Extracted packet for processing {"connection_id":146433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:17:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121567744001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:17:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785631425000,"timestamp_ms":1785631425000,"timestamp_seconds":1785631425,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfed41e8"} 
[2026-08-02 06:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121567744001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121567744001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:17:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:17:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:17:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121567744001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":146433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:17:22] local.INFO: GPS data processed {"connection_id":146433,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:17:22] local.INFO: Acknowledgment sent {"connection_id":146433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:17:42] local.INFO: TCP Data received {"connection_id":146434,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:17:42] local.INFO: Processing buffer {"connection_id":146434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:17:42] local.INFO: IMEI packet received {"connection_id":146434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":146434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:17:47] local.INFO: TCP Data received {"connection_id":146434,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:17:47] local.INFO: Processing buffer {"connection_id":146434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:17:47] local.INFO: IMEI packet received {"connection_id":146434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":146434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:17:49] local.INFO: TCP Data received {"connection_id":146434,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:17:49] local.INFO: Processing buffer {"connection_id":146434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:17:49] local.INFO: Packet analysis {"connection_id":146434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:17:49] local.INFO: Extracted packet for processing {"connection_id":146434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:17:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121567744001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:17:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785631425000,"timestamp_ms":1785631425000,"timestamp_seconds":1785631425,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfed41e8"} 
[2026-08-02 06:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121567744001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121567744001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:17:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:17:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:17:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121567744001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":146434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:17:49] local.INFO: GPS data processed {"connection_id":146434,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:17:49] local.INFO: Acknowledgment sent {"connection_id":146434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:18:21] local.INFO: TCP Data received {"connection_id":146434,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:18:21] local.INFO: Processing buffer {"connection_id":146434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:18:21] local.INFO: Packet analysis {"connection_id":146434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:18:21] local.INFO: Extracted packet for processing {"connection_id":146434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:18:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121567744001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785631425000,"timestamp_ms":1785631425000,"timestamp_seconds":1785631425,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfed41e8"} 
[2026-08-02 06:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121567744001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121567744001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:18:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:18:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121567744001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":146434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:18:21] local.INFO: GPS data processed {"connection_id":146434,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:18:21] local.INFO: Acknowledgment sent {"connection_id":146434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:18:42] local.INFO: TCP Data received {"connection_id":147666,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:18:42] local.INFO: Processing buffer {"connection_id":147666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:18:42] local.INFO: IMEI packet received {"connection_id":147666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":147666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:18:47] local.INFO: TCP Data received {"connection_id":147666,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:18:47] local.INFO: Processing buffer {"connection_id":147666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:18:47] local.INFO: IMEI packet received {"connection_id":147666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":147666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:18:48] local.INFO: TCP Data received {"connection_id":147666,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:18:48] local.INFO: Processing buffer {"connection_id":147666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:18:48] local.INFO: Packet analysis {"connection_id":147666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:18:48] local.INFO: Extracted packet for processing {"connection_id":147666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:18:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121567744001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:18:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785631425000,"timestamp_ms":1785631425000,"timestamp_seconds":1785631425,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfed41e8"} 
[2026-08-02 06:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:18: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-08-02 06:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121567744001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121567744001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:18:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:18:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:18:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121567744001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":147666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:18:48] local.INFO: GPS data processed {"connection_id":147666,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:18:48] local.INFO: Acknowledgment sent {"connection_id":147666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:19:21] local.INFO: TCP Data received {"connection_id":147666,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:19:21] local.INFO: Processing buffer {"connection_id":147666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfed41e8012cc330c007685b20006100cd2d..."} 
[2026-08-02 06:19:21] local.INFO: Packet analysis {"connection_id":147666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:19:21] local.INFO: Extracted packet for processing {"connection_id":147666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfed"} 
[2026-08-02 06:19:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121567744001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785631425000,"timestamp_ms":1785631425000,"timestamp_seconds":1785631425,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfed41e8"} 
[2026-08-02 06:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121567744001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121567744001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:19:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:19:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121567744001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":147666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:19:21] local.INFO: GPS data processed {"connection_id":147666,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:19:21] local.INFO: Acknowledgment sent {"connection_id":147666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:19:48] local.INFO: TCP Data received {"connection_id":146435,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:19:48] local.INFO: Processing buffer {"connection_id":146435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:19:48] local.INFO: IMEI packet received {"connection_id":146435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":146435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:19:52] local.INFO: TCP Data received {"connection_id":146435,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:19:52] local.INFO: Processing buffer {"connection_id":146435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:19:52] local.INFO: IMEI packet received {"connection_id":146435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":146435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:19:54] local.INFO: TCP Data received {"connection_id":146435,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:19:54] local.INFO: Processing buffer {"connection_id":146435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:19:54] local.INFO: Packet analysis {"connection_id":146435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:19:54] local.INFO: Extracted packet for processing {"connection_id":146435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:19:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121644800001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:19:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785631726000,"timestamp_ms":1785631726000,"timestamp_seconds":1785631726,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff1d9b0"} 
[2026-08-02 06:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121644800001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121644800001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:19:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:19:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:19:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121644800001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":146435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:19:54] local.INFO: GPS data processed {"connection_id":146435,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:19:54] local.INFO: Acknowledgment sent {"connection_id":146435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:19:59] local.INFO: TCP Data received {"connection_id":146435,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:19:59] local.INFO: Processing buffer {"connection_id":146435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:19:59] local.INFO: Packet analysis {"connection_id":146435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:19:59] local.INFO: Extracted packet for processing {"connection_id":146435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:19:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121644800001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:19:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785631726000,"timestamp_ms":1785631726000,"timestamp_seconds":1785631726,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff1d9b0"} 
[2026-08-02 06:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121644800001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121644800001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:19:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:19:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:19:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121644800001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":146435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:19:59] local.INFO: GPS data processed {"connection_id":146435,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:19:59] local.INFO: Acknowledgment sent {"connection_id":146435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:20:43] local.INFO: TCP Data received {"connection_id":147667,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:20:43] local.INFO: Processing buffer {"connection_id":147667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:20:43] local.INFO: IMEI packet received {"connection_id":147667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":147667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:20:47] local.INFO: TCP Data received {"connection_id":147667,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:20:47] local.INFO: Processing buffer {"connection_id":147667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:20:47] local.INFO: IMEI packet received {"connection_id":147667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":147667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:20:48] local.INFO: TCP Data received {"connection_id":147667,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:20:48] local.INFO: Processing buffer {"connection_id":147667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:20:48] local.INFO: Packet analysis {"connection_id":147667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:20:48] local.INFO: Extracted packet for processing {"connection_id":147667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:20:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121644800001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:20:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785631726000,"timestamp_ms":1785631726000,"timestamp_seconds":1785631726,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff1d9b0"} 
[2026-08-02 06:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:20: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-08-02 06:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121644800001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121644800001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:20:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:20:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:20:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121644800001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":147667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:20:48] local.INFO: GPS data processed {"connection_id":147667,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:20:48] local.INFO: Acknowledgment sent {"connection_id":147667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:21:20] local.INFO: TCP Data received {"connection_id":147667,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:21:20] local.INFO: Processing buffer {"connection_id":147667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:21:20] local.INFO: Packet analysis {"connection_id":147667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:21:20] local.INFO: Extracted packet for processing {"connection_id":147667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:21:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121644800001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785631726000,"timestamp_ms":1785631726000,"timestamp_seconds":1785631726,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff1d9b0"} 
[2026-08-02 06:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121644800001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121644800001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:21:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:21:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121644800001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":147667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:21:20] local.INFO: GPS data processed {"connection_id":147667,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:21:20] local.INFO: Acknowledgment sent {"connection_id":147667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:21:47] local.INFO: TCP Data received {"connection_id":146658,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:21:47] local.INFO: Processing buffer {"connection_id":146658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:21:47] local.INFO: IMEI packet received {"connection_id":146658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":146658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:21:52] local.INFO: TCP Data received {"connection_id":146658,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:21:52] local.INFO: Processing buffer {"connection_id":146658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:21:52] local.INFO: IMEI packet received {"connection_id":146658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":146658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:21:53] local.INFO: TCP Data received {"connection_id":146658,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:21:53] local.INFO: Processing buffer {"connection_id":146658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:21:53] local.INFO: Packet analysis {"connection_id":146658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:21:53] local.INFO: Extracted packet for processing {"connection_id":146658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:21:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121644800001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:21:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785631726000,"timestamp_ms":1785631726000,"timestamp_seconds":1785631726,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff1d9b0"} 
[2026-08-02 06:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121644800001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121644800001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:21:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:21:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:21:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121644800001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":146658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:21:53] local.INFO: GPS data processed {"connection_id":146658,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:21:53] local.INFO: Acknowledgment sent {"connection_id":146658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:21:59] local.INFO: TCP Data received {"connection_id":146658,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:21:59] local.INFO: Processing buffer {"connection_id":146658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:21:59] local.INFO: Packet analysis {"connection_id":146658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:21:59] local.INFO: Extracted packet for processing {"connection_id":146658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:21:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121644800001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:21:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785631726000,"timestamp_ms":1785631726000,"timestamp_seconds":1785631726,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff1d9b0"} 
[2026-08-02 06:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121644800001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121644800001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:21:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:21:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:21:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121644800001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":146658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:21:59] local.INFO: GPS data processed {"connection_id":146658,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:21:59] local.INFO: Acknowledgment sent {"connection_id":146658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:22:43] local.INFO: TCP Data received {"connection_id":148983,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:22:43] local.INFO: Processing buffer {"connection_id":148983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:22:43] local.INFO: IMEI packet received {"connection_id":148983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":148983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:22:47] local.INFO: TCP Data received {"connection_id":148983,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:22:47] local.INFO: Processing buffer {"connection_id":148983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:22:47] local.INFO: IMEI packet received {"connection_id":148983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":148983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:22:49] local.INFO: TCP Data received {"connection_id":148983,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:22:49] local.INFO: Processing buffer {"connection_id":148983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:22:49] local.INFO: Packet analysis {"connection_id":148983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:22:49] local.INFO: Extracted packet for processing {"connection_id":148983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:22:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121644800001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:22:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785631726000,"timestamp_ms":1785631726000,"timestamp_seconds":1785631726,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff1d9b0"} 
[2026-08-02 06:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121644800001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121644800001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:22:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:22:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:22:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121644800001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":148983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:22:49] local.INFO: GPS data processed {"connection_id":148983,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:22:49] local.INFO: Acknowledgment sent {"connection_id":148983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:23:21] local.INFO: TCP Data received {"connection_id":148983,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:23:21] local.INFO: Processing buffer {"connection_id":148983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:23:21] local.INFO: Packet analysis {"connection_id":148983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:23:21] local.INFO: Extracted packet for processing {"connection_id":148983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:23:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121644800001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785631726000,"timestamp_ms":1785631726000,"timestamp_seconds":1785631726,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff1d9b0"} 
[2026-08-02 06:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121644800001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121644800001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:23:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:23:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121644800001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":148983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:23:21] local.INFO: GPS data processed {"connection_id":148983,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:23:21] local.INFO: Acknowledgment sent {"connection_id":148983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:23:42] local.INFO: TCP Data received {"connection_id":146436,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:23:42] local.INFO: Processing buffer {"connection_id":146436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:23:42] local.INFO: IMEI packet received {"connection_id":146436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":146436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:23:47] local.INFO: TCP Data received {"connection_id":146436,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:23:47] local.INFO: Processing buffer {"connection_id":146436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:23:47] local.INFO: IMEI packet received {"connection_id":146436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":146436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:23:48] local.INFO: TCP Data received {"connection_id":146436,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:23:49] local.INFO: Processing buffer {"connection_id":146436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:23:49] local.INFO: Packet analysis {"connection_id":146436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:23:49] local.INFO: Extracted packet for processing {"connection_id":146436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:23:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121644800001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:23:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785631726000,"timestamp_ms":1785631726000,"timestamp_seconds":1785631726,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff1d9b0"} 
[2026-08-02 06:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121644800001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121644800001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:23:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:23:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:23:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121644800001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":146436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:23:49] local.INFO: GPS data processed {"connection_id":146436,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:23:49] local.INFO: Acknowledgment sent {"connection_id":146436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:24:21] local.INFO: TCP Data received {"connection_id":146436,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:24:21] local.INFO: Processing buffer {"connection_id":146436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff1d9b0012cc330c007685b20006100cd2e..."} 
[2026-08-02 06:24:21] local.INFO: Packet analysis {"connection_id":146436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:24:21] local.INFO: Extracted packet for processing {"connection_id":146436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff1"} 
[2026-08-02 06:24:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121644800001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:24:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785631726000,"timestamp_ms":1785631726000,"timestamp_seconds":1785631726,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff1d9b0"} 
[2026-08-02 06:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121644800001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121644800001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:24:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:24:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:24:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121644800001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":146436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:24:21] local.INFO: GPS data processed {"connection_id":146436,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:24:21] local.INFO: Acknowledgment sent {"connection_id":146436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:24:47] local.INFO: TCP Data received {"connection_id":148984,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:24:47] local.INFO: Processing buffer {"connection_id":148984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:24:47] local.INFO: IMEI packet received {"connection_id":148984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":148984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:24:52] local.INFO: TCP Data received {"connection_id":148984,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:24:52] local.INFO: Processing buffer {"connection_id":148984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:24:52] local.INFO: IMEI packet received {"connection_id":148984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":148984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:24:54] local.INFO: TCP Data received {"connection_id":148984,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:24:54] local.INFO: Processing buffer {"connection_id":148984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:24:54] local.INFO: Packet analysis {"connection_id":148984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:24:54] local.INFO: Extracted packet for processing {"connection_id":148984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:24:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121721856001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:24:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785632027000,"timestamp_ms":1785632027000,"timestamp_seconds":1785632027,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff67178"} 
[2026-08-02 06:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121721856001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121721856001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:24:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:24:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:24:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121721856001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":148984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:24:54] local.INFO: GPS data processed {"connection_id":148984,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:24:54] local.INFO: Acknowledgment sent {"connection_id":148984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:24:57] local.INFO: TCP Data received {"connection_id":148984,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:24:57] local.INFO: Processing buffer {"connection_id":148984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:24:57] local.INFO: Packet analysis {"connection_id":148984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:24:57] local.INFO: Extracted packet for processing {"connection_id":148984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:24:57] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121721856001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:24:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785632027000,"timestamp_ms":1785632027000,"timestamp_seconds":1785632027,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff67178"} 
[2026-08-02 06:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121721856001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121721856001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:24:57] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:24:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:24:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121721856001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":148984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:24:57] local.INFO: GPS data processed {"connection_id":148984,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:24:57] local.INFO: Acknowledgment sent {"connection_id":148984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:25:43] local.INFO: TCP Data received {"connection_id":146437,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:25:43] local.INFO: Processing buffer {"connection_id":146437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:25:43] local.INFO: IMEI packet received {"connection_id":146437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":146437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:25:47] local.INFO: TCP Data received {"connection_id":146437,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:25:47] local.INFO: Processing buffer {"connection_id":146437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:25:47] local.INFO: IMEI packet received {"connection_id":146437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":146437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:25:52] local.INFO: TCP Data received {"connection_id":146437,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:25:52] local.INFO: Processing buffer {"connection_id":146437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:25:52] local.INFO: IMEI packet received {"connection_id":146437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":146437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:25:53] local.INFO: TCP Data received {"connection_id":146437,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:25:53] local.INFO: Processing buffer {"connection_id":146437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:25:53] local.INFO: Packet analysis {"connection_id":146437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:25:53] local.INFO: Extracted packet for processing {"connection_id":146437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:25:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121721856001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:25:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785632027000,"timestamp_ms":1785632027000,"timestamp_seconds":1785632027,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff67178"} 
[2026-08-02 06:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121721856001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121721856001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:25:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:25:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:25:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121721856001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":146437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:25:53] local.INFO: GPS data processed {"connection_id":146437,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:25:53] local.INFO: Acknowledgment sent {"connection_id":146437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:26:26] local.INFO: TCP Data received {"connection_id":146437,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:26:26] local.INFO: Processing buffer {"connection_id":146437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:26:26] local.INFO: Packet analysis {"connection_id":146437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:26:26] local.INFO: Extracted packet for processing {"connection_id":146437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:26:26] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121721856001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:26:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785632027000,"timestamp_ms":1785632027000,"timestamp_seconds":1785632027,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff67178"} 
[2026-08-02 06:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121721856001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121721856001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:26:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:26:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:26:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121721856001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":146437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:26:26] local.INFO: GPS data processed {"connection_id":146437,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:26:26] local.INFO: Acknowledgment sent {"connection_id":146437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:26:42] local.INFO: TCP Data received {"connection_id":147668,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:26:42] local.INFO: Processing buffer {"connection_id":147668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:26:42] local.INFO: IMEI packet received {"connection_id":147668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":147668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:26:47] local.INFO: TCP Data received {"connection_id":147668,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:26:47] local.INFO: Processing buffer {"connection_id":147668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:26:47] local.INFO: IMEI packet received {"connection_id":147668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":147668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:26:49] local.INFO: TCP Data received {"connection_id":147668,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:26:49] local.INFO: Processing buffer {"connection_id":147668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:26:49] local.INFO: Packet analysis {"connection_id":147668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:26:49] local.INFO: Extracted packet for processing {"connection_id":147668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:26:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121721856001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:26:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785632027000,"timestamp_ms":1785632027000,"timestamp_seconds":1785632027,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff67178"} 
[2026-08-02 06:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121721856001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121721856001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:26:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:26:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:26:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121721856001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":147668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:26:49] local.INFO: GPS data processed {"connection_id":147668,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:26:49] local.INFO: Acknowledgment sent {"connection_id":147668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:27:20] local.INFO: TCP Data received {"connection_id":147668,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:27:20] local.INFO: Processing buffer {"connection_id":147668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:27:20] local.INFO: Packet analysis {"connection_id":147668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:27:20] local.INFO: Extracted packet for processing {"connection_id":147668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:27:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121721856001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785632027000,"timestamp_ms":1785632027000,"timestamp_seconds":1785632027,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff67178"} 
[2026-08-02 06:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121721856001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121721856001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:27:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:27:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121721856001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":147668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:27:20] local.INFO: GPS data processed {"connection_id":147668,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:27:20] local.INFO: Acknowledgment sent {"connection_id":147668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:27:42] local.INFO: TCP Data received {"connection_id":146659,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:27:42] local.INFO: Processing buffer {"connection_id":146659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:27:42] local.INFO: IMEI packet received {"connection_id":146659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":146659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:27:47] local.INFO: TCP Data received {"connection_id":146659,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:27:47] local.INFO: Processing buffer {"connection_id":146659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:27:47] local.INFO: IMEI packet received {"connection_id":146659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":146659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:27:48] local.INFO: TCP Data received {"connection_id":146659,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:27:48] local.INFO: Processing buffer {"connection_id":146659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:27:48] local.INFO: Packet analysis {"connection_id":146659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:27:48] local.INFO: Extracted packet for processing {"connection_id":146659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:27:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121721856001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:27:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785632027000,"timestamp_ms":1785632027000,"timestamp_seconds":1785632027,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff67178"} 
[2026-08-02 06:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:27: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-08-02 06:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121721856001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121721856001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:27:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:27:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:27:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121721856001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":146659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:27:48] local.INFO: GPS data processed {"connection_id":146659,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:27:48] local.INFO: Acknowledgment sent {"connection_id":146659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:28:20] local.INFO: TCP Data received {"connection_id":146659,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:28:20] local.INFO: Processing buffer {"connection_id":146659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:28:20] local.INFO: Packet analysis {"connection_id":146659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:28:20] local.INFO: Extracted packet for processing {"connection_id":146659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:28:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121721856001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785632027000,"timestamp_ms":1785632027000,"timestamp_seconds":1785632027,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff67178"} 
[2026-08-02 06:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121721856001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121721856001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:28:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:28:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121721856001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":146659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:28:20] local.INFO: GPS data processed {"connection_id":146659,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:28:20] local.INFO: Acknowledgment sent {"connection_id":146659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:28:45] local.INFO: TCP Data received {"connection_id":148985,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:28:45] local.INFO: Processing buffer {"connection_id":148985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:28:45] local.INFO: IMEI packet received {"connection_id":148985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":148985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:28:47] local.INFO: TCP Data received {"connection_id":148985,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:28:47] local.INFO: Processing buffer {"connection_id":148985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:28:47] local.INFO: IMEI packet received {"connection_id":148985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":148985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:28:48] local.INFO: TCP Data received {"connection_id":148985,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:28:48] local.INFO: Processing buffer {"connection_id":148985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:28:48] local.INFO: Packet analysis {"connection_id":148985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:28:48] local.INFO: Extracted packet for processing {"connection_id":148985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:28:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06: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-08-02 06:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121721856001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:28:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785632027000,"timestamp_ms":1785632027000,"timestamp_seconds":1785632027,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff67178"} 
[2026-08-02 06:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:28: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-08-02 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06: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-08-02 06:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121721856001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121721856001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:28:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:28:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:28:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121721856001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":148985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:28:48] local.INFO: GPS data processed {"connection_id":148985,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:28:48] local.INFO: Acknowledgment sent {"connection_id":148985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:29:19] local.INFO: TCP Data received {"connection_id":148985,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:29:19] local.INFO: Processing buffer {"connection_id":148985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbff67178012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:29:19] local.INFO: Packet analysis {"connection_id":148985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:29:19] local.INFO: Extracted packet for processing {"connection_id":148985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbff6"} 
[2026-08-02 06:29:19] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121721856001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:29:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785632027000,"timestamp_ms":1785632027000,"timestamp_seconds":1785632027,"priority":1,"record_length":96,"hex_timestamp":"0000019fbff67178"} 
[2026-08-02 06:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121721856001,"66":25419,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121721856001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:29:19] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:29:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:29:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121721856001,"power":25419,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":148985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:29:19] local.INFO: GPS data processed {"connection_id":148985,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:29:19] local.INFO: Acknowledgment sent {"connection_id":148985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:29:47] local.INFO: TCP Data received {"connection_id":146438,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:29:47] local.INFO: Processing buffer {"connection_id":146438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:29:47] local.INFO: IMEI packet received {"connection_id":146438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":146438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:29:52] local.INFO: TCP Data received {"connection_id":146438,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:29:52] local.INFO: Processing buffer {"connection_id":146438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:29:52] local.INFO: IMEI packet received {"connection_id":146438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":146438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:29:53] local.INFO: TCP Data received {"connection_id":146438,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:29:53] local.INFO: Processing buffer {"connection_id":146438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:29:53] local.INFO: Packet analysis {"connection_id":146438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:29:53] local.INFO: Extracted packet for processing {"connection_id":146438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:29:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121798912001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:29:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785632328000,"timestamp_ms":1785632328000,"timestamp_seconds":1785632328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbffb0940"} 
[2026-08-02 06:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121798912001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121798912001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:29:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:29:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:29:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121798912001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":146438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:29:53] local.INFO: GPS data processed {"connection_id":146438,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:29:53] local.INFO: Acknowledgment sent {"connection_id":146438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:30:25] local.INFO: TCP Data received {"connection_id":146438,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:30:25] local.INFO: Processing buffer {"connection_id":146438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:30:25] local.INFO: Packet analysis {"connection_id":146438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:30:25] local.INFO: Extracted packet for processing {"connection_id":146438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:30:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121798912001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:30:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785632328000,"timestamp_ms":1785632328000,"timestamp_seconds":1785632328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbffb0940"} 
[2026-08-02 06:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121798912001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121798912001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:30:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:30:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:30:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121798912001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":146438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:30:25] local.INFO: GPS data processed {"connection_id":146438,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:30:25] local.INFO: Acknowledgment sent {"connection_id":146438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:30:42] local.INFO: TCP Data received {"connection_id":146439,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:30:42] local.INFO: Processing buffer {"connection_id":146439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:30:42] local.INFO: IMEI packet received {"connection_id":146439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":146439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:30:47] local.INFO: TCP Data received {"connection_id":146439,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:30:47] local.INFO: Processing buffer {"connection_id":146439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:30:47] local.INFO: IMEI packet received {"connection_id":146439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":146439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:30:48] local.INFO: TCP Data received {"connection_id":146439,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:30:48] local.INFO: Processing buffer {"connection_id":146439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:30:48] local.INFO: Packet analysis {"connection_id":146439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:30:48] local.INFO: Extracted packet for processing {"connection_id":146439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:30:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121798912001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:30:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785632328000,"timestamp_ms":1785632328000,"timestamp_seconds":1785632328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbffb0940"} 
[2026-08-02 06:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:30: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-08-02 06:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121798912001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121798912001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:30:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:30:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:30:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121798912001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":146439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:30:48] local.INFO: GPS data processed {"connection_id":146439,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:30:48] local.INFO: Acknowledgment sent {"connection_id":146439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:31:20] local.INFO: TCP Data received {"connection_id":146439,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:31:20] local.INFO: Processing buffer {"connection_id":146439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:31:20] local.INFO: Packet analysis {"connection_id":146439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:31:20] local.INFO: Extracted packet for processing {"connection_id":146439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:31:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121798912001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785632328000,"timestamp_ms":1785632328000,"timestamp_seconds":1785632328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbffb0940"} 
[2026-08-02 06:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121798912001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121798912001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:31:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:31:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121798912001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":146439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:31:20] local.INFO: GPS data processed {"connection_id":146439,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:31:20] local.INFO: Acknowledgment sent {"connection_id":146439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:31:42] local.INFO: TCP Data received {"connection_id":148986,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:31:42] local.INFO: Processing buffer {"connection_id":148986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:31:42] local.INFO: IMEI packet received {"connection_id":148986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":148986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:31:47] local.INFO: TCP Data received {"connection_id":148986,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:31:47] local.INFO: Processing buffer {"connection_id":148986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:31:47] local.INFO: IMEI packet received {"connection_id":148986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":148986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:31:48] local.INFO: TCP Data received {"connection_id":148986,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:31:48] local.INFO: Processing buffer {"connection_id":148986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:31:48] local.INFO: Packet analysis {"connection_id":148986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:31:48] local.INFO: Extracted packet for processing {"connection_id":148986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:31:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06: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-08-02 06:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121798912001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:31:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785632328000,"timestamp_ms":1785632328000,"timestamp_seconds":1785632328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbffb0940"} 
[2026-08-02 06:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:31: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-08-02 06: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06: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-08-02 06:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121798912001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121798912001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:31:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:31:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:31:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121798912001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":148986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:31:49] local.INFO: GPS data processed {"connection_id":148986,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:31:49] local.INFO: Acknowledgment sent {"connection_id":148986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:32:20] local.INFO: TCP Data received {"connection_id":148986,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:32:20] local.INFO: Processing buffer {"connection_id":148986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:32:20] local.INFO: Packet analysis {"connection_id":148986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:32:20] local.INFO: Extracted packet for processing {"connection_id":148986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:32:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121798912001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785632328000,"timestamp_ms":1785632328000,"timestamp_seconds":1785632328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbffb0940"} 
[2026-08-02 06:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121798912001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121798912001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:32:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:32:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121798912001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":148986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:32:20] local.INFO: GPS data processed {"connection_id":148986,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:32:20] local.INFO: Acknowledgment sent {"connection_id":148986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:32:42] local.INFO: TCP Data received {"connection_id":146440,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:32:42] local.INFO: Processing buffer {"connection_id":146440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:32:42] local.INFO: IMEI packet received {"connection_id":146440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":146440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:32:47] local.INFO: TCP Data received {"connection_id":146440,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:32:47] local.INFO: Processing buffer {"connection_id":146440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:32:47] local.INFO: IMEI packet received {"connection_id":146440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":146440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:32:48] local.INFO: TCP Data received {"connection_id":146440,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:32:48] local.INFO: Processing buffer {"connection_id":146440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:32:48] local.INFO: Packet analysis {"connection_id":146440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:32:48] local.INFO: Extracted packet for processing {"connection_id":146440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:32:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121798912001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:32:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785632328000,"timestamp_ms":1785632328000,"timestamp_seconds":1785632328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbffb0940"} 
[2026-08-02 06:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:32: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-08-02 06:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121798912001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121798912001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:32:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:32:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:32:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121798912001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":146440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:32:48] local.INFO: GPS data processed {"connection_id":146440,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:32:48] local.INFO: Acknowledgment sent {"connection_id":146440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:33:19] local.INFO: TCP Data received {"connection_id":146440,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:33:19] local.INFO: Processing buffer {"connection_id":146440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:33:19] local.INFO: Packet analysis {"connection_id":146440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:33:19] local.INFO: Extracted packet for processing {"connection_id":146440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:33:19] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06: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-08-02 06:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121798912001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:33:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785632328000,"timestamp_ms":1785632328000,"timestamp_seconds":1785632328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbffb0940"} 
[2026-08-02 06:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06: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-08-02 06:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121798912001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121798912001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:33:19] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:33:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:33:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121798912001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":146440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:33:19] local.INFO: GPS data processed {"connection_id":146440,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:33:19] local.INFO: Acknowledgment sent {"connection_id":146440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:33:47] local.INFO: TCP Data received {"connection_id":147669,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:33:47] local.INFO: Processing buffer {"connection_id":147669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:33:47] local.INFO: IMEI packet received {"connection_id":147669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":147669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:33:52] local.INFO: TCP Data received {"connection_id":147669,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:33:52] local.INFO: Processing buffer {"connection_id":147669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:33:52] local.INFO: IMEI packet received {"connection_id":147669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":147669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:33:53] local.INFO: TCP Data received {"connection_id":147669,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:33:53] local.INFO: Processing buffer {"connection_id":147669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:33:53] local.INFO: Packet analysis {"connection_id":147669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:33:53] local.INFO: Extracted packet for processing {"connection_id":147669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:33:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121798912001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:33:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785632328000,"timestamp_ms":1785632328000,"timestamp_seconds":1785632328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbffb0940"} 
[2026-08-02 06:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121798912001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121798912001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:33:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:33:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:33:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121798912001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":147669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:33:53] local.INFO: GPS data processed {"connection_id":147669,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:33:53] local.INFO: Acknowledgment sent {"connection_id":147669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:33:58] local.INFO: TCP Data received {"connection_id":147669,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:33:58] local.INFO: Processing buffer {"connection_id":147669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbffb0940012cc330c007685b20006100cd2c..."} 
[2026-08-02 06:33:58] local.INFO: Packet analysis {"connection_id":147669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:33:58] local.INFO: Extracted packet for processing {"connection_id":147669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbffb"} 
[2026-08-02 06:33:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121798912001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:33:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785632328000,"timestamp_ms":1785632328000,"timestamp_seconds":1785632328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbffb0940"} 
[2026-08-02 06:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 06:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121798912001,"66":25451,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121798912001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:33:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:33:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:33:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121798912001,"power":25451,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":147669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:33:58] local.INFO: GPS data processed {"connection_id":147669,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:33:58] local.INFO: Acknowledgment sent {"connection_id":147669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:34:42] local.INFO: TCP Data received {"connection_id":147670,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:34:42] local.INFO: Processing buffer {"connection_id":147670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:34:42] local.INFO: IMEI packet received {"connection_id":147670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":147670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:34:47] local.INFO: TCP Data received {"connection_id":147670,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:34:47] local.INFO: Processing buffer {"connection_id":147670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:34:47] local.INFO: IMEI packet received {"connection_id":147670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":147670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:34:48] local.INFO: TCP Data received {"connection_id":147670,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:34:48] local.INFO: Processing buffer {"connection_id":147670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:34:48] local.INFO: Packet analysis {"connection_id":147670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:34:48] local.INFO: Extracted packet for processing {"connection_id":147670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:34:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121875968001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:34:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785632629000,"timestamp_ms":1785632629000,"timestamp_seconds":1785632629,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfffa108"} 
[2026-08-02 06:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:34: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-08-02 06:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121875968001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121875968001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:34:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:34:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:34:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121875968001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":147670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:34:48] local.INFO: GPS data processed {"connection_id":147670,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:34:48] local.INFO: Acknowledgment sent {"connection_id":147670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:35:20] local.INFO: TCP Data received {"connection_id":147670,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:35:20] local.INFO: Processing buffer {"connection_id":147670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:35:20] local.INFO: Packet analysis {"connection_id":147670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:35:20] local.INFO: Extracted packet for processing {"connection_id":147670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:35:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121875968001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785632629000,"timestamp_ms":1785632629000,"timestamp_seconds":1785632629,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfffa108"} 
[2026-08-02 06:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121875968001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121875968001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:35:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:35:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121875968001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":147670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:35:20] local.INFO: GPS data processed {"connection_id":147670,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:35:20] local.INFO: Acknowledgment sent {"connection_id":147670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:35:42] local.INFO: TCP Data received {"connection_id":146441,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:35:42] local.INFO: Processing buffer {"connection_id":146441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:35:42] local.INFO: IMEI packet received {"connection_id":146441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":146441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:35:47] local.INFO: TCP Data received {"connection_id":146441,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:35:47] local.INFO: Processing buffer {"connection_id":146441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:35:47] local.INFO: IMEI packet received {"connection_id":146441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":146441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:35:48] local.INFO: TCP Data received {"connection_id":146441,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:35:48] local.INFO: Processing buffer {"connection_id":146441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:35:48] local.INFO: Packet analysis {"connection_id":146441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:35:48] local.INFO: Extracted packet for processing {"connection_id":146441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:35:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121875968001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:35:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785632629000,"timestamp_ms":1785632629000,"timestamp_seconds":1785632629,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfffa108"} 
[2026-08-02 06:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:35: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-08-02 06:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121875968001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121875968001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:35:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:35:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:35:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121875968001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":146441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:35:48] local.INFO: GPS data processed {"connection_id":146441,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:35:48] local.INFO: Acknowledgment sent {"connection_id":146441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:36:20] local.INFO: TCP Data received {"connection_id":146441,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:36:20] local.INFO: Processing buffer {"connection_id":146441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:36:20] local.INFO: Packet analysis {"connection_id":146441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:36:20] local.INFO: Extracted packet for processing {"connection_id":146441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:36:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121875968001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785632629000,"timestamp_ms":1785632629000,"timestamp_seconds":1785632629,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfffa108"} 
[2026-08-02 06:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121875968001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121875968001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:36:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:36:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121875968001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":146441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:36:20] local.INFO: GPS data processed {"connection_id":146441,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:36:20] local.INFO: Acknowledgment sent {"connection_id":146441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:36:42] local.INFO: TCP Data received {"connection_id":146660,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:36:42] local.INFO: Processing buffer {"connection_id":146660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:36:42] local.INFO: IMEI packet received {"connection_id":146660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":146660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:36:47] local.INFO: TCP Data received {"connection_id":146660,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:36:47] local.INFO: Processing buffer {"connection_id":146660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:36:47] local.INFO: IMEI packet received {"connection_id":146660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":146660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:36:48] local.INFO: TCP Data received {"connection_id":146660,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:36:48] local.INFO: Processing buffer {"connection_id":146660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:36:48] local.INFO: Packet analysis {"connection_id":146660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:36:48] local.INFO: Extracted packet for processing {"connection_id":146660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:36:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121875968001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:36:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785632629000,"timestamp_ms":1785632629000,"timestamp_seconds":1785632629,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfffa108"} 
[2026-08-02 06:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:36: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-08-02 06:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121875968001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121875968001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:36:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:36:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:36:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121875968001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":146660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:36:48] local.INFO: GPS data processed {"connection_id":146660,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:36:48] local.INFO: Acknowledgment sent {"connection_id":146660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:37:20] local.INFO: TCP Data received {"connection_id":146660,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:37:20] local.INFO: Processing buffer {"connection_id":146660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:37:20] local.INFO: Packet analysis {"connection_id":146660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:37:20] local.INFO: Extracted packet for processing {"connection_id":146660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:37:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121875968001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785632629000,"timestamp_ms":1785632629000,"timestamp_seconds":1785632629,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfffa108"} 
[2026-08-02 06:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121875968001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121875968001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:37:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:37:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121875968001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":146660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:37:20] local.INFO: GPS data processed {"connection_id":146660,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:37:20] local.INFO: Acknowledgment sent {"connection_id":146660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:37:47] local.INFO: TCP Data received {"connection_id":147671,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:37:47] local.INFO: Processing buffer {"connection_id":147671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:37:47] local.INFO: IMEI packet received {"connection_id":147671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":147671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:37:52] local.INFO: TCP Data received {"connection_id":147671,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:37:52] local.INFO: Processing buffer {"connection_id":147671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:37:52] local.INFO: IMEI packet received {"connection_id":147671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":147671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:37:54] local.INFO: TCP Data received {"connection_id":147671,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:37:54] local.INFO: Processing buffer {"connection_id":147671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:37:54] local.INFO: Packet analysis {"connection_id":147671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:37:54] local.INFO: Extracted packet for processing {"connection_id":147671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:37:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121875968001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:37:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785632629000,"timestamp_ms":1785632629000,"timestamp_seconds":1785632629,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfffa108"} 
[2026-08-02 06:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121875968001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121875968001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:37:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:37:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:37:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121875968001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":147671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:37:54] local.INFO: GPS data processed {"connection_id":147671,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:37:54] local.INFO: Acknowledgment sent {"connection_id":147671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:37:58] local.INFO: TCP Data received {"connection_id":147671,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:37:58] local.INFO: Processing buffer {"connection_id":147671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:37:58] local.INFO: Packet analysis {"connection_id":147671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:37:58] local.INFO: Extracted packet for processing {"connection_id":147671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:37:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121875968001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:37:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785632629000,"timestamp_ms":1785632629000,"timestamp_seconds":1785632629,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfffa108"} 
[2026-08-02 06:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121875968001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121875968001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:37:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:37:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:37:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121875968001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":147671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:37:58] local.INFO: GPS data processed {"connection_id":147671,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:37:58] local.INFO: Acknowledgment sent {"connection_id":147671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:38:42] local.INFO: TCP Data received {"connection_id":146661,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:38:42] local.INFO: Processing buffer {"connection_id":146661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:38:42] local.INFO: IMEI packet received {"connection_id":146661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":146661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:38:47] local.INFO: TCP Data received {"connection_id":146661,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:38:47] local.INFO: Processing buffer {"connection_id":146661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:38:47] local.INFO: IMEI packet received {"connection_id":146661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":146661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:38:48] local.INFO: TCP Data received {"connection_id":146661,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:38:48] local.INFO: Processing buffer {"connection_id":146661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:38:48] local.INFO: Packet analysis {"connection_id":146661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:38:48] local.INFO: Extracted packet for processing {"connection_id":146661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:38:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121875968001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:38:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785632629000,"timestamp_ms":1785632629000,"timestamp_seconds":1785632629,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfffa108"} 
[2026-08-02 06:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:38: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-08-02 06: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121875968001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121875968001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:38:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:38:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:38:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121875968001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":146661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:38:48] local.INFO: GPS data processed {"connection_id":146661,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:38:48] local.INFO: Acknowledgment sent {"connection_id":146661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:39:20] local.INFO: TCP Data received {"connection_id":146661,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:39:20] local.INFO: Processing buffer {"connection_id":146661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbfffa108012cc330c007685b20006100cd27..."} 
[2026-08-02 06:39:20] local.INFO: Packet analysis {"connection_id":146661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:39:20] local.INFO: Extracted packet for processing {"connection_id":146661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbfff"} 
[2026-08-02 06:39:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121875968001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785632629000,"timestamp_ms":1785632629000,"timestamp_seconds":1785632629,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfffa108"} 
[2026-08-02 06:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 06:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121875968001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121875968001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:39:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:39:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121875968001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":146661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:39:20] local.INFO: GPS data processed {"connection_id":146661,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:39:20] local.INFO: Acknowledgment sent {"connection_id":146661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:39:43] local.INFO: TCP Data received {"connection_id":147672,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:39:43] local.INFO: Processing buffer {"connection_id":147672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:39:43] local.INFO: IMEI packet received {"connection_id":147672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":147672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:39:47] local.INFO: TCP Data received {"connection_id":147672,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:39:47] local.INFO: Processing buffer {"connection_id":147672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:39:47] local.INFO: IMEI packet received {"connection_id":147672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":147672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:39:49] local.INFO: TCP Data received {"connection_id":147672,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:39:49] local.INFO: Processing buffer {"connection_id":147672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:39:49] local.INFO: Packet analysis {"connection_id":147672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:39:49] local.INFO: Extracted packet for processing {"connection_id":147672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:39:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121953024001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:39:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785632930000,"timestamp_ms":1785632930000,"timestamp_seconds":1785632930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00438d0"} 
[2026-08-02 06:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121953024001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121953024001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:39:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:39:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:39:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121953024001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":147672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:39:49] local.INFO: GPS data processed {"connection_id":147672,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:39:49] local.INFO: Acknowledgment sent {"connection_id":147672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:40:21] local.INFO: TCP Data received {"connection_id":147672,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:40:21] local.INFO: Processing buffer {"connection_id":147672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:40:21] local.INFO: Packet analysis {"connection_id":147672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:40:21] local.INFO: Extracted packet for processing {"connection_id":147672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:40:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121953024001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785632930000,"timestamp_ms":1785632930000,"timestamp_seconds":1785632930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00438d0"} 
[2026-08-02 06:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121953024001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121953024001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:40:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:40:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121953024001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":147672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:40:21] local.INFO: GPS data processed {"connection_id":147672,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:40:21] local.INFO: Acknowledgment sent {"connection_id":147672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:40:42] local.INFO: TCP Data received {"connection_id":148987,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:40:42] local.INFO: Processing buffer {"connection_id":148987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:40:42] local.INFO: IMEI packet received {"connection_id":148987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":148987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:40:47] local.INFO: TCP Data received {"connection_id":148987,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:40:47] local.INFO: Processing buffer {"connection_id":148987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:40:47] local.INFO: IMEI packet received {"connection_id":148987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":148987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:40:48] local.INFO: TCP Data received {"connection_id":148987,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:40:48] local.INFO: Processing buffer {"connection_id":148987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:40:48] local.INFO: Packet analysis {"connection_id":148987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:40:48] local.INFO: Extracted packet for processing {"connection_id":148987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:40:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121953024001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:40:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785632930000,"timestamp_ms":1785632930000,"timestamp_seconds":1785632930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00438d0"} 
[2026-08-02 06:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121953024001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121953024001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:40:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:40:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:40:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121953024001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":148987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:40:49] local.INFO: GPS data processed {"connection_id":148987,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:40:49] local.INFO: Acknowledgment sent {"connection_id":148987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:41:21] local.INFO: TCP Data received {"connection_id":148987,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:41:21] local.INFO: Processing buffer {"connection_id":148987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:41:21] local.INFO: Packet analysis {"connection_id":148987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:41:21] local.INFO: Extracted packet for processing {"connection_id":148987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:41:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121953024001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785632930000,"timestamp_ms":1785632930000,"timestamp_seconds":1785632930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00438d0"} 
[2026-08-02 06:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121953024001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121953024001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:41:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:41:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121953024001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":148987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:41:21] local.INFO: GPS data processed {"connection_id":148987,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:41:21] local.INFO: Acknowledgment sent {"connection_id":148987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:41:47] local.INFO: TCP Data received {"connection_id":146662,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:41:47] local.INFO: Processing buffer {"connection_id":146662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:41:47] local.INFO: IMEI packet received {"connection_id":146662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":146662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:41:52] local.INFO: TCP Data received {"connection_id":146662,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:41:52] local.INFO: Processing buffer {"connection_id":146662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:41:52] local.INFO: IMEI packet received {"connection_id":146662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":146662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:41:54] local.INFO: TCP Data received {"connection_id":146662,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:41:54] local.INFO: Processing buffer {"connection_id":146662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:41:54] local.INFO: Packet analysis {"connection_id":146662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:41:54] local.INFO: Extracted packet for processing {"connection_id":146662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:41:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121953024001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:41:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785632930000,"timestamp_ms":1785632930000,"timestamp_seconds":1785632930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00438d0"} 
[2026-08-02 06:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121953024001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121953024001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:41:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:41:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:41:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121953024001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":146662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:41:54] local.INFO: GPS data processed {"connection_id":146662,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:41:54] local.INFO: Acknowledgment sent {"connection_id":146662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:41:59] local.INFO: TCP Data received {"connection_id":146662,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:41:59] local.INFO: Processing buffer {"connection_id":146662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:41:59] local.INFO: Packet analysis {"connection_id":146662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:41:59] local.INFO: Extracted packet for processing {"connection_id":146662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:41:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121953024001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:41:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785632930000,"timestamp_ms":1785632930000,"timestamp_seconds":1785632930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00438d0"} 
[2026-08-02 06:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121953024001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121953024001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:41:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:41:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:41:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121953024001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":146662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:41:59] local.INFO: GPS data processed {"connection_id":146662,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:41:59] local.INFO: Acknowledgment sent {"connection_id":146662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:42:42] local.INFO: TCP Data received {"connection_id":148988,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:42:42] local.INFO: Processing buffer {"connection_id":148988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:42:42] local.INFO: IMEI packet received {"connection_id":148988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":148988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:42:47] local.INFO: TCP Data received {"connection_id":148988,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:42:47] local.INFO: Processing buffer {"connection_id":148988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:42:47] local.INFO: IMEI packet received {"connection_id":148988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":148988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:42:49] local.INFO: TCP Data received {"connection_id":148988,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:42:49] local.INFO: Processing buffer {"connection_id":148988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:42:49] local.INFO: Packet analysis {"connection_id":148988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:42:49] local.INFO: Extracted packet for processing {"connection_id":148988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:42:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121953024001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:42:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785632930000,"timestamp_ms":1785632930000,"timestamp_seconds":1785632930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00438d0"} 
[2026-08-02 06:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121953024001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121953024001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:42:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:42:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:42:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121953024001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":148988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:42:49] local.INFO: GPS data processed {"connection_id":148988,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:42:49] local.INFO: Acknowledgment sent {"connection_id":148988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:43:21] local.INFO: TCP Data received {"connection_id":148988,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:43:21] local.INFO: Processing buffer {"connection_id":148988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:43:21] local.INFO: Packet analysis {"connection_id":148988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:43:21] local.INFO: Extracted packet for processing {"connection_id":148988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:43:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121953024001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785632930000,"timestamp_ms":1785632930000,"timestamp_seconds":1785632930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00438d0"} 
[2026-08-02 06:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121953024001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121953024001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:43:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:43:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121953024001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":148988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:43:21] local.INFO: GPS data processed {"connection_id":148988,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:43:21] local.INFO: Acknowledgment sent {"connection_id":148988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:43:42] local.INFO: TCP Data received {"connection_id":148989,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:43:42] local.INFO: Processing buffer {"connection_id":148989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:43:42] local.INFO: IMEI packet received {"connection_id":148989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":148989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:43:47] local.INFO: TCP Data received {"connection_id":148989,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:43:47] local.INFO: Processing buffer {"connection_id":148989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:43:47] local.INFO: IMEI packet received {"connection_id":148989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":148989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:43:48] local.INFO: TCP Data received {"connection_id":148989,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:43:48] local.INFO: Processing buffer {"connection_id":148989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:43:48] local.INFO: Packet analysis {"connection_id":148989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:43:48] local.INFO: Extracted packet for processing {"connection_id":148989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:43:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121953024001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:43:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785632930000,"timestamp_ms":1785632930000,"timestamp_seconds":1785632930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00438d0"} 
[2026-08-02 06:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121953024001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121953024001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:43:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:43:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:43:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121953024001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":148989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:43:48] local.INFO: GPS data processed {"connection_id":148989,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:43:48] local.INFO: Acknowledgment sent {"connection_id":148989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:44:20] local.INFO: TCP Data received {"connection_id":148989,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:44:20] local.INFO: Processing buffer {"connection_id":148989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00438d0012cc330c007685b20006100cd29..."} 
[2026-08-02 06:44:20] local.INFO: Packet analysis {"connection_id":148989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:44:20] local.INFO: Extracted packet for processing {"connection_id":148989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc004"} 
[2026-08-02 06:44:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121953024001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785632930000,"timestamp_ms":1785632930000,"timestamp_seconds":1785632930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00438d0"} 
[2026-08-02 06:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121953024001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121953024001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:44:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:44:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121953024001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":148989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:44:20] local.INFO: GPS data processed {"connection_id":148989,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:44:20] local.INFO: Acknowledgment sent {"connection_id":148989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:44:47] local.INFO: TCP Data received {"connection_id":146442,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:44:47] local.INFO: Processing buffer {"connection_id":146442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:44:47] local.INFO: IMEI packet received {"connection_id":146442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":146442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:44:52] local.INFO: TCP Data received {"connection_id":146442,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:44:52] local.INFO: Processing buffer {"connection_id":146442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:44:52] local.INFO: IMEI packet received {"connection_id":146442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":146442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:44:53] local.INFO: TCP Data received {"connection_id":146442,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:44:53] local.INFO: Processing buffer {"connection_id":146442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:44:53] local.INFO: Packet analysis {"connection_id":146442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:44:53] local.INFO: Extracted packet for processing {"connection_id":146442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:44:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122030080001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:44:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785633231000,"timestamp_ms":1785633231000,"timestamp_seconds":1785633231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc008d098"} 
[2026-08-02 06:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122030080001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122030080001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:44:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:44:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:44:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122030080001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":146442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:44:53] local.INFO: GPS data processed {"connection_id":146442,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:44:53] local.INFO: Acknowledgment sent {"connection_id":146442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:44:57] local.INFO: TCP Data received {"connection_id":146442,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:44:57] local.INFO: Processing buffer {"connection_id":146442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:44:57] local.INFO: Packet analysis {"connection_id":146442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:44:57] local.INFO: Extracted packet for processing {"connection_id":146442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:44:57] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122030080001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:44:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785633231000,"timestamp_ms":1785633231000,"timestamp_seconds":1785633231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc008d098"} 
[2026-08-02 06:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122030080001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122030080001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:44:57] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:44:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:44:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122030080001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":146442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:44:57] local.INFO: GPS data processed {"connection_id":146442,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:44:57] local.INFO: Acknowledgment sent {"connection_id":146442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:45:43] local.INFO: TCP Data received {"connection_id":147673,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:45:43] local.INFO: Processing buffer {"connection_id":147673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:45:43] local.INFO: IMEI packet received {"connection_id":147673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":147673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:45:47] local.INFO: TCP Data received {"connection_id":147673,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:45:47] local.INFO: Processing buffer {"connection_id":147673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:45:47] local.INFO: IMEI packet received {"connection_id":147673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":147673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:45:48] local.INFO: TCP Data received {"connection_id":147673,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:45:48] local.INFO: Processing buffer {"connection_id":147673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:45:48] local.INFO: Packet analysis {"connection_id":147673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:45:48] local.INFO: Extracted packet for processing {"connection_id":147673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:45:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122030080001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:45:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785633231000,"timestamp_ms":1785633231000,"timestamp_seconds":1785633231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc008d098"} 
[2026-08-02 06:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:45: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-08-02 06:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122030080001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122030080001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:45:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:45:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:45:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122030080001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":147673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:45:48] local.INFO: GPS data processed {"connection_id":147673,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:45:48] local.INFO: Acknowledgment sent {"connection_id":147673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:46:22] local.INFO: TCP Data received {"connection_id":147673,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:46:22] local.INFO: Processing buffer {"connection_id":147673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:46:22] local.INFO: Packet analysis {"connection_id":147673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:46:22] local.INFO: Extracted packet for processing {"connection_id":147673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:46:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122030080001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:46:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785633231000,"timestamp_ms":1785633231000,"timestamp_seconds":1785633231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc008d098"} 
[2026-08-02 06:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122030080001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122030080001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:46:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:46:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:46:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122030080001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":147673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:46:22] local.INFO: GPS data processed {"connection_id":147673,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:46:22] local.INFO: Acknowledgment sent {"connection_id":147673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:46:42] local.INFO: TCP Data received {"connection_id":147674,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:46:42] local.INFO: Processing buffer {"connection_id":147674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:46:42] local.INFO: IMEI packet received {"connection_id":147674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":147674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:46:47] local.INFO: TCP Data received {"connection_id":147674,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:46:47] local.INFO: Processing buffer {"connection_id":147674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:46:47] local.INFO: IMEI packet received {"connection_id":147674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":147674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:46:48] local.INFO: TCP Data received {"connection_id":147674,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:46:48] local.INFO: Processing buffer {"connection_id":147674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:46:48] local.INFO: Packet analysis {"connection_id":147674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:46:48] local.INFO: Extracted packet for processing {"connection_id":147674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:46:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122030080001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:46:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785633231000,"timestamp_ms":1785633231000,"timestamp_seconds":1785633231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc008d098"} 
[2026-08-02 06:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:46: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-08-02 06:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122030080001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122030080001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:46:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:46:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:46:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122030080001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":147674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:46:48] local.INFO: GPS data processed {"connection_id":147674,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:46:48] local.INFO: Acknowledgment sent {"connection_id":147674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:47:21] local.INFO: TCP Data received {"connection_id":147674,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:47:21] local.INFO: Processing buffer {"connection_id":147674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:47:21] local.INFO: Packet analysis {"connection_id":147674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:47:21] local.INFO: Extracted packet for processing {"connection_id":147674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:47:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122030080001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785633231000,"timestamp_ms":1785633231000,"timestamp_seconds":1785633231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc008d098"} 
[2026-08-02 06:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122030080001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122030080001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:47:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:47:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122030080001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":147674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:47:21] local.INFO: GPS data processed {"connection_id":147674,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:47:21] local.INFO: Acknowledgment sent {"connection_id":147674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:47:42] local.INFO: TCP Data received {"connection_id":146443,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:47:42] local.INFO: Processing buffer {"connection_id":146443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:47:42] local.INFO: IMEI packet received {"connection_id":146443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":146443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:47:47] local.INFO: TCP Data received {"connection_id":146443,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:47:47] local.INFO: Processing buffer {"connection_id":146443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:47:47] local.INFO: IMEI packet received {"connection_id":146443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":146443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:47:49] local.INFO: TCP Data received {"connection_id":146443,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:47:49] local.INFO: Processing buffer {"connection_id":146443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:47:49] local.INFO: Packet analysis {"connection_id":146443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:47:49] local.INFO: Extracted packet for processing {"connection_id":146443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:47:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122030080001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:47:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785633231000,"timestamp_ms":1785633231000,"timestamp_seconds":1785633231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc008d098"} 
[2026-08-02 06:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122030080001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122030080001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:47:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:47:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:47:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122030080001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":146443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:47:49] local.INFO: GPS data processed {"connection_id":146443,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:47:49] local.INFO: Acknowledgment sent {"connection_id":146443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:48:21] local.INFO: TCP Data received {"connection_id":146443,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:48:21] local.INFO: Processing buffer {"connection_id":146443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:48:21] local.INFO: Packet analysis {"connection_id":146443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:48:21] local.INFO: Extracted packet for processing {"connection_id":146443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:48:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122030080001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785633231000,"timestamp_ms":1785633231000,"timestamp_seconds":1785633231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc008d098"} 
[2026-08-02 06:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122030080001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122030080001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:48:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:48:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122030080001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":146443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:48:21] local.INFO: GPS data processed {"connection_id":146443,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:48:21] local.INFO: Acknowledgment sent {"connection_id":146443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:48:47] local.INFO: TCP Data received {"connection_id":146663,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:48:47] local.INFO: Processing buffer {"connection_id":146663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:48:47] local.INFO: IMEI packet received {"connection_id":146663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":146663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:48:52] local.INFO: TCP Data received {"connection_id":146663,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:48:52] local.INFO: Processing buffer {"connection_id":146663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:48:52] local.INFO: IMEI packet received {"connection_id":146663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":146663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:48:53] local.INFO: TCP Data received {"connection_id":146663,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:48:53] local.INFO: Processing buffer {"connection_id":146663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:48:53] local.INFO: Packet analysis {"connection_id":146663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:48:53] local.INFO: Extracted packet for processing {"connection_id":146663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:48:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122030080001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:48:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785633231000,"timestamp_ms":1785633231000,"timestamp_seconds":1785633231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc008d098"} 
[2026-08-02 06:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122030080001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122030080001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:48:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:48:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:48:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122030080001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":146663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:48:53] local.INFO: GPS data processed {"connection_id":146663,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:48:53] local.INFO: Acknowledgment sent {"connection_id":146663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:48:57] local.INFO: TCP Data received {"connection_id":146663,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:48:57] local.INFO: Processing buffer {"connection_id":146663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc008d098012cc330c007685b20006100cd27..."} 
[2026-08-02 06:48:57] local.INFO: Packet analysis {"connection_id":146663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:48:57] local.INFO: Extracted packet for processing {"connection_id":146663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc008"} 
[2026-08-02 06:48:57] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122030080001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:48:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785633231000,"timestamp_ms":1785633231000,"timestamp_seconds":1785633231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc008d098"} 
[2026-08-02 06:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122030080001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122030080001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:48:57] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:48:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:48:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122030080001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":146663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:48:57] local.INFO: GPS data processed {"connection_id":146663,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:48:57] local.INFO: Acknowledgment sent {"connection_id":146663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:49:42] local.INFO: TCP Data received {"connection_id":147675,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:49:42] local.INFO: Processing buffer {"connection_id":147675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:49:42] local.INFO: IMEI packet received {"connection_id":147675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":147675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:49:47] local.INFO: TCP Data received {"connection_id":147675,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:49:47] local.INFO: Processing buffer {"connection_id":147675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:49:47] local.INFO: IMEI packet received {"connection_id":147675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":147675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:49:48] local.INFO: TCP Data received {"connection_id":147675,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:49:48] local.INFO: Processing buffer {"connection_id":147675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:49:48] local.INFO: Packet analysis {"connection_id":147675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:49:48] local.INFO: Extracted packet for processing {"connection_id":147675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:49:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122107136001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:49:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785633532000,"timestamp_ms":1785633532000,"timestamp_seconds":1785633532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00d6860"} 
[2026-08-02 06:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:49: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-08-02 06:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122107136001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122107136001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:49:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:49:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:49:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122107136001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":147675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:49:48] local.INFO: GPS data processed {"connection_id":147675,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:49:48] local.INFO: Acknowledgment sent {"connection_id":147675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:50:20] local.INFO: TCP Data received {"connection_id":147675,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:50:20] local.INFO: Processing buffer {"connection_id":147675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:50:20] local.INFO: Packet analysis {"connection_id":147675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:50:20] local.INFO: Extracted packet for processing {"connection_id":147675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:50:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122107136001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785633532000,"timestamp_ms":1785633532000,"timestamp_seconds":1785633532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00d6860"} 
[2026-08-02 06:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122107136001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122107136001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:50:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:50:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122107136001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":147675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:50:20] local.INFO: GPS data processed {"connection_id":147675,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:50:20] local.INFO: Acknowledgment sent {"connection_id":147675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:50:42] local.INFO: TCP Data received {"connection_id":148990,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:50:42] local.INFO: Processing buffer {"connection_id":148990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:50:42] local.INFO: IMEI packet received {"connection_id":148990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":148990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:50:47] local.INFO: TCP Data received {"connection_id":148990,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:50:47] local.INFO: Processing buffer {"connection_id":148990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:50:47] local.INFO: IMEI packet received {"connection_id":148990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":148990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:50:48] local.INFO: TCP Data received {"connection_id":148990,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:50:48] local.INFO: Processing buffer {"connection_id":148990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:50:48] local.INFO: Packet analysis {"connection_id":148990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:50:48] local.INFO: Extracted packet for processing {"connection_id":148990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:50:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122107136001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:50:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785633532000,"timestamp_ms":1785633532000,"timestamp_seconds":1785633532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00d6860"} 
[2026-08-02 06:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:50: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-08-02 06:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122107136001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122107136001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:50:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:50:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:50:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122107136001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":148990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:50:48] local.INFO: GPS data processed {"connection_id":148990,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:50:48] local.INFO: Acknowledgment sent {"connection_id":148990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:51:21] local.INFO: TCP Data received {"connection_id":148990,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:51:21] local.INFO: Processing buffer {"connection_id":148990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:51:21] local.INFO: Packet analysis {"connection_id":148990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:51:21] local.INFO: Extracted packet for processing {"connection_id":148990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:51:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122107136001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785633532000,"timestamp_ms":1785633532000,"timestamp_seconds":1785633532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00d6860"} 
[2026-08-02 06:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122107136001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122107136001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:51:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:51:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122107136001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":148990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:51:21] local.INFO: GPS data processed {"connection_id":148990,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:51:21] local.INFO: Acknowledgment sent {"connection_id":148990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:51:42] local.INFO: TCP Data received {"connection_id":146444,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:51:42] local.INFO: Processing buffer {"connection_id":146444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:51:42] local.INFO: IMEI packet received {"connection_id":146444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":146444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:51:47] local.INFO: TCP Data received {"connection_id":146444,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:51:47] local.INFO: Processing buffer {"connection_id":146444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:51:47] local.INFO: IMEI packet received {"connection_id":146444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":146444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:51:48] local.INFO: TCP Data received {"connection_id":146444,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:51:48] local.INFO: Processing buffer {"connection_id":146444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:51:48] local.INFO: Packet analysis {"connection_id":146444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:51:48] local.INFO: Extracted packet for processing {"connection_id":146444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:51:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122107136001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:51:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785633532000,"timestamp_ms":1785633532000,"timestamp_seconds":1785633532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00d6860"} 
[2026-08-02 06:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:51: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-08-02 06:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122107136001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122107136001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:51:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:51:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:51:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122107136001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":146444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:51:48] local.INFO: GPS data processed {"connection_id":146444,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:51:48] local.INFO: Acknowledgment sent {"connection_id":146444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:52:20] local.INFO: TCP Data received {"connection_id":146444,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:52:20] local.INFO: Processing buffer {"connection_id":146444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:52:20] local.INFO: Packet analysis {"connection_id":146444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:52:20] local.INFO: Extracted packet for processing {"connection_id":146444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:52:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122107136001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785633532000,"timestamp_ms":1785633532000,"timestamp_seconds":1785633532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00d6860"} 
[2026-08-02 06:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122107136001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122107136001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:52:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:52:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122107136001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":146444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:52:20] local.INFO: GPS data processed {"connection_id":146444,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:52:20] local.INFO: Acknowledgment sent {"connection_id":146444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:52:47] local.INFO: TCP Data received {"connection_id":147676,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:52:47] local.INFO: Processing buffer {"connection_id":147676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:52:47] local.INFO: IMEI packet received {"connection_id":147676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":147676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:52:52] local.INFO: TCP Data received {"connection_id":147676,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:52:52] local.INFO: Processing buffer {"connection_id":147676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:52:52] local.INFO: IMEI packet received {"connection_id":147676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":147676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:52:53] local.INFO: TCP Data received {"connection_id":147676,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:52:53] local.INFO: Processing buffer {"connection_id":147676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:52:53] local.INFO: Packet analysis {"connection_id":147676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:52:53] local.INFO: Extracted packet for processing {"connection_id":147676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:52:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122107136001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:52:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785633532000,"timestamp_ms":1785633532000,"timestamp_seconds":1785633532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00d6860"} 
[2026-08-02 06:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122107136001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122107136001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:52:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:52:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:52:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122107136001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":147676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:52:53] local.INFO: GPS data processed {"connection_id":147676,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:52:53] local.INFO: Acknowledgment sent {"connection_id":147676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:52:57] local.INFO: TCP Data received {"connection_id":147676,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:52:57] local.INFO: Processing buffer {"connection_id":147676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:52:57] local.INFO: Packet analysis {"connection_id":147676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:52:57] local.INFO: Extracted packet for processing {"connection_id":147676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:52:57] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122107136001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:52:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785633532000,"timestamp_ms":1785633532000,"timestamp_seconds":1785633532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00d6860"} 
[2026-08-02 06:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122107136001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122107136001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:52:57] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:52:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:52:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122107136001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":147676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:52:57] local.INFO: GPS data processed {"connection_id":147676,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:52:57] local.INFO: Acknowledgment sent {"connection_id":147676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:53:42] local.INFO: TCP Data received {"connection_id":146664,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:53:42] local.INFO: Processing buffer {"connection_id":146664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:53:42] local.INFO: IMEI packet received {"connection_id":146664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":146664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:53:47] local.INFO: TCP Data received {"connection_id":146664,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:53:47] local.INFO: Processing buffer {"connection_id":146664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:53:47] local.INFO: IMEI packet received {"connection_id":146664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":146664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:53:48] local.INFO: TCP Data received {"connection_id":146664,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:53:48] local.INFO: Processing buffer {"connection_id":146664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:53:48] local.INFO: Packet analysis {"connection_id":146664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:53:48] local.INFO: Extracted packet for processing {"connection_id":146664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:53:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122107136001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:53:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785633532000,"timestamp_ms":1785633532000,"timestamp_seconds":1785633532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00d6860"} 
[2026-08-02 06:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:53: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-08-02 06:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122107136001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122107136001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:53:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:53:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:53:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122107136001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":146664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:53:48] local.INFO: GPS data processed {"connection_id":146664,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:53:48] local.INFO: Acknowledgment sent {"connection_id":146664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:54:20] local.INFO: TCP Data received {"connection_id":146664,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:54:20] local.INFO: Processing buffer {"connection_id":146664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 06:54:20] local.INFO: Packet analysis {"connection_id":146664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:54:20] local.INFO: Extracted packet for processing {"connection_id":146664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 06:54:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122107136001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785633532000,"timestamp_ms":1785633532000,"timestamp_seconds":1785633532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00d6860"} 
[2026-08-02 06:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122107136001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122107136001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:54:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:54:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122107136001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":146664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:54:20] local.INFO: GPS data processed {"connection_id":146664,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:54:20] local.INFO: Acknowledgment sent {"connection_id":146664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:54:42] local.INFO: TCP Data received {"connection_id":146445,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:54:42] local.INFO: Processing buffer {"connection_id":146445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:54:42] local.INFO: IMEI packet received {"connection_id":146445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":146445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:54:47] local.INFO: TCP Data received {"connection_id":146445,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:54:47] local.INFO: Processing buffer {"connection_id":146445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:54:47] local.INFO: IMEI packet received {"connection_id":146445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":146445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:54:48] local.INFO: TCP Data received {"connection_id":146445,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0120028012cc330c007685b20006100cd29..."} 
[2026-08-02 06:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0120028012cc330c007685b20006100cd29..."} 
[2026-08-02 06:54:48] local.INFO: Processing buffer {"connection_id":146445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0120028012cc330c007685b20006100cd29..."} 
[2026-08-02 06:54:48] local.INFO: Packet analysis {"connection_id":146445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc012"} 
[2026-08-02 06:54:48] local.INFO: Extracted packet for processing {"connection_id":146445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc012"} 
[2026-08-02 06:54:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122184192001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:54:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785633833000,"timestamp_ms":1785633833000,"timestamp_seconds":1785633833,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0120028"} 
[2026-08-02 06:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:54: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-08-02 06:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122184192001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122184192001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:54:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:54:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:54:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122184192001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":146445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:54:48] local.INFO: GPS data processed {"connection_id":146445,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:54:48] local.INFO: Acknowledgment sent {"connection_id":146445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:55:21] local.INFO: TCP Data received {"connection_id":146445,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0120028012cc330c007685b20006100cd29..."} 
[2026-08-02 06:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0120028012cc330c007685b20006100cd29..."} 
[2026-08-02 06:55:21] local.INFO: Processing buffer {"connection_id":146445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0120028012cc330c007685b20006100cd29..."} 
[2026-08-02 06:55:21] local.INFO: Packet analysis {"connection_id":146445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc012"} 
[2026-08-02 06:55:21] local.INFO: Extracted packet for processing {"connection_id":146445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc012"} 
[2026-08-02 06:55:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122184192001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785633833000,"timestamp_ms":1785633833000,"timestamp_seconds":1785633833,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0120028"} 
[2026-08-02 06:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122184192001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122184192001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:55:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:55:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122184192001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":146445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:55:21] local.INFO: GPS data processed {"connection_id":146445,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:55:21] local.INFO: Acknowledgment sent {"connection_id":146445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:55:48] local.INFO: TCP Data received {"connection_id":148991,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:55:48] local.INFO: Processing buffer {"connection_id":148991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:55:48] local.INFO: IMEI packet received {"connection_id":148991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":148991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:55:53] local.INFO: TCP Data received {"connection_id":148991,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:55:53] local.INFO: Processing buffer {"connection_id":148991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:55:53] local.INFO: IMEI packet received {"connection_id":148991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":148991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:55:55] local.INFO: TCP Data received {"connection_id":148991,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0120028012cc330c007685b20006100cd29..."} 
[2026-08-02 06:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0120028012cc330c007685b20006100cd29..."} 
[2026-08-02 06:55:55] local.INFO: Processing buffer {"connection_id":148991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0120028012cc330c007685b20006100cd29..."} 
[2026-08-02 06:55:55] local.INFO: Packet analysis {"connection_id":148991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc012"} 
[2026-08-02 06:55:55] local.INFO: Extracted packet for processing {"connection_id":148991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc012"} 
[2026-08-02 06:55:55] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122184192001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:55:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785633833000,"timestamp_ms":1785633833000,"timestamp_seconds":1785633833,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0120028"} 
[2026-08-02 06:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122184192001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122184192001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:55:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:55:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:55:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122184192001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":148991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:55:55] local.INFO: GPS data processed {"connection_id":148991,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:55:55] local.INFO: Acknowledgment sent {"connection_id":148991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:55:58] local.INFO: TCP Data received {"connection_id":148991,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0120028012cc330c007685b20006100cd29..."} 
[2026-08-02 06:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0120028012cc330c007685b20006100cd29..."} 
[2026-08-02 06:55:58] local.INFO: Processing buffer {"connection_id":148991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0120028012cc330c007685b20006100cd29..."} 
[2026-08-02 06:55:58] local.INFO: Packet analysis {"connection_id":148991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc012"} 
[2026-08-02 06:55:58] local.INFO: Extracted packet for processing {"connection_id":148991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc012"} 
[2026-08-02 06:55:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122184192001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:55:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785633833000,"timestamp_ms":1785633833000,"timestamp_seconds":1785633833,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0120028"} 
[2026-08-02 06:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 06:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 06:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122184192001,"66":25430,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 06:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122184192001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:55:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 06:55:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:55:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122184192001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":148991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:55:58] local.INFO: GPS data processed {"connection_id":148991,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:55:58] local.INFO: Acknowledgment sent {"connection_id":148991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:56:42] local.INFO: TCP Data received {"connection_id":148992,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:56:42] local.INFO: Processing buffer {"connection_id":148992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:56:42] local.INFO: IMEI packet received {"connection_id":148992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":148992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:56:43] local.INFO: TCP Data received {"connection_id":148992,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:56:43] local.INFO: Processing buffer {"connection_id":148992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:56:43] local.INFO: IMEI packet received {"connection_id":148992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":148992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:56:47] local.INFO: TCP Data received {"connection_id":148992,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:56:47] local.INFO: Processing buffer {"connection_id":148992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:56:47] local.INFO: IMEI packet received {"connection_id":148992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":148992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:56:48] local.INFO: TCP Data received {"connection_id":148992,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc013ffe0012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc013ffe0012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:56:48] local.INFO: Processing buffer {"connection_id":148992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc013ffe0012cc330c007685b20006100cd2a..."} 
[2026-08-02 06:56:48] local.INFO: Packet analysis {"connection_id":148992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc013"} 
[2026-08-02 06:56:48] local.INFO: Extracted packet for processing {"connection_id":148992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc013"} 
[2026-08-02 06:56:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 06:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122261248001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:56:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785633964000,"timestamp_ms":1785633964000,"timestamp_seconds":1785633964,"priority":1,"record_length":96,"hex_timestamp":"0000019fc013ffe0"} 
[2026-08-02 06:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:56: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-08-02 06:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 06:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122261248001,"66":25375,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 06:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122261248001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:56:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 06:56:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:56:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122261248001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":148992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:56:48] local.INFO: GPS data processed {"connection_id":148992,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:56:48] local.INFO: Acknowledgment sent {"connection_id":148992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:57:20] local.INFO: TCP Data received {"connection_id":148992,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0146570012cc32ec007685858006100cd28..."} 
[2026-08-02 06:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0146570012cc32ec007685858006100cd28..."} 
[2026-08-02 06:57:20] local.INFO: Processing buffer {"connection_id":148992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0146570012cc32ec007685858006100cd28..."} 
[2026-08-02 06:57:20] local.INFO: Packet analysis {"connection_id":148992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc014"} 
[2026-08-02 06:57:20] local.INFO: Extracted packet for processing {"connection_id":148992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc014"} 
[2026-08-02 06:57:20] local.INFO: GPS Element Parsed {"raw_longitude":750988992,"raw_latitude":124278872,"longitude_deg":75.0988992,"latitude_deg":12.4278872,"altitude":97,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc32ec0","hex_latitude":"07685858","is_valid_coordinates":true} 
[2026-08-02 06:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122294784001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:57:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 06:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785633990000,"timestamp_ms":1785633990000,"timestamp_seconds":1785633990,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0146570"} 
[2026-08-02 06:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 06:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 06:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122294784001,"66":27767,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 06:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122294784001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:57:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 06:57:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:57:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 06:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122294784001,"power":27767,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 06:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":148992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:57:20] local.INFO: GPS data processed {"connection_id":148992,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:57:20] local.INFO: Acknowledgment sent {"connection_id":148992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:57:42] local.INFO: TCP Data received {"connection_id":146665,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:57:42] local.INFO: Processing buffer {"connection_id":146665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:57:42] local.INFO: IMEI packet received {"connection_id":146665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":146665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:57:47] local.INFO: TCP Data received {"connection_id":146665,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:57:47] local.INFO: Processing buffer {"connection_id":146665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:57:47] local.INFO: IMEI packet received {"connection_id":146665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":146665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:57:49] local.INFO: TCP Data received {"connection_id":146665,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc014b778012cc32ec007685858006100cd27..."} 
[2026-08-02 06:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc014b778012cc32ec007685858006100cd27..."} 
[2026-08-02 06:57:49] local.INFO: Processing buffer {"connection_id":146665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc014b778012cc32ec007685858006100cd27..."} 
[2026-08-02 06:57:49] local.INFO: Packet analysis {"connection_id":146665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc014"} 
[2026-08-02 06:57:49] local.INFO: Extracted packet for processing {"connection_id":146665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc014"} 
[2026-08-02 06:57:49] local.INFO: GPS Element Parsed {"raw_longitude":750988992,"raw_latitude":124278872,"longitude_deg":75.0988992,"latitude_deg":12.4278872,"altitude":97,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc32ec0","hex_latitude":"07685858","is_valid_coordinates":true} 
[2026-08-02 06:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122301440001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4382354249336989696,"note":"Value kept but may cause issues"} 
[2026-08-02 06:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785634011000,"timestamp_ms":1785634011000,"timestamp_seconds":1785634011,"priority":1,"record_length":96,"hex_timestamp":"0000019fc014b778"} 
[2026-08-02 06:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 06:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122301440001,"66":27908,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4382354249336989696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 06:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122301440001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:57:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 06:57:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4382354249336989696,"description":"Unknown IO ID 44"} 
[2026-08-02 06:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122301440001,"power":27908,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4382354249336989696}} 
[2026-08-02 06:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":146665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:57:49] local.INFO: GPS data processed {"connection_id":146665,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:57:49] local.INFO: Acknowledgment sent {"connection_id":146665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:58:20] local.INFO: TCP Data received {"connection_id":146665,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0150980012cc32ec007685858006100cd29..."} 
[2026-08-02 06:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0150980012cc32ec007685858006100cd29..."} 
[2026-08-02 06:58:20] local.INFO: Processing buffer {"connection_id":146665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0150980012cc32ec007685858006100cd29..."} 
[2026-08-02 06:58:20] local.INFO: Packet analysis {"connection_id":146665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc015"} 
[2026-08-02 06:58:20] local.INFO: Extracted packet for processing {"connection_id":146665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc015"} 
[2026-08-02 06:58:20] local.INFO: GPS Element Parsed {"raw_longitude":750988992,"raw_latitude":124278872,"longitude_deg":75.0988992,"latitude_deg":12.4278872,"altitude":97,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc32ec0","hex_latitude":"07685858","is_valid_coordinates":true} 
[2026-08-02 06:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122306816001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 06:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4382354249336989696,"note":"Value kept but may cause issues"} 
[2026-08-02 06:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785634032000,"timestamp_ms":1785634032000,"timestamp_seconds":1785634032,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0150980"} 
[2026-08-02 06:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 06:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 06:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122306816001,"66":27832,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4382354249336989696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 06:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122306816001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:58:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 06:58:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4382354249336989696,"description":"Unknown IO ID 44"} 
[2026-08-02 06:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122306816001,"power":27832,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4382354249336989696}} 
[2026-08-02 06:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":146665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:58:20] local.INFO: GPS data processed {"connection_id":146665,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:58:20] local.INFO: Acknowledgment sent {"connection_id":146665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:58:47] local.INFO: TCP Data received {"connection_id":146446,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:58:47] local.INFO: Processing buffer {"connection_id":146446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:58:47] local.INFO: IMEI packet received {"connection_id":146446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":146446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:58:49] local.INFO: TCP Data received {"connection_id":146446,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:58:49] local.INFO: Processing buffer {"connection_id":146446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:58:49] local.INFO: IMEI packet received {"connection_id":146446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":146446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:58:50] local.INFO: TCP Data received {"connection_id":146446,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0151538012cc33180076859800058001b28..."} 
[2026-08-02 06:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0151538012cc33180076859800058001b28..."} 
[2026-08-02 06:58:50] local.INFO: Processing buffer {"connection_id":146446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0151538012cc33180076859800058001b28..."} 
[2026-08-02 06:58:50] local.INFO: Packet analysis {"connection_id":146446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc015"} 
[2026-08-02 06:58:50] local.INFO: Extracted packet for processing {"connection_id":146446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc015"} 
[2026-08-02 06:58:50] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279168,"longitude_deg":75.0989696,"latitude_deg":12.4279168,"altitude":88,"angle":27,"satellites":40,"speed":2,"hex_longitude":"2cc33180","hex_latitude":"07685980","is_valid_coordinates":true} 
[2026-08-02 06:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122312192001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018914086912000,"note":"Value kept but may cause issues"} 
[2026-08-02 06:58:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4382354249336989696,"note":"Value kept but may cause issues"} 
[2026-08-02 06:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785634035000,"timestamp_ms":1785634035000,"timestamp_seconds":1785634035,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0151538"} 
[2026-08-02 06:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 06:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-02 06:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122312192001,"66":27800,"36":206,"27":54016,"24":2,"16":367018914086912000,"44":-4382354249336989696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 06:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122312192001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:58:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 06:58:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018914086912000,"km_value":367018914086912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:58:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4382354249336989696,"description":"Unknown IO ID 44"} 
[2026-08-02 06:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122312192001,"power":27800,"unknown_36":206,"unknown_27":54016,"ignition":2,"odometer":null,"unknown_44":-4382354249336989696}} 
[2026-08-02 06:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":146446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:58:50] local.INFO: GPS data processed {"connection_id":146446,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:58:50] local.INFO: Acknowledgment sent {"connection_id":146446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:58:52] local.INFO: TCP Data received {"connection_id":146446,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01528c0012cc3324007685ac8005900282a..."} 
[2026-08-02 06:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01528c0012cc3324007685ac8005900282a..."} 
[2026-08-02 06:58:52] local.INFO: Processing buffer {"connection_id":146446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01528c0012cc3324007685ac8005900282a..."} 
[2026-08-02 06:58:52] local.INFO: Packet analysis {"connection_id":146446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc015"} 
[2026-08-02 06:58:52] local.INFO: Extracted packet for processing {"connection_id":146446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc015"} 
[2026-08-02 06:58:52] local.INFO: GPS Element Parsed {"raw_longitude":750989888,"raw_latitude":124279496,"longitude_deg":75.0989888,"latitude_deg":12.4279496,"altitude":89,"angle":40,"satellites":42,"speed":2,"hex_longitude":"2cc33240","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-08-02 06:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122312960001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018935561748480,"note":"Value kept but may cause issues"} 
[2026-08-02 06:58:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150959616,"note":"Value kept but may cause issues"} 
[2026-08-02 06:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785634040000,"timestamp_ms":1785634040000,"timestamp_seconds":1785634040,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01528c0"} 
[2026-08-02 06:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 06:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-02 06:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122312960001,"66":27800,"36":206,"27":54016,"24":2,"16":367018935561748480,"44":-4381580193150959616},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 06:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122312960001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:58:52] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 06:58:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018935561748480,"km_value":367018935561748.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:58:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150959616,"description":"Unknown IO ID 44"} 
[2026-08-02 06:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122312960001,"power":27800,"unknown_36":206,"unknown_27":54016,"ignition":2,"odometer":null,"unknown_44":-4381580193150959616}} 
[2026-08-02 06:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":146446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:58:52] local.INFO: GPS data processed {"connection_id":146446,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:58:52] local.INFO: Acknowledgment sent {"connection_id":146446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:59:24] local.INFO: TCP Data received {"connection_id":146446,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0169fc0012cc38b800767ac50005900b029..."} 
[2026-08-02 06:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0169fc0012cc38b800767ac50005900b029..."} 
[2026-08-02 06:59:24] local.INFO: Processing buffer {"connection_id":146446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0169fc0012cc38b800767ac50005900b029..."} 
[2026-08-02 06:59:24] local.INFO: Packet analysis {"connection_id":146446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc016"} 
[2026-08-02 06:59:24] local.INFO: Extracted packet for processing {"connection_id":146446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc016"} 
[2026-08-02 06:59:24] local.INFO: GPS Element Parsed {"raw_longitude":751012736,"raw_latitude":124234832,"longitude_deg":75.1012736,"latitude_deg":12.4234832,"altitude":89,"angle":176,"satellites":41,"speed":32,"hex_longitude":"2cc38b80","hex_latitude":"0767ac50","is_valid_coordinates":true} 
[2026-08-02 06:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122338304001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367019897634422784,"note":"Value kept but may cause issues"} 
[2026-08-02 06:59:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356740026467174400,"note":"Value kept but may cause issues"} 
[2026-08-02 06:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785634136000,"timestamp_ms":1785634136000,"timestamp_seconds":1785634136,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0169fc0"} 
[2026-08-02 06:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 06:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 06:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122338304001,"66":27930,"36":206,"27":54016,"24":32,"16":367019897634422784,"44":-4356740026467174400},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 06:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122338304001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:59:24] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 06:59:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367019897634422784,"km_value":367019897634422.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:59:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356740026467174400,"description":"Unknown IO ID 44"} 
[2026-08-02 06:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122338304001,"power":27930,"unknown_36":206,"unknown_27":54016,"ignition":32,"odometer":null,"unknown_44":-4356740026467174400}} 
[2026-08-02 06:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":146446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:59:24] local.INFO: GPS data processed {"connection_id":146446,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:59:24] local.INFO: Acknowledgment sent {"connection_id":146446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 06:59:39] local.INFO: TCP Data received {"connection_id":146666,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:59:39] local.INFO: Processing buffer {"connection_id":146666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:59:39] local.INFO: IMEI packet received {"connection_id":146666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 06:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":146666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 06:59:42] local.INFO: TCP Data received {"connection_id":146666,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:59:42] local.INFO: Processing buffer {"connection_id":146666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:59:42] local.INFO: IMEI packet received {"connection_id":146666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":146666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:59:47] local.INFO: TCP Data received {"connection_id":146666,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:59:47] local.INFO: Processing buffer {"connection_id":146666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 06:59:47] local.INFO: IMEI packet received {"connection_id":146666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 06:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":146666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 06:59:48] local.INFO: TCP Data received {"connection_id":146666,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc016a790012cc38ac00767a5e8005900bc2a..."} 
[2026-08-02 06:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc016a790012cc38ac00767a5e8005900bc2a..."} 
[2026-08-02 06:59:48] local.INFO: Processing buffer {"connection_id":146666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc016a790012cc38ac00767a5e8005900bc2a..."} 
[2026-08-02 06:59:48] local.INFO: Packet analysis {"connection_id":146666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc016"} 
[2026-08-02 06:59:48] local.INFO: Extracted packet for processing {"connection_id":146666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc016"} 
[2026-08-02 06:59:48] local.INFO: GPS Element Parsed {"raw_longitude":751012544,"raw_latitude":124233192,"longitude_deg":75.1012544,"latitude_deg":12.4233192,"altitude":89,"angle":188,"satellites":42,"speed":30,"hex_longitude":"2cc38ac0","hex_latitude":"0767a5e8","is_valid_coordinates":true} 
[2026-08-02 06:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 06:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122338816001,"note":"Value kept but may cause issues"} 
[2026-08-02 06:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367019979238801408,"note":"Value kept but may cause issues"} 
[2026-08-02 06:59:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356247445258350592,"note":"Value kept but may cause issues"} 
[2026-08-02 06:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 06:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785634138000,"timestamp_ms":1785634138000,"timestamp_seconds":1785634138,"priority":1,"record_length":96,"hex_timestamp":"0000019fc016a790"} 
[2026-08-02 06:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 06:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 06: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":26,"data_length":795,"current_offset":136} 
[2026-08-02 06:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 06:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 06:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 06:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 06:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 06:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 06:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 06:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 06:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 06:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122338816001,"66":27865,"36":206,"27":54016,"24":30,"16":367019979238801408,"44":-4356247445258350592},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 06:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 06:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 06:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122338816001,"description":"Unknown IO ID 0"} 
[2026-08-02 06:59:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 06:59:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 06:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367019979238801408,"km_value":367019979238801.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 06:59:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356247445258350592,"description":"Unknown IO ID 44"} 
[2026-08-02 06:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122338816001,"power":27865,"unknown_36":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-4356247445258350592}} 
[2026-08-02 06:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":146666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 06:59:48] local.INFO: GPS data processed {"connection_id":146666,"processed":1,"errors":0,"total":1} 
[2026-08-02 06:59:48] local.INFO: Acknowledgment sent {"connection_id":146666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:00:21] local.INFO: TCP Data received {"connection_id":146666,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc016da58012cc3824007678190005800c32a..."} 
[2026-08-02 07:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc016da58012cc3824007678190005800c32a..."} 
[2026-08-02 07:00:21] local.INFO: Processing buffer {"connection_id":146666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc016da58012cc3824007678190005800c32a..."} 
[2026-08-02 07:00:21] local.INFO: Packet analysis {"connection_id":146666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc016"} 
[2026-08-02 07:00:21] local.INFO: Extracted packet for processing {"connection_id":146666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc016"} 
[2026-08-02 07:00:21] local.INFO: GPS Element Parsed {"raw_longitude":751010368,"raw_latitude":124223888,"longitude_deg":75.1010368,"latitude_deg":12.4223888,"altitude":88,"angle":195,"satellites":42,"speed":30,"hex_longitude":"2cc38240","hex_latitude":"07678190","is_valid_coordinates":true} 
[2026-08-02 07:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122339328001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367020443095269376,"note":"Value kept but may cause issues"} 
[2026-08-02 07:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356458551491303424,"note":"Value kept but may cause issues"} 
[2026-08-02 07:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785634151000,"timestamp_ms":1785634151000,"timestamp_seconds":1785634151,"priority":1,"record_length":96,"hex_timestamp":"0000019fc016da58"} 
[2026-08-02 07:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122339328001,"66":27908,"36":206,"27":54016,"24":30,"16":367020443095269376,"44":-4356458551491303424},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 07:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122339328001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:00:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 07:00:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367020443095269376,"km_value":367020443095269.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356458551491303424,"description":"Unknown IO ID 44"} 
[2026-08-02 07:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122339328001,"power":27908,"unknown_36":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-4356458551491303424}} 
[2026-08-02 07:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":146666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:00:21] local.INFO: GPS data processed {"connection_id":146666,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:00:21] local.INFO: Acknowledgment sent {"connection_id":146666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:00:42] local.INFO: TCP Data received {"connection_id":147677,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:00:42] local.INFO: Processing buffer {"connection_id":147677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:00:42] local.INFO: IMEI packet received {"connection_id":147677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":147677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:00:43] local.INFO: TCP Data received {"connection_id":147677,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:00:43] local.INFO: Processing buffer {"connection_id":147677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:00:43] local.INFO: IMEI packet received {"connection_id":147677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":147677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:00:47] local.INFO: TCP Data received {"connection_id":147677,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:00:47] local.INFO: Processing buffer {"connection_id":147677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:00:47] local.INFO: IMEI packet received {"connection_id":147677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":147677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:00:49] local.INFO: TCP Data received {"connection_id":147677,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0170550012cc377c007675fc8005800c62a..."} 
[2026-08-02 07:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0170550012cc377c007675fc8005800c62a..."} 
[2026-08-02 07:00:49] local.INFO: Processing buffer {"connection_id":147677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0170550012cc377c007675fc8005800c62a..."} 
[2026-08-02 07:00:49] local.INFO: Packet analysis {"connection_id":147677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc017"} 
[2026-08-02 07:00:49] local.INFO: Extracted packet for processing {"connection_id":147677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc017"} 
[2026-08-02 07:00:49] local.INFO: GPS Element Parsed {"raw_longitude":751007680,"raw_latitude":124215240,"longitude_deg":75.100768,"latitude_deg":12.421524,"altitude":88,"angle":198,"satellites":42,"speed":34,"hex_longitude":"2cc377c0","hex_latitude":"07675fc8","is_valid_coordinates":true} 
[2026-08-02 07:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122342656001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367020881181933568,"note":"Value kept but may cause issues"} 
[2026-08-02 07:00:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4358851088795725824,"note":"Value kept but may cause issues"} 
[2026-08-02 07:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785634162000,"timestamp_ms":1785634162000,"timestamp_seconds":1785634162,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0170550"} 
[2026-08-02 07:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 07:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122342656001,"66":27843,"36":206,"27":54016,"24":34,"16":367020881181933568,"44":-4358851088795725824},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 07:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122342656001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:00:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 07:00:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367020881181933568,"km_value":367020881181933.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:00:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4358851088795725824,"description":"Unknown IO ID 44"} 
[2026-08-02 07:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122342656001,"power":27843,"unknown_36":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-4358851088795725824}} 
[2026-08-02 07:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":147677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:00:49] local.INFO: GPS data processed {"connection_id":147677,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:00:49] local.INFO: Acknowledgment sent {"connection_id":147677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:01:20] local.INFO: TCP Data received {"connection_id":147677,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0186cb0012cc29540076650e0004b00c12a..."} 
[2026-08-02 07:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0186cb0012cc29540076650e0004b00c12a..."} 
[2026-08-02 07:01:20] local.INFO: Processing buffer {"connection_id":147677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0186cb0012cc29540076650e0004b00c12a..."} 
[2026-08-02 07:01:20] local.INFO: Packet analysis {"connection_id":147677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc018"} 
[2026-08-02 07:01:20] local.INFO: Extracted packet for processing {"connection_id":147677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc018"} 
[2026-08-02 07:01:20] local.INFO: GPS Element Parsed {"raw_longitude":750949696,"raw_latitude":124145888,"longitude_deg":75.0949696,"latitude_deg":12.4145888,"altitude":75,"angle":193,"satellites":42,"speed":45,"hex_longitude":"2cc29540","hex_latitude":"076650e0","is_valid_coordinates":true} 
[2026-08-02 07:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122368256001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367025403782496256,"note":"Value kept but may cause issues"} 
[2026-08-02 07:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4424223652155908096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785634254000,"timestamp_ms":1785634254000,"timestamp_seconds":1785634254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0186cb0"} 
[2026-08-02 07:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-02 07:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122368256001,"66":27865,"36":206,"27":54016,"24":45,"16":367025403782496256,"44":-4424223652155908096},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 07:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122368256001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:01:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 07:01:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367025403782496256,"km_value":367025403782496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4424223652155908096,"description":"Unknown IO ID 44"} 
[2026-08-02 07:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122368256001,"power":27865,"unknown_36":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-4424223652155908096}} 
[2026-08-02 07:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":147677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:01:21] local.INFO: GPS data processed {"connection_id":147677,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:01:21] local.INFO: Acknowledgment sent {"connection_id":147677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:01:42] local.INFO: TCP Data received {"connection_id":148993,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:01:42] local.INFO: Processing buffer {"connection_id":148993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:01:42] local.INFO: IMEI packet received {"connection_id":148993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":148993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:01:47] local.INFO: TCP Data received {"connection_id":148993,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:01:47] local.INFO: Processing buffer {"connection_id":148993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:01:47] local.INFO: IMEI packet received {"connection_id":148993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":148993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:01:49] local.INFO: TCP Data received {"connection_id":148993,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0187c50012cc2938007663f48004b00b429..."} 
[2026-08-02 07:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0187c50012cc2938007663f48004b00b429..."} 
[2026-08-02 07:01:49] local.INFO: Processing buffer {"connection_id":148993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0187c50012cc2938007663f48004b00b429..."} 
[2026-08-02 07:01:49] local.INFO: Packet analysis {"connection_id":148993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc018"} 
[2026-08-02 07:01:49] local.INFO: Extracted packet for processing {"connection_id":148993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc018"} 
[2026-08-02 07:01:49] local.INFO: GPS Element Parsed {"raw_longitude":750949248,"raw_latitude":124141384,"longitude_deg":75.0949248,"latitude_deg":12.4141384,"altitude":75,"angle":180,"satellites":41,"speed":44,"hex_longitude":"2cc29380","hex_latitude":"07663f48","is_valid_coordinates":true} 
[2026-08-02 07:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122369024001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367025622825828352,"note":"Value kept but may cause issues"} 
[2026-08-02 07:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4425560658296119296,"note":"Value kept but may cause issues"} 
[2026-08-02 07:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785634258000,"timestamp_ms":1785634258000,"timestamp_seconds":1785634258,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0187c50"} 
[2026-08-02 07:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122369024001,"66":27658,"36":206,"27":54016,"24":44,"16":367025622825828352,"44":-4425560658296119296},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 07:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122369024001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:01:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 07:01:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367025622825828352,"km_value":367025622825828.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4425560658296119296,"description":"Unknown IO ID 44"} 
[2026-08-02 07:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122369024001,"power":27658,"unknown_36":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-4425560658296119296}} 
[2026-08-02 07:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":148993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:01:49] local.INFO: GPS data processed {"connection_id":148993,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:01:49] local.INFO: Acknowledgment sent {"connection_id":148993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:02:21] local.INFO: TCP Data received {"connection_id":148993,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0195af8012cc28d8007658ec8005100f92a..."} 
[2026-08-02 07:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0195af8012cc28d8007658ec8005100f92a..."} 
[2026-08-02 07:02:21] local.INFO: Processing buffer {"connection_id":148993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0195af8012cc28d8007658ec8005100f92a..."} 
[2026-08-02 07:02:21] local.INFO: Packet analysis {"connection_id":148993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc019"} 
[2026-08-02 07:02:21] local.INFO: Extracted packet for processing {"connection_id":148993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc019"} 
[2026-08-02 07:02:21] local.INFO: GPS Element Parsed {"raw_longitude":750947712,"raw_latitude":124096200,"longitude_deg":75.0947712,"latitude_deg":12.40962,"altitude":81,"angle":249,"satellites":42,"speed":11,"hex_longitude":"2cc28d80","hex_latitude":"07658ec8","is_valid_coordinates":true} 
[2026-08-02 07:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122384384001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367027933518233600,"note":"Value kept but may cause issues"} 
[2026-08-02 07:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4427460614401599488,"note":"Value kept but may cause issues"} 
[2026-08-02 07:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785634315000,"timestamp_ms":1785634315000,"timestamp_seconds":1785634315,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0195af8"} 
[2026-08-02 07:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-02 07:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122384384001,"66":28050,"37":206,"27":54016,"24":11,"16":367027933518233600,"44":-4427460614401599488},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 07:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122384384001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:02:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 07:02:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367027933518233600,"km_value":367027933518233.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4427460614401599488,"description":"Unknown IO ID 44"} 
[2026-08-02 07:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122384384001,"power":28050,"unknown_37":206,"unknown_27":54016,"ignition":11,"odometer":null,"unknown_44":-4427460614401599488}} 
[2026-08-02 07:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":148993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:02:21] local.INFO: GPS data processed {"connection_id":148993,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:02:21] local.INFO: Acknowledgment sent {"connection_id":148993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:02:42] local.INFO: TCP Data received {"connection_id":146667,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:02:42] local.INFO: Processing buffer {"connection_id":146667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:02:42] local.INFO: IMEI packet received {"connection_id":146667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":146667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:02:45] local.INFO: TCP Data received {"connection_id":146667,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:02:45] local.INFO: Processing buffer {"connection_id":146667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:02:45] local.INFO: IMEI packet received {"connection_id":146667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":146667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:02:46] local.INFO: TCP Data received {"connection_id":146667,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:02:46] local.INFO: Processing buffer {"connection_id":146667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:02:46] local.INFO: IMEI packet received {"connection_id":146667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":146667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:02:48] local.INFO: TCP Data received {"connection_id":146667,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01962c8012cc28b4007658e60005001062a..."} 
[2026-08-02 07:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01962c8012cc28b4007658e60005001062a..."} 
[2026-08-02 07:02:49] local.INFO: Processing buffer {"connection_id":146667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01962c8012cc28b4007658e60005001062a..."} 
[2026-08-02 07:02:49] local.INFO: Packet analysis {"connection_id":146667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc019"} 
[2026-08-02 07:02:49] local.INFO: Extracted packet for processing {"connection_id":146667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc019"} 
[2026-08-02 07:02:49] local.INFO: GPS Element Parsed {"raw_longitude":750947136,"raw_latitude":124096096,"longitude_deg":75.0947136,"latitude_deg":12.4096096,"altitude":80,"angle":262,"satellites":42,"speed":14,"hex_longitude":"2cc28b40","hex_latitude":"07658e60","is_valid_coordinates":true} 
[2026-08-02 07:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122384640001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367027963583004672,"note":"Value kept but may cause issues"} 
[2026-08-02 07:02:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4427742089378347008,"note":"Value kept but may cause issues"} 
[2026-08-02 07:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785634317000,"timestamp_ms":1785634317000,"timestamp_seconds":1785634317,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01962c8"} 
[2026-08-02 07:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-02 07:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122384640001,"66":27865,"37":206,"27":54016,"24":14,"16":367027963583004672,"44":-4427742089378347008},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 07:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122384640001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:02:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 07:02:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367027963583004672,"km_value":367027963583004.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:02:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4427742089378347008,"description":"Unknown IO ID 44"} 
[2026-08-02 07:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122384640001,"power":27865,"unknown_37":206,"unknown_27":54016,"ignition":14,"odometer":null,"unknown_44":-4427742089378347008}} 
[2026-08-02 07:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":146667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:02:49] local.INFO: GPS data processed {"connection_id":146667,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:02:49] local.INFO: Acknowledgment sent {"connection_id":146667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:02:50] local.INFO: TCP Data received {"connection_id":146667,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0197650012cc2848007658d40005100f92b..."} 
[2026-08-02 07:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0197650012cc2848007658d40005100f92b..."} 
[2026-08-02 07:02:50] local.INFO: Processing buffer {"connection_id":146667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0197650012cc2848007658d40005100f92b..."} 
[2026-08-02 07:02:50] local.INFO: Packet analysis {"connection_id":146667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc019"} 
[2026-08-02 07:02:50] local.INFO: Extracted packet for processing {"connection_id":146667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc019"} 
[2026-08-02 07:02:50] local.INFO: GPS Element Parsed {"raw_longitude":750945408,"raw_latitude":124095808,"longitude_deg":75.0945408,"latitude_deg":12.4095808,"altitude":81,"angle":249,"satellites":43,"speed":9,"hex_longitude":"2cc28480","hex_latitude":"07658d40","is_valid_coordinates":true} 
[2026-08-02 07:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122385152001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367028045187383296,"note":"Value kept but may cause issues"} 
[2026-08-02 07:02:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4428375408075972608,"note":"Value kept but may cause issues"} 
[2026-08-02 07:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785634322000,"timestamp_ms":1785634322000,"timestamp_seconds":1785634322,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0197650"} 
[2026-08-02 07:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122385152001,"66":27713,"37":206,"27":54016,"24":9,"16":367028045187383296,"44":-4428375408075972608},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 07:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122385152001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:02:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 07:02:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367028045187383296,"km_value":367028045187383.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:02:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4428375408075972608,"description":"Unknown IO ID 44"} 
[2026-08-02 07:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122385152001,"power":27713,"unknown_37":206,"unknown_27":54016,"ignition":9,"odometer":null,"unknown_44":-4428375408075972608}} 
[2026-08-02 07:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":146667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:02:50] local.INFO: GPS data processed {"connection_id":146667,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:02:50] local.INFO: Acknowledgment sent {"connection_id":146667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:03:21] local.INFO: TCP Data received {"connection_id":146667,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01a06d8012cc26cc0076595e0004f00782b..."} 
[2026-08-02 07:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01a06d8012cc26cc0076595e0004f00782b..."} 
[2026-08-02 07:03:21] local.INFO: Processing buffer {"connection_id":146667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01a06d8012cc26cc0076595e0004f00782b..."} 
[2026-08-02 07:03:21] local.INFO: Packet analysis {"connection_id":146667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01a"} 
[2026-08-02 07:03:21] local.INFO: Extracted packet for processing {"connection_id":146667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01a"} 
[2026-08-02 07:03:21] local.INFO: GPS Element Parsed {"raw_longitude":750939328,"raw_latitude":124098016,"longitude_deg":75.0939328,"latitude_deg":12.4098016,"altitude":79,"angle":120,"satellites":43,"speed":14,"hex_longitude":"2cc26cc0","hex_latitude":"076595e0","is_valid_coordinates":true} 
[2026-08-02 07:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122395648001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367028517633785856,"note":"Value kept but may cause issues"} 
[2026-08-02 07:03:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4437312238585993216,"note":"Value kept but may cause issues"} 
[2026-08-02 07:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785634359000,"timestamp_ms":1785634359000,"timestamp_seconds":1785634359,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01a06d8"} 
[2026-08-02 07:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 07:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122395648001,"66":27071,"37":206,"27":54016,"24":14,"16":367028517633785856,"44":-4437312238585993216},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 07:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122395648001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:03:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 07:03:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367028517633785856,"km_value":367028517633785.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:03:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4437312238585993216,"description":"Unknown IO ID 44"} 
[2026-08-02 07:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122395648001,"power":27071,"unknown_37":206,"unknown_27":54016,"ignition":14,"odometer":null,"unknown_44":-4437312238585993216}} 
[2026-08-02 07:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":146667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:03:21] local.INFO: GPS data processed {"connection_id":146667,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:03:21] local.INFO: Acknowledgment sent {"connection_id":146667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:03:42] local.INFO: TCP Data received {"connection_id":146668,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:03:42] local.INFO: Processing buffer {"connection_id":146668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:03:42] local.INFO: IMEI packet received {"connection_id":146668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":146668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:03:45] local.INFO: TCP Data received {"connection_id":146668,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:03:45] local.INFO: Processing buffer {"connection_id":146668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:03:45] local.INFO: IMEI packet received {"connection_id":146668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":146668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:03:47] local.INFO: TCP Data received {"connection_id":146668,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:03:47] local.INFO: Processing buffer {"connection_id":146668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:03:47] local.INFO: IMEI packet received {"connection_id":146668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":146668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:03:48] local.INFO: TCP Data received {"connection_id":146668,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01a2618012cc2790007658ca0005000842c..."} 
[2026-08-02 07:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01a2618012cc2790007658ca0005000842c..."} 
[2026-08-02 07:03:48] local.INFO: Processing buffer {"connection_id":146668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01a2618012cc2790007658ca0005000842c..."} 
[2026-08-02 07:03:48] local.INFO: Packet analysis {"connection_id":146668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01a"} 
[2026-08-02 07:03:48] local.INFO: Extracted packet for processing {"connection_id":146668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01a"} 
[2026-08-02 07:03:48] local.INFO: GPS Element Parsed {"raw_longitude":750942464,"raw_latitude":124095648,"longitude_deg":75.0942464,"latitude_deg":12.4095648,"altitude":80,"angle":132,"satellites":44,"speed":23,"hex_longitude":"2cc27900","hex_latitude":"07658ca0","is_valid_coordinates":true} 
[2026-08-02 07:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122395904001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367028706612346880,"note":"Value kept but may cause issues"} 
[2026-08-02 07:03:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4436960394865156096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785634367000,"timestamp_ms":1785634367000,"timestamp_seconds":1785634367,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01a2618"} 
[2026-08-02 07:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-02 07:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122395904001,"66":27843,"37":206,"27":54016,"24":23,"16":367028706612346880,"44":-4436960394865156096},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 07:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122395904001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:03:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 07:03:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367028706612346880,"km_value":367028706612346.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:03:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4436960394865156096,"description":"Unknown IO ID 44"} 
[2026-08-02 07:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122395904001,"power":27843,"unknown_37":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-4436960394865156096}} 
[2026-08-02 07:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":146668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:03:48] local.INFO: GPS data processed {"connection_id":146668,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:03:48] local.INFO: Acknowledgment sent {"connection_id":146668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:04:19] local.INFO: TCP Data received {"connection_id":146668,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01a5cc8012cc29280076571c80052008c2b..."} 
[2026-08-02 07:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01a5cc8012cc29280076571c80052008c2b..."} 
[2026-08-02 07:04:19] local.INFO: Processing buffer {"connection_id":146668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01a5cc8012cc29280076571c80052008c2b..."} 
[2026-08-02 07:04:19] local.INFO: Packet analysis {"connection_id":146668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01a"} 
[2026-08-02 07:04:19] local.INFO: Extracted packet for processing {"connection_id":146668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01a"} 
[2026-08-02 07:04:19] local.INFO: GPS Element Parsed {"raw_longitude":750948992,"raw_latitude":124088776,"longitude_deg":75.0948992,"latitude_deg":12.4088776,"altitude":82,"angle":140,"satellites":43,"speed":31,"hex_longitude":"2cc29280","hex_latitude":"076571c8","is_valid_coordinates":true} 
[2026-08-02 07: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-08-02 07:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122397952001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367029161878880256,"note":"Value kept but may cause issues"} 
[2026-08-02 07:04:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4433512326401056768,"note":"Value kept but may cause issues"} 
[2026-08-02 07:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785634381000,"timestamp_ms":1785634381000,"timestamp_seconds":1785634381,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01a5cc8"} 
[2026-08-02 07:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":195,"data_length":795,"current_offset":136} 
[2026-08-02 07:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07: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-08-02 07:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122397952001,"66":27843,"37":206,"27":54016,"24":31,"16":367029161878880256,"44":-4433512326401056768},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 07:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122397952001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:04:19] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 07:04:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367029161878880256,"km_value":367029161878880.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:04:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4433512326401056768,"description":"Unknown IO ID 44"} 
[2026-08-02 07:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122397952001,"power":27843,"unknown_37":206,"unknown_27":54016,"ignition":31,"odometer":null,"unknown_44":-4433512326401056768}} 
[2026-08-02 07:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":146668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:04:19] local.INFO: GPS data processed {"connection_id":146668,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:04:19] local.INFO: Acknowledgment sent {"connection_id":146668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:04:42] local.INFO: TCP Data received {"connection_id":146447,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:04:42] local.INFO: Processing buffer {"connection_id":146447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:04:42] local.INFO: IMEI packet received {"connection_id":146447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":146447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:04:47] local.INFO: TCP Data received {"connection_id":146447,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:04:47] local.INFO: Processing buffer {"connection_id":146447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:04:47] local.INFO: IMEI packet received {"connection_id":146447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":146447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:04:48] local.INFO: TCP Data received {"connection_id":146447,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01a83d8012cc2a8c0076555a80052008d2a..."} 
[2026-08-02 07:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01a83d8012cc2a8c0076555a80052008d2a..."} 
[2026-08-02 07:04:48] local.INFO: Processing buffer {"connection_id":146447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01a83d8012cc2a8c0076555a80052008d2a..."} 
[2026-08-02 07:04:48] local.INFO: Packet analysis {"connection_id":146447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01a"} 
[2026-08-02 07:04:48] local.INFO: Extracted packet for processing {"connection_id":146447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01a"} 
[2026-08-02 07:04:48] local.INFO: GPS Element Parsed {"raw_longitude":750954688,"raw_latitude":124081576,"longitude_deg":75.0954688,"latitude_deg":12.4081576,"altitude":82,"angle":141,"satellites":42,"speed":38,"hex_longitude":"2cc2a8c0","hex_latitude":"076555a8","is_valid_coordinates":true} 
[2026-08-02 07:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122401536001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367029599965544448,"note":"Value kept but may cause issues"} 
[2026-08-02 07:04:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4426334714496694272,"note":"Value kept but may cause issues"} 
[2026-08-02 07:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785634391000,"timestamp_ms":1785634391000,"timestamp_seconds":1785634391,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01a83d8"} 
[2026-08-02 07:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 07:04: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-08-02 07:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122401536001,"66":27517,"228":206,"27":54016,"24":38,"16":367029599965544448,"44":-4426334714496694272},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 07:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122401536001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:04:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 07:04:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367029599965544448,"km_value":367029599965544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:04:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4426334714496694272,"description":"Unknown IO ID 44"} 
[2026-08-02 07:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122401536001,"power":27517,"unknown_228":206,"unknown_27":54016,"ignition":38,"odometer":null,"unknown_44":-4426334714496694272}} 
[2026-08-02 07:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":146447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:04:48] local.INFO: GPS data processed {"connection_id":146447,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:04:48] local.INFO: Acknowledgment sent {"connection_id":146447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:05:21] local.INFO: TCP Data received {"connection_id":146447,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01bcbf8012cc2f5c0076400a8005100bf2d..."} 
[2026-08-02 07:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01bcbf8012cc2f5c0076400a8005100bf2d..."} 
[2026-08-02 07:05:21] local.INFO: Processing buffer {"connection_id":146447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01bcbf8012cc2f5c0076400a8005100bf2d..."} 
[2026-08-02 07:05:21] local.INFO: Packet analysis {"connection_id":146447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01b"} 
[2026-08-02 07:05:21] local.INFO: Extracted packet for processing {"connection_id":146447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01b"} 
[2026-08-02 07:05:21] local.INFO: GPS Element Parsed {"raw_longitude":750974400,"raw_latitude":123994280,"longitude_deg":75.09744,"latitude_deg":12.399428,"altitude":81,"angle":191,"satellites":45,"speed":51,"hex_longitude":"2cc2f5c0","hex_latitude":"076400a8","is_valid_coordinates":true} 
[2026-08-02 07:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122425600001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367034058141597696,"note":"Value kept but may cause issues"} 
[2026-08-02 07:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4398398323082352640,"note":"Value kept but may cause issues"} 
[2026-08-02 07:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785634475000,"timestamp_ms":1785634475000,"timestamp_seconds":1785634475,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01bcbf8"} 
[2026-08-02 07:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 07:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122425600001,"66":27843,"228":206,"27":54016,"24":51,"16":367034058141597696,"44":-4398398323082352640},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 07:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122425600001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:05:21] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 07:05:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367034058141597696,"km_value":367034058141597.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4398398323082352640,"description":"Unknown IO ID 44"} 
[2026-08-02 07:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122425600001,"power":27843,"unknown_228":206,"unknown_27":54016,"ignition":51,"odometer":null,"unknown_44":-4398398323082352640}} 
[2026-08-02 07:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":146447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:05:21] local.INFO: GPS data processed {"connection_id":146447,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:05:21] local.INFO: Acknowledgment sent {"connection_id":146447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:05:46] local.INFO: TCP Data received {"connection_id":148994,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:05:46] local.INFO: Processing buffer {"connection_id":148994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:05:46] local.INFO: IMEI packet received {"connection_id":148994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":148994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:05:47] local.INFO: TCP Data received {"connection_id":148994,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:05:47] local.INFO: Processing buffer {"connection_id":148994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:05:47] local.INFO: IMEI packet received {"connection_id":148994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":148994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:05:48] local.INFO: TCP Data received {"connection_id":148994,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:05:48] local.INFO: Processing buffer {"connection_id":148994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:05:48] local.INFO: IMEI packet received {"connection_id":148994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":148994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:05:49] local.INFO: TCP Data received {"connection_id":148994,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01be750012cc2ebc00763dec8005100c72c..."} 
[2026-08-02 07:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01be750012cc2ebc00763dec8005100c72c..."} 
[2026-08-02 07:05:49] local.INFO: Processing buffer {"connection_id":148994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01be750012cc2ebc00763dec8005100c72c..."} 
[2026-08-02 07:05:49] local.INFO: Packet analysis {"connection_id":148994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01b"} 
[2026-08-02 07:05:49] local.INFO: Extracted packet for processing {"connection_id":148994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01b"} 
[2026-08-02 07:05:49] local.INFO: GPS Element Parsed {"raw_longitude":750971840,"raw_latitude":123985608,"longitude_deg":75.097184,"latitude_deg":12.3985608,"altitude":81,"angle":199,"satellites":44,"speed":52,"hex_longitude":"2cc2ebc0","hex_latitude":"0763dec8","is_valid_coordinates":true} 
[2026-08-02 07:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122425600001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367034500523229184,"note":"Value kept but may cause issues"} 
[2026-08-02 07:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4398398323082352640,"note":"Value kept but may cause issues"} 
[2026-08-02 07:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785634482000,"timestamp_ms":1785634482000,"timestamp_seconds":1785634482,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01be750"} 
[2026-08-02 07:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 07:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122425600001,"66":27332,"228":206,"27":54016,"24":52,"16":367034500523229184,"44":-4398398323082352640},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 07:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122425600001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:05:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 07:05:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367034500523229184,"km_value":367034500523229.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4398398323082352640,"description":"Unknown IO ID 44"} 
[2026-08-02 07:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122425600001,"power":27332,"unknown_228":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-4398398323082352640}} 
[2026-08-02 07:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":148994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:05:49] local.INFO: GPS data processed {"connection_id":148994,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:05:49] local.INFO: Acknowledgment sent {"connection_id":148994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:05:54] local.INFO: TCP Data received {"connection_id":148994,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01c02a8012cc2e1000763bd80005200c32c..."} 
[2026-08-02 07:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01c02a8012cc2e1000763bd80005200c32c..."} 
[2026-08-02 07:05:54] local.INFO: Processing buffer {"connection_id":148994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01c02a8012cc2e1000763bd80005200c32c..."} 
[2026-08-02 07:05:54] local.INFO: Packet analysis {"connection_id":148994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01c"} 
[2026-08-02 07:05:54] local.INFO: Extracted packet for processing {"connection_id":148994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01c"} 
[2026-08-02 07:05:54] local.INFO: GPS Element Parsed {"raw_longitude":750969088,"raw_latitude":123977088,"longitude_deg":75.0969088,"latitude_deg":12.3977088,"altitude":82,"angle":195,"satellites":44,"speed":50,"hex_longitude":"2cc2e100","hex_latitude":"0763bd80","is_valid_coordinates":true} 
[2026-08-02 07:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122427392001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367034930019958784,"note":"Value kept but may cause issues"} 
[2026-08-02 07:05:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4401213072851679232,"note":"Value kept but may cause issues"} 
[2026-08-02 07:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785634489000,"timestamp_ms":1785634489000,"timestamp_seconds":1785634489,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01c02a8"} 
[2026-08-02 07:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 07:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122427392001,"66":27865,"228":206,"27":54016,"24":50,"16":367034930019958784,"44":-4401213072851679232},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 07:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122427392001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:05:54] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 07:05:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367034930019958784,"km_value":367034930019958.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:05:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4401213072851679232,"description":"Unknown IO ID 44"} 
[2026-08-02 07:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122427392001,"power":27865,"unknown_228":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-4401213072851679232}} 
[2026-08-02 07:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":148994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:05:54] local.INFO: GPS data processed {"connection_id":148994,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:05:54] local.INFO: Acknowledgment sent {"connection_id":148994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:06:27] local.INFO: TCP Data received {"connection_id":148994,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01ce920012cc36bc00762f918004c007d2e..."} 
[2026-08-02 07:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01ce920012cc36bc00762f918004c007d2e..."} 
[2026-08-02 07:06:27] local.INFO: Processing buffer {"connection_id":148994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01ce920012cc36bc00762f918004c007d2e..."} 
[2026-08-02 07:06:27] local.INFO: Packet analysis {"connection_id":148994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01c"} 
[2026-08-02 07:06:27] local.INFO: Extracted packet for processing {"connection_id":148994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01c"} 
[2026-08-02 07:06:27] local.INFO: GPS Element Parsed {"raw_longitude":751004608,"raw_latitude":123926808,"longitude_deg":75.1004608,"latitude_deg":12.3926808,"altitude":76,"angle":125,"satellites":46,"speed":53,"hex_longitude":"2cc36bc0","hex_latitude":"0762f918","is_valid_coordinates":true} 
[2026-08-02 07:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122443520001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367038597922029568,"note":"Value kept but may cause issues"} 
[2026-08-02 07:06:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4369195294265407488,"note":"Value kept but may cause issues"} 
[2026-08-02 07:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785634548000,"timestamp_ms":1785634548000,"timestamp_seconds":1785634548,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01ce920"} 
[2026-08-02 07:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 07:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122443520001,"66":27974,"227":206,"27":54016,"24":53,"16":367038597922029568,"44":-4369195294265407488},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 07:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122443520001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:06:27] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 07:06:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367038597922029568,"km_value":367038597922029.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:06:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4369195294265407488,"description":"Unknown IO ID 44"} 
[2026-08-02 07:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122443520001,"power":27974,"unknown_227":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4369195294265407488}} 
[2026-08-02 07:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":148994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:06:27] local.INFO: GPS data processed {"connection_id":148994,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:06:27] local.INFO: Acknowledgment sent {"connection_id":148994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:06:40] local.INFO: TCP Data received {"connection_id":148995,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:06:40] local.INFO: Processing buffer {"connection_id":148995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:06:40] local.INFO: IMEI packet received {"connection_id":148995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":148995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:06:42] local.INFO: TCP Data received {"connection_id":148995,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:06:42] local.INFO: Processing buffer {"connection_id":148995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:06:42] local.INFO: IMEI packet received {"connection_id":148995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":148995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:06:46] local.INFO: TCP Data received {"connection_id":148995,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:06:46] local.INFO: Processing buffer {"connection_id":148995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:06:46] local.INFO: IMEI packet received {"connection_id":148995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":148995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:06:48] local.INFO: TCP Data received {"connection_id":148995,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01cf4d8012cc377400762ee60004b008c2e..."} 
[2026-08-02 07:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01cf4d8012cc377400762ee60004b008c2e..."} 
[2026-08-02 07:06:48] local.INFO: Processing buffer {"connection_id":148995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01cf4d8012cc377400762ee60004b008c2e..."} 
[2026-08-02 07:06:48] local.INFO: Packet analysis {"connection_id":148995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01c"} 
[2026-08-02 07:06:48] local.INFO: Extracted packet for processing {"connection_id":148995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01c"} 
[2026-08-02 07:06:48] local.INFO: GPS Element Parsed {"raw_longitude":751007552,"raw_latitude":123924064,"longitude_deg":75.1007552,"latitude_deg":12.3924064,"altitude":75,"angle":140,"satellites":46,"speed":53,"hex_longitude":"2cc37740","hex_latitude":"0762ee60","is_valid_coordinates":true} 
[2026-08-02 07:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122444288001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367038791195557888,"note":"Value kept but may cause issues"} 
[2026-08-02 07:06:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4365184275847768064,"note":"Value kept but may cause issues"} 
[2026-08-02 07:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785634551000,"timestamp_ms":1785634551000,"timestamp_seconds":1785634551,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01cf4d8"} 
[2026-08-02 07:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-02 07:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122444288001,"66":27213,"227":206,"27":54016,"24":53,"16":367038791195557888,"44":-4365184275847768064},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 07:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122444288001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:06:48] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 07:06:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367038791195557888,"km_value":367038791195557.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:06:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4365184275847768064,"description":"Unknown IO ID 44"} 
[2026-08-02 07:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122444288001,"power":27213,"unknown_227":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4365184275847768064}} 
[2026-08-02 07:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":148995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:06:48] local.INFO: GPS data processed {"connection_id":148995,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:06:48] local.INFO: Acknowledgment sent {"connection_id":148995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:07:19] local.INFO: TCP Data received {"connection_id":148995,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01d0090012cc37fc00762e0f8004a00992d..."} 
[2026-08-02 07:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01d0090012cc37fc00762e0f8004a00992d..."} 
[2026-08-02 07:07:19] local.INFO: Processing buffer {"connection_id":148995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01d0090012cc37fc00762e0f8004a00992d..."} 
[2026-08-02 07:07:19] local.INFO: Packet analysis {"connection_id":148995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01d"} 
[2026-08-02 07:07:19] local.INFO: Extracted packet for processing {"connection_id":148995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01d"} 
[2026-08-02 07:07:19] local.INFO: GPS Element Parsed {"raw_longitude":751009728,"raw_latitude":123920632,"longitude_deg":75.1009728,"latitude_deg":12.3920632,"altitude":74,"angle":153,"satellites":45,"speed":54,"hex_longitude":"2cc37fc0","hex_latitude":"0762e0f8","is_valid_coordinates":true} 
[2026-08-02 07:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122445056001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367038988764053504,"note":"Value kept but may cause issues"} 
[2026-08-02 07:07:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4361947313616297984,"note":"Value kept but may cause issues"} 
[2026-08-02 07:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785634554000,"timestamp_ms":1785634554000,"timestamp_seconds":1785634554,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01d0090"} 
[2026-08-02 07:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 07:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122445056001,"66":27821,"227":206,"27":54016,"24":54,"16":367038988764053504,"44":-4361947313616297984},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 07:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122445056001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:07:19] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 07:07:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367038988764053504,"km_value":367038988764053.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:07:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4361947313616297984,"description":"Unknown IO ID 44"} 
[2026-08-02 07:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122445056001,"power":27821,"unknown_227":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4361947313616297984}} 
[2026-08-02 07:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":148995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:07:19] local.INFO: GPS data processed {"connection_id":148995,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:07:19] local.INFO: Acknowledgment sent {"connection_id":148995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:07:39] local.INFO: TCP Data received {"connection_id":146448,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:07:39] local.INFO: Processing buffer {"connection_id":146448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:07:39] local.INFO: IMEI packet received {"connection_id":146448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":146448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:07:40] local.INFO: TCP Data received {"connection_id":146448,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:07:40] local.INFO: Processing buffer {"connection_id":146448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:07:40] local.INFO: IMEI packet received {"connection_id":146448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":146448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:07:41] local.INFO: TCP Data received {"connection_id":146448,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:07:41] local.INFO: Processing buffer {"connection_id":146448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:07:41] local.INFO: IMEI packet received {"connection_id":146448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":146448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:07:42] local.INFO: TCP Data received {"connection_id":146448,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:07:42] local.INFO: Processing buffer {"connection_id":146448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:07:42] local.INFO: IMEI packet received {"connection_id":146448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":146448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:12:47] local.INFO: TCP Data received {"connection_id":147680,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:12:47] local.INFO: Processing buffer {"connection_id":147680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:12:47] local.INFO: IMEI packet received {"connection_id":147680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":147680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:12:50] local.INFO: TCP Data received {"connection_id":147680,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:12:50] local.INFO: Processing buffer {"connection_id":147680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:12:50] local.INFO: IMEI packet received {"connection_id":147680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":147680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:12:51] local.INFO: TCP Data received {"connection_id":147680,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02184d0012cc2c20007652ba8005101472e..."} 
[2026-08-02 07:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02184d0012cc2c20007652ba8005101472e..."} 
[2026-08-02 07:12:51] local.INFO: Processing buffer {"connection_id":147680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02184d0012cc2c20007652ba8005101472e..."} 
[2026-08-02 07:12:51] local.INFO: Packet analysis {"connection_id":147680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc021"} 
[2026-08-02 07:12:51] local.INFO: Extracted packet for processing {"connection_id":147680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc021"} 
[2026-08-02 07:12:51] local.INFO: GPS Element Parsed {"raw_longitude":750961152,"raw_latitude":124070824,"longitude_deg":75.0961152,"latitude_deg":12.4070824,"altitude":81,"angle":327,"satellites":46,"speed":49,"hex_longitude":"2cc2c200","hex_latitude":"07652ba8","is_valid_coordinates":true} 
[2026-08-02 07:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122520576001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367051908025679872,"note":"Value kept but may cause issues"} 
[2026-08-02 07:12:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4410361009574117376,"note":"Value kept but may cause issues"} 
[2026-08-02 07:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785634850000,"timestamp_ms":1785634850000,"timestamp_seconds":1785634850,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02184d0"} 
[2026-08-02 07:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 07:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122520576001,"66":27604,"37":206,"27":54016,"24":49,"16":367051908025679872,"44":-4410361009574117376},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 07:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122520576001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:12:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 07:12:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367051908025679872,"km_value":367051908025679.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:12:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4410361009574117376,"description":"Unknown IO ID 44"} 
[2026-08-02 07:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122520576001,"power":27604,"unknown_37":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4410361009574117376}} 
[2026-08-02 07:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":147680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:12:51] local.INFO: GPS data processed {"connection_id":147680,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:12:51] local.INFO: Acknowledgment sent {"connection_id":147680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:12:52] local.INFO: TCP Data received {"connection_id":147680,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc021a410012cc2ab0007654a18005201402e..."} 
[2026-08-02 07:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc021a410012cc2ab0007654a18005201402e..."} 
[2026-08-02 07:12:52] local.INFO: Processing buffer {"connection_id":147680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc021a410012cc2ab0007654a18005201402e..."} 
[2026-08-02 07:12:52] local.INFO: Packet analysis {"connection_id":147680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc021"} 
[2026-08-02 07:12:52] local.INFO: Extracted packet for processing {"connection_id":147680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc021"} 
[2026-08-02 07:12:52] local.INFO: GPS Element Parsed {"raw_longitude":750955264,"raw_latitude":124078616,"longitude_deg":75.0955264,"latitude_deg":12.4078616,"altitude":82,"angle":320,"satellites":46,"speed":47,"hex_longitude":"2cc2ab00","hex_latitude":"07654a18","is_valid_coordinates":true} 
[2026-08-02 07:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122521600001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367052376177115136,"note":"Value kept but may cause issues"} 
[2026-08-02 07:12:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4412964653107533824,"note":"Value kept but may cause issues"} 
[2026-08-02 07:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785634858000,"timestamp_ms":1785634858000,"timestamp_seconds":1785634858,"priority":1,"record_length":96,"hex_timestamp":"0000019fc021a410"} 
[2026-08-02 07:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-02 07:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122521600001,"66":27919,"37":206,"27":54016,"24":47,"16":367052376177115136,"44":-4412964653107533824},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 07:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122521600001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:12:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 07:12:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367052376177115136,"km_value":367052376177115.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:12:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4412964653107533824,"description":"Unknown IO ID 44"} 
[2026-08-02 07:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122521600001,"power":27919,"unknown_37":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-4412964653107533824}} 
[2026-08-02 07:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":147680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:12:52] local.INFO: GPS data processed {"connection_id":147680,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:12:52] local.INFO: Acknowledgment sent {"connection_id":147680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:13:24] local.INFO: TCP Data received {"connection_id":147680,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc022ffb8012cc19c8007669ca80055012c2c..."} 
[2026-08-02 07:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc022ffb8012cc19c8007669ca80055012c2c..."} 
[2026-08-02 07:13:24] local.INFO: Processing buffer {"connection_id":147680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc022ffb8012cc19c8007669ca80055012c2c..."} 
[2026-08-02 07:13:24] local.INFO: Packet analysis {"connection_id":147680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc022"} 
[2026-08-02 07:13:24] local.INFO: Extracted packet for processing {"connection_id":147680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc022"} 
[2026-08-02 07:13:24] local.INFO: GPS Element Parsed {"raw_longitude":750886016,"raw_latitude":124165288,"longitude_deg":75.0886016,"latitude_deg":12.4165288,"altitude":85,"angle":300,"satellites":44,"speed":52,"hex_longitude":"2cc19c80","hex_latitude":"07669ca8","is_valid_coordinates":true} 
[2026-08-02 07:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122544640001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367057792130875392,"note":"Value kept but may cause issues"} 
[2026-08-02 07:13:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4487062940703703040,"note":"Value kept but may cause issues"} 
[2026-08-02 07:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785634947000,"timestamp_ms":1785634947000,"timestamp_seconds":1785634947,"priority":1,"record_length":96,"hex_timestamp":"0000019fc022ffb8"} 
[2026-08-02 07:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-02 07:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122544640001,"66":28028,"39":206,"27":54016,"24":52,"16":367057792130875392,"44":-4487062940703703040},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 07:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122544640001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:13:24] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 07:13:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367057792130875392,"km_value":367057792130875.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:13:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4487062940703703040,"description":"Unknown IO ID 44"} 
[2026-08-02 07:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122544640001,"power":28028,"unknown_39":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-4487062940703703040}} 
[2026-08-02 07:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":147680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:13:24] local.INFO: GPS data processed {"connection_id":147680,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:13:24] local.INFO: Acknowledgment sent {"connection_id":147680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:13:40] local.INFO: TCP Data received {"connection_id":148997,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:13:40] local.INFO: Processing buffer {"connection_id":148997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:13:40] local.INFO: IMEI packet received {"connection_id":148997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":148997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:13:42] local.INFO: TCP Data received {"connection_id":148997,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:13:42] local.INFO: Processing buffer {"connection_id":148997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:13:42] local.INFO: IMEI packet received {"connection_id":148997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":148997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:13:47] local.INFO: TCP Data received {"connection_id":148997,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:13:47] local.INFO: Processing buffer {"connection_id":148997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:13:47] local.INFO: IMEI packet received {"connection_id":148997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":148997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:13:48] local.INFO: TCP Data received {"connection_id":148997,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0231b10012cc17bc00766af100053012b2f..."} 
[2026-08-02 07:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0231b10012cc17bc00766af100053012b2f..."} 
[2026-08-02 07:13:48] local.INFO: Processing buffer {"connection_id":148997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0231b10012cc17bc00766af100053012b2f..."} 
[2026-08-02 07:13:48] local.INFO: Packet analysis {"connection_id":148997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc023"} 
[2026-08-02 07:13:48] local.INFO: Extracted packet for processing {"connection_id":148997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc023"} 
[2026-08-02 07:13:48] local.INFO: GPS Element Parsed {"raw_longitude":750877632,"raw_latitude":124170000,"longitude_deg":75.0877632,"latitude_deg":12.417,"altitude":83,"angle":299,"satellites":47,"speed":56,"hex_longitude":"2cc17bc0","hex_latitude":"0766af10","is_valid_coordinates":true} 
[2026-08-02 07:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122546432001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367058251692376064,"note":"Value kept but may cause issues"} 
[2026-08-02 07:13:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4495577558747928576,"note":"Value kept but may cause issues"} 
[2026-08-02 07:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785634954000,"timestamp_ms":1785634954000,"timestamp_seconds":1785634954,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0231b10"} 
[2026-08-02 07:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:13: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":124,"data_length":795,"current_offset":136} 
[2026-08-02 07:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122546432001,"66":27974,"39":206,"27":54016,"24":56,"16":367058251692376064,"44":-4495577558747928576},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 07:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122546432001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:13:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 07:13:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367058251692376064,"km_value":367058251692376.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:13:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4495577558747928576,"description":"Unknown IO ID 44"} 
[2026-08-02 07:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122546432001,"power":27974,"unknown_39":206,"unknown_27":54016,"ignition":56,"odometer":null,"unknown_44":-4495577558747928576}} 
[2026-08-02 07:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":148997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:13:48] local.INFO: GPS data processed {"connection_id":148997,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:13:48] local.INFO: Acknowledgment sent {"connection_id":148997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:14:19] local.INFO: TCP Data received {"connection_id":148997,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0233668012cc158800766c168005001282e..."} 
[2026-08-02 07:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0233668012cc158800766c168005001282e..."} 
[2026-08-02 07:14:19] local.INFO: Processing buffer {"connection_id":148997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0233668012cc158800766c168005001282e..."} 
[2026-08-02 07:14:19] local.INFO: Packet analysis {"connection_id":148997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc023"} 
[2026-08-02 07:14:19] local.INFO: Extracted packet for processing {"connection_id":148997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc023"} 
[2026-08-02 07:14:19] local.INFO: GPS Element Parsed {"raw_longitude":750868608,"raw_latitude":124174696,"longitude_deg":75.0868608,"latitude_deg":12.4174696,"altitude":80,"angle":296,"satellites":46,"speed":57,"hex_longitude":"2cc15880","hex_latitude":"0766c168","is_valid_coordinates":true} 
[2026-08-02 07:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122548224001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367058737023680512,"note":"Value kept but may cause issues"} 
[2026-08-02 07:14:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4504795864233996288,"note":"Value kept but may cause issues"} 
[2026-08-02 07:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785634961000,"timestamp_ms":1785634961000,"timestamp_seconds":1785634961,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0233668"} 
[2026-08-02 07:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-02 07:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122548224001,"66":27908,"39":206,"27":54016,"24":57,"16":367058737023680512,"44":-4504795864233996288},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 07:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122548224001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:14:19] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 07:14:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367058737023680512,"km_value":367058737023680.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:14:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4504795864233996288,"description":"Unknown IO ID 44"} 
[2026-08-02 07:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122548224001,"power":27908,"unknown_39":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-4504795864233996288}} 
[2026-08-02 07:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":148997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:14:19] local.INFO: GPS data processed {"connection_id":148997,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:14:19] local.INFO: Acknowledgment sent {"connection_id":148997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:14:43] local.INFO: TCP Data received {"connection_id":147681,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:14:43] local.INFO: Processing buffer {"connection_id":147681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:14:43] local.INFO: IMEI packet received {"connection_id":147681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":147681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:14:45] local.INFO: TCP Data received {"connection_id":147681,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:14:45] local.INFO: Processing buffer {"connection_id":147681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:14:45] local.INFO: IMEI packet received {"connection_id":147681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":147681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:14:46] local.INFO: TCP Data received {"connection_id":147681,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02351c0012cc135000766d370004d01292f..."} 
[2026-08-02 07:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02351c0012cc135000766d370004d01292f..."} 
[2026-08-02 07:14:46] local.INFO: Processing buffer {"connection_id":147681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02351c0012cc135000766d370004d01292f..."} 
[2026-08-02 07:14:46] local.INFO: Packet analysis {"connection_id":147681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc023"} 
[2026-08-02 07:14:46] local.INFO: Extracted packet for processing {"connection_id":147681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc023"} 
[2026-08-02 07:14:46] local.INFO: GPS Element Parsed {"raw_longitude":750859520,"raw_latitude":124179312,"longitude_deg":75.085952,"latitude_deg":12.4179312,"altitude":77,"angle":297,"satellites":47,"speed":57,"hex_longitude":"2cc13500","hex_latitude":"0766d370","is_valid_coordinates":true} 
[2026-08-02 07:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122550016001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367059218060017664,"note":"Value kept but may cause issues"} 
[2026-08-02 07:14:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4514717857161844736,"note":"Value kept but may cause issues"} 
[2026-08-02 07:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785634968000,"timestamp_ms":1785634968000,"timestamp_seconds":1785634968,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02351c0"} 
[2026-08-02 07:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 07:14: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-08-02 07:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":147681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":147681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":147681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122550016001,"66":27843,"39":206,"27":54016,"24":57,"16":367059218060017664,"44":-4514717857161844736},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 07:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122550016001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:14:46] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 07:14:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367059218060017664,"km_value":367059218060017.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:14:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4514717857161844736,"description":"Unknown IO ID 44"} 
[2026-08-02 07:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122550016001,"power":27843,"unknown_39":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-4514717857161844736}} 
[2026-08-02 07:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":147681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:14:46] local.INFO: GPS data processed {"connection_id":147681,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:14:46] local.INFO: Acknowledgment sent {"connection_id":147681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:15:18] local.INFO: TCP Data received {"connection_id":147681,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc024a980012cc002400767e448004c01412f..."} 
[2026-08-02 07:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc024a980012cc002400767e448004c01412f..."} 
[2026-08-02 07:15:18] local.INFO: Processing buffer {"connection_id":147681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc024a980012cc002400767e448004c01412f..."} 
[2026-08-02 07:15:18] local.INFO: Packet analysis {"connection_id":147681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc024"} 
[2026-08-02 07:15:18] local.INFO: Extracted packet for processing {"connection_id":147681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc024"} 
[2026-08-02 07:15:18] local.INFO: GPS Element Parsed {"raw_longitude":750780992,"raw_latitude":124249160,"longitude_deg":75.0780992,"latitude_deg":12.424916,"altitude":76,"angle":321,"satellites":47,"speed":43,"hex_longitude":"2cc00240","hex_latitude":"0767e448","is_valid_coordinates":true} 
[2026-08-02 07:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122572032001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367064363430838272,"note":"Value kept but may cause issues"} 
[2026-08-02 07:15:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4604649112203855872,"note":"Value kept but may cause issues"} 
[2026-08-02 07:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785635056000,"timestamp_ms":1785635056000,"timestamp_seconds":1785635056,"priority":1,"record_length":96,"hex_timestamp":"0000019fc024a980"} 
[2026-08-02 07:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":147681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":147681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":147681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122572032001,"66":27865,"121":206,"27":54016,"24":43,"16":367064363430838272,"44":-4604649112203855872},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-08-02 07:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122572032001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:15:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-02 07:15:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367064363430838272,"km_value":367064363430838.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:15:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4604649112203855872,"description":"Unknown IO ID 44"} 
[2026-08-02 07:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122572032001,"power":27865,"unknown_121":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-4604649112203855872}} 
[2026-08-02 07:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":147681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:15:18] local.INFO: GPS data processed {"connection_id":147681,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:15:18] local.INFO: Acknowledgment sent {"connection_id":147681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:15:40] local.INFO: TCP Data received {"connection_id":147682,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:15:40] local.INFO: Processing buffer {"connection_id":147682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:15:40] local.INFO: IMEI packet received {"connection_id":147682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":147682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:15:42] local.INFO: TCP Data received {"connection_id":147682,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:15:42] local.INFO: Processing buffer {"connection_id":147682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:15:42] local.INFO: IMEI packet received {"connection_id":147682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":147682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:15:47] local.INFO: TCP Data received {"connection_id":147682,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:15:47] local.INFO: Processing buffer {"connection_id":147682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:15:47] local.INFO: IMEI packet received {"connection_id":147682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":147682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:15:48] local.INFO: TCP Data received {"connection_id":147682,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc024cca8012cbfe940076802d0004c01402f..."} 
[2026-08-02 07:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc024cca8012cbfe940076802d0004c01402f..."} 
[2026-08-02 07:15:48] local.INFO: Processing buffer {"connection_id":147682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc024cca8012cbfe940076802d0004c01402f..."} 
[2026-08-02 07:15:48] local.INFO: Packet analysis {"connection_id":147682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc024"} 
[2026-08-02 07:15:48] local.INFO: Extracted packet for processing {"connection_id":147682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc024"} 
[2026-08-02 07:15:48] local.INFO: GPS Element Parsed {"raw_longitude":750774592,"raw_latitude":124256976,"longitude_deg":75.0774592,"latitude_deg":12.4256976,"altitude":76,"angle":320,"satellites":47,"speed":45,"hex_longitude":"2cbfe940","hex_latitude":"076802d0","is_valid_coordinates":true} 
[2026-08-02 07: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-08-02 07:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122574336001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367064848762142720,"note":"Value kept but may cause issues"} 
[2026-08-02 07:15:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4611052667922003968,"note":"Value kept but may cause issues"} 
[2026-08-02 07:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785635065000,"timestamp_ms":1785635065000,"timestamp_seconds":1785635065,"priority":1,"record_length":96,"hex_timestamp":"0000019fc024cca8"} 
[2026-08-02 07:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07: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-08-02 07:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122574336001,"66":27865,"121":206,"27":54016,"24":45,"16":367064848762142720,"44":-4611052667922003968},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-08-02 07:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122574336001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:15:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-02 07:15:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367064848762142720,"km_value":367064848762142.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:15:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4611052667922003968,"description":"Unknown IO ID 44"} 
[2026-08-02 07:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122574336001,"power":27865,"unknown_121":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-4611052667922003968}} 
[2026-08-02 07:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":147682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:15:48] local.INFO: GPS data processed {"connection_id":147682,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:15:48] local.INFO: Acknowledgment sent {"connection_id":147682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:16:19] local.INFO: TCP Data received {"connection_id":147682,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc024ebe8012cbfd08007681e70004d013c2f..."} 
[2026-08-02 07:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc024ebe8012cbfd08007681e70004d013c2f..."} 
[2026-08-02 07:16:19] local.INFO: Processing buffer {"connection_id":147682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc024ebe8012cbfd08007681e70004d013c2f..."} 
[2026-08-02 07:16:19] local.INFO: Packet analysis {"connection_id":147682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc024"} 
[2026-08-02 07:16:19] local.INFO: Extracted packet for processing {"connection_id":147682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc024"} 
[2026-08-02 07:16:19] local.INFO: GPS Element Parsed {"raw_longitude":750768256,"raw_latitude":124264048,"longitude_deg":75.0768256,"latitude_deg":12.4264048,"altitude":77,"angle":316,"satellites":47,"speed":48,"hex_longitude":"2cbfd080","hex_latitude":"07681e70","is_valid_coordinates":true} 
[2026-08-02 07:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122576640001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367065304028676096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:16:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4618089542337769472,"note":"Value kept but may cause issues"} 
[2026-08-02 07:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785635073000,"timestamp_ms":1785635073000,"timestamp_seconds":1785635073,"priority":1,"record_length":96,"hex_timestamp":"0000019fc024ebe8"} 
[2026-08-02 07:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122576640001,"66":27843,"121":206,"27":54016,"24":48,"16":367065304028676096,"44":-4618089542337769472},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-08-02 07:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122576640001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:16:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-02 07:16:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367065304028676096,"km_value":367065304028676.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:16:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4618089542337769472,"description":"Unknown IO ID 44"} 
[2026-08-02 07:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122576640001,"power":27843,"unknown_121":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-4618089542337769472}} 
[2026-08-02 07:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":147682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:16:19] local.INFO: GPS data processed {"connection_id":147682,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:16:19] local.INFO: Acknowledgment sent {"connection_id":147682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:16:42] local.INFO: TCP Data received {"connection_id":146670,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:16:42] local.INFO: Processing buffer {"connection_id":146670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:16:42] local.INFO: IMEI packet received {"connection_id":146670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":146670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:16:44] local.INFO: TCP Data received {"connection_id":146670,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:16:44] local.INFO: Processing buffer {"connection_id":146670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:16:44] local.INFO: IMEI packet received {"connection_id":146670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":146670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:16:47] local.INFO: TCP Data received {"connection_id":146670,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:16:47] local.INFO: Processing buffer {"connection_id":146670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:16:47] local.INFO: IMEI packet received {"connection_id":146670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":146670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:16:47] local.INFO: TCP Data received {"connection_id":146670,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0260910012cbe80c00768e658003f013b2f..."} 
[2026-08-02 07:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0260910012cbe80c00768e658003f013b2f..."} 
[2026-08-02 07:16:47] local.INFO: Processing buffer {"connection_id":146670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0260910012cbe80c00768e658003f013b2f..."} 
[2026-08-02 07:16:47] local.INFO: Packet analysis {"connection_id":146670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc026"} 
[2026-08-02 07:16:47] local.INFO: Extracted packet for processing {"connection_id":146670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc026"} 
[2026-08-02 07:16:47] local.INFO: GPS Element Parsed {"raw_longitude":750682304,"raw_latitude":124315224,"longitude_deg":75.0682304,"latitude_deg":12.4315224,"altitude":63,"angle":315,"satellites":47,"speed":61,"hex_longitude":"2cbe80c0","hex_latitude":"0768e658","is_valid_coordinates":true} 
[2026-08-02 07:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122595840001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367070183111524352,"note":"Value kept but may cause issues"} 
[2026-08-02 07:16:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4712102184545808384,"note":"Value kept but may cause issues"} 
[2026-08-02 07:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785635146000,"timestamp_ms":1785635146000,"timestamp_seconds":1785635146,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0260910"} 
[2026-08-02 07:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 07:16: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-08-02 07:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122595840001,"66":27876,"121":206,"27":54016,"24":61,"16":367070183111524352,"44":-4712102184545808384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-08-02 07:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122595840001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:16:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-02 07:16:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367070183111524352,"km_value":367070183111524.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:16:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4712102184545808384,"description":"Unknown IO ID 44"} 
[2026-08-02 07:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122595840001,"power":27876,"unknown_121":206,"unknown_27":54016,"ignition":61,"odometer":null,"unknown_44":-4712102184545808384}} 
[2026-08-02 07:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":146670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:16:47] local.INFO: GPS data processed {"connection_id":146670,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:16:47] local.INFO: Acknowledgment sent {"connection_id":146670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:16:53] local.INFO: TCP Data received {"connection_id":146670,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0262080012cbe680007690078003f013c30..."} 
[2026-08-02 07:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0262080012cbe680007690078003f013c30..."} 
[2026-08-02 07:16:53] local.INFO: Processing buffer {"connection_id":146670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0262080012cbe680007690078003f013c30..."} 
[2026-08-02 07:16:53] local.INFO: Packet analysis {"connection_id":146670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc026"} 
[2026-08-02 07:16:53] local.INFO: Extracted packet for processing {"connection_id":146670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc026"} 
[2026-08-02 07:16:53] local.INFO: GPS Element Parsed {"raw_longitude":750675968,"raw_latitude":124321912,"longitude_deg":75.0675968,"latitude_deg":12.4321912,"altitude":63,"angle":316,"satellites":48,"speed":60,"hex_longitude":"2cbe6800","hex_latitude":"07690078","is_valid_coordinates":true} 
[2026-08-02 07:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122597376001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367070621198188544,"note":"Value kept but may cause issues"} 
[2026-08-02 07:16:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4719561271427049472,"note":"Value kept but may cause issues"} 
[2026-08-02 07:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785635152000,"timestamp_ms":1785635152000,"timestamp_seconds":1785635152,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0262080"} 
[2026-08-02 07:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 07:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122597376001,"66":27843,"122":206,"27":54016,"24":60,"16":367070621198188544,"44":-4719561271427049472},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-08-02 07:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122597376001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:16:53] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-02 07:16:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367070621198188544,"km_value":367070621198188.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:16:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4719561271427049472,"description":"Unknown IO ID 44"} 
[2026-08-02 07:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122597376001,"power":27843,"unknown_122":206,"unknown_27":54016,"ignition":60,"odometer":null,"unknown_44":-4719561271427049472}} 
[2026-08-02 07:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":146670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:16:53] local.INFO: GPS data processed {"connection_id":146670,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:16:53] local.INFO: Acknowledgment sent {"connection_id":146670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:17:25] local.INFO: TCP Data received {"connection_id":146670,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0263bd8012cbe4b8007691cd8003f013a2f..."} 
[2026-08-02 07:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0263bd8012cbe4b8007691cd8003f013a2f..."} 
[2026-08-02 07:17:25] local.INFO: Processing buffer {"connection_id":146670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0263bd8012cbe4b8007691cd8003f013a2f..."} 
[2026-08-02 07:17:25] local.INFO: Packet analysis {"connection_id":146670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc026"} 
[2026-08-02 07:17:25] local.INFO: Extracted packet for processing {"connection_id":146670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc026"} 
[2026-08-02 07:17:25] local.INFO: GPS Element Parsed {"raw_longitude":750668672,"raw_latitude":124329176,"longitude_deg":75.0668672,"latitude_deg":12.4329176,"altitude":63,"angle":314,"satellites":47,"speed":54,"hex_longitude":"2cbe4b80","hex_latitude":"07691cd8","is_valid_coordinates":true} 
[2026-08-02 07:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122598912001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367071119414394880,"note":"Value kept but may cause issues"} 
[2026-08-02 07:17:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4726527777098926080,"note":"Value kept but may cause issues"} 
[2026-08-02 07:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785635159000,"timestamp_ms":1785635159000,"timestamp_seconds":1785635159,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0263bd8"} 
[2026-08-02 07:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 07:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122598912001,"66":27865,"122":206,"27":54016,"24":54,"16":367071119414394880,"44":-4726527777098926080},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-08-02 07:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122598912001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:17:25] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-02 07:17:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367071119414394880,"km_value":367071119414394.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:17:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4726527777098926080,"description":"Unknown IO ID 44"} 
[2026-08-02 07:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122598912001,"power":27865,"unknown_122":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4726527777098926080}} 
[2026-08-02 07:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":146670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:17:25] local.INFO: GPS data processed {"connection_id":146670,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:17:25] local.INFO: Acknowledgment sent {"connection_id":146670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:17:42] local.INFO: TCP Data received {"connection_id":148998,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:17:42] local.INFO: Processing buffer {"connection_id":148998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:17:42] local.INFO: IMEI packet received {"connection_id":148998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":148998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:17:42] local.INFO: TCP Data received {"connection_id":148998,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:17:42] local.INFO: Processing buffer {"connection_id":148998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:17:42] local.INFO: IMEI packet received {"connection_id":148998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":148998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:17:47] local.INFO: TCP Data received {"connection_id":148998,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:17:47] local.INFO: Processing buffer {"connection_id":148998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:17:47] local.INFO: IMEI packet received {"connection_id":148998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":148998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:17:48] local.INFO: TCP Data received {"connection_id":148998,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0265730012cbe3180076934b0004101392f..."} 
[2026-08-02 07:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0265730012cbe3180076934b0004101392f..."} 
[2026-08-02 07:17:48] local.INFO: Processing buffer {"connection_id":148998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0265730012cbe3180076934b0004101392f..."} 
[2026-08-02 07:17:48] local.INFO: Packet analysis {"connection_id":148998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc026"} 
[2026-08-02 07:17:48] local.INFO: Extracted packet for processing {"connection_id":148998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc026"} 
[2026-08-02 07:17:48] local.INFO: GPS Element Parsed {"raw_longitude":750662016,"raw_latitude":124335280,"longitude_deg":75.0662016,"latitude_deg":12.433528,"altitude":65,"angle":313,"satellites":47,"speed":47,"hex_longitude":"2cbe3180","hex_latitude":"076934b0","is_valid_coordinates":true} 
[2026-08-02 07: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-08-02 07:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122600704001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367071548911124480,"note":"Value kept but may cause issues"} 
[2026-08-02 07:17:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4734549813933320192,"note":"Value kept but may cause issues"} 
[2026-08-02 07:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785635166000,"timestamp_ms":1785635166000,"timestamp_seconds":1785635166,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0265730"} 
[2026-08-02 07:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07: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-08-02 07:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122600704001,"66":27767,"122":206,"27":54016,"24":47,"16":367071548911124480,"44":-4734549813933320192},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-08-02 07:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122600704001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:17:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-02 07:17:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367071548911124480,"km_value":367071548911124.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:17:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4734549813933320192,"description":"Unknown IO ID 44"} 
[2026-08-02 07:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122600704001,"power":27767,"unknown_122":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-4734549813933320192}} 
[2026-08-02 07:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":148998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:17:48] local.INFO: GPS data processed {"connection_id":148998,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:17:48] local.INFO: Acknowledgment sent {"connection_id":148998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:18:20] local.INFO: TCP Data received {"connection_id":148998,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0278fb0012cbdc1c0076a8730004100012f..."} 
[2026-08-02 07:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0278fb0012cbdc1c0076a8730004100012f..."} 
[2026-08-02 07:18:20] local.INFO: Processing buffer {"connection_id":148998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0278fb0012cbdc1c0076a8730004100012f..."} 
[2026-08-02 07:18:20] local.INFO: Packet analysis {"connection_id":148998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc027"} 
[2026-08-02 07:18:20] local.INFO: Extracted packet for processing {"connection_id":148998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc027"} 
[2026-08-02 07:18:20] local.INFO: GPS Element Parsed {"raw_longitude":750633408,"raw_latitude":124421936,"longitude_deg":75.0633408,"latitude_deg":12.4421936,"altitude":65,"angle":1,"satellites":47,"speed":51,"hex_longitude":"2cbdc1c0","hex_latitude":"076a8730","is_valid_coordinates":true} 
[2026-08-02 07:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122621184001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367076084396589056,"note":"Value kept but may cause issues"} 
[2026-08-02 07:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4773252623209611264,"note":"Value kept but may cause issues"} 
[2026-08-02 07:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785635246000,"timestamp_ms":1785635246000,"timestamp_seconds":1785635246,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0278fb0"} 
[2026-08-02 07:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-02 07:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122621184001,"66":27876,"122":206,"27":54016,"24":51,"16":367076084396589056,"44":-4773252623209611264},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-08-02 07:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122621184001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:18:20] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-02 07:18:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367076084396589056,"km_value":367076084396589.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4773252623209611264,"description":"Unknown IO ID 44"} 
[2026-08-02 07:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122621184001,"power":27876,"unknown_122":206,"unknown_27":54016,"ignition":51,"odometer":null,"unknown_44":-4773252623209611264}} 
[2026-08-02 07:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":148998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:18:20] local.INFO: GPS data processed {"connection_id":148998,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:18:20] local.INFO: Acknowledgment sent {"connection_id":148998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:18:47] local.INFO: TCP Data received {"connection_id":148999,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:18:47] local.INFO: Processing buffer {"connection_id":148999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:18:47] local.INFO: IMEI packet received {"connection_id":148999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":148999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:18:49] local.INFO: TCP Data received {"connection_id":148999,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:18:49] local.INFO: Processing buffer {"connection_id":148999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:18:49] local.INFO: IMEI packet received {"connection_id":148999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":148999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:18:51] local.INFO: TCP Data received {"connection_id":148999,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc027ab08012cbdc340076aaa280042000230..."} 
[2026-08-02 07:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc027ab08012cbdc340076aaa280042000230..."} 
[2026-08-02 07:18:51] local.INFO: Processing buffer {"connection_id":148999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc027ab08012cbdc340076aaa280042000230..."} 
[2026-08-02 07:18:51] local.INFO: Packet analysis {"connection_id":148999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc027"} 
[2026-08-02 07:18:51] local.INFO: Extracted packet for processing {"connection_id":148999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc027"} 
[2026-08-02 07:18:51] local.INFO: GPS Element Parsed {"raw_longitude":750633792,"raw_latitude":124430888,"longitude_deg":75.0633792,"latitude_deg":12.4430888,"altitude":66,"angle":2,"satellites":48,"speed":50,"hex_longitude":"2cbdc340","hex_latitude":"076aaa28","is_valid_coordinates":true} 
[2026-08-02 07:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122622976001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367076522483253248,"note":"Value kept but may cause issues"} 
[2026-08-02 07:18:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4773322991951466496,"note":"Value kept but may cause issues"} 
[2026-08-02 07:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785635253000,"timestamp_ms":1785635253000,"timestamp_seconds":1785635253,"priority":1,"record_length":96,"hex_timestamp":"0000019fc027ab08"} 
[2026-08-02 07:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 07:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122622976001,"66":27789,"122":206,"27":54016,"24":50,"16":367076522483253248,"44":-4773322991951466496},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-08-02 07:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122622976001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:18:51] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-02 07:18:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367076522483253248,"km_value":367076522483253.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:18:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4773322991951466496,"description":"Unknown IO ID 44"} 
[2026-08-02 07:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122622976001,"power":27789,"unknown_122":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-4773322991951466496}} 
[2026-08-02 07:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":148999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:18:51] local.INFO: GPS data processed {"connection_id":148999,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:18:51] local.INFO: Acknowledgment sent {"connection_id":148999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:18:52] local.INFO: TCP Data received {"connection_id":148999,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc027ca48012cbdc500076ad1880044000330..."} 
[2026-08-02 07:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc027ca48012cbdc500076ad1880044000330..."} 
[2026-08-02 07:18:52] local.INFO: Processing buffer {"connection_id":148999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc027ca48012cbdc500076ad1880044000330..."} 
[2026-08-02 07:18:52] local.INFO: Packet analysis {"connection_id":148999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc027"} 
[2026-08-02 07:18:52] local.INFO: Extracted packet for processing {"connection_id":148999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc027"} 
[2026-08-02 07:18:52] local.INFO: GPS Element Parsed {"raw_longitude":750634240,"raw_latitude":124440968,"longitude_deg":75.063424,"latitude_deg":12.4440968,"altitude":68,"angle":3,"satellites":48,"speed":50,"hex_longitude":"2cbdc500","hex_latitude":"076ad188","is_valid_coordinates":true} 
[2026-08-02 07:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122624768001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367077007814557696,"note":"Value kept but may cause issues"} 
[2026-08-02 07:18:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4772900779484108800,"note":"Value kept but may cause issues"} 
[2026-08-02 07:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785635261000,"timestamp_ms":1785635261000,"timestamp_seconds":1785635261,"priority":1,"record_length":96,"hex_timestamp":"0000019fc027ca48"} 
[2026-08-02 07:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-02 07:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122624768001,"66":27865,"122":206,"27":54016,"24":50,"16":367077007814557696,"44":-4772900779484108800},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-08-02 07:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122624768001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:18:52] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-02 07:18:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367077007814557696,"km_value":367077007814557.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:18:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4772900779484108800,"description":"Unknown IO ID 44"} 
[2026-08-02 07:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122624768001,"power":27865,"unknown_122":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-4772900779484108800}} 
[2026-08-02 07:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":148999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:18:52] local.INFO: GPS data processed {"connection_id":148999,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:18:52] local.INFO: Acknowledgment sent {"connection_id":148999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:19:23] local.INFO: TCP Data received {"connection_id":148999,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc027e5a0012cbdc680076af4800044000030..."} 
[2026-08-02 07:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc027e5a0012cbdc680076af4800044000030..."} 
[2026-08-02 07:19:23] local.INFO: Processing buffer {"connection_id":148999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc027e5a0012cbdc680076af4800044000030..."} 
[2026-08-02 07:19:23] local.INFO: Packet analysis {"connection_id":148999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc027"} 
[2026-08-02 07:19:23] local.INFO: Extracted packet for processing {"connection_id":148999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc027"} 
[2026-08-02 07:19:23] local.INFO: GPS Element Parsed {"raw_longitude":750634624,"raw_latitude":124449920,"longitude_deg":75.0634624,"latitude_deg":12.444992,"altitude":68,"angle":0,"satellites":48,"speed":51,"hex_longitude":"2cbdc680","hex_latitude":"076af480","is_valid_coordinates":true} 
[2026-08-02 07:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122626816001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367077445901221888,"note":"Value kept but may cause issues"} 
[2026-08-02 07:19:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4772408198272284672,"note":"Value kept but may cause issues"} 
[2026-08-02 07:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785635268000,"timestamp_ms":1785635268000,"timestamp_seconds":1785635268,"priority":1,"record_length":96,"hex_timestamp":"0000019fc027e5a0"} 
[2026-08-02 07:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122626816001,"66":27767,"122":206,"27":54016,"24":51,"16":367077445901221888,"44":-4772408198272284672},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-08-02 07:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122626816001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:19:23] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-02 07:19:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367077445901221888,"km_value":367077445901221.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:19:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4772408198272284672,"description":"Unknown IO ID 44"} 
[2026-08-02 07:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122626816001,"power":27767,"unknown_122":206,"unknown_27":54016,"ignition":51,"odometer":null,"unknown_44":-4772408198272284672}} 
[2026-08-02 07:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":148999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:19:23] local.INFO: GPS data processed {"connection_id":148999,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:19:23] local.INFO: Acknowledgment sent {"connection_id":148999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:19:39] local.INFO: TCP Data received {"connection_id":149000,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:19:39] local.INFO: Processing buffer {"connection_id":149000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:19:39] local.INFO: IMEI packet received {"connection_id":149000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":149000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:19:42] local.INFO: TCP Data received {"connection_id":149000,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:19:42] local.INFO: Processing buffer {"connection_id":149000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:19:42] local.INFO: IMEI packet received {"connection_id":149000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":149000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:19:46] local.INFO: TCP Data received {"connection_id":149000,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:19:46] local.INFO: Processing buffer {"connection_id":149000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:19:46] local.INFO: IMEI packet received {"connection_id":149000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":149000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:19:47] local.INFO: TCP Data received {"connection_id":149000,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc028e770012cbd3880076c09000039015c2e..."} 
[2026-08-02 07:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc028e770012cbd3880076c09000039015c2e..."} 
[2026-08-02 07:19:47] local.INFO: Processing buffer {"connection_id":149000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc028e770012cbd3880076c09000039015c2e..."} 
[2026-08-02 07:19:47] local.INFO: Packet analysis {"connection_id":149000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc028"} 
[2026-08-02 07:19:47] local.INFO: Extracted packet for processing {"connection_id":149000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc028"} 
[2026-08-02 07:19:47] local.INFO: GPS Element Parsed {"raw_longitude":750598272,"raw_latitude":124520704,"longitude_deg":75.0598272,"latitude_deg":12.4520704,"altitude":57,"angle":348,"satellites":46,"speed":55,"hex_longitude":"2cbd3880","hex_latitude":"076c0900","is_valid_coordinates":true} 
[2026-08-02 07:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122643712001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367081401566101504,"note":"Value kept but may cause issues"} 
[2026-08-02 07:19:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4808929576482439168,"note":"Value kept but may cause issues"} 
[2026-08-02 07:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785635334000,"timestamp_ms":1785635334000,"timestamp_seconds":1785635334,"priority":1,"record_length":96,"hex_timestamp":"0000019fc028e770"} 
[2026-08-02 07:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:19: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-08-02 07:19: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-08-02 07:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122643712001,"66":27865,"75":206,"27":54016,"24":55,"16":367081401566101504,"44":-4808929576482439168},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-08-02 07:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122643712001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:19:47] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-02 07:19:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367081401566101504,"km_value":367081401566101.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:19:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4808929576482439168,"description":"Unknown IO ID 44"} 
[2026-08-02 07:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122643712001,"power":27865,"unknown_75":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-4808929576482439168}} 
[2026-08-02 07:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":149000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:19:47] local.INFO: GPS data processed {"connection_id":149000,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:19:47] local.INFO: Acknowledgment sent {"connection_id":149000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:19:48] local.INFO: TCP Data received {"connection_id":149000,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02902c8012cbd3200076c2ec80038015d2d..."} 
[2026-08-02 07:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02902c8012cbd3200076c2ec80038015d2d..."} 
[2026-08-02 07:19:48] local.INFO: Processing buffer {"connection_id":149000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02902c8012cbd3200076c2ec80038015d2d..."} 
[2026-08-02 07:19:48] local.INFO: Packet analysis {"connection_id":149000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc029"} 
[2026-08-02 07:19:48] local.INFO: Extracted packet for processing {"connection_id":149000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc029"} 
[2026-08-02 07:19:48] local.INFO: GPS Element Parsed {"raw_longitude":750596608,"raw_latitude":124530376,"longitude_deg":75.0596608,"latitude_deg":12.4530376,"altitude":56,"angle":349,"satellites":45,"speed":55,"hex_longitude":"2cbd3200","hex_latitude":"076c2ec8","is_valid_coordinates":true} 
[2026-08-02 07: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-08-02 07:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122645504001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367081878307471360,"note":"Value kept but may cause issues"} 
[2026-08-02 07:19:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4811955432479719424,"note":"Value kept but may cause issues"} 
[2026-08-02 07:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785635341000,"timestamp_ms":1785635341000,"timestamp_seconds":1785635341,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02902c8"} 
[2026-08-02 07:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07: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-08-02 07:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122645504001,"66":27789,"75":206,"27":54016,"24":55,"16":367081878307471360,"44":-4811955432479719424},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-08-02 07:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122645504001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:19:48] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-02 07:19:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367081878307471360,"km_value":367081878307471.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:19:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4811955432479719424,"description":"Unknown IO ID 44"} 
[2026-08-02 07:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122645504001,"power":27789,"unknown_75":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-4811955432479719424}} 
[2026-08-02 07:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":149000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:19:48] local.INFO: GPS data processed {"connection_id":149000,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:19:48] local.INFO: Acknowledgment sent {"connection_id":149000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:20:20] local.INFO: TCP Data received {"connection_id":149000,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0291e20012cbd2bc0076c53d00037015f2f..."} 
[2026-08-02 07:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0291e20012cbd2bc0076c53d00037015f2f..."} 
[2026-08-02 07:20:20] local.INFO: Processing buffer {"connection_id":149000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0291e20012cbd2bc0076c53d00037015f2f..."} 
[2026-08-02 07:20:20] local.INFO: Packet analysis {"connection_id":149000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc029"} 
[2026-08-02 07:20:20] local.INFO: Extracted packet for processing {"connection_id":149000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc029"} 
[2026-08-02 07:20:20] local.INFO: GPS Element Parsed {"raw_longitude":750595008,"raw_latitude":124539856,"longitude_deg":75.0595008,"latitude_deg":12.4539856,"altitude":55,"angle":351,"satellites":47,"speed":53,"hex_longitude":"2cbd2bc0","hex_latitude":"076c53d0","is_valid_coordinates":true} 
[2026-08-02 07:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122647296001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367082346458906624,"note":"Value kept but may cause issues"} 
[2026-08-02 07:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4813785019825862656,"note":"Value kept but may cause issues"} 
[2026-08-02 07:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785635348000,"timestamp_ms":1785635348000,"timestamp_seconds":1785635348,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0291e20"} 
[2026-08-02 07:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-02 07:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122647296001,"66":27767,"75":206,"27":54016,"24":53,"16":367082346458906624,"44":-4813785019825862656},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-08-02 07:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122647296001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:20:20] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-02 07:20:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367082346458906624,"km_value":367082346458906.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4813785019825862656,"description":"Unknown IO ID 44"} 
[2026-08-02 07:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122647296001,"power":27767,"unknown_75":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4813785019825862656}} 
[2026-08-02 07:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":149000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:20:20] local.INFO: GPS data processed {"connection_id":149000,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:20:20] local.INFO: Acknowledgment sent {"connection_id":149000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:20:41] local.INFO: TCP Data received {"connection_id":146449,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:20:41] local.INFO: Processing buffer {"connection_id":146449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:20:41] local.INFO: IMEI packet received {"connection_id":146449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":146449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:20:42] local.INFO: TCP Data received {"connection_id":146449,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:20:42] local.INFO: Processing buffer {"connection_id":146449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:20:42] local.INFO: IMEI packet received {"connection_id":146449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":146449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:20:47] local.INFO: TCP Data received {"connection_id":146449,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:20:47] local.INFO: Processing buffer {"connection_id":146449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:20:47] local.INFO: IMEI packet received {"connection_id":146449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":146449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:20:49] local.INFO: TCP Data received {"connection_id":146449,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0293978012cbd25c0076c77580039015e2c..."} 
[2026-08-02 07:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0293978012cbd25c0076c77580039015e2c..."} 
[2026-08-02 07:20:49] local.INFO: Processing buffer {"connection_id":146449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0293978012cbd25c0076c77580039015e2c..."} 
[2026-08-02 07:20:49] local.INFO: Packet analysis {"connection_id":146449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc029"} 
[2026-08-02 07:20:49] local.INFO: Extracted packet for processing {"connection_id":146449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc029"} 
[2026-08-02 07:20:49] local.INFO: GPS Element Parsed {"raw_longitude":750593472,"raw_latitude":124548952,"longitude_deg":75.0593472,"latitude_deg":12.4548952,"altitude":57,"angle":350,"satellites":44,"speed":52,"hex_longitude":"2cbd25c0","hex_latitude":"076c7758","is_valid_coordinates":true} 
[2026-08-02 07:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122649088001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367082793135505408,"note":"Value kept but may cause issues"} 
[2026-08-02 07:20:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4815544238427877376,"note":"Value kept but may cause issues"} 
[2026-08-02 07:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785635355000,"timestamp_ms":1785635355000,"timestamp_seconds":1785635355,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0293978"} 
[2026-08-02 07:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 07:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122649088001,"66":27767,"75":206,"27":54016,"24":52,"16":367082793135505408,"44":-4815544238427877376},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-08-02 07:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122649088001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:20:49] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-02 07:20:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367082793135505408,"km_value":367082793135505.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:20:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4815544238427877376,"description":"Unknown IO ID 44"} 
[2026-08-02 07:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122649088001,"power":27767,"unknown_75":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-4815544238427877376}} 
[2026-08-02 07:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":146449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:20:49] local.INFO: GPS data processed {"connection_id":146449,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:20:49] local.INFO: Acknowledgment sent {"connection_id":146449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:21:20] local.INFO: TCP Data received {"connection_id":146449,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02954d0012cbd1fc0076c9a20003a015e2c..."} 
[2026-08-02 07:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02954d0012cbd1fc0076c9a20003a015e2c..."} 
[2026-08-02 07:21:20] local.INFO: Processing buffer {"connection_id":146449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02954d0012cbd1fc0076c9a20003a015e2c..."} 
[2026-08-02 07:21:20] local.INFO: Packet analysis {"connection_id":146449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc029"} 
[2026-08-02 07:21:20] local.INFO: Extracted packet for processing {"connection_id":146449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc029"} 
[2026-08-02 07:21:20] local.INFO: GPS Element Parsed {"raw_longitude":750591936,"raw_latitude":124557856,"longitude_deg":75.0591936,"latitude_deg":12.4557856,"altitude":58,"angle":350,"satellites":44,"speed":50,"hex_longitude":"2cbd1fc0","hex_latitude":"076c9a20","is_valid_coordinates":true} 
[2026-08-02 07:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122650880001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367083231222169600,"note":"Value kept but may cause issues"} 
[2026-08-02 07:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4817233088285812736,"note":"Value kept but may cause issues"} 
[2026-08-02 07:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785635362000,"timestamp_ms":1785635362000,"timestamp_seconds":1785635362,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02954d0"} 
[2026-08-02 07:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 07:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122650880001,"66":27800,"75":206,"27":54016,"24":50,"16":367083231222169600,"44":-4817233088285812736},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-08-02 07:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122650880001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:21:20] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-02 07:21:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367083231222169600,"km_value":367083231222169.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4817233088285812736,"description":"Unknown IO ID 44"} 
[2026-08-02 07:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122650880001,"power":27800,"unknown_75":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-4817233088285812736}} 
[2026-08-02 07:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":146449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:21:20] local.INFO: GPS data processed {"connection_id":146449,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:21:20] local.INFO: Acknowledgment sent {"connection_id":146449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:21:42] local.INFO: TCP Data received {"connection_id":146671,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:21:42] local.INFO: Processing buffer {"connection_id":146671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:21:42] local.INFO: IMEI packet received {"connection_id":146671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":146671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:21:47] local.INFO: TCP Data received {"connection_id":146671,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:21:47] local.INFO: Processing buffer {"connection_id":146671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:21:47] local.INFO: IMEI packet received {"connection_id":146671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":146671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:21:49] local.INFO: TCP Data received {"connection_id":146671,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0297410012cbd1940076cc0d0003c015e2d..."} 
[2026-08-02 07:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0297410012cbd1940076cc0d0003c015e2d..."} 
[2026-08-02 07:21:49] local.INFO: Processing buffer {"connection_id":146671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0297410012cbd1940076cc0d0003c015e2d..."} 
[2026-08-02 07:21:49] local.INFO: Packet analysis {"connection_id":146671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc029"} 
[2026-08-02 07:21:49] local.INFO: Extracted packet for processing {"connection_id":146671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc029"} 
[2026-08-02 07:21:49] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124567760,"longitude_deg":75.0590272,"latitude_deg":12.456776,"altitude":60,"angle":350,"satellites":45,"speed":49,"hex_longitude":"2cbd1940","hex_latitude":"076cc0d0","is_valid_coordinates":true} 
[2026-08-02 07:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122652672001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367083716553474048,"note":"Value kept but may cause issues"} 
[2026-08-02 07:21:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4818921938143797248,"note":"Value kept but may cause issues"} 
[2026-08-02 07:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785635370000,"timestamp_ms":1785635370000,"timestamp_seconds":1785635370,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0297410"} 
[2026-08-02 07:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-02 07:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122652672001,"66":27919,"75":206,"27":54016,"24":49,"16":367083716553474048,"44":-4818921938143797248},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-08-02 07:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122652672001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:21:49] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-02 07:21:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367083716553474048,"km_value":367083716553474.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:21:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4818921938143797248,"description":"Unknown IO ID 44"} 
[2026-08-02 07:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122652672001,"power":27919,"unknown_75":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4818921938143797248}} 
[2026-08-02 07:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":146671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:21:49] local.INFO: GPS data processed {"connection_id":146671,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:21:49] local.INFO: Acknowledgment sent {"connection_id":146671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:22:21] local.INFO: TCP Data received {"connection_id":146671,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02afab0012cbcfa40076e5058004a01612f..."} 
[2026-08-02 07:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02afab0012cbcfa40076e5058004a01612f..."} 
[2026-08-02 07:22:21] local.INFO: Processing buffer {"connection_id":146671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02afab0012cbcfa40076e5058004a01612f..."} 
[2026-08-02 07:22:21] local.INFO: Packet analysis {"connection_id":146671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02a"} 
[2026-08-02 07:22:21] local.INFO: Extracted packet for processing {"connection_id":146671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02a"} 
[2026-08-02 07:22:21] local.INFO: GPS Element Parsed {"raw_longitude":750582336,"raw_latitude":124670040,"longitude_deg":75.0582336,"latitude_deg":12.467004,"altitude":74,"angle":353,"satellites":47,"speed":39,"hex_longitude":"2cbcfa40","hex_latitude":"076e5058","is_valid_coordinates":true} 
[2026-08-02 07:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122678016001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367088741665210368,"note":"Value kept but may cause issues"} 
[2026-08-02 07:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4829055037279039488,"note":"Value kept but may cause issues"} 
[2026-08-02 07:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785635470000,"timestamp_ms":1785635470000,"timestamp_seconds":1785635470,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02afab0"} 
[2026-08-02 07:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 07:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122678016001,"66":27843,"74":206,"27":54016,"24":39,"16":367088741665210368,"44":-4829055037279039488},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,44]} 
[2026-08-02 07:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122678016001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:22:21] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-02 07:22:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367088741665210368,"km_value":367088741665210.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4829055037279039488,"description":"Unknown IO ID 44"} 
[2026-08-02 07:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122678016001,"power":27843,"unknown_74":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-4829055037279039488}} 
[2026-08-02 07:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":146671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:22:21] local.INFO: GPS data processed {"connection_id":146671,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:22:21] local.INFO: Acknowledgment sent {"connection_id":146671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:22:42] local.INFO: TCP Data received {"connection_id":146450,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:22:42] local.INFO: Processing buffer {"connection_id":146450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:22:42] local.INFO: IMEI packet received {"connection_id":146450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":146450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:22:47] local.INFO: TCP Data received {"connection_id":146450,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:22:47] local.INFO: Processing buffer {"connection_id":146450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:22:47] local.INFO: IMEI packet received {"connection_id":146450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":146450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:22:48] local.INFO: TCP Data received {"connection_id":146450,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02b21c0012cbcf280076e7508004b01592f..."} 
[2026-08-02 07:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02b21c0012cbcf280076e7508004b01592f..."} 
[2026-08-02 07:22:48] local.INFO: Processing buffer {"connection_id":146450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02b21c0012cbcf280076e7508004b01592f..."} 
[2026-08-02 07:22:48] local.INFO: Packet analysis {"connection_id":146450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02b"} 
[2026-08-02 07:22:48] local.INFO: Extracted packet for processing {"connection_id":146450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02b"} 
[2026-08-02 07:22:48] local.INFO: GPS Element Parsed {"raw_longitude":750580352,"raw_latitude":124679432,"longitude_deg":75.0580352,"latitude_deg":12.4679432,"altitude":75,"angle":345,"satellites":47,"speed":37,"hex_longitude":"2cbcf280","hex_latitude":"076e7508","is_valid_coordinates":true} 
[2026-08-02 07:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122680320001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367089209816645632,"note":"Value kept but may cause issues"} 
[2026-08-02 07:22:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4829477249741727744,"note":"Value kept but may cause issues"} 
[2026-08-02 07:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785635480000,"timestamp_ms":1785635480000,"timestamp_seconds":1785635480,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02b21c0"} 
[2026-08-02 07:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 07:22: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-08-02 07:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122680320001,"66":27843,"74":206,"27":54016,"24":37,"16":367089209816645632,"44":-4829477249741727744},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,44]} 
[2026-08-02 07:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122680320001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:22:48] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-02 07:22:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367089209816645632,"km_value":367089209816645.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:22:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4829477249741727744,"description":"Unknown IO ID 44"} 
[2026-08-02 07:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122680320001,"power":27843,"unknown_74":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4829477249741727744}} 
[2026-08-02 07:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":146450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:22:48] local.INFO: GPS data processed {"connection_id":146450,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:22:48] local.INFO: Acknowledgment sent {"connection_id":146450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:23:19] local.INFO: TCP Data received {"connection_id":146450,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02b48d0012cbcea00076e9718004c015c30..."} 
[2026-08-02 07:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02b48d0012cbcea00076e9718004c015c30..."} 
[2026-08-02 07:23:19] local.INFO: Processing buffer {"connection_id":146450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02b48d0012cbcea00076e9718004c015c30..."} 
[2026-08-02 07:23:19] local.INFO: Packet analysis {"connection_id":146450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02b"} 
[2026-08-02 07:23:19] local.INFO: Extracted packet for processing {"connection_id":146450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02b"} 
[2026-08-02 07:23:19] local.INFO: GPS Element Parsed {"raw_longitude":750578176,"raw_latitude":124688152,"longitude_deg":75.0578176,"latitude_deg":12.4688152,"altitude":76,"angle":348,"satellites":48,"speed":33,"hex_longitude":"2cbcea00","hex_latitude":"076e9718","is_valid_coordinates":true} 
[2026-08-02 07:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122682880001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367089643608342528,"note":"Value kept but may cause issues"} 
[2026-08-02 07:23:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4831658680808830976,"note":"Value kept but may cause issues"} 
[2026-08-02 07:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785635490000,"timestamp_ms":1785635490000,"timestamp_seconds":1785635490,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02b48d0"} 
[2026-08-02 07:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 07:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122682880001,"66":27843,"74":206,"27":54016,"24":33,"16":367089643608342528,"44":-4831658680808830976},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,44]} 
[2026-08-02 07:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122682880001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:23:19] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-02 07:23:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367089643608342528,"km_value":367089643608342.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:23:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4831658680808830976,"description":"Unknown IO ID 44"} 
[2026-08-02 07:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122682880001,"power":27843,"unknown_74":206,"unknown_27":54016,"ignition":33,"odometer":null,"unknown_44":-4831658680808830976}} 
[2026-08-02 07:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":146450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:23:20] local.INFO: GPS data processed {"connection_id":146450,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:23:20] local.INFO: Acknowledgment sent {"connection_id":146450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:23:42] local.INFO: TCP Data received {"connection_id":146672,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:23:42] local.INFO: Processing buffer {"connection_id":146672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:23:42] local.INFO: IMEI packet received {"connection_id":146672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":146672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:23:44] local.INFO: TCP Data received {"connection_id":146672,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:23:44] local.INFO: Processing buffer {"connection_id":146672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:23:44] local.INFO: IMEI packet received {"connection_id":146672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":146672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:23:44] local.INFO: TCP Data received {"connection_id":146672,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:23:44] local.INFO: Processing buffer {"connection_id":146672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:23:44] local.INFO: IMEI packet received {"connection_id":146672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":146672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:23:47] local.INFO: TCP Data received {"connection_id":146672,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:23:47] local.INFO: Processing buffer {"connection_id":146672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:23:47] local.INFO: IMEI packet received {"connection_id":146672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":146672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:23:48] local.INFO: TCP Data received {"connection_id":146672,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 07:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 07:23:48] local.INFO: Processing buffer {"connection_id":146672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 07:23:48] local.INFO: Packet analysis {"connection_id":146672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02c"} 
[2026-08-02 07:23:48] local.INFO: Extracted packet for processing {"connection_id":146672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02c"} 
[2026-08-02 07:23:48] local.INFO: GPS Element Parsed {"raw_longitude":750592640,"raw_latitude":124741840,"longitude_deg":75.059264,"latitude_deg":12.474184,"altitude":90,"angle":344,"satellites":45,"speed":35,"hex_longitude":"2cbd2280","hex_latitude":"076f68d0","is_valid_coordinates":true} 
[2026-08-02 07:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122702592001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367092448221986816,"note":"Value kept but may cause issues"} 
[2026-08-02 07:23:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4817655300702160896,"note":"Value kept but may cause issues"} 
[2026-08-02 07:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785635560000,"timestamp_ms":1785635560000,"timestamp_seconds":1785635560,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02c5a40"} 
[2026-08-02 07:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122702592001,"66":27843,"195":206,"27":54016,"24":35,"16":367092448221986816,"44":-4817655300702160896},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-08-02 07:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122702592001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:23:48] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-02 07:23:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367092448221986816,"km_value":367092448221986.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:23:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4817655300702160896,"description":"Unknown IO ID 44"} 
[2026-08-02 07:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122702592001,"power":27843,"unknown_195":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4817655300702160896}} 
[2026-08-02 07:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":146672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:23:48] local.INFO: GPS data processed {"connection_id":146672,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:23:48] local.INFO: Acknowledgment sent {"connection_id":146672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:24:19] local.INFO: TCP Data received {"connection_id":146672,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02c6dc8012cbd1b80076f79c00059014b2d..."} 
[2026-08-02 07:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02c6dc8012cbd1b80076f79c00059014b2d..."} 
[2026-08-02 07:24:19] local.INFO: Processing buffer {"connection_id":146672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02c6dc8012cbd1b80076f79c00059014b2d..."} 
[2026-08-02 07:24:19] local.INFO: Packet analysis {"connection_id":146672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02c"} 
[2026-08-02 07:24:19] local.INFO: Extracted packet for processing {"connection_id":146672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02c"} 
[2026-08-02 07:24:19] local.INFO: GPS Element Parsed {"raw_longitude":750590848,"raw_latitude":124746176,"longitude_deg":75.0590848,"latitude_deg":12.4746176,"altitude":89,"angle":331,"satellites":45,"speed":39,"hex_longitude":"2cbd1b80","hex_latitude":"076f79c0","is_valid_coordinates":true} 
[2026-08-02 07:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122703360001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367092675855253504,"note":"Value kept but may cause issues"} 
[2026-08-02 07:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4818147881910743040,"note":"Value kept but may cause issues"} 
[2026-08-02 07:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785635565000,"timestamp_ms":1785635565000,"timestamp_seconds":1785635565,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02c6dc8"} 
[2026-08-02 07:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 07:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122703360001,"66":27919,"195":206,"27":54016,"24":39,"16":367092675855253504,"44":-4818147881910743040},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-08-02 07:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122703360001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:24:19] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-02 07:24:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367092675855253504,"km_value":367092675855253.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4818147881910743040,"description":"Unknown IO ID 44"} 
[2026-08-02 07:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122703360001,"power":27919,"unknown_195":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-4818147881910743040}} 
[2026-08-02 07:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":146672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:24:19] local.INFO: GPS data processed {"connection_id":146672,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:24:19] local.INFO: Acknowledgment sent {"connection_id":146672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:24:47] local.INFO: TCP Data received {"connection_id":149001,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:24:47] local.INFO: Processing buffer {"connection_id":149001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:24:47] local.INFO: IMEI packet received {"connection_id":149001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":149001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:24:49] local.INFO: TCP Data received {"connection_id":149001,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:24:49] local.INFO: Processing buffer {"connection_id":149001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:24:49] local.INFO: IMEI packet received {"connection_id":149001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":149001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:24:51] local.INFO: TCP Data received {"connection_id":149001,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02c94d8012cbd0880076f9b08005a01522b..."} 
[2026-08-02 07:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02c94d8012cbd0880076f9b08005a01522b..."} 
[2026-08-02 07:24:51] local.INFO: Processing buffer {"connection_id":149001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02c94d8012cbd0880076f9b08005a01522b..."} 
[2026-08-02 07:24:51] local.INFO: Packet analysis {"connection_id":149001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02c"} 
[2026-08-02 07:24:51] local.INFO: Extracted packet for processing {"connection_id":149001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02c"} 
[2026-08-02 07:24:51] local.INFO: GPS Element Parsed {"raw_longitude":750585984,"raw_latitude":124754696,"longitude_deg":75.0585984,"latitude_deg":12.4754696,"altitude":90,"angle":338,"satellites":43,"speed":37,"hex_longitude":"2cbd0880","hex_latitude":"076f9b08","is_valid_coordinates":true} 
[2026-08-02 07:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122704640001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367093148301656064,"note":"Value kept but may cause issues"} 
[2026-08-02 07:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820118206746607616,"note":"Value kept but may cause issues"} 
[2026-08-02 07:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785635575000,"timestamp_ms":1785635575000,"timestamp_seconds":1785635575,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02c94d8"} 
[2026-08-02 07:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 07:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122704640001,"66":27876,"195":206,"27":54016,"24":37,"16":367093148301656064,"44":-4820118206746607616},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-08-02 07:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122704640001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:24:51] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-02 07:24:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367093148301656064,"km_value":367093148301656.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820118206746607616,"description":"Unknown IO ID 44"} 
[2026-08-02 07:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122704640001,"power":27876,"unknown_195":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4820118206746607616}} 
[2026-08-02 07:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":149001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:24:51] local.INFO: GPS data processed {"connection_id":149001,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:24:51] local.INFO: Acknowledgment sent {"connection_id":149001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:24:52] local.INFO: TCP Data received {"connection_id":149001,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02cbfd0012cbcff80076fbda0005b015e2d..."} 
[2026-08-02 07:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02cbfd0012cbcff80076fbda0005b015e2d..."} 
[2026-08-02 07:24:52] local.INFO: Processing buffer {"connection_id":149001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02cbfd0012cbcff80076fbda0005b015e2d..."} 
[2026-08-02 07:24:52] local.INFO: Packet analysis {"connection_id":149001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02c"} 
[2026-08-02 07:24:52] local.INFO: Extracted packet for processing {"connection_id":149001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02c"} 
[2026-08-02 07:24:52] local.INFO: GPS Element Parsed {"raw_longitude":750583680,"raw_latitude":124763552,"longitude_deg":75.058368,"latitude_deg":12.4763552,"altitude":91,"angle":350,"satellites":45,"speed":33,"hex_longitude":"2cbcff80","hex_latitude":"076fbda0","is_valid_coordinates":true} 
[2026-08-02 07:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122707200001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367093594978254848,"note":"Value kept but may cause issues"} 
[2026-08-02 07:24:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4825466231301928960,"note":"Value kept but may cause issues"} 
[2026-08-02 07:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785635586000,"timestamp_ms":1785635586000,"timestamp_seconds":1785635586,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02cbfd0"} 
[2026-08-02 07:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 07:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122707200001,"66":27745,"195":206,"27":54016,"24":33,"16":367093594978254848,"44":-4825466231301928960},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-08-02 07:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122707200001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:24:52] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-02 07:24:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367093594978254848,"km_value":367093594978254.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:24:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4825466231301928960,"description":"Unknown IO ID 44"} 
[2026-08-02 07:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122707200001,"power":27745,"unknown_195":206,"unknown_27":54016,"ignition":33,"odometer":null,"unknown_44":-4825466231301928960}} 
[2026-08-02 07:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":149001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:24:52] local.INFO: GPS data processed {"connection_id":149001,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:24:52] local.INFO: Acknowledgment sent {"connection_id":149001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:25:24] local.INFO: TCP Data received {"connection_id":149001,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02cbfd0012cbcff80076fbda0005b015e2d..."} 
[2026-08-02 07:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02cbfd0012cbcff80076fbda0005b015e2d..."} 
[2026-08-02 07:25:24] local.INFO: Processing buffer {"connection_id":149001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02cbfd0012cbcff80076fbda0005b015e2d..."} 
[2026-08-02 07:25:24] local.INFO: Packet analysis {"connection_id":149001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02c"} 
[2026-08-02 07:25:24] local.INFO: Extracted packet for processing {"connection_id":149001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02c"} 
[2026-08-02 07:25:24] local.INFO: GPS Element Parsed {"raw_longitude":750583680,"raw_latitude":124763552,"longitude_deg":75.058368,"latitude_deg":12.4763552,"altitude":91,"angle":350,"satellites":45,"speed":33,"hex_longitude":"2cbcff80","hex_latitude":"076fbda0","is_valid_coordinates":true} 
[2026-08-02 07:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122710016001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367093594978254848,"note":"Value kept but may cause issues"} 
[2026-08-02 07:25:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4827999506090057728,"note":"Value kept but may cause issues"} 
[2026-08-02 07:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785635586000,"timestamp_ms":1785635586000,"timestamp_seconds":1785635586,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02cbfd0"} 
[2026-08-02 07:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 07:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122710016001,"66":27745,"195":206,"27":54016,"24":33,"16":367093594978254848,"44":-4827999506090057728},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-08-02 07:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122710016001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:25:24] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-02 07:25:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367093594978254848,"km_value":367093594978254.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:25:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4827999506090057728,"description":"Unknown IO ID 44"} 
[2026-08-02 07:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122710016001,"power":27745,"unknown_195":206,"unknown_27":54016,"ignition":33,"odometer":null,"unknown_44":-4827999506090057728}} 
[2026-08-02 07:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":149001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:25:24] local.INFO: GPS data processed {"connection_id":149001,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:25:24] local.INFO: Acknowledgment sent {"connection_id":149001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:25:40] local.INFO: TCP Data received {"connection_id":147683,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:25:40] local.INFO: Processing buffer {"connection_id":147683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:25:40] local.INFO: IMEI packet received {"connection_id":147683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":147683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:25:42] local.INFO: TCP Data received {"connection_id":147683,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:25:42] local.INFO: Processing buffer {"connection_id":147683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:25:42] local.INFO: IMEI packet received {"connection_id":147683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":147683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:25:53] local.INFO: TCP Data received {"connection_id":147683,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:25:53] local.INFO: Processing buffer {"connection_id":147683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:25:53] local.INFO: IMEI packet received {"connection_id":147683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":147683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:25:55] local.INFO: TCP Data received {"connection_id":147683,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02e32e8012cbccac0077121c0004400032d..."} 
[2026-08-02 07:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02e32e8012cbccac0077121c0004400032d..."} 
[2026-08-02 07:25:55] local.INFO: Processing buffer {"connection_id":147683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02e32e8012cbccac0077121c0004400032d..."} 
[2026-08-02 07:25:55] local.INFO: Packet analysis {"connection_id":147683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02e"} 
[2026-08-02 07:25:55] local.INFO: Extracted packet for processing {"connection_id":147683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02e"} 
[2026-08-02 07:25:55] local.INFO: GPS Element Parsed {"raw_longitude":750570176,"raw_latitude":124854720,"longitude_deg":75.0570176,"latitude_deg":12.485472,"altitude":68,"angle":3,"satellites":45,"speed":48,"hex_longitude":"2cbccac0","hex_latitude":"077121c0","is_valid_coordinates":true} 
[2026-08-02 07:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122732288001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367098096103981056,"note":"Value kept but may cause issues"} 
[2026-08-02 07:25:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4844043579741536256,"note":"Value kept but may cause issues"} 
[2026-08-02 07:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785635681000,"timestamp_ms":1785635681000,"timestamp_seconds":1785635681,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02e32e8"} 
[2026-08-02 07:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-02 07:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122732288001,"66":28050,"105":206,"27":54016,"24":48,"16":367098096103981056,"44":-4844043579741536256},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 07:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122732288001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:25:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 07:25:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367098096103981056,"km_value":367098096103981.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:25:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4844043579741536256,"description":"Unknown IO ID 44"} 
[2026-08-02 07:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122732288001,"power":28050,"unknown_105":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-4844043579741536256}} 
[2026-08-02 07:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":147683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:25:55] local.INFO: GPS data processed {"connection_id":147683,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:25:55] local.INFO: Acknowledgment sent {"connection_id":147683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:25:56] local.INFO: TCP Data received {"connection_id":147683,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02e4e40012cbcce8007714188004300152b..."} 
[2026-08-02 07:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02e4e40012cbcce8007714188004300152b..."} 
[2026-08-02 07:25:56] local.INFO: Processing buffer {"connection_id":147683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02e4e40012cbcce8007714188004300152b..."} 
[2026-08-02 07:25:56] local.INFO: Packet analysis {"connection_id":147683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02e"} 
[2026-08-02 07:25:56] local.INFO: Extracted packet for processing {"connection_id":147683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02e"} 
[2026-08-02 07:25:56] local.INFO: GPS Element Parsed {"raw_longitude":750571136,"raw_latitude":124862856,"longitude_deg":75.0571136,"latitude_deg":12.4862856,"altitude":67,"angle":21,"satellites":43,"speed":41,"hex_longitude":"2cbcce80","hex_latitude":"07714188","is_valid_coordinates":true} 
[2026-08-02 07: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-08-02 07:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122734336001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367098495535939584,"note":"Value kept but may cause issues"} 
[2026-08-02 07:25:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4842847311088205824,"note":"Value kept but may cause issues"} 
[2026-08-02 07:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785635688000,"timestamp_ms":1785635688000,"timestamp_seconds":1785635688,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02e4e40"} 
[2026-08-02 07:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-02 07:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07: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-08-02 07:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122734336001,"66":27517,"105":206,"27":54016,"24":41,"16":367098495535939584,"44":-4842847311088205824},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 07:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122734336001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:25:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 07:25:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367098495535939584,"km_value":367098495535939.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:25:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4842847311088205824,"description":"Unknown IO ID 44"} 
[2026-08-02 07:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122734336001,"power":27517,"unknown_105":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-4842847311088205824}} 
[2026-08-02 07:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":147683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:25:56] local.INFO: GPS data processed {"connection_id":147683,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:25:56] local.INFO: Acknowledgment sent {"connection_id":147683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:26:27] local.INFO: TCP Data received {"connection_id":147683,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02f09c0012cbd0c8007717f800032014928..."} 
[2026-08-02 07:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02f09c0012cbd0c8007717f800032014928..."} 
[2026-08-02 07:26:27] local.INFO: Processing buffer {"connection_id":147683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02f09c0012cbd0c8007717f800032014928..."} 
[2026-08-02 07:26:27] local.INFO: Packet analysis {"connection_id":147683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02f"} 
[2026-08-02 07:26:27] local.INFO: Extracted packet for processing {"connection_id":147683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02f"} 
[2026-08-02 07:26:27] local.INFO: GPS Element Parsed {"raw_longitude":750587008,"raw_latitude":124878720,"longitude_deg":75.0587008,"latitude_deg":12.487872,"altitude":50,"angle":329,"satellites":40,"speed":46,"hex_longitude":"2cbd0c80","hex_latitude":"07717f80","is_valid_coordinates":true} 
[2026-08-02 07:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122747648001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367100058904035328,"note":"Value kept but may cause issues"} 
[2026-08-02 07:26:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822862587736420352,"note":"Value kept but may cause issues"} 
[2026-08-02 07:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785635736000,"timestamp_ms":1785635736000,"timestamp_seconds":1785635736,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02f09c0"} 
[2026-08-02 07:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 07:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":147683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":147683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":147683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122747648001,"66":27767,"105":206,"27":54016,"24":46,"16":367100058904035328,"44":-4822862587736420352},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 07:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122747648001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:26:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 07:26:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367100058904035328,"km_value":367100058904035.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:26:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822862587736420352,"description":"Unknown IO ID 44"} 
[2026-08-02 07:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122747648001,"power":27767,"unknown_105":206,"unknown_27":54016,"ignition":46,"odometer":null,"unknown_44":-4822862587736420352}} 
[2026-08-02 07:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":147683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:26:27] local.INFO: GPS data processed {"connection_id":147683,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:26:27] local.INFO: Acknowledgment sent {"connection_id":147683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:26:41] local.INFO: TCP Data received {"connection_id":149002,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:26:41] local.INFO: Processing buffer {"connection_id":149002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:26:41] local.INFO: IMEI packet received {"connection_id":149002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":149002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:26:42] local.INFO: TCP Data received {"connection_id":149002,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:26:42] local.INFO: Processing buffer {"connection_id":149002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:26:42] local.INFO: IMEI packet received {"connection_id":149002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":149002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:26:47] local.INFO: TCP Data received {"connection_id":149002,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:26:47] local.INFO: Processing buffer {"connection_id":149002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:26:47] local.INFO: IMEI packet received {"connection_id":149002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":149002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:26:48] local.INFO: TCP Data received {"connection_id":149002,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02f1578012cbd03c007718a500030013829..."} 
[2026-08-02 07:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02f1578012cbd03c007718a500030013829..."} 
[2026-08-02 07:26:48] local.INFO: Processing buffer {"connection_id":149002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02f1578012cbd03c007718a500030013829..."} 
[2026-08-02 07:26:48] local.INFO: Packet analysis {"connection_id":149002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02f"} 
[2026-08-02 07:26:48] local.INFO: Extracted packet for processing {"connection_id":149002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02f"} 
[2026-08-02 07:26:48] local.INFO: GPS Element Parsed {"raw_longitude":750584768,"raw_latitude":124881488,"longitude_deg":75.0584768,"latitude_deg":12.4881488,"altitude":48,"angle":312,"satellites":41,"speed":47,"hex_longitude":"2cbd03c0","hex_latitude":"07718a50","is_valid_coordinates":true} 
[2026-08-02 07:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122748416001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367100230702727168,"note":"Value kept but may cause issues"} 
[2026-08-02 07:26:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4824340331363336192,"note":"Value kept but may cause issues"} 
[2026-08-02 07:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785635739000,"timestamp_ms":1785635739000,"timestamp_seconds":1785635739,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02f1578"} 
[2026-08-02 07:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 07:26: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-08-02 07:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122748416001,"66":27615,"105":206,"27":54016,"24":47,"16":367100230702727168,"44":-4824340331363336192},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 07:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122748416001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:26:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 07:26:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367100230702727168,"km_value":367100230702727.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:26:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4824340331363336192,"description":"Unknown IO ID 44"} 
[2026-08-02 07:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122748416001,"power":27615,"unknown_105":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-4824340331363336192}} 
[2026-08-02 07:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":149002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:26:48] local.INFO: GPS data processed {"connection_id":149002,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:26:48] local.INFO: Acknowledgment sent {"connection_id":149002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:27:20] local.INFO: TCP Data received {"connection_id":149002,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02fd8c8012cbc76000771e578000e002b2e..."} 
[2026-08-02 07:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02fd8c8012cbc76000771e578000e002b2e..."} 
[2026-08-02 07:27:20] local.INFO: Processing buffer {"connection_id":149002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02fd8c8012cbc76000771e578000e002b2e..."} 
[2026-08-02 07:27:20] local.INFO: Packet analysis {"connection_id":149002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02f"} 
[2026-08-02 07:27:20] local.INFO: Extracted packet for processing {"connection_id":149002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02f"} 
[2026-08-02 07:27:20] local.INFO: GPS Element Parsed {"raw_longitude":750548480,"raw_latitude":124904824,"longitude_deg":75.054848,"latitude_deg":12.4904824,"altitude":14,"angle":43,"satellites":46,"speed":37,"hex_longitude":"2cbc7600","hex_latitude":"0771e578","is_valid_coordinates":true} 
[2026-08-02 07:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122761472001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367102764733431808,"note":"Value kept but may cause issues"} 
[2026-08-02 07:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4867968952747188224,"note":"Value kept but may cause issues"} 
[2026-08-02 07:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785635789000,"timestamp_ms":1785635789000,"timestamp_seconds":1785635789,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02fd8c8"} 
[2026-08-02 07:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-02 07:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122761472001,"66":27930,"105":206,"27":54016,"24":37,"16":367102764733431808,"44":-4867968952747188224},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 07:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122761472001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:27:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 07:27:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367102764733431808,"km_value":367102764733431.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4867968952747188224,"description":"Unknown IO ID 44"} 
[2026-08-02 07:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122761472001,"power":27930,"unknown_105":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4867968952747188224}} 
[2026-08-02 07:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":149002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:27:20] local.INFO: GPS data processed {"connection_id":149002,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:27:20] local.INFO: Acknowledgment sent {"connection_id":149002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:27:41] local.INFO: TCP Data received {"connection_id":146451,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:27:42] local.INFO: Processing buffer {"connection_id":146451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:27:42] local.INFO: IMEI packet received {"connection_id":146451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":146451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:27:44] local.INFO: TCP Data received {"connection_id":146451,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:27:44] local.INFO: Processing buffer {"connection_id":146451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:27:44] local.INFO: IMEI packet received {"connection_id":146451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":146451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:27:47] local.INFO: TCP Data received {"connection_id":146451,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:27:47] local.INFO: Processing buffer {"connection_id":146451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:27:47] local.INFO: IMEI packet received {"connection_id":146451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":146451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:27:47] local.INFO: TCP Data received {"connection_id":146451,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02fe480012cbc7f400771ecb8000d003830..."} 
[2026-08-02 07:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02fe480012cbc7f400771ecb8000d003830..."} 
[2026-08-02 07:27:47] local.INFO: Processing buffer {"connection_id":146451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02fe480012cbc7f400771ecb8000d003830..."} 
[2026-08-02 07:27:47] local.INFO: Packet analysis {"connection_id":146451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02f"} 
[2026-08-02 07:27:47] local.INFO: Extracted packet for processing {"connection_id":146451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02f"} 
[2026-08-02 07:27:47] local.INFO: GPS Element Parsed {"raw_longitude":750550848,"raw_latitude":124906680,"longitude_deg":75.0550848,"latitude_deg":12.490668,"altitude":13,"angle":56,"satellites":48,"speed":41,"hex_longitude":"2cbc7f40","hex_latitude":"0771ecb8","is_valid_coordinates":true} 
[2026-08-02 07:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122761984001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367102910762319872,"note":"Value kept but may cause issues"} 
[2026-08-02 07:27:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4866702315351607296,"note":"Value kept but may cause issues"} 
[2026-08-02 07:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785635792000,"timestamp_ms":1785635792000,"timestamp_seconds":1785635792,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02fe480"} 
[2026-08-02 07:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-02 07:27: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-08-02 07:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122761984001,"66":27908,"105":206,"27":54016,"24":41,"16":367102910762319872,"44":-4866702315351607296},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 07:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122761984001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:27:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 07:27:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367102910762319872,"km_value":367102910762319.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:27:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4866702315351607296,"description":"Unknown IO ID 44"} 
[2026-08-02 07:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122761984001,"power":27908,"unknown_105":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-4866702315351607296}} 
[2026-08-02 07:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":146451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:27:47] local.INFO: GPS data processed {"connection_id":146451,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:27:47] local.INFO: Acknowledgment sent {"connection_id":146451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:27:53] local.INFO: TCP Data received {"connection_id":146451,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03003c0012cbc9b80077200c8000c002c2d..."} 
[2026-08-02 07:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03003c0012cbc9b80077200c8000c002c2d..."} 
[2026-08-02 07:27:53] local.INFO: Processing buffer {"connection_id":146451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03003c0012cbc9b80077200c8000c002c2d..."} 
[2026-08-02 07:27:53] local.INFO: Packet analysis {"connection_id":146451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc030"} 
[2026-08-02 07:27:53] local.INFO: Extracted packet for processing {"connection_id":146451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc030"} 
[2026-08-02 07:27:53] local.INFO: GPS Element Parsed {"raw_longitude":750558080,"raw_latitude":124911816,"longitude_deg":75.055808,"latitude_deg":12.4911816,"altitude":12,"angle":44,"satellites":45,"speed":45,"hex_longitude":"2cbc9b80","hex_latitude":"077200c8","is_valid_coordinates":true} 
[2026-08-02 07:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122762752001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367103335964082176,"note":"Value kept but may cause issues"} 
[2026-08-02 07:27:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4864098671816558592,"note":"Value kept but may cause issues"} 
[2026-08-02 07:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785635800000,"timestamp_ms":1785635800000,"timestamp_seconds":1785635800,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03003c0"} 
[2026-08-02 07:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 07:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122762752001,"66":27767,"105":206,"27":54016,"24":45,"16":367103335964082176,"44":-4864098671816558592},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 07:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122762752001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:27:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 07:27:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367103335964082176,"km_value":367103335964082.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:27:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4864098671816558592,"description":"Unknown IO ID 44"} 
[2026-08-02 07:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122762752001,"power":27767,"unknown_105":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-4864098671816558592}} 
[2026-08-02 07:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":146451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:27:53] local.INFO: GPS data processed {"connection_id":146451,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:27:53] local.INFO: Acknowledgment sent {"connection_id":146451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:28:24] local.INFO: TCP Data received {"connection_id":146451,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0300f78012cbca40007720b20000d001f2d..."} 
[2026-08-02 07:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0300f78012cbca40007720b20000d001f2d..."} 
[2026-08-02 07:28:24] local.INFO: Processing buffer {"connection_id":146451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0300f78012cbca40007720b20000d001f2d..."} 
[2026-08-02 07:28:24] local.INFO: Packet analysis {"connection_id":146451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc030"} 
[2026-08-02 07:28:24] local.INFO: Extracted packet for processing {"connection_id":146451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc030"} 
[2026-08-02 07:28:24] local.INFO: GPS Element Parsed {"raw_longitude":750560256,"raw_latitude":124914464,"longitude_deg":75.0560256,"latitude_deg":12.4914464,"altitude":13,"angle":31,"satellites":45,"speed":45,"hex_longitude":"2cbca400","hex_latitude":"07720b20","is_valid_coordinates":true} 
[2026-08-02 07:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122764800001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367103499172839424,"note":"Value kept but may cause issues"} 
[2026-08-02 07:28:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4856147003723167744,"note":"Value kept but may cause issues"} 
[2026-08-02 07:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785635803000,"timestamp_ms":1785635803000,"timestamp_seconds":1785635803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0300f78"} 
[2026-08-02 07:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 07:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122764800001,"66":27908,"105":206,"27":54016,"24":45,"16":367103499172839424,"44":-4856147003723167744},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 07:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122764800001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:28:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 07:28:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367103499172839424,"km_value":367103499172839.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:28:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4856147003723167744,"description":"Unknown IO ID 44"} 
[2026-08-02 07:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122764800001,"power":27908,"unknown_105":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-4856147003723167744}} 
[2026-08-02 07:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":146451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:28:24] local.INFO: GPS data processed {"connection_id":146451,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:28:24] local.INFO: Acknowledgment sent {"connection_id":146451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:28:42] local.INFO: TCP Data received {"connection_id":147684,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:28:42] local.INFO: Processing buffer {"connection_id":147684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:28:42] local.INFO: IMEI packet received {"connection_id":147684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":147684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:28:46] local.INFO: TCP Data received {"connection_id":147684,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:28:46] local.INFO: Processing buffer {"connection_id":147684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:28:46] local.INFO: IMEI packet received {"connection_id":147684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":147684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:28:47] local.INFO: TCP Data received {"connection_id":147684,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:28:47] local.INFO: Processing buffer {"connection_id":147684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:28:47] local.INFO: IMEI packet received {"connection_id":147684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":147684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:28:48] local.INFO: TCP Data received {"connection_id":147684,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0301b30012cbca940077216e8000d00102e..."} 
[2026-08-02 07:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0301b30012cbca940077216e8000d00102e..."} 
[2026-08-02 07:28:48] local.INFO: Processing buffer {"connection_id":147684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0301b30012cbca940077216e8000d00102e..."} 
[2026-08-02 07:28:48] local.INFO: Packet analysis {"connection_id":147684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc030"} 
[2026-08-02 07:28:48] local.INFO: Extracted packet for processing {"connection_id":147684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc030"} 
[2026-08-02 07:28:48] local.INFO: GPS Element Parsed {"raw_longitude":750561600,"raw_latitude":124917480,"longitude_deg":75.05616,"latitude_deg":12.491748,"altitude":13,"angle":16,"satellites":46,"speed":40,"hex_longitude":"2cbca940","hex_latitude":"077216e8","is_valid_coordinates":true} 
[2026-08-02 07: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-08-02 07:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122765568001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367103658086629376,"note":"Value kept but may cause issues"} 
[2026-08-02 07:28:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4853754466420449280,"note":"Value kept but may cause issues"} 
[2026-08-02 07:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785635806000,"timestamp_ms":1785635806000,"timestamp_seconds":1785635806,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0301b30"} 
[2026-08-02 07:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 07:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07: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-08-02 07:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122765568001,"66":27832,"105":206,"27":54016,"24":40,"16":367103658086629376,"44":-4853754466420449280},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 07:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122765568001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:28:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 07:28:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367103658086629376,"km_value":367103658086629.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:28:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4853754466420449280,"description":"Unknown IO ID 44"} 
[2026-08-02 07:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122765568001,"power":27832,"unknown_105":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-4853754466420449280}} 
[2026-08-02 07:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":147684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:28:48] local.INFO: GPS data processed {"connection_id":147684,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:28:48] local.INFO: Acknowledgment sent {"connection_id":147684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:28:53] local.INFO: TCP Data received {"connection_id":147684,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03051e0012cbcb280077239b8000e00162e..."} 
[2026-08-02 07:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03051e0012cbcb280077239b8000e00162e..."} 
[2026-08-02 07:28:53] local.INFO: Processing buffer {"connection_id":147684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03051e0012cbcb280077239b8000e00162e..."} 
[2026-08-02 07:28:53] local.INFO: Packet analysis {"connection_id":147684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc030"} 
[2026-08-02 07:28:53] local.INFO: Extracted packet for processing {"connection_id":147684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc030"} 
[2026-08-02 07:28:53] local.INFO: GPS Element Parsed {"raw_longitude":750563968,"raw_latitude":124926392,"longitude_deg":75.0563968,"latitude_deg":12.4926392,"altitude":14,"angle":22,"satellites":46,"speed":15,"hex_longitude":"2cbcb280","hex_latitude":"077239b8","is_valid_coordinates":true} 
[2026-08-02 07:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122766336001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367104109058195456,"note":"Value kept but may cause issues"} 
[2026-08-02 07:28:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4852276722791946240,"note":"Value kept but may cause issues"} 
[2026-08-02 07:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785635820000,"timestamp_ms":1785635820000,"timestamp_seconds":1785635820,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03051e0"} 
[2026-08-02 07:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-02 07:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122766336001,"66":27571,"105":206,"27":54016,"24":15,"16":367104109058195456,"44":-4852276722791946240},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 07:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122766336001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:28:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 07:28:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367104109058195456,"km_value":367104109058195.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:28:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4852276722791946240,"description":"Unknown IO ID 44"} 
[2026-08-02 07:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122766336001,"power":27571,"unknown_105":206,"unknown_27":54016,"ignition":15,"odometer":null,"unknown_44":-4852276722791946240}} 
[2026-08-02 07:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":147684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:28:53] local.INFO: GPS data processed {"connection_id":147684,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:28:53] local.INFO: Acknowledgment sent {"connection_id":147684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:29:25] local.INFO: TCP Data received {"connection_id":147684,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0306950012cbcb540077241f0000d000a2e..."} 
[2026-08-02 07:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0306950012cbcb540077241f0000d000a2e..."} 
[2026-08-02 07:29:25] local.INFO: Processing buffer {"connection_id":147684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0306950012cbcb540077241f0000d000a2e..."} 
[2026-08-02 07:29:25] local.INFO: Packet analysis {"connection_id":147684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc030"} 
[2026-08-02 07:29:25] local.INFO: Extracted packet for processing {"connection_id":147684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc030"} 
[2026-08-02 07:29:25] local.INFO: GPS Element Parsed {"raw_longitude":750564672,"raw_latitude":124928496,"longitude_deg":75.0564672,"latitude_deg":12.4928496,"altitude":13,"angle":10,"satellites":46,"speed":15,"hex_longitude":"2cbcb540","hex_latitude":"077241f0","is_valid_coordinates":true} 
[2026-08-02 07:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122769920001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367104216432377856,"note":"Value kept but may cause issues"} 
[2026-08-02 07:29:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4849673079255091200,"note":"Value kept but may cause issues"} 
[2026-08-02 07:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785635826000,"timestamp_ms":1785635826000,"timestamp_seconds":1785635826,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0306950"} 
[2026-08-02 07:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 07:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122769920001,"66":27658,"105":206,"27":54016,"24":15,"16":367104216432377856,"44":-4849673079255091200},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 07:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122769920001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:29:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 07:29:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367104216432377856,"km_value":367104216432377.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:29:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4849673079255091200,"description":"Unknown IO ID 44"} 
[2026-08-02 07:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122769920001,"power":27658,"unknown_105":206,"unknown_27":54016,"ignition":15,"odometer":null,"unknown_44":-4849673079255091200}} 
[2026-08-02 07:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":147684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:29:25] local.INFO: GPS data processed {"connection_id":147684,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:29:25] local.INFO: Acknowledgment sent {"connection_id":147684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:29:41] local.INFO: TCP Data received {"connection_id":146673,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:29:42] local.INFO: Processing buffer {"connection_id":146673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:29:42] local.INFO: IMEI packet received {"connection_id":146673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":146673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:29:47] local.INFO: TCP Data received {"connection_id":146673,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:29:47] local.INFO: Processing buffer {"connection_id":146673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:29:47] local.INFO: IMEI packet received {"connection_id":146673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":146673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:29:48] local.INFO: TCP Data received {"connection_id":146673,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc031e438012cbc87400772fad0000b01192e..."} 
[2026-08-02 07:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc031e438012cbc87400772fad0000b01192e..."} 
[2026-08-02 07:29:48] local.INFO: Processing buffer {"connection_id":146673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc031e438012cbc87400772fad0000b01192e..."} 
[2026-08-02 07:29:48] local.INFO: Packet analysis {"connection_id":146673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc031"} 
[2026-08-02 07:29:48] local.INFO: Extracted packet for processing {"connection_id":146673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc031"} 
[2026-08-02 07:29:48] local.INFO: GPS Element Parsed {"raw_longitude":750552896,"raw_latitude":124975824,"longitude_deg":75.0552896,"latitude_deg":12.4975824,"altitude":11,"angle":281,"satellites":46,"speed":40,"hex_longitude":"2cbc8740","hex_latitude":"0772fad0","is_valid_coordinates":true} 
[2026-08-02 07:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122795520001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367106806297657344,"note":"Value kept but may cause issues"} 
[2026-08-02 07:29:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4858680278497396736,"note":"Value kept but may cause issues"} 
[2026-08-02 07:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785635923000,"timestamp_ms":1785635923000,"timestamp_seconds":1785635923,"priority":1,"record_length":96,"hex_timestamp":"0000019fc031e438"} 
[2026-08-02 07:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 07:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122795520001,"66":27821,"104":206,"27":54016,"24":40,"16":367106806297657344,"44":-4858680278497396736},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-08-02 07:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122795520001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:29:48] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 07:29:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367106806297657344,"km_value":367106806297657.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:29:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4858680278497396736,"description":"Unknown IO ID 44"} 
[2026-08-02 07:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122795520001,"power":27821,"unknown_104":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-4858680278497396736}} 
[2026-08-02 07:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":146673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:29:48] local.INFO: GPS data processed {"connection_id":146673,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:29:48] local.INFO: Acknowledgment sent {"connection_id":146673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:30:19] local.INFO: TCP Data received {"connection_id":146673,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0320b48012cbc60c0077300d8000e01172e..."} 
[2026-08-02 07:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0320b48012cbc60c0077300d8000e01172e..."} 
[2026-08-02 07:30:19] local.INFO: Processing buffer {"connection_id":146673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0320b48012cbc60c0077300d8000e01172e..."} 
[2026-08-02 07:30:19] local.INFO: Packet analysis {"connection_id":146673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc032"} 
[2026-08-02 07:30:19] local.INFO: Extracted packet for processing {"connection_id":146673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc032"} 
[2026-08-02 07:30:19] local.INFO: GPS Element Parsed {"raw_longitude":750543040,"raw_latitude":124977368,"longitude_deg":75.054304,"latitude_deg":12.4977368,"altitude":14,"angle":279,"satellites":46,"speed":37,"hex_longitude":"2cbc60c0","hex_latitude":"077300d8","is_valid_coordinates":true} 
[2026-08-02 07:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122796288001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367107278744059904,"note":"Value kept but may cause issues"} 
[2026-08-02 07:30:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4861846871985172480,"note":"Value kept but may cause issues"} 
[2026-08-02 07:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785635933000,"timestamp_ms":1785635933000,"timestamp_seconds":1785635933,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0320b48"} 
[2026-08-02 07:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 07:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122796288001,"66":27930,"104":206,"27":54016,"24":37,"16":367107278744059904,"44":-4861846871985172480},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-08-02 07:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122796288001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:30:19] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 07:30:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367107278744059904,"km_value":367107278744059.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:30:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4861846871985172480,"description":"Unknown IO ID 44"} 
[2026-08-02 07:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122796288001,"power":27930,"unknown_104":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4861846871985172480}} 
[2026-08-02 07:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":146673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:30:19] local.INFO: GPS data processed {"connection_id":146673,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:30:19] local.INFO: Acknowledgment sent {"connection_id":146673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:30:42] local.INFO: TCP Data received {"connection_id":146452,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:30:42] local.INFO: Processing buffer {"connection_id":146452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:30:42] local.INFO: IMEI packet received {"connection_id":146452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":146452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:30:47] local.INFO: TCP Data received {"connection_id":146452,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:30:47] local.INFO: Processing buffer {"connection_id":146452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:30:47] local.INFO: IMEI packet received {"connection_id":146452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":146452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:30:48] local.INFO: TCP Data received {"connection_id":146452,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0323258012cbc3dc0077306f8001101172d..."} 
[2026-08-02 07:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0323258012cbc3dc0077306f8001101172d..."} 
[2026-08-02 07:30:48] local.INFO: Processing buffer {"connection_id":146452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0323258012cbc3dc0077306f8001101172d..."} 
[2026-08-02 07:30:48] local.INFO: Packet analysis {"connection_id":146452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc032"} 
[2026-08-02 07:30:48] local.INFO: Extracted packet for processing {"connection_id":146452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc032"} 
[2026-08-02 07:30:48] local.INFO: GPS Element Parsed {"raw_longitude":750534080,"raw_latitude":124978936,"longitude_deg":75.053408,"latitude_deg":12.4978936,"altitude":17,"angle":279,"satellites":45,"speed":34,"hex_longitude":"2cbc3dc0","hex_latitude":"077306f8","is_valid_coordinates":true} 
[2026-08-02 07:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122798848001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367107708240789504,"note":"Value kept but may cause issues"} 
[2026-08-02 07:30:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4872683658588137472,"note":"Value kept but may cause issues"} 
[2026-08-02 07:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785635943000,"timestamp_ms":1785635943000,"timestamp_seconds":1785635943,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0323258"} 
[2026-08-02 07:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-02 07:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122798848001,"66":27821,"104":206,"27":54016,"24":34,"16":367107708240789504,"44":-4872683658588137472},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-08-02 07:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122798848001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:30:48] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 07:30:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367107708240789504,"km_value":367107708240789.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:30:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4872683658588137472,"description":"Unknown IO ID 44"} 
[2026-08-02 07:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122798848001,"power":27821,"unknown_104":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-4872683658588137472}} 
[2026-08-02 07:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":146452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:30:48] local.INFO: GPS data processed {"connection_id":146452,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:30:48] local.INFO: Acknowledgment sent {"connection_id":146452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:31:20] local.INFO: TCP Data received {"connection_id":146452,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0336ec0012cbbfbc0077348c0002a008e2b..."} 
[2026-08-02 07:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0336ec0012cbbfbc0077348c0002a008e2b..."} 
[2026-08-02 07:31:20] local.INFO: Processing buffer {"connection_id":146452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0336ec0012cbbfbc0077348c0002a008e2b..."} 
[2026-08-02 07:31:20] local.INFO: Packet analysis {"connection_id":146452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc033"} 
[2026-08-02 07:31:20] local.INFO: Extracted packet for processing {"connection_id":146452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc033"} 
[2026-08-02 07:31:20] local.INFO: GPS Element Parsed {"raw_longitude":750517184,"raw_latitude":124995776,"longitude_deg":75.0517184,"latitude_deg":12.4995776,"altitude":42,"angle":142,"satellites":43,"speed":14,"hex_longitude":"2cbbfbc0","hex_latitude":"077348c0","is_valid_coordinates":true} 
[2026-08-02 07:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122821632001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367110031818096640,"note":"Value kept but may cause issues"} 
[2026-08-02 07:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4901675581184481280,"note":"Value kept but may cause issues"} 
[2026-08-02 07:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785636024000,"timestamp_ms":1785636024000,"timestamp_seconds":1785636024,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0336ec0"} 
[2026-08-02 07:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-02 07:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122821632001,"66":27800,"104":206,"27":54016,"24":14,"16":367110031818096640,"44":-4901675581184481280},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-08-02 07:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122821632001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:31:20] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 07:31:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367110031818096640,"km_value":367110031818096.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4901675581184481280,"description":"Unknown IO ID 44"} 
[2026-08-02 07:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122821632001,"power":27800,"unknown_104":206,"unknown_27":54016,"ignition":14,"odometer":null,"unknown_44":-4901675581184481280}} 
[2026-08-02 07:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":146452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:31:20] local.INFO: GPS data processed {"connection_id":146452,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:31:20] local.INFO: Acknowledgment sent {"connection_id":146452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:31:41] local.INFO: TCP Data received {"connection_id":146674,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:31:41] local.INFO: Processing buffer {"connection_id":146674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:31:41] local.INFO: IMEI packet received {"connection_id":146674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":146674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:31:47] local.INFO: TCP Data received {"connection_id":146674,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:31:47] local.INFO: Processing buffer {"connection_id":146674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:31:47] local.INFO: IMEI packet received {"connection_id":146674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":146674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:31:48] local.INFO: TCP Data received {"connection_id":146674,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc033efa8012cbc220007735330003100222f..."} 
[2026-08-02 07:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc033efa8012cbc220007735330003100222f..."} 
[2026-08-02 07:31:48] local.INFO: Processing buffer {"connection_id":146674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc033efa8012cbc220007735330003100222f..."} 
[2026-08-02 07:31:48] local.INFO: Packet analysis {"connection_id":146674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc033"} 
[2026-08-02 07:31:48] local.INFO: Extracted packet for processing {"connection_id":146674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc033"} 
[2026-08-02 07:31:48] local.INFO: GPS Element Parsed {"raw_longitude":750526976,"raw_latitude":124998448,"longitude_deg":75.0526976,"latitude_deg":12.4998448,"altitude":49,"angle":34,"satellites":47,"speed":31,"hex_longitude":"2cbc2200","hex_latitude":"07735330","is_valid_coordinates":true} 
[2026-08-02 07: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-08-02 07:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122830080001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367110972415934464,"note":"Value kept but may cause issues"} 
[2026-08-02 07:31:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4891190638301827072,"note":"Value kept but may cause issues"} 
[2026-08-02 07:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785636057000,"timestamp_ms":1785636057000,"timestamp_seconds":1785636057,"priority":1,"record_length":96,"hex_timestamp":"0000019fc033efa8"} 
[2026-08-02 07:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07: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-08-02 07:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122830080001,"66":27245,"104":206,"27":54016,"24":31,"16":367110972415934464,"44":-4891190638301827072},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-08-02 07:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122830080001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:31:48] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 07:31:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367110972415934464,"km_value":367110972415934.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:31:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4891190638301827072,"description":"Unknown IO ID 44"} 
[2026-08-02 07:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122830080001,"power":27245,"unknown_104":206,"unknown_27":54016,"ignition":31,"odometer":null,"unknown_44":-4891190638301827072}} 
[2026-08-02 07:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":146674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:31:48] local.INFO: GPS data processed {"connection_id":146674,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:31:48] local.INFO: Acknowledgment sent {"connection_id":146674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:32:20] local.INFO: TCP Data received {"connection_id":146674,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc033f778012cbc2600077357a00032003630..."} 
[2026-08-02 07:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc033f778012cbc2600077357a00032003630..."} 
[2026-08-02 07:32:20] local.INFO: Processing buffer {"connection_id":146674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc033f778012cbc2600077357a00032003630..."} 
[2026-08-02 07:32:20] local.INFO: Packet analysis {"connection_id":146674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc033"} 
[2026-08-02 07:32:20] local.INFO: Extracted packet for processing {"connection_id":146674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc033"} 
[2026-08-02 07:32:20] local.INFO: GPS Element Parsed {"raw_longitude":750528000,"raw_latitude":124999584,"longitude_deg":75.0528,"latitude_deg":12.4999584,"altitude":50,"angle":54,"satellites":48,"speed":30,"hex_longitude":"2cbc2600","hex_latitude":"077357a0","is_valid_coordinates":true} 
[2026-08-02 07:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122830592001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367111045430378496,"note":"Value kept but may cause issues"} 
[2026-08-02 07:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4890346213371334656,"note":"Value kept but may cause issues"} 
[2026-08-02 07:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785636059000,"timestamp_ms":1785636059000,"timestamp_seconds":1785636059,"priority":1,"record_length":96,"hex_timestamp":"0000019fc033f778"} 
[2026-08-02 07:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-02 07:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122830592001,"66":27658,"104":206,"27":54016,"24":30,"16":367111045430378496,"44":-4890346213371334656},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-08-02 07:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122830592001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:32:20] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 07:32:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367111045430378496,"km_value":367111045430378.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4890346213371334656,"description":"Unknown IO ID 44"} 
[2026-08-02 07:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122830592001,"power":27658,"unknown_104":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-4890346213371334656}} 
[2026-08-02 07:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":146674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:32:20] local.INFO: GPS data processed {"connection_id":146674,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:32:20] local.INFO: Acknowledgment sent {"connection_id":146674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:32:44] local.INFO: TCP Data received {"connection_id":146453,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:32:44] local.INFO: Processing buffer {"connection_id":146453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:32:44] local.INFO: IMEI packet received {"connection_id":146453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":146453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:32:47] local.INFO: TCP Data received {"connection_id":146453,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:32:47] local.INFO: Processing buffer {"connection_id":146453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:32:47] local.INFO: IMEI packet received {"connection_id":146453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":146453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:32:50] local.INFO: TCP Data received {"connection_id":146453,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:32:50] local.INFO: Processing buffer {"connection_id":146453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:32:50] local.INFO: IMEI packet received {"connection_id":146453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":146453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:32:51] local.INFO: TCP Data received {"connection_id":146453,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc033fb60012cbc28c007735920003200412e..."} 
[2026-08-02 07:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc033fb60012cbc28c007735920003200412e..."} 
[2026-08-02 07:32:51] local.INFO: Processing buffer {"connection_id":146453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc033fb60012cbc28c007735920003200412e..."} 
[2026-08-02 07:32:51] local.INFO: Packet analysis {"connection_id":146453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc033"} 
[2026-08-02 07:32:51] local.INFO: Extracted packet for processing {"connection_id":146453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc033"} 
[2026-08-02 07:32:51] local.INFO: GPS Element Parsed {"raw_longitude":750528704,"raw_latitude":124999968,"longitude_deg":75.0528704,"latitude_deg":12.4999968,"altitude":50,"angle":65,"satellites":46,"speed":29,"hex_longitude":"2cbc28c0","hex_latitude":"07735920","is_valid_coordinates":true} 
[2026-08-02 07:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122831104001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367111084085084160,"note":"Value kept but may cause issues"} 
[2026-08-02 07:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4889220313464201216,"note":"Value kept but may cause issues"} 
[2026-08-02 07:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785636060000,"timestamp_ms":1785636060000,"timestamp_seconds":1785636060,"priority":1,"record_length":96,"hex_timestamp":"0000019fc033fb60"} 
[2026-08-02 07:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 07:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122831104001,"66":27658,"104":206,"27":54016,"24":29,"16":367111084085084160,"44":-4889220313464201216},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-08-02 07:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122831104001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:32:51] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 07:32:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367111084085084160,"km_value":367111084085084.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4889220313464201216,"description":"Unknown IO ID 44"} 
[2026-08-02 07:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122831104001,"power":27658,"unknown_104":206,"unknown_27":54016,"ignition":29,"odometer":null,"unknown_44":-4889220313464201216}} 
[2026-08-02 07:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":146453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:32:51] local.INFO: GPS data processed {"connection_id":146453,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:32:51] local.INFO: Acknowledgment sent {"connection_id":146453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:32:52] local.INFO: TCP Data received {"connection_id":146453,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0340330012cbc2e8007735af80033004c2e..."} 
[2026-08-02 07:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0340330012cbc2e8007735af80033004c2e..."} 
[2026-08-02 07:32:52] local.INFO: Processing buffer {"connection_id":146453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0340330012cbc2e8007735af80033004c2e..."} 
[2026-08-02 07:32:52] local.INFO: Packet analysis {"connection_id":146453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc034"} 
[2026-08-02 07:32:52] local.INFO: Extracted packet for processing {"connection_id":146453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc034"} 
[2026-08-02 07:32:52] local.INFO: GPS Element Parsed {"raw_longitude":750530176,"raw_latitude":125000440,"longitude_deg":75.0530176,"latitude_deg":12.500044,"altitude":51,"angle":76,"satellites":46,"speed":28,"hex_longitude":"2cbc2e80","hex_latitude":"07735af8","is_valid_coordinates":true} 
[2026-08-02 07:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122831360001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367111157099528192,"note":"Value kept but may cause issues"} 
[2026-08-02 07:32:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4888446257278148608,"note":"Value kept but may cause issues"} 
[2026-08-02 07:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785636062000,"timestamp_ms":1785636062000,"timestamp_seconds":1785636062,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0340330"} 
[2026-08-02 07:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 07:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122831360001,"66":27767,"104":206,"27":54016,"24":28,"16":367111157099528192,"44":-4888446257278148608},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-08-02 07:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122831360001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:32:52] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 07:32:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367111157099528192,"km_value":367111157099528.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:32:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4888446257278148608,"description":"Unknown IO ID 44"} 
[2026-08-02 07:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122831360001,"power":27767,"unknown_104":206,"unknown_27":54016,"ignition":28,"odometer":null,"unknown_44":-4888446257278148608}} 
[2026-08-02 07:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":146453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:32:52] local.INFO: GPS data processed {"connection_id":146453,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:32:52] local.INFO: Acknowledgment sent {"connection_id":146453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:33:29] local.INFO: TCP Data received {"connection_id":146453,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0354b50012cbc5ec00773e4a0004b012f2f..."} 
[2026-08-02 07:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0354b50012cbc5ec00773e4a0004b012f2f..."} 
[2026-08-02 07:33:29] local.INFO: Processing buffer {"connection_id":146453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0354b50012cbc5ec00773e4a0004b012f2f..."} 
[2026-08-02 07:33:29] local.INFO: Packet analysis {"connection_id":146453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc035"} 
[2026-08-02 07:33:29] local.INFO: Extracted packet for processing {"connection_id":146453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc035"} 
[2026-08-02 07:33:29] local.INFO: GPS Element Parsed {"raw_longitude":750542528,"raw_latitude":125035680,"longitude_deg":75.0542528,"latitude_deg":12.503568,"altitude":75,"angle":303,"satellites":47,"speed":32,"hex_longitude":"2cbc5ec0","hex_latitude":"0773e4a0","is_valid_coordinates":true} 
[2026-08-02 07:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122852096001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367113399072456704,"note":"Value kept but may cause issues"} 
[2026-08-02 07:33:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4869587433830066176,"note":"Value kept but may cause issues"} 
[2026-08-02 07:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785636146000,"timestamp_ms":1785636146000,"timestamp_seconds":1785636146,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0354b50"} 
[2026-08-02 07:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 07:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122852096001,"66":27876,"55":206,"27":54016,"24":32,"16":367113399072456704,"44":-4869587433830066176},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-08-02 07:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122852096001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:33:29] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-02 07:33:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367113399072456704,"km_value":367113399072456.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:33:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4869587433830066176,"description":"Unknown IO ID 44"} 
[2026-08-02 07:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122852096001,"power":27876,"unknown_55":206,"unknown_27":54016,"ignition":32,"odometer":null,"unknown_44":-4869587433830066176}} 
[2026-08-02 07:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":146453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:33:29] local.INFO: GPS data processed {"connection_id":146453,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:33:29] local.INFO: Acknowledgment sent {"connection_id":146453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:33:42] local.INFO: TCP Data received {"connection_id":147685,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:33:42] local.INFO: Processing buffer {"connection_id":147685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:33:42] local.INFO: IMEI packet received {"connection_id":147685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":147685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:33:45] local.INFO: TCP Data received {"connection_id":147685,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:33:45] local.INFO: Processing buffer {"connection_id":147685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:33:45] local.INFO: IMEI packet received {"connection_id":147685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":147685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:33:46] local.INFO: TCP Data received {"connection_id":147685,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0357260012cbc3ec00773f520004901272d..."} 
[2026-08-02 07:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0357260012cbc3ec00773f520004901272d..."} 
[2026-08-02 07:33:46] local.INFO: Processing buffer {"connection_id":147685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0357260012cbc3ec00773f520004901272d..."} 
[2026-08-02 07:33:46] local.INFO: Packet analysis {"connection_id":147685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc035"} 
[2026-08-02 07:33:46] local.INFO: Extracted packet for processing {"connection_id":147685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc035"} 
[2026-08-02 07:33:46] local.INFO: GPS Element Parsed {"raw_longitude":750534336,"raw_latitude":125039904,"longitude_deg":75.0534336,"latitude_deg":12.5039904,"altitude":73,"angle":295,"satellites":45,"speed":39,"hex_longitude":"2cbc3ec0","hex_latitude":"0773f520","is_valid_coordinates":true} 
[2026-08-02 07:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122853376001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367113837159120896,"note":"Value kept but may cause issues"} 
[2026-08-02 07:33:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4873246608526630912,"note":"Value kept but may cause issues"} 
[2026-08-02 07:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785636156000,"timestamp_ms":1785636156000,"timestamp_seconds":1785636156,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0357260"} 
[2026-08-02 07:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 07:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":147685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":147685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":147685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122853376001,"66":27800,"215":206,"27":54016,"24":39,"16":367113837159120896,"44":-4873246608526630912},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,27,24,16,44]} 
[2026-08-02 07:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122853376001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:33:46] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-02 07:33:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367113837159120896,"km_value":367113837159120.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:33:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4873246608526630912,"description":"Unknown IO ID 44"} 
[2026-08-02 07:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122853376001,"power":27800,"unknown_215":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-4873246608526630912}} 
[2026-08-02 07:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":147685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:33:46] local.INFO: GPS data processed {"connection_id":147685,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:33:46] local.INFO: Acknowledgment sent {"connection_id":147685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:34:18] local.INFO: TCP Data received {"connection_id":147685,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0359588012cbc1fc007740508004901362b..."} 
[2026-08-02 07:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0359588012cbc1fc007740508004901362b..."} 
[2026-08-02 07:34:18] local.INFO: Processing buffer {"connection_id":147685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0359588012cbc1fc007740508004901362b..."} 
[2026-08-02 07:34:18] local.INFO: Packet analysis {"connection_id":147685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc035"} 
[2026-08-02 07:34:18] local.INFO: Extracted packet for processing {"connection_id":147685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc035"} 
[2026-08-02 07:34:18] local.INFO: GPS Element Parsed {"raw_longitude":750526400,"raw_latitude":125043976,"longitude_deg":75.05264,"latitude_deg":12.5043976,"altitude":73,"angle":310,"satellites":43,"speed":37,"hex_longitude":"2cbc1fc0","hex_latitude":"07740508","is_valid_coordinates":true} 
[2026-08-02 07:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122855936001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367114262360883200,"note":"Value kept but may cause issues"} 
[2026-08-02 07:34:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4882253807780290560,"note":"Value kept but may cause issues"} 
[2026-08-02 07:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785636165000,"timestamp_ms":1785636165000,"timestamp_seconds":1785636165,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0359588"} 
[2026-08-02 07:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-02 07:34: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-08-02 07:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":147685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":147685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":147685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122855936001,"66":27800,"215":206,"27":54016,"24":37,"16":367114262360883200,"44":-4882253807780290560},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,27,24,16,44]} 
[2026-08-02 07:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122855936001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:34:18] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-02 07:34:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367114262360883200,"km_value":367114262360883.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:34:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4882253807780290560,"description":"Unknown IO ID 44"} 
[2026-08-02 07:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122855936001,"power":27800,"unknown_215":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4882253807780290560}} 
[2026-08-02 07:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":147685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:34:18] local.INFO: GPS data processed {"connection_id":147685,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:34:18] local.INFO: Acknowledgment sent {"connection_id":147685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:34:42] local.INFO: TCP Data received {"connection_id":149003,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:34:42] local.INFO: Processing buffer {"connection_id":149003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:34:42] local.INFO: IMEI packet received {"connection_id":149003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":149003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:34:44] local.INFO: TCP Data received {"connection_id":149003,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:34:44] local.INFO: Processing buffer {"connection_id":149003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:34:44] local.INFO: IMEI packet received {"connection_id":149003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":149003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:34:47] local.INFO: TCP Data received {"connection_id":149003,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:34:47] local.INFO: Processing buffer {"connection_id":149003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:34:47] local.INFO: IMEI packet received {"connection_id":149003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":149003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:34:49] local.INFO: TCP Data received {"connection_id":149003,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0367818012cbc6e40077498580053000230..."} 
[2026-08-02 07:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0367818012cbc6e40077498580053000230..."} 
[2026-08-02 07:34:49] local.INFO: Processing buffer {"connection_id":149003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0367818012cbc6e40077498580053000230..."} 
[2026-08-02 07:34:49] local.INFO: Packet analysis {"connection_id":149003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc036"} 
[2026-08-02 07:34:49] local.INFO: Extracted packet for processing {"connection_id":149003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc036"} 
[2026-08-02 07:34:49] local.INFO: GPS Element Parsed {"raw_longitude":750546496,"raw_latitude":125081688,"longitude_deg":75.0546496,"latitude_deg":12.5081688,"altitude":83,"angle":2,"satellites":48,"speed":32,"hex_longitude":"2cbc6e40","hex_latitude":"07749858","is_valid_coordinates":true} 
[2026-08-02 07:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122870016001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367116512923746304,"note":"Value kept but may cause issues"} 
[2026-08-02 07:34:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4869868908796721152,"note":"Value kept but may cause issues"} 
[2026-08-02 07:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785636223000,"timestamp_ms":1785636223000,"timestamp_seconds":1785636223,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0367818"} 
[2026-08-02 07:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 07:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122870016001,"66":27865,"55":206,"27":54016,"24":32,"16":367116512923746304,"44":-4869868908796721152},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-08-02 07:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122870016001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:34:49] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-02 07:34:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367116512923746304,"km_value":367116512923746.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:34:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4869868908796721152,"description":"Unknown IO ID 44"} 
[2026-08-02 07:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122870016001,"power":27865,"unknown_55":206,"unknown_27":54016,"ignition":32,"odometer":null,"unknown_44":-4869868908796721152}} 
[2026-08-02 07:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":149003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:34:49] local.INFO: GPS data processed {"connection_id":149003,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:34:49] local.INFO: Acknowledgment sent {"connection_id":149003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:34:54] local.INFO: TCP Data received {"connection_id":149003,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0367818012cbc6e40077498580053000230..."} 
[2026-08-02 07:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0367818012cbc6e40077498580053000230..."} 
[2026-08-02 07:34:54] local.INFO: Processing buffer {"connection_id":149003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0367818012cbc6e40077498580053000230..."} 
[2026-08-02 07:34:54] local.INFO: Packet analysis {"connection_id":149003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc036"} 
[2026-08-02 07:34:54] local.INFO: Extracted packet for processing {"connection_id":149003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc036"} 
[2026-08-02 07:34:54] local.INFO: GPS Element Parsed {"raw_longitude":750546496,"raw_latitude":125081688,"longitude_deg":75.0546496,"latitude_deg":12.5081688,"altitude":83,"angle":2,"satellites":48,"speed":32,"hex_longitude":"2cbc6e40","hex_latitude":"07749858","is_valid_coordinates":true} 
[2026-08-02 07:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122873088001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367116512923746304,"note":"Value kept but may cause issues"} 
[2026-08-02 07:34:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4868883746375837696,"note":"Value kept but may cause issues"} 
[2026-08-02 07:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785636223000,"timestamp_ms":1785636223000,"timestamp_seconds":1785636223,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0367818"} 
[2026-08-02 07:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122873088001,"66":27865,"55":206,"27":54016,"24":32,"16":367116512923746304,"44":-4868883746375837696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-08-02 07:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122873088001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:34:54] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-02 07:34:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367116512923746304,"km_value":367116512923746.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:34:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4868883746375837696,"description":"Unknown IO ID 44"} 
[2026-08-02 07:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122873088001,"power":27865,"unknown_55":206,"unknown_27":54016,"ignition":32,"odometer":null,"unknown_44":-4868883746375837696}} 
[2026-08-02 07:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":149003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:34:54] local.INFO: GPS data processed {"connection_id":149003,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:34:54] local.INFO: Acknowledgment sent {"connection_id":149003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:35:26] local.INFO: TCP Data received {"connection_id":149003,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03687b8012cbc6dc00774a5b00053015e2f..."} 
[2026-08-02 07:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03687b8012cbc6dc00774a5b00053015e2f..."} 
[2026-08-02 07:35:26] local.INFO: Processing buffer {"connection_id":149003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03687b8012cbc6dc00774a5b00053015e2f..."} 
[2026-08-02 07:35:26] local.INFO: Packet analysis {"connection_id":149003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc036"} 
[2026-08-02 07:35:26] local.INFO: Extracted packet for processing {"connection_id":149003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc036"} 
[2026-08-02 07:35:26] local.INFO: GPS Element Parsed {"raw_longitude":750546368,"raw_latitude":125085104,"longitude_deg":75.0546368,"latitude_deg":12.5085104,"altitude":83,"angle":350,"satellites":47,"speed":34,"hex_longitude":"2cbc6dc0","hex_latitude":"0774a5b0","is_valid_coordinates":true} 
[2026-08-02 07:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122873088001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367116680427470848,"note":"Value kept but may cause issues"} 
[2026-08-02 07:35:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4868883746375837696,"note":"Value kept but may cause issues"} 
[2026-08-02 07:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785636227000,"timestamp_ms":1785636227000,"timestamp_seconds":1785636227,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03687b8"} 
[2026-08-02 07:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122873088001,"66":27593,"55":206,"27":54016,"24":34,"16":367116680427470848,"44":-4868883746375837696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-08-02 07:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122873088001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:35:26] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-02 07:35:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367116680427470848,"km_value":367116680427470.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:35:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4868883746375837696,"description":"Unknown IO ID 44"} 
[2026-08-02 07:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122873088001,"power":27593,"unknown_55":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-4868883746375837696}} 
[2026-08-02 07:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":149003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:35:26] local.INFO: GPS data processed {"connection_id":149003,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:35:26] local.INFO: Acknowledgment sent {"connection_id":149003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:35:41] local.INFO: TCP Data received {"connection_id":146675,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:35:41] local.INFO: Processing buffer {"connection_id":146675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:35:41] local.INFO: IMEI packet received {"connection_id":146675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":146675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:35:41] local.INFO: TCP Data received {"connection_id":146675,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:35:41] local.INFO: Processing buffer {"connection_id":146675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:35:41] local.INFO: IMEI packet received {"connection_id":146675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":146675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:35:47] local.INFO: TCP Data received {"connection_id":146675,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:35:47] local.INFO: Processing buffer {"connection_id":146675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:35:47] local.INFO: IMEI packet received {"connection_id":146675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":146675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:35:48] local.INFO: TCP Data received {"connection_id":146675,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03752d8012cbbcb400774dbc0005001192c..."} 
[2026-08-02 07:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03752d8012cbbcb400774dbc0005001192c..."} 
[2026-08-02 07:35:48] local.INFO: Processing buffer {"connection_id":146675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03752d8012cbbcb400774dbc0005001192c..."} 
[2026-08-02 07:35:48] local.INFO: Packet analysis {"connection_id":146675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc037"} 
[2026-08-02 07:35:48] local.INFO: Extracted packet for processing {"connection_id":146675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc037"} 
[2026-08-02 07:35:48] local.INFO: GPS Element Parsed {"raw_longitude":750504768,"raw_latitude":125098944,"longitude_deg":75.0504768,"latitude_deg":12.5098944,"altitude":80,"angle":281,"satellites":44,"speed":48,"hex_longitude":"2cbbcb40","hex_latitude":"0774dbc0","is_valid_coordinates":true} 
[2026-08-02 07: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-08-02 07:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122885376001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367118883745693696,"note":"Value kept but may cause issues"} 
[2026-08-02 07:35:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4904631068414152704,"note":"Value kept but may cause issues"} 
[2026-08-02 07:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785636279000,"timestamp_ms":1785636279000,"timestamp_seconds":1785636279,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03752d8"} 
[2026-08-02 07:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07: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-08-02 07:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122885376001,"66":27843,"56":206,"27":54016,"24":48,"16":367118883745693696,"44":-4904631068414152704},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-08-02 07:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122885376001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:35:48] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-02 07:35:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367118883745693696,"km_value":367118883745693.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:35:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4904631068414152704,"description":"Unknown IO ID 44"} 
[2026-08-02 07:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122885376001,"power":27843,"unknown_56":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-4904631068414152704}} 
[2026-08-02 07:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":146675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:35:48] local.INFO: GPS data processed {"connection_id":146675,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:35:48] local.INFO: Acknowledgment sent {"connection_id":146675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:36:19] local.INFO: TCP Data received {"connection_id":146675,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0377218012cbba4c00774e070004f010c2e..."} 
[2026-08-02 07:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0377218012cbba4c00774e070004f010c2e..."} 
[2026-08-02 07:36:19] local.INFO: Processing buffer {"connection_id":146675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0377218012cbba4c00774e070004f010c2e..."} 
[2026-08-02 07:36:19] local.INFO: Packet analysis {"connection_id":146675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc037"} 
[2026-08-02 07:36:19] local.INFO: Extracted packet for processing {"connection_id":146675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc037"} 
[2026-08-02 07:36:19] local.INFO: GPS Element Parsed {"raw_longitude":750494912,"raw_latitude":125100144,"longitude_deg":75.0494912,"latitude_deg":12.5100144,"altitude":79,"angle":268,"satellites":46,"speed":49,"hex_longitude":"2cbba4c0","hex_latitude":"0774e070","is_valid_coordinates":true} 
[2026-08-02 07:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122887424001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367119356192096256,"note":"Value kept but may cause issues"} 
[2026-08-02 07:36:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4914764167575257088,"note":"Value kept but may cause issues"} 
[2026-08-02 07:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785636287000,"timestamp_ms":1785636287000,"timestamp_seconds":1785636287,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0377218"} 
[2026-08-02 07:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 07:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122887424001,"66":27919,"56":206,"27":54016,"24":49,"16":367119356192096256,"44":-4914764167575257088},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-08-02 07:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122887424001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:36:19] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-02 07:36:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367119356192096256,"km_value":367119356192096.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:36:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4914764167575257088,"description":"Unknown IO ID 44"} 
[2026-08-02 07:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122887424001,"power":27919,"unknown_56":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4914764167575257088}} 
[2026-08-02 07:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":146675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:36:19] local.INFO: GPS data processed {"connection_id":146675,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:36:19] local.INFO: Acknowledgment sent {"connection_id":146675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:36:41] local.INFO: TCP Data received {"connection_id":147686,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:36:41] local.INFO: Processing buffer {"connection_id":147686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:36:41] local.INFO: IMEI packet received {"connection_id":147686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":147686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:36:41] local.INFO: TCP Data received {"connection_id":147686,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:36:41] local.INFO: Processing buffer {"connection_id":147686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:36:41] local.INFO: IMEI packet received {"connection_id":147686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":147686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:36:47] local.INFO: TCP Data received {"connection_id":147686,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:36:47] local.INFO: Processing buffer {"connection_id":147686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:36:47] local.INFO: IMEI packet received {"connection_id":147686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":147686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:36:48] local.INFO: TCP Data received {"connection_id":147686,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0377218012cbba4c00774e070004f010c2e..."} 
[2026-08-02 07:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0377218012cbba4c00774e070004f010c2e..."} 
[2026-08-02 07:36:48] local.INFO: Processing buffer {"connection_id":147686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0377218012cbba4c00774e070004f010c2e..."} 
[2026-08-02 07:36:48] local.INFO: Packet analysis {"connection_id":147686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc037"} 
[2026-08-02 07:36:48] local.INFO: Extracted packet for processing {"connection_id":147686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc037"} 
[2026-08-02 07:36:48] local.INFO: GPS Element Parsed {"raw_longitude":750494912,"raw_latitude":125100144,"longitude_deg":75.0494912,"latitude_deg":12.5100144,"altitude":79,"angle":268,"satellites":46,"speed":49,"hex_longitude":"2cbba4c0","hex_latitude":"0774e070","is_valid_coordinates":true} 
[2026-08-02 07:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122889472001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367119356192096256,"note":"Value kept but may cause issues"} 
[2026-08-02 07:36:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4925600954178310144,"note":"Value kept but may cause issues"} 
[2026-08-02 07:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785636287000,"timestamp_ms":1785636287000,"timestamp_seconds":1785636287,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0377218"} 
[2026-08-02 07:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 07:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122889472001,"66":27919,"56":206,"27":54016,"24":49,"16":367119356192096256,"44":-4925600954178310144},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-08-02 07:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122889472001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:36:48] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-02 07:36:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367119356192096256,"km_value":367119356192096.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:36:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4925600954178310144,"description":"Unknown IO ID 44"} 
[2026-08-02 07:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122889472001,"power":27919,"unknown_56":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4925600954178310144}} 
[2026-08-02 07:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":147686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:36:48] local.INFO: GPS data processed {"connection_id":147686,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:36:48] local.INFO: Acknowledgment sent {"connection_id":147686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:37:19] local.INFO: TCP Data received {"connection_id":147686,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc038f0e8012cb9bf000774ec50004c01122d..."} 
[2026-08-02 07:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc038f0e8012cb9bf000774ec50004c01122d..."} 
[2026-08-02 07:37:19] local.INFO: Processing buffer {"connection_id":147686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc038f0e8012cb9bf000774ec50004c01122d..."} 
[2026-08-02 07:37:19] local.INFO: Packet analysis {"connection_id":147686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc038"} 
[2026-08-02 07:37:19] local.INFO: Extracted packet for processing {"connection_id":147686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc038"} 
[2026-08-02 07:37:19] local.INFO: GPS Element Parsed {"raw_longitude":750370560,"raw_latitude":125103184,"longitude_deg":75.037056,"latitude_deg":12.5103184,"altitude":76,"angle":274,"satellites":45,"speed":46,"hex_longitude":"2cb9bf00","hex_latitude":"0774ec50","is_valid_coordinates":true} 
[2026-08-02 07:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122912512001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367125253182193664,"note":"Value kept but may cause issues"} 
[2026-08-02 07:37:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5051701743744067584,"note":"Value kept but may cause issues"} 
[2026-08-02 07:37:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 07:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785636385000,"timestamp_ms":1785636385000,"timestamp_seconds":1785636385,"priority":1,"record_length":96,"hex_timestamp":"0000019fc038f0e8"} 
[2026-08-02 07:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-02 07:37: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-08-02 07:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122912512001,"66":28006,"27":54016,"24":46,"16":367125253182193664,"44":-5051701743744067584},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-08-02 07:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122912512001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:37:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367125253182193664,"km_value":367125253182193.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:37:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5051701743744067584,"description":"Unknown IO ID 44"} 
[2026-08-02 07:37:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457122912512001,"power":28006,"unknown_27":54016,"ignition":46,"odometer":null,"unknown_44":-5051701743744067584}} 
[2026-08-02 07:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":147686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:37:19] local.INFO: GPS data processed {"connection_id":147686,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:37:19] local.INFO: Acknowledgment sent {"connection_id":147686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:37:41] local.INFO: TCP Data received {"connection_id":147687,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:37:41] local.INFO: Processing buffer {"connection_id":147687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:37:41] local.INFO: IMEI packet received {"connection_id":147687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":147687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:37:47] local.INFO: TCP Data received {"connection_id":147687,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:37:47] local.INFO: Processing buffer {"connection_id":147687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:37:47] local.INFO: IMEI packet received {"connection_id":147687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":147687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:37:48] local.INFO: TCP Data received {"connection_id":147687,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0391028012cb99b000774ee90004d01112d..."} 
[2026-08-02 07:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0391028012cb99b000774ee90004d01112d..."} 
[2026-08-02 07:37:48] local.INFO: Processing buffer {"connection_id":147687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0391028012cb99b000774ee90004d01112d..."} 
[2026-08-02 07:37:48] local.INFO: Packet analysis {"connection_id":147687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc039"} 
[2026-08-02 07:37:48] local.INFO: Extracted packet for processing {"connection_id":147687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc039"} 
[2026-08-02 07:37:48] local.INFO: GPS Element Parsed {"raw_longitude":750361344,"raw_latitude":125103760,"longitude_deg":75.0361344,"latitude_deg":12.510376,"altitude":77,"angle":273,"satellites":45,"speed":44,"hex_longitude":"2cb99b00","hex_latitude":"0774ee90","is_valid_coordinates":true} 
[2026-08-02 07:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122914560001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367125691268857856,"note":"Value kept but may cause issues"} 
[2026-08-02 07:37:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5062327424114733056,"note":"Value kept but may cause issues"} 
[2026-08-02 07:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785636393000,"timestamp_ms":1785636393000,"timestamp_seconds":1785636393,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0391028"} 
[2026-08-02 07:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":102,"data_length":795,"current_offset":136} 
[2026-08-02 07:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122914560001,"66":28093,"3":206,"27":54016,"24":44,"16":367125691268857856,"44":-5062327424114733056},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16,44]} 
[2026-08-02 07:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122914560001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:37:48] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-02 07:37:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367125691268857856,"km_value":367125691268857.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:37:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5062327424114733056,"description":"Unknown IO ID 44"} 
[2026-08-02 07:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122914560001,"power":28093,"unknown_3":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-5062327424114733056}} 
[2026-08-02 07:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":147687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:37:48] local.INFO: GPS data processed {"connection_id":147687,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:37:48] local.INFO: Acknowledgment sent {"connection_id":147687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:38:21] local.INFO: TCP Data received {"connection_id":147687,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0392f68012cb977400774f1e8004e01162d..."} 
[2026-08-02 07:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0392f68012cb977400774f1e8004e01162d..."} 
[2026-08-02 07:38:21] local.INFO: Processing buffer {"connection_id":147687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0392f68012cb977400774f1e8004e01162d..."} 
[2026-08-02 07:38:21] local.INFO: Packet analysis {"connection_id":147687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc039"} 
[2026-08-02 07:38:21] local.INFO: Extracted packet for processing {"connection_id":147687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc039"} 
[2026-08-02 07:38:21] local.INFO: GPS Element Parsed {"raw_longitude":750352192,"raw_latitude":125104616,"longitude_deg":75.0352192,"latitude_deg":12.5104616,"altitude":78,"angle":278,"satellites":45,"speed":45,"hex_longitude":"2cb97740","hex_latitude":"0774f1e8","is_valid_coordinates":true} 
[2026-08-02 07:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122916608001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367126129355522048,"note":"Value kept but may cause issues"} 
[2026-08-02 07:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5072460523276169216,"note":"Value kept but may cause issues"} 
[2026-08-02 07:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785636401000,"timestamp_ms":1785636401000,"timestamp_seconds":1785636401,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0392f68"} 
[2026-08-02 07:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-02 07:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122916608001,"66":27974,"3":206,"27":54016,"24":45,"16":367126129355522048,"44":-5072460523276169216},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16,44]} 
[2026-08-02 07:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122916608001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:38:21] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-02 07:38:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367126129355522048,"km_value":367126129355522.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5072460523276169216,"description":"Unknown IO ID 44"} 
[2026-08-02 07:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122916608001,"power":27974,"unknown_3":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-5072460523276169216}} 
[2026-08-02 07:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":147687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:38:21] local.INFO: GPS data processed {"connection_id":147687,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:38:21] local.INFO: Acknowledgment sent {"connection_id":147687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:38:43] local.INFO: TCP Data received {"connection_id":146454,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:38:43] local.INFO: Processing buffer {"connection_id":146454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:38:43] local.INFO: IMEI packet received {"connection_id":146454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":146454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:38:47] local.INFO: TCP Data received {"connection_id":146454,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:38:47] local.INFO: Processing buffer {"connection_id":146454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:38:47] local.INFO: IMEI packet received {"connection_id":146454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":146454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:38:51] local.INFO: TCP Data received {"connection_id":146454,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:38:51] local.INFO: Processing buffer {"connection_id":146454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:38:51] local.INFO: IMEI packet received {"connection_id":146454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":146454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:38:52] local.INFO: TCP Data received {"connection_id":146454,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03a3cf0012cb80cc0077570100039012f2d..."} 
[2026-08-02 07:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03a3cf0012cb80cc0077570100039012f2d..."} 
[2026-08-02 07:38:52] local.INFO: Processing buffer {"connection_id":146454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03a3cf0012cb80cc0077570100039012f2d..."} 
[2026-08-02 07:38:52] local.INFO: Packet analysis {"connection_id":146454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03a"} 
[2026-08-02 07:38:52] local.INFO: Extracted packet for processing {"connection_id":146454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03a"} 
[2026-08-02 07:38:52] local.INFO: GPS Element Parsed {"raw_longitude":750259392,"raw_latitude":125136912,"longitude_deg":75.0259392,"latitude_deg":12.5136912,"altitude":57,"angle":303,"satellites":45,"speed":55,"hex_longitude":"2cb80cc0","hex_latitude":"07757010","is_valid_coordinates":true} 
[2026-08-02 07:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122934528001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367130823754776576,"note":"Value kept but may cause issues"} 
[2026-08-02 07:38:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5175128521024327680,"note":"Value kept but may cause issues"} 
[2026-08-02 07:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785636470000,"timestamp_ms":1785636470000,"timestamp_seconds":1785636470,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03a3cf0"} 
[2026-08-02 07:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-02 07:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122934528001,"66":27865,"201":206,"27":54016,"24":55,"16":367130823754776576,"44":-5175128521024327680},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,27,24,16,44]} 
[2026-08-02 07:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122934528001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:38:52] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-02 07:38:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367130823754776576,"km_value":367130823754776.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:38:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5175128521024327680,"description":"Unknown IO ID 44"} 
[2026-08-02 07:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122934528001,"power":27865,"unknown_201":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-5175128521024327680}} 
[2026-08-02 07:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":146454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:38:52] local.INFO: GPS data processed {"connection_id":146454,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:38:52] local.INFO: Acknowledgment sent {"connection_id":146454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:38:54] local.INFO: TCP Data received {"connection_id":146454,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03a5848012cb7ee00077583f0003a012d2f..."} 
[2026-08-02 07:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03a5848012cb7ee00077583f0003a012d2f..."} 
[2026-08-02 07:38:54] local.INFO: Processing buffer {"connection_id":146454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03a5848012cb7ee00077583f0003a012d2f..."} 
[2026-08-02 07:38:54] local.INFO: Packet analysis {"connection_id":146454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03a"} 
[2026-08-02 07:38:54] local.INFO: Extracted packet for processing {"connection_id":146454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03a"} 
[2026-08-02 07:38:54] local.INFO: GPS Element Parsed {"raw_longitude":750251520,"raw_latitude":125142000,"longitude_deg":75.025152,"latitude_deg":12.5142,"altitude":58,"angle":301,"satellites":47,"speed":50,"hex_longitude":"2cb7ee00","hex_latitude":"077583f0","is_valid_coordinates":true} 
[2026-08-02 07:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122936320001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367131270431375360,"note":"Value kept but may cause issues"} 
[2026-08-02 07:38:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5184557932742701056,"note":"Value kept but may cause issues"} 
[2026-08-02 07:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785636477000,"timestamp_ms":1785636477000,"timestamp_seconds":1785636477,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03a5848"} 
[2026-08-02 07:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122936320001,"66":27908,"201":206,"27":54016,"24":50,"16":367131270431375360,"44":-5184557932742701056},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,27,24,16,44]} 
[2026-08-02 07:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122936320001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:38:54] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-02 07:38:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367131270431375360,"km_value":367131270431375.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:38:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5184557932742701056,"description":"Unknown IO ID 44"} 
[2026-08-02 07:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122936320001,"power":27908,"unknown_201":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-5184557932742701056}} 
[2026-08-02 07:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":146454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:38:54] local.INFO: GPS data processed {"connection_id":146454,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:38:54] local.INFO: Acknowledgment sent {"connection_id":146454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:39:25] local.INFO: TCP Data received {"connection_id":146454,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03a7788012cb7cb0007759680003c01262f..."} 
[2026-08-02 07:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03a7788012cb7cb0007759680003c01262f..."} 
[2026-08-02 07:39:25] local.INFO: Processing buffer {"connection_id":146454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03a7788012cb7cb0007759680003c01262f..."} 
[2026-08-02 07:39:25] local.INFO: Packet analysis {"connection_id":146454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03a"} 
[2026-08-02 07:39:25] local.INFO: Extracted packet for processing {"connection_id":146454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03a"} 
[2026-08-02 07:39:25] local.INFO: GPS Element Parsed {"raw_longitude":750242560,"raw_latitude":125146752,"longitude_deg":75.024256,"latitude_deg":12.5146752,"altitude":60,"angle":294,"satellites":47,"speed":50,"hex_longitude":"2cb7cb00","hex_latitude":"07759680","is_valid_coordinates":true} 
[2026-08-02 07:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122938112001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367131751467712512,"note":"Value kept but may cause issues"} 
[2026-08-02 07:39:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5193213288275251200,"note":"Value kept but may cause issues"} 
[2026-08-02 07:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785636485000,"timestamp_ms":1785636485000,"timestamp_seconds":1785636485,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03a7788"} 
[2026-08-02 07:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 07:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122938112001,"66":27800,"201":206,"27":54016,"24":50,"16":367131751467712512,"44":-5193213288275251200},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,27,24,16,44]} 
[2026-08-02 07:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122938112001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:39:25] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-02 07:39:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367131751467712512,"km_value":367131751467712.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:39:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5193213288275251200,"description":"Unknown IO ID 44"} 
[2026-08-02 07:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122938112001,"power":27800,"unknown_201":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-5193213288275251200}} 
[2026-08-02 07:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":146454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:39:25] local.INFO: GPS data processed {"connection_id":146454,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:39:25] local.INFO: Acknowledgment sent {"connection_id":146454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:39:39] local.INFO: TCP Data received {"connection_id":147688,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:39:39] local.INFO: Processing buffer {"connection_id":147688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:39:39] local.INFO: IMEI packet received {"connection_id":147688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":147688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:39:42] local.INFO: TCP Data received {"connection_id":147688,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:39:42] local.INFO: Processing buffer {"connection_id":147688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:39:42] local.INFO: IMEI packet received {"connection_id":147688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":147688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:39:46] local.INFO: TCP Data received {"connection_id":147688,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:39:46] local.INFO: Processing buffer {"connection_id":147688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:39:46] local.INFO: IMEI packet received {"connection_id":147688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":147688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:39:47] local.INFO: TCP Data received {"connection_id":147688,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03a96c8012cb7a6400775a5b0003f01232d..."} 
[2026-08-02 07:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03a96c8012cb7a6400775a5b0003f01232d..."} 
[2026-08-02 07:39:47] local.INFO: Processing buffer {"connection_id":147688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03a96c8012cb7a6400775a5b0003f01232d..."} 
[2026-08-02 07:39:47] local.INFO: Packet analysis {"connection_id":147688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03a"} 
[2026-08-02 07:39:47] local.INFO: Extracted packet for processing {"connection_id":147688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03a"} 
[2026-08-02 07:39:47] local.INFO: GPS Element Parsed {"raw_longitude":750233152,"raw_latitude":125150640,"longitude_deg":75.0233152,"latitude_deg":12.515064,"altitude":63,"angle":291,"satellites":45,"speed":49,"hex_longitude":"2cb7a640","hex_latitude":"0775a5b0","is_valid_coordinates":true} 
[2026-08-02 07:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122940160001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367132236799016960,"note":"Value kept but may cause issues"} 
[2026-08-02 07:39:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5203064912458907648,"note":"Value kept but may cause issues"} 
[2026-08-02 07:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785636493000,"timestamp_ms":1785636493000,"timestamp_seconds":1785636493,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03a96c8"} 
[2026-08-02 07:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-02 07:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":147688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":147688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":147688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122940160001,"66":27908,"201":206,"27":54016,"24":49,"16":367132236799016960,"44":-5203064912458907648},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,27,24,16,44]} 
[2026-08-02 07:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122940160001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:39:47] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-02 07:39:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367132236799016960,"km_value":367132236799016.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:39:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5203064912458907648,"description":"Unknown IO ID 44"} 
[2026-08-02 07:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122940160001,"power":27908,"unknown_201":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-5203064912458907648}} 
[2026-08-02 07:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":147688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:39:47] local.INFO: GPS data processed {"connection_id":147688,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:39:47] local.INFO: Acknowledgment sent {"connection_id":147688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:40:19] local.INFO: TCP Data received {"connection_id":147688,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03ba450012cb64f0007760830003e01082d..."} 
[2026-08-02 07:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03ba450012cb64f0007760830003e01082d..."} 
[2026-08-02 07:40:19] local.INFO: Processing buffer {"connection_id":147688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03ba450012cb64f0007760830003e01082d..."} 
[2026-08-02 07:40:19] local.INFO: Packet analysis {"connection_id":147688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03b"} 
[2026-08-02 07:40:19] local.INFO: Extracted packet for processing {"connection_id":147688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03b"} 
[2026-08-02 07:40:19] local.INFO: GPS Element Parsed {"raw_longitude":750145280,"raw_latitude":125175856,"longitude_deg":75.014528,"latitude_deg":12.5175856,"altitude":62,"angle":264,"satellites":45,"speed":54,"hex_longitude":"2cb64f00","hex_latitude":"07760830","is_valid_coordinates":true} 
[2026-08-02 07:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122958080001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367136694975070208,"note":"Value kept but may cause issues"} 
[2026-08-02 07:40:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5299118248253788160,"note":"Value kept but may cause issues"} 
[2026-08-02 07:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785636562000,"timestamp_ms":1785636562000,"timestamp_seconds":1785636562,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03ba450"} 
[2026-08-02 07:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 07:40: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-08-02 07:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122958080001,"66":28006,"40":206,"27":54016,"24":54,"16":367136694975070208,"44":-5299118248253788160},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,27,24,16,44]} 
[2026-08-02 07:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122958080001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:40:19] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-02 07:40:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367136694975070208,"km_value":367136694975070.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:40:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5299118248253788160,"description":"Unknown IO ID 44"} 
[2026-08-02 07:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122958080001,"power":28006,"unknown_40":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-5299118248253788160}} 
[2026-08-02 07:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":147688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:40:19] local.INFO: GPS data processed {"connection_id":147688,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:40:19] local.INFO: Acknowledgment sent {"connection_id":147688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:40:47] local.INFO: TCP Data received {"connection_id":147689,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:40:47] local.INFO: Processing buffer {"connection_id":147689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:40:47] local.INFO: IMEI packet received {"connection_id":147689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":147689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:40:49] local.INFO: TCP Data received {"connection_id":147689,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:40:49] local.INFO: Processing buffer {"connection_id":147689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:40:49] local.INFO: IMEI packet received {"connection_id":147689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":147689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:40:50] local.INFO: TCP Data received {"connection_id":147689,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03bbfa8012cb62a0007760518003f01072d..."} 
[2026-08-02 07:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03bbfa8012cb62a0007760518003f01072d..."} 
[2026-08-02 07:40:50] local.INFO: Processing buffer {"connection_id":147689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03bbfa8012cb62a0007760518003f01072d..."} 
[2026-08-02 07:40:50] local.INFO: Packet analysis {"connection_id":147689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03b"} 
[2026-08-02 07:40:50] local.INFO: Extracted packet for processing {"connection_id":147689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03b"} 
[2026-08-02 07:40:50] local.INFO: GPS Element Parsed {"raw_longitude":750135808,"raw_latitude":125175064,"longitude_deg":75.0135808,"latitude_deg":12.5175064,"altitude":63,"angle":263,"satellites":45,"speed":51,"hex_longitude":"2cb62a00","hex_latitude":"07760518","is_valid_coordinates":true} 
[2026-08-02 07:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122959872001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367137145946636288,"note":"Value kept but may cause issues"} 
[2026-08-02 07:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5310025403601506304,"note":"Value kept but may cause issues"} 
[2026-08-02 07:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785636569000,"timestamp_ms":1785636569000,"timestamp_seconds":1785636569,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03bbfa8"} 
[2026-08-02 07:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-02 07:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122959872001,"66":27984,"40":206,"27":54016,"24":51,"16":367137145946636288,"44":-5310025403601506304},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,27,24,16,44]} 
[2026-08-02 07:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122959872001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:40:50] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-02 07:40:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367137145946636288,"km_value":367137145946636.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5310025403601506304,"description":"Unknown IO ID 44"} 
[2026-08-02 07:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122959872001,"power":27984,"unknown_40":206,"unknown_27":54016,"ignition":51,"odometer":null,"unknown_44":-5310025403601506304}} 
[2026-08-02 07:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":147689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:40:50] local.INFO: GPS data processed {"connection_id":147689,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:40:50] local.INFO: Acknowledgment sent {"connection_id":147689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:41:22] local.INFO: TCP Data received {"connection_id":147689,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03bdee8012cb6020007760150003f01092c..."} 
[2026-08-02 07:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03bdee8012cb6020007760150003f01092c..."} 
[2026-08-02 07:41:22] local.INFO: Processing buffer {"connection_id":147689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03bdee8012cb6020007760150003f01092c..."} 
[2026-08-02 07:41:22] local.INFO: Packet analysis {"connection_id":147689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03b"} 
[2026-08-02 07:41:22] local.INFO: Extracted packet for processing {"connection_id":147689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03b"} 
[2026-08-02 07:41:22] local.INFO: GPS Element Parsed {"raw_longitude":750125568,"raw_latitude":125174096,"longitude_deg":75.0125568,"latitude_deg":12.5174096,"altitude":63,"angle":265,"satellites":44,"speed":49,"hex_longitude":"2cb60200","hex_latitude":"07760150","is_valid_coordinates":true} 
[2026-08-02 07:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122961664001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367137631277940736,"note":"Value kept but may cause issues"} 
[2026-08-02 07:41:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5320439977740003328,"note":"Value kept but may cause issues"} 
[2026-08-02 07:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785636577000,"timestamp_ms":1785636577000,"timestamp_seconds":1785636577,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03bdee8"} 
[2026-08-02 07:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-02 07:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122961664001,"66":27593,"40":206,"27":54016,"24":49,"16":367137631277940736,"44":-5320439977740003328},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,27,24,16,44]} 
[2026-08-02 07:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122961664001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:41:22] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-02 07:41:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367137631277940736,"km_value":367137631277940.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:41:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5320439977740003328,"description":"Unknown IO ID 44"} 
[2026-08-02 07:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122961664001,"power":27593,"unknown_40":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-5320439977740003328}} 
[2026-08-02 07:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":147689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:41:22] local.INFO: GPS data processed {"connection_id":147689,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:41:22] local.INFO: Acknowledgment sent {"connection_id":147689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:41:42] local.INFO: TCP Data received {"connection_id":149004,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:41:42] local.INFO: Processing buffer {"connection_id":149004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:41:42] local.INFO: IMEI packet received {"connection_id":149004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":149004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:41:43] local.INFO: TCP Data received {"connection_id":149004,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:41:43] local.INFO: Processing buffer {"connection_id":149004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:41:43] local.INFO: IMEI packet received {"connection_id":149004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":149004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:41:47] local.INFO: TCP Data received {"connection_id":149004,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:41:47] local.INFO: Processing buffer {"connection_id":149004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:41:47] local.INFO: IMEI packet received {"connection_id":149004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":149004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:41:48] local.INFO: TCP Data received {"connection_id":149004,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03cf440012cb4c84007754640003301052d..."} 
[2026-08-02 07:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03cf440012cb4c84007754640003301052d..."} 
[2026-08-02 07:41:48] local.INFO: Processing buffer {"connection_id":149004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03cf440012cb4c84007754640003301052d..."} 
[2026-08-02 07:41:48] local.INFO: Packet analysis {"connection_id":149004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03c"} 
[2026-08-02 07:41:48] local.INFO: Extracted packet for processing {"connection_id":149004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03c"} 
[2026-08-02 07:41:48] local.INFO: GPS Element Parsed {"raw_longitude":750045248,"raw_latitude":125126208,"longitude_deg":75.0045248,"latitude_deg":12.5126208,"altitude":51,"angle":261,"satellites":45,"speed":52,"hex_longitude":"2cb4c840","hex_latitude":"07754640","is_valid_coordinates":true} 
[2026-08-02 07:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122981120001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367142145288568832,"note":"Value kept but may cause issues"} 
[2026-08-02 07:41:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5415719257368811520,"note":"Value kept but may cause issues"} 
[2026-08-02 07:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785636648000,"timestamp_ms":1785636648000,"timestamp_seconds":1785636648,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03cf440"} 
[2026-08-02 07:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":65,"data_length":795,"current_offset":136} 
[2026-08-02 07:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122981120001,"66":27767,"100":206,"27":54016,"24":52,"16":367142145288568832,"44":-5415719257368811520},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-08-02 07:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122981120001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:41:48] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-02 07:41:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367142145288568832,"km_value":367142145288568.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:41:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5415719257368811520,"description":"Unknown IO ID 44"} 
[2026-08-02 07:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122981120001,"power":27767,"unknown_100":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-5415719257368811520}} 
[2026-08-02 07:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":149004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:41:48] local.INFO: GPS data processed {"connection_id":149004,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:41:48] local.INFO: Acknowledgment sent {"connection_id":149004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:42:19] local.INFO: TCP Data received {"connection_id":149004,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03cfff8012cb4b880077545e0003101122b..."} 
[2026-08-02 07:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03cfff8012cb4b880077545e0003101122b..."} 
[2026-08-02 07:42:19] local.INFO: Processing buffer {"connection_id":149004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03cfff8012cb4b880077545e0003101122b..."} 
[2026-08-02 07:42:19] local.INFO: Packet analysis {"connection_id":149004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03c"} 
[2026-08-02 07:42:19] local.INFO: Extracted packet for processing {"connection_id":149004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03c"} 
[2026-08-02 07:42:19] local.INFO: GPS Element Parsed {"raw_longitude":750041216,"raw_latitude":125126112,"longitude_deg":75.0041216,"latitude_deg":12.5126112,"altitude":49,"angle":274,"satellites":43,"speed":52,"hex_longitude":"2cb4b880","hex_latitude":"077545e0","is_valid_coordinates":true} 
[2026-08-02 07:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122981888001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367142334267129856,"note":"Value kept but may cause issues"} 
[2026-08-02 07:42:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5420011750763905024,"note":"Value kept but may cause issues"} 
[2026-08-02 07:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785636651000,"timestamp_ms":1785636651000,"timestamp_seconds":1785636651,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03cfff8"} 
[2026-08-02 07:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 07:42: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-08-02 07:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122981888001,"66":28017,"100":206,"27":54016,"24":52,"16":367142334267129856,"44":-5420011750763905024},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-08-02 07:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122981888001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:42:19] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-02 07:42:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367142334267129856,"km_value":367142334267129.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:42:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5420011750763905024,"description":"Unknown IO ID 44"} 
[2026-08-02 07:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122981888001,"power":28017,"unknown_100":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-5420011750763905024}} 
[2026-08-02 07:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":149004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:42:19] local.INFO: GPS data processed {"connection_id":149004,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:42:19] local.INFO: Acknowledgment sent {"connection_id":149004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:42:40] local.INFO: TCP Data received {"connection_id":147690,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:42:40] local.INFO: Processing buffer {"connection_id":147690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:42:40] local.INFO: IMEI packet received {"connection_id":147690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":147690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:42:42] local.INFO: TCP Data received {"connection_id":147690,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:42:42] local.INFO: Processing buffer {"connection_id":147690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:42:42] local.INFO: IMEI packet received {"connection_id":147690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":147690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:42:47] local.INFO: TCP Data received {"connection_id":147690,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:42:47] local.INFO: Processing buffer {"connection_id":147690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:42:47] local.INFO: IMEI packet received {"connection_id":147690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":147690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:42:48] local.INFO: TCP Data received {"connection_id":147690,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03d0bb0012cb4a900077548b00030011d2b..."} 
[2026-08-02 07:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03d0bb0012cb4a900077548b00030011d2b..."} 
[2026-08-02 07:42:48] local.INFO: Processing buffer {"connection_id":147690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03d0bb0012cb4a900077548b00030011d2b..."} 
[2026-08-02 07:42:48] local.INFO: Packet analysis {"connection_id":147690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03d"} 
[2026-08-02 07:42:48] local.INFO: Extracted packet for processing {"connection_id":147690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03d"} 
[2026-08-02 07:42:48] local.INFO: GPS Element Parsed {"raw_longitude":750037248,"raw_latitude":125126832,"longitude_deg":75.0037248,"latitude_deg":12.5126832,"altitude":48,"angle":285,"satellites":43,"speed":53,"hex_longitude":"2cb4a900","hex_latitude":"077548b0","is_valid_coordinates":true} 
[2026-08-02 07:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122982656001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367142527540658176,"note":"Value kept but may cause issues"} 
[2026-08-02 07:42:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5424444981647122432,"note":"Value kept but may cause issues"} 
[2026-08-02 07:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785636654000,"timestamp_ms":1785636654000,"timestamp_seconds":1785636654,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03d0bb0"} 
[2026-08-02 07:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":113,"data_length":795,"current_offset":136} 
[2026-08-02 07:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122982656001,"66":27767,"100":206,"27":54016,"24":53,"16":367142527540658176,"44":-5424444981647122432},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-08-02 07:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122982656001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:42:48] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-02 07:42:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367142527540658176,"km_value":367142527540658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:42:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5424444981647122432,"description":"Unknown IO ID 44"} 
[2026-08-02 07:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122982656001,"power":27767,"unknown_100":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-5424444981647122432}} 
[2026-08-02 07:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":147690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:42:48] local.INFO: GPS data processed {"connection_id":147690,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:42:48] local.INFO: Acknowledgment sent {"connection_id":147690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:43:20] local.INFO: TCP Data received {"connection_id":147690,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03e6758012cb37a400774b740001c00d328..."} 
[2026-08-02 07:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03e6758012cb37a400774b740001c00d328..."} 
[2026-08-02 07:43:20] local.INFO: Processing buffer {"connection_id":147690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03e6758012cb37a400774b740001c00d328..."} 
[2026-08-02 07:43:20] local.INFO: Packet analysis {"connection_id":147690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03e"} 
[2026-08-02 07:43:20] local.INFO: Extracted packet for processing {"connection_id":147690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03e"} 
[2026-08-02 07:43:20] local.INFO: GPS Element Parsed {"raw_longitude":749959744,"raw_latitude":125089600,"longitude_deg":74.9959744,"latitude_deg":12.50896,"altitude":28,"angle":211,"satellites":40,"speed":50,"hex_longitude":"2cb37a40","hex_latitude":"0774b740","is_valid_coordinates":true} 
[2026-08-02 07:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123004672001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367147393738604544,"note":"Value kept but may cause issues"} 
[2026-08-02 07:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5508676368435519488,"note":"Value kept but may cause issues"} 
[2026-08-02 07:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785636743000,"timestamp_ms":1785636743000,"timestamp_seconds":1785636743,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03e6758"} 
[2026-08-02 07:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 07:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123004672001,"66":27843,"101":206,"27":54016,"24":50,"16":367147393738604544,"44":-5508676368435519488},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-08-02 07:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123004672001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:43:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 07:43:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367147393738604544,"km_value":367147393738604.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5508676368435519488,"description":"Unknown IO ID 44"} 
[2026-08-02 07:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123004672001,"power":27843,"unknown_101":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-5508676368435519488}} 
[2026-08-02 07:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":147690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:43:20] local.INFO: GPS data processed {"connection_id":147690,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:43:20] local.INFO: Acknowledgment sent {"connection_id":147690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:43:41] local.INFO: TCP Data received {"connection_id":146455,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:43:41] local.INFO: Processing buffer {"connection_id":146455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:43:41] local.INFO: IMEI packet received {"connection_id":146455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":146455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:43:42] local.INFO: TCP Data received {"connection_id":146455,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:43:42] local.INFO: Processing buffer {"connection_id":146455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:43:42] local.INFO: IMEI packet received {"connection_id":146455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":146455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:43:47] local.INFO: TCP Data received {"connection_id":146455,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:43:47] local.INFO: Processing buffer {"connection_id":146455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:43:47] local.INFO: IMEI packet received {"connection_id":146455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":146455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:43:48] local.INFO: TCP Data received {"connection_id":146455,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03e8698012cb36980077496b8002100ce23..."} 
[2026-08-02 07:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03e8698012cb36980077496b8002100ce23..."} 
[2026-08-02 07:43:48] local.INFO: Processing buffer {"connection_id":146455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03e8698012cb36980077496b8002100ce23..."} 
[2026-08-02 07:43:48] local.INFO: Packet analysis {"connection_id":146455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03e"} 
[2026-08-02 07:43:48] local.INFO: Extracted packet for processing {"connection_id":146455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03e"} 
[2026-08-02 07:43:48] local.INFO: GPS Element Parsed {"raw_longitude":749955456,"raw_latitude":125081272,"longitude_deg":74.9955456,"latitude_deg":12.5081272,"altitude":33,"angle":206,"satellites":35,"speed":44,"hex_longitude":"2cb36980","hex_latitude":"077496b8","is_valid_coordinates":true} 
[2026-08-02 07:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123006208001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367147844710170624,"note":"Value kept but may cause issues"} 
[2026-08-02 07:43:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5514024392994635776,"note":"Value kept but may cause issues"} 
[2026-08-02 07:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785636751000,"timestamp_ms":1785636751000,"timestamp_seconds":1785636751,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03e8698"} 
[2026-08-02 07:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 07:43: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-08-02 07:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123006208001,"66":27865,"101":206,"27":54016,"24":44,"16":367147844710170624,"44":-5514024392994635776},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-08-02 07:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123006208001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:43:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 07:43:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367147844710170624,"km_value":367147844710170.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:43:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5514024392994635776,"description":"Unknown IO ID 44"} 
[2026-08-02 07:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123006208001,"power":27865,"unknown_101":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-5514024392994635776}} 
[2026-08-02 07:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":146455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:43:48] local.INFO: GPS data processed {"connection_id":146455,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:43:48] local.INFO: Acknowledgment sent {"connection_id":146455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:44:19] local.INFO: TCP Data received {"connection_id":146455,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03ea9c0012cb35c0007747470002900cc1e..."} 
[2026-08-02 07:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03ea9c0012cb35c0007747470002900cc1e..."} 
[2026-08-02 07:44:19] local.INFO: Processing buffer {"connection_id":146455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03ea9c0012cb35c0007747470002900cc1e..."} 
[2026-08-02 07:44:19] local.INFO: Packet analysis {"connection_id":146455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03e"} 
[2026-08-02 07:44:19] local.INFO: Extracted packet for processing {"connection_id":146455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03e"} 
[2026-08-02 07:44:19] local.INFO: GPS Element Parsed {"raw_longitude":749952000,"raw_latitude":125072496,"longitude_deg":74.9952,"latitude_deg":12.5072496,"altitude":41,"angle":204,"satellites":30,"speed":41,"hex_longitude":"2cb35c00","hex_latitude":"07747470","is_valid_coordinates":true} 
[2026-08-02 07: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-08-02 07:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123008256001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367148299976704000,"note":"Value kept but may cause issues"} 
[2026-08-02 07:44:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5518739098856671232,"note":"Value kept but may cause issues"} 
[2026-08-02 07:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785636760000,"timestamp_ms":1785636760000,"timestamp_seconds":1785636760,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03ea9c0"} 
[2026-08-02 07:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07: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-08-02 07: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-08-02 07: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-08-02 07: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-08-02 07:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123008256001,"66":27908,"101":206,"27":54016,"24":41,"16":367148299976704000,"44":-5518739098856671232},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-08-02 07:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123008256001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:44:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 07:44:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367148299976704000,"km_value":367148299976704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:44:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5518739098856671232,"description":"Unknown IO ID 44"} 
[2026-08-02 07:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123008256001,"power":27908,"unknown_101":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-5518739098856671232}} 
[2026-08-02 07:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":146455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:44:19] local.INFO: GPS data processed {"connection_id":146455,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:44:19] local.INFO: Acknowledgment sent {"connection_id":146455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:44:41] local.INFO: TCP Data received {"connection_id":146456,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:44:41] local.INFO: Processing buffer {"connection_id":146456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:44:41] local.INFO: IMEI packet received {"connection_id":146456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":146456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:44:47] local.INFO: TCP Data received {"connection_id":146456,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:44:47] local.INFO: Processing buffer {"connection_id":146456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:44:47] local.INFO: IMEI packet received {"connection_id":146456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":146456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:44:49] local.INFO: TCP Data received {"connection_id":146456,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03fab90012cb24a80077488c00015013321..."} 
[2026-08-02 07:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03fab90012cb24a80077488c00015013321..."} 
[2026-08-02 07:44:49] local.INFO: Processing buffer {"connection_id":146456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03fab90012cb24a80077488c00015013321..."} 
[2026-08-02 07:44:49] local.INFO: Packet analysis {"connection_id":146456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03f"} 
[2026-08-02 07:44:49] local.INFO: Extracted packet for processing {"connection_id":146456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03f"} 
[2026-08-02 07:44:49] local.INFO: GPS Element Parsed {"raw_longitude":749881984,"raw_latitude":125077696,"longitude_deg":74.9881984,"latitude_deg":12.5077696,"altitude":21,"angle":307,"satellites":33,"speed":14,"hex_longitude":"2cb24a80","hex_latitude":"077488c0","is_valid_coordinates":true} 
[2026-08-02 07:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123024896001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367152070957989888,"note":"Value kept but may cause issues"} 
[2026-08-02 07:44:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5591500380338245632,"note":"Value kept but may cause issues"} 
[2026-08-02 07:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785636826000,"timestamp_ms":1785636826000,"timestamp_seconds":1785636826,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03fab90"} 
[2026-08-02 07:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-02 07:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123024896001,"66":27908,"6":206,"27":54016,"24":14,"16":367152070957989888,"44":-5591500380338245632},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-08-02 07:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123024896001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:44:49] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-02 07:44:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367152070957989888,"km_value":367152070957989.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:44:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5591500380338245632,"description":"Unknown IO ID 44"} 
[2026-08-02 07:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123024896001,"power":27908,"unknown_6":206,"unknown_27":54016,"ignition":14,"odometer":null,"unknown_44":-5591500380338245632}} 
[2026-08-02 07:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":146456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:44:49] local.INFO: GPS data processed {"connection_id":146456,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:44:49] local.INFO: Acknowledgment sent {"connection_id":146456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:45:20] local.INFO: TCP Data received {"connection_id":146456,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03fb360012cb2490007748a900015014b1f..."} 
[2026-08-02 07:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03fb360012cb2490007748a900015014b1f..."} 
[2026-08-02 07:45:20] local.INFO: Processing buffer {"connection_id":146456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03fb360012cb2490007748a900015014b1f..."} 
[2026-08-02 07:45:20] local.INFO: Packet analysis {"connection_id":146456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03f"} 
[2026-08-02 07:45:20] local.INFO: Extracted packet for processing {"connection_id":146456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03f"} 
[2026-08-02 07:45:20] local.INFO: GPS Element Parsed {"raw_longitude":749881600,"raw_latitude":125078160,"longitude_deg":74.98816,"latitude_deg":12.507816,"altitude":21,"angle":331,"satellites":31,"speed":11,"hex_longitude":"2cb24900","hex_latitude":"07748a90","is_valid_coordinates":true} 
[2026-08-02 07:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123027456001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367152101022760960,"note":"Value kept but may cause issues"} 
[2026-08-02 07:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599522417173544960,"note":"Value kept but may cause issues"} 
[2026-08-02 07:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785636828000,"timestamp_ms":1785636828000,"timestamp_seconds":1785636828,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03fb360"} 
[2026-08-02 07:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 07:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123027456001,"66":27767,"6":206,"27":54016,"24":11,"16":367152101022760960,"44":-5599522417173544960},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-08-02 07:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123027456001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:45:20] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-02 07:45:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367152101022760960,"km_value":367152101022760.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599522417173544960,"description":"Unknown IO ID 44"} 
[2026-08-02 07:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123027456001,"power":27767,"unknown_6":206,"unknown_27":54016,"ignition":11,"odometer":null,"unknown_44":-5599522417173544960}} 
[2026-08-02 07:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":146456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:45:20] local.INFO: GPS data processed {"connection_id":146456,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:45:20] local.INFO: Acknowledgment sent {"connection_id":146456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:45:42] local.INFO: TCP Data received {"connection_id":147691,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:45:42] local.INFO: Processing buffer {"connection_id":147691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:45:42] local.INFO: IMEI packet received {"connection_id":147691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":147691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:45:47] local.INFO: TCP Data received {"connection_id":147691,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:45:47] local.INFO: Processing buffer {"connection_id":147691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:45:47] local.INFO: IMEI packet received {"connection_id":147691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":147691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:45:48] local.INFO: TCP Data received {"connection_id":147691,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03fbb30012cb248c007748ca00015016321..."} 
[2026-08-02 07:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03fbb30012cb248c007748ca00015016321..."} 
[2026-08-02 07:45:48] local.INFO: Processing buffer {"connection_id":147691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03fbb30012cb248c007748ca00015016321..."} 
[2026-08-02 07:45:48] local.INFO: Packet analysis {"connection_id":147691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03f"} 
[2026-08-02 07:45:48] local.INFO: Extracted packet for processing {"connection_id":147691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03f"} 
[2026-08-02 07:45:48] local.INFO: GPS Element Parsed {"raw_longitude":749881536,"raw_latitude":125078688,"longitude_deg":74.9881536,"latitude_deg":12.5078688,"altitude":21,"angle":355,"satellites":33,"speed":10,"hex_longitude":"2cb248c0","hex_latitude":"07748ca0","is_valid_coordinates":true} 
[2026-08-02 07:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123027968001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367152131087532032,"note":"Value kept but may cause issues"} 
[2026-08-02 07:45:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599944629638492160,"note":"Value kept but may cause issues"} 
[2026-08-02 07:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785636830000,"timestamp_ms":1785636830000,"timestamp_seconds":1785636830,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03fbb30"} 
[2026-08-02 07:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 07:45: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-08-02 07:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123027968001,"66":27876,"6":206,"27":54016,"24":10,"16":367152131087532032,"44":-5599944629638492160},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-08-02 07:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123027968001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:45:48] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-02 07:45:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367152131087532032,"km_value":367152131087532.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:45:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599944629638492160,"description":"Unknown IO ID 44"} 
[2026-08-02 07:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123027968001,"power":27876,"unknown_6":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-5599944629638492160}} 
[2026-08-02 07:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":147691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:45:48] local.INFO: GPS data processed {"connection_id":147691,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:45:48] local.INFO: Acknowledgment sent {"connection_id":147691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:46:20] local.INFO: TCP Data received {"connection_id":147691,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03fc300012cb2494007748ed00013000a23..."} 
[2026-08-02 07:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03fc300012cb2494007748ed00013000a23..."} 
[2026-08-02 07:46:20] local.INFO: Processing buffer {"connection_id":147691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03fc300012cb2494007748ed00013000a23..."} 
[2026-08-02 07:46:20] local.INFO: Packet analysis {"connection_id":147691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03f"} 
[2026-08-02 07:46:20] local.INFO: Extracted packet for processing {"connection_id":147691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03f"} 
[2026-08-02 07:46:20] local.INFO: GPS Element Parsed {"raw_longitude":749881664,"raw_latitude":125079248,"longitude_deg":74.9881664,"latitude_deg":12.5079248,"altitude":19,"angle":10,"satellites":35,"speed":11,"hex_longitude":"2cb24940","hex_latitude":"07748ed0","is_valid_coordinates":true} 
[2026-08-02 07:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123028480001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367152156857335808,"note":"Value kept but may cause issues"} 
[2026-08-02 07:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5600014998382534656,"note":"Value kept but may cause issues"} 
[2026-08-02 07:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785636832000,"timestamp_ms":1785636832000,"timestamp_seconds":1785636832,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03fc300"} 
[2026-08-02 07:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 07:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123028480001,"66":27908,"6":206,"27":54016,"24":11,"16":367152156857335808,"44":-5600014998382534656},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-08-02 07:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123028480001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:46:20] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-02 07:46:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367152156857335808,"km_value":367152156857335.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:46:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5600014998382534656,"description":"Unknown IO ID 44"} 
[2026-08-02 07:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123028480001,"power":27908,"unknown_6":206,"unknown_27":54016,"ignition":11,"odometer":null,"unknown_44":-5600014998382534656}} 
[2026-08-02 07:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":147691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:46:20] local.INFO: GPS data processed {"connection_id":147691,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:46:20] local.INFO: Acknowledgment sent {"connection_id":147691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:46:46] local.INFO: TCP Data received {"connection_id":146676,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:46:46] local.INFO: Processing buffer {"connection_id":146676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:46:46] local.INFO: IMEI packet received {"connection_id":146676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":146676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:46:47] local.INFO: TCP Data received {"connection_id":146676,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:46:47] local.INFO: Processing buffer {"connection_id":146676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:46:47] local.INFO: IMEI packet received {"connection_id":146676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":146676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:46:52] local.INFO: TCP Data received {"connection_id":146676,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:46:52] local.INFO: Processing buffer {"connection_id":146676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:46:52] local.INFO: IMEI packet received {"connection_id":146676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":146676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:46:57] local.INFO: TCP Data received {"connection_id":146676,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0418438012cb2a5c007751610001a00c527..."} 
[2026-08-02 07:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0418438012cb2a5c007751610001a00c527..."} 
[2026-08-02 07:46:57] local.INFO: Processing buffer {"connection_id":146676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0418438012cb2a5c007751610001a00c527..."} 
[2026-08-02 07:46:57] local.INFO: Packet analysis {"connection_id":146676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc041"} 
[2026-08-02 07:46:57] local.INFO: Extracted packet for processing {"connection_id":146676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc041"} 
[2026-08-02 07:46:57] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125113872,"longitude_deg":74.9905344,"latitude_deg":12.5113872,"altitude":26,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751610","is_valid_coordinates":true} 
[2026-08-02 07:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123057920001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154214146670592,"note":"Value kept but may cause issues"} 
[2026-08-02 07:46:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539420160,"note":"Value kept but may cause issues"} 
[2026-08-02 07:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785636947000,"timestamp_ms":1785636947000,"timestamp_seconds":1785636947,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0418438"} 
[2026-08-02 07:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-02 07:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123057920001,"66":27930,"241":206,"27":54016,"24":0,"16":367154214146670592,"44":-5573837825539420160},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123057920001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:46:57] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:46:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154214146670592,"km_value":367154214146670.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:46:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539420160,"description":"Unknown IO ID 44"} 
[2026-08-02 07:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123057920001,"power":27930,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573837825539420160}} 
[2026-08-02 07:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":146676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:46:57] local.INFO: GPS data processed {"connection_id":146676,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:46:57] local.INFO: Acknowledgment sent {"connection_id":146676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:47:41] local.INFO: TCP Data received {"connection_id":146677,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:47:41] local.INFO: Processing buffer {"connection_id":146677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:47:41] local.INFO: IMEI packet received {"connection_id":146677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":146677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:47:47] local.INFO: TCP Data received {"connection_id":146677,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:47:47] local.INFO: Processing buffer {"connection_id":146677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:47:47] local.INFO: IMEI packet received {"connection_id":146677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":146677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:47:48] local.INFO: TCP Data received {"connection_id":146677,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0419ba8012cb2a60007751688001a002d28..."} 
[2026-08-02 07:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0419ba8012cb2a60007751688001a002d28..."} 
[2026-08-02 07:47:48] local.INFO: Processing buffer {"connection_id":146677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0419ba8012cb2a60007751688001a002d28..."} 
[2026-08-02 07:47:48] local.INFO: Packet analysis {"connection_id":146677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc041"} 
[2026-08-02 07:47:48] local.INFO: Extracted packet for processing {"connection_id":146677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc041"} 
[2026-08-02 07:47:48] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125113992,"longitude_deg":74.9905408,"latitude_deg":12.5113992,"altitude":26,"angle":45,"satellites":40,"speed":2,"hex_longitude":"2cb2a600","hex_latitude":"07751688","is_valid_coordinates":true} 
[2026-08-02 07:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123058432001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154227031572480,"note":"Value kept but may cause issues"} 
[2026-08-02 07:47:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539436544,"note":"Value kept but may cause issues"} 
[2026-08-02 07:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785636953000,"timestamp_ms":1785636953000,"timestamp_seconds":1785636953,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0419ba8"} 
[2026-08-02 07:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-02 07:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123058432001,"66":27800,"241":206,"27":54016,"24":2,"16":367154227031572480,"44":-5573837825539436544},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123058432001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:47:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:47:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154227031572480,"km_value":367154227031572.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:47:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539436544,"description":"Unknown IO ID 44"} 
[2026-08-02 07:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123058432001,"power":27800,"unknown_241":206,"unknown_27":54016,"ignition":2,"odometer":null,"unknown_44":-5573837825539436544}} 
[2026-08-02 07:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":146677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:47:48] local.INFO: GPS data processed {"connection_id":146677,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:47:48] local.INFO: Acknowledgment sent {"connection_id":146677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:48:21] local.INFO: TCP Data received {"connection_id":146677,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc041a760012cb2a6c007751718001a003929..."} 
[2026-08-02 07:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc041a760012cb2a6c007751718001a003929..."} 
[2026-08-02 07:48:21] local.INFO: Processing buffer {"connection_id":146677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc041a760012cb2a6c007751718001a003929..."} 
[2026-08-02 07:48:21] local.INFO: Packet analysis {"connection_id":146677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc041"} 
[2026-08-02 07:48:21] local.INFO: Extracted packet for processing {"connection_id":146677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc041"} 
[2026-08-02 07:48:21] local.INFO: GPS Element Parsed {"raw_longitude":749905600,"raw_latitude":125114136,"longitude_deg":74.99056,"latitude_deg":12.5114136,"altitude":26,"angle":57,"satellites":41,"speed":2,"hex_longitude":"2cb2a6c0","hex_latitude":"07751718","is_valid_coordinates":true} 
[2026-08-02 07:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123059968001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154239916474368,"note":"Value kept but may cause issues"} 
[2026-08-02 07:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795228160,"note":"Value kept but may cause issues"} 
[2026-08-02 07:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785636956000,"timestamp_ms":1785636956000,"timestamp_seconds":1785636956,"priority":1,"record_length":96,"hex_timestamp":"0000019fc041a760"} 
[2026-08-02 07:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-02 07:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123059968001,"66":27865,"241":206,"27":54016,"24":2,"16":367154239916474368,"44":-5573767456795228160},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123059968001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:48:21] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:48:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154239916474368,"km_value":367154239916474.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795228160,"description":"Unknown IO ID 44"} 
[2026-08-02 07:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123059968001,"power":27865,"unknown_241":206,"unknown_27":54016,"ignition":2,"odometer":null,"unknown_44":-5573767456795228160}} 
[2026-08-02 07:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":146677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:48:21] local.INFO: GPS data processed {"connection_id":146677,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:48:21] local.INFO: Acknowledgment sent {"connection_id":146677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:48:34] local.INFO: TCP Data received {"connection_id":149005,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:48:34] local.INFO: Processing buffer {"connection_id":149005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:48:34] local.INFO: IMEI packet received {"connection_id":149005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 07:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":149005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:48:39] local.INFO: TCP Data received {"connection_id":149005,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:48:39] local.INFO: Processing buffer {"connection_id":149005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:48:39] local.INFO: IMEI packet received {"connection_id":149005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 07:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":149005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:48:40] local.INFO: TCP Data received {"connection_id":149005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-08-02 07:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-08-02 07:48:40] local.INFO: Processing buffer {"connection_id":149005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-08-02 07:48:40] local.INFO: Packet analysis {"connection_id":149005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-02 07:48:40] local.INFO: Extracted packet for processing {"connection_id":149005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-02 07:48: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-08-02 07:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-02 07:48:40] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-08-02 07:48:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7000,"timestamp_seconds":7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 07:48:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 07:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149005,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149005,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 07:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149005,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 07:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 07:48:40] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 07:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":149005,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 07:48:40] local.ERROR: GPS data processing failed {"connection_id":149005,"error":"No valid data to process"} 
[2026-08-02 07:48:40] local.INFO: Acknowledgment sent {"connection_id":149005,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 07:48:41] local.INFO: TCP Data received {"connection_id":146678,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:48:41] local.INFO: Processing buffer {"connection_id":146678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:48:41] local.INFO: IMEI packet received {"connection_id":146678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":146678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:48:49] local.INFO: TCP Data received {"connection_id":146678,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:48:49] local.INFO: Processing buffer {"connection_id":146678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:48:49] local.INFO: IMEI packet received {"connection_id":146678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":146678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:48:54] local.INFO: TCP Data received {"connection_id":146678,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc041bed0012cb2a84007751888001a002b28..."} 
[2026-08-02 07:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc041bed0012cb2a84007751888001a002b28..."} 
[2026-08-02 07:48:54] local.INFO: Processing buffer {"connection_id":146678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc041bed0012cb2a84007751888001a002b28..."} 
[2026-08-02 07:48:54] local.INFO: Packet analysis {"connection_id":146678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc041"} 
[2026-08-02 07:48:54] local.INFO: Extracted packet for processing {"connection_id":146678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc041"} 
[2026-08-02 07:48:54] local.INFO: GPS Element Parsed {"raw_longitude":749905984,"raw_latitude":125114504,"longitude_deg":74.9905984,"latitude_deg":12.5114504,"altitude":26,"angle":43,"satellites":40,"speed":3,"hex_longitude":"2cb2a840","hex_latitude":"07751888","is_valid_coordinates":true} 
[2026-08-02 07:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123060736001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154265686278144,"note":"Value kept but may cause issues"} 
[2026-08-02 07:48:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573556350562658304,"note":"Value kept but may cause issues"} 
[2026-08-02 07:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785636962000,"timestamp_ms":1785636962000,"timestamp_seconds":1785636962,"priority":1,"record_length":96,"hex_timestamp":"0000019fc041bed0"} 
[2026-08-02 07:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 07:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123060736001,"66":27908,"241":206,"27":54016,"24":3,"16":367154265686278144,"44":-5573556350562658304},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123060736001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:48:54] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:48:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154265686278144,"km_value":367154265686278.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:48:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573556350562658304,"description":"Unknown IO ID 44"} 
[2026-08-02 07:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123060736001,"power":27908,"unknown_241":206,"unknown_27":54016,"ignition":3,"odometer":null,"unknown_44":-5573556350562658304}} 
[2026-08-02 07:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":146678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:48:54] local.INFO: GPS data processed {"connection_id":146678,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:48:54] local.INFO: Acknowledgment sent {"connection_id":146678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:49:11] local.INFO: TCP Data received {"connection_id":149005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0442800012d7c080005bd4ba0001200000a..."} 
[2026-08-02 07:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0442800012d7c080005bd4ba0001200000a..."} 
[2026-08-02 07:49:11] local.INFO: Processing buffer {"connection_id":149005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0442800012d7c080005bd4ba0001200000a..."} 
[2026-08-02 07:49:11] local.INFO: Packet analysis {"connection_id":149005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc044"} 
[2026-08-02 07:49:11] local.INFO: Extracted packet for processing {"connection_id":149005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc044"} 
[2026-08-02 07:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291744,"longitude_deg":76.3103232,"latitude_deg":9.6291744,"altitude":18,"angle":0,"satellites":10,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4ba0","is_valid_coordinates":true} 
[2026-08-02 07:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-02 07:49:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 07:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785637120000,"timestamp_ms":1785637120000,"timestamp_seconds":1785637120,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0442800"} 
[2026-08-02 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-08-02 07:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 07:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 07:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 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-08-02 07:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 07:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 07:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12526,"197":206,"85":12544,"24":0,"16":113620602446675968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16]} 
[2026-08-02 07:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 07:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 07:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-02 07:49:11] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 07:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-02 07:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:49:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12526,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-08-02 07:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":149005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:49:11] local.INFO: GPS data processed {"connection_id":149005,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:49:11] local.INFO: Acknowledgment sent {"connection_id":149005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:49:30] local.INFO: TCP Data received {"connection_id":146678,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc041d640012cb2a8c007751888001b00ca28..."} 
[2026-08-02 07:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc041d640012cb2a8c007751888001b00ca28..."} 
[2026-08-02 07:49:30] local.INFO: Processing buffer {"connection_id":146678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc041d640012cb2a8c007751888001b00ca28..."} 
[2026-08-02 07:49:30] local.INFO: Packet analysis {"connection_id":146678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc041"} 
[2026-08-02 07:49:30] local.INFO: Extracted packet for processing {"connection_id":146678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc041"} 
[2026-08-02 07:49:30] local.INFO: GPS Element Parsed {"raw_longitude":749906112,"raw_latitude":125114504,"longitude_deg":74.9906112,"latitude_deg":12.5114504,"altitude":27,"angle":202,"satellites":40,"speed":2,"hex_longitude":"2cb2a8c0","hex_latitude":"07751888","is_valid_coordinates":true} 
[2026-08-02 07:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123062272001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154274276212736,"note":"Value kept but may cause issues"} 
[2026-08-02 07:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573134138097498112,"note":"Value kept but may cause issues"} 
[2026-08-02 07:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785636968000,"timestamp_ms":1785636968000,"timestamp_seconds":1785636968,"priority":1,"record_length":96,"hex_timestamp":"0000019fc041d640"} 
[2026-08-02 07:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 07:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123062272001,"66":27995,"241":206,"27":54016,"24":2,"16":367154274276212736,"44":-5573134138097498112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123062272001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:49:30] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:49:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154274276212736,"km_value":367154274276212.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573134138097498112,"description":"Unknown IO ID 44"} 
[2026-08-02 07:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123062272001,"power":27995,"unknown_241":206,"unknown_27":54016,"ignition":2,"odometer":null,"unknown_44":-5573134138097498112}} 
[2026-08-02 07:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":146678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:49:30] local.INFO: GPS data processed {"connection_id":146678,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:49:30] local.INFO: Acknowledgment sent {"connection_id":146678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:49:42] local.INFO: TCP Data received {"connection_id":149005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0442800012d7c080005bd4ba0001200000a..."} 
[2026-08-02 07:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0442800012d7c080005bd4ba0001200000a..."} 
[2026-08-02 07:49:42] local.INFO: Processing buffer {"connection_id":149005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0442800012d7c080005bd4ba0001200000a..."} 
[2026-08-02 07:49:42] local.INFO: Packet analysis {"connection_id":149005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc044"} 
[2026-08-02 07:49:42] local.INFO: Extracted packet for processing {"connection_id":149005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc044"} 
[2026-08-02 07:49:42] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291744,"longitude_deg":76.3103232,"latitude_deg":9.6291744,"altitude":18,"angle":0,"satellites":10,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4ba0","is_valid_coordinates":true} 
[2026-08-02 07:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-02 07:49:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 07:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785637120000,"timestamp_ms":1785637120000,"timestamp_seconds":1785637120,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0442800"} 
[2026-08-02 07:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 07:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 07:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 07:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12526,"197":206,"85":12544,"24":0,"16":113620602446675968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16]} 
[2026-08-02 07:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 07:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 07:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-02 07:49:42] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 07:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-02 07:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:49:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12526,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-08-02 07:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":149005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:49:42] local.INFO: GPS data processed {"connection_id":149005,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:49:42] local.INFO: Acknowledgment sent {"connection_id":149005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:49:47] local.INFO: TCP Data received {"connection_id":146457,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:49:47] local.INFO: Processing buffer {"connection_id":146457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:49:47] local.INFO: IMEI packet received {"connection_id":146457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":146457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:49:48] local.INFO: TCP Data received {"connection_id":146457,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:49:48] local.INFO: Processing buffer {"connection_id":146457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:49:48] local.INFO: IMEI packet received {"connection_id":146457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":146457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:49:50] local.INFO: TCP Data received {"connection_id":146457,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0422848012cb2a84007751830001b00ca28..."} 
[2026-08-02 07:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0422848012cb2a84007751830001b00ca28..."} 
[2026-08-02 07:49:50] local.INFO: Processing buffer {"connection_id":146457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0422848012cb2a84007751830001b00ca28..."} 
[2026-08-02 07:49:50] local.INFO: Packet analysis {"connection_id":146457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc042"} 
[2026-08-02 07:49:50] local.INFO: Extracted packet for processing {"connection_id":146457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc042"} 
[2026-08-02 07:49:50] local.INFO: GPS Element Parsed {"raw_longitude":749905984,"raw_latitude":125114416,"longitude_deg":74.9905984,"latitude_deg":12.5114416,"altitude":27,"angle":202,"satellites":40,"speed":0,"hex_longitude":"2cb2a840","hex_latitude":"07751830","is_valid_coordinates":true} 
[2026-08-02 07:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123063808001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154282866147328,"note":"Value kept but may cause issues"} 
[2026-08-02 07:49:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609142784,"note":"Value kept but may cause issues"} 
[2026-08-02 07:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785636989000,"timestamp_ms":1785636989000,"timestamp_seconds":1785636989,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0422848"} 
[2026-08-02 07:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 07:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123063808001,"66":27843,"241":206,"27":54016,"24":0,"16":367154282866147328,"44":-5572993400609142784},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123063808001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:49:50] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:49:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154282866147328,"km_value":367154282866147.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:49:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609142784,"description":"Unknown IO ID 44"} 
[2026-08-02 07:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123063808001,"power":27843,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609142784}} 
[2026-08-02 07:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":146457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:49:50] local.INFO: GPS data processed {"connection_id":146457,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:49:50] local.INFO: Acknowledgment sent {"connection_id":146457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:49:52] local.INFO: TCP Data received {"connection_id":146457,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0427a50012cb2a84007751830001b00ca27..."} 
[2026-08-02 07:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0427a50012cb2a84007751830001b00ca27..."} 
[2026-08-02 07:49:52] local.INFO: Processing buffer {"connection_id":146457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0427a50012cb2a84007751830001b00ca27..."} 
[2026-08-02 07:49:52] local.INFO: Packet analysis {"connection_id":146457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc042"} 
[2026-08-02 07:49:52] local.INFO: Extracted packet for processing {"connection_id":146457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc042"} 
[2026-08-02 07:49:52] local.INFO: GPS Element Parsed {"raw_longitude":749905984,"raw_latitude":125114416,"longitude_deg":74.9905984,"latitude_deg":12.5114416,"altitude":27,"angle":202,"satellites":39,"speed":0,"hex_longitude":"2cb2a840","hex_latitude":"07751830","is_valid_coordinates":true} 
[2026-08-02 07:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123069184001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154282866147328,"note":"Value kept but may cause issues"} 
[2026-08-02 07:49:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573134138097520640,"note":"Value kept but may cause issues"} 
[2026-08-02 07:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785637010000,"timestamp_ms":1785637010000,"timestamp_seconds":1785637010,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0427a50"} 
[2026-08-02 07:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 07:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123069184001,"66":27995,"241":206,"27":54016,"24":0,"16":367154282866147328,"44":-5573134138097520640},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123069184001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:49:52] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:49:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154282866147328,"km_value":367154282866147.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:49:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573134138097520640,"description":"Unknown IO ID 44"} 
[2026-08-02 07:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123069184001,"power":27995,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573134138097520640}} 
[2026-08-02 07:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":146457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:49:52] local.INFO: GPS data processed {"connection_id":146457,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:49:52] local.INFO: Acknowledgment sent {"connection_id":146457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:50:13] local.INFO: TCP Data received {"connection_id":149005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04525e8012d7c088005bd4af0000b000014..."} 
[2026-08-02 07:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04525e8012d7c088005bd4af0000b000014..."} 
[2026-08-02 07:50:13] local.INFO: Processing buffer {"connection_id":149005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04525e8012d7c088005bd4af0000b000014..."} 
[2026-08-02 07:50:13] local.INFO: Packet analysis {"connection_id":149005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 07:50:13] local.INFO: Extracted packet for processing {"connection_id":149005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 07:50:13] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291568,"longitude_deg":76.310336,"latitude_deg":9.6291568,"altitude":11,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4af0","is_valid_coordinates":true} 
[2026-08-02 07:50: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-08-02 07:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123102720001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-02 07:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167435776,"note":"Value kept but may cause issues"} 
[2026-08-02 07:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785637185000,"timestamp_ms":1785637185000,"timestamp_seconds":1785637185,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04525e8"} 
[2026-08-02 07:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 07:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":149005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":149005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":149005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 07:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 07:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123102720001,"66":12385,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937393485167435776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-02 07:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 07:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 07:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123102720001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:50:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 07:50:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-02 07:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167435776,"description":"Unknown IO ID 45"} 
[2026-08-02 07:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123102720001,"power":12385,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167435776}} 
[2026-08-02 07:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":149005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:50:13] local.INFO: GPS data processed {"connection_id":149005,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:50:13] local.INFO: Acknowledgment sent {"connection_id":149005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:50:42] local.INFO: TCP Data received {"connection_id":147692,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:50:42] local.INFO: Processing buffer {"connection_id":147692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:50:42] local.INFO: IMEI packet received {"connection_id":147692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":147692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:50:44] local.INFO: TCP Data received {"connection_id":149005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04525e8012d7c088005bd4af0000b000014..."} 
[2026-08-02 07:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04525e8012d7c088005bd4af0000b000014..."} 
[2026-08-02 07:50:44] local.INFO: Processing buffer {"connection_id":149005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04525e8012d7c088005bd4af0000b000014..."} 
[2026-08-02 07:50:44] local.INFO: Packet analysis {"connection_id":149005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 07:50:44] local.INFO: Extracted packet for processing {"connection_id":149005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 07:50:44] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291568,"longitude_deg":76.310336,"latitude_deg":9.6291568,"altitude":11,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4af0","is_valid_coordinates":true} 
[2026-08-02 07:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123119360001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-02 07:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655746048,"note":"Value kept but may cause issues"} 
[2026-08-02 07:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785637185000,"timestamp_ms":1785637185000,"timestamp_seconds":1785637185,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04525e8"} 
[2026-08-02 07:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 07:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 07:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 07:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123119360001,"66":12385,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937534222655746048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-02 07:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 07:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 07:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123119360001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:50:44] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 07:50:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-02 07:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655746048,"description":"Unknown IO ID 45"} 
[2026-08-02 07:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123119360001,"power":12385,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655746048}} 
[2026-08-02 07:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":149005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:50:44] local.INFO: GPS data processed {"connection_id":149005,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:50:44] local.INFO: Acknowledgment sent {"connection_id":149005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:50:47] local.INFO: TCP Data received {"connection_id":147692,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:50:47] local.INFO: Processing buffer {"connection_id":147692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:50:47] local.INFO: IMEI packet received {"connection_id":147692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":147692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:50:48] local.INFO: TCP Data received {"connection_id":147692,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc042cc58012cb2a84007751830001b00ca25..."} 
[2026-08-02 07:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc042cc58012cb2a84007751830001b00ca25..."} 
[2026-08-02 07:50:48] local.INFO: Processing buffer {"connection_id":147692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc042cc58012cb2a84007751830001b00ca25..."} 
[2026-08-02 07:50:48] local.INFO: Packet analysis {"connection_id":147692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc042"} 
[2026-08-02 07:50:48] local.INFO: Extracted packet for processing {"connection_id":147692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc042"} 
[2026-08-02 07:50:48] local.INFO: GPS Element Parsed {"raw_longitude":749905984,"raw_latitude":125114416,"longitude_deg":74.9905984,"latitude_deg":12.5114416,"altitude":27,"angle":202,"satellites":37,"speed":0,"hex_longitude":"2cb2a840","hex_latitude":"07751830","is_valid_coordinates":true} 
[2026-08-02 07:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123074560001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154282866147328,"note":"Value kept but may cause issues"} 
[2026-08-02 07:50:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573134138097520640,"note":"Value kept but may cause issues"} 
[2026-08-02 07:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785637031000,"timestamp_ms":1785637031000,"timestamp_seconds":1785637031,"priority":1,"record_length":96,"hex_timestamp":"0000019fc042cc58"} 
[2026-08-02 07:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 07:50: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-08-02 07:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123074560001,"66":27234,"241":206,"27":54016,"24":0,"16":367154282866147328,"44":-5573134138097520640},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123074560001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:50:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:50:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154282866147328,"km_value":367154282866147.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:50:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573134138097520640,"description":"Unknown IO ID 44"} 
[2026-08-02 07:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123074560001,"power":27234,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573134138097520640}} 
[2026-08-02 07:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":147692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:50:48] local.INFO: GPS data processed {"connection_id":147692,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:50:48] local.INFO: Acknowledgment sent {"connection_id":147692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:51:15] local.INFO: TCP Data received {"connection_id":149005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0455c98012d7c07c005bd4b08000b000014..."} 
[2026-08-02 07:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0455c98012d7c07c005bd4b08000b000014..."} 
[2026-08-02 07:51:15] local.INFO: Processing buffer {"connection_id":149005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0455c98012d7c07c005bd4b08000b000014..."} 
[2026-08-02 07:51:15] local.INFO: Packet analysis {"connection_id":149005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 07:51:15] local.INFO: Extracted packet for processing {"connection_id":149005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 07:51:15] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291592,"longitude_deg":76.3103168,"latitude_deg":9.6291592,"altitude":11,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b08","is_valid_coordinates":true} 
[2026-08-02 07:51: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-08-02 07:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123119360001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655746048,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785637199000,"timestamp_ms":1785637199000,"timestamp_seconds":1785637199,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0455c98"} 
[2026-08-02 07:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 07:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 07:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 07:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123119360001,"66":12298,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937534222655746048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-02 07:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 07:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 07:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123119360001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:51:15] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 07:51:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-02 07:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655746048,"description":"Unknown IO ID 45"} 
[2026-08-02 07:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123119360001,"power":12298,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655746048}} 
[2026-08-02 07:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":149005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:51:15] local.INFO: GPS data processed {"connection_id":149005,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:51:15] local.INFO: Acknowledgment sent {"connection_id":149005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:51:20] local.INFO: TCP Data received {"connection_id":147692,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0459b18012cb2a8c0077518d8001d002627..."} 
[2026-08-02 07:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0459b18012cb2a8c0077518d8001d002627..."} 
[2026-08-02 07:51:20] local.INFO: Processing buffer {"connection_id":147692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0459b18012cb2a8c0077518d8001d002627..."} 
[2026-08-02 07:51:20] local.INFO: Packet analysis {"connection_id":147692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 07:51:20] local.INFO: Extracted packet for processing {"connection_id":147692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 07:51:20] local.INFO: GPS Element Parsed {"raw_longitude":749906112,"raw_latitude":125114584,"longitude_deg":74.9906112,"latitude_deg":12.5114584,"altitude":29,"angle":38,"satellites":39,"speed":3,"hex_longitude":"2cb2a8c0","hex_latitude":"077518d8","is_valid_coordinates":true} 
[2026-08-02 07:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123126528001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154338700722176,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573274875585892352,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785637215000,"timestamp_ms":1785637215000,"timestamp_seconds":1785637215,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0459b18"} 
[2026-08-02 07:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-02 07:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123126528001,"66":27908,"241":206,"27":54016,"24":3,"16":367154338700722176,"44":-5573274875585892352},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123126528001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:51:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:51:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154338700722176,"km_value":367154338700722.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573274875585892352,"description":"Unknown IO ID 44"} 
[2026-08-02 07:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123126528001,"power":27908,"unknown_241":206,"unknown_27":54016,"ignition":3,"odometer":null,"unknown_44":-5573274875585892352}} 
[2026-08-02 07:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":147692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:51:20] local.INFO: GPS data processed {"connection_id":147692,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:51:20] local.INFO: Acknowledgment sent {"connection_id":147692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:51:41] local.INFO: TCP Data received {"connection_id":146458,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:51:41] local.INFO: Processing buffer {"connection_id":146458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:51:41] local.INFO: IMEI packet received {"connection_id":146458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":146458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:51:46] local.INFO: TCP Data received {"connection_id":149005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0455c98012d7c07c005bd4b08000b000014..."} 
[2026-08-02 07:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0455c98012d7c07c005bd4b08000b000014..."} 
[2026-08-02 07:51:46] local.INFO: Processing buffer {"connection_id":149005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0455c98012d7c07c005bd4b08000b000014..."} 
[2026-08-02 07:51:46] local.INFO: Packet analysis {"connection_id":149005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 07:51:46] local.INFO: Extracted packet for processing {"connection_id":149005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 07:51:46] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291592,"longitude_deg":76.3103168,"latitude_deg":9.6291592,"altitude":11,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b08","is_valid_coordinates":true} 
[2026-08-02 07:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123122944001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423219200,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785637199000,"timestamp_ms":1785637199000,"timestamp_seconds":1785637199,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0455c98"} 
[2026-08-02 07:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 07:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":26388279067136,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:46] local.WARNING: Large IO value detected {"io_id":169,"raw_value":6196953087261802497,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4777516045735986168,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:46] local.WARNING: Large IO value detected {"io_id":128,"raw_value":413569101080887367,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:46] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055296,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:46] local.WARNING: Large IO value detected {"io_id":66,"raw_value":450642318182056142,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:46] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510848,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:46] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2840985600,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":20033101858078720,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3175802880,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:46] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,197,85,24,241,157,16,169,159,37,45,128,74,11,20,10,66,40,240,238,227,4,113,205,27,239,2,48,147,1,5,46],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[]} 
[2026-08-02 07:51:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792633620316553455,"timestamp_seconds":792633620316553.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 07:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 07:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 07:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123122944001,"66":12298,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423219200},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-02 07:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 07:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 07:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123122944001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:51:46] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 07:51:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-02 07:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423219200,"description":"Unknown IO ID 45"} 
[2026-08-02 07:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123122944001,"power":12298,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423219200}} 
[2026-08-02 07:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":149005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:51:46] local.INFO: GPS data processed {"connection_id":149005,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:51:46] local.INFO: Acknowledgment sent {"connection_id":149005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:51:47] local.INFO: TCP Data received {"connection_id":146458,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:51:47] local.INFO: Processing buffer {"connection_id":146458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:51:47] local.INFO: IMEI packet received {"connection_id":146458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":146458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:51:48] local.INFO: TCP Data received {"connection_id":146458,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc045d5b0012cb2a94007751990001e00e628..."} 
[2026-08-02 07:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc045d5b0012cb2a94007751990001e00e628..."} 
[2026-08-02 07:51:48] local.INFO: Processing buffer {"connection_id":146458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc045d5b0012cb2a94007751990001e00e628..."} 
[2026-08-02 07:51:48] local.INFO: Packet analysis {"connection_id":146458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 07:51:48] local.INFO: Extracted packet for processing {"connection_id":146458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 07:51:48] local.INFO: GPS Element Parsed {"raw_longitude":749906240,"raw_latitude":125114768,"longitude_deg":74.990624,"latitude_deg":12.5114768,"altitude":30,"angle":230,"satellites":40,"speed":1,"hex_longitude":"2cb2a940","hex_latitude":"07751990","is_valid_coordinates":true} 
[2026-08-02 07:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123127040001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154360175558656,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609122304,"note":"Value kept but may cause issues"} 
[2026-08-02 07:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785637230000,"timestamp_ms":1785637230000,"timestamp_seconds":1785637230,"priority":1,"record_length":96,"hex_timestamp":"0000019fc045d5b0"} 
[2026-08-02 07:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 07:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123127040001,"66":27974,"241":206,"27":54016,"24":1,"16":367154360175558656,"44":-5572993400609122304},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123127040001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:51:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:51:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154360175558656,"km_value":367154360175558.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:51:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609122304,"description":"Unknown IO ID 44"} 
[2026-08-02 07:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123127040001,"power":27974,"unknown_241":206,"unknown_27":54016,"ignition":1,"odometer":null,"unknown_44":-5572993400609122304}} 
[2026-08-02 07:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":146458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:51:48] local.INFO: GPS data processed {"connection_id":146458,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:51:48] local.INFO: Acknowledgment sent {"connection_id":146458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:52:19] local.INFO: TCP Data received {"connection_id":146458,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc045f108012cb2a840077518a0001e00da29..."} 
[2026-08-02 07:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc045f108012cb2a840077518a0001e00da29..."} 
[2026-08-02 07:52:19] local.INFO: Processing buffer {"connection_id":146458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc045f108012cb2a840077518a0001e00da29..."} 
[2026-08-02 07:52:19] local.INFO: Packet analysis {"connection_id":146458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 07:52:19] local.INFO: Extracted packet for processing {"connection_id":146458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 07:52:19] local.INFO: GPS Element Parsed {"raw_longitude":749905984,"raw_latitude":125114528,"longitude_deg":74.9905984,"latitude_deg":12.5114528,"altitude":30,"angle":218,"satellites":41,"speed":2,"hex_longitude":"2cb2a840","hex_latitude":"077518a0","is_valid_coordinates":true} 
[2026-08-02 07:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123130880001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154381650395136,"note":"Value kept but may cause issues"} 
[2026-08-02 07:52:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572852663120719872,"note":"Value kept but may cause issues"} 
[2026-08-02 07:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785637237000,"timestamp_ms":1785637237000,"timestamp_seconds":1785637237,"priority":1,"record_length":96,"hex_timestamp":"0000019fc045f108"} 
[2026-08-02 07:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-02 07:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123130880001,"66":27984,"241":206,"27":54016,"24":2,"16":367154381650395136,"44":-5572852663120719872},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123130880001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:52:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:52:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154381650395136,"km_value":367154381650395.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:52:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572852663120719872,"description":"Unknown IO ID 44"} 
[2026-08-02 07:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123130880001,"power":27984,"unknown_241":206,"unknown_27":54016,"ignition":2,"odometer":null,"unknown_44":-5572852663120719872}} 
[2026-08-02 07:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":146458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:52:19] local.INFO: GPS data processed {"connection_id":146458,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:52:19] local.INFO: Acknowledgment sent {"connection_id":146458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:52:42] local.INFO: TCP Data received {"connection_id":147693,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:52:42] local.INFO: Processing buffer {"connection_id":147693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:52:42] local.INFO: IMEI packet received {"connection_id":147693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":147693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:52:47] local.INFO: TCP Data received {"connection_id":147693,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:52:47] local.INFO: Processing buffer {"connection_id":147693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:52:47] local.INFO: IMEI packet received {"connection_id":147693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":147693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:52:48] local.INFO: TCP Data received {"connection_id":147693,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0461c00012cb2a6c007751680001f00cf28..."} 
[2026-08-02 07:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0461c00012cb2a6c007751680001f00cf28..."} 
[2026-08-02 07:52:48] local.INFO: Processing buffer {"connection_id":147693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0461c00012cb2a6c007751680001f00cf28..."} 
[2026-08-02 07:52:48] local.INFO: Packet analysis {"connection_id":147693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:52:48] local.INFO: Extracted packet for processing {"connection_id":147693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:52:48] local.INFO: GPS Element Parsed {"raw_longitude":749905600,"raw_latitude":125113984,"longitude_deg":74.99056,"latitude_deg":12.5113984,"altitude":31,"angle":207,"satellites":40,"speed":3,"hex_longitude":"2cb2a6c0","hex_latitude":"07751680","is_valid_coordinates":true} 
[2026-08-02 07: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-08-02 07:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123132672001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154416010133504,"note":"Value kept but may cause issues"} 
[2026-08-02 07:52:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573134138097491968,"note":"Value kept but may cause issues"} 
[2026-08-02 07:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785637248000,"timestamp_ms":1785637248000,"timestamp_seconds":1785637248,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0461c00"} 
[2026-08-02 07:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07: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":80,"data_length":795,"current_offset":136} 
[2026-08-02 07:52: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-08-02 07: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-08-02 07:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123132672001,"66":27930,"241":206,"27":54016,"24":3,"16":367154416010133504,"44":-5573134138097491968},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123132672001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:52:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:52:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154416010133504,"km_value":367154416010133.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:52:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573134138097491968,"description":"Unknown IO ID 44"} 
[2026-08-02 07:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123132672001,"power":27930,"unknown_241":206,"unknown_27":54016,"ignition":3,"odometer":null,"unknown_44":-5573134138097491968}} 
[2026-08-02 07:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":147693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:52:48] local.INFO: GPS data processed {"connection_id":147693,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:52:48] local.INFO: Acknowledgment sent {"connection_id":147693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:53:19] local.INFO: TCP Data received {"connection_id":147693,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04627b8012cb2a68007751620001f00cf29..."} 
[2026-08-02 07:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04627b8012cb2a68007751620001f00cf29..."} 
[2026-08-02 07:53:19] local.INFO: Processing buffer {"connection_id":147693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04627b8012cb2a68007751620001f00cf29..."} 
[2026-08-02 07:53:19] local.INFO: Packet analysis {"connection_id":147693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:53:19] local.INFO: Extracted packet for processing {"connection_id":147693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:53:19] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113888,"longitude_deg":74.9905536,"latitude_deg":12.5113888,"altitude":31,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751620","is_valid_coordinates":true} 
[2026-08-02 07:53: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-08-02 07:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123135488001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:53:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573556350562697216,"note":"Value kept but may cause issues"} 
[2026-08-02 07:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785637251000,"timestamp_ms":1785637251000,"timestamp_seconds":1785637251,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04627b8"} 
[2026-08-02 07:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-02 07:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123135488001,"66":27484,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573556350562697216},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123135488001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:53:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:53:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:53:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573556350562697216,"description":"Unknown IO ID 44"} 
[2026-08-02 07:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123135488001,"power":27484,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573556350562697216}} 
[2026-08-02 07:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":147693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:53:19] local.INFO: GPS data processed {"connection_id":147693,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:53:19] local.INFO: Acknowledgment sent {"connection_id":147693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:53:47] local.INFO: TCP Data received {"connection_id":146679,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:53:47] local.INFO: Processing buffer {"connection_id":146679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:53:47] local.INFO: IMEI packet received {"connection_id":146679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":146679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:53:51] local.INFO: TCP Data received {"connection_id":146679,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:53:51] local.INFO: Processing buffer {"connection_id":146679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:53:51] local.INFO: IMEI packet received {"connection_id":146679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":146679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:53:53] local.INFO: TCP Data received {"connection_id":146679,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:53:53] local.INFO: Processing buffer {"connection_id":146679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:53:53] local.INFO: Packet analysis {"connection_id":146679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:53:53] local.INFO: Extracted packet for processing {"connection_id":146679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:53:53] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125113736,"longitude_deg":74.9905408,"latitude_deg":12.5113736,"altitude":31,"angle":219,"satellites":40,"speed":3,"hex_longitude":"2cb2a600","hex_latitude":"07751588","is_valid_coordinates":true} 
[2026-08-02 07:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123136256001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:53:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306899456,"note":"Value kept but may cause issues"} 
[2026-08-02 07:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785637254000,"timestamp_ms":1785637254000,"timestamp_seconds":1785637254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0463370"} 
[2026-08-02 07:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 07:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123136256001,"66":27571,"241":206,"27":54016,"24":3,"16":367154424600068096,"44":-5573626719306899456},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123136256001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:53:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:53:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:53:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306899456,"description":"Unknown IO ID 44"} 
[2026-08-02 07:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123136256001,"power":27571,"unknown_241":206,"unknown_27":54016,"ignition":3,"odometer":null,"unknown_44":-5573626719306899456}} 
[2026-08-02 07:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":146679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:53:53] local.INFO: GPS data processed {"connection_id":146679,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:53:53] local.INFO: Acknowledgment sent {"connection_id":146679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:53:57] local.INFO: TCP Data received {"connection_id":146679,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:53:57] local.INFO: Processing buffer {"connection_id":146679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:53:57] local.INFO: Packet analysis {"connection_id":146679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:53:57] local.INFO: Extracted packet for processing {"connection_id":146679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:53:57] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125113736,"longitude_deg":74.9905408,"latitude_deg":12.5113736,"altitude":31,"angle":219,"satellites":40,"speed":3,"hex_longitude":"2cb2a600","hex_latitude":"07751588","is_valid_coordinates":true} 
[2026-08-02 07:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123136256001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:53:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306899456,"note":"Value kept but may cause issues"} 
[2026-08-02 07:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785637254000,"timestamp_ms":1785637254000,"timestamp_seconds":1785637254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0463370"} 
[2026-08-02 07:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 07:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123136256001,"66":27571,"241":206,"27":54016,"24":3,"16":367154424600068096,"44":-5573626719306899456},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123136256001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:53:57] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:53:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:53:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306899456,"description":"Unknown IO ID 44"} 
[2026-08-02 07:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123136256001,"power":27571,"unknown_241":206,"unknown_27":54016,"ignition":3,"odometer":null,"unknown_44":-5573626719306899456}} 
[2026-08-02 07:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":146679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:53:57] local.INFO: GPS data processed {"connection_id":146679,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:53:57] local.INFO: Acknowledgment sent {"connection_id":146679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:54:26] local.INFO: TCP Data received {"connection_id":149006,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:54:26] local.INFO: Processing buffer {"connection_id":149006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:54:26] local.INFO: IMEI packet received {"connection_id":149006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 07:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":149006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:54:26] local.INFO: TCP Data received {"connection_id":149006,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:54:26] local.INFO: Processing buffer {"connection_id":149006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:54:26] local.INFO: IMEI packet received {"connection_id":149006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 07:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":149006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:54:30] local.INFO: TCP Data received {"connection_id":149006,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:54:30] local.INFO: Processing buffer {"connection_id":149006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:54:30] local.INFO: IMEI packet received {"connection_id":149006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 07:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":149006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:54:36] local.INFO: TCP Data received {"connection_id":149006,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda9aae8012d7c088005bd4ae8000100472c..."} 
[2026-08-02 07:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda9aae8012d7c088005bd4ae8000100472c..."} 
[2026-08-02 07:54:36] local.INFO: Processing buffer {"connection_id":149006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda9aae8012d7c088005bd4ae8000100472c..."} 
[2026-08-02 07:54:36] local.INFO: Packet analysis {"connection_id":149006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda9"} 
[2026-08-02 07:54:36] local.INFO: Extracted packet for processing {"connection_id":149006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda9"} 
[2026-08-02 07:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291560,"longitude_deg":76.310336,"latitude_deg":9.629156,"altitude":1,"angle":71,"satellites":44,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4ae8","is_valid_coordinates":true} 
[2026-08-02 07: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-08-02 07:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111843840001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-02 07:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655744000,"note":"Value kept but may cause issues"} 
[2026-08-02 07:54:36] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-02 07:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785593441000,"timestamp_ms":1785593441000,"timestamp_seconds":1785593441,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda9aae8"} 
[2026-08-02 07:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 07:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07: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-08-02 07:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:54: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-08-02 07:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 07:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 07:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111843840001,"66":2231,"24":0,"16":113620602446675968,"45":8937534222655744000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-02 07:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 07:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 07:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111843840001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655744000,"description":"Unknown IO ID 45"} 
[2026-08-02 07:54:36] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457111843840001,"power":2231,"ignition":0,"odometer":null,"unknown_45":8937534222655744000}} 
[2026-08-02 07:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":149006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:54:36] local.INFO: GPS data processed {"connection_id":149006,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:54:36] local.INFO: Acknowledgment sent {"connection_id":149006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:54:42] local.INFO: TCP Data received {"connection_id":146459,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:54:42] local.INFO: Processing buffer {"connection_id":146459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:54:42] local.INFO: IMEI packet received {"connection_id":146459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":146459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:54:47] local.INFO: TCP Data received {"connection_id":146459,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:54:47] local.INFO: Processing buffer {"connection_id":146459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:54:47] local.INFO: IMEI packet received {"connection_id":146459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":146459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:54:48] local.INFO: TCP Data received {"connection_id":146459,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:54:48] local.INFO: Processing buffer {"connection_id":146459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:54:48] local.INFO: Packet analysis {"connection_id":146459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:54:48] local.INFO: Extracted packet for processing {"connection_id":146459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:54:48] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125113736,"longitude_deg":74.9905408,"latitude_deg":12.5113736,"altitude":31,"angle":219,"satellites":40,"speed":3,"hex_longitude":"2cb2a600","hex_latitude":"07751588","is_valid_coordinates":true} 
[2026-08-02 07:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123136256001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:54:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306899456,"note":"Value kept but may cause issues"} 
[2026-08-02 07:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785637254000,"timestamp_ms":1785637254000,"timestamp_seconds":1785637254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0463370"} 
[2026-08-02 07:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 07:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123136256001,"66":27571,"241":206,"27":54016,"24":3,"16":367154424600068096,"44":-5573626719306899456},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123136256001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:54:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:54:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:54:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306899456,"description":"Unknown IO ID 44"} 
[2026-08-02 07:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123136256001,"power":27571,"unknown_241":206,"unknown_27":54016,"ignition":3,"odometer":null,"unknown_44":-5573626719306899456}} 
[2026-08-02 07:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":146459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:54:48] local.INFO: GPS data processed {"connection_id":146459,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:54:48] local.INFO: Acknowledgment sent {"connection_id":146459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:55:07] local.INFO: TCP Data received {"connection_id":149006,"ip":"42.106.6.40","data_length":171,"data_hex":"000000000000009f8e0200000000000109a00100000000000000000000000000..."} 
[2026-08-02 07:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149006,"packet_length":171,"packet_hex":"000000000000009f8e0200000000000109a00100000000000000000000000000..."} 
[2026-08-02 07:55:07] local.INFO: Processing buffer {"connection_id":149006,"buffer_length":171,"buffer_hex":"000000000000009f8e0200000000000109a00100000000000000000000000000..."} 
[2026-08-02 07:55:07] local.INFO: Packet analysis {"connection_id":149006,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e02000000000001"} 
[2026-08-02 07:55:07] local.INFO: Extracted packet for processing {"connection_id":149006,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e02000000000001"} 
[2026-08-02 07:55:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 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":171,"current_offset":40} 
[2026-08-02 07:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111920896001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-02 07:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655744000,"note":"Value kept but may cause issues"} 
[2026-08-02 07:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:55:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 07:55:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":2,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:55:07] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 07:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149006,"avl_records_parsed":0,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 07:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 07:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 07:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 07:55:07] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 07:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":149006,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 07:55:07] local.ERROR: GPS data processing failed {"connection_id":149006,"error":"No valid data to process"} 
[2026-08-02 07:55:07] local.INFO: Acknowledgment sent {"connection_id":149006,"records_acknowledged":0,"records_expected":2,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 07:55:19] local.INFO: TCP Data received {"connection_id":146459,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:55:19] local.INFO: Processing buffer {"connection_id":146459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:55:19] local.INFO: Packet analysis {"connection_id":146459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:55:19] local.INFO: Extracted packet for processing {"connection_id":146459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:55:19] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125113736,"longitude_deg":74.9905408,"latitude_deg":12.5113736,"altitude":31,"angle":219,"satellites":40,"speed":3,"hex_longitude":"2cb2a600","hex_latitude":"07751588","is_valid_coordinates":true} 
[2026-08-02 07:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123136256001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:55:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306899456,"note":"Value kept but may cause issues"} 
[2026-08-02 07:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785637254000,"timestamp_ms":1785637254000,"timestamp_seconds":1785637254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0463370"} 
[2026-08-02 07:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 07:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123136256001,"66":27571,"241":206,"27":54016,"24":3,"16":367154424600068096,"44":-5573626719306899456},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123136256001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:55:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:55:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:55:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306899456,"description":"Unknown IO ID 44"} 
[2026-08-02 07:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123136256001,"power":27571,"unknown_241":206,"unknown_27":54016,"ignition":3,"odometer":null,"unknown_44":-5573626719306899456}} 
[2026-08-02 07:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":146459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:55:19] local.INFO: GPS data processed {"connection_id":146459,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:55:19] local.INFO: Acknowledgment sent {"connection_id":146459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:55:37] local.INFO: TCP Data received {"connection_id":149006,"ip":"42.106.6.40","data_length":93,"data_hex":"00000000000000518e010000019fc04a0fb80100000000000000000000000000..."} 
[2026-08-02 07:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149006,"packet_length":93,"packet_hex":"00000000000000518e010000019fc04a0fb80100000000000000000000000000..."} 
[2026-08-02 07:55:37] local.INFO: Processing buffer {"connection_id":149006,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc04a0fb80100000000000000000000000000..."} 
[2026-08-02 07:55:37] local.INFO: Packet analysis {"connection_id":149006,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc04a"} 
[2026-08-02 07:55:37] local.INFO: Extracted packet for processing {"connection_id":149006,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc04a"} 
[2026-08-02 07:55:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 07: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":93,"current_offset":40} 
[2026-08-02 07:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:55:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:55:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 07:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149006,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 07:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 07:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 07:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 07:55:37] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 07:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":149006,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 07:55:37] local.ERROR: GPS data processing failed {"connection_id":149006,"error":"No valid data to process"} 
[2026-08-02 07:55:37] local.INFO: Acknowledgment sent {"connection_id":149006,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 07:55:41] local.INFO: TCP Data received {"connection_id":147694,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:55:41] local.INFO: Processing buffer {"connection_id":147694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:55:41] local.INFO: IMEI packet received {"connection_id":147694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":147694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:55:47] local.INFO: TCP Data received {"connection_id":147694,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:55:47] local.INFO: Processing buffer {"connection_id":147694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:55:47] local.INFO: IMEI packet received {"connection_id":147694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":147694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:55:48] local.INFO: TCP Data received {"connection_id":147694,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:55:48] local.INFO: Processing buffer {"connection_id":147694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:55:48] local.INFO: Packet analysis {"connection_id":147694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:55:48] local.INFO: Extracted packet for processing {"connection_id":147694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:55:48] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125113736,"longitude_deg":74.9905408,"latitude_deg":12.5113736,"altitude":31,"angle":219,"satellites":40,"speed":3,"hex_longitude":"2cb2a600","hex_latitude":"07751588","is_valid_coordinates":true} 
[2026-08-02 07:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123136256001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:55:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306899456,"note":"Value kept but may cause issues"} 
[2026-08-02 07:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785637254000,"timestamp_ms":1785637254000,"timestamp_seconds":1785637254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0463370"} 
[2026-08-02 07:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 07:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123136256001,"66":27571,"241":206,"27":54016,"24":3,"16":367154424600068096,"44":-5573626719306899456},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123136256001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:55:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:55:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:55:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306899456,"description":"Unknown IO ID 44"} 
[2026-08-02 07:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123136256001,"power":27571,"unknown_241":206,"unknown_27":54016,"ignition":3,"odometer":null,"unknown_44":-5573626719306899456}} 
[2026-08-02 07:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":147694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:55:48] local.INFO: GPS data processed {"connection_id":147694,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:55:48] local.INFO: Acknowledgment sent {"connection_id":147694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:56:08] local.INFO: TCP Data received {"connection_id":149006,"ip":"42.106.6.40","data_length":93,"data_hex":"00000000000000518e010000019fc04a61c00100000000000000000000000000..."} 
[2026-08-02 07:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149006,"packet_length":93,"packet_hex":"00000000000000518e010000019fc04a61c00100000000000000000000000000..."} 
[2026-08-02 07:56:08] local.INFO: Processing buffer {"connection_id":149006,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc04a61c00100000000000000000000000000..."} 
[2026-08-02 07:56:08] local.INFO: Packet analysis {"connection_id":149006,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc04a"} 
[2026-08-02 07:56:08] local.INFO: Extracted packet for processing {"connection_id":149006,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc04a"} 
[2026-08-02 07:56: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-08-02 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":93,"current_offset":40} 
[2026-08-02 07:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:56:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:56:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 07:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":149006,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 07:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 07:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 07:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 07:56:08] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 07:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":149006,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 07:56:08] local.ERROR: GPS data processing failed {"connection_id":149006,"error":"No valid data to process"} 
[2026-08-02 07:56:08] local.INFO: Acknowledgment sent {"connection_id":149006,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 07:56:20] local.INFO: TCP Data received {"connection_id":147694,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:56:20] local.INFO: Processing buffer {"connection_id":147694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0463370012cb2a60007751588001f00db28..."} 
[2026-08-02 07:56:20] local.INFO: Packet analysis {"connection_id":147694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:56:20] local.INFO: Extracted packet for processing {"connection_id":147694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc046"} 
[2026-08-02 07:56:20] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125113736,"longitude_deg":74.9905408,"latitude_deg":12.5113736,"altitude":31,"angle":219,"satellites":40,"speed":3,"hex_longitude":"2cb2a600","hex_latitude":"07751588","is_valid_coordinates":true} 
[2026-08-02 07:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123136256001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306899456,"note":"Value kept but may cause issues"} 
[2026-08-02 07:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785637254000,"timestamp_ms":1785637254000,"timestamp_seconds":1785637254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0463370"} 
[2026-08-02 07:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 07:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123136256001,"66":27571,"241":206,"27":54016,"24":3,"16":367154424600068096,"44":-5573626719306899456},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123136256001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:56:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:56:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306899456,"description":"Unknown IO ID 44"} 
[2026-08-02 07:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123136256001,"power":27571,"unknown_241":206,"unknown_27":54016,"ignition":3,"odometer":null,"unknown_44":-5573626719306899456}} 
[2026-08-02 07:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":147694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:56:20] local.INFO: GPS data processed {"connection_id":147694,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:56:20] local.INFO: Acknowledgment sent {"connection_id":147694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:56:40] local.INFO: TCP Data received {"connection_id":149006,"ip":"42.106.6.40","data_length":93,"data_hex":"00000000000000518e010000019fc04ab3c80100000000000000000000000000..."} 
[2026-08-02 07:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149006,"packet_length":93,"packet_hex":"00000000000000518e010000019fc04ab3c80100000000000000000000000000..."} 
[2026-08-02 07:56:40] local.INFO: Processing buffer {"connection_id":149006,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc04ab3c80100000000000000000000000000..."} 
[2026-08-02 07:56:40] local.INFO: Packet analysis {"connection_id":149006,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc04a"} 
[2026-08-02 07:56:40] local.INFO: Extracted packet for processing {"connection_id":149006,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc04a"} 
[2026-08-02 07:56: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-08-02 07: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":93,"current_offset":40} 
[2026-08-02 07:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:56:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:56:40] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 07:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149006,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 07:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 07:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 07:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 07:56:40] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 07:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":149006,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 07:56:40] local.ERROR: GPS data processing failed {"connection_id":149006,"error":"No valid data to process"} 
[2026-08-02 07:56:40] local.INFO: Acknowledgment sent {"connection_id":149006,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 07:56:41] local.INFO: TCP Data received {"connection_id":146680,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:56:42] local.INFO: Processing buffer {"connection_id":146680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:56:42] local.INFO: IMEI packet received {"connection_id":146680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":146680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:56:47] local.INFO: TCP Data received {"connection_id":146680,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:56:47] local.INFO: Processing buffer {"connection_id":146680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:56:47] local.INFO: IMEI packet received {"connection_id":146680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":146680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:56:48] local.INFO: TCP Data received {"connection_id":146680,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:56:48] local.INFO: Processing buffer {"connection_id":146680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:56:48] local.INFO: Packet analysis {"connection_id":146680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 07:56:48] local.INFO: Extracted packet for processing {"connection_id":146680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 07:56:48] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 07:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123137024001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:56:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795293696,"note":"Value kept but may cause issues"} 
[2026-08-02 07:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785637555000,"timestamp_ms":1785637555000,"timestamp_seconds":1785637555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04acb38"} 
[2026-08-02 07:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 07:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123137024001,"66":26495,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573767456795293696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123137024001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:56:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:56:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:56:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795293696,"description":"Unknown IO ID 44"} 
[2026-08-02 07:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123137024001,"power":26495,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573767456795293696}} 
[2026-08-02 07:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":146680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:56:48] local.INFO: GPS data processed {"connection_id":146680,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:56:48] local.INFO: Acknowledgment sent {"connection_id":146680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:57:11] local.INFO: TCP Data received {"connection_id":149006,"ip":"42.106.6.40","data_length":93,"data_hex":"00000000000000518e010000019fc04b05d00100000000000000000000000000..."} 
[2026-08-02 07:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149006,"packet_length":93,"packet_hex":"00000000000000518e010000019fc04b05d00100000000000000000000000000..."} 
[2026-08-02 07:57:11] local.INFO: Processing buffer {"connection_id":149006,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc04b05d00100000000000000000000000000..."} 
[2026-08-02 07:57:11] local.INFO: Packet analysis {"connection_id":149006,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc04b"} 
[2026-08-02 07:57:11] local.INFO: Extracted packet for processing {"connection_id":149006,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc04b"} 
[2026-08-02 07:57:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 07:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-02 07:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:57:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:57:11] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 07:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149006,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 07:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 07:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 07:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 07:57:11] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 07:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":149006,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 07:57:11] local.ERROR: GPS data processing failed {"connection_id":149006,"error":"No valid data to process"} 
[2026-08-02 07:57:11] local.INFO: Acknowledgment sent {"connection_id":149006,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 07:57:19] local.INFO: TCP Data received {"connection_id":146680,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:57:19] local.INFO: Processing buffer {"connection_id":146680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:57:19] local.INFO: Packet analysis {"connection_id":146680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 07:57:19] local.INFO: Extracted packet for processing {"connection_id":146680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 07:57:19] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 07:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123137024001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:57:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795293696,"note":"Value kept but may cause issues"} 
[2026-08-02 07:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785637555000,"timestamp_ms":1785637555000,"timestamp_seconds":1785637555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04acb38"} 
[2026-08-02 07:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 07:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123137024001,"66":26495,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573767456795293696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123137024001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:57:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:57:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:57:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795293696,"description":"Unknown IO ID 44"} 
[2026-08-02 07:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123137024001,"power":26495,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573767456795293696}} 
[2026-08-02 07:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":146680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:57:19] local.INFO: GPS data processed {"connection_id":146680,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:57:19] local.INFO: Acknowledgment sent {"connection_id":146680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:57:42] local.INFO: TCP Data received {"connection_id":146681,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:57:42] local.INFO: Processing buffer {"connection_id":146681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:57:42] local.INFO: IMEI packet received {"connection_id":146681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":146681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:57:42] local.INFO: TCP Data received {"connection_id":149006,"ip":"42.106.6.40","data_length":171,"data_hex":"000000000000009f8e020000019fc04b57d80100000000000000000000000000..."} 
[2026-08-02 07:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149006,"packet_length":171,"packet_hex":"000000000000009f8e020000019fc04b57d80100000000000000000000000000..."} 
[2026-08-02 07:57:42] local.INFO: Processing buffer {"connection_id":149006,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fc04b57d80100000000000000000000000000..."} 
[2026-08-02 07:57:42] local.INFO: Packet analysis {"connection_id":149006,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fc04b"} 
[2026-08-02 07:57:42] local.INFO: Extracted packet for processing {"connection_id":149006,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fc04b"} 
[2026-08-02 07:57:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 07: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":171,"current_offset":40} 
[2026-08-02 07:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-02 07:57:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,8,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 07:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785637591000,"timestamp_ms":1785637591000,"timestamp_seconds":1785637591,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04b57d8"} 
[2026-08-02 07:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":171,"current_offset":136} 
[2026-08-02 07:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:57:42] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149006,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 07:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 07:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 07:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":149006,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 07:57:42] local.INFO: GPS data processed {"connection_id":149006,"processed":0,"errors":0,"total":1} 
[2026-08-02 07:57:42] local.INFO: Acknowledgment sent {"connection_id":149006,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:57:47] local.INFO: TCP Data received {"connection_id":146681,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:57:47] local.INFO: Processing buffer {"connection_id":146681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:57:47] local.INFO: IMEI packet received {"connection_id":146681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":146681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:57:48] local.INFO: TCP Data received {"connection_id":146681,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:57:48] local.INFO: Processing buffer {"connection_id":146681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:57:48] local.INFO: Packet analysis {"connection_id":146681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 07:57:48] local.INFO: Extracted packet for processing {"connection_id":146681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 07:57:48] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 07:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123137024001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:57:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795293696,"note":"Value kept but may cause issues"} 
[2026-08-02 07:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785637555000,"timestamp_ms":1785637555000,"timestamp_seconds":1785637555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04acb38"} 
[2026-08-02 07:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 07:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123137024001,"66":26495,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573767456795293696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123137024001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:57:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:57:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:57:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795293696,"description":"Unknown IO ID 44"} 
[2026-08-02 07:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123137024001,"power":26495,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573767456795293696}} 
[2026-08-02 07:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":146681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:57:48] local.INFO: GPS data processed {"connection_id":146681,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:57:48] local.INFO: Acknowledgment sent {"connection_id":146681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:58:13] local.INFO: TCP Data received {"connection_id":149006,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04c9ff8012d7a638005bd28e80010015707..."} 
[2026-08-02 07:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04c9ff8012d7a638005bd28e80010015707..."} 
[2026-08-02 07:58:13] local.INFO: Processing buffer {"connection_id":149006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04c9ff8012d7a638005bd28e80010015707..."} 
[2026-08-02 07:58:13] local.INFO: Packet analysis {"connection_id":149006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04c"} 
[2026-08-02 07:58:13] local.INFO: Extracted packet for processing {"connection_id":149006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04c"} 
[2026-08-02 07:58:13] local.INFO: GPS Element Parsed {"raw_longitude":762995584,"raw_latitude":96282856,"longitude_deg":76.2995584,"latitude_deg":9.6282856,"altitude":16,"angle":343,"satellites":7,"speed":6,"hex_longitude":"2d7a6380","hex_latitude":"05bd28e8","is_valid_coordinates":true} 
[2026-08-02 07:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123244544001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113621482914971648,"note":"Value kept but may cause issues"} 
[2026-08-02 07:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819033257458282496,"note":"Value kept but may cause issues"} 
[2026-08-02 07:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785637675000,"timestamp_ms":1785637675000,"timestamp_seconds":1785637675,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04c9ff8"} 
[2026-08-02 07:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-02 07:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":149006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 07:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 07:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123244544001,"66":13765,"7":206,"85":12544,"24":6,"16":113621482914971648,"45":8819033257458282496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-02 07:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 07:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 07:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123244544001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:58:13] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-02 07:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-02 07:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113621482914971648,"km_value":113621482914971.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819033257458282496,"description":"Unknown IO ID 45"} 
[2026-08-02 07:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123244544001,"power":13765,"unknown_7":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":8819033257458282496}} 
[2026-08-02 07:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":149006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:58:13] local.INFO: GPS data processed {"connection_id":149006,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:58:13] local.INFO: Acknowledgment sent {"connection_id":149006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:58:20] local.INFO: TCP Data received {"connection_id":146681,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:58:20] local.INFO: Processing buffer {"connection_id":146681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:58:20] local.INFO: Packet analysis {"connection_id":146681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 07:58:20] local.INFO: Extracted packet for processing {"connection_id":146681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 07:58:20] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 07:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123137024001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795293696,"note":"Value kept but may cause issues"} 
[2026-08-02 07:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785637555000,"timestamp_ms":1785637555000,"timestamp_seconds":1785637555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04acb38"} 
[2026-08-02 07:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 07:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123137024001,"66":26495,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573767456795293696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123137024001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:58:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:58:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795293696,"description":"Unknown IO ID 44"} 
[2026-08-02 07:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123137024001,"power":26495,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573767456795293696}} 
[2026-08-02 07:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":146681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:58:20] local.INFO: GPS data processed {"connection_id":146681,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:58:20] local.INFO: Acknowledgment sent {"connection_id":146681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:58:42] local.INFO: TCP Data received {"connection_id":149007,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:58:42] local.INFO: Processing buffer {"connection_id":149007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:58:42] local.INFO: IMEI packet received {"connection_id":149007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":149007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:58:44] local.INFO: TCP Data received {"connection_id":149006,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04ca3e0012d7a634005bd2a300010016207..."} 
[2026-08-02 07:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04ca3e0012d7a634005bd2a300010016207..."} 
[2026-08-02 07:58:44] local.INFO: Processing buffer {"connection_id":149006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04ca3e0012d7a634005bd2a300010016207..."} 
[2026-08-02 07:58:44] local.INFO: Packet analysis {"connection_id":149006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04c"} 
[2026-08-02 07:58:44] local.INFO: Extracted packet for processing {"connection_id":149006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04c"} 
[2026-08-02 07:58:44] local.INFO: GPS Element Parsed {"raw_longitude":762995520,"raw_latitude":96283184,"longitude_deg":76.299552,"latitude_deg":9.6283184,"altitude":16,"angle":354,"satellites":7,"speed":11,"hex_longitude":"2d7a6340","hex_latitude":"05bd2a30","is_valid_coordinates":true} 
[2026-08-02 07:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123244800001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113621500094840832,"note":"Value kept but may cause issues"} 
[2026-08-02 07:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819033257458329600,"note":"Value kept but may cause issues"} 
[2026-08-02 07:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785637676000,"timestamp_ms":1785637676000,"timestamp_seconds":1785637676,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04ca3e0"} 
[2026-08-02 07:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-02 07:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 07:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 07:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123244800001,"66":13656,"7":206,"85":12544,"24":11,"16":113621500094840832,"45":8819033257458329600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-02 07:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 07:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 07:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123244800001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:58:44] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-02 07:58:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-02 07:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113621500094840832,"km_value":113621500094840.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819033257458329600,"description":"Unknown IO ID 45"} 
[2026-08-02 07:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123244800001,"power":13656,"unknown_7":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":8819033257458329600}} 
[2026-08-02 07:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":149006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:58:44] local.INFO: GPS data processed {"connection_id":149006,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:58:44] local.INFO: Acknowledgment sent {"connection_id":149006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:58:47] local.INFO: TCP Data received {"connection_id":149007,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:58:47] local.INFO: Processing buffer {"connection_id":149007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:58:47] local.INFO: IMEI packet received {"connection_id":149007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":149007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:58:48] local.INFO: TCP Data received {"connection_id":149007,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:58:48] local.INFO: Processing buffer {"connection_id":149007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:58:48] local.INFO: Packet analysis {"connection_id":149007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 07:58:48] local.INFO: Extracted packet for processing {"connection_id":149007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 07:58:48] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 07:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123137024001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:58:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795293696,"note":"Value kept but may cause issues"} 
[2026-08-02 07:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785637555000,"timestamp_ms":1785637555000,"timestamp_seconds":1785637555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04acb38"} 
[2026-08-02 07:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 07:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123137024001,"66":26495,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573767456795293696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123137024001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:58:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:58:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:58:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795293696,"description":"Unknown IO ID 44"} 
[2026-08-02 07:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123137024001,"power":26495,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573767456795293696}} 
[2026-08-02 07:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":149007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:58:48] local.INFO: GPS data processed {"connection_id":149007,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:58:48] local.INFO: Acknowledgment sent {"connection_id":149007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:59:19] local.INFO: TCP Data received {"connection_id":147695,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:59:19] local.INFO: Processing buffer {"connection_id":147695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 07:59:19] local.INFO: IMEI packet received {"connection_id":147695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 07:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":147695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:59:20] local.INFO: TCP Data received {"connection_id":149007,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:59:20] local.INFO: Processing buffer {"connection_id":149007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:59:20] local.INFO: Packet analysis {"connection_id":149007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 07:59:20] local.INFO: Extracted packet for processing {"connection_id":149007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 07:59:20] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 07:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123137024001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795293696,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785637555000,"timestamp_ms":1785637555000,"timestamp_seconds":1785637555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04acb38"} 
[2026-08-02 07:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 07:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123137024001,"66":26495,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573767456795293696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123137024001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:59:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:59:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:59:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795293696,"description":"Unknown IO ID 44"} 
[2026-08-02 07:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123137024001,"power":26495,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573767456795293696}} 
[2026-08-02 07:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":149007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:59:20] local.INFO: GPS data processed {"connection_id":149007,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:59:20] local.INFO: Acknowledgment sent {"connection_id":149007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:59:20] local.INFO: TCP Data received {"connection_id":147695,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 07:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147695,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 07:59:20] local.INFO: Processing buffer {"connection_id":147695,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 07:59:20] local.INFO: IMEI packet received {"connection_id":147695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 07:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":147695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:59:21] local.INFO: TCP Data received {"connection_id":147695,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04cd6a8012d7a614005bd4fb80011016407..."} 
[2026-08-02 07:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04cd6a8012d7a614005bd4fb80011016407..."} 
[2026-08-02 07:59:21] local.INFO: Processing buffer {"connection_id":147695,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fc0..."} 
[2026-08-02 07:59:21] local.INFO: IMEI packet received {"connection_id":147695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 07:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":147695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:59:22] local.INFO: TCP Data received {"connection_id":147695,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04cf5e8012d7a610005bd7658000e016408..."} 
[2026-08-02 07:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04cf5e8012d7a610005bd7658000e016408..."} 
[2026-08-02 07:59:22] local.INFO: Processing buffer {"connection_id":147695,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc04cd6a8012d7a614005bd4fb80011016407..."} 
[2026-08-02 07:59:22] local.INFO: Packet analysis {"connection_id":147695,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc04c"} 
[2026-08-02 07:59:22] local.INFO: Extracted packet for processing {"connection_id":147695,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04c"} 
[2026-08-02 07:59:22] local.INFO: GPS Element Parsed {"raw_longitude":762995008,"raw_latitude":96292792,"longitude_deg":76.2995008,"latitude_deg":9.6292792,"altitude":17,"angle":356,"satellites":7,"speed":39,"hex_longitude":"2d7a6140","hex_latitude":"05bd4fb8","is_valid_coordinates":true} 
[2026-08-02 07:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123245056001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113621963951308800,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818962888714235904,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785637689000,"timestamp_ms":1785637689000,"timestamp_seconds":1785637689,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04cd6a8"} 
[2026-08-02 07:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-02 07:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 07:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 07:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123245056001,"66":13624,"7":206,"85":12544,"24":39,"16":113621963951308800,"45":8818962888714235904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-02 07:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 07:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 07:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123245056001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:59:22] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-02 07:59:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-02 07:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113621963951308800,"km_value":113621963951308.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818962888714235904,"description":"Unknown IO ID 45"} 
[2026-08-02 07:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123245056001,"power":13624,"unknown_7":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":8818962888714235904}} 
[2026-08-02 07:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":147695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:59:22] local.INFO: GPS data processed {"connection_id":147695,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:59:22] local.INFO: Acknowledgment sent {"connection_id":147695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:59:22] local.INFO: Packet analysis {"connection_id":147695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04c"} 
[2026-08-02 07:59:22] local.INFO: Extracted packet for processing {"connection_id":147695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04c"} 
[2026-08-02 07:59:22] local.INFO: GPS Element Parsed {"raw_longitude":762994944,"raw_latitude":96302680,"longitude_deg":76.2994944,"latitude_deg":9.630268,"altitude":14,"angle":356,"satellites":8,"speed":49,"hex_longitude":"2d7a6100","hex_latitude":"05bd7658","is_valid_coordinates":true} 
[2026-08-02 07:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123248384001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113622444987645952,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818399938763274240,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785637697000,"timestamp_ms":1785637697000,"timestamp_seconds":1785637697,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04cf5e8"} 
[2026-08-02 07:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-02 07:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 07:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 07:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123248384001,"66":13765,"7":206,"85":12544,"24":49,"16":113622444987645952,"45":8818399938763274240},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-02 07:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 07:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 07:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123248384001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:59:22] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-02 07:59:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-02 07:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113622444987645952,"km_value":113622444987645.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818399938763274240,"description":"Unknown IO ID 45"} 
[2026-08-02 07:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123248384001,"power":13765,"unknown_7":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":8818399938763274240}} 
[2026-08-02 07:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":147695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:59:22] local.INFO: GPS data processed {"connection_id":147695,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:59:22] local.INFO: Acknowledgment sent {"connection_id":147695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:59:23] local.INFO: TCP Data received {"connection_id":147695,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04d1528012d7a604005bd9d18000e016309..."} 
[2026-08-02 07:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04d1528012d7a604005bd9d18000e016309..."} 
[2026-08-02 07:59:23] local.INFO: Processing buffer {"connection_id":147695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04d1528012d7a604005bd9d18000e016309..."} 
[2026-08-02 07:59:23] local.INFO: Packet analysis {"connection_id":147695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04d"} 
[2026-08-02 07:59:23] local.INFO: Extracted packet for processing {"connection_id":147695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04d"} 
[2026-08-02 07:59:23] local.INFO: GPS Element Parsed {"raw_longitude":762994752,"raw_latitude":96312600,"longitude_deg":76.2994752,"latitude_deg":9.63126,"altitude":14,"angle":355,"satellites":9,"speed":48,"hex_longitude":"2d7a6040","hex_latitude":"05bd9d18","is_valid_coordinates":true} 
[2026-08-02 07:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123250432001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113622926023983104,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818329570021627904,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785637705000,"timestamp_ms":1785637705000,"timestamp_seconds":1785637705,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04d1528"} 
[2026-08-02 07:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 07:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-02 07:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 07:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 07:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 07:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123250432001,"66":13787,"7":206,"85":12544,"24":48,"16":113622926023983104,"45":8818329570021627904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-02 07:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 07:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 07:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123250432001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:59:23] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-02 07:59:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-02 07:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113622926023983104,"km_value":113622926023983.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818329570021627904,"description":"Unknown IO ID 45"} 
[2026-08-02 07:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123250432001,"power":13787,"unknown_7":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":8818329570021627904}} 
[2026-08-02 07:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":147695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:59:23] local.INFO: GPS data processed {"connection_id":147695,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:59:23] local.INFO: Acknowledgment sent {"connection_id":147695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 07:59:41] local.INFO: TCP Data received {"connection_id":146682,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:59:41] local.INFO: Processing buffer {"connection_id":146682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:59:41] local.INFO: IMEI packet received {"connection_id":146682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 07:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":146682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 07:59:47] local.INFO: TCP Data received {"connection_id":146682,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:59:47] local.INFO: Processing buffer {"connection_id":146682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 07:59:47] local.INFO: IMEI packet received {"connection_id":146682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 07:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":146682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 07:59:48] local.INFO: TCP Data received {"connection_id":146682,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:59:48] local.INFO: Processing buffer {"connection_id":146682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 07:59:48] local.INFO: Packet analysis {"connection_id":146682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 07:59:48] local.INFO: Extracted packet for processing {"connection_id":146682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 07:59:48] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 07:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 07:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123137024001,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795293696,"note":"Value kept but may cause issues"} 
[2026-08-02 07:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 07:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785637555000,"timestamp_ms":1785637555000,"timestamp_seconds":1785637555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04acb38"} 
[2026-08-02 07:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 07:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 07: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 07:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 07:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 07:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 07:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 07:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 07:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 07:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 07:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 07:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 07:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123137024001,"66":26495,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573767456795293696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 07:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 07:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 07:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123137024001,"description":"Unknown IO ID 0"} 
[2026-08-02 07:59:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 07:59:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 07:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 07:59:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795293696,"description":"Unknown IO ID 44"} 
[2026-08-02 07:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123137024001,"power":26495,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573767456795293696}} 
[2026-08-02 07:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":146682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 07:59:48] local.INFO: GPS data processed {"connection_id":146682,"processed":1,"errors":0,"total":1} 
[2026-08-02 07:59:48] local.INFO: Acknowledgment sent {"connection_id":146682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:00:05] local.INFO: TCP Data received {"connection_id":146683,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:00:05] local.INFO: Processing buffer {"connection_id":146683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:00:05] local.INFO: IMEI packet received {"connection_id":146683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":146683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:00:08] local.INFO: TCP Data received {"connection_id":146683,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:00:08] local.INFO: Processing buffer {"connection_id":146683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:00:08] local.INFO: IMEI packet received {"connection_id":146683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":146683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:00:09] local.INFO: TCP Data received {"connection_id":146683,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04e4da8012d7a3f4005bef748000300000c..."} 
[2026-08-02 08:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04e4da8012d7a3f4005bef748000300000c..."} 
[2026-08-02 08:00:09] local.INFO: Processing buffer {"connection_id":146683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04e4da8012d7a3f4005bef748000300000c..."} 
[2026-08-02 08:00:09] local.INFO: Packet analysis {"connection_id":146683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04e"} 
[2026-08-02 08:00:09] local.INFO: Extracted packet for processing {"connection_id":146683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04e"} 
[2026-08-02 08:00:09] local.INFO: GPS Element Parsed {"raw_longitude":762986304,"raw_latitude":96401224,"longitude_deg":76.2986304,"latitude_deg":9.6401224,"altitude":3,"angle":0,"satellites":12,"speed":42,"hex_longitude":"2d7a3f40","hex_latitude":"05bef748","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123270912001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633301405696,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113627272530886656,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 08:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785637785000,"timestamp_ms":1785637785000,"timestamp_seconds":1785637785,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04e4da8"} 
[2026-08-02 08:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-02 08:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123270912001,"66":13656,"45":8809181633301405696,"85":12288,"24":42,"16":113627272530886656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-02 08:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123270912001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633301405696,"description":"Unknown IO ID 45"} 
[2026-08-02 08:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113627272530886656,"km_value":113627272530886.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:00:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457123270912001,"power":13656,"unknown_45":8809181633301405696,"unknown_85":12288,"ignition":42,"odometer":null}} 
[2026-08-02 08:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":146683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:00:09] local.INFO: GPS data processed {"connection_id":146683,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:00:09] local.INFO: Acknowledgment sent {"connection_id":146683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:00:20] local.INFO: TCP Data received {"connection_id":146682,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 08:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 08:00:20] local.INFO: Processing buffer {"connection_id":146682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 08:00:20] local.INFO: Packet analysis {"connection_id":146682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 08:00:20] local.INFO: Extracted packet for processing {"connection_id":146682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 08:00:20] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 08:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123137024001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795293696,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785637555000,"timestamp_ms":1785637555000,"timestamp_seconds":1785637555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04acb38"} 
[2026-08-02 08:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 08:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123137024001,"66":26495,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573767456795293696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123137024001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:00:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:00:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795293696,"description":"Unknown IO ID 44"} 
[2026-08-02 08:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123137024001,"power":26495,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573767456795293696}} 
[2026-08-02 08:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":146682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:00:20] local.INFO: GPS data processed {"connection_id":146682,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:00:20] local.INFO: Acknowledgment sent {"connection_id":146682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:00:40] local.INFO: TCP Data received {"connection_id":146683,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04e70d0012d7a3dc005bf1c48000201620c..."} 
[2026-08-02 08:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04e70d0012d7a3dc005bf1c48000201620c..."} 
[2026-08-02 08:00:40] local.INFO: Processing buffer {"connection_id":146683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04e70d0012d7a3dc005bf1c48000201620c..."} 
[2026-08-02 08:00:40] local.INFO: Packet analysis {"connection_id":146683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04e"} 
[2026-08-02 08:00:40] local.INFO: Extracted packet for processing {"connection_id":146683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04e"} 
[2026-08-02 08:00:40] local.INFO: GPS Element Parsed {"raw_longitude":762985920,"raw_latitude":96410696,"longitude_deg":76.298592,"latitude_deg":9.6410696,"altitude":2,"angle":354,"satellites":12,"speed":41,"hex_longitude":"2d7a3dc0","hex_latitude":"05bf1c48","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123272960001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808829789582870528,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113627732092387328,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 08:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785637794000,"timestamp_ms":1785637794000,"timestamp_seconds":1785637794,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04e70d0"} 
[2026-08-02 08:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-02 08:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123272960001,"66":13678,"45":8808829789582870528,"85":12288,"24":41,"16":113627732092387328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-02 08:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123272960001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808829789582870528,"description":"Unknown IO ID 45"} 
[2026-08-02 08:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113627732092387328,"km_value":113627732092387.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:00:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457123272960001,"power":13678,"unknown_45":8808829789582870528,"unknown_85":12288,"ignition":41,"odometer":null}} 
[2026-08-02 08:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":146683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:00:40] local.INFO: GPS data processed {"connection_id":146683,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:00:40] local.INFO: Acknowledgment sent {"connection_id":146683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:00:47] local.INFO: TCP Data received {"connection_id":146460,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:00:47] local.INFO: Processing buffer {"connection_id":146460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:00:47] local.INFO: IMEI packet received {"connection_id":146460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":146460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:00:52] local.INFO: TCP Data received {"connection_id":146460,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:00:52] local.INFO: Processing buffer {"connection_id":146460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:00:52] local.INFO: IMEI packet received {"connection_id":146460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":146460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:00:53] local.INFO: TCP Data received {"connection_id":146460,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 08:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 08:00:53] local.INFO: Processing buffer {"connection_id":146460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 08:00:53] local.INFO: Packet analysis {"connection_id":146460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 08:00:53] local.INFO: Extracted packet for processing {"connection_id":146460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 08:00:53] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 08:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123137024001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795293696,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785637555000,"timestamp_ms":1785637555000,"timestamp_seconds":1785637555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04acb38"} 
[2026-08-02 08:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 08:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123137024001,"66":26495,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573767456795293696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123137024001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:00:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:00:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:00:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795293696,"description":"Unknown IO ID 44"} 
[2026-08-02 08:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123137024001,"power":26495,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573767456795293696}} 
[2026-08-02 08:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":146460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:00:53] local.INFO: GPS data processed {"connection_id":146460,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:00:53] local.INFO: Acknowledgment sent {"connection_id":146460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:00:58] local.INFO: TCP Data received {"connection_id":146460,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 08:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 08:00:58] local.INFO: Processing buffer {"connection_id":146460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04acb38012cb2a5c007751708002100e125..."} 
[2026-08-02 08:00:58] local.INFO: Packet analysis {"connection_id":146460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 08:00:58] local.INFO: Extracted packet for processing {"connection_id":146460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04a"} 
[2026-08-02 08:00:58] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 08:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123137024001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795293696,"note":"Value kept but may cause issues"} 
[2026-08-02 08:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785637555000,"timestamp_ms":1785637555000,"timestamp_seconds":1785637555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04acb38"} 
[2026-08-02 08:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 08:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123137024001,"66":26495,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573767456795293696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123137024001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:00:58] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:00:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:00:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795293696,"description":"Unknown IO ID 44"} 
[2026-08-02 08:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123137024001,"power":26495,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573767456795293696}} 
[2026-08-02 08:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":146460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:00:58] local.INFO: GPS data processed {"connection_id":146460,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:00:58] local.INFO: Acknowledgment sent {"connection_id":146460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:01:05] local.INFO: TCP Data received {"connection_id":149008,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:01:05] local.INFO: Processing buffer {"connection_id":149008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:01:05] local.INFO: IMEI packet received {"connection_id":149008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":149008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:01:10] local.INFO: TCP Data received {"connection_id":149008,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:01:10] local.INFO: Processing buffer {"connection_id":149008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:01:10] local.INFO: IMEI packet received {"connection_id":149008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":149008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:01:11] local.INFO: TCP Data received {"connection_id":149008,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04ea398012d7a3ac005bf3f30000101670c..."} 
[2026-08-02 08:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04ea398012d7a3ac005bf3f30000101670c..."} 
[2026-08-02 08:01:11] local.INFO: Processing buffer {"connection_id":149008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04ea398012d7a3ac005bf3f30000101670c..."} 
[2026-08-02 08:01:11] local.INFO: Packet analysis {"connection_id":149008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04e"} 
[2026-08-02 08:01:11] local.INFO: Extracted packet for processing {"connection_id":149008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04e"} 
[2026-08-02 08:01:11] local.INFO: GPS Element Parsed {"raw_longitude":762985152,"raw_latitude":96419632,"longitude_deg":76.2985152,"latitude_deg":9.6419632,"altitude":1,"angle":359,"satellites":12,"speed":13,"hex_longitude":"2d7a3ac0","hex_latitude":"05bf3f30","is_valid_coordinates":true} 
[2026-08-02 08:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123275264001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808407577120229376,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113628170179051520,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 08:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785637807000,"timestamp_ms":1785637807000,"timestamp_seconds":1785637807,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04ea398"} 
[2026-08-02 08:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-02 08:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123275264001,"66":12809,"45":8808407577120229376,"85":12288,"24":13,"16":113628170179051520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-02 08:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123275264001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808407577120229376,"description":"Unknown IO ID 45"} 
[2026-08-02 08:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113628170179051520,"km_value":113628170179051.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:01:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457123275264001,"power":12809,"unknown_45":8808407577120229376,"unknown_85":12288,"ignition":13,"odometer":null}} 
[2026-08-02 08:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":149008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:01:11] local.INFO: GPS data processed {"connection_id":149008,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:01:11] local.INFO: Acknowledgment sent {"connection_id":149008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:01:41] local.INFO: TCP Data received {"connection_id":147696,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:01:41] local.INFO: Processing buffer {"connection_id":147696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:01:41] local.INFO: IMEI packet received {"connection_id":147696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":147696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:01:42] local.INFO: TCP Data received {"connection_id":149008,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04fcc78012d7b894005bf5988000000500c..."} 
[2026-08-02 08:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04fcc78012d7b894005bf5988000000500c..."} 
[2026-08-02 08:01:42] local.INFO: Processing buffer {"connection_id":149008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04fcc78012d7b894005bf5988000000500c..."} 
[2026-08-02 08:01:42] local.INFO: Packet analysis {"connection_id":149008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:01:42] local.INFO: Extracted packet for processing {"connection_id":149008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:01:42] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":96426376,"longitude_deg":76.3070784,"latitude_deg":9.6426376,"altitude":0,"angle":80,"satellites":12,"speed":55,"hex_longitude":"2d7b8940","hex_latitude":"05bf5988","is_valid_coordinates":true} 
[2026-08-02 08:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123296256001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113632310527524864,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891090851532601344,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785637883000,"timestamp_ms":1785637883000,"timestamp_seconds":1785637883,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04fcc78"} 
[2026-08-02 08:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3226405160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277004521607217760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":191,"raw_value":4726527808931105792,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2821456078,"corrected_to":0} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":49,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":40,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3221602117,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040168,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2978545664,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3208798208,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57887281466201392,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":78,"raw_value":-1592021173436809211,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.WARNING: Large IO value detected {"io_id":168,"raw_value":3242818596979611648,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:42] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,44,85,24,241,157,16,179,159,149,45,82,12,10,66,122,128,79,178,91,1,240,116,227,192,191,4,113,205,49,40,174,48,239,51,2,147,5,46,248,78,168],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2821456078,"validated":0}]} 
[2026-08-02 08:01:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":95709054894080,"timestamp_seconds":95709054894.08,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 08:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123296256001,"66":13504,"44":206,"85":12288,"24":55,"16":113632310527524864,"45":8891090851532601344},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-02 08:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123296256001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-02 08:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113632310527524864,"km_value":113632310527524.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891090851532601344,"description":"Unknown IO ID 45"} 
[2026-08-02 08:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123296256001,"power":13504,"unknown_44":206,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":8891090851532601344}} 
[2026-08-02 08:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":149008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:01:42] local.INFO: GPS data processed {"connection_id":149008,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:01:42] local.INFO: Acknowledgment sent {"connection_id":149008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:01:47] local.INFO: TCP Data received {"connection_id":147696,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:01:47] local.INFO: Processing buffer {"connection_id":147696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:01:47] local.INFO: IMEI packet received {"connection_id":147696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":147696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:01:48] local.INFO: TCP Data received {"connection_id":147696,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:01:48] local.INFO: Processing buffer {"connection_id":147696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:01:48] local.INFO: Packet analysis {"connection_id":147696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:01:48] local.INFO: Extracted packet for processing {"connection_id":147696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:01:48] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123214080001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539373056,"note":"Value kept but may cause issues"} 
[2026-08-02 08:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785637856000,"timestamp_ms":1785637856000,"timestamp_seconds":1785637856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04f6300"} 
[2026-08-02 08:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-02 08:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123214080001,"66":26245,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573837825539373056},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123214080001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:01:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:01:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:01:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539373056,"description":"Unknown IO ID 44"} 
[2026-08-02 08:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123214080001,"power":26245,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573837825539373056}} 
[2026-08-02 08:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":147696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:01:48] local.INFO: GPS data processed {"connection_id":147696,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:01:48] local.INFO: Acknowledgment sent {"connection_id":147696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:02:09] local.INFO: TCP Data received {"connection_id":146461,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:02:09] local.INFO: Processing buffer {"connection_id":146461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:02:09] local.INFO: IMEI packet received {"connection_id":146461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":146461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:02:10] local.INFO: TCP Data received {"connection_id":146461,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:02:10] local.INFO: Processing buffer {"connection_id":146461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:02:10] local.INFO: IMEI packet received {"connection_id":146461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":146461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:02:16] local.INFO: TCP Data received {"connection_id":146461,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:02:16] local.INFO: Processing buffer {"connection_id":146461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:02:16] local.INFO: IMEI packet received {"connection_id":146461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":146461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:02:17] local.INFO: TCP Data received {"connection_id":146461,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04fe7d0012d7bb0c005bf60a00000004e0c..."} 
[2026-08-02 08:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04fe7d0012d7bb0c005bf60a00000004e0c..."} 
[2026-08-02 08:02:17] local.INFO: Processing buffer {"connection_id":146461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04fe7d0012d7bb0c005bf60a00000004e0c..."} 
[2026-08-02 08:02:17] local.INFO: Packet analysis {"connection_id":146461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:02:17] local.INFO: Extracted packet for processing {"connection_id":146461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:02:17] local.INFO: GPS Element Parsed {"raw_longitude":763080896,"raw_latitude":96428192,"longitude_deg":76.3080896,"latitude_deg":9.6428192,"altitude":0,"angle":78,"satellites":12,"speed":60,"hex_longitude":"2d7bb0c0","hex_latitude":"05bf60a0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 08:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123298048001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113632804448763904,"note":"Value kept but may cause issues"} 
[2026-08-02 08:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716531903825920,"note":"Value kept but may cause issues"} 
[2026-08-02 08:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785637890000,"timestamp_ms":1785637890000,"timestamp_seconds":1785637890,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04fe7d0"} 
[2026-08-02 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-08-02 08:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 08:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 08:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":146461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":146461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":146461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123298048001,"66":13341,"44":206,"85":12288,"24":60,"16":113632804448763904,"45":8901716531903825920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-02 08:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123298048001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:02:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-02 08:02:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113632804448763904,"km_value":113632804448763.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716531903825920,"description":"Unknown IO ID 45"} 
[2026-08-02 08:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123298048001,"power":13341,"unknown_44":206,"unknown_85":12288,"ignition":60,"odometer":null,"unknown_45":8901716531903825920}} 
[2026-08-02 08:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":146461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:02:17] local.INFO: GPS data processed {"connection_id":146461,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:02:17] local.INFO: Acknowledgment sent {"connection_id":146461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:02:20] local.INFO: TCP Data received {"connection_id":147696,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:02:20] local.INFO: Processing buffer {"connection_id":147696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:02:20] local.INFO: Packet analysis {"connection_id":147696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:02:20] local.INFO: Extracted packet for processing {"connection_id":147696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:02:20] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 08:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123214080001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539373056,"note":"Value kept but may cause issues"} 
[2026-08-02 08:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785637856000,"timestamp_ms":1785637856000,"timestamp_seconds":1785637856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04f6300"} 
[2026-08-02 08:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-02 08:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123214080001,"66":26245,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573837825539373056},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123214080001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:02:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:02:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539373056,"description":"Unknown IO ID 44"} 
[2026-08-02 08:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123214080001,"power":26245,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573837825539373056}} 
[2026-08-02 08:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":147696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:02:20] local.INFO: GPS data processed {"connection_id":147696,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:02:20] local.INFO: Acknowledgment sent {"connection_id":147696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:02:42] local.INFO: TCP Data received {"connection_id":146684,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:02:42] local.INFO: Processing buffer {"connection_id":146684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:02:42] local.INFO: IMEI packet received {"connection_id":146684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":146684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:02:47] local.INFO: TCP Data received {"connection_id":146684,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:02:47] local.INFO: Processing buffer {"connection_id":146684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:02:47] local.INFO: IMEI packet received {"connection_id":146684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":146684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:02:48] local.INFO: TCP Data received {"connection_id":146461,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0500af8012d7bd40005bf69880000004b0c..."} 
[2026-08-02 08:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0500af8012d7bd40005bf69880000004b0c..."} 
[2026-08-02 08:02:48] local.INFO: Processing buffer {"connection_id":146461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0500af8012d7bd40005bf69880000004b0c..."} 
[2026-08-02 08:02:48] local.INFO: Packet analysis {"connection_id":146461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc050"} 
[2026-08-02 08:02:48] local.INFO: Extracted packet for processing {"connection_id":146461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc050"} 
[2026-08-02 08:02:48] local.INFO: GPS Element Parsed {"raw_longitude":763089920,"raw_latitude":96430472,"longitude_deg":76.308992,"latitude_deg":9.6430472,"altitude":0,"angle":75,"satellites":12,"speed":21,"hex_longitude":"2d7bd400","hex_latitude":"05bf6988","is_valid_coordinates":true} 
[2026-08-02 08:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123299840001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113633246830395392,"note":"Value kept but may cause issues"} 
[2026-08-02 08:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912834793484361728,"note":"Value kept but may cause issues"} 
[2026-08-02 08:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785637899000,"timestamp_ms":1785637899000,"timestamp_seconds":1785637899,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0500af8"} 
[2026-08-02 08:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-02 08:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123299840001,"66":13526,"44":206,"85":12288,"24":21,"16":113633246830395392,"45":8912834793484361728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-02 08:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123299840001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:02:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-02 08:02:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113633246830395392,"km_value":113633246830395.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912834793484361728,"description":"Unknown IO ID 45"} 
[2026-08-02 08:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123299840001,"power":13526,"unknown_44":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":8912834793484361728}} 
[2026-08-02 08:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":146461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:02:48] local.INFO: GPS data processed {"connection_id":146461,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:02:48] local.INFO: Acknowledgment sent {"connection_id":146461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:02:48] local.INFO: TCP Data received {"connection_id":146684,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:02:48] local.INFO: Processing buffer {"connection_id":146684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:02:48] local.INFO: Packet analysis {"connection_id":146684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:02:48] local.INFO: Extracted packet for processing {"connection_id":146684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:02:48] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 08:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123214080001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:02:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539373056,"note":"Value kept but may cause issues"} 
[2026-08-02 08:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785637856000,"timestamp_ms":1785637856000,"timestamp_seconds":1785637856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04f6300"} 
[2026-08-02 08:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-02 08:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123214080001,"66":26245,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573837825539373056},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123214080001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:02:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:02:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:02:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539373056,"description":"Unknown IO ID 44"} 
[2026-08-02 08:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123214080001,"power":26245,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573837825539373056}} 
[2026-08-02 08:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":146684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:02:48] local.INFO: GPS data processed {"connection_id":146684,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:02:48] local.INFO: Acknowledgment sent {"connection_id":146684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:03:06] local.INFO: TCP Data received {"connection_id":149009,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:03:06] local.INFO: Processing buffer {"connection_id":149009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:03:06] local.INFO: IMEI packet received {"connection_id":149009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":149009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:03:06] local.INFO: TCP Data received {"connection_id":149009,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:03:06] local.INFO: Processing buffer {"connection_id":149009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:03:06] local.INFO: IMEI packet received {"connection_id":149009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":149009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:03:10] local.INFO: TCP Data received {"connection_id":149009,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:03:10] local.INFO: Processing buffer {"connection_id":149009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:03:10] local.INFO: IMEI packet received {"connection_id":149009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":149009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:03:11] local.INFO: TCP Data received {"connection_id":149009,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0502a38012d7bdf8005bf6d200000005c0c..."} 
[2026-08-02 08:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0502a38012d7bdf8005bf6d200000005c0c..."} 
[2026-08-02 08:03:11] local.INFO: Processing buffer {"connection_id":149009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0502a38012d7bdf8005bf6d200000005c0c..."} 
[2026-08-02 08:03:11] local.INFO: Packet analysis {"connection_id":149009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc050"} 
[2026-08-02 08:03:11] local.INFO: Extracted packet for processing {"connection_id":149009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc050"} 
[2026-08-02 08:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763092864,"raw_latitude":96431392,"longitude_deg":76.3092864,"latitude_deg":9.6431392,"altitude":0,"angle":92,"satellites":12,"speed":7,"hex_longitude":"2d7bdf80","hex_latitude":"05bf6d20","is_valid_coordinates":true} 
[2026-08-02 08:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123302144001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113633397154250752,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922756786413996032,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785637907000,"timestamp_ms":1785637907000,"timestamp_seconds":1785637907,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0502a38"} 
[2026-08-02 08:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 08:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123302144001,"66":13559,"44":206,"85":12288,"24":7,"16":113633397154250752,"45":8922756786413996032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-02 08:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123302144001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:03:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-02 08:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113633397154250752,"km_value":113633397154250.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922756786413996032,"description":"Unknown IO ID 45"} 
[2026-08-02 08:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123302144001,"power":13559,"unknown_44":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":8922756786413996032}} 
[2026-08-02 08:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":149009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:03:11] local.INFO: GPS data processed {"connection_id":149009,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:03:11] local.INFO: Acknowledgment sent {"connection_id":149009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:03:20] local.INFO: TCP Data received {"connection_id":146684,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:03:20] local.INFO: Processing buffer {"connection_id":146684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:03:20] local.INFO: Packet analysis {"connection_id":146684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:03:20] local.INFO: Extracted packet for processing {"connection_id":146684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 08:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123214080001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539373056,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785637856000,"timestamp_ms":1785637856000,"timestamp_seconds":1785637856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04f6300"} 
[2026-08-02 08:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-02 08:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123214080001,"66":26245,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573837825539373056},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123214080001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:03:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:03:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539373056,"description":"Unknown IO ID 44"} 
[2026-08-02 08:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123214080001,"power":26245,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573837825539373056}} 
[2026-08-02 08:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":146684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:03:20] local.INFO: GPS data processed {"connection_id":146684,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:03:20] local.INFO: Acknowledgment sent {"connection_id":146684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:03:42] local.INFO: TCP Data received {"connection_id":149009,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc051b0d8012d7c858005bf85380005004a0f..."} 
[2026-08-02 08:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc051b0d8012d7c858005bf85380005004a0f..."} 
[2026-08-02 08:03:42] local.INFO: Processing buffer {"connection_id":149009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc051b0d8012d7c858005bf85380005004a0f..."} 
[2026-08-02 08:03:42] local.INFO: Packet analysis {"connection_id":149009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc051"} 
[2026-08-02 08:03:42] local.INFO: Extracted packet for processing {"connection_id":149009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc051"} 
[2026-08-02 08:03:42] local.INFO: GPS Element Parsed {"raw_longitude":763135360,"raw_latitude":96437560,"longitude_deg":76.313536,"latitude_deg":9.643756,"altitude":5,"angle":74,"satellites":15,"speed":39,"hex_longitude":"2d7c8580","hex_latitude":"05bf8538","is_valid_coordinates":true} 
[2026-08-02 08:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123329024001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113635488803323904,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969692738782048256,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785638007000,"timestamp_ms":1785638007000,"timestamp_seconds":1785638007,"priority":1,"record_length":96,"hex_timestamp":"0000019fc051b0d8"} 
[2026-08-02 08:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-02 08:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":216172782281556992,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3226541160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:42] local.WARNING: Large IO value detected {"io_id":192,"raw_value":5838063700920754304,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1645805774,"corrected_to":0} 
[2026-08-02 08:03:42] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3221602167,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:42] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3044999168,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4652570258794593521,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:42] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026193128383001003,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:42] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:42] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,25,85,24,241,157,16,182,159,45,128,125,4,15,10,66,141,192,122,114,1,240,78,227,191,113,205,46,71,11,184,239,53,2,147,5,21,52,48,23],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1645805774,"validated":0}]} 
[2026-08-02 08:03:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360355104825868288,"timestamp_seconds":360355104825868.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 08:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123329024001,"66":13537,"25":206,"85":12288,"24":39,"16":113635488803323904,"45":8969692738782048256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-02 08:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123329024001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:03:42] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-02 08:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113635488803323904,"km_value":113635488803323.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969692738782048256,"description":"Unknown IO ID 45"} 
[2026-08-02 08:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123329024001,"power":13537,"unknown_25":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":8969692738782048256}} 
[2026-08-02 08:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":149009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:03:42] local.INFO: GPS data processed {"connection_id":149009,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:03:42] local.INFO: Acknowledgment sent {"connection_id":149009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:03:47] local.INFO: TCP Data received {"connection_id":149010,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:03:47] local.INFO: Processing buffer {"connection_id":149010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:03:47] local.INFO: IMEI packet received {"connection_id":149010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":149010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:03:52] local.INFO: TCP Data received {"connection_id":149010,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:03:52] local.INFO: Processing buffer {"connection_id":149010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:03:52] local.INFO: IMEI packet received {"connection_id":149010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":149010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:03:53] local.INFO: TCP Data received {"connection_id":149010,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:03:53] local.INFO: Processing buffer {"connection_id":149010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:03:53] local.INFO: Packet analysis {"connection_id":149010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:03:53] local.INFO: Extracted packet for processing {"connection_id":149010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:03:53] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 08:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123214080001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539373056,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785637856000,"timestamp_ms":1785637856000,"timestamp_seconds":1785637856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04f6300"} 
[2026-08-02 08:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-02 08:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123214080001,"66":26245,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573837825539373056},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123214080001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:03:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:03:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:03:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539373056,"description":"Unknown IO ID 44"} 
[2026-08-02 08:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123214080001,"power":26245,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573837825539373056}} 
[2026-08-02 08:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":149010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:03:53] local.INFO: GPS data processed {"connection_id":149010,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:03:53] local.INFO: Acknowledgment sent {"connection_id":149010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:03:57] local.INFO: TCP Data received {"connection_id":149010,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:03:57] local.INFO: Processing buffer {"connection_id":149010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc04f6300012cb2a5c007751708002100e128..."} 
[2026-08-02 08:03:57] local.INFO: Packet analysis {"connection_id":149010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:03:57] local.INFO: Extracted packet for processing {"connection_id":149010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc04f"} 
[2026-08-02 08:03:57] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123214080001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539373056,"note":"Value kept but may cause issues"} 
[2026-08-02 08:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785637856000,"timestamp_ms":1785637856000,"timestamp_seconds":1785637856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc04f6300"} 
[2026-08-02 08:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-02 08:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123214080001,"66":26245,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573837825539373056},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123214080001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:03:57] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:03:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:03:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539373056,"description":"Unknown IO ID 44"} 
[2026-08-02 08:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123214080001,"power":26245,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573837825539373056}} 
[2026-08-02 08:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":149010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:03:57] local.INFO: GPS data processed {"connection_id":149010,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:03:57] local.INFO: Acknowledgment sent {"connection_id":149010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:04:03] local.INFO: TCP Data received {"connection_id":147697,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:04:03] local.INFO: Processing buffer {"connection_id":147697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:04:03] local.INFO: IMEI packet received {"connection_id":147697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":147697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:04:05] local.INFO: TCP Data received {"connection_id":147697,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:04:05] local.INFO: Processing buffer {"connection_id":147697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:04:05] local.INFO: IMEI packet received {"connection_id":147697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":147697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:04:10] local.INFO: TCP Data received {"connection_id":147697,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:04:10] local.INFO: Processing buffer {"connection_id":147697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:04:10] local.INFO: IMEI packet received {"connection_id":147697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":147697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:04:11] local.INFO: TCP Data received {"connection_id":147697,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc051c460012d7c9b0005bf86c0000500590f..."} 
[2026-08-02 08:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc051c460012d7c9b0005bf86c0000500590f..."} 
[2026-08-02 08:04:11] local.INFO: Processing buffer {"connection_id":147697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc051c460012d7c9b0005bf86c0000500590f..."} 
[2026-08-02 08:04:11] local.INFO: Packet analysis {"connection_id":147697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc051"} 
[2026-08-02 08:04:11] local.INFO: Extracted packet for processing {"connection_id":147697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc051"} 
[2026-08-02 08:04:11] local.INFO: GPS Element Parsed {"raw_longitude":763140864,"raw_latitude":96437952,"longitude_deg":76.3140864,"latitude_deg":9.6437952,"altitude":5,"angle":89,"satellites":15,"speed":46,"hex_longitude":"2d7c9b00","hex_latitude":"05bf86c0","is_valid_coordinates":true} 
[2026-08-02 08:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123329792001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113635755091296256,"note":"Value kept but may cause issues"} 
[2026-08-02 08:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972718594781952000,"note":"Value kept but may cause issues"} 
[2026-08-02 08:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785638012000,"timestamp_ms":1785638012000,"timestamp_seconds":1785638012,"priority":1,"record_length":96,"hex_timestamp":"0000019fc051c460"} 
[2026-08-02 08:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-02 08:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123329792001,"66":13624,"25":206,"85":12288,"24":46,"16":113635755091296256,"45":8972718594781952000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-02 08:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123329792001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:04:11] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-02 08:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113635755091296256,"km_value":113635755091296.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972718594781952000,"description":"Unknown IO ID 45"} 
[2026-08-02 08:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123329792001,"power":13624,"unknown_25":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":8972718594781952000}} 
[2026-08-02 08:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":147697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:04:11] local.INFO: GPS data processed {"connection_id":147697,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:04:11] local.INFO: Acknowledgment sent {"connection_id":147697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:04:42] local.INFO: TCP Data received {"connection_id":147698,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:04:42] local.INFO: Processing buffer {"connection_id":147698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:04:42] local.INFO: IMEI packet received {"connection_id":147698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":147698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:04:42] local.INFO: TCP Data received {"connection_id":147697,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc051e3a0012d7cc24005bf8470000700600f..."} 
[2026-08-02 08:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc051e3a0012d7cc24005bf8470000700600f..."} 
[2026-08-02 08:04:42] local.INFO: Processing buffer {"connection_id":147697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc051e3a0012d7cc24005bf8470000700600f..."} 
[2026-08-02 08:04:42] local.INFO: Packet analysis {"connection_id":147697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc051"} 
[2026-08-02 08:04:42] local.INFO: Extracted packet for processing {"connection_id":147697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc051"} 
[2026-08-02 08:04:42] local.INFO: GPS Element Parsed {"raw_longitude":763150912,"raw_latitude":96437360,"longitude_deg":76.3150912,"latitude_deg":9.643736,"altitude":7,"angle":96,"satellites":15,"speed":51,"hex_longitude":"2d7cc240","hex_latitude":"05bf8470","is_valid_coordinates":true} 
[2026-08-02 08:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123331072001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113636236127633408,"note":"Value kept but may cause issues"} 
[2026-08-02 08:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978770306781331456,"note":"Value kept but may cause issues"} 
[2026-08-02 08:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785638020000,"timestamp_ms":1785638020000,"timestamp_seconds":1785638020,"priority":1,"record_length":96,"hex_timestamp":"0000019fc051e3a0"} 
[2026-08-02 08:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-02 08:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123331072001,"66":13472,"25":206,"85":12288,"24":51,"16":113636236127633408,"45":8978770306781331456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-02 08:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123331072001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:04:42] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-02 08:04:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113636236127633408,"km_value":113636236127633.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978770306781331456,"description":"Unknown IO ID 45"} 
[2026-08-02 08:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123331072001,"power":13472,"unknown_25":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":8978770306781331456}} 
[2026-08-02 08:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":147697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:04:42] local.INFO: GPS data processed {"connection_id":147697,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:04:42] local.INFO: Acknowledgment sent {"connection_id":147697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:04:47] local.INFO: TCP Data received {"connection_id":147698,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:04:47] local.INFO: Processing buffer {"connection_id":147698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:04:47] local.INFO: IMEI packet received {"connection_id":147698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":147698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:04:48] local.INFO: TCP Data received {"connection_id":147698,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc051f340012cb2a5c007751708002100e127..."} 
[2026-08-02 08:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc051f340012cb2a5c007751708002100e127..."} 
[2026-08-02 08:04:48] local.INFO: Processing buffer {"connection_id":147698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc051f340012cb2a5c007751708002100e127..."} 
[2026-08-02 08:04:48] local.INFO: Packet analysis {"connection_id":147698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc051"} 
[2026-08-02 08:04:48] local.INFO: Extracted packet for processing {"connection_id":147698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc051"} 
[2026-08-02 08:04:48] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114120,"longitude_deg":74.9905344,"latitude_deg":12.511412,"altitude":33,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 08:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123291136001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:04:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539373056,"note":"Value kept but may cause issues"} 
[2026-08-02 08:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785638024000,"timestamp_ms":1785638024000,"timestamp_seconds":1785638024,"priority":1,"record_length":96,"hex_timestamp":"0000019fc051f340"} 
[2026-08-02 08:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-02 08:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123291136001,"66":26158,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573837825539373056},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123291136001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:04:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:04:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:04:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539373056,"description":"Unknown IO ID 44"} 
[2026-08-02 08:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123291136001,"power":26158,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573837825539373056}} 
[2026-08-02 08:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":147698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:04:48] local.INFO: GPS data processed {"connection_id":147698,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:04:48] local.INFO: Acknowledgment sent {"connection_id":147698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:05:05] local.INFO: TCP Data received {"connection_id":147699,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:05:05] local.INFO: Processing buffer {"connection_id":147699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:05:05] local.INFO: IMEI packet received {"connection_id":147699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":147699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:05:05] local.INFO: TCP Data received {"connection_id":147699,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:05:05] local.INFO: Processing buffer {"connection_id":147699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:05:05] local.INFO: IMEI packet received {"connection_id":147699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":147699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:05:10] local.INFO: TCP Data received {"connection_id":147699,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:05:10] local.INFO: Processing buffer {"connection_id":147699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:05:10] local.INFO: IMEI packet received {"connection_id":147699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":147699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:05:11] local.INFO: TCP Data received {"connection_id":147699,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05202e0012d7ce70005bf7f60000700630f..."} 
[2026-08-02 08:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05202e0012d7ce70005bf7f60000700630f..."} 
[2026-08-02 08:05:11] local.INFO: Processing buffer {"connection_id":147699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05202e0012d7ce70005bf7f60000700630f..."} 
[2026-08-02 08:05:11] local.INFO: Packet analysis {"connection_id":147699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:05:11] local.INFO: Extracted packet for processing {"connection_id":147699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763160320,"raw_latitude":96436064,"longitude_deg":76.316032,"latitude_deg":9.6436064,"altitude":7,"angle":99,"satellites":15,"speed":41,"hex_longitude":"2d7ce700","hex_latitude":"05bf7f60","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123333120001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113636687099199488,"note":"Value kept but may cause issues"} 
[2026-08-02 08:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989818199617073152,"note":"Value kept but may cause issues"} 
[2026-08-02 08:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785638028000,"timestamp_ms":1785638028000,"timestamp_seconds":1785638028,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05202e0"} 
[2026-08-02 08:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":160,"data_length":795,"current_offset":136} 
[2026-08-02 08:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123333120001,"66":13646,"25":206,"85":12288,"24":41,"16":113636687099199488,"45":8989818199617073152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-02 08:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123333120001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:05:11] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-02 08:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113636687099199488,"km_value":113636687099199.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989818199617073152,"description":"Unknown IO ID 45"} 
[2026-08-02 08:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123333120001,"power":13646,"unknown_25":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":8989818199617073152}} 
[2026-08-02 08:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":147699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:05:11] local.INFO: GPS data processed {"connection_id":147699,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:05:11] local.INFO: Acknowledgment sent {"connection_id":147699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:05:20] local.INFO: TCP Data received {"connection_id":147698,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0520ab0012cb2a780077517e00021003c29..."} 
[2026-08-02 08:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0520ab0012cb2a780077517e00021003c29..."} 
[2026-08-02 08:05:20] local.INFO: Processing buffer {"connection_id":147698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0520ab0012cb2a780077517e00021003c29..."} 
[2026-08-02 08:05:20] local.INFO: Packet analysis {"connection_id":147698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:05:20] local.INFO: Extracted packet for processing {"connection_id":147698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:05:20] local.INFO: GPS Element Parsed {"raw_longitude":749905792,"raw_latitude":125114336,"longitude_deg":74.9905792,"latitude_deg":12.5114336,"altitude":33,"angle":60,"satellites":41,"speed":0,"hex_longitude":"2cb2a780","hex_latitude":"077517e0","is_valid_coordinates":true} 
[2026-08-02 08:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123334144001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539373056,"note":"Value kept but may cause issues"} 
[2026-08-02 08:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785638030000,"timestamp_ms":1785638030000,"timestamp_seconds":1785638030,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0520ab0"} 
[2026-08-02 08:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-02 08:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123334144001,"66":27767,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573837825539373056},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123334144001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:05:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:05:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539373056,"description":"Unknown IO ID 44"} 
[2026-08-02 08:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123334144001,"power":27767,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573837825539373056}} 
[2026-08-02 08:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":147698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:05:20] local.INFO: GPS data processed {"connection_id":147698,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:05:20] local.INFO: Acknowledgment sent {"connection_id":147698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:05:41] local.INFO: TCP Data received {"connection_id":146462,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:05:41] local.INFO: Processing buffer {"connection_id":146462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:05:41] local.INFO: IMEI packet received {"connection_id":146462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":146462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:05:42] local.INFO: TCP Data received {"connection_id":147699,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0523990012d7d050005bf78c0000c00540f..."} 
[2026-08-02 08:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0523990012d7d050005bf78c0000c00540f..."} 
[2026-08-02 08:05:42] local.INFO: Processing buffer {"connection_id":147699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0523990012d7d050005bf78c0000c00540f..."} 
[2026-08-02 08:05:42] local.INFO: Packet analysis {"connection_id":147699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:05:42] local.INFO: Extracted packet for processing {"connection_id":147699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:05:42] local.INFO: GPS Element Parsed {"raw_longitude":763168000,"raw_latitude":96434368,"longitude_deg":76.3168,"latitude_deg":9.6434368,"altitude":12,"angle":84,"satellites":15,"speed":7,"hex_longitude":"2d7d0500","hex_latitude":"05bf78c0","is_valid_coordinates":true} 
[2026-08-02 08:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123335168001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113637065056321536,"note":"Value kept but may cause issues"} 
[2026-08-02 08:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000162405010857984,"note":"Value kept but may cause issues"} 
[2026-08-02 08:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785638042000,"timestamp_ms":1785638042000,"timestamp_seconds":1785638042,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0523990"} 
[2026-08-02 08:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-02 08:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123335168001,"66":13450,"25":206,"85":12288,"24":7,"16":113637065056321536,"45":9000162405010857984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-02 08:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123335168001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:05:42] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-02 08:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113637065056321536,"km_value":113637065056321.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000162405010857984,"description":"Unknown IO ID 45"} 
[2026-08-02 08:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123335168001,"power":13450,"unknown_25":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":9000162405010857984}} 
[2026-08-02 08:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":147699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:05:42] local.INFO: GPS data processed {"connection_id":147699,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:05:42] local.INFO: Acknowledgment sent {"connection_id":147699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:05:47] local.INFO: TCP Data received {"connection_id":146462,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:05:47] local.INFO: Processing buffer {"connection_id":146462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:05:47] local.INFO: IMEI packet received {"connection_id":146462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":146462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:05:48] local.INFO: TCP Data received {"connection_id":146462,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0525cb8012cb2a780077517e00021003c25..."} 
[2026-08-02 08:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0525cb8012cb2a780077517e00021003c25..."} 
[2026-08-02 08:05:48] local.INFO: Processing buffer {"connection_id":146462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0525cb8012cb2a780077517e00021003c25..."} 
[2026-08-02 08:05:48] local.INFO: Packet analysis {"connection_id":146462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:05:48] local.INFO: Extracted packet for processing {"connection_id":146462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:05:48] local.INFO: GPS Element Parsed {"raw_longitude":749905792,"raw_latitude":125114336,"longitude_deg":74.9905792,"latitude_deg":12.5114336,"altitude":33,"angle":60,"satellites":37,"speed":0,"hex_longitude":"2cb2a780","hex_latitude":"077517e0","is_valid_coordinates":true} 
[2026-08-02 08:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123335680001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:05:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573345244330074112,"note":"Value kept but may cause issues"} 
[2026-08-02 08:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785638051000,"timestamp_ms":1785638051000,"timestamp_seconds":1785638051,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0525cb8"} 
[2026-08-02 08:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 08:05: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-08-02 08:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123335680001,"66":27767,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573345244330074112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123335680001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:05:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:05:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:05:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573345244330074112,"description":"Unknown IO ID 44"} 
[2026-08-02 08:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123335680001,"power":27767,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573345244330074112}} 
[2026-08-02 08:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":146462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:05:48] local.INFO: GPS data processed {"connection_id":146462,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:05:48] local.INFO: Acknowledgment sent {"connection_id":146462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:06:06] local.INFO: TCP Data received {"connection_id":149011,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:06:06] local.INFO: Processing buffer {"connection_id":149011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:06:06] local.INFO: IMEI packet received {"connection_id":149011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":149011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:06:10] local.INFO: TCP Data received {"connection_id":149011,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:06:10] local.INFO: Processing buffer {"connection_id":149011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:06:10] local.INFO: IMEI packet received {"connection_id":149011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":149011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:06:11] local.INFO: TCP Data received {"connection_id":149011,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05287b0012d7d064005bf7bd0000e00070f..."} 
[2026-08-02 08:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05287b0012d7d064005bf7bd0000e00070f..."} 
[2026-08-02 08:06:11] local.INFO: Processing buffer {"connection_id":149011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05287b0012d7d064005bf7bd0000e00070f..."} 
[2026-08-02 08:06:11] local.INFO: Packet analysis {"connection_id":149011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:06:11] local.INFO: Extracted packet for processing {"connection_id":149011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763168320,"raw_latitude":96435152,"longitude_deg":76.316832,"latitude_deg":9.6435152,"altitude":14,"angle":7,"satellites":15,"speed":8,"hex_longitude":"2d7d0640","hex_latitude":"05bf7bd0","is_valid_coordinates":true} 
[2026-08-02 08:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123338752001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113637116595929088,"note":"Value kept but may cause issues"} 
[2026-08-02 08:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008606654311743488,"note":"Value kept but may cause issues"} 
[2026-08-02 08:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785638062000,"timestamp_ms":1785638062000,"timestamp_seconds":1785638062,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05287b0"} 
[2026-08-02 08:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 08:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123338752001,"66":13254,"25":206,"85":12288,"24":8,"16":113637116595929088,"45":9008606654311743488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-02 08:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123338752001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:06:11] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-02 08:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113637116595929088,"km_value":113637116595929.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008606654311743488,"description":"Unknown IO ID 45"} 
[2026-08-02 08:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123338752001,"power":13254,"unknown_25":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9008606654311743488}} 
[2026-08-02 08:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":149011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:06:11] local.INFO: GPS data processed {"connection_id":149011,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:06:11] local.INFO: Acknowledgment sent {"connection_id":149011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:06:20] local.INFO: TCP Data received {"connection_id":146462,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc052aec0012cb2a780077517e00021003c28..."} 
[2026-08-02 08:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc052aec0012cb2a780077517e00021003c28..."} 
[2026-08-02 08:06:20] local.INFO: Processing buffer {"connection_id":146462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc052aec0012cb2a780077517e00021003c28..."} 
[2026-08-02 08:06:20] local.INFO: Packet analysis {"connection_id":146462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:06:20] local.INFO: Extracted packet for processing {"connection_id":146462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:06:20] local.INFO: GPS Element Parsed {"raw_longitude":749905792,"raw_latitude":125114336,"longitude_deg":74.9905792,"latitude_deg":12.5114336,"altitude":33,"angle":60,"satellites":40,"speed":0,"hex_longitude":"2cb2a780","hex_latitude":"077517e0","is_valid_coordinates":true} 
[2026-08-02 08:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123341056001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573345244330074112,"note":"Value kept but may cause issues"} 
[2026-08-02 08:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785638072000,"timestamp_ms":1785638072000,"timestamp_seconds":1785638072,"priority":1,"record_length":96,"hex_timestamp":"0000019fc052aec0"} 
[2026-08-02 08:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 08:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123341056001,"66":28028,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573345244330074112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123341056001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:06:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:06:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573345244330074112,"description":"Unknown IO ID 44"} 
[2026-08-02 08:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123341056001,"power":28028,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573345244330074112}} 
[2026-08-02 08:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":146462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:06:20] local.INFO: GPS data processed {"connection_id":146462,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:06:20] local.INFO: Acknowledgment sent {"connection_id":146462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:06:42] local.INFO: TCP Data received {"connection_id":147700,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:06:42] local.INFO: Processing buffer {"connection_id":147700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:06:42] local.INFO: IMEI packet received {"connection_id":147700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":147700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:06:42] local.INFO: TCP Data received {"connection_id":149011,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc052c248012d7d0b0005bf9f90000e000b0f..."} 
[2026-08-02 08:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc052c248012d7d0b0005bf9f90000e000b0f..."} 
[2026-08-02 08:06:42] local.INFO: Processing buffer {"connection_id":149011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc052c248012d7d0b0005bf9f90000e000b0f..."} 
[2026-08-02 08:06:42] local.INFO: Packet analysis {"connection_id":149011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:06:42] local.INFO: Extracted packet for processing {"connection_id":149011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:06:42] local.INFO: GPS Element Parsed {"raw_longitude":763169536,"raw_latitude":96444304,"longitude_deg":76.3169536,"latitude_deg":9.6444304,"altitude":14,"angle":11,"satellites":15,"speed":37,"hex_longitude":"2d7d0b00","hex_latitude":"05bf9f90","is_valid_coordinates":true} 
[2026-08-02 08:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123343872001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113637563272527872,"note":"Value kept but may cause issues"} 
[2026-08-02 08:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008958498032832512,"note":"Value kept but may cause issues"} 
[2026-08-02 08:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785638077000,"timestamp_ms":1785638077000,"timestamp_seconds":1785638077,"priority":1,"record_length":96,"hex_timestamp":"0000019fc052c248"} 
[2026-08-02 08:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":198,"data_length":795,"current_offset":136} 
[2026-08-02 08:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123343872001,"66":13678,"25":206,"85":12288,"24":37,"16":113637563272527872,"45":9008958498032832512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-02 08:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123343872001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:06:42] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-02 08:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113637563272527872,"km_value":113637563272527.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008958498032832512,"description":"Unknown IO ID 45"} 
[2026-08-02 08:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123343872001,"power":13678,"unknown_25":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9008958498032832512}} 
[2026-08-02 08:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":149011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:06:42] local.INFO: GPS data processed {"connection_id":149011,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:06:42] local.INFO: Acknowledgment sent {"connection_id":149011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:06:42] local.INFO: TCP Data received {"connection_id":147700,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:06:42] local.INFO: Processing buffer {"connection_id":147700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:06:42] local.INFO: IMEI packet received {"connection_id":147700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":147700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:06:47] local.INFO: TCP Data received {"connection_id":147700,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:06:47] local.INFO: Processing buffer {"connection_id":147700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:06:47] local.INFO: IMEI packet received {"connection_id":147700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":147700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:06:48] local.INFO: TCP Data received {"connection_id":147700,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05300c8012cb2a780077517080021003e2a..."} 
[2026-08-02 08:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05300c8012cb2a780077517080021003e2a..."} 
[2026-08-02 08:06:48] local.INFO: Processing buffer {"connection_id":147700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05300c8012cb2a780077517080021003e2a..."} 
[2026-08-02 08:06:48] local.INFO: Packet analysis {"connection_id":147700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc053"} 
[2026-08-02 08:06:48] local.INFO: Extracted packet for processing {"connection_id":147700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc053"} 
[2026-08-02 08:06:48] local.INFO: GPS Element Parsed {"raw_longitude":749905792,"raw_latitude":125114120,"longitude_deg":74.9905792,"latitude_deg":12.511412,"altitude":33,"angle":62,"satellites":42,"speed":2,"hex_longitude":"2cb2a780","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-08-02 08:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123346432001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154437484969984,"note":"Value kept but may cause issues"} 
[2026-08-02 08:06:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573345244330074112,"note":"Value kept but may cause issues"} 
[2026-08-02 08:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785638093000,"timestamp_ms":1785638093000,"timestamp_seconds":1785638093,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05300c8"} 
[2026-08-02 08:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-02 08:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123346432001,"66":27463,"241":206,"27":54016,"24":2,"16":367154437484969984,"44":-5573345244330074112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123346432001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:06:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:06:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154437484969984,"km_value":367154437484970.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:06:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573345244330074112,"description":"Unknown IO ID 44"} 
[2026-08-02 08:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123346432001,"power":27463,"unknown_241":206,"unknown_27":54016,"ignition":2,"odometer":null,"unknown_44":-5573345244330074112}} 
[2026-08-02 08:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":147700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:06:48] local.INFO: GPS data processed {"connection_id":147700,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:06:48] local.INFO: Acknowledgment sent {"connection_id":147700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:07:05] local.INFO: TCP Data received {"connection_id":146463,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:07:05] local.INFO: Processing buffer {"connection_id":146463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:07:05] local.INFO: IMEI packet received {"connection_id":146463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":146463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:07:10] local.INFO: TCP Data received {"connection_id":146463,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:07:10] local.INFO: Processing buffer {"connection_id":146463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:07:10] local.INFO: IMEI packet received {"connection_id":146463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":146463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:07:11] local.INFO: TCP Data received {"connection_id":146463,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc052e188012d7d138005bfc0b8000e001a0f..."} 
[2026-08-02 08:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc052e188012d7d138005bfc0b8000e001a0f..."} 
[2026-08-02 08:07:11] local.INFO: Processing buffer {"connection_id":146463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc052e188012d7d138005bfc0b8000e001a0f..."} 
[2026-08-02 08:07:11] local.INFO: Packet analysis {"connection_id":146463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:07:11] local.INFO: Extracted packet for processing {"connection_id":146463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 08:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763171712,"raw_latitude":96452792,"longitude_deg":76.3171712,"latitude_deg":9.6452792,"altitude":14,"angle":26,"satellites":15,"speed":46,"hex_longitude":"2d7d1380","hex_latitude":"05bfc0b8","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123347712001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113637992769257472,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010295504174551040,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785638085000,"timestamp_ms":1785638085000,"timestamp_seconds":1785638085,"priority":1,"record_length":96,"hex_timestamp":"0000019fc052e188"} 
[2026-08-02 08:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-02 08:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123347712001,"66":13504,"25":206,"85":12288,"24":46,"16":113637992769257472,"45":9010295504174551040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-02 08:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123347712001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:07:11] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-02 08:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113637992769257472,"km_value":113637992769257.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010295504174551040,"description":"Unknown IO ID 45"} 
[2026-08-02 08:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123347712001,"power":13504,"unknown_25":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9010295504174551040}} 
[2026-08-02 08:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":146463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:07:11] local.INFO: GPS data processed {"connection_id":146463,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:07:11] local.INFO: Acknowledgment sent {"connection_id":146463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:07:20] local.INFO: TCP Data received {"connection_id":147700,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0531068012cb2a840077517b8002100332a..."} 
[2026-08-02 08:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0531068012cb2a840077517b8002100332a..."} 
[2026-08-02 08:07:20] local.INFO: Processing buffer {"connection_id":147700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0531068012cb2a840077517b8002100332a..."} 
[2026-08-02 08:07:20] local.INFO: Packet analysis {"connection_id":147700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc053"} 
[2026-08-02 08:07:20] local.INFO: Extracted packet for processing {"connection_id":147700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc053"} 
[2026-08-02 08:07:20] local.INFO: GPS Element Parsed {"raw_longitude":749905984,"raw_latitude":125114296,"longitude_deg":74.9905984,"latitude_deg":12.5114296,"altitude":33,"angle":51,"satellites":42,"speed":3,"hex_longitude":"2cb2a840","hex_latitude":"077517b8","is_valid_coordinates":true} 
[2026-08-02 08:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123351808001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154454664839168,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573345244330129408,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785638097000,"timestamp_ms":1785638097000,"timestamp_seconds":1785638097,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0531068"} 
[2026-08-02 08:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 08:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123351808001,"66":28028,"241":206,"27":54016,"24":3,"16":367154454664839168,"44":-5573345244330129408},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123351808001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:07:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:07:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154454664839168,"km_value":367154454664839.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573345244330129408,"description":"Unknown IO ID 44"} 
[2026-08-02 08:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123351808001,"power":28028,"unknown_241":206,"unknown_27":54016,"ignition":3,"odometer":null,"unknown_44":-5573345244330129408}} 
[2026-08-02 08:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":147700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:07:20] local.INFO: GPS data processed {"connection_id":147700,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:07:20] local.INFO: Acknowledgment sent {"connection_id":147700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:07:42] local.INFO: TCP Data received {"connection_id":146463,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0551fc0012d7d31c005c0b098000e015913..."} 
[2026-08-02 08:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0551fc0012d7d31c005c0b098000e015913..."} 
[2026-08-02 08:07:42] local.INFO: Processing buffer {"connection_id":146463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0551fc0012d7d31c005c0b098000e015913..."} 
[2026-08-02 08:07:42] local.INFO: Packet analysis {"connection_id":146463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc055"} 
[2026-08-02 08:07:42] local.INFO: Extracted packet for processing {"connection_id":146463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc055"} 
[2026-08-02 08:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":96514200,"longitude_deg":76.3179456,"latitude_deg":9.65142,"altitude":14,"angle":345,"satellites":19,"speed":31,"hex_longitude":"2d7d31c0","hex_latitude":"05c0b098","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123384576001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113641136685318144,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023876671816384512,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785638232000,"timestamp_ms":1785638232000,"timestamp_seconds":1785638232,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0551fc0"} 
[2026-08-02 08:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:07: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-08-02 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-02 08:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123384576001,"66":13406,"10":206,"85":12288,"24":31,"16":113641136685318144,"45":9023876671816384512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-02 08:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123384576001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:07:42] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-02 08:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113641136685318144,"km_value":113641136685318.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023876671816384512,"description":"Unknown IO ID 45"} 
[2026-08-02 08:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123384576001,"power":13406,"unknown_10":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9023876671816384512}} 
[2026-08-02 08:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":146463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:07:42] local.INFO: GPS data processed {"connection_id":146463,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:07:42] local.INFO: Acknowledgment sent {"connection_id":146463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:07:47] local.INFO: TCP Data received {"connection_id":146685,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:07:47] local.INFO: Processing buffer {"connection_id":146685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:07:47] local.INFO: IMEI packet received {"connection_id":146685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":146685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:07:52] local.INFO: TCP Data received {"connection_id":146685,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:07:52] local.INFO: Processing buffer {"connection_id":146685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:07:52] local.INFO: IMEI packet received {"connection_id":146685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":146685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:07:53] local.INFO: TCP Data received {"connection_id":146685,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0532008012cb2a8c007751848002100282a..."} 
[2026-08-02 08:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0532008012cb2a8c007751848002100282a..."} 
[2026-08-02 08:07:53] local.INFO: Processing buffer {"connection_id":146685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0532008012cb2a8c007751848002100282a..."} 
[2026-08-02 08:07:53] local.INFO: Packet analysis {"connection_id":146685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc053"} 
[2026-08-02 08:07:53] local.INFO: Extracted packet for processing {"connection_id":146685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc053"} 
[2026-08-02 08:07:53] local.INFO: GPS Element Parsed {"raw_longitude":749906112,"raw_latitude":125114440,"longitude_deg":74.9906112,"latitude_deg":12.511444,"altitude":33,"angle":40,"satellites":42,"speed":1,"hex_longitude":"2cb2a8c0","hex_latitude":"07751848","is_valid_coordinates":true} 
[2026-08-02 08:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123352832001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573134138097551360,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785638101000,"timestamp_ms":1785638101000,"timestamp_seconds":1785638101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0532008"} 
[2026-08-02 08:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-02 08:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123352832001,"66":28050,"241":206,"27":54016,"24":1,"16":367154463254773760,"44":-5573134138097551360},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123352832001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:07:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:07:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:07:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573134138097551360,"description":"Unknown IO ID 44"} 
[2026-08-02 08:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123352832001,"power":28050,"unknown_241":206,"unknown_27":54016,"ignition":1,"odometer":null,"unknown_44":-5573134138097551360}} 
[2026-08-02 08:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":146685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:07:53] local.INFO: GPS data processed {"connection_id":146685,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:07:53] local.INFO: Acknowledgment sent {"connection_id":146685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:07:57] local.INFO: TCP Data received {"connection_id":146685,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0537210012cb2a8c0077518500021002829..."} 
[2026-08-02 08:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0537210012cb2a8c0077518500021002829..."} 
[2026-08-02 08:07:57] local.INFO: Processing buffer {"connection_id":146685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0537210012cb2a8c0077518500021002829..."} 
[2026-08-02 08:07:57] local.INFO: Packet analysis {"connection_id":146685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc053"} 
[2026-08-02 08:07:57] local.INFO: Extracted packet for processing {"connection_id":146685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc053"} 
[2026-08-02 08:07:57] local.INFO: GPS Element Parsed {"raw_longitude":749906112,"raw_latitude":125114448,"longitude_deg":74.9906112,"latitude_deg":12.5114448,"altitude":33,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2cb2a8c0","hex_latitude":"07751850","is_valid_coordinates":true} 
[2026-08-02 08:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123353856001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609159168,"note":"Value kept but may cause issues"} 
[2026-08-02 08:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785638122000,"timestamp_ms":1785638122000,"timestamp_seconds":1785638122,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0537210"} 
[2026-08-02 08:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-02 08:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123353856001,"66":27908,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609159168},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123353856001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:07:58] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:07:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:07:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609159168,"description":"Unknown IO ID 44"} 
[2026-08-02 08:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123353856001,"power":27908,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609159168}} 
[2026-08-02 08:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":146685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:07:58] local.INFO: GPS data processed {"connection_id":146685,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:07:58] local.INFO: Acknowledgment sent {"connection_id":146685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:08:05] local.INFO: TCP Data received {"connection_id":149012,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:08:05] local.INFO: Processing buffer {"connection_id":149012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:08:05] local.INFO: IMEI packet received {"connection_id":149012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":149012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:08:06] local.INFO: TCP Data received {"connection_id":149012,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:08:06] local.INFO: Processing buffer {"connection_id":149012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:08:06] local.INFO: IMEI packet received {"connection_id":149012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":149012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:08:10] local.INFO: TCP Data received {"connection_id":149012,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:08:10] local.INFO: Processing buffer {"connection_id":149012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:08:10] local.INFO: IMEI packet received {"connection_id":149012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":149012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:08:11] local.INFO: TCP Data received {"connection_id":149012,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05546d0012d7d29c005c0d4c0000e015b13..."} 
[2026-08-02 08:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05546d0012d7d29c005c0d4c0000e015b13..."} 
[2026-08-02 08:08:11] local.INFO: Processing buffer {"connection_id":149012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05546d0012d7d29c005c0d4c0000e015b13..."} 
[2026-08-02 08:08:11] local.INFO: Packet analysis {"connection_id":149012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc055"} 
[2026-08-02 08:08:11] local.INFO: Extracted packet for processing {"connection_id":149012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc055"} 
[2026-08-02 08:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763177408,"raw_latitude":96523456,"longitude_deg":76.3177408,"latitude_deg":9.6523456,"altitude":14,"angle":347,"satellites":19,"speed":40,"hex_longitude":"2d7d29c0","hex_latitude":"05c0d4c0","is_valid_coordinates":true} 
[2026-08-02 08:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123387392001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113641596246818816,"note":"Value kept but may cause issues"} 
[2026-08-02 08:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202659539982336,"note":"Value kept but may cause issues"} 
[2026-08-02 08:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785638242000,"timestamp_ms":1785638242000,"timestamp_seconds":1785638242,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05546d0"} 
[2026-08-02 08:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 08:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123387392001,"66":13493,"10":206,"85":12288,"24":40,"16":113641596246818816,"45":9021202659539982336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-02 08:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123387392001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:08:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-02 08:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113641596246818816,"km_value":113641596246818.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202659539982336,"description":"Unknown IO ID 45"} 
[2026-08-02 08:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123387392001,"power":13493,"unknown_10":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9021202659539982336}} 
[2026-08-02 08:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":149012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:08:11] local.INFO: GPS data processed {"connection_id":149012,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:08:11] local.INFO: Acknowledgment sent {"connection_id":149012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:08:42] local.INFO: TCP Data received {"connection_id":149012,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0555670012d7d26c005c0e4a0000d016713..."} 
[2026-08-02 08:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0555670012d7d26c005c0e4a0000d016713..."} 
[2026-08-02 08:08:42] local.INFO: Processing buffer {"connection_id":149012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0555670012d7d26c005c0e4a0000d016713..."} 
[2026-08-02 08:08:42] local.INFO: Packet analysis {"connection_id":149012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc055"} 
[2026-08-02 08:08:42] local.INFO: Extracted packet for processing {"connection_id":149012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc055"} 
[2026-08-02 08:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763176640,"raw_latitude":96527520,"longitude_deg":76.317664,"latitude_deg":9.652752,"altitude":13,"angle":359,"satellites":19,"speed":39,"hex_longitude":"2d7d26c0","hex_latitude":"05c0e4a0","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123389952001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113641798110281728,"note":"Value kept but may cause issues"} 
[2026-08-02 08:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018950859728666624,"note":"Value kept but may cause issues"} 
[2026-08-02 08:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785638246000,"timestamp_ms":1785638246000,"timestamp_seconds":1785638246,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0555670"} 
[2026-08-02 08:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 08:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123389952001,"66":13461,"10":206,"85":12288,"24":39,"16":113641798110281728,"45":9018950859728666624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-02 08:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123389952001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:08:42] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-02 08:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113641798110281728,"km_value":113641798110281.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018950859728666624,"description":"Unknown IO ID 45"} 
[2026-08-02 08:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123389952001,"power":13461,"unknown_10":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9018950859728666624}} 
[2026-08-02 08:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":149012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:08:42] local.INFO: GPS data processed {"connection_id":149012,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:08:42] local.INFO: Acknowledgment sent {"connection_id":149012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:08:43] local.INFO: TCP Data received {"connection_id":147701,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:08:43] local.INFO: Processing buffer {"connection_id":147701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:08:43] local.INFO: IMEI packet received {"connection_id":147701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":147701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:08:47] local.INFO: TCP Data received {"connection_id":147701,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:08:47] local.INFO: Processing buffer {"connection_id":147701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:08:47] local.INFO: IMEI packet received {"connection_id":147701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":147701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:08:48] local.INFO: TCP Data received {"connection_id":147701,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc053c418012cb2a8c007751850002100282a..."} 
[2026-08-02 08:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc053c418012cb2a8c007751850002100282a..."} 
[2026-08-02 08:08:48] local.INFO: Processing buffer {"connection_id":147701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc053c418012cb2a8c007751850002100282a..."} 
[2026-08-02 08:08:48] local.INFO: Packet analysis {"connection_id":147701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc053"} 
[2026-08-02 08:08:48] local.INFO: Extracted packet for processing {"connection_id":147701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc053"} 
[2026-08-02 08:08:48] local.INFO: GPS Element Parsed {"raw_longitude":749906112,"raw_latitude":125114448,"longitude_deg":74.9906112,"latitude_deg":12.5114448,"altitude":33,"angle":40,"satellites":42,"speed":0,"hex_longitude":"2cb2a8c0","hex_latitude":"07751850","is_valid_coordinates":true} 
[2026-08-02 08:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123359232001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:08:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785638143000,"timestamp_ms":1785638143000,"timestamp_seconds":1785638143,"priority":1,"record_length":96,"hex_timestamp":"0000019fc053c418"} 
[2026-08-02 08:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 08:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123359232001,"66":28050,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123359232001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:08:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:08:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:08:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123359232001,"power":28050,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":147701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:08:48] local.INFO: GPS data processed {"connection_id":147701,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:08:48] local.INFO: Acknowledgment sent {"connection_id":147701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:08:52] local.INFO: TCP Data received {"connection_id":147701,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0540298012cb2a8c0077518500021002828..."} 
[2026-08-02 08:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0540298012cb2a8c0077518500021002828..."} 
[2026-08-02 08:08:52] local.INFO: Processing buffer {"connection_id":147701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0540298012cb2a8c0077518500021002828..."} 
[2026-08-02 08:08:52] local.INFO: Packet analysis {"connection_id":147701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc054"} 
[2026-08-02 08:08:52] local.INFO: Extracted packet for processing {"connection_id":147701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc054"} 
[2026-08-02 08:08:52] local.INFO: GPS Element Parsed {"raw_longitude":749906112,"raw_latitude":125114448,"longitude_deg":74.9906112,"latitude_deg":12.5114448,"altitude":33,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2a8c0","hex_latitude":"07751850","is_valid_coordinates":true} 
[2026-08-02 08:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123364608001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:08:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785638159000,"timestamp_ms":1785638159000,"timestamp_seconds":1785638159,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0540298"} 
[2026-08-02 08:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-02 08:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123364608001,"66":27767,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123364608001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:08:52] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:08:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:08:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123364608001,"power":27767,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":147701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:08:52] local.INFO: GPS data processed {"connection_id":147701,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:08:52] local.INFO: Acknowledgment sent {"connection_id":147701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:09:05] local.INFO: TCP Data received {"connection_id":146464,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:09:05] local.INFO: Processing buffer {"connection_id":146464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:09:05] local.INFO: IMEI packet received {"connection_id":146464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":146464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:09:10] local.INFO: TCP Data received {"connection_id":146464,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:09:10] local.INFO: Processing buffer {"connection_id":146464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:09:10] local.INFO: IMEI packet received {"connection_id":146464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":146464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:09:11] local.INFO: TCP Data received {"connection_id":146464,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05594f0012d7d2a0005c103a8000b001014..."} 
[2026-08-02 08:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05594f0012d7d2a0005c103a8000b001014..."} 
[2026-08-02 08:09:11] local.INFO: Processing buffer {"connection_id":146464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05594f0012d7d2a0005c103a8000b001014..."} 
[2026-08-02 08:09:11] local.INFO: Packet analysis {"connection_id":146464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc055"} 
[2026-08-02 08:09:11] local.INFO: Extracted packet for processing {"connection_id":146464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc055"} 
[2026-08-02 08:09:11] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":96535464,"longitude_deg":76.3177472,"latitude_deg":9.6535464,"altitude":11,"angle":16,"satellites":20,"speed":5,"hex_longitude":"2d7d2a00","hex_latitude":"05c103a8","is_valid_coordinates":true} 
[2026-08-02 08:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123390976001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113642188952305664,"note":"Value kept but may cause issues"} 
[2026-08-02 08:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018106434799575040,"note":"Value kept but may cause issues"} 
[2026-08-02 08:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785638262000,"timestamp_ms":1785638262000,"timestamp_seconds":1785638262,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05594f0"} 
[2026-08-02 08:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-02 08:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123390976001,"66":12798,"9":206,"85":12288,"24":5,"16":113642188952305664,"45":9018106434799575040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-02 08:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123390976001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:09:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-02 08:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113642188952305664,"km_value":113642188952305.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018106434799575040,"description":"Unknown IO ID 45"} 
[2026-08-02 08:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123390976001,"power":12798,"unknown_9":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9018106434799575040}} 
[2026-08-02 08:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":146464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:09:11] local.INFO: GPS data processed {"connection_id":146464,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:09:11] local.INFO: Acknowledgment sent {"connection_id":146464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:09:24] local.INFO: TCP Data received {"connection_id":147701,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:09:24] local.INFO: Processing buffer {"connection_id":147701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:09:24] local.INFO: Packet analysis {"connection_id":147701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc054"} 
[2026-08-02 08:09:24] local.INFO: Extracted packet for processing {"connection_id":147701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc054"} 
[2026-08-02 08:09:24] local.INFO: GPS Element Parsed {"raw_longitude":749906112,"raw_latitude":125114448,"longitude_deg":74.9906112,"latitude_deg":12.5114448,"altitude":33,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2a8c0","hex_latitude":"07751850","is_valid_coordinates":true} 
[2026-08-02 08:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123368704001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:09:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785638164000,"timestamp_ms":1785638164000,"timestamp_seconds":1785638164,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0541620"} 
[2026-08-02 08:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 08:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123368704001,"66":26767,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123368704001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:09:24] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:09:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:09:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123368704001,"power":26767,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":147701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:09:24] local.INFO: GPS data processed {"connection_id":147701,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:09:24] local.INFO: Acknowledgment sent {"connection_id":147701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:09:42] local.INFO: TCP Data received {"connection_id":146686,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:09:42] local.INFO: Processing buffer {"connection_id":146686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:09:42] local.INFO: IMEI packet received {"connection_id":146686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":146686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:09:42] local.INFO: TCP Data received {"connection_id":146464,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc055a0a8012d7d2a4005c105d8000b016715..."} 
[2026-08-02 08:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc055a0a8012d7d2a4005c105d8000b016715..."} 
[2026-08-02 08:09:42] local.INFO: Processing buffer {"connection_id":146464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc055a0a8012d7d2a4005c105d8000b016715..."} 
[2026-08-02 08:09:42] local.INFO: Packet analysis {"connection_id":146464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc055"} 
[2026-08-02 08:09:42] local.INFO: Extracted packet for processing {"connection_id":146464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc055"} 
[2026-08-02 08:09:42] local.INFO: GPS Element Parsed {"raw_longitude":763177536,"raw_latitude":96536024,"longitude_deg":76.3177536,"latitude_deg":9.6536024,"altitude":11,"angle":359,"satellites":21,"speed":6,"hex_longitude":"2d7d2a40","hex_latitude":"05c105d8","is_valid_coordinates":true} 
[2026-08-02 08:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123395072001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113642214722109440,"note":"Value kept but may cause issues"} 
[2026-08-02 08:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019021228475918336,"note":"Value kept but may cause issues"} 
[2026-08-02 08:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785638265000,"timestamp_ms":1785638265000,"timestamp_seconds":1785638265,"priority":1,"record_length":96,"hex_timestamp":"0000019fc055a0a8"} 
[2026-08-02 08:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-02 08:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123395072001,"66":12906,"9":206,"85":12288,"24":6,"16":113642214722109440,"45":9019021228475918336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-02 08:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123395072001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:09:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-02 08:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113642214722109440,"km_value":113642214722109.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019021228475918336,"description":"Unknown IO ID 45"} 
[2026-08-02 08:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123395072001,"power":12906,"unknown_9":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9019021228475918336}} 
[2026-08-02 08:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":146464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:09:42] local.INFO: GPS data processed {"connection_id":146464,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:09:42] local.INFO: Acknowledgment sent {"connection_id":146464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:09:47] local.INFO: TCP Data received {"connection_id":146686,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:09:47] local.INFO: Processing buffer {"connection_id":146686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:09:47] local.INFO: IMEI packet received {"connection_id":146686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":146686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:09:48] local.INFO: TCP Data received {"connection_id":146686,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:09:48] local.INFO: Processing buffer {"connection_id":146686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:09:48] local.INFO: Packet analysis {"connection_id":146686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc054"} 
[2026-08-02 08:09:48] local.INFO: Extracted packet for processing {"connection_id":146686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc054"} 
[2026-08-02 08:09:48] local.INFO: GPS Element Parsed {"raw_longitude":749906112,"raw_latitude":125114448,"longitude_deg":74.9906112,"latitude_deg":12.5114448,"altitude":33,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2a8c0","hex_latitude":"07751850","is_valid_coordinates":true} 
[2026-08-02 08:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123368704001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:09:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785638164000,"timestamp_ms":1785638164000,"timestamp_seconds":1785638164,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0541620"} 
[2026-08-02 08:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 08:09: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-08-02 08:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123368704001,"66":26767,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123368704001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:09:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:09:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:09:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123368704001,"power":26767,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":146686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:09:48] local.INFO: GPS data processed {"connection_id":146686,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:09:48] local.INFO: Acknowledgment sent {"connection_id":146686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:10:10] local.INFO: TCP Data received {"connection_id":147702,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:10:10] local.INFO: Processing buffer {"connection_id":147702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:10:10] local.INFO: IMEI packet received {"connection_id":147702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":147702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:10:12] local.INFO: TCP Data received {"connection_id":147702,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:10:12] local.INFO: Processing buffer {"connection_id":147702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:10:12] local.INFO: IMEI packet received {"connection_id":147702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":147702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:10:13] local.INFO: TCP Data received {"connection_id":147702,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0575628012d7d398005c1cef00006000a1a..."} 
[2026-08-02 08:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0575628012d7d398005c1cef00006000a1a..."} 
[2026-08-02 08:10:13] local.INFO: Processing buffer {"connection_id":147702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0575628012d7d398005c1cef00006000a1a..."} 
[2026-08-02 08:10:13] local.INFO: Packet analysis {"connection_id":147702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc057"} 
[2026-08-02 08:10:13] local.INFO: Extracted packet for processing {"connection_id":147702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc057"} 
[2026-08-02 08:10:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":96587504,"longitude_deg":76.318144,"latitude_deg":9.6587504,"altitude":6,"angle":10,"satellites":26,"speed":14,"hex_longitude":"2d7d3980","hex_latitude":"05c1cef0","is_valid_coordinates":true} 
[2026-08-02 08:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123422720001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113644727277977600,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090627452928,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785638377000,"timestamp_ms":1785638377000,"timestamp_seconds":1785638377,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0575628"} 
[2026-08-02 08:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-02 08:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123422720001,"66":13363,"9":206,"85":12288,"24":14,"16":113644727277977600,"45":9023384090627452928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-02 08:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123422720001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:10:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-02 08:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113644727277977600,"km_value":113644727277977.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090627452928,"description":"Unknown IO ID 45"} 
[2026-08-02 08:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123422720001,"power":13363,"unknown_9":206,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":9023384090627452928}} 
[2026-08-02 08:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":147702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:10:13] local.INFO: GPS data processed {"connection_id":147702,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:10:13] local.INFO: Acknowledgment sent {"connection_id":147702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:10:13] local.INFO: TCP Data received {"connection_id":147702,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0578cd8012d7d3bc005c1ee90000a01671a..."} 
[2026-08-02 08:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0578cd8012d7d3bc005c1ee90000a01671a..."} 
[2026-08-02 08:10:13] local.INFO: Processing buffer {"connection_id":147702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0578cd8012d7d3bc005c1ee90000a01671a..."} 
[2026-08-02 08:10:13] local.INFO: Packet analysis {"connection_id":147702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc057"} 
[2026-08-02 08:10:13] local.INFO: Extracted packet for processing {"connection_id":147702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc057"} 
[2026-08-02 08:10:13] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":96595600,"longitude_deg":76.3182016,"latitude_deg":9.65956,"altitude":10,"angle":359,"satellites":26,"speed":12,"hex_longitude":"2d7d3bc0","hex_latitude":"05c1ee90","is_valid_coordinates":true} 
[2026-08-02 08:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123424512001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113645122414968832,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090628255744,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785638391000,"timestamp_ms":1785638391000,"timestamp_seconds":1785638391,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0578cd8"} 
[2026-08-02 08:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 08:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123424512001,"66":13319,"9":206,"85":12288,"24":12,"16":113645122414968832,"45":9023384090628255744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-02 08:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123424512001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:10:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-02 08:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113645122414968832,"km_value":113645122414968.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090628255744,"description":"Unknown IO ID 45"} 
[2026-08-02 08:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123424512001,"power":13319,"unknown_9":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9023384090628255744}} 
[2026-08-02 08:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":147702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:10:13] local.INFO: GPS data processed {"connection_id":147702,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:10:13] local.INFO: Acknowledgment sent {"connection_id":147702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:10:19] local.INFO: TCP Data received {"connection_id":146686,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:10:19] local.INFO: Processing buffer {"connection_id":146686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:10:19] local.INFO: Packet analysis {"connection_id":146686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc054"} 
[2026-08-02 08:10:19] local.INFO: Extracted packet for processing {"connection_id":146686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc054"} 
[2026-08-02 08:10:19] local.INFO: GPS Element Parsed {"raw_longitude":749906112,"raw_latitude":125114448,"longitude_deg":74.9906112,"latitude_deg":12.5114448,"altitude":33,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2a8c0","hex_latitude":"07751850","is_valid_coordinates":true} 
[2026-08-02 08:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123368704001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785638164000,"timestamp_ms":1785638164000,"timestamp_seconds":1785638164,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0541620"} 
[2026-08-02 08:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 08:10: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-08-02 08:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123368704001,"66":26767,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123368704001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:10:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:10:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:10:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123368704001,"power":26767,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":146686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:10:19] local.INFO: GPS data processed {"connection_id":146686,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:10:19] local.INFO: Acknowledgment sent {"connection_id":146686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:10:41] local.INFO: TCP Data received {"connection_id":149013,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:10:41] local.INFO: Processing buffer {"connection_id":149013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:10:41] local.INFO: IMEI packet received {"connection_id":149013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":149013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:10:44] local.INFO: TCP Data received {"connection_id":147702,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc057daf8012d7d3b4005c1efd0000a01651b..."} 
[2026-08-02 08:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc057daf8012d7d3b4005c1efd0000a01651b..."} 
[2026-08-02 08:10:44] local.INFO: Processing buffer {"connection_id":147702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc057daf8012d7d3b4005c1efd0000a01651b..."} 
[2026-08-02 08:10:44] local.INFO: Packet analysis {"connection_id":147702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc057"} 
[2026-08-02 08:10:44] local.INFO: Extracted packet for processing {"connection_id":147702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc057"} 
[2026-08-02 08:10:44] local.INFO: GPS Element Parsed {"raw_longitude":763181888,"raw_latitude":96595920,"longitude_deg":76.3181888,"latitude_deg":9.659592,"altitude":10,"angle":357,"satellites":27,"speed":0,"hex_longitude":"2d7d3b40","hex_latitude":"05c1efd0","is_valid_coordinates":true} 
[2026-08-02 08:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123428096001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113645148184772608,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409327927296,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785638411000,"timestamp_ms":1785638411000,"timestamp_seconds":1785638411,"priority":1,"record_length":96,"hex_timestamp":"0000019fc057daf8"} 
[2026-08-02 08:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 08:10:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3226910160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:44] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-6458160570763755515,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:44] local.WARNING: Large IO value detected {"io_id":190,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:44] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3873095718193601024,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2802385102,"corrected_to":0} 
[2026-08-02 08:10:44] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3185639424,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3242670080,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:44] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57886027335750960,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:44] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,9,85,24,241,157,16,191,159,86,45,128,206,6,26,10,66,58,194,27,192,1,240,138,227,190,193,4,113,205,44,209,49,152,25,239,52,2,147,5,220],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2802385102,"validated":0}]} 
[2026-08-02 08:10:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720970776723587072,"timestamp_seconds":720970776723587.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 08:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123428096001,"66":13472,"9":206,"85":12288,"24":0,"16":113645148184772608,"45":9024017409327927296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-02 08:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123428096001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:10:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-02 08:10:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113645148184772608,"km_value":113645148184772.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409327927296,"description":"Unknown IO ID 45"} 
[2026-08-02 08:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123428096001,"power":13472,"unknown_9":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9024017409327927296}} 
[2026-08-02 08:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":147702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:10:44] local.INFO: GPS data processed {"connection_id":147702,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:10:44] local.INFO: Acknowledgment sent {"connection_id":147702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:10:48] local.INFO: TCP Data received {"connection_id":149013,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:10:48] local.INFO: Processing buffer {"connection_id":149013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:10:48] local.INFO: IMEI packet received {"connection_id":149013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":149013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:10:49] local.INFO: TCP Data received {"connection_id":149013,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:10:49] local.INFO: Processing buffer {"connection_id":149013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:10:49] local.INFO: Packet analysis {"connection_id":149013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc054"} 
[2026-08-02 08:10:49] local.INFO: Extracted packet for processing {"connection_id":149013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc054"} 
[2026-08-02 08:10:49] local.INFO: GPS Element Parsed {"raw_longitude":749906112,"raw_latitude":125114448,"longitude_deg":74.9906112,"latitude_deg":12.5114448,"altitude":33,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2a8c0","hex_latitude":"07751850","is_valid_coordinates":true} 
[2026-08-02 08:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123368704001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785638164000,"timestamp_ms":1785638164000,"timestamp_seconds":1785638164,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0541620"} 
[2026-08-02 08:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 08:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123368704001,"66":26767,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123368704001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:10:49] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:10:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:10:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123368704001,"power":26767,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":149013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:10:49] local.INFO: GPS data processed {"connection_id":149013,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:10:49] local.INFO: Acknowledgment sent {"connection_id":149013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:11:03] local.INFO: TCP Data received {"connection_id":146465,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:11:03] local.INFO: Processing buffer {"connection_id":146465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:11:03] local.INFO: IMEI packet received {"connection_id":146465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":146465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:11:05] local.INFO: TCP Data received {"connection_id":146465,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:11:05] local.INFO: Processing buffer {"connection_id":146465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:11:05] local.INFO: IMEI packet received {"connection_id":146465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":146465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:11:10] local.INFO: TCP Data received {"connection_id":146465,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:11:10] local.INFO: Processing buffer {"connection_id":146465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:11:10] local.INFO: IMEI packet received {"connection_id":146465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":146465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:11:12] local.INFO: TCP Data received {"connection_id":146465,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc057dee0012d7d3b0005c1f0a8000b000b1b..."} 
[2026-08-02 08:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc057dee0012d7d3b0005c1f0a8000b000b1b..."} 
[2026-08-02 08:11:12] local.INFO: Processing buffer {"connection_id":146465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc057dee0012d7d3b0005c1f0a8000b000b1b..."} 
[2026-08-02 08:11:12] local.INFO: Packet analysis {"connection_id":146465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc057"} 
[2026-08-02 08:11:12] local.INFO: Extracted packet for processing {"connection_id":146465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc057"} 
[2026-08-02 08:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":96596136,"longitude_deg":76.3181824,"latitude_deg":9.6596136,"altitude":11,"angle":11,"satellites":27,"speed":3,"hex_longitude":"2d7d3b00","hex_latitude":"05c1f0a8","is_valid_coordinates":true} 
[2026-08-02 08:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123433216001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113645161069674496,"note":"Value kept but may cause issues"} 
[2026-08-02 08:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023876671839653888,"note":"Value kept but may cause issues"} 
[2026-08-02 08:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785638412000,"timestamp_ms":1785638412000,"timestamp_seconds":1785638412,"priority":1,"record_length":96,"hex_timestamp":"0000019fc057dee0"} 
[2026-08-02 08:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 08:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123433216001,"66":13341,"9":206,"85":12288,"24":3,"16":113645161069674496,"45":9023876671839653888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-02 08:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123433216001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:11:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-02 08:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113645161069674496,"km_value":113645161069674.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023876671839653888,"description":"Unknown IO ID 45"} 
[2026-08-02 08:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123433216001,"power":13341,"unknown_9":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":9023876671839653888}} 
[2026-08-02 08:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":146465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:11:12] local.INFO: GPS data processed {"connection_id":146465,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:11:12] local.INFO: Acknowledgment sent {"connection_id":146465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:11:20] local.INFO: TCP Data received {"connection_id":149013,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:11:20] local.INFO: Processing buffer {"connection_id":149013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0541620012cb2a8c0077518500021002828..."} 
[2026-08-02 08:11:20] local.INFO: Packet analysis {"connection_id":149013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc054"} 
[2026-08-02 08:11:20] local.INFO: Extracted packet for processing {"connection_id":149013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc054"} 
[2026-08-02 08:11:20] local.INFO: GPS Element Parsed {"raw_longitude":749906112,"raw_latitude":125114448,"longitude_deg":74.9906112,"latitude_deg":12.5114448,"altitude":33,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2a8c0","hex_latitude":"07751850","is_valid_coordinates":true} 
[2026-08-02 08:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123368704001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:11:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785638164000,"timestamp_ms":1785638164000,"timestamp_seconds":1785638164,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0541620"} 
[2026-08-02 08:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 08:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123368704001,"66":26767,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123368704001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:11:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:11:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:11:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123368704001,"power":26767,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":149013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:11:20] local.INFO: GPS data processed {"connection_id":149013,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:11:20] local.INFO: Acknowledgment sent {"connection_id":149013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:11:41] local.INFO: TCP Data received {"connection_id":146466,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:11:41] local.INFO: Processing buffer {"connection_id":146466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:11:41] local.INFO: IMEI packet received {"connection_id":146466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":146466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:11:43] local.INFO: TCP Data received {"connection_id":146466,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:11:43] local.INFO: Processing buffer {"connection_id":146466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:11:43] local.INFO: IMEI packet received {"connection_id":146466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":146466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:11:44] local.INFO: TCP Data received {"connection_id":146465,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0582530012d7d3f0005c21450000800041b..."} 
[2026-08-02 08:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0582530012d7d3f0005c21450000800041b..."} 
[2026-08-02 08:11:44] local.INFO: Processing buffer {"connection_id":146465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0582530012d7d3f0005c21450000800041b..."} 
[2026-08-02 08:11:44] local.INFO: Packet analysis {"connection_id":146465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:11:44] local.INFO: Extracted packet for processing {"connection_id":146465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:11:44] local.INFO: GPS Element Parsed {"raw_longitude":763182848,"raw_latitude":96605264,"longitude_deg":76.3182848,"latitude_deg":9.6605264,"altitude":8,"angle":4,"satellites":27,"speed":35,"hex_longitude":"2d7d3f00","hex_latitude":"05c21450","is_valid_coordinates":true} 
[2026-08-02 08:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123433472001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113645607746273280,"note":"Value kept but may cause issues"} 
[2026-08-02 08:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303095531520,"note":"Value kept but may cause issues"} 
[2026-08-02 08:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785638430000,"timestamp_ms":1785638430000,"timestamp_seconds":1785638430,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0582530"} 
[2026-08-02 08:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-02 08:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123433472001,"66":13580,"9":206,"85":12288,"24":35,"16":113645607746273280,"45":9023806303095531520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-02 08:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123433472001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:11:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-02 08:11:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113645607746273280,"km_value":113645607746273.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303095531520,"description":"Unknown IO ID 45"} 
[2026-08-02 08:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123433472001,"power":13580,"unknown_9":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9023806303095531520}} 
[2026-08-02 08:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":146465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:11:44] local.INFO: GPS data processed {"connection_id":146465,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:11:44] local.INFO: Acknowledgment sent {"connection_id":146465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:11:47] local.INFO: TCP Data received {"connection_id":146466,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:11:47] local.INFO: Processing buffer {"connection_id":146466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:11:47] local.INFO: IMEI packet received {"connection_id":146466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":146466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:11:48] local.INFO: TCP Data received {"connection_id":146466,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:11:48] local.INFO: Processing buffer {"connection_id":146466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:11:48] local.INFO: Packet analysis {"connection_id":146466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:11:48] local.INFO: Extracted packet for processing {"connection_id":146466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:11:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123369984001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:11:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785638465000,"timestamp_ms":1785638465000,"timestamp_seconds":1785638465,"priority":1,"record_length":96,"hex_timestamp":"0000019fc058ade8"} 
[2026-08-02 08:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-02 08:11:48] 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-08-02 08:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123369984001,"66":26289,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123369984001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:11:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:11:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:11:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123369984001,"power":26289,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":146466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:11:48] local.INFO: GPS data processed {"connection_id":146466,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:11:48] local.INFO: Acknowledgment sent {"connection_id":146466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:12:05] local.INFO: TCP Data received {"connection_id":146467,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:12:05] local.INFO: Processing buffer {"connection_id":146467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:12:05] local.INFO: IMEI packet received {"connection_id":146467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":146467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:12:07] local.INFO: TCP Data received {"connection_id":146467,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:12:07] local.INFO: Processing buffer {"connection_id":146467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:12:07] local.INFO: IMEI packet received {"connection_id":146467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":146467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:12:10] local.INFO: TCP Data received {"connection_id":146467,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:12:10] local.INFO: Processing buffer {"connection_id":146467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:12:10] local.INFO: IMEI packet received {"connection_id":146467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":146467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:12:10] local.INFO: TCP Data received {"connection_id":146467,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0584858012d7d408005c22c000006015e1b..."} 
[2026-08-02 08:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0584858012d7d408005c22c000006015e1b..."} 
[2026-08-02 08:12:10] local.INFO: Processing buffer {"connection_id":146467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0584858012d7d408005c22c000006015e1b..."} 
[2026-08-02 08:12:10] local.INFO: Packet analysis {"connection_id":146467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:12:10] local.INFO: Extracted packet for processing {"connection_id":146467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":96611328,"longitude_deg":76.3183232,"latitude_deg":9.6611328,"altitude":6,"angle":350,"satellites":27,"speed":10,"hex_longitude":"2d7d4080","hex_latitude":"05c22c00","is_valid_coordinates":true} 
[2026-08-02 08:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123438080001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113645904099016704,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203004710912,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785638439000,"timestamp_ms":1785638439000,"timestamp_seconds":1785638439,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0584858"} 
[2026-08-02 08:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616958,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3226934160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":191,"raw_value":2734686208,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7800588597349842944,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3471835142,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635115786512137,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2802385102,"corrected_to":0} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3489738109,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2147860930,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3206807552,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3248449536,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3819058812540682249,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917302910346801579,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755588419748081,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:10] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,9,85,24,241,157,16,192,159,222,45,240,11,27,10,66,191,218,64,239,140,1,7,227,193,4,113,205,14,58,57,176,26,51,2,147,5,47,125,52,48],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2802385102,"validated":0}]} 
[2026-08-02 08:12:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576465266316345344,"timestamp_seconds":576465266316345.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 08:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:12: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-08-02 08:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123438080001,"66":12809,"9":206,"85":12288,"24":10,"16":113645904099016704,"45":9024932203004710912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-02 08:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123438080001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:12:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-02 08:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113645904099016704,"km_value":113645904099016.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203004710912,"description":"Unknown IO ID 45"} 
[2026-08-02 08:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123438080001,"power":12809,"unknown_9":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9024932203004710912}} 
[2026-08-02 08:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":146467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:12:11] local.INFO: GPS data processed {"connection_id":146467,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:12:11] local.INFO: Acknowledgment sent {"connection_id":146467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:12:15] local.INFO: TCP Data received {"connection_id":146467,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0587350012d7d408005c22fb0000700061b..."} 
[2026-08-02 08:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0587350012d7d408005c22fb0000700061b..."} 
[2026-08-02 08:12:15] local.INFO: Processing buffer {"connection_id":146467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0587350012d7d408005c22fb0000700061b..."} 
[2026-08-02 08:12:15] local.INFO: Packet analysis {"connection_id":146467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:12:15] local.INFO: Extracted packet for processing {"connection_id":146467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:12:15] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":96612272,"longitude_deg":76.3183232,"latitude_deg":9.6612272,"altitude":7,"angle":6,"satellites":27,"speed":13,"hex_longitude":"2d7d4080","hex_latitude":"05c22fb0","is_valid_coordinates":true} 
[2026-08-02 08:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123440384001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113645951343656960,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354415471329280,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785638450000,"timestamp_ms":1785638450000,"timestamp_seconds":1785638450,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0587350"} 
[2026-08-02 08:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3386706919950386176,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":192,"raw_value":6276768840403466432,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3226942160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":191,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":193,"raw_value":4002414602,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2802385102,"corrected_to":0} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2147860942,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3209101312,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4494759553765735398,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":51,"raw_value":4900142511873379925,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755554060009713,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:15] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,9,85,24,241,157,16,192,159,37,45,20,8,27,10,66,222,240,11,191,218,64,1,160,227,193,4,113,205,12,86,57,26,239,52,2,147,5,6,36,51,48],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2802385102,"validated":0}]} 
[2026-08-02 08:12:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432730509262061568,"timestamp_seconds":432730509262061.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 08:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:12: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-08-02 08:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123440384001,"66":13450,"9":206,"85":12288,"24":13,"16":113645951343656960,"45":9025354415471329280},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-02 08:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123440384001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:12:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-02 08:12:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113645951343656960,"km_value":113645951343656.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354415471329280,"description":"Unknown IO ID 45"} 
[2026-08-02 08:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123440384001,"power":13450,"unknown_9":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":9025354415471329280}} 
[2026-08-02 08:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":146467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:12:15] local.INFO: GPS data processed {"connection_id":146467,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:12:15] local.INFO: Acknowledgment sent {"connection_id":146467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:12:20] local.INFO: TCP Data received {"connection_id":146466,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:12:20] local.INFO: Processing buffer {"connection_id":146466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:12:20] local.INFO: Packet analysis {"connection_id":146466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:12:20] local.INFO: Extracted packet for processing {"connection_id":146466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:12:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123369984001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785638465000,"timestamp_ms":1785638465000,"timestamp_seconds":1785638465,"priority":1,"record_length":96,"hex_timestamp":"0000019fc058ade8"} 
[2026-08-02 08:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-02 08:12:20] 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-08-02 08:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123369984001,"66":26289,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123369984001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:12:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:12:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123369984001,"power":26289,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":146466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:12:20] local.INFO: GPS data processed {"connection_id":146466,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:12:20] local.INFO: Acknowledgment sent {"connection_id":146466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:12:46] local.INFO: TCP Data received {"connection_id":146467,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc058a230012d7d440005c25330000600061b..."} 
[2026-08-02 08:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc058a230012d7d440005c25330000600061b..."} 
[2026-08-02 08:12:46] local.INFO: Processing buffer {"connection_id":146467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc058a230012d7d440005c25330000600061b..."} 
[2026-08-02 08:12:46] local.INFO: Packet analysis {"connection_id":146467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:12:46] local.INFO: Extracted packet for processing {"connection_id":146467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:12:46] local.INFO: GPS Element Parsed {"raw_longitude":763184128,"raw_latitude":96621360,"longitude_deg":76.3184128,"latitude_deg":9.662136,"altitude":6,"angle":6,"satellites":27,"speed":41,"hex_longitude":"2d7d4400","hex_latitude":"05c25330","is_valid_coordinates":true} 
[2026-08-02 08:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123443200001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113646393725288448,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354415471570944,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785638462000,"timestamp_ms":1785638462000,"timestamp_seconds":1785638462,"priority":1,"record_length":96,"hex_timestamp":"0000019fc058a230"} 
[2026-08-02 08:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 08:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123443200001,"66":13472,"9":206,"85":12288,"24":41,"16":113646393725288448,"45":9025354415471570944},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-02 08:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123443200001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:12:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-02 08:12:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113646393725288448,"km_value":113646393725288.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354415471570944,"description":"Unknown IO ID 45"} 
[2026-08-02 08:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123443200001,"power":13472,"unknown_9":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9025354415471570944}} 
[2026-08-02 08:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":146467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:12:46] local.INFO: GPS data processed {"connection_id":146467,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:12:46] local.INFO: Acknowledgment sent {"connection_id":146467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:12:47] local.INFO: TCP Data received {"connection_id":149014,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:12:47] local.INFO: Processing buffer {"connection_id":149014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:12:47] local.INFO: IMEI packet received {"connection_id":149014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":149014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:12:51] local.INFO: TCP Data received {"connection_id":149014,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:12:51] local.INFO: Processing buffer {"connection_id":149014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:12:51] local.INFO: IMEI packet received {"connection_id":149014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":149014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:12:53] local.INFO: TCP Data received {"connection_id":149014,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:12:53] local.INFO: Processing buffer {"connection_id":149014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:12:53] local.INFO: Packet analysis {"connection_id":149014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:12:53] local.INFO: Extracted packet for processing {"connection_id":149014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:12:53] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123369984001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785638465000,"timestamp_ms":1785638465000,"timestamp_seconds":1785638465,"priority":1,"record_length":96,"hex_timestamp":"0000019fc058ade8"} 
[2026-08-02 08:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-02 08:12:53] 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-08-02 08:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123369984001,"66":26289,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123369984001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:12:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:12:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:12:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123369984001,"power":26289,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":149014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:12:53] local.INFO: GPS data processed {"connection_id":149014,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:12:53] local.INFO: Acknowledgment sent {"connection_id":149014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:12:58] local.INFO: TCP Data received {"connection_id":149014,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:12:58] local.INFO: Processing buffer {"connection_id":149014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:12:58] local.INFO: Packet analysis {"connection_id":149014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:12:58] local.INFO: Extracted packet for processing {"connection_id":149014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:12:58] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123369984001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785638465000,"timestamp_ms":1785638465000,"timestamp_seconds":1785638465,"priority":1,"record_length":96,"hex_timestamp":"0000019fc058ade8"} 
[2026-08-02 08:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-02 08:12:58] 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-08-02 08:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123369984001,"66":26289,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123369984001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:12:58] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:12:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:12:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123369984001,"power":26289,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":149014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:12:58] local.INFO: GPS data processed {"connection_id":149014,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:12:58] local.INFO: Acknowledgment sent {"connection_id":149014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:13:21] local.INFO: TCP Data received {"connection_id":146687,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:13:21] local.INFO: Processing buffer {"connection_id":146687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:13:21] local.INFO: IMEI packet received {"connection_id":146687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":146687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:13:21] local.INFO: TCP Data received {"connection_id":146687,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:13:21] local.INFO: Processing buffer {"connection_id":146687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:13:21] local.INFO: IMEI packet received {"connection_id":146687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":146687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:13:22] local.INFO: TCP Data received {"connection_id":146687,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05a1d18012d7d4a0005c377f0000a00021a..."} 
[2026-08-02 08:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05a1d18012d7d4a0005c377f0000a00021a..."} 
[2026-08-02 08:13:22] local.INFO: Processing buffer {"connection_id":146687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05a1d18012d7d4a0005c377f0000a00021a..."} 
[2026-08-02 08:13:22] local.INFO: Packet analysis {"connection_id":146687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05a"} 
[2026-08-02 08:13:22] local.INFO: Extracted packet for processing {"connection_id":146687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05a"} 
[2026-08-02 08:13:22] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":96696304,"longitude_deg":76.3185664,"latitude_deg":9.6696304,"altitude":10,"angle":2,"satellites":26,"speed":41,"hex_longitude":"2d7d4a00","hex_latitude":"05c377f0","is_valid_coordinates":true} 
[2026-08-02 08:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123471104001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113650078807228416,"note":"Value kept but may cause issues"} 
[2026-08-02 08:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427771834368,"note":"Value kept but may cause issues"} 
[2026-08-02 08:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785638559000,"timestamp_ms":1785638559000,"timestamp_seconds":1785638559,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05a1d18"} 
[2026-08-02 08:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 08:13: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-08-02 08:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123471104001,"66":13363,"104":206,"85":12288,"24":41,"16":113650078807228416,"45":9028028427771834368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-02 08:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123471104001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:13:22] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 08:13:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113650078807228416,"km_value":113650078807228.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427771834368,"description":"Unknown IO ID 45"} 
[2026-08-02 08:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123471104001,"power":13363,"unknown_104":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9028028427771834368}} 
[2026-08-02 08:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":146687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:13:22] local.INFO: GPS data processed {"connection_id":146687,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:13:22] local.INFO: Acknowledgment sent {"connection_id":146687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:13:26] local.INFO: TCP Data received {"connection_id":146687,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05a3c58012d7d4a4005c39d50000c01651a..."} 
[2026-08-02 08:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05a3c58012d7d4a4005c39d50000c01651a..."} 
[2026-08-02 08:13:26] local.INFO: Processing buffer {"connection_id":146687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05a3c58012d7d4a4005c39d50000c01651a..."} 
[2026-08-02 08:13:26] local.INFO: Packet analysis {"connection_id":146687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05a"} 
[2026-08-02 08:13:26] local.INFO: Extracted packet for processing {"connection_id":146687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05a"} 
[2026-08-02 08:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":96705872,"longitude_deg":76.3185728,"latitude_deg":9.6705872,"altitude":12,"angle":357,"satellites":26,"speed":49,"hex_longitude":"2d7d4a40","hex_latitude":"05c39d50","is_valid_coordinates":true} 
[2026-08-02 08:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123471104001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113650542663696384,"note":"Value kept but may cause issues"} 
[2026-08-02 08:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427771834368,"note":"Value kept but may cause issues"} 
[2026-08-02 08:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785638567000,"timestamp_ms":1785638567000,"timestamp_seconds":1785638567,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05a3c58"} 
[2026-08-02 08:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 08:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123471104001,"66":12982,"104":206,"85":12288,"24":49,"16":113650542663696384,"45":9028028427771834368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-02 08:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123471104001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:13:26] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 08:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113650542663696384,"km_value":113650542663696.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427771834368,"description":"Unknown IO ID 45"} 
[2026-08-02 08:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123471104001,"power":12982,"unknown_104":206,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":9028028427771834368}} 
[2026-08-02 08:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":146687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:13:26] local.INFO: GPS data processed {"connection_id":146687,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:13:26] local.INFO: Acknowledgment sent {"connection_id":146687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:13:42] local.INFO: TCP Data received {"connection_id":149015,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:13:42] local.INFO: Processing buffer {"connection_id":149015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:13:42] local.INFO: IMEI packet received {"connection_id":149015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":149015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:13:47] local.INFO: TCP Data received {"connection_id":149015,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:13:47] local.INFO: Processing buffer {"connection_id":149015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:13:47] local.INFO: IMEI packet received {"connection_id":149015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":149015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:13:48] local.INFO: TCP Data received {"connection_id":149015,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:13:48] local.INFO: Processing buffer {"connection_id":149015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:13:48] local.INFO: Packet analysis {"connection_id":149015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:13:48] local.INFO: Extracted packet for processing {"connection_id":149015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:13:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123369984001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:13:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785638465000,"timestamp_ms":1785638465000,"timestamp_seconds":1785638465,"priority":1,"record_length":96,"hex_timestamp":"0000019fc058ade8"} 
[2026-08-02 08:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-02 08:13:48] 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-08-02 08:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123369984001,"66":26289,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123369984001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:13:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:13:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:13:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123369984001,"power":26289,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":149015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:13:48] local.INFO: GPS data processed {"connection_id":149015,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:13:48] local.INFO: Acknowledgment sent {"connection_id":149015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:14:05] local.INFO: TCP Data received {"connection_id":149016,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:14:05] local.INFO: Processing buffer {"connection_id":149016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:14:05] local.INFO: IMEI packet received {"connection_id":149016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":149016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:14:07] local.INFO: TCP Data received {"connection_id":149016,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:14:07] local.INFO: Processing buffer {"connection_id":149016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:14:07] local.INFO: IMEI packet received {"connection_id":149016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":149016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:14:10] local.INFO: TCP Data received {"connection_id":149016,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:14:10] local.INFO: Processing buffer {"connection_id":149016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:14:10] local.INFO: IMEI packet received {"connection_id":149016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":149016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:14:11] local.INFO: TCP Data received {"connection_id":149016,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05a57b0012d7d478005c3c1c0000c015f1a..."} 
[2026-08-02 08:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05a57b0012d7d478005c3c1c0000c015f1a..."} 
[2026-08-02 08:14:11] local.INFO: Processing buffer {"connection_id":149016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05a57b0012d7d478005c3c1c0000c015f1a..."} 
[2026-08-02 08:14:11] local.INFO: Packet analysis {"connection_id":149016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05a"} 
[2026-08-02 08:14:11] local.INFO: Extracted packet for processing {"connection_id":149016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05a"} 
[2026-08-02 08:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763185024,"raw_latitude":96715200,"longitude_deg":76.3185024,"latitude_deg":9.67152,"altitude":12,"angle":351,"satellites":26,"speed":52,"hex_longitude":"2d7d4780","hex_latitude":"05c3c1c0","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123473152001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113650997930229760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796518461440,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785638574000,"timestamp_ms":1785638574000,"timestamp_seconds":1785638574,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05a57b0"} 
[2026-08-02 08:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-02 08:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123473152001,"66":13222,"104":206,"85":12288,"24":52,"16":113650997930229760,"45":9028098796518461440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-02 08:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123473152001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:14:11] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 08:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113650997930229760,"km_value":113650997930229.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796518461440,"description":"Unknown IO ID 45"} 
[2026-08-02 08:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123473152001,"power":13222,"unknown_104":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":9028098796518461440}} 
[2026-08-02 08:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":149016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:14:11] local.INFO: GPS data processed {"connection_id":149016,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:14:11] local.INFO: Acknowledgment sent {"connection_id":149016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:14:12] local.INFO: TCP Data received {"connection_id":149016,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05a76f0012d7d400005c3e790000b015e1a..."} 
[2026-08-02 08:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05a76f0012d7d400005c3e790000b015e1a..."} 
[2026-08-02 08:14:12] local.INFO: Processing buffer {"connection_id":149016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05a76f0012d7d400005c3e790000b015e1a..."} 
[2026-08-02 08:14:12] local.INFO: Packet analysis {"connection_id":149016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05a"} 
[2026-08-02 08:14:12] local.INFO: Extracted packet for processing {"connection_id":149016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05a"} 
[2026-08-02 08:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":96724880,"longitude_deg":76.3183104,"latitude_deg":9.672488,"altitude":11,"angle":350,"satellites":26,"speed":50,"hex_longitude":"2d7d4000","hex_latitude":"05c3e790","is_valid_coordinates":true} 
[2026-08-02 08:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123474944001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113651474671599616,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027324740334895104,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785638582000,"timestamp_ms":1785638582000,"timestamp_seconds":1785638582,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05a76f0"} 
[2026-08-02 08:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":166,"data_length":795,"current_offset":136} 
[2026-08-02 08:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":149016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":149016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":149016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123474944001,"66":13493,"104":206,"85":12288,"24":50,"16":113651474671599616,"45":9027324740334895104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-02 08:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123474944001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:14:12] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 08:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113651474671599616,"km_value":113651474671599.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027324740334895104,"description":"Unknown IO ID 45"} 
[2026-08-02 08:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123474944001,"power":13493,"unknown_104":206,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":9027324740334895104}} 
[2026-08-02 08:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":149016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:14:12] local.INFO: GPS data processed {"connection_id":149016,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:14:12] local.INFO: Acknowledgment sent {"connection_id":149016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:14:20] local.INFO: TCP Data received {"connection_id":149015,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:14:20] local.INFO: Processing buffer {"connection_id":149015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:14:20] local.INFO: Packet analysis {"connection_id":149015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:14:20] local.INFO: Extracted packet for processing {"connection_id":149015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:14:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123369984001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785638465000,"timestamp_ms":1785638465000,"timestamp_seconds":1785638465,"priority":1,"record_length":96,"hex_timestamp":"0000019fc058ade8"} 
[2026-08-02 08:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-02 08:14:20] 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-08-02 08:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123369984001,"66":26289,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123369984001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:14:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:14:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123369984001,"power":26289,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":149015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:14:20] local.INFO: GPS data processed {"connection_id":149015,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:14:20] local.INFO: Acknowledgment sent {"connection_id":149015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:14:42] local.INFO: TCP Data received {"connection_id":149017,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:14:42] local.INFO: Processing buffer {"connection_id":149017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:14:42] local.INFO: IMEI packet received {"connection_id":149017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":149017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:14:47] local.INFO: TCP Data received {"connection_id":149016,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05bc6e0012d7d460005c520c0000a01641a..."} 
[2026-08-02 08:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05bc6e0012d7d460005c520c0000a01641a..."} 
[2026-08-02 08:14:47] local.INFO: Processing buffer {"connection_id":149016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05bc6e0012d7d460005c520c0000a01641a..."} 
[2026-08-02 08:14:47] local.INFO: Packet analysis {"connection_id":149016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05b"} 
[2026-08-02 08:14:47] local.INFO: Extracted packet for processing {"connection_id":149016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05b"} 
[2026-08-02 08:14:47] local.INFO: GPS Element Parsed {"raw_longitude":763184640,"raw_latitude":96805056,"longitude_deg":76.318464,"latitude_deg":9.6805056,"altitude":10,"angle":356,"satellites":26,"speed":21,"hex_longitude":"2d7d4600","hex_latitude":"05c520c0","is_valid_coordinates":true} 
[2026-08-02 08:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123496448001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113655387386806272,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026902527890534400,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785638668000,"timestamp_ms":1785638668000,"timestamp_seconds":1785638668,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05bc6e0"} 
[2026-08-02 08:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 08:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123496448001,"66":13048,"103":206,"85":12288,"24":21,"16":113655387386806272,"45":9026902527890534400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-02 08:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123496448001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:14:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 08:14:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113655387386806272,"km_value":113655387386806.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026902527890534400,"description":"Unknown IO ID 45"} 
[2026-08-02 08:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123496448001,"power":13048,"unknown_103":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9026902527890534400}} 
[2026-08-02 08:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":149016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:14:47] local.INFO: GPS data processed {"connection_id":149016,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:14:47] local.INFO: Acknowledgment sent {"connection_id":149016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:14:47] local.INFO: TCP Data received {"connection_id":149017,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:14:47] local.INFO: Processing buffer {"connection_id":149017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:14:47] local.INFO: IMEI packet received {"connection_id":149017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":149017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:14:48] local.INFO: TCP Data received {"connection_id":149017,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:14:48] local.INFO: Processing buffer {"connection_id":149017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:14:48] local.INFO: Packet analysis {"connection_id":149017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:14:48] local.INFO: Extracted packet for processing {"connection_id":149017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:14:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123369984001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785638465000,"timestamp_ms":1785638465000,"timestamp_seconds":1785638465,"priority":1,"record_length":96,"hex_timestamp":"0000019fc058ade8"} 
[2026-08-02 08:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-02 08:14:48] 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-08-02 08:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123369984001,"66":26289,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123369984001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:14:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:14:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:14:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123369984001,"power":26289,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":149017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:14:48] local.INFO: GPS data processed {"connection_id":149017,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:14:48] local.INFO: Acknowledgment sent {"connection_id":149017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:15:07] local.INFO: TCP Data received {"connection_id":146468,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:15:07] local.INFO: Processing buffer {"connection_id":146468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:15:07] local.INFO: IMEI packet received {"connection_id":146468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":146468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:15:11] local.INFO: TCP Data received {"connection_id":146468,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:15:11] local.INFO: Processing buffer {"connection_id":146468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:15:11] local.INFO: IMEI packet received {"connection_id":146468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":146468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:15:15] local.INFO: TCP Data received {"connection_id":146468,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:15:15] local.INFO: Processing buffer {"connection_id":146468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:15:15] local.INFO: IMEI packet received {"connection_id":146468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":146468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:15:19] local.INFO: TCP Data received {"connection_id":146468,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05bceb0012d7d45c005c52390000a015819..."} 
[2026-08-02 08:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05bceb0012d7d45c005c52390000a015819..."} 
[2026-08-02 08:15:19] local.INFO: Processing buffer {"connection_id":146468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05bceb0012d7d45c005c52390000a015819..."} 
[2026-08-02 08:15:19] local.INFO: Packet analysis {"connection_id":146468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05b"} 
[2026-08-02 08:15:19] local.INFO: Extracted packet for processing {"connection_id":146468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05b"} 
[2026-08-02 08:15:19] local.INFO: GPS Element Parsed {"raw_longitude":763184576,"raw_latitude":96805776,"longitude_deg":76.3184576,"latitude_deg":9.6805776,"altitude":10,"angle":344,"satellites":25,"speed":12,"hex_longitude":"2d7d45c0","hex_latitude":"05c52390","is_valid_coordinates":true} 
[2026-08-02 08:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123499008001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113655421746544640,"note":"Value kept but may cause issues"} 
[2026-08-02 08:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026902527892832256,"note":"Value kept but may cause issues"} 
[2026-08-02 08:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785638670000,"timestamp_ms":1785638670000,"timestamp_seconds":1785638670,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05bceb0"} 
[2026-08-02 08:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-02 08:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123499008001,"66":13243,"103":206,"85":12288,"24":12,"16":113655421746544640,"45":9026902527892832256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-02 08:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123499008001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:15:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 08:15:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113655421746544640,"km_value":113655421746544.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026902527892832256,"description":"Unknown IO ID 45"} 
[2026-08-02 08:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123499008001,"power":13243,"unknown_103":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9026902527892832256}} 
[2026-08-02 08:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":146468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:15:19] local.INFO: GPS data processed {"connection_id":146468,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:15:19] local.INFO: Acknowledgment sent {"connection_id":146468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:15:20] local.INFO: TCP Data received {"connection_id":149017,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:15:20] local.INFO: Processing buffer {"connection_id":149017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:15:20] local.INFO: Packet analysis {"connection_id":149017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:15:20] local.INFO: Extracted packet for processing {"connection_id":149017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:15:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123369984001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:15:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785638465000,"timestamp_ms":1785638465000,"timestamp_seconds":1785638465,"priority":1,"record_length":96,"hex_timestamp":"0000019fc058ade8"} 
[2026-08-02 08:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-02 08:15:20] 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-08-02 08:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123369984001,"66":26289,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123369984001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:15:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:15:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:15:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123369984001,"power":26289,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":149017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:15:20] local.INFO: GPS data processed {"connection_id":149017,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:15:20] local.INFO: Acknowledgment sent {"connection_id":149017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:15:41] local.INFO: TCP Data received {"connection_id":147703,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:15:41] local.INFO: Processing buffer {"connection_id":147703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:15:41] local.INFO: IMEI packet received {"connection_id":147703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":147703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:15:47] local.INFO: TCP Data received {"connection_id":147703,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:15:47] local.INFO: Processing buffer {"connection_id":147703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:15:47] local.INFO: IMEI packet received {"connection_id":147703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":147703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:15:48] local.INFO: TCP Data received {"connection_id":147703,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:15:48] local.INFO: Processing buffer {"connection_id":147703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:15:48] local.INFO: Packet analysis {"connection_id":147703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:15:48] local.INFO: Extracted packet for processing {"connection_id":147703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:15:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123369984001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:15:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785638465000,"timestamp_ms":1785638465000,"timestamp_seconds":1785638465,"priority":1,"record_length":96,"hex_timestamp":"0000019fc058ade8"} 
[2026-08-02 08:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-02 08:15:48] 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-08-02 08: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-08-02 08:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123369984001,"66":26289,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123369984001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:15:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:15:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:15:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123369984001,"power":26289,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":147703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:15:48] local.INFO: GPS data processed {"connection_id":147703,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:15:48] local.INFO: Acknowledgment sent {"connection_id":147703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:16:03] local.INFO: TCP Data received {"connection_id":146468,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05bde50012d7d454005c52968000a016519..."} 
[2026-08-02 08:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05bde50012d7d454005c52968000a016519..."} 
[2026-08-02 08:16:03] local.INFO: Processing buffer {"connection_id":146468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05bde50012d7d454005c52968000a016519..."} 
[2026-08-02 08:16:03] local.INFO: Packet analysis {"connection_id":146468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05b"} 
[2026-08-02 08:16:03] local.INFO: Extracted packet for processing {"connection_id":146468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05b"} 
[2026-08-02 08:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763184448,"raw_latitude":96807272,"longitude_deg":76.3184448,"latitude_deg":9.6807272,"altitude":10,"angle":357,"satellites":25,"speed":21,"hex_longitude":"2d7d4540","hex_latitude":"05c52968","is_valid_coordinates":true} 
[2026-08-02 08:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123499520001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113655494760988672,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026832159148838912,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785638674000,"timestamp_ms":1785638674000,"timestamp_seconds":1785638674,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05bde50"} 
[2026-08-02 08:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-02 08:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123499520001,"66":13222,"103":206,"85":12288,"24":21,"16":113655494760988672,"45":9026832159148838912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-02 08:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123499520001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:16:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 08:16:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113655494760988672,"km_value":113655494760988.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026832159148838912,"description":"Unknown IO ID 45"} 
[2026-08-02 08:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123499520001,"power":13222,"unknown_103":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9026832159148838912}} 
[2026-08-02 08:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":146468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:16:03] local.INFO: GPS data processed {"connection_id":146468,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:16:03] local.INFO: Acknowledgment sent {"connection_id":146468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:16:05] local.INFO: TCP Data received {"connection_id":149018,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:16:05] local.INFO: Processing buffer {"connection_id":149018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:16:05] local.INFO: IMEI packet received {"connection_id":149018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":149018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:16:10] local.INFO: TCP Data received {"connection_id":149018,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:16:10] local.INFO: Processing buffer {"connection_id":149018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:16:10] local.INFO: IMEI packet received {"connection_id":149018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":149018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:16:11] local.INFO: TCP Data received {"connection_id":149018,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05c0d30012d7d424005c54eb0000a016418..."} 
[2026-08-02 08:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05c0d30012d7d424005c54eb0000a016418..."} 
[2026-08-02 08:16:11] local.INFO: Processing buffer {"connection_id":149018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05c0d30012d7d424005c54eb0000a016418..."} 
[2026-08-02 08:16:11] local.INFO: Packet analysis {"connection_id":149018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05c"} 
[2026-08-02 08:16:11] local.INFO: Extracted packet for processing {"connection_id":149018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05c"} 
[2026-08-02 08:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763183680,"raw_latitude":96816816,"longitude_deg":76.318368,"latitude_deg":9.6816816,"altitude":10,"angle":356,"satellites":24,"speed":33,"hex_longitude":"2d7d4240","hex_latitude":"05c54eb0","is_valid_coordinates":true} 
[2026-08-02 08:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123500544001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113655958617456640,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026691421660866560,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785638686000,"timestamp_ms":1785638686000,"timestamp_seconds":1785638686,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05c0d30"} 
[2026-08-02 08:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-02 08:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123500544001,"66":12917,"103":206,"85":12288,"24":33,"16":113655958617456640,"45":9026691421660866560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-02 08:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123500544001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:16:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 08:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113655958617456640,"km_value":113655958617456.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026691421660866560,"description":"Unknown IO ID 45"} 
[2026-08-02 08:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123500544001,"power":12917,"unknown_103":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9026691421660866560}} 
[2026-08-02 08:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":149018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:16:11] local.INFO: GPS data processed {"connection_id":149018,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:16:11] local.INFO: Acknowledgment sent {"connection_id":149018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:16:20] local.INFO: TCP Data received {"connection_id":147703,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:16:20] local.INFO: Processing buffer {"connection_id":147703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc058ade8012cb2ab00077518b00021002826..."} 
[2026-08-02 08:16:20] local.INFO: Packet analysis {"connection_id":147703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:16:20] local.INFO: Extracted packet for processing {"connection_id":147703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc058"} 
[2026-08-02 08:16:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123369984001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609157120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785638465000,"timestamp_ms":1785638465000,"timestamp_seconds":1785638465,"priority":1,"record_length":96,"hex_timestamp":"0000019fc058ade8"} 
[2026-08-02 08:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-02 08:16:20] 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-08-02 08:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123369984001,"66":26289,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572993400609157120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123369984001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:16:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:16:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609157120,"description":"Unknown IO ID 44"} 
[2026-08-02 08:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123369984001,"power":26289,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572993400609157120}} 
[2026-08-02 08:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":147703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:16:20] local.INFO: GPS data processed {"connection_id":147703,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:16:20] local.INFO: Acknowledgment sent {"connection_id":147703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:16:42] local.INFO: TCP Data received {"connection_id":149018,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05c3ff8012d7d418005c573000007000518..."} 
[2026-08-02 08:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05c3ff8012d7d418005c573000007000518..."} 
[2026-08-02 08:16:42] local.INFO: Processing buffer {"connection_id":149018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05c3ff8012d7d418005c573000007000518..."} 
[2026-08-02 08:16:42] local.INFO: Packet analysis {"connection_id":149018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05c"} 
[2026-08-02 08:16:42] local.INFO: Extracted packet for processing {"connection_id":149018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05c"} 
[2026-08-02 08:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":96826112,"longitude_deg":76.3183488,"latitude_deg":9.6826112,"altitude":7,"angle":5,"satellites":24,"speed":22,"hex_longitude":"2d7d4180","hex_latitude":"05c57300","is_valid_coordinates":true} 
[2026-08-02 08:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123503616001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113656409589022720,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996733177856,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785638699000,"timestamp_ms":1785638699000,"timestamp_seconds":1785638699,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05c3ff8"} 
[2026-08-02 08:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-02 08:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123503616001,"66":13363,"103":206,"85":12288,"24":22,"16":113656409589022720,"45":9025846996733177856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-02 08:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123503616001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:16:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 08:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113656409589022720,"km_value":113656409589022.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996733177856,"description":"Unknown IO ID 45"} 
[2026-08-02 08:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123503616001,"power":13363,"unknown_103":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":9025846996733177856}} 
[2026-08-02 08:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":149018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:16:42] local.INFO: GPS data processed {"connection_id":149018,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:16:42] local.INFO: Acknowledgment sent {"connection_id":149018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:16:44] local.INFO: TCP Data received {"connection_id":146469,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:16:44] local.INFO: Processing buffer {"connection_id":146469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:16:44] local.INFO: IMEI packet received {"connection_id":146469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":146469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:16:52] local.INFO: TCP Data received {"connection_id":146469,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:16:52] local.INFO: Processing buffer {"connection_id":146469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:16:52] local.INFO: IMEI packet received {"connection_id":146469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":146469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:16:52] local.INFO: TCP Data received {"connection_id":146469,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:16:52] local.INFO: Processing buffer {"connection_id":146469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:16:52] local.INFO: IMEI packet received {"connection_id":146469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":146469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:16:54] local.INFO: TCP Data received {"connection_id":146469,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:16:54] local.INFO: Processing buffer {"connection_id":146469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:16:54] local.INFO: Packet analysis {"connection_id":146469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:16:54] local.INFO: Extracted packet for processing {"connection_id":146469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:16:54] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123447040001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785638766000,"timestamp_ms":1785638766000,"timestamp_seconds":1785638766,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05d45b0"} 
[2026-08-02 08:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-02 08:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123447040001,"66":26136,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123447040001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:16:54] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:16:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:16:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123447040001,"power":26136,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":146469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:16:54] local.INFO: GPS data processed {"connection_id":146469,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:16:54] local.INFO: Acknowledgment sent {"connection_id":146469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:16:57] local.INFO: TCP Data received {"connection_id":146469,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:16:57] local.INFO: Processing buffer {"connection_id":146469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:16:57] local.INFO: Packet analysis {"connection_id":146469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:16:57] local.INFO: Extracted packet for processing {"connection_id":146469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:16:57] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123447040001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785638766000,"timestamp_ms":1785638766000,"timestamp_seconds":1785638766,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05d45b0"} 
[2026-08-02 08:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-02 08:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123447040001,"66":26136,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123447040001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:16:57] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:16:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:16:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123447040001,"power":26136,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":146469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:16:57] local.INFO: GPS data processed {"connection_id":146469,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:16:57] local.INFO: Acknowledgment sent {"connection_id":146469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:17:10] local.INFO: TCP Data received {"connection_id":149019,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:17:10] local.INFO: Processing buffer {"connection_id":149019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:17:10] local.INFO: IMEI packet received {"connection_id":149019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":149019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:17:14] local.INFO: TCP Data received {"connection_id":149019,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:17:14] local.INFO: Processing buffer {"connection_id":149019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:17:14] local.INFO: IMEI packet received {"connection_id":149019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":149019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:17:30] local.INFO: TCP Data received {"connection_id":149019,"ip":"42.106.6.40","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fc0..."} 
[2026-08-02 08:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149019,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fc0..."} 
[2026-08-02 08:17:30] local.INFO: Processing buffer {"connection_id":149019,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fc0..."} 
[2026-08-02 08:17:30] local.INFO: IMEI packet received {"connection_id":149019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":149019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:17:36] local.INFO: TCP Data received {"connection_id":149019,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05e0518012d7d818005c63ae00008005419..."} 
[2026-08-02 08:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05e0518012d7d818005c63ae00008005419..."} 
[2026-08-02 08:17:36] local.INFO: Processing buffer {"connection_id":149019,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc05de5d8012d7d5c8005c639680009005a1a..."} 
[2026-08-02 08:17:36] local.INFO: Packet analysis {"connection_id":149019,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:17:36] local.INFO: Extracted packet for processing {"connection_id":149019,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763190400,"raw_latitude":96876904,"longitude_deg":76.31904,"latitude_deg":9.6876904,"altitude":9,"angle":90,"satellites":26,"speed":45,"hex_longitude":"2d7d5c80","hex_latitude":"05c63968","is_valid_coordinates":true} 
[2026-08-02 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-08-02 08:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123531776001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113659381706391552,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172984469831680,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785638807000,"timestamp_ms":1785638807000,"timestamp_seconds":1785638807,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05de5d8"} 
[2026-08-02 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-08-02 08:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 08:17:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:36] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":687865856,"corrected_to":0} 
[2026-08-02 08:17:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3227330160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1508180174,"corrected_to":0} 
[2026-08-02 08:17:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3321235456,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:36] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3419275264,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57810564760360240,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:36] local.WARNING: Large IO value detected {"io_id":92,"raw_value":-1170934608230367227,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:36] local.WARNING: Large IO value detected {"io_id":197,"raw_value":-3339419102197049088,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,229,85,24,241,157,16,204,159,182,45,57,9,26,10,66,179,192,175,1,240,149,227,198,4,113,205,5,93,51,216,239,2,147,25,7,92,197],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":204,"original":687865856,"validated":0},{"io_id":205,"original":1508180174,"validated":0}]} 
[2026-08-02 08:17:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648618513569742848,"timestamp_seconds":648618513569742.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 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-08-02 08:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:17: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-08-02 08:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123531776001,"66":13189,"229":206,"85":12288,"24":45,"16":113659381706391552,"45":9023172984469831680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123531776001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:17:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113659381706391552,"km_value":113659381706391.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172984469831680,"description":"Unknown IO ID 45"} 
[2026-08-02 08:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123531776001,"power":13189,"unknown_229":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9023172984469831680}} 
[2026-08-02 08:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":149019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:17:36] local.INFO: GPS data processed {"connection_id":149019,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:17:36] local.INFO: Acknowledgment sent {"connection_id":149019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:17:36] local.INFO: Packet analysis {"connection_id":149019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05e"} 
[2026-08-02 08:17:36] local.INFO: Extracted packet for processing {"connection_id":149019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05e"} 
[2026-08-02 08:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763199872,"raw_latitude":96877280,"longitude_deg":76.3199872,"latitude_deg":9.687728,"altitude":8,"angle":84,"satellites":25,"speed":48,"hex_longitude":"2d7d8180","hex_latitude":"05c63ae0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 08:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123534592001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113659832677957632,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9033235714887215104,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785638815000,"timestamp_ms":1785638815000,"timestamp_seconds":1785638815,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05e0518"} 
[2026-08-02 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-08-02 08:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-02 08:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 08:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:17: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-08-02 08:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123534592001,"66":13319,"229":206,"85":12288,"24":48,"16":113659832677957632,"45":9033235714887215104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123534592001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:17:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113659832677957632,"km_value":113659832677957.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9033235714887215104,"description":"Unknown IO ID 45"} 
[2026-08-02 08:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123534592001,"power":13319,"unknown_229":206,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":9033235714887215104}} 
[2026-08-02 08:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":149019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:17:36] local.INFO: GPS data processed {"connection_id":149019,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:17:36] local.INFO: Acknowledgment sent {"connection_id":149019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:17:37] local.INFO: TCP Data received {"connection_id":149019,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05e2070012d7da64005c63c90000700571a..."} 
[2026-08-02 08:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05e2070012d7da64005c63c90000700571a..."} 
[2026-08-02 08:17:37] local.INFO: Processing buffer {"connection_id":149019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05e2070012d7da64005c63c90000700571a..."} 
[2026-08-02 08:17:37] local.INFO: Packet analysis {"connection_id":149019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05e"} 
[2026-08-02 08:17:37] local.INFO: Extracted packet for processing {"connection_id":149019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05e"} 
[2026-08-02 08:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763209280,"raw_latitude":96877712,"longitude_deg":76.320928,"latitude_deg":9.6877712,"altitude":7,"angle":87,"satellites":26,"speed":53,"hex_longitude":"2d7da640","hex_latitude":"05c63c90","is_valid_coordinates":true} 
[2026-08-02 08:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123536640001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113660283649523712,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9043650289025605632,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785638822000,"timestamp_ms":1785638822000,"timestamp_seconds":1785638822,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05e2070"} 
[2026-08-02 08:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 08:17:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1508180174,"corrected_to":0} 
[2026-08-02 08:17:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3227364160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:37] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":805306368,"corrected_to":0} 
[2026-08-02 08:17:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:37] local.WARNING: Large IO value detected {"io_id":198,"raw_value":1862238480277576192,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2499857753,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:37] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3425239040,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:37] local.WARNING: Large IO value detected {"io_id":149,"raw_value":57801210321589552,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:37] local.WARNING: Large IO value detected {"io_id":93,"raw_value":6710364739667689477,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,229,85,24,241,157,16,205,159,45,128,57,9,26,10,66,204,186,192,182,1,240,144,227,198,4,113,11,175,52,239,2,147,5,149,93],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1508180174,"validated":0},{"io_id":204,"original":805306368,"validated":0}]} 
[2026-08-02 08:17:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576553218657484800,"timestamp_seconds":576553218657484.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 08:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123536640001,"66":13417,"229":206,"85":12288,"24":53,"16":113660283649523712,"45":9043650289025605632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123536640001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:17:37] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113660283649523712,"km_value":113660283649523.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9043650289025605632,"description":"Unknown IO ID 45"} 
[2026-08-02 08:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123536640001,"power":13417,"unknown_229":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":9043650289025605632}} 
[2026-08-02 08:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":149019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:17:37] local.INFO: GPS data processed {"connection_id":149019,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:17:37] local.INFO: Acknowledgment sent {"connection_id":149019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:17:42] local.INFO: TCP Data received {"connection_id":146688,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:17:42] local.INFO: Processing buffer {"connection_id":146688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:17:42] local.INFO: IMEI packet received {"connection_id":146688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":146688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:17:47] local.INFO: TCP Data received {"connection_id":146688,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:17:47] local.INFO: Processing buffer {"connection_id":146688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:17:47] local.INFO: IMEI packet received {"connection_id":146688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":146688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:17:48] local.INFO: TCP Data received {"connection_id":146688,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:17:48] local.INFO: Processing buffer {"connection_id":146688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:17:48] local.INFO: Packet analysis {"connection_id":146688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:17:48] local.INFO: Extracted packet for processing {"connection_id":146688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:17:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123447040001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785638766000,"timestamp_ms":1785638766000,"timestamp_seconds":1785638766,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05d45b0"} 
[2026-08-02 08:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-02 08:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123447040001,"66":26136,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123447040001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:17:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:17:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:17:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123447040001,"power":26136,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":146688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:17:48] local.INFO: GPS data processed {"connection_id":146688,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:17:48] local.INFO: Acknowledgment sent {"connection_id":146688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:18:05] local.INFO: TCP Data received {"connection_id":146470,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:18:05] local.INFO: Processing buffer {"connection_id":146470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:18:05] local.INFO: IMEI packet received {"connection_id":146470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":146470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:18:10] local.INFO: TCP Data received {"connection_id":146470,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:18:10] local.INFO: Processing buffer {"connection_id":146470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:18:10] local.INFO: IMEI packet received {"connection_id":146470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":146470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:18:11] local.INFO: TCP Data received {"connection_id":146470,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05e3bc8012d7dc98005c64090000800521a..."} 
[2026-08-02 08:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05e3bc8012d7dc98005c64090000800521a..."} 
[2026-08-02 08:18:11] local.INFO: Processing buffer {"connection_id":146470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05e3bc8012d7dc98005c64090000800521a..."} 
[2026-08-02 08:18:11] local.INFO: Packet analysis {"connection_id":146470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05e"} 
[2026-08-02 08:18:11] local.INFO: Extracted packet for processing {"connection_id":146470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05e"} 
[2026-08-02 08:18:11] local.INFO: GPS Element Parsed {"raw_longitude":763218304,"raw_latitude":96878736,"longitude_deg":76.3218304,"latitude_deg":9.6878736,"altitude":8,"angle":82,"satellites":26,"speed":49,"hex_longitude":"2d7dc980","hex_latitude":"05c64090","is_valid_coordinates":true} 
[2026-08-02 08:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123538432001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113660717441220608,"note":"Value kept but may cause issues"} 
[2026-08-02 08:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053994494419832832,"note":"Value kept but may cause issues"} 
[2026-08-02 08:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785638829000,"timestamp_ms":1785638829000,"timestamp_seconds":1785638829,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05e3bc8"} 
[2026-08-02 08:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-02 08:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123538432001,"66":13526,"229":206,"85":12288,"24":49,"16":113660717441220608,"45":9053994494419832832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123538432001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:18:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113660717441220608,"km_value":113660717441220.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053994494419832832,"description":"Unknown IO ID 45"} 
[2026-08-02 08:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123538432001,"power":13526,"unknown_229":206,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":9053994494419832832}} 
[2026-08-02 08:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":146470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:18:11] local.INFO: GPS data processed {"connection_id":146470,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:18:11] local.INFO: Acknowledgment sent {"connection_id":146470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:18:20] local.INFO: TCP Data received {"connection_id":146688,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:18:20] local.INFO: Processing buffer {"connection_id":146688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:18:20] local.INFO: Packet analysis {"connection_id":146688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:18:20] local.INFO: Extracted packet for processing {"connection_id":146688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:18:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123447040001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785638766000,"timestamp_ms":1785638766000,"timestamp_seconds":1785638766,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05d45b0"} 
[2026-08-02 08:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-02 08:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123447040001,"66":26136,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123447040001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:18:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:18:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123447040001,"power":26136,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":146688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:18:20] local.INFO: GPS data processed {"connection_id":146688,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:18:20] local.INFO: Acknowledgment sent {"connection_id":146688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:18:42] local.INFO: TCP Data received {"connection_id":146471,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:18:42] local.INFO: Processing buffer {"connection_id":146471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:18:42] local.INFO: IMEI packet received {"connection_id":146471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":146471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:18:47] local.INFO: TCP Data received {"connection_id":146471,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:18:47] local.INFO: Processing buffer {"connection_id":146471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:18:47] local.INFO: IMEI packet received {"connection_id":146471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":146471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:18:48] local.INFO: TCP Data received {"connection_id":146471,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:18:48] local.INFO: Processing buffer {"connection_id":146471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:18:48] local.INFO: Packet analysis {"connection_id":146471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:18:48] local.INFO: Extracted packet for processing {"connection_id":146471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:18:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123447040001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:18:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785638766000,"timestamp_ms":1785638766000,"timestamp_seconds":1785638766,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05d45b0"} 
[2026-08-02 08:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-02 08:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123447040001,"66":26136,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123447040001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:18:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:18:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:18:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123447040001,"power":26136,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":146471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:18:48] local.INFO: GPS data processed {"connection_id":146471,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:18:48] local.INFO: Acknowledgment sent {"connection_id":146471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:18:48] local.INFO: TCP Data received {"connection_id":146470,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05f8000012d7f1a8005c626500009005b1c..."} 
[2026-08-02 08:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05f8000012d7f1a8005c626500009005b1c..."} 
[2026-08-02 08:18:48] local.INFO: Processing buffer {"connection_id":146470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05f8000012d7f1a8005c626500009005b1c..."} 
[2026-08-02 08:18:48] local.INFO: Packet analysis {"connection_id":146470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05f"} 
[2026-08-02 08:18:48] local.INFO: Extracted packet for processing {"connection_id":146470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05f"} 
[2026-08-02 08:18:48] local.INFO: GPS Element Parsed {"raw_longitude":763304576,"raw_latitude":96872016,"longitude_deg":76.3304576,"latitude_deg":9.6872016,"altitude":9,"angle":91,"satellites":28,"speed":8,"hex_longitude":"2d7f1a80","hex_latitude":"05c62650","is_valid_coordinates":true} 
[2026-08-02 08:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123558912001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113664883559497728,"note":"Value kept but may cause issues"} 
[2026-08-02 08:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155466223522748416,"note":"Value kept but may cause issues"} 
[2026-08-02 08:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785638912000,"timestamp_ms":1785638912000,"timestamp_seconds":1785638912,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05f8000"} 
[2026-08-02 08:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-02 08:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123558912001,"66":13363,"244":206,"85":12288,"24":8,"16":113664883559497728,"45":9155466223522748416},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-02 08:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123558912001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:18:48] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-02 08:18:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113664883559497728,"km_value":113664883559497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155466223522748416,"description":"Unknown IO ID 45"} 
[2026-08-02 08:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123558912001,"power":13363,"unknown_244":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9155466223522748416}} 
[2026-08-02 08:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":146470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:18:49] local.INFO: GPS data processed {"connection_id":146470,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:18:49] local.INFO: Acknowledgment sent {"connection_id":146470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:19:05] local.INFO: TCP Data received {"connection_id":146472,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:19:05] local.INFO: Processing buffer {"connection_id":146472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:19:05] local.INFO: IMEI packet received {"connection_id":146472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":146472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:19:05] local.INFO: TCP Data received {"connection_id":146472,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:19:05] local.INFO: Processing buffer {"connection_id":146472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:19:05] local.INFO: IMEI packet received {"connection_id":146472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":146472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:19:10] local.INFO: TCP Data received {"connection_id":146472,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:19:10] local.INFO: Processing buffer {"connection_id":146472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:19:10] local.INFO: IMEI packet received {"connection_id":146472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":146472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:19:11] local.INFO: TCP Data received {"connection_id":146472,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05f87d0012d7f1c4005c625f0000900681c..."} 
[2026-08-02 08:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05f87d0012d7f1c4005c625f0000900681c..."} 
[2026-08-02 08:19:11] local.INFO: Processing buffer {"connection_id":146472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05f87d0012d7f1c4005c625f0000900681c..."} 
[2026-08-02 08:19:11] local.INFO: Packet analysis {"connection_id":146472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05f"} 
[2026-08-02 08:19:11] local.INFO: Extracted packet for processing {"connection_id":146472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05f"} 
[2026-08-02 08:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763305024,"raw_latitude":96871920,"longitude_deg":76.3305024,"latitude_deg":9.687192,"altitude":9,"angle":104,"satellites":28,"speed":10,"hex_longitude":"2d7f1c40","hex_latitude":"05c625f0","is_valid_coordinates":true} 
[2026-08-02 08:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123561472001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113664905034334208,"note":"Value kept but may cause issues"} 
[2026-08-02 08:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158773554498916352,"note":"Value kept but may cause issues"} 
[2026-08-02 08:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785638914000,"timestamp_ms":1785638914000,"timestamp_seconds":1785638914,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05f87d0"} 
[2026-08-02 08:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 08:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123561472001,"66":13298,"244":206,"85":12288,"24":10,"16":113664905034334208,"45":9158773554498916352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-02 08:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123561472001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:19:11] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-02 08:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113664905034334208,"km_value":113664905034334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158773554498916352,"description":"Unknown IO ID 45"} 
[2026-08-02 08:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123561472001,"power":13298,"unknown_244":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9158773554498916352}} 
[2026-08-02 08:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":146472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:19:11] local.INFO: GPS data processed {"connection_id":146472,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:19:11] local.INFO: Acknowledgment sent {"connection_id":146472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:19:20] local.INFO: TCP Data received {"connection_id":146471,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:19:20] local.INFO: Processing buffer {"connection_id":146471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:19:20] local.INFO: Packet analysis {"connection_id":146471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:19:20] local.INFO: Extracted packet for processing {"connection_id":146471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:19:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123447040001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785638766000,"timestamp_ms":1785638766000,"timestamp_seconds":1785638766,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05d45b0"} 
[2026-08-02 08:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-02 08:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123447040001,"66":26136,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123447040001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:19:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:19:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123447040001,"power":26136,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":146471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:19:20] local.INFO: GPS data processed {"connection_id":146471,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:19:20] local.INFO: Acknowledgment sent {"connection_id":146471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:19:41] local.INFO: TCP Data received {"connection_id":149020,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:19:41] local.INFO: Processing buffer {"connection_id":149020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:19:41] local.INFO: IMEI packet received {"connection_id":149020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":149020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:19:42] local.INFO: TCP Data received {"connection_id":146472,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05f9f40012d7f218005c62498000a005d1c..."} 
[2026-08-02 08:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05f9f40012d7f218005c62498000a005d1c..."} 
[2026-08-02 08:19:42] local.INFO: Processing buffer {"connection_id":146472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05f9f40012d7f218005c62498000a005d1c..."} 
[2026-08-02 08:19:42] local.INFO: Packet analysis {"connection_id":146472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05f"} 
[2026-08-02 08:19:42] local.INFO: Extracted packet for processing {"connection_id":146472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05f"} 
[2026-08-02 08:19:42] local.INFO: GPS Element Parsed {"raw_longitude":763306368,"raw_latitude":96871576,"longitude_deg":76.3306368,"latitude_deg":9.6871576,"altitude":10,"angle":93,"satellites":28,"speed":6,"hex_longitude":"2d7f2180","hex_latitude":"05c62498","is_valid_coordinates":true} 
[2026-08-02 08:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123561984001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113664969458843648,"note":"Value kept but may cause issues"} 
[2026-08-02 08:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159266135708135424,"note":"Value kept but may cause issues"} 
[2026-08-02 08:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785638920000,"timestamp_ms":1785638920000,"timestamp_seconds":1785638920,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05f9f40"} 
[2026-08-02 08:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-02 08:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123561984001,"66":13048,"244":206,"85":12288,"24":6,"16":113664969458843648,"45":9159266135708135424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-02 08:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123561984001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:19:42] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-02 08:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113664969458843648,"km_value":113664969458843.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159266135708135424,"description":"Unknown IO ID 45"} 
[2026-08-02 08:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123561984001,"power":13048,"unknown_244":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9159266135708135424}} 
[2026-08-02 08:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":146472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:19:42] local.INFO: GPS data processed {"connection_id":146472,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:19:42] local.INFO: Acknowledgment sent {"connection_id":146472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:19:47] local.INFO: TCP Data received {"connection_id":149020,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:19:47] local.INFO: Processing buffer {"connection_id":149020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:19:47] local.INFO: IMEI packet received {"connection_id":149020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":149020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:19:48] local.INFO: TCP Data received {"connection_id":149020,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:19:48] local.INFO: Processing buffer {"connection_id":149020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:19:48] local.INFO: Packet analysis {"connection_id":149020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:19:48] local.INFO: Extracted packet for processing {"connection_id":149020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:19:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123447040001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:19:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785638766000,"timestamp_ms":1785638766000,"timestamp_seconds":1785638766,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05d45b0"} 
[2026-08-02 08:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-02 08:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123447040001,"66":26136,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123447040001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:19:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:19:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:19:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123447040001,"power":26136,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":149020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:19:48] local.INFO: GPS data processed {"connection_id":149020,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:19:48] local.INFO: Acknowledgment sent {"connection_id":149020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:20:04] local.INFO: TCP Data received {"connection_id":147704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:20:04] local.INFO: Processing buffer {"connection_id":147704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:20:04] local.INFO: IMEI packet received {"connection_id":147704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":147704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:20:05] local.INFO: TCP Data received {"connection_id":147704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:20:05] local.INFO: Processing buffer {"connection_id":147704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:20:05] local.INFO: IMEI packet received {"connection_id":147704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":147704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:20:10] local.INFO: TCP Data received {"connection_id":147704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:20:10] local.INFO: Processing buffer {"connection_id":147704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:20:10] local.INFO: IMEI packet received {"connection_id":147704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":147704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:20:11] local.INFO: TCP Data received {"connection_id":147704,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06085b8012d7eb44005c69cb0000b012e1e..."} 
[2026-08-02 08:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06085b8012d7eb44005c69cb0000b012e1e..."} 
[2026-08-02 08:20:11] local.INFO: Processing buffer {"connection_id":147704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06085b8012d7eb44005c69cb0000b012e1e..."} 
[2026-08-02 08:20:11] local.INFO: Packet analysis {"connection_id":147704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc060"} 
[2026-08-02 08:20:11] local.INFO: Extracted packet for processing {"connection_id":147704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc060"} 
[2026-08-02 08:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763278400,"raw_latitude":96902320,"longitude_deg":76.32784,"latitude_deg":9.690232,"altitude":11,"angle":302,"satellites":30,"speed":41,"hex_longitude":"2d7eb440","hex_latitude":"05c69cb0","is_valid_coordinates":true} 
[2026-08-02 08:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123576576001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113667061107916800,"note":"Value kept but may cause issues"} 
[2026-08-02 08:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138859199902990336,"note":"Value kept but may cause issues"} 
[2026-08-02 08:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785638979000,"timestamp_ms":1785638979000,"timestamp_seconds":1785638979,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06085b8"} 
[2026-08-02 08:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 08:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123576576001,"66":13048,"100":206,"85":12288,"24":41,"16":113667061107916800,"45":9138859199902990336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-02 08:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123576576001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:20:11] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-02 08:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113667061107916800,"km_value":113667061107916.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138859199902990336,"description":"Unknown IO ID 45"} 
[2026-08-02 08:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123576576001,"power":13048,"unknown_100":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9138859199902990336}} 
[2026-08-02 08:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":147704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:20:11] local.INFO: GPS data processed {"connection_id":147704,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:20:11] local.INFO: Acknowledgment sent {"connection_id":147704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:20:19] local.INFO: TCP Data received {"connection_id":149020,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:20:19] local.INFO: Processing buffer {"connection_id":149020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:20:19] local.INFO: Packet analysis {"connection_id":149020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:20:19] local.INFO: Extracted packet for processing {"connection_id":149020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:20:19] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123447040001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:20:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785638766000,"timestamp_ms":1785638766000,"timestamp_seconds":1785638766,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05d45b0"} 
[2026-08-02 08:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-02 08:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123447040001,"66":26136,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123447040001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:20:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:20:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:20:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123447040001,"power":26136,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":149020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:20:19] local.INFO: GPS data processed {"connection_id":149020,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:20:19] local.INFO: Acknowledgment sent {"connection_id":149020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:20:41] local.INFO: TCP Data received {"connection_id":149021,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:20:41] local.INFO: Processing buffer {"connection_id":149021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:20:41] local.INFO: IMEI packet received {"connection_id":149021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":149021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:20:42] local.INFO: TCP Data received {"connection_id":147704,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc060bc68012d7e960005c6b0d8000a01321e..."} 
[2026-08-02 08:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc060bc68012d7e960005c6b0d8000a01321e..."} 
[2026-08-02 08:20:42] local.INFO: Processing buffer {"connection_id":147704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc060bc68012d7e960005c6b0d8000a01321e..."} 
[2026-08-02 08:20:42] local.INFO: Packet analysis {"connection_id":147704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc060"} 
[2026-08-02 08:20:42] local.INFO: Extracted packet for processing {"connection_id":147704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc060"} 
[2026-08-02 08:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763270656,"raw_latitude":96907480,"longitude_deg":76.3270656,"latitude_deg":9.690748,"altitude":10,"angle":306,"satellites":30,"speed":34,"hex_longitude":"2d7e9600","hex_latitude":"05c6b0d8","is_valid_coordinates":true} 
[2026-08-02 08:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123578624001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113667507784515584,"note":"Value kept but may cause issues"} 
[2026-08-02 08:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129992738138009600,"note":"Value kept but may cause issues"} 
[2026-08-02 08:20: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-08-02 08:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785638993000,"timestamp_ms":1785638993000,"timestamp_seconds":1785638993,"priority":1,"record_length":96,"hex_timestamp":"0000019fc060bc68"} 
[2026-08-02 08:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-02 08:20: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-08-02 08:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123578624001,"66":13189,"89":206,"85":12288,"24":34,"16":113667507784515584,"45":9129992738138009600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-02 08:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123578624001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:20:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-02 08:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113667507784515584,"km_value":113667507784515.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129992738138009600,"description":"Unknown IO ID 45"} 
[2026-08-02 08:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123578624001,"power":13189,"unknown_89":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9129992738138009600}} 
[2026-08-02 08:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":147704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:20:42] local.INFO: GPS data processed {"connection_id":147704,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:20:42] local.INFO: Acknowledgment sent {"connection_id":147704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:20:47] local.INFO: TCP Data received {"connection_id":149021,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:20:47] local.INFO: Processing buffer {"connection_id":149021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:20:47] local.INFO: IMEI packet received {"connection_id":149021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":149021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:20:48] local.INFO: TCP Data received {"connection_id":149021,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:20:48] local.INFO: Processing buffer {"connection_id":149021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:20:48] local.INFO: Packet analysis {"connection_id":149021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:20:48] local.INFO: Extracted packet for processing {"connection_id":149021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:20:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123447040001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:20:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785638766000,"timestamp_ms":1785638766000,"timestamp_seconds":1785638766,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05d45b0"} 
[2026-08-02 08:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-02 08:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123447040001,"66":26136,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123447040001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:20:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:20:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:20:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123447040001,"power":26136,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":149021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:20:48] local.INFO: GPS data processed {"connection_id":149021,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:20:48] local.INFO: Acknowledgment sent {"connection_id":149021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:21:05] local.INFO: TCP Data received {"connection_id":147705,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:21:05] local.INFO: Processing buffer {"connection_id":147705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:21:05] local.INFO: IMEI packet received {"connection_id":147705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":147705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:21:06] local.INFO: TCP Data received {"connection_id":147705,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:21:06] local.INFO: Processing buffer {"connection_id":147705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:21:06] local.INFO: IMEI packet received {"connection_id":147705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":147705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:21:10] local.INFO: TCP Data received {"connection_id":147705,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:21:10] local.INFO: Processing buffer {"connection_id":147705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:21:10] local.INFO: IMEI packet received {"connection_id":147705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":147705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:21:11] local.INFO: TCP Data received {"connection_id":147705,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc060e378012d7e764005c6c5e80009012e1e..."} 
[2026-08-02 08:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc060e378012d7e764005c6c5e80009012e1e..."} 
[2026-08-02 08:21:11] local.INFO: Processing buffer {"connection_id":147705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc060e378012d7e764005c6c5e80009012e1e..."} 
[2026-08-02 08:21:11] local.INFO: Packet analysis {"connection_id":147705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc060"} 
[2026-08-02 08:21:11] local.INFO: Extracted packet for processing {"connection_id":147705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc060"} 
[2026-08-02 08:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763262528,"raw_latitude":96912872,"longitude_deg":76.3262528,"latitude_deg":9.6912872,"altitude":9,"angle":302,"satellites":30,"speed":38,"hex_longitude":"2d7e7640","hex_latitude":"05c6c5e8","is_valid_coordinates":true} 
[2026-08-02 08:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123582208001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113667975935950848,"note":"Value kept but may cause issues"} 
[2026-08-02 08:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121478120093833216,"note":"Value kept but may cause issues"} 
[2026-08-02 08:21: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-08-02 08:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785639003000,"timestamp_ms":1785639003000,"timestamp_seconds":1785639003,"priority":1,"record_length":96,"hex_timestamp":"0000019fc060e378"} 
[2026-08-02 08:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-02 08:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123582208001,"66":13222,"89":206,"85":12288,"24":38,"16":113667975935950848,"45":9121478120093833216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-02 08:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123582208001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:21:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-02 08:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113667975935950848,"km_value":113667975935950.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121478120093833216,"description":"Unknown IO ID 45"} 
[2026-08-02 08:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123582208001,"power":13222,"unknown_89":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":9121478120093833216}} 
[2026-08-02 08:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":147705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:21:11] local.INFO: GPS data processed {"connection_id":147705,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:21:11] local.INFO: Acknowledgment sent {"connection_id":147705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:21:20] local.INFO: TCP Data received {"connection_id":149021,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:21:20] local.INFO: Processing buffer {"connection_id":149021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc05d45b0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:21:20] local.INFO: Packet analysis {"connection_id":149021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:21:20] local.INFO: Extracted packet for processing {"connection_id":149021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc05d"} 
[2026-08-02 08:21:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123447040001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785638766000,"timestamp_ms":1785638766000,"timestamp_seconds":1785638766,"priority":1,"record_length":96,"hex_timestamp":"0000019fc05d45b0"} 
[2026-08-02 08:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-02 08:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123447040001,"66":26136,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123447040001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:21:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:21:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123447040001,"power":26136,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":149021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:21:20] local.INFO: GPS data processed {"connection_id":149021,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:21:20] local.INFO: Acknowledgment sent {"connection_id":149021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:21:42] local.INFO: TCP Data received {"connection_id":147705,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0610e70012d7e698005c6cf78000801441e..."} 
[2026-08-02 08:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0610e70012d7e698005c6cf78000801441e..."} 
[2026-08-02 08:21:42] local.INFO: Processing buffer {"connection_id":147705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0610e70012d7e698005c6cf78000801441e..."} 
[2026-08-02 08:21:42] local.INFO: Packet analysis {"connection_id":147705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:21:42] local.INFO: Extracted packet for processing {"connection_id":147705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:21:42] local.INFO: GPS Element Parsed {"raw_longitude":763259264,"raw_latitude":96915320,"longitude_deg":76.3259264,"latitude_deg":9.691532,"altitude":8,"angle":324,"satellites":30,"speed":8,"hex_longitude":"2d7e6980","hex_latitude":"05c6cf78","is_valid_coordinates":true} 
[2026-08-02 08:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123584768001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113668177799413760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112541289584650240,"note":"Value kept but may cause issues"} 
[2026-08-02 08:21: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-08-02 08:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785639014000,"timestamp_ms":1785639014000,"timestamp_seconds":1785639014,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0610e70"} 
[2026-08-02 08:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08: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-08-02 08:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123584768001,"66":13472,"89":206,"85":12288,"24":8,"16":113668177799413760,"45":9112541289584650240},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-02 08:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123584768001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:21:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-02 08:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113668177799413760,"km_value":113668177799413.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112541289584650240,"description":"Unknown IO ID 45"} 
[2026-08-02 08:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123584768001,"power":13472,"unknown_89":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9112541289584650240}} 
[2026-08-02 08:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":147705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:21:42] local.INFO: GPS data processed {"connection_id":147705,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:21:42] local.INFO: Acknowledgment sent {"connection_id":147705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:21:45] local.INFO: TCP Data received {"connection_id":149022,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:21:45] local.INFO: Processing buffer {"connection_id":149022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:21:45] local.INFO: IMEI packet received {"connection_id":149022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":149022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:21:46] local.INFO: TCP Data received {"connection_id":149022,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:21:46] local.INFO: Processing buffer {"connection_id":149022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:21:46] local.INFO: IMEI packet received {"connection_id":149022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":149022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:21:52] local.INFO: TCP Data received {"connection_id":149022,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:21:52] local.INFO: Processing buffer {"connection_id":149022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:21:52] local.INFO: IMEI packet received {"connection_id":149022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":149022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:21:53] local.INFO: TCP Data received {"connection_id":149022,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:21:53] local.INFO: Processing buffer {"connection_id":149022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:21:53] local.INFO: Packet analysis {"connection_id":149022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:21:53] local.INFO: Extracted packet for processing {"connection_id":149022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:21:53] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123524096001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:21:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785639067000,"timestamp_ms":1785639067000,"timestamp_seconds":1785639067,"priority":1,"record_length":96,"hex_timestamp":"0000019fc061dd78"} 
[2026-08-02 08:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 08:21:53] 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-08-02 08:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123524096001,"66":26028,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123524096001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:21:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:21:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:21:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123524096001,"power":26028,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":149022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:21:53] local.INFO: GPS data processed {"connection_id":149022,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:21:53] local.INFO: Acknowledgment sent {"connection_id":149022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:22:04] local.INFO: TCP Data received {"connection_id":146689,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:22:04] local.INFO: Processing buffer {"connection_id":146689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:22:04] local.INFO: IMEI packet received {"connection_id":146689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":146689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:22:05] local.INFO: TCP Data received {"connection_id":146689,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:22:05] local.INFO: Processing buffer {"connection_id":146689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:22:05] local.INFO: IMEI packet received {"connection_id":146689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":146689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:22:10] local.INFO: TCP Data received {"connection_id":146689,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:22:10] local.INFO: Processing buffer {"connection_id":146689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:22:10] local.INFO: IMEI packet received {"connection_id":146689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":146689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:22:11] local.INFO: TCP Data received {"connection_id":146689,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0623b38012d7d708005c77b100009013a1e..."} 
[2026-08-02 08:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0623b38012d7d708005c77b100009013a1e..."} 
[2026-08-02 08:22:11] local.INFO: Processing buffer {"connection_id":146689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0623b38012d7d708005c77b100009013a1e..."} 
[2026-08-02 08:22:11] local.INFO: Packet analysis {"connection_id":146689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc062"} 
[2026-08-02 08:22:11] local.INFO: Extracted packet for processing {"connection_id":146689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc062"} 
[2026-08-02 08:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763195520,"raw_latitude":96959248,"longitude_deg":76.319552,"latitude_deg":9.6959248,"altitude":9,"angle":314,"satellites":30,"speed":37,"hex_longitude":"2d7d7080","hex_latitude":"05c77b10","is_valid_coordinates":true} 
[2026-08-02 08:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123604736001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:22:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-02 08:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113671910125993984,"note":"Value kept but may cause issues"} 
[2026-08-02 08:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9047027988765495296,"note":"Value kept but may cause issues"} 
[2026-08-02 08:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-02 08:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785639091000,"timestamp_ms":1785639091000,"timestamp_seconds":1785639091,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0623b38"} 
[2026-08-02 08:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-02 08:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123604736001,"66":13276,"200":0,"85":12288,"24":37,"16":113671910125993984,"45":9047027988765495296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-02 08:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123604736001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113671910125993984,"km_value":113671910125993.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9047027988765495296,"description":"Unknown IO ID 45"} 
[2026-08-02 08:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123604736001,"power":13276,"gsm_signal":0,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9047027988765495296}} 
[2026-08-02 08:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":146689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:22:11] local.INFO: GPS data processed {"connection_id":146689,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:22:11] local.INFO: Acknowledgment sent {"connection_id":146689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:22:25] local.INFO: TCP Data received {"connection_id":149022,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:22:25] local.INFO: Processing buffer {"connection_id":149022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:22:25] local.INFO: Packet analysis {"connection_id":149022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:22:25] local.INFO: Extracted packet for processing {"connection_id":149022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:22:25] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123524096001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:22:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785639067000,"timestamp_ms":1785639067000,"timestamp_seconds":1785639067,"priority":1,"record_length":96,"hex_timestamp":"0000019fc061dd78"} 
[2026-08-02 08:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 08:22:25] 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-08-02 08:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123524096001,"66":26028,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123524096001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:22:25] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:22:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:22:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123524096001,"power":26028,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":149022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:22:25] local.INFO: GPS data processed {"connection_id":149022,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:22:25] local.INFO: Acknowledgment sent {"connection_id":149022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:22:42] local.INFO: TCP Data received {"connection_id":146689,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0626a18012d7d588005c79550000901421d..."} 
[2026-08-02 08:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0626a18012d7d588005c79550000901421d..."} 
[2026-08-02 08:22:42] local.INFO: Processing buffer {"connection_id":146689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0626a18012d7d588005c79550000901421d..."} 
[2026-08-02 08:22:42] local.INFO: Packet analysis {"connection_id":146689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc062"} 
[2026-08-02 08:22:42] local.INFO: Extracted packet for processing {"connection_id":146689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc062"} 
[2026-08-02 08:22:42] local.INFO: GPS Element Parsed {"raw_longitude":763189376,"raw_latitude":96965968,"longitude_deg":76.3189376,"latitude_deg":9.6965968,"altitude":9,"angle":322,"satellites":29,"speed":32,"hex_longitude":"2d7d5880","hex_latitude":"05c79550","is_valid_coordinates":true} 
[2026-08-02 08:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123607296001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:22:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-02 08:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113672348212658176,"note":"Value kept but may cause issues"} 
[2026-08-02 08:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9038865214442508288,"note":"Value kept but may cause issues"} 
[2026-08-02 08:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-02 08:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785639103000,"timestamp_ms":1785639103000,"timestamp_seconds":1785639103,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0626a18"} 
[2026-08-02 08:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-02 08:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123607296001,"66":13059,"200":0,"85":12288,"24":32,"16":113672348212658176,"45":9038865214442508288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-02 08:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123607296001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113672348212658176,"km_value":113672348212658.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9038865214442508288,"description":"Unknown IO ID 45"} 
[2026-08-02 08:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123607296001,"power":13059,"gsm_signal":0,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9038865214442508288}} 
[2026-08-02 08:22:42] local.INFO: TCP Data received {"connection_id":147706,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:22:42] local.INFO: Processing buffer {"connection_id":147706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:22:42] local.INFO: IMEI packet received {"connection_id":147706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":147706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":146689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:22:42] local.INFO: GPS data processed {"connection_id":146689,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:22:42] local.INFO: Acknowledgment sent {"connection_id":146689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:22:49] local.INFO: TCP Data received {"connection_id":147706,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:22:49] local.INFO: Processing buffer {"connection_id":147706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:22:49] local.INFO: IMEI packet received {"connection_id":147706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":147706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:22:51] local.INFO: TCP Data received {"connection_id":147706,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:22:51] local.INFO: Processing buffer {"connection_id":147706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:22:51] local.INFO: Packet analysis {"connection_id":147706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:22:51] local.INFO: Extracted packet for processing {"connection_id":147706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:22:51] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123524096001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:22:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785639067000,"timestamp_ms":1785639067000,"timestamp_seconds":1785639067,"priority":1,"record_length":96,"hex_timestamp":"0000019fc061dd78"} 
[2026-08-02 08:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 08:22:51] 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-08-02 08:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123524096001,"66":26028,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123524096001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:22:51] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:22:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:22:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123524096001,"power":26028,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":147706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:22:51] local.INFO: GPS data processed {"connection_id":147706,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:22:51] local.INFO: Acknowledgment sent {"connection_id":147706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:23:05] local.INFO: TCP Data received {"connection_id":146473,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:23:05] local.INFO: Processing buffer {"connection_id":146473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:23:05] local.INFO: IMEI packet received {"connection_id":146473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":146473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:23:10] local.INFO: TCP Data received {"connection_id":146473,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:23:10] local.INFO: Processing buffer {"connection_id":146473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:23:10] local.INFO: IMEI packet received {"connection_id":146473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":146473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:23:11] local.INFO: TCP Data received {"connection_id":146473,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc062b838012d7d46c005c7afa00008014a1c..."} 
[2026-08-02 08:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc062b838012d7d46c005c7afa00008014a1c..."} 
[2026-08-02 08:23:11] local.INFO: Processing buffer {"connection_id":146473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc062b838012d7d46c005c7afa00008014a1c..."} 
[2026-08-02 08:23:11] local.INFO: Packet analysis {"connection_id":146473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc062"} 
[2026-08-02 08:23:11] local.INFO: Extracted packet for processing {"connection_id":146473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc062"} 
[2026-08-02 08:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763184832,"raw_latitude":96972704,"longitude_deg":76.3184832,"latitude_deg":9.6972704,"altitude":8,"angle":330,"satellites":28,"speed":23,"hex_longitude":"2d7d46c0","hex_latitude":"05c7afa0","is_valid_coordinates":true} 
[2026-08-02 08:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123610368001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-02 08:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113672743349649408,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032109815003172864,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-02 08:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785639123000,"timestamp_ms":1785639123000,"timestamp_seconds":1785639123,"priority":1,"record_length":96,"hex_timestamp":"0000019fc062b838"} 
[2026-08-02 08:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-02 08:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169941851559,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":58077509850759218,"corrected_to":0} 
[2026-08-02 08:23:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3227624160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2147862334,"corrected_to":0} 
[2026-08-02 08:23:11] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3602841600,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3341363200,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,200,85,24,241,157,16,216,159,59,45,128,123,9,30,10,66,20,98,215,237,1,240,166,227,192,199,4,113,205,194,144,239,52,2,147,5,50],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":200,"original":58077509850759218,"validated":0},{"io_id":205,"original":2147862334,"validated":0}]} 
[2026-08-02 08:23:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648872513641644032,"timestamp_seconds":648872513641644.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 08:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123610368001,"66":13102,"200":0,"85":12288,"24":23,"16":113672743349649408,"45":9032109815003172864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-02 08:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123610368001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113672743349649408,"km_value":113672743349649.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032109815003172864,"description":"Unknown IO ID 45"} 
[2026-08-02 08:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123610368001,"power":13102,"gsm_signal":0,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9032109815003172864}} 
[2026-08-02 08:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":146473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:23:11] local.INFO: GPS data processed {"connection_id":146473,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:23:11] local.INFO: Acknowledgment sent {"connection_id":146473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:23:22] local.INFO: TCP Data received {"connection_id":147706,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:23:22] local.INFO: Processing buffer {"connection_id":147706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:23:22] local.INFO: Packet analysis {"connection_id":147706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:23:22] local.INFO: Extracted packet for processing {"connection_id":147706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:23:22] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123524096001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785639067000,"timestamp_ms":1785639067000,"timestamp_seconds":1785639067,"priority":1,"record_length":96,"hex_timestamp":"0000019fc061dd78"} 
[2026-08-02 08:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 08:23:22] 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-08-02 08:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123524096001,"66":26028,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123524096001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:23:22] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:23:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:23:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123524096001,"power":26028,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":147706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:23:22] local.INFO: GPS data processed {"connection_id":147706,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:23:22] local.INFO: Acknowledgment sent {"connection_id":147706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:23:42] local.INFO: TCP Data received {"connection_id":146473,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc062f2d0012d7d35c005c7d0180006014e1e..."} 
[2026-08-02 08:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc062f2d0012d7d35c005c7d0180006014e1e..."} 
[2026-08-02 08:23:42] local.INFO: Processing buffer {"connection_id":146473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc062f2d0012d7d35c005c7d0180006014e1e..."} 
[2026-08-02 08:23:42] local.INFO: Packet analysis {"connection_id":146473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc062"} 
[2026-08-02 08:23:42] local.INFO: Extracted packet for processing {"connection_id":146473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc062"} 
[2026-08-02 08:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":96981016,"longitude_deg":76.318048,"latitude_deg":9.6981016,"altitude":6,"angle":334,"satellites":30,"speed":25,"hex_longitude":"2d7d35c0","hex_latitude":"05c7d018","is_valid_coordinates":true} 
[2026-08-02 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-08-02 08:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123615488001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-02 08:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113673194321215488,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027113634168283136,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-02 08:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785639138000,"timestamp_ms":1785639138000,"timestamp_seconds":1785639138,"priority":1,"record_length":96,"hex_timestamp":"0000019fc062f2d0"} 
[2026-08-02 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-08-02 08:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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-08-02 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-08-02 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-08-02 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-08-02 08:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123615488001,"66":13319,"200":0,"85":12288,"24":25,"16":113673194321215488,"45":9027113634168283136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-02 08:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123615488001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113673194321215488,"km_value":113673194321215.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027113634168283136,"description":"Unknown IO ID 45"} 
[2026-08-02 08:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123615488001,"power":13319,"gsm_signal":0,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9027113634168283136}} 
[2026-08-02 08:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":146473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:23:42] local.INFO: GPS data processed {"connection_id":146473,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:23:42] local.INFO: Acknowledgment sent {"connection_id":146473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:23:42] local.INFO: TCP Data received {"connection_id":147707,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:23:42] local.INFO: Processing buffer {"connection_id":147707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:23:42] local.INFO: IMEI packet received {"connection_id":147707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":147707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:23:47] local.INFO: TCP Data received {"connection_id":147707,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:23:47] local.INFO: Processing buffer {"connection_id":147707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:23:47] local.INFO: IMEI packet received {"connection_id":147707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":147707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:23:48] local.INFO: TCP Data received {"connection_id":147707,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:23:48] local.INFO: Processing buffer {"connection_id":147707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:23:48] local.INFO: Packet analysis {"connection_id":147707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:23:48] local.INFO: Extracted packet for processing {"connection_id":147707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:23:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123524096001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785639067000,"timestamp_ms":1785639067000,"timestamp_seconds":1785639067,"priority":1,"record_length":96,"hex_timestamp":"0000019fc061dd78"} 
[2026-08-02 08:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 08:23:48] 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-08-02 08:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123524096001,"66":26028,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123524096001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:23:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:23:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:23:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123524096001,"power":26028,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":147707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:23:48] local.INFO: GPS data processed {"connection_id":147707,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:23:48] local.INFO: Acknowledgment sent {"connection_id":147707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:24:05] local.INFO: TCP Data received {"connection_id":147708,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:24:05] local.INFO: Processing buffer {"connection_id":147708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:24:05] local.INFO: IMEI packet received {"connection_id":147708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":147708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:24:10] local.INFO: TCP Data received {"connection_id":147708,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:24:10] local.INFO: Processing buffer {"connection_id":147708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:24:10] local.INFO: IMEI packet received {"connection_id":147708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":147708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:24:11] local.INFO: TCP Data received {"connection_id":147708,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0632598012d7d284005c7f260000801571e..."} 
[2026-08-02 08:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0632598012d7d284005c7f260000801571e..."} 
[2026-08-02 08:24:11] local.INFO: Processing buffer {"connection_id":147708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0632598012d7d284005c7f260000801571e..."} 
[2026-08-02 08:24:11] local.INFO: Packet analysis {"connection_id":147708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc063"} 
[2026-08-02 08:24:11] local.INFO: Extracted packet for processing {"connection_id":147708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc063"} 
[2026-08-02 08:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":96989792,"longitude_deg":76.3177024,"latitude_deg":9.6989792,"altitude":8,"angle":343,"satellites":30,"speed":33,"hex_longitude":"2d7d2840","hex_latitude":"05c7f260","is_valid_coordinates":true} 
[2026-08-02 08:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123619328001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-02 08:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113673653882716160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328559566329856,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-02 08:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785639151000,"timestamp_ms":1785639151000,"timestamp_seconds":1785639151,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0632598"} 
[2026-08-02 08:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 08:24:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13522224,"corrected_to":0} 
[2026-08-02 08:24:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3227636160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:11] local.WARNING: Large IO value detected {"io_id":199,"raw_value":4508103261377601024,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814902478,"corrected_to":0} 
[2026-08-02 08:24:11] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2147862348,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:11] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070503,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:11] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3609460736,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3343222784,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:11] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57886847674504496,"corrected_to":0} 
[2026-08-02 08:24:11] local.WARNING: Large IO value detected {"io_id":97,"raw_value":-4458562336201015291,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:11] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,200,85,24,241,157,16,217,159,184,45,192,175,8,28,10,66,216,106,128,149,9,29,59,1,240,220,227,199,4,113,205,40,237,173,27,239,51,2,147,5,30,203,97],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":200,"original":13522224,"validated":0},{"io_id":205,"original":2814902478,"validated":0},{"io_id":203,"original":57886847674504496,"validated":0}]} 
[2026-08-02 08:24:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432712929961902080,"timestamp_seconds":432712929961902.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 08:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123619328001,"66":13406,"200":0,"85":12288,"24":33,"16":113673653882716160,"45":9022328559566329856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-02 08:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123619328001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113673653882716160,"km_value":113673653882716.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328559566329856,"description":"Unknown IO ID 45"} 
[2026-08-02 08:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123619328001,"power":13406,"gsm_signal":0,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9022328559566329856}} 
[2026-08-02 08:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":147708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:24:11] local.INFO: GPS data processed {"connection_id":147708,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:24:11] local.INFO: Acknowledgment sent {"connection_id":147708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:24:20] local.INFO: TCP Data received {"connection_id":147707,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:24:20] local.INFO: Processing buffer {"connection_id":147707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:24:20] local.INFO: Packet analysis {"connection_id":147707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:24:20] local.INFO: Extracted packet for processing {"connection_id":147707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:24:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123524096001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785639067000,"timestamp_ms":1785639067000,"timestamp_seconds":1785639067,"priority":1,"record_length":96,"hex_timestamp":"0000019fc061dd78"} 
[2026-08-02 08:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 08:24:20] 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-08-02 08:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123524096001,"66":26028,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123524096001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:24:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:24:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123524096001,"power":26028,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":147707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:24:20] local.INFO: GPS data processed {"connection_id":147707,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:24:20] local.INFO: Acknowledgment sent {"connection_id":147707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:24:41] local.INFO: TCP Data received {"connection_id":146474,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:24:41] local.INFO: Processing buffer {"connection_id":146474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:24:41] local.INFO: IMEI packet received {"connection_id":146474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":146474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:24:42] local.INFO: TCP Data received {"connection_id":147708,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0635090012d7d204005c815980009015e1e..."} 
[2026-08-02 08:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0635090012d7d204005c815980009015e1e..."} 
[2026-08-02 08:24:42] local.INFO: Processing buffer {"connection_id":147708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0635090012d7d204005c815980009015e1e..."} 
[2026-08-02 08:24:42] local.INFO: Packet analysis {"connection_id":147708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc063"} 
[2026-08-02 08:24:42] local.INFO: Extracted packet for processing {"connection_id":147708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc063"} 
[2026-08-02 08:24:42] local.INFO: GPS Element Parsed {"raw_longitude":763174976,"raw_latitude":96998808,"longitude_deg":76.3174976,"latitude_deg":9.6998808,"altitude":9,"angle":350,"satellites":30,"speed":32,"hex_longitude":"2d7d2040","hex_latitude":"05c81598","is_valid_coordinates":true} 
[2026-08-02 08:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123622656001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-02 08:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113674100559314944,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647382982656,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-02 08:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785639162000,"timestamp_ms":1785639162000,"timestamp_seconds":1785639162,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0635090"} 
[2026-08-02 08:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 08:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123622656001,"66":13243,"200":0,"85":12288,"24":32,"16":113674100559314944,"45":9018528647382982656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-02 08:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123622656001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113674100559314944,"km_value":113674100559314.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647382982656,"description":"Unknown IO ID 45"} 
[2026-08-02 08:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123622656001,"power":13243,"gsm_signal":0,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9018528647382982656}} 
[2026-08-02 08:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":147708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:24:42] local.INFO: GPS data processed {"connection_id":147708,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:24:42] local.INFO: Acknowledgment sent {"connection_id":147708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:24:47] local.INFO: TCP Data received {"connection_id":146474,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:24:47] local.INFO: Processing buffer {"connection_id":146474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:24:47] local.INFO: IMEI packet received {"connection_id":146474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":146474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:24:48] local.INFO: TCP Data received {"connection_id":146474,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:24:48] local.INFO: Processing buffer {"connection_id":146474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:24:48] local.INFO: Packet analysis {"connection_id":146474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:24:48] local.INFO: Extracted packet for processing {"connection_id":146474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:24:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123524096001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785639067000,"timestamp_ms":1785639067000,"timestamp_seconds":1785639067,"priority":1,"record_length":96,"hex_timestamp":"0000019fc061dd78"} 
[2026-08-02 08:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 08:24:48] 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-08-02 08:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123524096001,"66":26028,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123524096001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:24:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:24:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:24:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123524096001,"power":26028,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":146474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:24:48] local.INFO: GPS data processed {"connection_id":146474,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:24:48] local.INFO: Acknowledgment sent {"connection_id":146474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:25:08] local.INFO: TCP Data received {"connection_id":146690,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:25:08] local.INFO: Processing buffer {"connection_id":146690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:25:08] local.INFO: IMEI packet received {"connection_id":146690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":146690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:25:10] local.INFO: TCP Data received {"connection_id":146690,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:25:10] local.INFO: Processing buffer {"connection_id":146690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:25:10] local.INFO: IMEI packet received {"connection_id":146690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":146690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:25:15] local.INFO: TCP Data received {"connection_id":146690,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:25:15] local.INFO: Processing buffer {"connection_id":146690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:25:15] local.INFO: IMEI packet received {"connection_id":146690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":146690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:25:16] local.INFO: TCP Data received {"connection_id":146690,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0639eb0012d7d1d4005c82768000a01601f..."} 
[2026-08-02 08:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0639eb0012d7d1d4005c82768000a01601f..."} 
[2026-08-02 08:25:16] local.INFO: Processing buffer {"connection_id":146690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0639eb0012d7d1d4005c82768000a01601f..."} 
[2026-08-02 08:25:16] local.INFO: Packet analysis {"connection_id":146690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc063"} 
[2026-08-02 08:25:16] local.INFO: Extracted packet for processing {"connection_id":146690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc063"} 
[2026-08-02 08:25:16] local.INFO: GPS Element Parsed {"raw_longitude":763174208,"raw_latitude":97003368,"longitude_deg":76.3174208,"latitude_deg":9.7003368,"altitude":10,"angle":352,"satellites":31,"speed":0,"hex_longitude":"2d7d1d40","hex_latitude":"05c82768","is_valid_coordinates":true} 
[2026-08-02 08:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123625472001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:25:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-02 08:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113674328192581632,"note":"Value kept but may cause issues"} 
[2026-08-02 08:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016276847571605504,"note":"Value kept but may cause issues"} 
[2026-08-02 08:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-02 08:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785639182000,"timestamp_ms":1785639182000,"timestamp_seconds":1785639182,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0639eb0"} 
[2026-08-02 08:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-02 08:25: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-08-02 08:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123625472001,"66":13276,"200":0,"85":12288,"24":0,"16":113674328192581632,"45":9016276847571605504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-02 08:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123625472001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113674328192581632,"km_value":113674328192581.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016276847571605504,"description":"Unknown IO ID 45"} 
[2026-08-02 08:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123625472001,"power":13276,"gsm_signal":0,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9016276847571605504}} 
[2026-08-02 08:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":146690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:25:16] local.INFO: GPS data processed {"connection_id":146690,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:25:16] local.INFO: Acknowledgment sent {"connection_id":146690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:25:20] local.INFO: TCP Data received {"connection_id":146474,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:25:20] local.INFO: Processing buffer {"connection_id":146474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:25:20] local.INFO: Packet analysis {"connection_id":146474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:25:20] local.INFO: Extracted packet for processing {"connection_id":146474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:25:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123524096001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785639067000,"timestamp_ms":1785639067000,"timestamp_seconds":1785639067,"priority":1,"record_length":96,"hex_timestamp":"0000019fc061dd78"} 
[2026-08-02 08:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 08:25:20] 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-08-02 08:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123524096001,"66":26028,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123524096001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:25:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:25:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123524096001,"power":26028,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":146474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:25:20] local.INFO: GPS data processed {"connection_id":146474,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:25:20] local.INFO: Acknowledgment sent {"connection_id":146474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:25:20] local.INFO: TCP Data received {"connection_id":146690,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc063e118012d7d18c005c84d28000b01601f..."} 
[2026-08-02 08:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc063e118012d7d18c005c84d28000b01601f..."} 
[2026-08-02 08:25:20] local.INFO: Processing buffer {"connection_id":146690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc063e118012d7d18c005c84d28000b01601f..."} 
[2026-08-02 08:25:20] local.INFO: Packet analysis {"connection_id":146690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc063"} 
[2026-08-02 08:25:20] local.INFO: Extracted packet for processing {"connection_id":146690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc063"} 
[2026-08-02 08:25:20] local.INFO: GPS Element Parsed {"raw_longitude":763173056,"raw_latitude":97013032,"longitude_deg":76.3173056,"latitude_deg":9.7013032,"altitude":11,"angle":352,"satellites":31,"speed":40,"hex_longitude":"2d7d18c0","hex_latitude":"05c84d28","is_valid_coordinates":true} 
[2026-08-02 08:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123630592001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:25:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-02 08:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113674800638984192,"note":"Value kept but may cause issues"} 
[2026-08-02 08:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432422642640896,"note":"Value kept but may cause issues"} 
[2026-08-02 08:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-02 08:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785639199000,"timestamp_ms":1785639199000,"timestamp_seconds":1785639199,"priority":1,"record_length":96,"hex_timestamp":"0000019fc063e118"} 
[2026-08-02 08:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-02 08:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123630592001,"66":13254,"200":0,"85":12288,"24":40,"16":113674800638984192,"45":9015432422642640896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-02 08:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123630592001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113674800638984192,"km_value":113674800638984.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432422642640896,"description":"Unknown IO ID 45"} 
[2026-08-02 08:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123630592001,"power":13254,"gsm_signal":0,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9015432422642640896}} 
[2026-08-02 08:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":146690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:25:20] local.INFO: GPS data processed {"connection_id":146690,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:25:20] local.INFO: Acknowledgment sent {"connection_id":146690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:25:41] local.INFO: TCP Data received {"connection_id":149023,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:25:41] local.INFO: Processing buffer {"connection_id":149023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:25:41] local.INFO: IMEI packet received {"connection_id":149023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":149023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:25:46] local.INFO: TCP Data received {"connection_id":149023,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:25:46] local.INFO: Processing buffer {"connection_id":149023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:25:46] local.INFO: IMEI packet received {"connection_id":149023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":149023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:25:48] local.INFO: TCP Data received {"connection_id":149023,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:25:48] local.INFO: Processing buffer {"connection_id":149023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:25:48] local.INFO: Packet analysis {"connection_id":149023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:25:48] local.INFO: Extracted packet for processing {"connection_id":149023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:25:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123524096001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:25:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785639067000,"timestamp_ms":1785639067000,"timestamp_seconds":1785639067,"priority":1,"record_length":96,"hex_timestamp":"0000019fc061dd78"} 
[2026-08-02 08:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 08:25:48] 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-08-02 08:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123524096001,"66":26028,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123524096001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:25:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:25:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:25:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123524096001,"power":26028,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":149023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:25:48] local.INFO: GPS data processed {"connection_id":149023,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:25:48] local.INFO: Acknowledgment sent {"connection_id":149023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:26:03] local.INFO: TCP Data received {"connection_id":149024,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:26:03] local.INFO: Processing buffer {"connection_id":149024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:26:03] local.INFO: IMEI packet received {"connection_id":149024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":149024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:26:07] local.INFO: TCP Data received {"connection_id":149024,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:26:07] local.INFO: Processing buffer {"connection_id":149024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:26:07] local.INFO: IMEI packet received {"connection_id":149024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":149024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:26:10] local.INFO: TCP Data received {"connection_id":149024,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:26:10] local.INFO: Processing buffer {"connection_id":149024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:26:10] local.INFO: IMEI packet received {"connection_id":149024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":149024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:26:11] local.INFO: TCP Data received {"connection_id":149024,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0661b68012d7d060005c93c080007016621..."} 
[2026-08-02 08:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0661b68012d7d060005c93c080007016621..."} 
[2026-08-02 08:26:11] local.INFO: Processing buffer {"connection_id":149024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0661b68012d7d060005c93c080007016621..."} 
[2026-08-02 08:26:11] local.INFO: Packet analysis {"connection_id":149024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:26:11] local.INFO: Extracted packet for processing {"connection_id":149024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763168256,"raw_latitude":97074184,"longitude_deg":76.3168256,"latitude_deg":9.7074184,"altitude":7,"angle":358,"satellites":33,"speed":37,"hex_longitude":"2d7d0600","hex_latitude":"05c93c08","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123668224001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113677789936222208,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009380710658998272,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785639345000,"timestamp_ms":1785639345000,"timestamp_seconds":1785639345,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0661b68"} 
[2026-08-02 08:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-02 08:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123668224001,"66":13222,"131":206,"85":15104,"24":37,"16":113677789936222208,"45":9009380710658998272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-02 08:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123668224001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:26:11] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 08:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113677789936222208,"km_value":113677789936222.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009380710658998272,"description":"Unknown IO ID 45"} 
[2026-08-02 08:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123668224001,"power":13222,"unknown_131":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9009380710658998272}} 
[2026-08-02 08:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":149024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:26:11] local.INFO: GPS data processed {"connection_id":149024,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:26:11] local.INFO: Acknowledgment sent {"connection_id":149024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:26:15] local.INFO: TCP Data received {"connection_id":149024,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0663e90012d7d050005c961880007016721..."} 
[2026-08-02 08:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0663e90012d7d050005c961880007016721..."} 
[2026-08-02 08:26:15] local.INFO: Processing buffer {"connection_id":149024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0663e90012d7d050005c961880007016721..."} 
[2026-08-02 08:26:15] local.INFO: Packet analysis {"connection_id":149024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:26:15] local.INFO: Extracted packet for processing {"connection_id":149024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:26:15] local.INFO: GPS Element Parsed {"raw_longitude":763168000,"raw_latitude":97083784,"longitude_deg":76.3168,"latitude_deg":9.7083784,"altitude":7,"angle":359,"satellites":33,"speed":43,"hex_longitude":"2d7d0500","hex_latitude":"05c96188","is_valid_coordinates":true} 
[2026-08-02 08:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123672320001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113678253792690176,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008888129452247040,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785639354000,"timestamp_ms":1785639354000,"timestamp_seconds":1785639354,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0663e90"} 
[2026-08-02 08:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:26: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-08-02 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-02 08:26: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-08-02 08:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:26: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-08-02 08:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123672320001,"66":13363,"131":206,"85":15104,"24":43,"16":113678253792690176,"45":9008888129452247040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-02 08:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123672320001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:26:15] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 08:26:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113678253792690176,"km_value":113678253792690.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008888129452247040,"description":"Unknown IO ID 45"} 
[2026-08-02 08:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123672320001,"power":13363,"unknown_131":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9008888129452247040}} 
[2026-08-02 08:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":149024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:26:15] local.INFO: GPS data processed {"connection_id":149024,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:26:15] local.INFO: Acknowledgment sent {"connection_id":149024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:26:19] local.INFO: TCP Data received {"connection_id":149023,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:26:19] local.INFO: Processing buffer {"connection_id":149023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 08:26:19] local.INFO: Packet analysis {"connection_id":149023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:26:19] local.INFO: Extracted packet for processing {"connection_id":149023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 08:26:19] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123524096001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785639067000,"timestamp_ms":1785639067000,"timestamp_seconds":1785639067,"priority":1,"record_length":96,"hex_timestamp":"0000019fc061dd78"} 
[2026-08-02 08:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08: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-08-02 08: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 08:26:19] 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-08-02 08:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123524096001,"66":26028,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123524096001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:26:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:26:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:26:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123524096001,"power":26028,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":149023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:26:19] local.INFO: GPS data processed {"connection_id":149023,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:26:19] local.INFO: Acknowledgment sent {"connection_id":149023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:26:46] local.INFO: TCP Data received {"connection_id":149024,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0665dd0012d7d05c005c985b80008000320..."} 
[2026-08-02 08:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0665dd0012d7d05c005c985b80008000320..."} 
[2026-08-02 08:26:46] local.INFO: Processing buffer {"connection_id":149024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0665dd0012d7d05c005c985b80008000320..."} 
[2026-08-02 08:26:46] local.INFO: Packet analysis {"connection_id":149024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:26:46] local.INFO: Extracted packet for processing {"connection_id":149024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:26:46] local.INFO: GPS Element Parsed {"raw_longitude":763168192,"raw_latitude":97093048,"longitude_deg":76.3168192,"latitude_deg":9.7093048,"altitude":8,"angle":3,"satellites":32,"speed":47,"hex_longitude":"2d7d05c0","hex_latitude":"05c985b8","is_valid_coordinates":true} 
[2026-08-02 08:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123674624001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113678704764256256,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008606654477993984,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785639362000,"timestamp_ms":1785639362000,"timestamp_seconds":1785639362,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0665dd0"} 
[2026-08-02 08:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 08:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123674624001,"66":13406,"205":206,"85":12288,"24":47,"16":113678704764256256,"45":9008606654477993984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-02 08:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123674624001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:26:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113678704764256256,"km_value":113678704764256.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008606654477993984,"description":"Unknown IO ID 45"} 
[2026-08-02 08:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123674624001,"power":13406,"cell_id":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9008606654477993984}} 
[2026-08-02 08:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":149024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:26:46] local.INFO: GPS data processed {"connection_id":149024,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:26:46] local.INFO: Acknowledgment sent {"connection_id":149024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:26:46] local.INFO: TCP Data received {"connection_id":147709,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:26:46] local.INFO: Processing buffer {"connection_id":147709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:26:46] local.INFO: IMEI packet received {"connection_id":147709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":147709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:26:47] local.INFO: TCP Data received {"connection_id":147709,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:26:47] local.INFO: Processing buffer {"connection_id":147709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:26:47] local.INFO: IMEI packet received {"connection_id":147709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":147709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:26:51] local.INFO: TCP Data received {"connection_id":147709,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:26:51] local.INFO: Processing buffer {"connection_id":147709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:26:51] local.INFO: IMEI packet received {"connection_id":147709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":147709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:26:53] local.INFO: TCP Data received {"connection_id":147709,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:26:53] local.INFO: Processing buffer {"connection_id":147709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:26:53] local.INFO: Packet analysis {"connection_id":147709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:26:53] local.INFO: Extracted packet for processing {"connection_id":147709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:26:53] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123601152001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785639368000,"timestamp_ms":1785639368000,"timestamp_seconds":1785639368,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0667540"} 
[2026-08-02 08:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 08:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123601152001,"66":25962,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123601152001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:26:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:26:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:26:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123601152001,"power":25962,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":147709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:26:53] local.INFO: GPS data processed {"connection_id":147709,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:26:53] local.INFO: Acknowledgment sent {"connection_id":147709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:27:05] local.INFO: TCP Data received {"connection_id":149025,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:27:05] local.INFO: Processing buffer {"connection_id":149025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:27:05] local.INFO: IMEI packet received {"connection_id":149025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":149025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:27:07] local.INFO: TCP Data received {"connection_id":149025,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:27:07] local.INFO: Processing buffer {"connection_id":149025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:27:07] local.INFO: IMEI packet received {"connection_id":149025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":149025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:27:10] local.INFO: TCP Data received {"connection_id":149025,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:27:10] local.INFO: Processing buffer {"connection_id":149025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:27:10] local.INFO: IMEI packet received {"connection_id":149025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":149025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:27:11] local.INFO: TCP Data received {"connection_id":149025,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0667d10012d7d08c005c9ad580008000420..."} 
[2026-08-02 08:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0667d10012d7d08c005c9ad580008000420..."} 
[2026-08-02 08:27:11] local.INFO: Processing buffer {"connection_id":149025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0667d10012d7d08c005c9ad580008000420..."} 
[2026-08-02 08:27:11] local.INFO: Packet analysis {"connection_id":149025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:27:11] local.INFO: Extracted packet for processing {"connection_id":149025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:27:11] local.INFO: GPS Element Parsed {"raw_longitude":763168960,"raw_latitude":97103192,"longitude_deg":76.316896,"latitude_deg":9.7103192,"altitude":8,"angle":4,"satellites":32,"speed":53,"hex_longitude":"2d7d08c0","hex_latitude":"05c9ad58","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123676672001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113679198685495296,"note":"Value kept but may cause issues"} 
[2026-08-02 08:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008817760712898560,"note":"Value kept but may cause issues"} 
[2026-08-02 08:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785639370000,"timestamp_ms":1785639370000,"timestamp_seconds":1785639370,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0667d10"} 
[2026-08-02 08:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:27: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-08-02 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 08:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123676672001,"66":13417,"205":206,"85":12288,"24":53,"16":113679198685495296,"45":9008817760712898560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-02 08:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123676672001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113679198685495296,"km_value":113679198685495.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008817760712898560,"description":"Unknown IO ID 45"} 
[2026-08-02 08:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123676672001,"power":13417,"cell_id":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":9008817760712898560}} 
[2026-08-02 08:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":149025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:27:11] local.INFO: GPS data processed {"connection_id":149025,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:27:11] local.INFO: Acknowledgment sent {"connection_id":149025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:27:24] local.INFO: TCP Data received {"connection_id":147709,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:27:24] local.INFO: Processing buffer {"connection_id":147709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:27:24] local.INFO: Packet analysis {"connection_id":147709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:27:24] local.INFO: Extracted packet for processing {"connection_id":147709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:27:24] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123601152001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:27:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785639368000,"timestamp_ms":1785639368000,"timestamp_seconds":1785639368,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0667540"} 
[2026-08-02 08:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 08:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123601152001,"66":25962,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123601152001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:27:24] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:27:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:27:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123601152001,"power":25962,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":147709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:27:24] local.INFO: GPS data processed {"connection_id":147709,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:27:24] local.INFO: Acknowledgment sent {"connection_id":147709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:27:41] local.INFO: TCP Data received {"connection_id":146475,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:27:41] local.INFO: Processing buffer {"connection_id":146475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:27:41] local.INFO: IMEI packet received {"connection_id":146475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":146475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:27:43] local.INFO: TCP Data received {"connection_id":149025,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0669868012d7d0c4005c9d3780008000620..."} 
[2026-08-02 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0669868012d7d0c4005c9d3780008000620..."} 
[2026-08-02 08:27:43] local.INFO: Processing buffer {"connection_id":149025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0669868012d7d0c4005c9d3780008000620..."} 
[2026-08-02 08:27:43] local.INFO: Packet analysis {"connection_id":149025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:27:43] local.INFO: Extracted packet for processing {"connection_id":149025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:27:43] local.INFO: GPS Element Parsed {"raw_longitude":763169856,"raw_latitude":97112952,"longitude_deg":76.3169856,"latitude_deg":9.7112952,"altitude":8,"angle":6,"satellites":32,"speed":57,"hex_longitude":"2d7d0c40","hex_latitude":"05c9d378","is_valid_coordinates":true} 
[2026-08-02 08:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123678720001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113679671131897856,"note":"Value kept but may cause issues"} 
[2026-08-02 08:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009662185645627392,"note":"Value kept but may cause issues"} 
[2026-08-02 08:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785639377000,"timestamp_ms":1785639377000,"timestamp_seconds":1785639377,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0669868"} 
[2026-08-02 08:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08: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-08-02 08: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-02 08:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":149025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":149025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":149025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123678720001,"66":13178,"205":206,"85":12288,"24":57,"16":113679671131897856,"45":9009662185645627392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-02 08:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123678720001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:27:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-02 08:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113679671131897856,"km_value":113679671131897.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009662185645627392,"description":"Unknown IO ID 45"} 
[2026-08-02 08:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123678720001,"power":13178,"cell_id":206,"unknown_85":12288,"ignition":57,"odometer":null,"unknown_45":9009662185645627392}} 
[2026-08-02 08:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":149025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:27:43] local.INFO: GPS data processed {"connection_id":149025,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:27:43] local.INFO: Acknowledgment sent {"connection_id":149025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:27:47] local.INFO: TCP Data received {"connection_id":146475,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:27:47] local.INFO: Processing buffer {"connection_id":146475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:27:47] local.INFO: IMEI packet received {"connection_id":146475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":146475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:27:48] local.INFO: TCP Data received {"connection_id":146475,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:27:48] local.INFO: Processing buffer {"connection_id":146475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:27:48] local.INFO: Packet analysis {"connection_id":146475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:27:48] local.INFO: Extracted packet for processing {"connection_id":146475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:27:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123601152001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:27:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785639368000,"timestamp_ms":1785639368000,"timestamp_seconds":1785639368,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0667540"} 
[2026-08-02 08:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 08:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123601152001,"66":25962,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123601152001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:27:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:27:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:27:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123601152001,"power":25962,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":146475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:27:48] local.INFO: GPS data processed {"connection_id":146475,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:27:48] local.INFO: Acknowledgment sent {"connection_id":146475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:28:20] local.INFO: TCP Data received {"connection_id":146475,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:28:20] local.INFO: Processing buffer {"connection_id":146475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:28:20] local.INFO: Packet analysis {"connection_id":146475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:28:20] local.INFO: Extracted packet for processing {"connection_id":146475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:28:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123601152001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785639368000,"timestamp_ms":1785639368000,"timestamp_seconds":1785639368,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0667540"} 
[2026-08-02 08:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 08:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123601152001,"66":25962,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123601152001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:28:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:28:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123601152001,"power":25962,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":146475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:28:20] local.INFO: GPS data processed {"connection_id":146475,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:28:20] local.INFO: Acknowledgment sent {"connection_id":146475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:28:26] local.INFO: TCP Data received {"connection_id":146691,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:28:26] local.INFO: Processing buffer {"connection_id":146691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:28:26] local.INFO: IMEI packet received {"connection_id":146691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":146691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:28:30] local.INFO: TCP Data received {"connection_id":146691,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:28:30] local.INFO: Processing buffer {"connection_id":146691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:28:30] local.INFO: IMEI packet received {"connection_id":146691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":146691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:28:31] local.INFO: TCP Data received {"connection_id":146691,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc067d8b8012d7d2c4005cb6eb00008000421..."} 
[2026-08-02 08:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc067d8b8012d7d2c4005cb6eb00008000421..."} 
[2026-08-02 08:28:31] local.INFO: Processing buffer {"connection_id":146691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc067d8b8012d7d2c4005cb6eb00008000421..."} 
[2026-08-02 08:28:31] local.INFO: Packet analysis {"connection_id":146691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc067"} 
[2026-08-02 08:28:31] local.INFO: Extracted packet for processing {"connection_id":146691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc067"} 
[2026-08-02 08:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763178048,"raw_latitude":97218224,"longitude_deg":76.3178048,"latitude_deg":9.7218224,"altitude":8,"angle":4,"satellites":33,"speed":34,"hex_longitude":"2d7d2c40","hex_latitude":"05cb6eb0","is_valid_coordinates":true} 
[2026-08-02 08:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123697664001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113684795027881984,"note":"Value kept but may cause issues"} 
[2026-08-02 08:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019091597392474112,"note":"Value kept but may cause issues"} 
[2026-08-02 08:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785639459000,"timestamp_ms":1785639459000,"timestamp_seconds":1785639459,"priority":1,"record_length":96,"hex_timestamp":"0000019fc067d8b8"} 
[2026-08-02 08:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-02 08:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123697664001,"66":13243,"131":206,"85":15104,"24":34,"16":113684795027881984,"45":9019091597392474112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-02 08:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123697664001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:28:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 08:28:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113684795027881984,"km_value":113684795027881.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019091597392474112,"description":"Unknown IO ID 45"} 
[2026-08-02 08:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123697664001,"power":13243,"unknown_131":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9019091597392474112}} 
[2026-08-02 08:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":146691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:28:31] local.INFO: GPS data processed {"connection_id":146691,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:28:31] local.INFO: Acknowledgment sent {"connection_id":146691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:28:36] local.INFO: TCP Data received {"connection_id":146691,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc067fbe0012d7d2e8005cb91600009000221..."} 
[2026-08-02 08:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc067fbe0012d7d2e8005cb91600009000221..."} 
[2026-08-02 08:28:36] local.INFO: Processing buffer {"connection_id":146691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc067fbe0012d7d2e8005cb91600009000221..."} 
[2026-08-02 08:28:36] local.INFO: Packet analysis {"connection_id":146691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc067"} 
[2026-08-02 08:28:36] local.INFO: Extracted packet for processing {"connection_id":146691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc067"} 
[2026-08-02 08:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763178624,"raw_latitude":97227104,"longitude_deg":76.3178624,"latitude_deg":9.7227104,"altitude":9,"angle":2,"satellites":33,"speed":34,"hex_longitude":"2d7d2e80","hex_latitude":"05cb9160","is_valid_coordinates":true} 
[2026-08-02 08:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123701504001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113685228819578880,"note":"Value kept but may cause issues"} 
[2026-08-02 08:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019654547348303872,"note":"Value kept but may cause issues"} 
[2026-08-02 08:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785639468000,"timestamp_ms":1785639468000,"timestamp_seconds":1785639468,"priority":1,"record_length":96,"hex_timestamp":"0000019fc067fbe0"} 
[2026-08-02 08:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-02 08:28: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-08-02 08:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:28: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-08-02 08:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123701504001,"66":12765,"131":206,"85":15104,"24":34,"16":113685228819578880,"45":9019654547348303872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-02 08:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123701504001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:28:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 08:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113685228819578880,"km_value":113685228819578.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019654547348303872,"description":"Unknown IO ID 45"} 
[2026-08-02 08:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123701504001,"power":12765,"unknown_131":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9019654547348303872}} 
[2026-08-02 08:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":146691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:28:36] local.INFO: GPS data processed {"connection_id":146691,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:28:36] local.INFO: Acknowledgment sent {"connection_id":146691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:28:41] local.INFO: TCP Data received {"connection_id":149026,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:28:41] local.INFO: Processing buffer {"connection_id":149026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:28:41] local.INFO: IMEI packet received {"connection_id":149026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":149026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:28:47] local.INFO: TCP Data received {"connection_id":149026,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:28:47] local.INFO: Processing buffer {"connection_id":149026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:28:47] local.INFO: IMEI packet received {"connection_id":149026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":149026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:28:48] local.INFO: TCP Data received {"connection_id":149026,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:28:48] local.INFO: Processing buffer {"connection_id":149026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:28:48] local.INFO: Packet analysis {"connection_id":149026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:28:48] local.INFO: Extracted packet for processing {"connection_id":149026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:28:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123601152001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:28:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785639368000,"timestamp_ms":1785639368000,"timestamp_seconds":1785639368,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0667540"} 
[2026-08-02 08:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 08:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123601152001,"66":25962,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123601152001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:28:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:28:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:28:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123601152001,"power":25962,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":149026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:28:48] local.INFO: GPS data processed {"connection_id":149026,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:28:48] local.INFO: Acknowledgment sent {"connection_id":149026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:29:05] local.INFO: TCP Data received {"connection_id":147710,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:29:05] local.INFO: Processing buffer {"connection_id":147710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:29:05] local.INFO: IMEI packet received {"connection_id":147710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":147710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:29:10] local.INFO: TCP Data received {"connection_id":147710,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:29:10] local.INFO: Processing buffer {"connection_id":147710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:29:10] local.INFO: IMEI packet received {"connection_id":147710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":147710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:29:11] local.INFO: TCP Data received {"connection_id":147710,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0684a00012d7d2fc005cba6580009001020..."} 
[2026-08-02 08:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0684a00012d7d2fc005cba6580009001020..."} 
[2026-08-02 08:29:11] local.INFO: Processing buffer {"connection_id":147710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0684a00012d7d2fc005cba6580009001020..."} 
[2026-08-02 08:29:11] local.INFO: Packet analysis {"connection_id":147710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc068"} 
[2026-08-02 08:29:11] local.INFO: Extracted packet for processing {"connection_id":147710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc068"} 
[2026-08-02 08:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763178944,"raw_latitude":97232472,"longitude_deg":76.3178944,"latitude_deg":9.7232472,"altitude":9,"angle":16,"satellites":32,"speed":9,"hex_longitude":"2d7d2fc0","hex_latitude":"05cba658","is_valid_coordinates":true} 
[2026-08-02 08:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123703808001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113685499402518528,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020287866048176128,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785639488000,"timestamp_ms":1785639488000,"timestamp_seconds":1785639488,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0684a00"} 
[2026-08-02 08:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:29: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-08-02 08:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-02 08:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123703808001,"66":13059,"131":206,"85":15104,"24":9,"16":113685499402518528,"45":9020287866048176128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-02 08:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123703808001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:29:11] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 08:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113685499402518528,"km_value":113685499402518.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020287866048176128,"description":"Unknown IO ID 45"} 
[2026-08-02 08:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123703808001,"power":13059,"unknown_131":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9020287866048176128}} 
[2026-08-02 08:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":147710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:29:11] local.INFO: GPS data processed {"connection_id":147710,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:29:11] local.INFO: Acknowledgment sent {"connection_id":147710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:29:19] local.INFO: TCP Data received {"connection_id":149026,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:29:19] local.INFO: Processing buffer {"connection_id":149026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:29:19] local.INFO: Packet analysis {"connection_id":149026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:29:19] local.INFO: Extracted packet for processing {"connection_id":149026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:29:19] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123601152001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785639368000,"timestamp_ms":1785639368000,"timestamp_seconds":1785639368,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0667540"} 
[2026-08-02 08:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 08:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123601152001,"66":25962,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123601152001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:29:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:29:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:29:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123601152001,"power":25962,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":149026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:29:19] local.INFO: GPS data processed {"connection_id":149026,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:29:19] local.INFO: Acknowledgment sent {"connection_id":149026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:29:44] local.INFO: TCP Data received {"connection_id":147710,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0686940012d7d314005cbae300009000420..."} 
[2026-08-02 08:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0686940012d7d314005cbae300009000420..."} 
[2026-08-02 08:29:44] local.INFO: Processing buffer {"connection_id":147710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0686940012d7d314005cbae300009000420..."} 
[2026-08-02 08:29:44] local.INFO: Packet analysis {"connection_id":147710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc068"} 
[2026-08-02 08:29:44] local.INFO: Extracted packet for processing {"connection_id":147710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc068"} 
[2026-08-02 08:29:44] local.INFO: GPS Element Parsed {"raw_longitude":763179328,"raw_latitude":97234480,"longitude_deg":76.3179328,"latitude_deg":9.723448,"altitude":9,"angle":4,"satellites":32,"speed":8,"hex_longitude":"2d7d3140","hex_latitude":"05cbae30","is_valid_coordinates":true} 
[2026-08-02 08:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123708928001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113685598186766336,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020639709770438656,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785639496000,"timestamp_ms":1785639496000,"timestamp_seconds":1785639496,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0686940"} 
[2026-08-02 08:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-02 08:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169203654056,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3227991160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:44] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":58077509850759224,"corrected_to":0} 
[2026-08-02 08:29:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894266574,"corrected_to":0} 
[2026-08-02 08:29:44] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3489738109,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:44] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2147863298,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422380,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:44] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3799908352,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3403354112,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:44] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,131,85,24,241,157,16,228,159,251,45,128,145,9,33,10,66,216,64,110,8,227,158,1,240,63,192,203,4,113,205,44,87,40,48,34,239,51,2,147,5,6,56],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":203,"original":58077509850759224,"validated":0},{"io_id":205,"original":2894266574,"validated":0}]} 
[2026-08-02 08:29:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648536075966939136,"timestamp_seconds":648536075966939.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 08:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123708928001,"66":13059,"236":206,"85":15104,"24":8,"16":113685598186766336,"45":9020639709770438656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-02 08:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123708928001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:29:44] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-02 08:29:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113685598186766336,"km_value":113685598186766.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020639709770438656,"description":"Unknown IO ID 45"} 
[2026-08-02 08:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123708928001,"power":13059,"unknown_236":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9020639709770438656}} 
[2026-08-02 08:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":147710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:29:45] local.INFO: GPS data processed {"connection_id":147710,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:29:45] local.INFO: Acknowledgment sent {"connection_id":147710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:29:47] local.INFO: TCP Data received {"connection_id":146476,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:29:47] local.INFO: Processing buffer {"connection_id":146476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:29:47] local.INFO: IMEI packet received {"connection_id":146476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":146476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:29:52] local.INFO: TCP Data received {"connection_id":146476,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:29:52] local.INFO: Processing buffer {"connection_id":146476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:29:52] local.INFO: IMEI packet received {"connection_id":146476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":146476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:29:53] local.INFO: TCP Data received {"connection_id":146476,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:29:53] local.INFO: Processing buffer {"connection_id":146476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:29:53] local.INFO: Packet analysis {"connection_id":146476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:29:53] local.INFO: Extracted packet for processing {"connection_id":146476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:29:53] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123601152001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785639368000,"timestamp_ms":1785639368000,"timestamp_seconds":1785639368,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0667540"} 
[2026-08-02 08:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 08:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123601152001,"66":25962,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123601152001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:29:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:29:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:29:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123601152001,"power":25962,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":146476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:29:53] local.INFO: GPS data processed {"connection_id":146476,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:29:53] local.INFO: Acknowledgment sent {"connection_id":146476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:29:57] local.INFO: TCP Data received {"connection_id":146476,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:29:57] local.INFO: Processing buffer {"connection_id":146476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:29:57] local.INFO: Packet analysis {"connection_id":146476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:29:57] local.INFO: Extracted packet for processing {"connection_id":146476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:29:57] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123601152001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785639368000,"timestamp_ms":1785639368000,"timestamp_seconds":1785639368,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0667540"} 
[2026-08-02 08:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 08:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123601152001,"66":25962,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123601152001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:29:57] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:29:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:29:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123601152001,"power":25962,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":146476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:29:57] local.INFO: GPS data processed {"connection_id":146476,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:29:57] local.INFO: Acknowledgment sent {"connection_id":146476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:30:05] local.INFO: TCP Data received {"connection_id":146692,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:30:05] local.INFO: Processing buffer {"connection_id":146692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:30:05] local.INFO: IMEI packet received {"connection_id":146692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":146692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:30:06] local.INFO: TCP Data received {"connection_id":146692,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:30:06] local.INFO: Processing buffer {"connection_id":146692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:30:06] local.INFO: IMEI packet received {"connection_id":146692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":146692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:30:10] local.INFO: TCP Data received {"connection_id":146692,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:30:10] local.INFO: Processing buffer {"connection_id":146692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:30:10] local.INFO: IMEI packet received {"connection_id":146692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":146692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:30:11] local.INFO: TCP Data received {"connection_id":146692,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc068bb48012d7d330005cbc0200009000b20..."} 
[2026-08-02 08:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc068bb48012d7d330005cbc0200009000b20..."} 
[2026-08-02 08:30:11] local.INFO: Processing buffer {"connection_id":146692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc068bb48012d7d330005cbc0200009000b20..."} 
[2026-08-02 08:30:11] local.INFO: Packet analysis {"connection_id":146692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc068"} 
[2026-08-02 08:30:11] local.INFO: Extracted packet for processing {"connection_id":146692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc068"} 
[2026-08-02 08:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":97239072,"longitude_deg":76.3179776,"latitude_deg":9.7239072,"altitude":9,"angle":11,"satellites":32,"speed":8,"hex_longitude":"2d7d3300","hex_latitude":"05cbc020","is_valid_coordinates":true} 
[2026-08-02 08:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123710976001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113685825820033024,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021061922236018688,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785639517000,"timestamp_ms":1785639517000,"timestamp_seconds":1785639517,"priority":1,"record_length":96,"hex_timestamp":"0000019fc068bb48"} 
[2026-08-02 08:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:30: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-08-02 08:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-02 08:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165193899436,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3227998160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:11] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58077557095399480,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3087007744,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:11] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1240465415,"corrected_to":0} 
[2026-08-02 08:30:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894266574,"corrected_to":0} 
[2026-08-02 08:30:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154092,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:11] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3806724096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3405918208,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:11] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,236,85,24,241,157,16,228,159,74,45,192,166,9,32,10,66,131,251,128,145,33,216,64,1,240,187,227,203,4,113,205,17,115,42,248,34,239,50,2,147,5,8,56],"length":486,"final_offset":616,"validated_count":44,"validation_warnings":[{"io_id":203,"original":1240465415,"validated":0},{"io_id":205,"original":2894266574,"validated":0}]} 
[2026-08-02 08:30:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648522881827340288,"timestamp_seconds":648522881827340.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 08:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123710976001,"66":13243,"130":206,"85":15104,"24":8,"16":113685825820033024,"45":9021061922236018688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-08-02 08:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123710976001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:30:11] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-02 08:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113685825820033024,"km_value":113685825820033.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021061922236018688,"description":"Unknown IO ID 45"} 
[2026-08-02 08:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123710976001,"power":13243,"unknown_130":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9021061922236018688}} 
[2026-08-02 08:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":146692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:30:11] local.INFO: GPS data processed {"connection_id":146692,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:30:11] local.INFO: Acknowledgment sent {"connection_id":146692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:30:42] local.INFO: TCP Data received {"connection_id":146477,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:30:42] local.INFO: Processing buffer {"connection_id":146477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:30:42] local.INFO: IMEI packet received {"connection_id":146477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":146477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:30:42] local.INFO: TCP Data received {"connection_id":146692,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0690d50012d7d398005cbe3b80008000920..."} 
[2026-08-02 08:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0690d50012d7d398005cbe3b80008000920..."} 
[2026-08-02 08:30:42] local.INFO: Processing buffer {"connection_id":146692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0690d50012d7d398005cbe3b80008000920..."} 
[2026-08-02 08:30:42] local.INFO: Packet analysis {"connection_id":146692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc069"} 
[2026-08-02 08:30:42] local.INFO: Extracted packet for processing {"connection_id":146692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc069"} 
[2026-08-02 08:30:42] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97248184,"longitude_deg":76.318144,"latitude_deg":9.7248184,"altitude":8,"angle":9,"satellites":32,"speed":26,"hex_longitude":"2d7d3980","hex_latitude":"05cbe3b8","is_valid_coordinates":true} 
[2026-08-02 08:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123716352001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113686276791599104,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503446437888,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785639538000,"timestamp_ms":1785639538000,"timestamp_seconds":1785639538,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0690d50"} 
[2026-08-02 08:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:30: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-08-02 08:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-02 08:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123716352001,"66":13124,"130":206,"85":15104,"24":26,"16":113686276791599104,"45":9021554503446437888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-08-02 08:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123716352001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:30:42] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-02 08:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113686276791599104,"km_value":113686276791599.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503446437888,"description":"Unknown IO ID 45"} 
[2026-08-02 08:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123716352001,"power":13124,"unknown_130":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9021554503446437888}} 
[2026-08-02 08:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":146692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:30:42] local.INFO: GPS data processed {"connection_id":146692,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:30:42] local.INFO: Acknowledgment sent {"connection_id":146692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:30:47] local.INFO: TCP Data received {"connection_id":146477,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:30:47] local.INFO: Processing buffer {"connection_id":146477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:30:47] local.INFO: IMEI packet received {"connection_id":146477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":146477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:30:48] local.INFO: TCP Data received {"connection_id":146477,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:30:48] local.INFO: Processing buffer {"connection_id":146477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:30:48] local.INFO: Packet analysis {"connection_id":146477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:30:48] local.INFO: Extracted packet for processing {"connection_id":146477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:30:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123601152001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785639368000,"timestamp_ms":1785639368000,"timestamp_seconds":1785639368,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0667540"} 
[2026-08-02 08:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 08:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123601152001,"66":25962,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123601152001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:30:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:30:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:30:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123601152001,"power":25962,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":146477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:30:48] local.INFO: GPS data processed {"connection_id":146477,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:30:48] local.INFO: Acknowledgment sent {"connection_id":146477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:31:05] local.INFO: TCP Data received {"connection_id":146478,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:31:05] local.INFO: Processing buffer {"connection_id":146478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:31:05] local.INFO: IMEI packet received {"connection_id":146478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":146478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:31:10] local.INFO: TCP Data received {"connection_id":146478,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:31:10] local.INFO: Processing buffer {"connection_id":146478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:31:10] local.INFO: IMEI packet received {"connection_id":146478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":146478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:31:12] local.INFO: TCP Data received {"connection_id":146478,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:31:12] local.INFO: Processing buffer {"connection_id":146478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:31:12] local.INFO: IMEI packet received {"connection_id":146478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":146478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:31:13] local.INFO: TCP Data received {"connection_id":146478,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06ab330012d7d3e0005cd9f000009000422..."} 
[2026-08-02 08:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06ab330012d7d3e0005cd9f000009000422..."} 
[2026-08-02 08:31:13] local.INFO: Processing buffer {"connection_id":146478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06ab330012d7d3e0005cd9f000009000422..."} 
[2026-08-02 08:31:13] local.INFO: Packet analysis {"connection_id":146478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06a"} 
[2026-08-02 08:31:13] local.INFO: Extracted packet for processing {"connection_id":146478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06a"} 
[2026-08-02 08:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":97361664,"longitude_deg":76.3182592,"latitude_deg":9.7361664,"altitude":9,"angle":4,"satellites":34,"speed":19,"hex_longitude":"2d7d3e00","hex_latitude":"05cd9f00","is_valid_coordinates":true} 
[2026-08-02 08:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123745536001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113691821594378240,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026339578079606784,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785639646000,"timestamp_ms":1785639646000,"timestamp_seconds":1785639646,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06ab330"} 
[2026-08-02 08:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 08:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123745536001,"66":13189,"236":206,"85":15104,"24":19,"16":113691821594378240,"45":9026339578079606784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-02 08:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123745536001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:31:13] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-02 08:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113691821594378240,"km_value":113691821594378.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026339578079606784,"description":"Unknown IO ID 45"} 
[2026-08-02 08:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123745536001,"power":13189,"unknown_236":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9026339578079606784}} 
[2026-08-02 08:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":146478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:31:13] local.INFO: GPS data processed {"connection_id":146478,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:31:13] local.INFO: Acknowledgment sent {"connection_id":146478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:31:16] local.INFO: TCP Data received {"connection_id":146478,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06ab330012d7d3e0005cd9f000009000422..."} 
[2026-08-02 08:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06ab330012d7d3e0005cd9f000009000422..."} 
[2026-08-02 08:31:16] local.INFO: Processing buffer {"connection_id":146478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06ab330012d7d3e0005cd9f000009000422..."} 
[2026-08-02 08:31:16] local.INFO: Packet analysis {"connection_id":146478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06a"} 
[2026-08-02 08:31:16] local.INFO: Extracted packet for processing {"connection_id":146478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06a"} 
[2026-08-02 08:31:16] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":97361664,"longitude_deg":76.3182592,"latitude_deg":9.7361664,"altitude":9,"angle":4,"satellites":34,"speed":19,"hex_longitude":"2d7d3e00","hex_latitude":"05cd9f00","is_valid_coordinates":true} 
[2026-08-02 08:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123749376001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113691821594378240,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024650728221638656,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785639646000,"timestamp_ms":1785639646000,"timestamp_seconds":1785639646,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06ab330"} 
[2026-08-02 08:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-02 08:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123749376001,"66":13189,"236":206,"85":15104,"24":19,"16":113691821594378240,"45":9024650728221638656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-02 08:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123749376001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:31:16] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-02 08:31:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113691821594378240,"km_value":113691821594378.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024650728221638656,"description":"Unknown IO ID 45"} 
[2026-08-02 08:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123749376001,"power":13189,"unknown_236":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9024650728221638656}} 
[2026-08-02 08:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":146478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:31:16] local.INFO: GPS data processed {"connection_id":146478,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:31:16] local.INFO: Acknowledgment sent {"connection_id":146478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:31:20] local.INFO: TCP Data received {"connection_id":146477,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:31:20] local.INFO: Processing buffer {"connection_id":146477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0667540012cb2ab00077518b00021002825..."} 
[2026-08-02 08:31:20] local.INFO: Packet analysis {"connection_id":146477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:31:20] local.INFO: Extracted packet for processing {"connection_id":146477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc066"} 
[2026-08-02 08:31:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123601152001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785639368000,"timestamp_ms":1785639368000,"timestamp_seconds":1785639368,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0667540"} 
[2026-08-02 08:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 08:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123601152001,"66":25962,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123601152001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:31:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:31:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123601152001,"power":25962,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":146477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:31:20] local.INFO: GPS data processed {"connection_id":146477,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:31:20] local.INFO: Acknowledgment sent {"connection_id":146477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:31:42] local.INFO: TCP Data received {"connection_id":146693,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:31:42] local.INFO: Processing buffer {"connection_id":146693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:31:42] local.INFO: IMEI packet received {"connection_id":146693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":146693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:31:47] local.INFO: TCP Data received {"connection_id":146478,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06abee8012d7d3dc005cda5100009015a21..."} 
[2026-08-02 08:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06abee8012d7d3dc005cda5100009015a21..."} 
[2026-08-02 08:31:47] local.INFO: Processing buffer {"connection_id":146478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06abee8012d7d3dc005cda5100009015a21..."} 
[2026-08-02 08:31:47] local.INFO: Packet analysis {"connection_id":146478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06a"} 
[2026-08-02 08:31:47] local.INFO: Extracted packet for processing {"connection_id":146478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06a"} 
[2026-08-02 08:31:47] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":97363216,"longitude_deg":76.3182528,"latitude_deg":9.7363216,"altitude":9,"angle":346,"satellites":33,"speed":22,"hex_longitude":"2d7d3dc0","hex_latitude":"05cda510","is_valid_coordinates":true} 
[2026-08-02 08:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123749376001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113691898903789568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024650728221638656,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785639649000,"timestamp_ms":1785639649000,"timestamp_seconds":1785639649,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06abee8"} 
[2026-08-02 08:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-02 08:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123749376001,"66":13243,"236":206,"85":15104,"24":22,"16":113691898903789568,"45":9024650728221638656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-02 08:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123749376001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:31:47] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-02 08:31:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113691898903789568,"km_value":113691898903789.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024650728221638656,"description":"Unknown IO ID 45"} 
[2026-08-02 08:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123749376001,"power":13243,"unknown_236":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9024650728221638656}} 
[2026-08-02 08:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":146478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:31:47] local.INFO: GPS data processed {"connection_id":146478,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:31:47] local.INFO: Acknowledgment sent {"connection_id":146478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:31:47] local.INFO: TCP Data received {"connection_id":146693,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:31:47] local.INFO: Processing buffer {"connection_id":146693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:31:47] local.INFO: IMEI packet received {"connection_id":146693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":146693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:31:48] local.INFO: TCP Data received {"connection_id":146693,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:31:48] local.INFO: Processing buffer {"connection_id":146693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:31:48] local.INFO: Packet analysis {"connection_id":146693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:31:48] local.INFO: Extracted packet for processing {"connection_id":146693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:31:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123678208001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785639669000,"timestamp_ms":1785639669000,"timestamp_seconds":1785639669,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06b0d08"} 
[2026-08-02 08:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-02 08:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123678208001,"66":25941,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123678208001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:31:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:31:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:31:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123678208001,"power":25941,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":146693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:31:48] local.INFO: GPS data processed {"connection_id":146693,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:31:48] local.INFO: Acknowledgment sent {"connection_id":146693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:32:05] local.INFO: TCP Data received {"connection_id":146479,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:32:05] local.INFO: Processing buffer {"connection_id":146479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:32:05] local.INFO: IMEI packet received {"connection_id":146479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":146479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:32:05] local.INFO: TCP Data received {"connection_id":146479,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:32:05] local.INFO: Processing buffer {"connection_id":146479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:32:05] local.INFO: IMEI packet received {"connection_id":146479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":146479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:32:10] local.INFO: TCP Data received {"connection_id":146479,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:32:10] local.INFO: Processing buffer {"connection_id":146479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:32:10] local.INFO: IMEI packet received {"connection_id":146479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":146479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:32:11] local.INFO: TCP Data received {"connection_id":146479,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06ada40012d7d3b0005cdb8b0000800001f..."} 
[2026-08-02 08:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06ada40012d7d3b0005cdb8b0000800001f..."} 
[2026-08-02 08:32:11] local.INFO: Processing buffer {"connection_id":146479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06ada40012d7d3b0005cdb8b0000800001f..."} 
[2026-08-02 08:32:11] local.INFO: Packet analysis {"connection_id":146479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06a"} 
[2026-08-02 08:32:11] local.INFO: Extracted packet for processing {"connection_id":146479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06a"} 
[2026-08-02 08:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97368240,"longitude_deg":76.3181824,"latitude_deg":9.736824,"altitude":8,"angle":0,"satellites":31,"speed":30,"hex_longitude":"2d7d3b00","hex_latitude":"05cdb8b0","is_valid_coordinates":true} 
[2026-08-02 08:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123750144001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113692143716925440,"note":"Value kept but may cause issues"} 
[2026-08-02 08:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580359477858304,"note":"Value kept but may cause issues"} 
[2026-08-02 08:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785639656000,"timestamp_ms":1785639656000,"timestamp_seconds":1785639656,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06ada40"} 
[2026-08-02 08:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-02 08:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123750144001,"66":13254,"236":206,"85":15104,"24":30,"16":113692143716925440,"45":9024580359477858304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-02 08:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123750144001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:32:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-02 08:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113692143716925440,"km_value":113692143716925.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580359477858304,"description":"Unknown IO ID 45"} 
[2026-08-02 08:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123750144001,"power":13254,"unknown_236":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9024580359477858304}} 
[2026-08-02 08:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":146479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:32:11] local.INFO: GPS data processed {"connection_id":146479,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:32:11] local.INFO: Acknowledgment sent {"connection_id":146479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:32:20] local.INFO: TCP Data received {"connection_id":146693,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:32:20] local.INFO: Processing buffer {"connection_id":146693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:32:20] local.INFO: Packet analysis {"connection_id":146693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:32:20] local.INFO: Extracted packet for processing {"connection_id":146693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:32:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123678208001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785639669000,"timestamp_ms":1785639669000,"timestamp_seconds":1785639669,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06b0d08"} 
[2026-08-02 08:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-02 08:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123678208001,"66":25941,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123678208001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:32:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:32:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123678208001,"power":25941,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":146693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:32:20] local.INFO: GPS data processed {"connection_id":146693,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:32:20] local.INFO: Acknowledgment sent {"connection_id":146693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:32:41] local.INFO: TCP Data received {"connection_id":146480,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:32:41] local.INFO: Processing buffer {"connection_id":146480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:32:41] local.INFO: IMEI packet received {"connection_id":146480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":146480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:32:43] local.INFO: TCP Data received {"connection_id":146479,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06c35e8012d7d49c005cf0ad80008000021..."} 
[2026-08-02 08:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06c35e8012d7d49c005cf0ad80008000021..."} 
[2026-08-02 08:32:43] local.INFO: Processing buffer {"connection_id":146479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06c35e8012d7d49c005cf0ad80008000021..."} 
[2026-08-02 08:32:43] local.INFO: Packet analysis {"connection_id":146479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06c"} 
[2026-08-02 08:32:43] local.INFO: Extracted packet for processing {"connection_id":146479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06c"} 
[2026-08-02 08:32:43] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":97454808,"longitude_deg":76.31856,"latitude_deg":9.7454808,"altitude":8,"angle":0,"satellites":33,"speed":61,"hex_longitude":"2d7d49c0","hex_latitude":"05cf0ad8","is_valid_coordinates":true} 
[2026-08-02 08:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123773184001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113696357079842816,"note":"Value kept but may cause issues"} 
[2026-08-02 08:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796707852288,"note":"Value kept but may cause issues"} 
[2026-08-02 08:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785639745000,"timestamp_ms":1785639745000,"timestamp_seconds":1785639745,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06c35e8"} 
[2026-08-02 08:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-02 08:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123773184001,"66":13189,"235":206,"85":15104,"24":61,"16":113696357079842816,"45":9028098796707852288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-02 08:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123773184001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:32:43] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-02 08:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113696357079842816,"km_value":113696357079842.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796707852288,"description":"Unknown IO ID 45"} 
[2026-08-02 08:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123773184001,"power":13189,"unknown_235":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9028098796707852288}} 
[2026-08-02 08:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":146479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:32:43] local.INFO: GPS data processed {"connection_id":146479,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:32:43] local.INFO: Acknowledgment sent {"connection_id":146479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:32:47] local.INFO: TCP Data received {"connection_id":146480,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:32:47] local.INFO: Processing buffer {"connection_id":146480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:32:47] local.INFO: IMEI packet received {"connection_id":146480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":146480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:32:48] local.INFO: TCP Data received {"connection_id":146480,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:32:48] local.INFO: Processing buffer {"connection_id":146480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:32:48] local.INFO: Packet analysis {"connection_id":146480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:32:48] local.INFO: Extracted packet for processing {"connection_id":146480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:32:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123678208001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:32:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785639669000,"timestamp_ms":1785639669000,"timestamp_seconds":1785639669,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06b0d08"} 
[2026-08-02 08:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-02 08:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123678208001,"66":25941,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123678208001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:32:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:32:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:32:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123678208001,"power":25941,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":146480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:32:48] local.INFO: GPS data processed {"connection_id":146480,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:32:48] local.INFO: Acknowledgment sent {"connection_id":146480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:33:10] local.INFO: TCP Data received {"connection_id":146481,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:33:10] local.INFO: Processing buffer {"connection_id":146481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:33:10] local.INFO: IMEI packet received {"connection_id":146481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":146481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:33:14] local.INFO: TCP Data received {"connection_id":146481,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:33:14] local.INFO: Processing buffer {"connection_id":146481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:33:14] local.INFO: IMEI packet received {"connection_id":146481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":146481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:33:15] local.INFO: TCP Data received {"connection_id":146481,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06c4d58012d7d49c005cf32880008000022..."} 
[2026-08-02 08:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06c4d58012d7d49c005cf32880008000022..."} 
[2026-08-02 08:33:15] local.INFO: Processing buffer {"connection_id":146481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06c4d58012d7d49c005cf32880008000022..."} 
[2026-08-02 08:33:15] local.INFO: Packet analysis {"connection_id":146481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06c"} 
[2026-08-02 08:33:15] local.INFO: Extracted packet for processing {"connection_id":146481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06c"} 
[2026-08-02 08:33:15] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":97464968,"longitude_deg":76.31856,"latitude_deg":9.7464968,"altitude":8,"angle":0,"satellites":34,"speed":69,"hex_longitude":"2d7d49c0","hex_latitude":"05cf3288","is_valid_coordinates":true} 
[2026-08-02 08:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123774720001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113696851001081856,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027958059221833728,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785639751000,"timestamp_ms":1785639751000,"timestamp_seconds":1785639751,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06c4d58"} 
[2026-08-02 08:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-02 08:33: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-08-02 08:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:33: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-08-02 08:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123774720001,"66":13276,"235":206,"85":15104,"24":69,"16":113696851001081856,"45":9027958059221833728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-02 08:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123774720001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:33:15] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-02 08:33:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113696851001081856,"km_value":113696851001081.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027958059221833728,"description":"Unknown IO ID 45"} 
[2026-08-02 08:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123774720001,"power":13276,"unknown_235":206,"unknown_85":15104,"ignition":69,"odometer":null,"unknown_45":9027958059221833728}} 
[2026-08-02 08:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":146481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:33:15] local.INFO: GPS data processed {"connection_id":146481,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:33:15] local.INFO: Acknowledgment sent {"connection_id":146481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:33:16] local.INFO: TCP Data received {"connection_id":146481,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06c60e0012d7d4a4005cf55c00007000122..."} 
[2026-08-02 08:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06c60e0012d7d4a4005cf55c00007000122..."} 
[2026-08-02 08:33:16] local.INFO: Processing buffer {"connection_id":146481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06c60e0012d7d4a4005cf55c00007000122..."} 
[2026-08-02 08:33:16] local.INFO: Packet analysis {"connection_id":146481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06c"} 
[2026-08-02 08:33:16] local.INFO: Extracted packet for processing {"connection_id":146481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06c"} 
[2026-08-02 08:33:16] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97473984,"longitude_deg":76.3185728,"latitude_deg":9.7473984,"altitude":7,"angle":1,"satellites":34,"speed":72,"hex_longitude":"2d7d4a40","hex_latitude":"05cf55c0","is_valid_coordinates":true} 
[2026-08-02 08:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123776256001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113697289087746048,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027958059224434688,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785639756000,"timestamp_ms":1785639756000,"timestamp_seconds":1785639756,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06c60e0"} 
[2026-08-02 08:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-02 08:33: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-08-02 08:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123776256001,"66":13222,"235":206,"85":15104,"24":72,"16":113697289087746048,"45":9027958059224434688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-02 08:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123776256001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:33:16] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-02 08:33:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113697289087746048,"km_value":113697289087746.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027958059224434688,"description":"Unknown IO ID 45"} 
[2026-08-02 08:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123776256001,"power":13222,"unknown_235":206,"unknown_85":15104,"ignition":72,"odometer":null,"unknown_45":9027958059224434688}} 
[2026-08-02 08:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":146481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:33:16] local.INFO: GPS data processed {"connection_id":146481,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:33:16] local.INFO: Acknowledgment sent {"connection_id":146481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:33:19] local.INFO: TCP Data received {"connection_id":146480,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:33:19] local.INFO: Processing buffer {"connection_id":146480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:33:19] local.INFO: Packet analysis {"connection_id":146480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:33:19] local.INFO: Extracted packet for processing {"connection_id":146480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:33:19] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 08:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123678208001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785639669000,"timestamp_ms":1785639669000,"timestamp_seconds":1785639669,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06b0d08"} 
[2026-08-02 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-08-02 08:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-02 08:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 08:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123678208001,"66":25941,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123678208001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:33:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:33:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:33:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123678208001,"power":25941,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":146480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:33:20] local.INFO: GPS data processed {"connection_id":146480,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:33:20] local.INFO: Acknowledgment sent {"connection_id":146480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:33:47] local.INFO: TCP Data received {"connection_id":147711,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:33:47] local.INFO: Processing buffer {"connection_id":147711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:33:47] local.INFO: IMEI packet received {"connection_id":147711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":147711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:33:47] local.INFO: TCP Data received {"connection_id":146481,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06c7468012d7d4ac005cf7a900007000023..."} 
[2026-08-02 08:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06c7468012d7d4ac005cf7a900007000023..."} 
[2026-08-02 08:33:47] local.INFO: Processing buffer {"connection_id":146481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06c7468012d7d4ac005cf7a900007000023..."} 
[2026-08-02 08:33:47] local.INFO: Packet analysis {"connection_id":146481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06c"} 
[2026-08-02 08:33:47] local.INFO: Extracted packet for processing {"connection_id":146481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06c"} 
[2026-08-02 08:33:47] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":97483408,"longitude_deg":76.3185856,"latitude_deg":9.7483408,"altitude":7,"angle":0,"satellites":35,"speed":75,"hex_longitude":"2d7d4ac0","hex_latitude":"05cf7a90","is_valid_coordinates":true} 
[2026-08-02 08:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123777536001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113697744354279424,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796715098112,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785639761000,"timestamp_ms":1785639761000,"timestamp_seconds":1785639761,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06c7468"} 
[2026-08-02 08:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-02 08:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123777536001,"66":13135,"235":206,"85":15104,"24":75,"16":113697744354279424,"45":9028098796715098112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-02 08:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123777536001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:33:47] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-02 08:33:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113697744354279424,"km_value":113697744354279.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796715098112,"description":"Unknown IO ID 45"} 
[2026-08-02 08:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123777536001,"power":13135,"unknown_235":206,"unknown_85":15104,"ignition":75,"odometer":null,"unknown_45":9028098796715098112}} 
[2026-08-02 08:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":146481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:33:47] local.INFO: GPS data processed {"connection_id":146481,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:33:47] local.INFO: Acknowledgment sent {"connection_id":146481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:33:52] local.INFO: TCP Data received {"connection_id":147711,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:33:52] local.INFO: Processing buffer {"connection_id":147711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:33:52] local.INFO: IMEI packet received {"connection_id":147711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":147711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:33:53] local.INFO: TCP Data received {"connection_id":147711,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:33:53] local.INFO: Processing buffer {"connection_id":147711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:33:53] local.INFO: Packet analysis {"connection_id":147711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:33:53] local.INFO: Extracted packet for processing {"connection_id":147711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:33:53] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123678208001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785639669000,"timestamp_ms":1785639669000,"timestamp_seconds":1785639669,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06b0d08"} 
[2026-08-02 08:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-02 08:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123678208001,"66":25941,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123678208001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:33:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:33:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:33:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123678208001,"power":25941,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":147711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:33:53] local.INFO: GPS data processed {"connection_id":147711,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:33:53] local.INFO: Acknowledgment sent {"connection_id":147711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:33:57] local.INFO: TCP Data received {"connection_id":147711,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:33:57] local.INFO: Processing buffer {"connection_id":147711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:33:57] local.INFO: Packet analysis {"connection_id":147711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:33:57] local.INFO: Extracted packet for processing {"connection_id":147711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:33:57] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123678208001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785639669000,"timestamp_ms":1785639669000,"timestamp_seconds":1785639669,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06b0d08"} 
[2026-08-02 08:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-02 08:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123678208001,"66":25941,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123678208001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:33:57] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:33:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:33:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123678208001,"power":25941,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":147711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:33:57] local.INFO: GPS data processed {"connection_id":147711,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:33:57] local.INFO: Acknowledgment sent {"connection_id":147711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:34:15] local.INFO: TCP Data received {"connection_id":146694,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:34:15] local.INFO: Processing buffer {"connection_id":146694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:34:15] local.INFO: IMEI packet received {"connection_id":146694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":146694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:34:18] local.INFO: TCP Data received {"connection_id":146694,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:34:18] local.INFO: Processing buffer {"connection_id":146694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:34:18] local.INFO: IMEI packet received {"connection_id":146694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":146694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:34:20] local.INFO: TCP Data received {"connection_id":146694,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:34:20] local.INFO: Processing buffer {"connection_id":146694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:34:20] local.INFO: IMEI packet received {"connection_id":146694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":146694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:34:21] local.INFO: TCP Data received {"connection_id":146694,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06d89c0012d7d408005d09d280008016422..."} 
[2026-08-02 08:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06d89c0012d7d408005d09d280008016422..."} 
[2026-08-02 08:34:21] local.INFO: Processing buffer {"connection_id":146694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06d89c0012d7d408005d09d280008016422..."} 
[2026-08-02 08:34:21] local.INFO: Packet analysis {"connection_id":146694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06d"} 
[2026-08-02 08:34:21] local.INFO: Extracted packet for processing {"connection_id":146694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06d"} 
[2026-08-02 08:34:21] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":97557800,"longitude_deg":76.3183232,"latitude_deg":9.75578,"altitude":8,"angle":356,"satellites":34,"speed":30,"hex_longitude":"2d7d4080","hex_latitude":"05d09d28","is_valid_coordinates":true} 
[2026-08-02 08:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123794176001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113701365011709952,"note":"Value kept but may cause issues"} 
[2026-08-02 08:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209385615360,"note":"Value kept but may cause issues"} 
[2026-08-02 08:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785639832000,"timestamp_ms":1785639832000,"timestamp_seconds":1785639832,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06d89c0"} 
[2026-08-02 08:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-02 08:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123794176001,"66":13254,"198":206,"85":15104,"24":30,"16":113701365011709952,"45":9026269209385615360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-02 08:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123794176001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:34:21] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-02 08:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113701365011709952,"km_value":113701365011709.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209385615360,"description":"Unknown IO ID 45"} 
[2026-08-02 08:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123794176001,"power":13254,"unknown_198":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9026269209385615360}} 
[2026-08-02 08:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":146694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:34:21] local.INFO: GPS data processed {"connection_id":146694,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:34:21] local.INFO: Acknowledgment sent {"connection_id":146694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:34:25] local.INFO: TCP Data received {"connection_id":146694,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06dace8012d7d3e0005d0bfd0000a016423..."} 
[2026-08-02 08:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06dace8012d7d3e0005d0bfd0000a016423..."} 
[2026-08-02 08:34:25] local.INFO: Processing buffer {"connection_id":146694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06dace8012d7d3e0005d0bfd0000a016423..."} 
[2026-08-02 08:34:25] local.INFO: Packet analysis {"connection_id":146694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06d"} 
[2026-08-02 08:34:25] local.INFO: Extracted packet for processing {"connection_id":146694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06d"} 
[2026-08-02 08:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":97566672,"longitude_deg":76.3182592,"latitude_deg":9.7566672,"altitude":10,"angle":356,"satellites":35,"speed":45,"hex_longitude":"2d7d3e00","hex_latitude":"05d0bfd0","is_valid_coordinates":true} 
[2026-08-02 08:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123796992001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113701794508439552,"note":"Value kept but may cause issues"} 
[2026-08-02 08:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354415713626112,"note":"Value kept but may cause issues"} 
[2026-08-02 08:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785639841000,"timestamp_ms":1785639841000,"timestamp_seconds":1785639841,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06dace8"} 
[2026-08-02 08:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:34: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-08-02 08:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-02 08:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123796992001,"66":13319,"198":206,"85":15104,"24":45,"16":113701794508439552,"45":9025354415713626112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-02 08:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123796992001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:34:25] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-02 08:34:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113701794508439552,"km_value":113701794508439.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354415713626112,"description":"Unknown IO ID 45"} 
[2026-08-02 08:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123796992001,"power":13319,"unknown_198":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9025354415713626112}} 
[2026-08-02 08:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":146694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:34:26] local.INFO: GPS data processed {"connection_id":146694,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:34:26] local.INFO: Acknowledgment sent {"connection_id":146694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:34:41] local.INFO: TCP Data received {"connection_id":146482,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:34:41] local.INFO: Processing buffer {"connection_id":146482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:34:41] local.INFO: IMEI packet received {"connection_id":146482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":146482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:34:47] local.INFO: TCP Data received {"connection_id":146482,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:34:47] local.INFO: Processing buffer {"connection_id":146482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:34:47] local.INFO: IMEI packet received {"connection_id":146482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":146482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:34:48] local.INFO: TCP Data received {"connection_id":146482,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:34:48] local.INFO: Processing buffer {"connection_id":146482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:34:48] local.INFO: Packet analysis {"connection_id":146482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:34:48] local.INFO: Extracted packet for processing {"connection_id":146482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:34:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123678208001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:34:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785639669000,"timestamp_ms":1785639669000,"timestamp_seconds":1785639669,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06b0d08"} 
[2026-08-02 08:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-02 08:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123678208001,"66":25941,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123678208001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:34:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:34:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:34:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123678208001,"power":25941,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":146482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:34:48] local.INFO: GPS data processed {"connection_id":146482,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:34:48] local.INFO: Acknowledgment sent {"connection_id":146482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:35:07] local.INFO: TCP Data received {"connection_id":146695,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:35:07] local.INFO: Processing buffer {"connection_id":146695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:35:07] local.INFO: IMEI packet received {"connection_id":146695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":146695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:35:10] local.INFO: TCP Data received {"connection_id":146695,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:35:10] local.INFO: Processing buffer {"connection_id":146695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:35:10] local.INFO: IMEI packet received {"connection_id":146695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":146695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:35:15] local.INFO: TCP Data received {"connection_id":146695,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:35:15] local.INFO: Processing buffer {"connection_id":146695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:35:15] local.INFO: IMEI packet received {"connection_id":146695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":146695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:35:18] local.INFO: TCP Data received {"connection_id":146695,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06dcc28012d7d3c0005d0e468000a016523..."} 
[2026-08-02 08:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06dcc28012d7d3c0005d0e468000a016523..."} 
[2026-08-02 08:35:18] local.INFO: Processing buffer {"connection_id":146695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06dcc28012d7d3c0005d0e468000a016523..."} 
[2026-08-02 08:35:18] local.INFO: Packet analysis {"connection_id":146695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06d"} 
[2026-08-02 08:35:18] local.INFO: Extracted packet for processing {"connection_id":146695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06d"} 
[2026-08-02 08:35:18] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":97576040,"longitude_deg":76.318208,"latitude_deg":9.757604,"altitude":10,"angle":357,"satellites":35,"speed":46,"hex_longitude":"2d7d3c00","hex_latitude":"05d0e468","is_valid_coordinates":true} 
[2026-08-02 08:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123799296001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113702249774972928,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024650728274120704,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785639849000,"timestamp_ms":1785639849000,"timestamp_seconds":1785639849,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06dcc28"} 
[2026-08-02 08:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 08:35:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3228367160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:18] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3332663745729733120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4026609021,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2009465038,"corrected_to":0} 
[2026-08-02 08:35:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070455,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:18] local.WARNING: Large IO value detected {"io_id":147,"raw_value":4052942848,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:18] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57834062526436667,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:18] local.WARNING: Large IO value detected {"io_id":108,"raw_value":-1051589218103951355,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:18] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,198,85,24,241,157,16,243,159,137,45,128,8,34,10,66,242,94,192,121,59,64,1,240,46,227,208,4,113,205,74,232,35,239,51,2,147,5,7,182,108],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2009465038,"validated":0}]} 
[2026-08-02 08:35:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720967516845572096,"timestamp_seconds":720967516845572.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 08:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":146695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":146695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":146695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123799296001,"66":13298,"198":206,"85":15104,"24":46,"16":113702249774972928,"45":9024650728274120704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-02 08:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123799296001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:35:18] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-02 08:35:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113702249774972928,"km_value":113702249774972.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024650728274120704,"description":"Unknown IO ID 45"} 
[2026-08-02 08:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123799296001,"power":13298,"unknown_198":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9024650728274120704}} 
[2026-08-02 08:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":146695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:35:19] local.INFO: GPS data processed {"connection_id":146695,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:35:19] local.INFO: Acknowledgment sent {"connection_id":146695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:35:19] local.INFO: TCP Data received {"connection_id":146695,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06deb68012d7d398005d10a380009016423..."} 
[2026-08-02 08:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06deb68012d7d398005d10a380009016423..."} 
[2026-08-02 08:35:19] local.INFO: Processing buffer {"connection_id":146695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06deb68012d7d398005d10a380009016423..."} 
[2026-08-02 08:35:19] local.INFO: Packet analysis {"connection_id":146695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06d"} 
[2026-08-02 08:35:19] local.INFO: Extracted packet for processing {"connection_id":146695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06d"} 
[2026-08-02 08:35:19] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97585720,"longitude_deg":76.318144,"latitude_deg":9.758572,"altitude":9,"angle":356,"satellites":35,"speed":49,"hex_longitude":"2d7d3980","hex_latitude":"05d10a38","is_valid_coordinates":true} 
[2026-08-02 08:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123801344001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113702722221375488,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778323097600,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785639857000,"timestamp_ms":1785639857000,"timestamp_seconds":1785639857,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06deb68"} 
[2026-08-02 08:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-02 08:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123801344001,"66":13091,"197":206,"85":15104,"24":49,"16":113702722221375488,"45":9024087778323097600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-02 08:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123801344001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:35:19] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 08:35:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113702722221375488,"km_value":113702722221375.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778323097600,"description":"Unknown IO ID 45"} 
[2026-08-02 08:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123801344001,"power":13091,"unknown_197":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9024087778323097600}} 
[2026-08-02 08:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":146695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:35:19] local.INFO: GPS data processed {"connection_id":146695,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:35:19] local.INFO: Acknowledgment sent {"connection_id":146695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:35:20] local.INFO: TCP Data received {"connection_id":146482,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:35:20] local.INFO: Processing buffer {"connection_id":146482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:35:20] local.INFO: Packet analysis {"connection_id":146482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:35:20] local.INFO: Extracted packet for processing {"connection_id":146482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 08:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123678208001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785639669000,"timestamp_ms":1785639669000,"timestamp_seconds":1785639669,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06b0d08"} 
[2026-08-02 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-08-02 08:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-02 08:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 08:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123678208001,"66":25941,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123678208001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:35:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:35:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123678208001,"power":25941,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":146482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:35:20] local.INFO: GPS data processed {"connection_id":146482,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:35:20] local.INFO: Acknowledgment sent {"connection_id":146482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:35:47] local.INFO: TCP Data received {"connection_id":149027,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:35:47] local.INFO: Processing buffer {"connection_id":149027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:35:47] local.INFO: IMEI packet received {"connection_id":149027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":149027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:35:51] local.INFO: TCP Data received {"connection_id":146695,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06e06c0012d7d37c005d12e68000a016623..."} 
[2026-08-02 08:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06e06c0012d7d37c005d12e68000a016623..."} 
[2026-08-02 08:35:51] local.INFO: Processing buffer {"connection_id":146695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06e06c0012d7d37c005d12e68000a016623..."} 
[2026-08-02 08:35:51] local.INFO: Packet analysis {"connection_id":146695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06e"} 
[2026-08-02 08:35:51] local.INFO: Extracted packet for processing {"connection_id":146695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06e"} 
[2026-08-02 08:35:51] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":97594984,"longitude_deg":76.3180992,"latitude_deg":9.7594984,"altitude":10,"angle":358,"satellites":35,"speed":55,"hex_longitude":"2d7d37c0","hex_latitude":"05d12e68","is_valid_coordinates":true} 
[2026-08-02 08:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123803392001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113703168897974272,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090883799040,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785639864000,"timestamp_ms":1785639864000,"timestamp_seconds":1785639864,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06e06c0"} 
[2026-08-02 08:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 08:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123803392001,"66":13189,"197":206,"85":15104,"24":55,"16":113703168897974272,"45":9023384090883799040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-02 08:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123803392001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:35:51] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 08:35:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113703168897974272,"km_value":113703168897974.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090883799040,"description":"Unknown IO ID 45"} 
[2026-08-02 08:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123803392001,"power":13189,"unknown_197":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9023384090883799040}} 
[2026-08-02 08:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":146695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:35:51] local.INFO: GPS data processed {"connection_id":146695,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:35:51] local.INFO: Acknowledgment sent {"connection_id":146695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:35:52] local.INFO: TCP Data received {"connection_id":149027,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:35:52] local.INFO: Processing buffer {"connection_id":149027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:35:52] local.INFO: IMEI packet received {"connection_id":149027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":149027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:35:53] local.INFO: TCP Data received {"connection_id":149027,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:35:53] local.INFO: Processing buffer {"connection_id":149027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:35:53] local.INFO: Packet analysis {"connection_id":149027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:35:53] local.INFO: Extracted packet for processing {"connection_id":149027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:35:53] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123678208001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785639669000,"timestamp_ms":1785639669000,"timestamp_seconds":1785639669,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06b0d08"} 
[2026-08-02 08:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-02 08:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123678208001,"66":25941,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123678208001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:35:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:35:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:35:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123678208001,"power":25941,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":149027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:35:53] local.INFO: GPS data processed {"connection_id":149027,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:35:53] local.INFO: Acknowledgment sent {"connection_id":149027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:35:57] local.INFO: TCP Data received {"connection_id":149027,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:35:57] local.INFO: Processing buffer {"connection_id":149027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06b0d08012cb2ab00077518b00021002826..."} 
[2026-08-02 08:35:57] local.INFO: Packet analysis {"connection_id":149027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:35:57] local.INFO: Extracted packet for processing {"connection_id":149027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06b"} 
[2026-08-02 08:35:57] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123678208001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785639669000,"timestamp_ms":1785639669000,"timestamp_seconds":1785639669,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06b0d08"} 
[2026-08-02 08:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-02 08:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123678208001,"66":25941,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123678208001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:35:57] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:35:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:35:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123678208001,"power":25941,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":149027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:35:57] local.INFO: GPS data processed {"connection_id":149027,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:35:57] local.INFO: Acknowledgment sent {"connection_id":149027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:36:42] local.INFO: TCP Data received {"connection_id":146696,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:36:42] local.INFO: Processing buffer {"connection_id":146696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:36:42] local.INFO: IMEI packet received {"connection_id":146696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":146696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:36:47] local.INFO: TCP Data received {"connection_id":146696,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:36:47] local.INFO: Processing buffer {"connection_id":146696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:36:47] local.INFO: IMEI packet received {"connection_id":146696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":146696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:36:48] local.INFO: TCP Data received {"connection_id":146696,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:36:48] local.INFO: Processing buffer {"connection_id":146696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:36:48] local.INFO: Packet analysis {"connection_id":146696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:36:48] local.INFO: Extracted packet for processing {"connection_id":146696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:36:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123755264001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:36:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785639970000,"timestamp_ms":1785639970000,"timestamp_seconds":1785639970,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06fa4d0"} 
[2026-08-02 08:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 08:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123755264001,"66":25875,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123755264001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:36:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:36:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:36:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123755264001,"power":25875,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":146696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:36:48] local.INFO: GPS data processed {"connection_id":146696,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:36:48] local.INFO: Acknowledgment sent {"connection_id":146696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:37:00] local.INFO: TCP Data received {"connection_id":147712,"ip":"42.106.6.40","data_length":68,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 08:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147712,"packet_length":68,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 08:37:00] local.INFO: Processing buffer {"connection_id":147712,"buffer_length":68,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 08:37:00] local.INFO: IMEI packet received {"connection_id":147712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":147712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:37:20] local.INFO: TCP Data received {"connection_id":146696,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:37:20] local.INFO: Processing buffer {"connection_id":146696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:37:20] local.INFO: Packet analysis {"connection_id":146696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:37:20] local.INFO: Extracted packet for processing {"connection_id":146696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:37:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123755264001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785639970000,"timestamp_ms":1785639970000,"timestamp_seconds":1785639970,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06fa4d0"} 
[2026-08-02 08:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 08:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123755264001,"66":25875,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123755264001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:37:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:37:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123755264001,"power":25875,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":146696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:37:20] local.INFO: GPS data processed {"connection_id":146696,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:37:20] local.INFO: Acknowledgment sent {"connection_id":146696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:37:41] local.INFO: TCP Data received {"connection_id":147713,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:37:41] local.INFO: Processing buffer {"connection_id":147713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:37:41] local.INFO: IMEI packet received {"connection_id":147713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":147713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:37:47] local.INFO: TCP Data received {"connection_id":147713,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:37:47] local.INFO: Processing buffer {"connection_id":147713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:37:47] local.INFO: IMEI packet received {"connection_id":147713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":147713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:37:48] local.INFO: TCP Data received {"connection_id":147713,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:37:48] local.INFO: Processing buffer {"connection_id":147713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:37:48] local.INFO: Packet analysis {"connection_id":147713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:37:48] local.INFO: Extracted packet for processing {"connection_id":147713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:37:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123755264001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:37:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785639970000,"timestamp_ms":1785639970000,"timestamp_seconds":1785639970,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06fa4d0"} 
[2026-08-02 08:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 08:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123755264001,"66":25875,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123755264001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:37:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:37:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:37:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123755264001,"power":25875,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":147713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:37:48] local.INFO: GPS data processed {"connection_id":147713,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:37:48] local.INFO: Acknowledgment sent {"connection_id":147713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:38:20] local.INFO: TCP Data received {"connection_id":147713,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:38:20] local.INFO: Processing buffer {"connection_id":147713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:38:20] local.INFO: Packet analysis {"connection_id":147713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:38:20] local.INFO: Extracted packet for processing {"connection_id":147713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:38:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123755264001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785639970000,"timestamp_ms":1785639970000,"timestamp_seconds":1785639970,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06fa4d0"} 
[2026-08-02 08:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 08:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123755264001,"66":25875,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123755264001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:38:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:38:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123755264001,"power":25875,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":147713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:38:20] local.INFO: GPS data processed {"connection_id":147713,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:38:20] local.INFO: Acknowledgment sent {"connection_id":147713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:38:47] local.INFO: TCP Data received {"connection_id":146697,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:38:47] local.INFO: Processing buffer {"connection_id":146697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:38:47] local.INFO: IMEI packet received {"connection_id":146697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":146697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:38:51] local.INFO: TCP Data received {"connection_id":146697,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:38:51] local.INFO: Processing buffer {"connection_id":146697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:38:51] local.INFO: IMEI packet received {"connection_id":146697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":146697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:38:53] local.INFO: TCP Data received {"connection_id":146697,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:38:53] local.INFO: Processing buffer {"connection_id":146697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:38:53] local.INFO: Packet analysis {"connection_id":146697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:38:53] local.INFO: Extracted packet for processing {"connection_id":146697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:38:53] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123755264001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:38:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785639970000,"timestamp_ms":1785639970000,"timestamp_seconds":1785639970,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06fa4d0"} 
[2026-08-02 08:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 08:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123755264001,"66":25875,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123755264001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:38:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:38:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:38:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123755264001,"power":25875,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":146697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:38:53] local.INFO: GPS data processed {"connection_id":146697,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:38:53] local.INFO: Acknowledgment sent {"connection_id":146697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:38:57] local.INFO: TCP Data received {"connection_id":146697,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:38:57] local.INFO: Processing buffer {"connection_id":146697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:38:57] local.INFO: Packet analysis {"connection_id":146697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:38:57] local.INFO: Extracted packet for processing {"connection_id":146697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:38:57] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123755264001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:38:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785639970000,"timestamp_ms":1785639970000,"timestamp_seconds":1785639970,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06fa4d0"} 
[2026-08-02 08:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 08:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123755264001,"66":25875,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123755264001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:38:57] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:38:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:38:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123755264001,"power":25875,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":146697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:38:57] local.INFO: GPS data processed {"connection_id":146697,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:38:57] local.INFO: Acknowledgment sent {"connection_id":146697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:39:42] local.INFO: TCP Data received {"connection_id":149029,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:39:42] local.INFO: Processing buffer {"connection_id":149029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:39:42] local.INFO: IMEI packet received {"connection_id":149029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":149029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:39:47] local.INFO: TCP Data received {"connection_id":149029,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:39:47] local.INFO: Processing buffer {"connection_id":149029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:39:47] local.INFO: IMEI packet received {"connection_id":149029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":149029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:39:48] local.INFO: TCP Data received {"connection_id":149029,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:39:48] local.INFO: Processing buffer {"connection_id":149029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:39:48] local.INFO: Packet analysis {"connection_id":149029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:39:48] local.INFO: Extracted packet for processing {"connection_id":149029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:39:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 08:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123755264001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:39:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785639970000,"timestamp_ms":1785639970000,"timestamp_seconds":1785639970,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06fa4d0"} 
[2026-08-02 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-08-02 08:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 08:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 08:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123755264001,"66":25875,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123755264001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:39:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:39:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:39:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123755264001,"power":25875,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":149029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:39:48] local.INFO: GPS data processed {"connection_id":149029,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:39:48] local.INFO: Acknowledgment sent {"connection_id":149029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:40:20] local.INFO: TCP Data received {"connection_id":149029,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:40:20] local.INFO: Processing buffer {"connection_id":149029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:40:20] local.INFO: Packet analysis {"connection_id":149029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:40:20] local.INFO: Extracted packet for processing {"connection_id":149029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:40:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123755264001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785639970000,"timestamp_ms":1785639970000,"timestamp_seconds":1785639970,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06fa4d0"} 
[2026-08-02 08:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 08:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123755264001,"66":25875,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123755264001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:40:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:40:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123755264001,"power":25875,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":149029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:40:20] local.INFO: GPS data processed {"connection_id":149029,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:40:20] local.INFO: Acknowledgment sent {"connection_id":149029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:40:42] local.INFO: TCP Data received {"connection_id":149030,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:40:42] local.INFO: Processing buffer {"connection_id":149030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:40:42] local.INFO: IMEI packet received {"connection_id":149030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":149030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:40:47] local.INFO: TCP Data received {"connection_id":149030,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:40:47] local.INFO: Processing buffer {"connection_id":149030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:40:47] local.INFO: IMEI packet received {"connection_id":149030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":149030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:40:48] local.INFO: TCP Data received {"connection_id":149030,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:40:48] local.INFO: Processing buffer {"connection_id":149030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:40:48] local.INFO: Packet analysis {"connection_id":149030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:40:48] local.INFO: Extracted packet for processing {"connection_id":149030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:40:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 08:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123755264001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:40:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785639970000,"timestamp_ms":1785639970000,"timestamp_seconds":1785639970,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06fa4d0"} 
[2026-08-02 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-08-02 08:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 08:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 08:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123755264001,"66":25875,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123755264001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:40:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:40:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:40:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123755264001,"power":25875,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":149030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:40:48] local.INFO: GPS data processed {"connection_id":149030,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:40:48] local.INFO: Acknowledgment sent {"connection_id":149030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:41:20] local.INFO: TCP Data received {"connection_id":149030,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:41:20] local.INFO: Processing buffer {"connection_id":149030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:41:20] local.INFO: Packet analysis {"connection_id":149030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:41:20] local.INFO: Extracted packet for processing {"connection_id":149030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:41:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 08:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123755264001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785639970000,"timestamp_ms":1785639970000,"timestamp_seconds":1785639970,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06fa4d0"} 
[2026-08-02 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-08-02 08:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 08:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 08:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123755264001,"66":25875,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123755264001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:41:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:41:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123755264001,"power":25875,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":149030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:41:20] local.INFO: GPS data processed {"connection_id":149030,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:41:20] local.INFO: Acknowledgment sent {"connection_id":149030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:41:25] local.INFO: TCP Data received {"connection_id":146483,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:41:25] local.INFO: Processing buffer {"connection_id":146483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:41:25] local.INFO: IMEI packet received {"connection_id":146483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":146483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:41:26] local.INFO: TCP Data received {"connection_id":146483,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0735620012d7cef4005d63ea0000b016314..."} 
[2026-08-02 08:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0735620012d7cef4005d63ea0000b016314..."} 
[2026-08-02 08:41:26] local.INFO: Processing buffer {"connection_id":146483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0735620012d7cef4005d63ea0000b016314..."} 
[2026-08-02 08:41:26] local.INFO: Packet analysis {"connection_id":146483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc073"} 
[2026-08-02 08:41:26] local.INFO: Extracted packet for processing {"connection_id":146483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc073"} 
[2026-08-02 08:41:26] local.INFO: GPS Element Parsed {"raw_longitude":763162432,"raw_latitude":97926816,"longitude_deg":76.3162432,"latitude_deg":9.7926816,"altitude":11,"angle":355,"satellites":20,"speed":55,"hex_longitude":"2d7cef40","hex_latitude":"05d63ea0","is_valid_coordinates":true} 
[2026-08-02 08:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123892480001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113719446824026112,"note":"Value kept but may cause issues"} 
[2026-08-02 08:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003540105110654976,"note":"Value kept but may cause issues"} 
[2026-08-02 08:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785640212000,"timestamp_ms":1785640212000,"timestamp_seconds":1785640212,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0735620"} 
[2026-08-02 08:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 08:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123892480001,"66":13102,"29":206,"85":15104,"24":55,"16":113719446824026112,"45":9003540105110654976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-02 08:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123892480001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:41:26] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-02 08:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113719446824026112,"km_value":113719446824026.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003540105110654976,"description":"Unknown IO ID 45"} 
[2026-08-02 08:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123892480001,"power":13102,"unknown_29":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9003540105110654976}} 
[2026-08-02 08:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":146483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:41:26] local.INFO: GPS data processed {"connection_id":146483,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:41:26] local.INFO: Acknowledgment sent {"connection_id":146483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:41:41] local.INFO: TCP Data received {"connection_id":147716,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:41:41] local.INFO: Processing buffer {"connection_id":147716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:41:41] local.INFO: IMEI packet received {"connection_id":147716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":147716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:41:47] local.INFO: TCP Data received {"connection_id":147716,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:41:47] local.INFO: Processing buffer {"connection_id":147716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:41:47] local.INFO: IMEI packet received {"connection_id":147716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":147716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:41:48] local.INFO: TCP Data received {"connection_id":147716,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:41:48] local.INFO: Processing buffer {"connection_id":147716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc06fa4d0012cb2ab00077518b00021002826..."} 
[2026-08-02 08:41:48] local.INFO: Packet analysis {"connection_id":147716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:41:48] local.INFO: Extracted packet for processing {"connection_id":147716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc06f"} 
[2026-08-02 08:41:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123755264001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:41:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785639970000,"timestamp_ms":1785639970000,"timestamp_seconds":1785639970,"priority":1,"record_length":96,"hex_timestamp":"0000019fc06fa4d0"} 
[2026-08-02 08:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 08:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123755264001,"66":25875,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123755264001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:41:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:41:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:41:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123755264001,"power":25875,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":147716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:41:48] local.INFO: GPS data processed {"connection_id":147716,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:41:48] local.INFO: Acknowledgment sent {"connection_id":147716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:42:05] local.INFO: TCP Data received {"connection_id":149031,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:42:05] local.INFO: Processing buffer {"connection_id":149031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:42:05] local.INFO: IMEI packet received {"connection_id":149031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":149031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:42:07] local.INFO: TCP Data received {"connection_id":149031,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:42:07] local.INFO: Processing buffer {"connection_id":149031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:42:07] local.INFO: IMEI packet received {"connection_id":149031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":149031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:42:10] local.INFO: TCP Data received {"connection_id":149031,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:42:10] local.INFO: Processing buffer {"connection_id":149031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:42:10] local.INFO: IMEI packet received {"connection_id":149031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":149031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:42:11] local.INFO: TCP Data received {"connection_id":149031,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0749288012d7c9f4005d7d520000b016318..."} 
[2026-08-02 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0749288012d7c9f4005d7d520000b016318..."} 
[2026-08-02 08:42:11] local.INFO: Processing buffer {"connection_id":149031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0749288012d7c9f4005d7d520000b016318..."} 
[2026-08-02 08:42:11] local.INFO: Packet analysis {"connection_id":149031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:42:11] local.INFO: Extracted packet for processing {"connection_id":149031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763141952,"raw_latitude":98030880,"longitude_deg":76.3141952,"latitude_deg":9.803088,"altitude":11,"angle":355,"satellites":24,"speed":23,"hex_longitude":"2d7c9f40","hex_latitude":"05d7d520","is_valid_coordinates":true} 
[2026-08-02 08:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123911168001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113724600784781312,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981022107000422400,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785640293000,"timestamp_ms":1785640293000,"timestamp_seconds":1785640293,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0749288"} 
[2026-08-02 08:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-02 08:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123911168001,"66":13048,"196":206,"85":15104,"24":23,"16":113724600784781312,"45":8981022107000422400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-02 08:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123911168001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:42:11] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-02 08:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113724600784781312,"km_value":113724600784781.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981022107000422400,"description":"Unknown IO ID 45"} 
[2026-08-02 08:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123911168001,"power":13048,"unknown_196":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8981022107000422400}} 
[2026-08-02 08:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":149031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:42:11] local.INFO: GPS data processed {"connection_id":149031,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:42:11] local.INFO: Acknowledgment sent {"connection_id":149031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:42:14] local.INFO: TCP Data received {"connection_id":149031,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc074bd80012d7c9c8005d7f9180008016417..."} 
[2026-08-02 08:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc074bd80012d7c9c8005d7f9180008016417..."} 
[2026-08-02 08:42:14] local.INFO: Processing buffer {"connection_id":149031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc074bd80012d7c9c8005d7f9180008016417..."} 
[2026-08-02 08:42:14] local.INFO: Packet analysis {"connection_id":149031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:42:14] local.INFO: Extracted packet for processing {"connection_id":149031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:42:14] local.INFO: GPS Element Parsed {"raw_longitude":763141248,"raw_latitude":98040088,"longitude_deg":76.3141248,"latitude_deg":9.8040088,"altitude":8,"angle":356,"satellites":23,"speed":45,"hex_longitude":"2d7c9c80","hex_latitude":"05d7f918","is_valid_coordinates":true} 
[2026-08-02 08:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123915008001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113725047461380096,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979966575840141312,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785640304000,"timestamp_ms":1785640304000,"timestamp_seconds":1785640304,"priority":1,"record_length":96,"hex_timestamp":"0000019fc074bd80"} 
[2026-08-02 08:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-02 08:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123915008001,"66":12917,"195":206,"85":15104,"24":45,"16":113725047461380096,"45":8979966575840141312},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-02 08:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123915008001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:42:14] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-02 08:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113725047461380096,"km_value":113725047461380.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979966575840141312,"description":"Unknown IO ID 45"} 
[2026-08-02 08:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123915008001,"power":12917,"unknown_195":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8979966575840141312}} 
[2026-08-02 08:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":149031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:42:14] local.INFO: GPS data processed {"connection_id":149031,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:42:14] local.INFO: Acknowledgment sent {"connection_id":149031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:42:20] local.INFO: TCP Data received {"connection_id":147716,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:42:20] local.INFO: Processing buffer {"connection_id":147716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:42:20] local.INFO: Packet analysis {"connection_id":147716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:42:20] local.INFO: Extracted packet for processing {"connection_id":147716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:42:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":36,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123832320001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785640271000,"timestamp_ms":1785640271000,"timestamp_seconds":1785640271,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0743c98"} 
[2026-08-02 08:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-02 08:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123832320001,"66":25832,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123832320001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:42:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:42:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123832320001,"power":25832,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":147716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:42:20] local.INFO: GPS data processed {"connection_id":147716,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:42:20] local.INFO: Acknowledgment sent {"connection_id":147716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:42:47] local.INFO: TCP Data received {"connection_id":146484,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:42:47] local.INFO: Processing buffer {"connection_id":146484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:42:47] local.INFO: IMEI packet received {"connection_id":146484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":146484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:42:51] local.INFO: TCP Data received {"connection_id":149031,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc074dcc0012d7c9ac005d81f880008016415..."} 
[2026-08-02 08:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc074dcc0012d7c9ac005d81f880008016415..."} 
[2026-08-02 08:42:51] local.INFO: Processing buffer {"connection_id":149031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc074dcc0012d7c9ac005d81f880008016415..."} 
[2026-08-02 08:42:51] local.INFO: Packet analysis {"connection_id":149031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:42:51] local.INFO: Extracted packet for processing {"connection_id":149031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:42:51] local.INFO: GPS Element Parsed {"raw_longitude":763140800,"raw_latitude":98049928,"longitude_deg":76.31408,"latitude_deg":9.8049928,"altitude":8,"angle":356,"satellites":21,"speed":52,"hex_longitude":"2d7c9ac0","hex_latitude":"05d81f88","is_valid_coordinates":true} 
[2026-08-02 08:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123917824001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113725528497717248,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979192519656544256,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785640312000,"timestamp_ms":1785640312000,"timestamp_seconds":1785640312,"priority":1,"record_length":96,"hex_timestamp":"0000019fc074dcc0"} 
[2026-08-02 08:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-02 08:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123917824001,"66":13254,"195":206,"85":15104,"24":52,"16":113725528497717248,"45":8979192519656544256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-02 08:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123917824001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:42:51] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-02 08:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113725528497717248,"km_value":113725528497717.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979192519656544256,"description":"Unknown IO ID 45"} 
[2026-08-02 08:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123917824001,"power":13254,"unknown_195":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8979192519656544256}} 
[2026-08-02 08:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":149031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:42:51] local.INFO: GPS data processed {"connection_id":149031,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:42:51] local.INFO: Acknowledgment sent {"connection_id":149031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:42:51] local.INFO: TCP Data received {"connection_id":146484,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:42:51] local.INFO: Processing buffer {"connection_id":146484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:42:51] local.INFO: IMEI packet received {"connection_id":146484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":146484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:42:52] local.INFO: TCP Data received {"connection_id":146484,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:42:52] local.INFO: Processing buffer {"connection_id":146484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:42:52] local.INFO: Packet analysis {"connection_id":146484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:42:52] local.INFO: Extracted packet for processing {"connection_id":146484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:42:52] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":36,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123832320001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785640271000,"timestamp_ms":1785640271000,"timestamp_seconds":1785640271,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0743c98"} 
[2026-08-02 08:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-02 08:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123832320001,"66":25832,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123832320001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:42:52] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:42:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:42:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123832320001,"power":25832,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":146484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:42:52] local.INFO: GPS data processed {"connection_id":146484,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:42:52] local.INFO: Acknowledgment sent {"connection_id":146484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:42:57] local.INFO: TCP Data received {"connection_id":146484,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:42:57] local.INFO: Processing buffer {"connection_id":146484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:42:57] local.INFO: Packet analysis {"connection_id":146484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:42:57] local.INFO: Extracted packet for processing {"connection_id":146484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:42:57] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":36,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123832320001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785640271000,"timestamp_ms":1785640271000,"timestamp_seconds":1785640271,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0743c98"} 
[2026-08-02 08:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-02 08:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123832320001,"66":25832,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123832320001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:42:57] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:42:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:42:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123832320001,"power":25832,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":146484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:42:57] local.INFO: GPS data processed {"connection_id":146484,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:42:57] local.INFO: Acknowledgment sent {"connection_id":146484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:43:05] local.INFO: TCP Data received {"connection_id":149032,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:43:05] local.INFO: Processing buffer {"connection_id":149032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:43:05] local.INFO: IMEI packet received {"connection_id":149032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":149032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:43:13] local.INFO: TCP Data received {"connection_id":149032,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:43:13] local.INFO: Processing buffer {"connection_id":149032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:43:13] local.INFO: IMEI packet received {"connection_id":149032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":149032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:43:14] local.INFO: TCP Data received {"connection_id":149032,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc074f818012d7c998005d846480009016417..."} 
[2026-08-02 08:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc074f818012d7c998005d846480009016417..."} 
[2026-08-02 08:43:14] local.INFO: Processing buffer {"connection_id":149032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc074f818012d7c998005d846480009016417..."} 
[2026-08-02 08:43:14] local.INFO: Packet analysis {"connection_id":149032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:43:14] local.INFO: Extracted packet for processing {"connection_id":149032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763140480,"raw_latitude":98059848,"longitude_deg":76.314048,"latitude_deg":9.8059848,"altitude":9,"angle":356,"satellites":23,"speed":58,"hex_longitude":"2d7c9980","hex_latitude":"05d84648","is_valid_coordinates":true} 
[2026-08-02 08:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123919872001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113726009534054400,"note":"Value kept but may cause issues"} 
[2026-08-02 08:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978699938449819648,"note":"Value kept but may cause issues"} 
[2026-08-02 08:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785640319000,"timestamp_ms":1785640319000,"timestamp_seconds":1785640319,"priority":1,"record_length":96,"hex_timestamp":"0000019fc074f818"} 
[2026-08-02 08:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-02 08:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123919872001,"66":13189,"195":206,"85":15104,"24":58,"16":113726009534054400,"45":8978699938449819648},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-02 08:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123919872001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:43:14] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-02 08:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113726009534054400,"km_value":113726009534054.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978699938449819648,"description":"Unknown IO ID 45"} 
[2026-08-02 08:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123919872001,"power":13189,"unknown_195":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8978699938449819648}} 
[2026-08-02 08:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":149032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:43:14] local.INFO: GPS data processed {"connection_id":149032,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:43:14] local.INFO: Acknowledgment sent {"connection_id":149032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:43:42] local.INFO: TCP Data received {"connection_id":146485,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:43:42] local.INFO: Processing buffer {"connection_id":146485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:43:42] local.INFO: IMEI packet received {"connection_id":146485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":146485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:43:46] local.INFO: TCP Data received {"connection_id":149032,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0764038012d7c680005da26900007015a10..."} 
[2026-08-02 08:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0764038012d7c680005da26900007015a10..."} 
[2026-08-02 08:43:46] local.INFO: Processing buffer {"connection_id":149032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0764038012d7c680005da26900007015a10..."} 
[2026-08-02 08:43:46] local.INFO: Packet analysis {"connection_id":149032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc076"} 
[2026-08-02 08:43:46] local.INFO: Extracted packet for processing {"connection_id":149032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc076"} 
[2026-08-02 08:43:46] local.INFO: GPS Element Parsed {"raw_longitude":763127808,"raw_latitude":98182800,"longitude_deg":76.3127808,"latitude_deg":9.81828,"altitude":7,"angle":346,"satellites":16,"speed":70,"hex_longitude":"2d7c6800","hex_latitude":"05da2690","is_valid_coordinates":true} 
[2026-08-02 08:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123941888001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113732009603366912,"note":"Value kept but may cause issues"} 
[2026-08-02 08:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966666883227228160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785640403000,"timestamp_ms":1785640403000,"timestamp_seconds":1785640403,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0764038"} 
[2026-08-02 08:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-02 08:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123941888001,"66":12917,"245":206,"85":15104,"24":70,"16":113732009603366912,"45":8966666883227228160},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-02 08:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123941888001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:43:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113732009603366912,"km_value":113732009603366.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966666883227228160,"description":"Unknown IO ID 45"} 
[2026-08-02 08:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123941888001,"power":12917,"geofence_id":206,"unknown_85":15104,"ignition":70,"odometer":null,"unknown_45":8966666883227228160}} 
[2026-08-02 08:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":149032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:43:46] local.INFO: GPS data processed {"connection_id":149032,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:43:46] local.INFO: Acknowledgment sent {"connection_id":149032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:43:47] local.INFO: TCP Data received {"connection_id":146485,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:43:47] local.INFO: Processing buffer {"connection_id":146485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:43:47] local.INFO: IMEI packet received {"connection_id":146485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":146485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:43:48] local.INFO: TCP Data received {"connection_id":146485,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:43:48] local.INFO: Processing buffer {"connection_id":146485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:43:48] local.INFO: Packet analysis {"connection_id":146485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:43:48] local.INFO: Extracted packet for processing {"connection_id":146485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:43:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":36,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123832320001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:43:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785640271000,"timestamp_ms":1785640271000,"timestamp_seconds":1785640271,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0743c98"} 
[2026-08-02 08:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-02 08:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123832320001,"66":25832,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123832320001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:43:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:43:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:43:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123832320001,"power":25832,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":146485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:43:48] local.INFO: GPS data processed {"connection_id":146485,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:43:48] local.INFO: Acknowledgment sent {"connection_id":146485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:44:05] local.INFO: TCP Data received {"connection_id":146486,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:44:05] local.INFO: Processing buffer {"connection_id":146486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:44:05] local.INFO: IMEI packet received {"connection_id":146486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":146486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:44:06] local.INFO: TCP Data received {"connection_id":146486,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:44:06] local.INFO: Processing buffer {"connection_id":146486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:44:06] local.INFO: IMEI packet received {"connection_id":146486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":146486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:44:10] local.INFO: TCP Data received {"connection_id":146486,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:44:10] local.INFO: Processing buffer {"connection_id":146486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:44:10] local.INFO: IMEI packet received {"connection_id":146486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":146486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:44:11] local.INFO: TCP Data received {"connection_id":146486,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07657a8012d7c5bc005da4c900007015714..."} 
[2026-08-02 08:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07657a8012d7c5bc005da4c900007015714..."} 
[2026-08-02 08:44:11] local.INFO: Processing buffer {"connection_id":146486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07657a8012d7c5bc005da4c900007015714..."} 
[2026-08-02 08:44:11] local.INFO: Packet analysis {"connection_id":146486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc076"} 
[2026-08-02 08:44:11] local.INFO: Extracted packet for processing {"connection_id":146486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc076"} 
[2026-08-02 08:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763124672,"raw_latitude":98192528,"longitude_deg":76.3124672,"latitude_deg":9.8192528,"altitude":7,"angle":343,"satellites":20,"speed":62,"hex_longitude":"2d7c5bc0","hex_latitude":"05da4c90","is_valid_coordinates":true} 
[2026-08-02 08:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123943168001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113732503524605952,"note":"Value kept but may cause issues"} 
[2026-08-02 08:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964415083415769088,"note":"Value kept but may cause issues"} 
[2026-08-02 08:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785640409000,"timestamp_ms":1785640409000,"timestamp_seconds":1785640409,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07657a8"} 
[2026-08-02 08:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-02 08:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123943168001,"66":12885,"245":206,"85":15104,"24":62,"16":113732503524605952,"45":8964415083415769088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-02 08:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123943168001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113732503524605952,"km_value":113732503524605.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964415083415769088,"description":"Unknown IO ID 45"} 
[2026-08-02 08:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123943168001,"power":12885,"geofence_id":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":8964415083415769088}} 
[2026-08-02 08:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":146486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:44:11] local.INFO: GPS data processed {"connection_id":146486,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:44:11] local.INFO: Acknowledgment sent {"connection_id":146486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:44:20] local.INFO: TCP Data received {"connection_id":146485,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:44:20] local.INFO: Processing buffer {"connection_id":146485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:44:20] local.INFO: Packet analysis {"connection_id":146485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:44:20] local.INFO: Extracted packet for processing {"connection_id":146485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:44:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":36,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123832320001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785640271000,"timestamp_ms":1785640271000,"timestamp_seconds":1785640271,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0743c98"} 
[2026-08-02 08:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-02 08:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123832320001,"66":25832,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123832320001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:44:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:44:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123832320001,"power":25832,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":146485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:44:20] local.INFO: GPS data processed {"connection_id":146485,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:44:20] local.INFO: Acknowledgment sent {"connection_id":146485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:44:42] local.INFO: TCP Data received {"connection_id":146486,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07676e8012d7c500005da6f780006015713..."} 
[2026-08-02 08:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07676e8012d7c500005da6f780006015713..."} 
[2026-08-02 08:44:42] local.INFO: Processing buffer {"connection_id":146486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07676e8012d7c500005da6f780006015713..."} 
[2026-08-02 08:44:42] local.INFO: Packet analysis {"connection_id":146486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc076"} 
[2026-08-02 08:44:42] local.INFO: Extracted packet for processing {"connection_id":146486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc076"} 
[2026-08-02 08:44:42] local.INFO: GPS Element Parsed {"raw_longitude":763121664,"raw_latitude":98201464,"longitude_deg":76.3121664,"latitude_deg":9.8201464,"altitude":6,"angle":343,"satellites":19,"speed":35,"hex_longitude":"2d7c5000","hex_latitude":"05da6f78","is_valid_coordinates":true} 
[2026-08-02 08:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123944704001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113732958791139328,"note":"Value kept but may cause issues"} 
[2026-08-02 08:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960967014953553920,"note":"Value kept but may cause issues"} 
[2026-08-02 08:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785640417000,"timestamp_ms":1785640417000,"timestamp_seconds":1785640417,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07676e8"} 
[2026-08-02 08:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:44: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-08-02 08: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 08:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123944704001,"66":12982,"245":206,"85":15104,"24":35,"16":113732958791139328,"45":8960967014953553920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-02 08:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123944704001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113732958791139328,"km_value":113732958791139.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960967014953553920,"description":"Unknown IO ID 45"} 
[2026-08-02 08:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123944704001,"power":12982,"geofence_id":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8960967014953553920}} 
[2026-08-02 08:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":146486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:44:42] local.INFO: GPS data processed {"connection_id":146486,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:44:42] local.INFO: Acknowledgment sent {"connection_id":146486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:44:42] local.INFO: TCP Data received {"connection_id":146699,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:44:42] local.INFO: Processing buffer {"connection_id":146699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:44:42] local.INFO: IMEI packet received {"connection_id":146699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":146699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:44:47] local.INFO: TCP Data received {"connection_id":146699,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:44:47] local.INFO: Processing buffer {"connection_id":146699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:44:47] local.INFO: IMEI packet received {"connection_id":146699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":146699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:44:48] local.INFO: TCP Data received {"connection_id":146699,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:44:48] local.INFO: Processing buffer {"connection_id":146699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:44:48] local.INFO: Packet analysis {"connection_id":146699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:44:48] local.INFO: Extracted packet for processing {"connection_id":146699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:44:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":36,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123832320001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:44:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785640271000,"timestamp_ms":1785640271000,"timestamp_seconds":1785640271,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0743c98"} 
[2026-08-02 08:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-02 08:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123832320001,"66":25832,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123832320001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:44:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:44:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:44:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123832320001,"power":25832,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":146699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:44:48] local.INFO: GPS data processed {"connection_id":146699,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:44:48] local.INFO: Acknowledgment sent {"connection_id":146699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:45:05] local.INFO: TCP Data received {"connection_id":149033,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:45:05] local.INFO: Processing buffer {"connection_id":149033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:45:05] local.INFO: IMEI packet received {"connection_id":149033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":149033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:45:10] local.INFO: TCP Data received {"connection_id":149033,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:45:10] local.INFO: Processing buffer {"connection_id":149033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:45:10] local.INFO: IMEI packet received {"connection_id":149033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":149033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:45:10] local.INFO: TCP Data received {"connection_id":149033,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:45:10] local.INFO: Processing buffer {"connection_id":149033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:45:10] local.INFO: IMEI packet received {"connection_id":149033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":149033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:45:11] local.INFO: TCP Data received {"connection_id":149033,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc076a1e0012d7c430005da90f00004015315..."} 
[2026-08-02 08:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc076a1e0012d7c430005da90f00004015315..."} 
[2026-08-02 08:45:11] local.INFO: Processing buffer {"connection_id":149033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc076a1e0012d7c430005da90f00004015315..."} 
[2026-08-02 08:45:11] local.INFO: Packet analysis {"connection_id":149033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc076"} 
[2026-08-02 08:45:11] local.INFO: Extracted packet for processing {"connection_id":149033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc076"} 
[2026-08-02 08:45:11] local.INFO: GPS Element Parsed {"raw_longitude":763118336,"raw_latitude":98210032,"longitude_deg":76.3118336,"latitude_deg":9.8210032,"altitude":4,"angle":339,"satellites":21,"speed":38,"hex_longitude":"2d7c4300","hex_latitude":"05da90f0","is_valid_coordinates":true} 
[2026-08-02 08:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123946752001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113733405467738112,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957659683979491328,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45: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-08-02 08:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785640428000,"timestamp_ms":1785640428000,"timestamp_seconds":1785640428,"priority":1,"record_length":96,"hex_timestamp":"0000019fc076a1e0"} 
[2026-08-02 08:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-02 08:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123946752001,"66":12939,"187":206,"85":15104,"24":38,"16":113733405467738112,"45":8957659683979491328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-02 08:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123946752001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:45:11] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-02 08:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113733405467738112,"km_value":113733405467738.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957659683979491328,"description":"Unknown IO ID 45"} 
[2026-08-02 08:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123946752001,"power":12939,"unknown_187":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8957659683979491328}} 
[2026-08-02 08:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":149033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:45:11] local.INFO: GPS data processed {"connection_id":149033,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:45:11] local.INFO: Acknowledgment sent {"connection_id":149033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:45:16] local.INFO: TCP Data received {"connection_id":149033,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc076c120012d7c370005dab2680003015215..."} 
[2026-08-02 08:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc076c120012d7c370005dab2680003015215..."} 
[2026-08-02 08:45:16] local.INFO: Processing buffer {"connection_id":149033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc076c120012d7c370005dab2680003015215..."} 
[2026-08-02 08:45:16] local.INFO: Packet analysis {"connection_id":149033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc076"} 
[2026-08-02 08:45:16] local.INFO: Extracted packet for processing {"connection_id":149033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc076"} 
[2026-08-02 08:45:16] local.INFO: GPS Element Parsed {"raw_longitude":763115264,"raw_latitude":98218600,"longitude_deg":76.3115264,"latitude_deg":9.82186,"altitude":3,"angle":338,"satellites":21,"speed":46,"hex_longitude":"2d7c3700","hex_latitude":"05dab268","is_valid_coordinates":true} 
[2026-08-02 08:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123949568001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113733847849369600,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954000509284446208,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45: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-08-02 08:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785640436000,"timestamp_ms":1785640436000,"timestamp_seconds":1785640436,"priority":1,"record_length":96,"hex_timestamp":"0000019fc076c120"} 
[2026-08-02 08:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-02 08:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123949568001,"66":13243,"187":206,"85":15104,"24":46,"16":113733847849369600,"45":8954000509284446208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-02 08:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123949568001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:45:16] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-02 08:45:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113733847849369600,"km_value":113733847849369.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954000509284446208,"description":"Unknown IO ID 45"} 
[2026-08-02 08:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123949568001,"power":13243,"unknown_187":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8954000509284446208}} 
[2026-08-02 08:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":149033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:45:16] local.INFO: GPS data processed {"connection_id":149033,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:45:16] local.INFO: Acknowledgment sent {"connection_id":149033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:45:20] local.INFO: TCP Data received {"connection_id":146699,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:45:20] local.INFO: Processing buffer {"connection_id":146699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:45:20] local.INFO: Packet analysis {"connection_id":146699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:45:20] local.INFO: Extracted packet for processing {"connection_id":146699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:45:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":36,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123832320001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785640271000,"timestamp_ms":1785640271000,"timestamp_seconds":1785640271,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0743c98"} 
[2026-08-02 08:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-02 08:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123832320001,"66":25832,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123832320001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:45:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:45:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123832320001,"power":25832,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":146699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:45:20] local.INFO: GPS data processed {"connection_id":146699,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:45:20] local.INFO: Acknowledgment sent {"connection_id":146699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:45:41] local.INFO: TCP Data received {"connection_id":147717,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:45:41] local.INFO: Processing buffer {"connection_id":147717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:45:41] local.INFO: IMEI packet received {"connection_id":147717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":147717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:45:47] local.INFO: TCP Data received {"connection_id":147717,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:45:47] local.INFO: Processing buffer {"connection_id":147717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:45:47] local.INFO: IMEI packet received {"connection_id":147717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":147717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:45:47] local.INFO: TCP Data received {"connection_id":149033,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc076e448012d7c2ac005dad6880003015515..."} 
[2026-08-02 08:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc076e448012d7c2ac005dad6880003015515..."} 
[2026-08-02 08:45:47] local.INFO: Processing buffer {"connection_id":149033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc076e448012d7c2ac005dad6880003015515..."} 
[2026-08-02 08:45:47] local.INFO: Packet analysis {"connection_id":149033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc076"} 
[2026-08-02 08:45:47] local.INFO: Extracted packet for processing {"connection_id":149033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc076"} 
[2026-08-02 08:45:47] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98227848,"longitude_deg":76.3112128,"latitude_deg":9.8227848,"altitude":3,"angle":341,"satellites":21,"speed":38,"hex_longitude":"2d7c2ac0","hex_latitude":"05dad688","is_valid_coordinates":true} 
[2026-08-02 08:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123951616001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113734320295772160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950622809566111744,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785640445000,"timestamp_ms":1785640445000,"timestamp_seconds":1785640445,"priority":1,"record_length":96,"hex_timestamp":"0000019fc076e448"} 
[2026-08-02 08:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-02 08:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123951616001,"66":13298,"187":206,"85":15104,"24":38,"16":113734320295772160,"45":8950622809566111744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-02 08:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123951616001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:45:47] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-02 08:45:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113734320295772160,"km_value":113734320295772.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950622809566111744,"description":"Unknown IO ID 45"} 
[2026-08-02 08:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123951616001,"power":13298,"unknown_187":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8950622809566111744}} 
[2026-08-02 08:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":149033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:45:47] local.INFO: GPS data processed {"connection_id":149033,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:45:47] local.INFO: Acknowledgment sent {"connection_id":149033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:45:48] local.INFO: TCP Data received {"connection_id":147717,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:45:48] local.INFO: Processing buffer {"connection_id":147717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:45:48] local.INFO: Packet analysis {"connection_id":147717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:45:48] local.INFO: Extracted packet for processing {"connection_id":147717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:45:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":36,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123832320001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785640271000,"timestamp_ms":1785640271000,"timestamp_seconds":1785640271,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0743c98"} 
[2026-08-02 08:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-02 08:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123832320001,"66":25832,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123832320001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:45:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:45:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:45:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123832320001,"power":25832,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":147717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:45:48] local.INFO: GPS data processed {"connection_id":147717,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:45:48] local.INFO: Acknowledgment sent {"connection_id":147717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:46:05] local.INFO: TCP Data received {"connection_id":146487,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:46:05] local.INFO: Processing buffer {"connection_id":146487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:46:05] local.INFO: IMEI packet received {"connection_id":146487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":146487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:46:10] local.INFO: TCP Data received {"connection_id":146487,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:46:10] local.INFO: Processing buffer {"connection_id":146487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:46:10] local.INFO: IMEI packet received {"connection_id":146487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":146487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:46:11] local.INFO: TCP Data received {"connection_id":146487,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0785f30012d7b234005dac9900008010221..."} 
[2026-08-02 08:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0785f30012d7b234005dac9900008010221..."} 
[2026-08-02 08:46:11] local.INFO: Processing buffer {"connection_id":146487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0785f30012d7b234005dac9900008010221..."} 
[2026-08-02 08:46:11] local.INFO: Packet analysis {"connection_id":146487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:46:11] local.INFO: Extracted packet for processing {"connection_id":146487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763044672,"raw_latitude":98224528,"longitude_deg":76.3044672,"latitude_deg":9.8224528,"altitude":8,"angle":258,"satellites":33,"speed":13,"hex_longitude":"2d7b2340","hex_latitude":"05dac990","is_valid_coordinates":true} 
[2026-08-02 08:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123975424001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113737820694118400,"note":"Value kept but may cause issues"} 
[2026-08-02 08:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882787340180977664,"note":"Value kept but may cause issues"} 
[2026-08-02 08:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785640542000,"timestamp_ms":1785640542000,"timestamp_seconds":1785640542,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0785f30"} 
[2026-08-02 08:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-02 08:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123975424001,"66":13363,"188":206,"85":15104,"24":13,"16":113737820694118400,"45":8882787340180977664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 08:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123975424001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:46:11] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 08:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113737820694118400,"km_value":113737820694118.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882787340180977664,"description":"Unknown IO ID 45"} 
[2026-08-02 08:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123975424001,"power":13363,"unknown_188":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8882787340180977664}} 
[2026-08-02 08:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":146487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:46:11] local.INFO: GPS data processed {"connection_id":146487,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:46:11] local.INFO: Acknowledgment sent {"connection_id":146487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:46:20] local.INFO: TCP Data received {"connection_id":147717,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:46:20] local.INFO: Processing buffer {"connection_id":147717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:46:20] local.INFO: Packet analysis {"connection_id":147717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:46:20] local.INFO: Extracted packet for processing {"connection_id":147717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:46:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":36,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123832320001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785640271000,"timestamp_ms":1785640271000,"timestamp_seconds":1785640271,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0743c98"} 
[2026-08-02 08:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-02 08:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123832320001,"66":25832,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123832320001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:46:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:46:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:46:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123832320001,"power":25832,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":147717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:46:20] local.INFO: GPS data processed {"connection_id":147717,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:46:20] local.INFO: Acknowledgment sent {"connection_id":147717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:46:41] local.INFO: TCP Data received {"connection_id":147718,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:46:41] local.INFO: Processing buffer {"connection_id":147718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:46:41] local.INFO: IMEI packet received {"connection_id":147718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":147718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:46:42] local.INFO: TCP Data received {"connection_id":146487,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0788e10012d7b000005dac198000901001f..."} 
[2026-08-02 08:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0788e10012d7b000005dac198000901001f..."} 
[2026-08-02 08:46:42] local.INFO: Processing buffer {"connection_id":146487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0788e10012d7b000005dac198000901001f..."} 
[2026-08-02 08:46:42] local.INFO: Packet analysis {"connection_id":146487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:46:42] local.INFO: Extracted packet for processing {"connection_id":146487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763035648,"raw_latitude":98222488,"longitude_deg":76.3035648,"latitude_deg":9.8222488,"altitude":9,"angle":256,"satellites":31,"speed":43,"hex_longitude":"2d7b0000","hex_latitude":"05dac198","is_valid_coordinates":true} 
[2026-08-02 08:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123978752001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113738258780782592,"note":"Value kept but may cause issues"} 
[2026-08-02 08:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873006084739665920,"note":"Value kept but may cause issues"} 
[2026-08-02 08:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785640554000,"timestamp_ms":1785640554000,"timestamp_seconds":1785640554,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0788e10"} 
[2026-08-02 08:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:46: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-08-02 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 08:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123978752001,"66":13363,"188":206,"85":15104,"24":43,"16":113738258780782592,"45":8873006084739665920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 08:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123978752001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:46:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 08:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113738258780782592,"km_value":113738258780782.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873006084739665920,"description":"Unknown IO ID 45"} 
[2026-08-02 08:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123978752001,"power":13363,"unknown_188":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8873006084739665920}} 
[2026-08-02 08:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":146487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:46:42] local.INFO: GPS data processed {"connection_id":146487,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:46:42] local.INFO: Acknowledgment sent {"connection_id":146487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:46:47] local.INFO: TCP Data received {"connection_id":147718,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:46:47] local.INFO: Processing buffer {"connection_id":147718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:46:47] local.INFO: IMEI packet received {"connection_id":147718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":147718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:46:48] local.INFO: TCP Data received {"connection_id":147718,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:46:48] local.INFO: Processing buffer {"connection_id":147718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0743c98012cb2ab00077518b0001b002824..."} 
[2026-08-02 08:46:48] local.INFO: Packet analysis {"connection_id":147718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:46:48] local.INFO: Extracted packet for processing {"connection_id":147718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc074"} 
[2026-08-02 08:46:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":36,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123832320001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:46:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785640271000,"timestamp_ms":1785640271000,"timestamp_seconds":1785640271,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0743c98"} 
[2026-08-02 08:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-02 08:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123832320001,"66":25832,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123832320001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:46:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:46:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:46:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123832320001,"power":25832,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":147718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:46:48] local.INFO: GPS data processed {"connection_id":147718,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:46:48] local.INFO: Acknowledgment sent {"connection_id":147718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:47:06] local.INFO: TCP Data received {"connection_id":146488,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:47:06] local.INFO: Processing buffer {"connection_id":146488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:47:06] local.INFO: IMEI packet received {"connection_id":146488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":146488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:47:10] local.INFO: TCP Data received {"connection_id":146488,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:47:10] local.INFO: Processing buffer {"connection_id":146488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:47:10] local.INFO: IMEI packet received {"connection_id":146488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":146488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:47:11] local.INFO: TCP Data received {"connection_id":146488,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:47:11] local.INFO: Processing buffer {"connection_id":146488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:47:11] local.INFO: IMEI packet received {"connection_id":146488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":146488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:47:12] local.INFO: TCP Data received {"connection_id":146488,"ip":"42.106.6.40","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fc0..."} 
[2026-08-02 08:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146488,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fc0..."} 
[2026-08-02 08:47:12] local.INFO: Processing buffer {"connection_id":146488,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fc0..."} 
[2026-08-02 08:47:12] local.INFO: IMEI packet received {"connection_id":146488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":146488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:47:14] local.INFO: TCP Data received {"connection_id":146488,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc078d848012d7aba8005daae580009010220..."} 
[2026-08-02 08:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc078d848012d7aba8005daae580009010220..."} 
[2026-08-02 08:47:14] local.INFO: Processing buffer {"connection_id":146488,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc078b138012d7adc8005dab9a8000800fd1f..."} 
[2026-08-02 08:47:14] local.INFO: Packet analysis {"connection_id":146488,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:47:14] local.INFO: Extracted packet for processing {"connection_id":146488,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:47:14] local.INFO: GPS Element Parsed {"raw_longitude":763026560,"raw_latitude":98220456,"longitude_deg":76.302656,"latitude_deg":9.8220456,"altitude":8,"angle":253,"satellites":31,"speed":41,"hex_longitude":"2d7adc80","hex_latitude":"05dab9a8","is_valid_coordinates":true} 
[2026-08-02 08:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123981824001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113738705457381376,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863084091810093056,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785640563000,"timestamp_ms":1785640563000,"timestamp_seconds":1785640563,"priority":1,"record_length":96,"hex_timestamp":"0000019fc078b138"} 
[2026-08-02 08:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 08:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123981824001,"66":12809,"188":206,"85":15104,"24":41,"16":113738705457381376,"45":8863084091810093056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 08:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123981824001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:47:14] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 08:47:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113738705457381376,"km_value":113738705457381.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863084091810093056,"description":"Unknown IO ID 45"} 
[2026-08-02 08:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123981824001,"power":12809,"unknown_188":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8863084091810093056}} 
[2026-08-02 08:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":146488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:47:14] local.INFO: GPS data processed {"connection_id":146488,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:47:14] local.INFO: Acknowledgment sent {"connection_id":146488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:47:14] local.INFO: Packet analysis {"connection_id":146488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:47:14] local.INFO: Extracted packet for processing {"connection_id":146488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:47:14] local.INFO: GPS Element Parsed {"raw_longitude":763017856,"raw_latitude":98217560,"longitude_deg":76.3017856,"latitude_deg":9.821756,"altitude":9,"angle":258,"satellites":32,"speed":18,"hex_longitude":"2d7aba80","hex_latitude":"05daae58","is_valid_coordinates":true} 
[2026-08-02 08:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123984128001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113739143544045568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8853091730136344576,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785640573000,"timestamp_ms":1785640573000,"timestamp_seconds":1785640573,"priority":1,"record_length":96,"hex_timestamp":"0000019fc078d848"} 
[2026-08-02 08:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1008806316698764288,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3229072160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":192,"raw_value":8614330561055151680,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797338830,"corrected_to":0} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154086,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2671496596046148320,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971747872631370155,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755592714715377,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:14] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,188,85,24,241,157,16,20,159,142,45,193,9,31,10,66,95,64,201,8,33,19,44,1,240,215,227,192,218,4,113,205,28,140,216,32,239,50,187,2,148,5,7,51,59,83],"length":535,"final_offset":665,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2797338830,"validated":0}]} 
[2026-08-02 08:47:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576739061891923968,"timestamp_seconds":576739061891924.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 08:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123984128001,"66":12472,"188":206,"85":15104,"24":18,"16":113739143544045568,"45":8853091730136344576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 08:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123984128001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:47:14] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 08:47:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113739143544045568,"km_value":113739143544045.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8853091730136344576,"description":"Unknown IO ID 45"} 
[2026-08-02 08:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123984128001,"power":12472,"unknown_188":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8853091730136344576}} 
[2026-08-02 08:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":146488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:47:14] local.INFO: GPS data processed {"connection_id":146488,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:47:14] local.INFO: Acknowledgment sent {"connection_id":146488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:47:15] local.INFO: TCP Data received {"connection_id":146488,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc078e018012d7ab74005daad70000900f520..."} 
[2026-08-02 08:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc078e018012d7ab74005daad70000900f520..."} 
[2026-08-02 08:47:15] local.INFO: Processing buffer {"connection_id":146488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc078e018012d7ab74005daad70000900f520..."} 
[2026-08-02 08:47:15] local.INFO: Packet analysis {"connection_id":146488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:47:15] local.INFO: Extracted packet for processing {"connection_id":146488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:47:15] local.INFO: GPS Element Parsed {"raw_longitude":763017024,"raw_latitude":98217328,"longitude_deg":76.3017024,"latitude_deg":9.8217328,"altitude":9,"angle":245,"satellites":32,"speed":17,"hex_longitude":"2d7ab740","hex_latitude":"05daad70","is_valid_coordinates":true} 
[2026-08-02 08:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123986688001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113739186493718528,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843521580927440896,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785640575000,"timestamp_ms":1785640575000,"timestamp_seconds":1785640575,"priority":1,"record_length":96,"hex_timestamp":"0000019fc078e018"} 
[2026-08-02 08:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-02 08:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:47: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-08-02 08:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123986688001,"66":13222,"188":206,"85":15104,"24":17,"16":113739186493718528,"45":8843521580927440896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 08:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123986688001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:47:15] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 08:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113739186493718528,"km_value":113739186493718.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843521580927440896,"description":"Unknown IO ID 45"} 
[2026-08-02 08:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123986688001,"power":13222,"unknown_188":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8843521580927440896}} 
[2026-08-02 08:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":146488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:47:15] local.INFO: GPS data processed {"connection_id":146488,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:47:15] local.INFO: Acknowledgment sent {"connection_id":146488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:47:19] local.INFO: TCP Data received {"connection_id":147718,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:47:19] local.INFO: Processing buffer {"connection_id":147718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:47:19] local.INFO: Packet analysis {"connection_id":147718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:47:19] local.INFO: Extracted packet for processing {"connection_id":147718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:47:19] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123909376001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785640572000,"timestamp_ms":1785640572000,"timestamp_seconds":1785640572,"priority":1,"record_length":96,"hex_timestamp":"0000019fc078d460"} 
[2026-08-02 08:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-02 08:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123909376001,"66":25778,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123909376001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:47:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:47:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:47:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123909376001,"power":25778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":147718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:47:19] local.INFO: GPS data processed {"connection_id":147718,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:47:19] local.INFO: Acknowledgment sent {"connection_id":147718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:47:42] local.INFO: TCP Data received {"connection_id":146700,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:47:42] local.INFO: Processing buffer {"connection_id":146700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:47:42] local.INFO: IMEI packet received {"connection_id":146700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":146700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:47:46] local.INFO: TCP Data received {"connection_id":146488,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc079e1e8012d7a380005daa6000008012e20..."} 
[2026-08-02 08:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc079e1e8012d7a380005daa6000008012e20..."} 
[2026-08-02 08:47:46] local.INFO: Processing buffer {"connection_id":146488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc079e1e8012d7a380005daa6000008012e20..."} 
[2026-08-02 08:47:46] local.INFO: Packet analysis {"connection_id":146488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc079"} 
[2026-08-02 08:47:46] local.INFO: Extracted packet for processing {"connection_id":146488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc079"} 
[2026-08-02 08:47:46] local.INFO: GPS Element Parsed {"raw_longitude":762984448,"raw_latitude":98215424,"longitude_deg":76.2984448,"latitude_deg":9.8215424,"altitude":8,"angle":302,"satellites":32,"speed":8,"hex_longitude":"2d7a3800","hex_latitude":"05daa600","is_valid_coordinates":true} 
[2026-08-02 08:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124003840001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113740956020244480,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807070571442823168,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785640641000,"timestamp_ms":1785640641000,"timestamp_seconds":1785640641,"priority":1,"record_length":96,"hex_timestamp":"0000019fc079e1e8"} 
[2026-08-02 08:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-02 08:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124003840001,"66":12765,"229":206,"85":15104,"24":8,"16":113740956020244480,"45":8807070571442823168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124003840001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:47:46] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:47:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113740956020244480,"km_value":113740956020244.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807070571442823168,"description":"Unknown IO ID 45"} 
[2026-08-02 08:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124003840001,"power":12765,"unknown_229":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8807070571442823168}} 
[2026-08-02 08:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":146488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:47:46] local.INFO: GPS data processed {"connection_id":146488,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:47:46] local.INFO: Acknowledgment sent {"connection_id":146488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:47:47] local.INFO: TCP Data received {"connection_id":146700,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:47:47] local.INFO: Processing buffer {"connection_id":146700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:47:47] local.INFO: IMEI packet received {"connection_id":146700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":146700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:47:48] local.INFO: TCP Data received {"connection_id":146700,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:47:48] local.INFO: Processing buffer {"connection_id":146700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:47:48] local.INFO: Packet analysis {"connection_id":146700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:47:48] local.INFO: Extracted packet for processing {"connection_id":146700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:47:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 08:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123909376001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785640572000,"timestamp_ms":1785640572000,"timestamp_seconds":1785640572,"priority":1,"record_length":96,"hex_timestamp":"0000019fc078d460"} 
[2026-08-02 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-08-02 08:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-02 08:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 08:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123909376001,"66":25778,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123909376001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:47:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:47:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:47:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123909376001,"power":25778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":146700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:47:48] local.INFO: GPS data processed {"connection_id":146700,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:47:48] local.INFO: Acknowledgment sent {"connection_id":146700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:48:05] local.INFO: TCP Data received {"connection_id":146489,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:48:05] local.INFO: Processing buffer {"connection_id":146489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:48:05] local.INFO: IMEI packet received {"connection_id":146489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":146489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:48:10] local.INFO: TCP Data received {"connection_id":146489,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:48:10] local.INFO: Processing buffer {"connection_id":146489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:48:10] local.INFO: IMEI packet received {"connection_id":146489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":146489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:48:12] local.INFO: TCP Data received {"connection_id":146489,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07a10c8012d7a37c005daa6700007006b20..."} 
[2026-08-02 08:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07a10c8012d7a37c005daa6700007006b20..."} 
[2026-08-02 08:48:12] local.INFO: Processing buffer {"connection_id":146489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07a10c8012d7a37c005daa6700007006b20..."} 
[2026-08-02 08:48:12] local.INFO: Packet analysis {"connection_id":146489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07a"} 
[2026-08-02 08:48:12] local.INFO: Extracted packet for processing {"connection_id":146489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07a"} 
[2026-08-02 08:48:12] local.INFO: GPS Element Parsed {"raw_longitude":762984384,"raw_latitude":98215536,"longitude_deg":76.2984384,"latitude_deg":9.8215536,"altitude":7,"angle":107,"satellites":32,"speed":2,"hex_longitude":"2d7a37c0","hex_latitude":"05daa670","is_valid_coordinates":true} 
[2026-08-02 08:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124004096001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113740990379982848,"note":"Value kept but may cause issues"} 
[2026-08-02 08:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806789096466153472,"note":"Value kept but may cause issues"} 
[2026-08-02 08:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785640653000,"timestamp_ms":1785640653000,"timestamp_seconds":1785640653,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07a10c8"} 
[2026-08-02 08:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-02 08:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124004096001,"66":13135,"229":206,"85":15104,"24":2,"16":113740990379982848,"45":8806789096466153472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124004096001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:48:12] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113740990379982848,"km_value":113740990379982.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806789096466153472,"description":"Unknown IO ID 45"} 
[2026-08-02 08:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124004096001,"power":13135,"unknown_229":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8806789096466153472}} 
[2026-08-02 08:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":146489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:48:12] local.INFO: GPS data processed {"connection_id":146489,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:48:12] local.INFO: Acknowledgment sent {"connection_id":146489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:48:20] local.INFO: TCP Data received {"connection_id":146700,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:48:20] local.INFO: Processing buffer {"connection_id":146700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:48:20] local.INFO: Packet analysis {"connection_id":146700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:48:20] local.INFO: Extracted packet for processing {"connection_id":146700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:48:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123909376001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785640572000,"timestamp_ms":1785640572000,"timestamp_seconds":1785640572,"priority":1,"record_length":96,"hex_timestamp":"0000019fc078d460"} 
[2026-08-02 08:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-02 08:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123909376001,"66":25778,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123909376001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:48:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:48:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123909376001,"power":25778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":146700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:48:20] local.INFO: GPS data processed {"connection_id":146700,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:48:20] local.INFO: Acknowledgment sent {"connection_id":146700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:48:42] local.INFO: TCP Data received {"connection_id":149034,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:48:42] local.INFO: Processing buffer {"connection_id":149034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:48:42] local.INFO: IMEI packet received {"connection_id":149034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":149034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:48:43] local.INFO: TCP Data received {"connection_id":146489,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07a2068012d7a384005daa6280006007f21..."} 
[2026-08-02 08:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07a2068012d7a384005daa6280006007f21..."} 
[2026-08-02 08:48:43] local.INFO: Processing buffer {"connection_id":146489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07a2068012d7a384005daa6280006007f21..."} 
[2026-08-02 08:48:43] local.INFO: Packet analysis {"connection_id":146489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07a"} 
[2026-08-02 08:48:43] local.INFO: Extracted packet for processing {"connection_id":146489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07a"} 
[2026-08-02 08:48:43] local.INFO: GPS Element Parsed {"raw_longitude":762984512,"raw_latitude":98215464,"longitude_deg":76.2984512,"latitude_deg":9.8215464,"altitude":6,"angle":127,"satellites":33,"speed":0,"hex_longitude":"2d7a3840","hex_latitude":"05daa628","is_valid_coordinates":true} 
[2026-08-02 08:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124007168001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113740998969917440,"note":"Value kept but may cause issues"} 
[2026-08-02 08:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806718727722004480,"note":"Value kept but may cause issues"} 
[2026-08-02 08:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785640657000,"timestamp_ms":1785640657000,"timestamp_seconds":1785640657,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07a2068"} 
[2026-08-02 08:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-02 08:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124007168001,"66":13102,"229":206,"85":15104,"24":0,"16":113740998969917440,"45":8806718727722004480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124007168001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:48:43] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113740998969917440,"km_value":113740998969917.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806718727722004480,"description":"Unknown IO ID 45"} 
[2026-08-02 08:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124007168001,"power":13102,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8806718727722004480}} 
[2026-08-02 08:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":146489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:48:43] local.INFO: GPS data processed {"connection_id":146489,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:48:43] local.INFO: Acknowledgment sent {"connection_id":146489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:48:47] local.INFO: TCP Data received {"connection_id":149034,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:48:47] local.INFO: Processing buffer {"connection_id":149034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:48:47] local.INFO: IMEI packet received {"connection_id":149034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":149034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:48:48] local.INFO: TCP Data received {"connection_id":149034,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:48:48] local.INFO: Processing buffer {"connection_id":149034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:48:48] local.INFO: Packet analysis {"connection_id":149034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:48:48] local.INFO: Extracted packet for processing {"connection_id":149034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:48:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 08:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123909376001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:48:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785640572000,"timestamp_ms":1785640572000,"timestamp_seconds":1785640572,"priority":1,"record_length":96,"hex_timestamp":"0000019fc078d460"} 
[2026-08-02 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-08-02 08:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-02 08:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 08:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123909376001,"66":25778,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123909376001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:48:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:48:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:48:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123909376001,"power":25778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":149034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:48:48] local.INFO: GPS data processed {"connection_id":149034,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:48:48] local.INFO: Acknowledgment sent {"connection_id":149034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:49:03] local.INFO: TCP Data received {"connection_id":147719,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:49:03] local.INFO: Processing buffer {"connection_id":147719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:49:03] local.INFO: IMEI packet received {"connection_id":147719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":147719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:49:04] local.INFO: TCP Data received {"connection_id":147719,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:49:04] local.INFO: Processing buffer {"connection_id":147719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:49:04] local.INFO: IMEI packet received {"connection_id":147719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":147719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:49:05] local.INFO: TCP Data received {"connection_id":147719,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:49:05] local.INFO: Processing buffer {"connection_id":147719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:49:05] local.INFO: IMEI packet received {"connection_id":147719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":147719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:49:05] local.INFO: TCP Data received {"connection_id":147719,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:49:05] local.INFO: Processing buffer {"connection_id":147719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:49:05] local.INFO: IMEI packet received {"connection_id":147719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":147719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:49:20] local.INFO: TCP Data received {"connection_id":149034,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:49:20] local.INFO: Processing buffer {"connection_id":149034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:49:20] local.INFO: Packet analysis {"connection_id":149034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:49:20] local.INFO: Extracted packet for processing {"connection_id":149034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:49:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 08:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123909376001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785640572000,"timestamp_ms":1785640572000,"timestamp_seconds":1785640572,"priority":1,"record_length":96,"hex_timestamp":"0000019fc078d460"} 
[2026-08-02 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-08-02 08:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-02 08:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 08:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123909376001,"66":25778,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123909376001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:49:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:49:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123909376001,"power":25778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":149034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:49:20] local.INFO: GPS data processed {"connection_id":149034,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:49:20] local.INFO: Acknowledgment sent {"connection_id":149034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:49:41] local.INFO: TCP Data received {"connection_id":146701,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:49:41] local.INFO: Processing buffer {"connection_id":146701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:49:41] local.INFO: IMEI packet received {"connection_id":146701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":146701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:49:47] local.INFO: TCP Data received {"connection_id":146701,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:49:47] local.INFO: Processing buffer {"connection_id":146701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:49:47] local.INFO: IMEI packet received {"connection_id":146701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":146701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:49:48] local.INFO: TCP Data received {"connection_id":146701,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:49:48] local.INFO: Processing buffer {"connection_id":146701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:49:48] local.INFO: Packet analysis {"connection_id":146701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:49:48] local.INFO: Extracted packet for processing {"connection_id":146701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:49:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123909376001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:49:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785640572000,"timestamp_ms":1785640572000,"timestamp_seconds":1785640572,"priority":1,"record_length":96,"hex_timestamp":"0000019fc078d460"} 
[2026-08-02 08:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-02 08:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123909376001,"66":25778,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123909376001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:49:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:49:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:49:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123909376001,"power":25778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":146701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:49:48] local.INFO: GPS data processed {"connection_id":146701,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:49:48] local.INFO: Acknowledgment sent {"connection_id":146701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:50:20] local.INFO: TCP Data received {"connection_id":146701,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:50:20] local.INFO: Processing buffer {"connection_id":146701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:50:20] local.INFO: Packet analysis {"connection_id":146701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:50:20] local.INFO: Extracted packet for processing {"connection_id":146701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:50:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123909376001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785640572000,"timestamp_ms":1785640572000,"timestamp_seconds":1785640572,"priority":1,"record_length":96,"hex_timestamp":"0000019fc078d460"} 
[2026-08-02 08:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-02 08:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123909376001,"66":25778,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123909376001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:50:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:50:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123909376001,"power":25778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":146701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:50:20] local.INFO: GPS data processed {"connection_id":146701,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:50:20] local.INFO: Acknowledgment sent {"connection_id":146701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:50:41] local.INFO: TCP Data received {"connection_id":146491,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:50:41] local.INFO: Processing buffer {"connection_id":146491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:50:41] local.INFO: IMEI packet received {"connection_id":146491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":146491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:50:47] local.INFO: TCP Data received {"connection_id":146491,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:50:47] local.INFO: Processing buffer {"connection_id":146491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:50:47] local.INFO: IMEI packet received {"connection_id":146491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":146491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:50:48] local.INFO: TCP Data received {"connection_id":146491,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:50:48] local.INFO: Processing buffer {"connection_id":146491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:50:48] local.INFO: Packet analysis {"connection_id":146491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:50:48] local.INFO: Extracted packet for processing {"connection_id":146491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:50:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123909376001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:50:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785640572000,"timestamp_ms":1785640572000,"timestamp_seconds":1785640572,"priority":1,"record_length":96,"hex_timestamp":"0000019fc078d460"} 
[2026-08-02 08:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-02 08:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123909376001,"66":25778,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123909376001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:50:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:50:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:50:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123909376001,"power":25778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":146491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:50:48] local.INFO: GPS data processed {"connection_id":146491,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:50:48] local.INFO: Acknowledgment sent {"connection_id":146491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:51:20] local.INFO: TCP Data received {"connection_id":146491,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:51:20] local.INFO: Processing buffer {"connection_id":146491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc078d460012cb2ab00077518b0001b002827..."} 
[2026-08-02 08:51:20] local.INFO: Packet analysis {"connection_id":146491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:51:20] local.INFO: Extracted packet for processing {"connection_id":146491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc078"} 
[2026-08-02 08:51:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123909376001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785640572000,"timestamp_ms":1785640572000,"timestamp_seconds":1785640572,"priority":1,"record_length":96,"hex_timestamp":"0000019fc078d460"} 
[2026-08-02 08:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-02 08:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123909376001,"66":25778,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123909376001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:51:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:51:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123909376001,"power":25778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":146491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:51:20] local.INFO: GPS data processed {"connection_id":146491,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:51:20] local.INFO: Acknowledgment sent {"connection_id":146491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:51:47] local.INFO: TCP Data received {"connection_id":147720,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:51:47] local.INFO: Processing buffer {"connection_id":147720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:51:47] local.INFO: IMEI packet received {"connection_id":147720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":147720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:51:51] local.INFO: TCP Data received {"connection_id":147720,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:51:51] local.INFO: Processing buffer {"connection_id":147720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:51:51] local.INFO: IMEI packet received {"connection_id":147720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":147720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:51:52] local.INFO: TCP Data received {"connection_id":147720,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:51:52] local.INFO: Processing buffer {"connection_id":147720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:51:52] local.INFO: Packet analysis {"connection_id":147720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:51:52] local.INFO: Extracted packet for processing {"connection_id":147720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:51:52] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123986432001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:51:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785640873000,"timestamp_ms":1785640873000,"timestamp_seconds":1785640873,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07d6c28"} 
[2026-08-02 08:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 08:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123986432001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123986432001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:51:52] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:51:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:51:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123986432001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":147720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:51:52] local.INFO: GPS data processed {"connection_id":147720,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:51:52] local.INFO: Acknowledgment sent {"connection_id":147720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:51:53] local.INFO: TCP Data received {"connection_id":147720,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:51:53] local.INFO: Processing buffer {"connection_id":147720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:51:53] local.INFO: Packet analysis {"connection_id":147720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:51:53] local.INFO: Extracted packet for processing {"connection_id":147720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:51:53] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123986432001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:51:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785640873000,"timestamp_ms":1785640873000,"timestamp_seconds":1785640873,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07d6c28"} 
[2026-08-02 08:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 08:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123986432001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123986432001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:51:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:51:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:51:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123986432001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":147720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:51:53] local.INFO: GPS data processed {"connection_id":147720,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:51:53] local.INFO: Acknowledgment sent {"connection_id":147720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:52:25] local.INFO: TCP Data received {"connection_id":147720,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:52:25] local.INFO: Processing buffer {"connection_id":147720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:52:25] local.INFO: Packet analysis {"connection_id":147720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:52:25] local.INFO: Extracted packet for processing {"connection_id":147720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:52:25] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123986432001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785640873000,"timestamp_ms":1785640873000,"timestamp_seconds":1785640873,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07d6c28"} 
[2026-08-02 08:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 08:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123986432001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123986432001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:52:25] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:52:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123986432001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":147720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:52:25] local.INFO: GPS data processed {"connection_id":147720,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:52:25] local.INFO: Acknowledgment sent {"connection_id":147720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:52:41] local.INFO: TCP Data received {"connection_id":146703,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:52:41] local.INFO: Processing buffer {"connection_id":146703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:52:41] local.INFO: IMEI packet received {"connection_id":146703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":146703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:52:47] local.INFO: TCP Data received {"connection_id":146703,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:52:47] local.INFO: Processing buffer {"connection_id":146703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:52:47] local.INFO: IMEI packet received {"connection_id":146703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":146703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:52:48] local.INFO: TCP Data received {"connection_id":146703,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:52:48] local.INFO: Processing buffer {"connection_id":146703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:52:48] local.INFO: Packet analysis {"connection_id":146703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:52:48] local.INFO: Extracted packet for processing {"connection_id":146703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:52:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123986432001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:52:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785640873000,"timestamp_ms":1785640873000,"timestamp_seconds":1785640873,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07d6c28"} 
[2026-08-02 08:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 08:52: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-08-02 08: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-08-02 08:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123986432001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123986432001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:52:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:52:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:52:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123986432001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":146703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:52:48] local.INFO: GPS data processed {"connection_id":146703,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:52:48] local.INFO: Acknowledgment sent {"connection_id":146703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:53:20] local.INFO: TCP Data received {"connection_id":146703,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:53:20] local.INFO: Processing buffer {"connection_id":146703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:53:20] local.INFO: Packet analysis {"connection_id":146703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:53:20] local.INFO: Extracted packet for processing {"connection_id":146703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:53:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123986432001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785640873000,"timestamp_ms":1785640873000,"timestamp_seconds":1785640873,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07d6c28"} 
[2026-08-02 08:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 08:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123986432001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123986432001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:53:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:53:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123986432001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":146703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:53:20] local.INFO: GPS data processed {"connection_id":146703,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:53:20] local.INFO: Acknowledgment sent {"connection_id":146703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:53:41] local.INFO: TCP Data received {"connection_id":147721,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:53:41] local.INFO: Processing buffer {"connection_id":147721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:53:41] local.INFO: IMEI packet received {"connection_id":147721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":147721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:53:47] local.INFO: TCP Data received {"connection_id":147721,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:53:47] local.INFO: Processing buffer {"connection_id":147721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:53:47] local.INFO: IMEI packet received {"connection_id":147721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":147721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:53:48] local.INFO: TCP Data received {"connection_id":147721,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:53:48] local.INFO: Processing buffer {"connection_id":147721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:53:48] local.INFO: Packet analysis {"connection_id":147721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:53:48] local.INFO: Extracted packet for processing {"connection_id":147721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:53:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123986432001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:53:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785640873000,"timestamp_ms":1785640873000,"timestamp_seconds":1785640873,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07d6c28"} 
[2026-08-02 08:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 08:53: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-08-02 08:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123986432001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123986432001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:53:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:53:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:53:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123986432001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":147721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:53:48] local.INFO: GPS data processed {"connection_id":147721,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:53:48] local.INFO: Acknowledgment sent {"connection_id":147721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:54:10] local.INFO: TCP Data received {"connection_id":149036,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:54:10] local.INFO: Processing buffer {"connection_id":149036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:54:10] local.INFO: IMEI packet received {"connection_id":149036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":149036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:54:11] local.INFO: TCP Data received {"connection_id":149036,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07f0e20012d7a99c005daa4880008005e26..."} 
[2026-08-02 08:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07f0e20012d7a99c005daa4880008005e26..."} 
[2026-08-02 08:54:11] local.INFO: Processing buffer {"connection_id":149036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07f0e20012d7a99c005daa4880008005e26..."} 
[2026-08-02 08:54:11] local.INFO: Packet analysis {"connection_id":149036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07f"} 
[2026-08-02 08:54:11] local.INFO: Extracted packet for processing {"connection_id":149036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07f"} 
[2026-08-02 08:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763009472,"raw_latitude":98215048,"longitude_deg":76.3009472,"latitude_deg":9.8215048,"altitude":8,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d7a99c0","hex_latitude":"05daa488","is_valid_coordinates":true} 
[2026-08-02 08:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124085504001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113742433488994304,"note":"Value kept but may cause issues"} 
[2026-08-02 08:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834303275439523840,"note":"Value kept but may cause issues"} 
[2026-08-02 08:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785640980000,"timestamp_ms":1785640980000,"timestamp_seconds":1785640980,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07f0e20"} 
[2026-08-02 08:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 08:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124085504001,"66":13428,"229":206,"85":15104,"24":0,"16":113742433488994304,"45":8834303275439523840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124085504001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:54:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113742433488994304,"km_value":113742433488994.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834303275439523840,"description":"Unknown IO ID 45"} 
[2026-08-02 08:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124085504001,"power":13428,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8834303275439523840}} 
[2026-08-02 08:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":149036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:54:11] local.INFO: GPS data processed {"connection_id":149036,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:54:11] local.INFO: Acknowledgment sent {"connection_id":149036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:54:20] local.INFO: TCP Data received {"connection_id":147721,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:54:20] local.INFO: Processing buffer {"connection_id":147721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:54:20] local.INFO: Packet analysis {"connection_id":147721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:54:20] local.INFO: Extracted packet for processing {"connection_id":147721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:54:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123986432001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785640873000,"timestamp_ms":1785640873000,"timestamp_seconds":1785640873,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07d6c28"} 
[2026-08-02 08:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 08:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123986432001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123986432001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:54:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:54:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123986432001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":147721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:54:20] local.INFO: GPS data processed {"connection_id":147721,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:54:20] local.INFO: Acknowledgment sent {"connection_id":147721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:54:42] local.INFO: TCP Data received {"connection_id":149037,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:54:42] local.INFO: Processing buffer {"connection_id":149037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:54:42] local.INFO: IMEI packet received {"connection_id":149037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":149037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:54:42] local.INFO: TCP Data received {"connection_id":149036,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07f6028012d7a99c005daa4880008005e27..."} 
[2026-08-02 08:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07f6028012d7a99c005daa4880008005e27..."} 
[2026-08-02 08:54:42] local.INFO: Processing buffer {"connection_id":149036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07f6028012d7a99c005daa4880008005e27..."} 
[2026-08-02 08:54:42] local.INFO: Packet analysis {"connection_id":149036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07f"} 
[2026-08-02 08:54:42] local.INFO: Extracted packet for processing {"connection_id":149036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07f"} 
[2026-08-02 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763009472,"raw_latitude":98215048,"longitude_deg":76.3009472,"latitude_deg":9.8215048,"altitude":8,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d7a99c0","hex_latitude":"05daa488","is_valid_coordinates":true} 
[2026-08-02 08:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124090880001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113742433488994304,"note":"Value kept but may cause issues"} 
[2026-08-02 08:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834303275439523840,"note":"Value kept but may cause issues"} 
[2026-08-02 08:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785641001000,"timestamp_ms":1785641001000,"timestamp_seconds":1785641001,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07f6028"} 
[2026-08-02 08:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 08:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124090880001,"66":13450,"229":206,"85":15104,"24":0,"16":113742433488994304,"45":8834303275439523840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124090880001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:54:42] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113742433488994304,"km_value":113742433488994.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834303275439523840,"description":"Unknown IO ID 45"} 
[2026-08-02 08:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124090880001,"power":13450,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8834303275439523840}} 
[2026-08-02 08:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":149036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:54:42] local.INFO: GPS data processed {"connection_id":149036,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:54:42] local.INFO: Acknowledgment sent {"connection_id":149036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:54:47] local.INFO: TCP Data received {"connection_id":149037,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:54:47] local.INFO: Processing buffer {"connection_id":149037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:54:47] local.INFO: IMEI packet received {"connection_id":149037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":149037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:54:48] local.INFO: TCP Data received {"connection_id":149037,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:54:48] local.INFO: Processing buffer {"connection_id":149037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:54:48] local.INFO: Packet analysis {"connection_id":149037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:54:48] local.INFO: Extracted packet for processing {"connection_id":149037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:54:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123986432001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:54:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785640873000,"timestamp_ms":1785640873000,"timestamp_seconds":1785640873,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07d6c28"} 
[2026-08-02 08:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:54: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-08-02 08:54: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-08-02 08:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123986432001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123986432001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:54:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:54:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:54:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123986432001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":149037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:54:48] local.INFO: GPS data processed {"connection_id":149037,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:54:48] local.INFO: Acknowledgment sent {"connection_id":149037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:55:05] local.INFO: TCP Data received {"connection_id":147722,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:55:05] local.INFO: Processing buffer {"connection_id":147722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:55:05] local.INFO: IMEI packet received {"connection_id":147722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":147722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:55:10] local.INFO: TCP Data received {"connection_id":147722,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:55:10] local.INFO: Processing buffer {"connection_id":147722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:55:10] local.INFO: IMEI packet received {"connection_id":147722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":147722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:55:11] local.INFO: TCP Data received {"connection_id":147722,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07fb230012d7a99c005daa4880008005e28..."} 
[2026-08-02 08:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07fb230012d7a99c005daa4880008005e28..."} 
[2026-08-02 08:55:11] local.INFO: Processing buffer {"connection_id":147722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07fb230012d7a99c005daa4880008005e28..."} 
[2026-08-02 08:55:11] local.INFO: Packet analysis {"connection_id":147722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07f"} 
[2026-08-02 08:55:11] local.INFO: Extracted packet for processing {"connection_id":147722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07f"} 
[2026-08-02 08:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763009472,"raw_latitude":98215048,"longitude_deg":76.3009472,"latitude_deg":9.8215048,"altitude":8,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d7a99c0","hex_latitude":"05daa488","is_valid_coordinates":true} 
[2026-08-02 08:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124096256001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113742433488994304,"note":"Value kept but may cause issues"} 
[2026-08-02 08:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834303275439523840,"note":"Value kept but may cause issues"} 
[2026-08-02 08:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785641022000,"timestamp_ms":1785641022000,"timestamp_seconds":1785641022,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07fb230"} 
[2026-08-02 08:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 08:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124096256001,"66":13091,"229":206,"85":15104,"24":0,"16":113742433488994304,"45":8834303275439523840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124096256001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:55:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113742433488994304,"km_value":113742433488994.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834303275439523840,"description":"Unknown IO ID 45"} 
[2026-08-02 08:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124096256001,"power":13091,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8834303275439523840}} 
[2026-08-02 08:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":147722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:55:11] local.INFO: GPS data processed {"connection_id":147722,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:55:11] local.INFO: Acknowledgment sent {"connection_id":147722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:55:20] local.INFO: TCP Data received {"connection_id":149037,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:55:20] local.INFO: Processing buffer {"connection_id":149037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:55:20] local.INFO: Packet analysis {"connection_id":149037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:55:20] local.INFO: Extracted packet for processing {"connection_id":149037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:55:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123986432001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785640873000,"timestamp_ms":1785640873000,"timestamp_seconds":1785640873,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07d6c28"} 
[2026-08-02 08:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 08:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123986432001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123986432001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:55:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:55:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123986432001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":149037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:55:20] local.INFO: GPS data processed {"connection_id":149037,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:55:20] local.INFO: Acknowledgment sent {"connection_id":149037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:55:42] local.INFO: TCP Data received {"connection_id":146493,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:55:42] local.INFO: Processing buffer {"connection_id":146493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:55:42] local.INFO: IMEI packet received {"connection_id":146493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":146493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:55:43] local.INFO: TCP Data received {"connection_id":147722,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0800438012d7a99c005daa4880008005e28..."} 
[2026-08-02 08:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0800438012d7a99c005daa4880008005e28..."} 
[2026-08-02 08:55:43] local.INFO: Processing buffer {"connection_id":147722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0800438012d7a99c005daa4880008005e28..."} 
[2026-08-02 08:55:43] local.INFO: Packet analysis {"connection_id":147722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc080"} 
[2026-08-02 08:55:43] local.INFO: Extracted packet for processing {"connection_id":147722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc080"} 
[2026-08-02 08:55:43] local.INFO: GPS Element Parsed {"raw_longitude":763009472,"raw_latitude":98215048,"longitude_deg":76.3009472,"latitude_deg":9.8215048,"altitude":8,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d7a99c0","hex_latitude":"05daa488","is_valid_coordinates":true} 
[2026-08-02 08:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124101632001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113742433488994304,"note":"Value kept but may cause issues"} 
[2026-08-02 08:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834303275439523840,"note":"Value kept but may cause issues"} 
[2026-08-02 08:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785641043000,"timestamp_ms":1785641043000,"timestamp_seconds":1785641043,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0800438"} 
[2026-08-02 08:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 08:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124101632001,"66":13091,"229":206,"85":15104,"24":0,"16":113742433488994304,"45":8834303275439523840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124101632001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:55:43] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113742433488994304,"km_value":113742433488994.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834303275439523840,"description":"Unknown IO ID 45"} 
[2026-08-02 08:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124101632001,"power":13091,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8834303275439523840}} 
[2026-08-02 08:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":147722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:55:43] local.INFO: GPS data processed {"connection_id":147722,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:55:43] local.INFO: Acknowledgment sent {"connection_id":147722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:55:47] local.INFO: TCP Data received {"connection_id":146493,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:55:47] local.INFO: Processing buffer {"connection_id":146493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:55:47] local.INFO: IMEI packet received {"connection_id":146493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":146493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:55:49] local.INFO: TCP Data received {"connection_id":146493,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:55:49] local.INFO: Processing buffer {"connection_id":146493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:55:49] local.INFO: Packet analysis {"connection_id":146493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:55:49] local.INFO: Extracted packet for processing {"connection_id":146493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:55:49] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123986432001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:55:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785640873000,"timestamp_ms":1785640873000,"timestamp_seconds":1785640873,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07d6c28"} 
[2026-08-02 08:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 08:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123986432001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123986432001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:55:49] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:55:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:55:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123986432001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":146493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:55:49] local.INFO: GPS data processed {"connection_id":146493,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:55:49] local.INFO: Acknowledgment sent {"connection_id":146493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:56:05] local.INFO: TCP Data received {"connection_id":146704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:56:05] local.INFO: Processing buffer {"connection_id":146704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:56:05] local.INFO: IMEI packet received {"connection_id":146704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":146704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:56:09] local.INFO: TCP Data received {"connection_id":146704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:56:09] local.INFO: Processing buffer {"connection_id":146704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:56:09] local.INFO: IMEI packet received {"connection_id":146704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":146704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:56:10] local.INFO: TCP Data received {"connection_id":146704,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0805640012d7a99c005daa4880008005e28..."} 
[2026-08-02 08:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0805640012d7a99c005daa4880008005e28..."} 
[2026-08-02 08:56:10] local.INFO: Processing buffer {"connection_id":146704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0805640012d7a99c005daa4880008005e28..."} 
[2026-08-02 08:56:10] local.INFO: Packet analysis {"connection_id":146704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc080"} 
[2026-08-02 08:56:10] local.INFO: Extracted packet for processing {"connection_id":146704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc080"} 
[2026-08-02 08:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763009472,"raw_latitude":98215048,"longitude_deg":76.3009472,"latitude_deg":9.8215048,"altitude":8,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d7a99c0","hex_latitude":"05daa488","is_valid_coordinates":true} 
[2026-08-02 08: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-08-02 08:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124107008001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113742433488994304,"note":"Value kept but may cause issues"} 
[2026-08-02 08:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834303275439523840,"note":"Value kept but may cause issues"} 
[2026-08-02 08:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785641064000,"timestamp_ms":1785641064000,"timestamp_seconds":1785641064,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0805640"} 
[2026-08-02 08:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:56: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-08-02 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 08:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:56: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-08-02 08:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124107008001,"66":13091,"229":206,"85":15104,"24":0,"16":113742433488994304,"45":8834303275439523840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124107008001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:56:10] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113742433488994304,"km_value":113742433488994.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834303275439523840,"description":"Unknown IO ID 45"} 
[2026-08-02 08:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124107008001,"power":13091,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8834303275439523840}} 
[2026-08-02 08:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":146704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:56:10] local.INFO: GPS data processed {"connection_id":146704,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:56:10] local.INFO: Acknowledgment sent {"connection_id":146704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:56:20] local.INFO: TCP Data received {"connection_id":146493,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:56:20] local.INFO: Processing buffer {"connection_id":146493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:56:20] local.INFO: Packet analysis {"connection_id":146493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:56:20] local.INFO: Extracted packet for processing {"connection_id":146493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:56:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123986432001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785640873000,"timestamp_ms":1785640873000,"timestamp_seconds":1785640873,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07d6c28"} 
[2026-08-02 08:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 08:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123986432001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123986432001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:56:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:56:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123986432001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":146493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:56:20] local.INFO: GPS data processed {"connection_id":146493,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:56:20] local.INFO: Acknowledgment sent {"connection_id":146493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:56:41] local.INFO: TCP Data received {"connection_id":149038,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:56:41] local.INFO: Processing buffer {"connection_id":149038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:56:41] local.INFO: IMEI packet received {"connection_id":149038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":149038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:56:42] local.INFO: TCP Data received {"connection_id":146704,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc080a848012d7a99c005daa4880008005e2a..."} 
[2026-08-02 08:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc080a848012d7a99c005daa4880008005e2a..."} 
[2026-08-02 08:56:42] local.INFO: Processing buffer {"connection_id":146704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc080a848012d7a99c005daa4880008005e2a..."} 
[2026-08-02 08:56:42] local.INFO: Packet analysis {"connection_id":146704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc080"} 
[2026-08-02 08:56:42] local.INFO: Extracted packet for processing {"connection_id":146704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc080"} 
[2026-08-02 08:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763009472,"raw_latitude":98215048,"longitude_deg":76.3009472,"latitude_deg":9.8215048,"altitude":8,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d7a99c0","hex_latitude":"05daa488","is_valid_coordinates":true} 
[2026-08-02 08:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124112384001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113742433488994304,"note":"Value kept but may cause issues"} 
[2026-08-02 08:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834303275439523840,"note":"Value kept but may cause issues"} 
[2026-08-02 08:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785641085000,"timestamp_ms":1785641085000,"timestamp_seconds":1785641085,"priority":1,"record_length":96,"hex_timestamp":"0000019fc080a848"} 
[2026-08-02 08:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 08:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124112384001,"66":13330,"229":206,"85":15104,"24":0,"16":113742433488994304,"45":8834303275439523840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124112384001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:56:42] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113742433488994304,"km_value":113742433488994.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834303275439523840,"description":"Unknown IO ID 45"} 
[2026-08-02 08:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124112384001,"power":13330,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8834303275439523840}} 
[2026-08-02 08:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":146704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:56:42] local.INFO: GPS data processed {"connection_id":146704,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:56:42] local.INFO: Acknowledgment sent {"connection_id":146704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:56:47] local.INFO: TCP Data received {"connection_id":149038,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:56:47] local.INFO: Processing buffer {"connection_id":149038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:56:47] local.INFO: IMEI packet received {"connection_id":149038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":149038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:56:48] local.INFO: TCP Data received {"connection_id":149038,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:56:48] local.INFO: Processing buffer {"connection_id":149038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc07d6c28012cb2ab00077518b0001b002828..."} 
[2026-08-02 08:56:48] local.INFO: Packet analysis {"connection_id":149038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:56:48] local.INFO: Extracted packet for processing {"connection_id":149038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc07d"} 
[2026-08-02 08:56:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123986432001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:56:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785640873000,"timestamp_ms":1785640873000,"timestamp_seconds":1785640873,"priority":1,"record_length":96,"hex_timestamp":"0000019fc07d6c28"} 
[2026-08-02 08:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 08:56: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-08-02 08:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123986432001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123986432001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:56:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:56:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:56:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123986432001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":149038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:56:48] local.INFO: GPS data processed {"connection_id":149038,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:56:48] local.INFO: Acknowledgment sent {"connection_id":149038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:57:05] local.INFO: TCP Data received {"connection_id":146494,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:57:05] local.INFO: Processing buffer {"connection_id":146494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:57:05] local.INFO: IMEI packet received {"connection_id":146494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":146494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:57:10] local.INFO: TCP Data received {"connection_id":146494,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:57:10] local.INFO: Processing buffer {"connection_id":146494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:57:10] local.INFO: IMEI packet received {"connection_id":146494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":146494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:57:11] local.INFO: TCP Data received {"connection_id":146494,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc080c3a0012d7a998005daa600000700432a..."} 
[2026-08-02 08:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc080c3a0012d7a998005daa600000700432a..."} 
[2026-08-02 08:57:11] local.INFO: Processing buffer {"connection_id":146494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc080c3a0012d7a998005daa600000700432a..."} 
[2026-08-02 08:57:11] local.INFO: Packet analysis {"connection_id":146494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc080"} 
[2026-08-02 08:57:11] local.INFO: Extracted packet for processing {"connection_id":146494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc080"} 
[2026-08-02 08:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763009408,"raw_latitude":98215424,"longitude_deg":76.3009408,"latitude_deg":9.8215424,"altitude":7,"angle":67,"satellites":42,"speed":2,"hex_longitude":"2d7a9980","hex_latitude":"05daa600","is_valid_coordinates":true} 
[2026-08-02 08:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124117760001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113742450668863488,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834303275439523840,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785641092000,"timestamp_ms":1785641092000,"timestamp_seconds":1785641092,"priority":1,"record_length":96,"hex_timestamp":"0000019fc080c3a0"} 
[2026-08-02 08:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-02 08:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3229531160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277100728876442760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:11] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-6591018020290812160,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816803022,"corrected_to":0} 
[2026-08-02 08:57:11] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3221609124,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3668215808,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:11] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57886972228556091,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:11] local.WARNING: Large IO value detected {"io_id":126,"raw_value":7642609862489784325,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:11] local.WARNING: Large IO value detected {"io_id":167,"raw_value":-1945328173566650368,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,229,85,24,241,157,16,159,86,45,192,164,8,40,10,66,4,178,1,240,35,227,218,113,205,14,153,136,38,239,52,2,148,5,138,126,167,88],"length":626,"final_offset":756,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2816803022,"validated":0}]} 
[2026-08-02 08:57:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576564286785060864,"timestamp_seconds":576564286785060.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 08:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124117760001,"66":13048,"229":206,"85":15104,"24":2,"16":113742450668863488,"45":8834303275439523840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124117760001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:57:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113742450668863488,"km_value":113742450668863.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834303275439523840,"description":"Unknown IO ID 45"} 
[2026-08-02 08:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124117760001,"power":13048,"unknown_229":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8834303275439523840}} 
[2026-08-02 08:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":146494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:57:11] local.INFO: GPS data processed {"connection_id":146494,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:57:11] local.INFO: Acknowledgment sent {"connection_id":146494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:57:19] local.INFO: TCP Data received {"connection_id":149038,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:57:19] local.INFO: Processing buffer {"connection_id":149038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:57:19] local.INFO: Packet analysis {"connection_id":149038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 08:57:19] local.INFO: Extracted packet for processing {"connection_id":149038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 08:57:19] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124063488001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785641174000,"timestamp_ms":1785641174000,"timestamp_seconds":1785641174,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08203f0"} 
[2026-08-02 08:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 08:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124063488001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124063488001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:57:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:57:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:57:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124063488001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":149038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:57:19] local.INFO: GPS data processed {"connection_id":149038,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:57:19] local.INFO: Acknowledgment sent {"connection_id":149038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:57:42] local.INFO: TCP Data received {"connection_id":146494,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08111c0012d7a9c4005daa6e0000800492b..."} 
[2026-08-02 08:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08111c0012d7a9c4005daa6e0000800492b..."} 
[2026-08-02 08:57:42] local.INFO: Processing buffer {"connection_id":146494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08111c0012d7a9c4005daa6e0000800492b..."} 
[2026-08-02 08:57:42] local.INFO: Packet analysis {"connection_id":146494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc081"} 
[2026-08-02 08:57:42] local.INFO: Extracted packet for processing {"connection_id":146494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc081"} 
[2026-08-02 08:57:42] local.INFO: GPS Element Parsed {"raw_longitude":763010112,"raw_latitude":98215648,"longitude_deg":76.3010112,"latitude_deg":9.8215648,"altitude":8,"angle":73,"satellites":43,"speed":0,"hex_longitude":"2d7a9c40","hex_latitude":"05daa6e0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 08:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124119552001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113742489323569152,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834232906695442432,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785641112000,"timestamp_ms":1785641112000,"timestamp_seconds":1785641112,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08111c0"} 
[2026-08-02 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-08-02 08:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":248,"data_length":795,"current_offset":136} 
[2026-08-02 08:57: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-08-02 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-08-02 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-08-02 08:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124119552001,"66":12526,"229":206,"85":15104,"24":0,"16":113742489323569152,"45":8834232906695442432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124119552001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:57:42] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113742489323569152,"km_value":113742489323569.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834232906695442432,"description":"Unknown IO ID 45"} 
[2026-08-02 08:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124119552001,"power":12526,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8834232906695442432}} 
[2026-08-02 08:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":146494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:57:42] local.INFO: GPS data processed {"connection_id":146494,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:57:42] local.INFO: Acknowledgment sent {"connection_id":146494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:57:47] local.INFO: TCP Data received {"connection_id":146495,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:57:47] local.INFO: Processing buffer {"connection_id":146495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:57:47] local.INFO: IMEI packet received {"connection_id":146495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":146495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:57:52] local.INFO: TCP Data received {"connection_id":146495,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:57:52] local.INFO: Processing buffer {"connection_id":146495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:57:52] local.INFO: IMEI packet received {"connection_id":146495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":146495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:57:53] local.INFO: TCP Data received {"connection_id":146495,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:57:53] local.INFO: Processing buffer {"connection_id":146495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:57:53] local.INFO: Packet analysis {"connection_id":146495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 08:57:53] local.INFO: Extracted packet for processing {"connection_id":146495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 08:57:53] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124063488001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785641174000,"timestamp_ms":1785641174000,"timestamp_seconds":1785641174,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08203f0"} 
[2026-08-02 08:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 08:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124063488001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124063488001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:57:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:57:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:57:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124063488001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":146495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:57:53] local.INFO: GPS data processed {"connection_id":146495,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:57:53] local.INFO: Acknowledgment sent {"connection_id":146495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:57:57] local.INFO: TCP Data received {"connection_id":146495,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:57:57] local.INFO: Processing buffer {"connection_id":146495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:57:57] local.INFO: Packet analysis {"connection_id":146495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 08:57:57] local.INFO: Extracted packet for processing {"connection_id":146495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 08:57:57] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124063488001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785641174000,"timestamp_ms":1785641174000,"timestamp_seconds":1785641174,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08203f0"} 
[2026-08-02 08:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 08:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124063488001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124063488001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:57:57] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:57:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:57:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124063488001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":146495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:57:57] local.INFO: GPS data processed {"connection_id":146495,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:57:57] local.INFO: Acknowledgment sent {"connection_id":146495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:58:05] local.INFO: TCP Data received {"connection_id":146705,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:58:05] local.INFO: Processing buffer {"connection_id":146705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:58:05] local.INFO: IMEI packet received {"connection_id":146705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":146705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:58:10] local.INFO: TCP Data received {"connection_id":146705,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:58:10] local.INFO: Processing buffer {"connection_id":146705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:58:10] local.INFO: IMEI packet received {"connection_id":146705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":146705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:58:11] local.INFO: TCP Data received {"connection_id":146705,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08163c8012d7a9c4005daa6e0000800492a..."} 
[2026-08-02 08:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08163c8012d7a9c4005daa6e0000800492a..."} 
[2026-08-02 08:58:11] local.INFO: Processing buffer {"connection_id":146705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08163c8012d7a9c4005daa6e0000800492a..."} 
[2026-08-02 08:58:11] local.INFO: Packet analysis {"connection_id":146705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc081"} 
[2026-08-02 08:58:11] local.INFO: Extracted packet for processing {"connection_id":146705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc081"} 
[2026-08-02 08:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763010112,"raw_latitude":98215648,"longitude_deg":76.3010112,"latitude_deg":9.8215648,"altitude":8,"angle":73,"satellites":42,"speed":0,"hex_longitude":"2d7a9c40","hex_latitude":"05daa6e0","is_valid_coordinates":true} 
[2026-08-02 08:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124124672001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113742489323569152,"note":"Value kept but may cause issues"} 
[2026-08-02 08:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835006962881454080,"note":"Value kept but may cause issues"} 
[2026-08-02 08:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785641133000,"timestamp_ms":1785641133000,"timestamp_seconds":1785641133,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08163c8"} 
[2026-08-02 08:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 08:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124124672001,"66":13059,"229":206,"85":15104,"24":0,"16":113742489323569152,"45":8835006962881454080},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 08:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124124672001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:58:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 08:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113742489323569152,"km_value":113742489323569.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835006962881454080,"description":"Unknown IO ID 45"} 
[2026-08-02 08:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124124672001,"power":13059,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8835006962881454080}} 
[2026-08-02 08:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":146705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:58:11] local.INFO: GPS data processed {"connection_id":146705,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:58:11] local.INFO: Acknowledgment sent {"connection_id":146705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:58:42] local.INFO: TCP Data received {"connection_id":147723,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:58:42] local.INFO: Processing buffer {"connection_id":147723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:58:42] local.INFO: IMEI packet received {"connection_id":147723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":147723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:58:42] local.INFO: TCP Data received {"connection_id":146705,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc083d0e0012d7b700005dadfc8000b004a2b..."} 
[2026-08-02 08:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc083d0e0012d7b700005dadfc8000b004a2b..."} 
[2026-08-02 08:58:42] local.INFO: Processing buffer {"connection_id":146705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc083d0e0012d7b700005dadfc8000b004a2b..."} 
[2026-08-02 08:58:42] local.INFO: Packet analysis {"connection_id":146705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc083"} 
[2026-08-02 08:58:42] local.INFO: Extracted packet for processing {"connection_id":146705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc083"} 
[2026-08-02 08:58:42] local.INFO: GPS Element Parsed {"raw_longitude":763064320,"raw_latitude":98230216,"longitude_deg":76.306432,"latitude_deg":9.8230216,"altitude":11,"angle":74,"satellites":43,"speed":38,"hex_longitude":"2d7b7000","hex_latitude":"05dadfc8","is_valid_coordinates":true} 
[2026-08-02 08:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124167936001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113745182268063744,"note":"Value kept but may cause issues"} 
[2026-08-02 08:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884124346320525312,"note":"Value kept but may cause issues"} 
[2026-08-02 08:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785641292000,"timestamp_ms":1785641292000,"timestamp_seconds":1785641292,"priority":1,"record_length":96,"hex_timestamp":"0000019fc083d0e0"} 
[2026-08-02 08:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:58: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-08-02 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-02 08:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124167936001,"66":13276,"188":206,"85":15104,"24":38,"16":113745182268063744,"45":8884124346320525312},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 08:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124167936001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:58:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 08:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113745182268063744,"km_value":113745182268063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884124346320525312,"description":"Unknown IO ID 45"} 
[2026-08-02 08:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124167936001,"power":13276,"unknown_188":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8884124346320525312}} 
[2026-08-02 08:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":146705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:58:42] local.INFO: GPS data processed {"connection_id":146705,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:58:42] local.INFO: Acknowledgment sent {"connection_id":146705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:58:47] local.INFO: TCP Data received {"connection_id":147723,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:58:47] local.INFO: Processing buffer {"connection_id":147723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:58:47] local.INFO: IMEI packet received {"connection_id":147723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":147723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:58:48] local.INFO: TCP Data received {"connection_id":147723,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:58:48] local.INFO: Processing buffer {"connection_id":147723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:58:48] local.INFO: Packet analysis {"connection_id":147723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 08:58:48] local.INFO: Extracted packet for processing {"connection_id":147723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 08:58:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 08:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124063488001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:58:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785641174000,"timestamp_ms":1785641174000,"timestamp_seconds":1785641174,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08203f0"} 
[2026-08-02 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-08-02 08:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 08:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 08:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124063488001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124063488001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:58:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:58:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:58:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124063488001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":147723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:58:48] local.INFO: GPS data processed {"connection_id":147723,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:58:48] local.INFO: Acknowledgment sent {"connection_id":147723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:59:05] local.INFO: TCP Data received {"connection_id":149039,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:59:05] local.INFO: Processing buffer {"connection_id":149039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:59:05] local.INFO: IMEI packet received {"connection_id":149039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 08:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":149039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:59:10] local.INFO: TCP Data received {"connection_id":149039,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:59:10] local.INFO: Processing buffer {"connection_id":149039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 08:59:10] local.INFO: IMEI packet received {"connection_id":149039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 08:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":149039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:59:11] local.INFO: TCP Data received {"connection_id":149039,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc083f408012d7b944005dae9600007005229..."} 
[2026-08-02 08:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc083f408012d7b944005dae9600007005229..."} 
[2026-08-02 08:59:11] local.INFO: Processing buffer {"connection_id":149039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc083f408012d7b944005dae9600007005229..."} 
[2026-08-02 08:59:11] local.INFO: Packet analysis {"connection_id":149039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc083"} 
[2026-08-02 08:59:11] local.INFO: Extracted packet for processing {"connection_id":149039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc083"} 
[2026-08-02 08:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763073600,"raw_latitude":98232672,"longitude_deg":76.30736,"latitude_deg":9.8232672,"altitude":7,"angle":82,"satellites":41,"speed":37,"hex_longitude":"2d7b9440","hex_latitude":"05dae960","is_valid_coordinates":true} 
[2026-08-02 08:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124170752001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113745637534597120,"note":"Value kept but may cause issues"} 
[2026-08-02 08:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894609289203664896,"note":"Value kept but may cause issues"} 
[2026-08-02 08:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785641301000,"timestamp_ms":1785641301000,"timestamp_seconds":1785641301,"priority":1,"record_length":96,"hex_timestamp":"0000019fc083f408"} 
[2026-08-02 08:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 08:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-02 08:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08: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-08-02 08:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124170752001,"66":13189,"188":206,"85":15104,"24":37,"16":113745637534597120,"45":8894609289203664896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 08:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124170752001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:59:11] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 08:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113745637534597120,"km_value":113745637534597.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894609289203664896,"description":"Unknown IO ID 45"} 
[2026-08-02 08:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124170752001,"power":13189,"unknown_188":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8894609289203664896}} 
[2026-08-02 08:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":149039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:59:11] local.INFO: GPS data processed {"connection_id":149039,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:59:11] local.INFO: Acknowledgment sent {"connection_id":149039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:59:20] local.INFO: TCP Data received {"connection_id":147723,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:59:20] local.INFO: Processing buffer {"connection_id":147723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:59:20] local.INFO: Packet analysis {"connection_id":147723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 08:59:20] local.INFO: Extracted packet for processing {"connection_id":147723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 08:59:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124063488001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:59:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785641174000,"timestamp_ms":1785641174000,"timestamp_seconds":1785641174,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08203f0"} 
[2026-08-02 08:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 08:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124063488001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124063488001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:59:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:59:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:59:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124063488001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":147723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:59:20] local.INFO: GPS data processed {"connection_id":147723,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:59:20] local.INFO: Acknowledgment sent {"connection_id":147723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:59:42] local.INFO: TCP Data received {"connection_id":147724,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:59:42] local.INFO: Processing buffer {"connection_id":147724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:59:42] local.INFO: IMEI packet received {"connection_id":147724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 08:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":147724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 08:59:42] local.INFO: TCP Data received {"connection_id":149039,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0841b18012d7babc005daec50000600632b..."} 
[2026-08-02 08:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0841b18012d7babc005daec50000600632b..."} 
[2026-08-02 08:59:42] local.INFO: Processing buffer {"connection_id":149039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0841b18012d7babc005daec50000600632b..."} 
[2026-08-02 08:59:42] local.INFO: Packet analysis {"connection_id":149039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc084"} 
[2026-08-02 08:59:42] local.INFO: Extracted packet for processing {"connection_id":149039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc084"} 
[2026-08-02 08:59:42] local.INFO: GPS Element Parsed {"raw_longitude":763079616,"raw_latitude":98233424,"longitude_deg":76.3079616,"latitude_deg":9.8233424,"altitude":6,"angle":99,"satellites":43,"speed":6,"hex_longitude":"2d7babc0","hex_latitude":"05daec50","is_valid_coordinates":true} 
[2026-08-02 08:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124173056001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113745929592373248,"note":"Value kept but may cause issues"} 
[2026-08-02 08:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904812757110054912,"note":"Value kept but may cause issues"} 
[2026-08-02 08:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785641311000,"timestamp_ms":1785641311000,"timestamp_seconds":1785641311,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0841b18"} 
[2026-08-02 08:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:59: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-08-02 08:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-02 08:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 08:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 08:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 08:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124173056001,"66":13102,"188":206,"85":15104,"24":6,"16":113745929592373248,"45":8904812757110054912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 08:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 08:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 08:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124173056001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:59:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 08:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 08:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113745929592373248,"km_value":113745929592373.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904812757110054912,"description":"Unknown IO ID 45"} 
[2026-08-02 08:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124173056001,"power":13102,"unknown_188":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8904812757110054912}} 
[2026-08-02 08:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":149039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:59:42] local.INFO: GPS data processed {"connection_id":149039,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:59:42] local.INFO: Acknowledgment sent {"connection_id":149039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 08:59:47] local.INFO: TCP Data received {"connection_id":147724,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:59:47] local.INFO: Processing buffer {"connection_id":147724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 08:59:47] local.INFO: IMEI packet received {"connection_id":147724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 08:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":147724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 08:59:48] local.INFO: TCP Data received {"connection_id":147724,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:59:48] local.INFO: Processing buffer {"connection_id":147724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 08:59:48] local.INFO: Packet analysis {"connection_id":147724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 08:59:48] local.INFO: Extracted packet for processing {"connection_id":147724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 08:59:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 08:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 08:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124063488001,"note":"Value kept but may cause issues"} 
[2026-08-02 08:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 08:59:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 08:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 08:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785641174000,"timestamp_ms":1785641174000,"timestamp_seconds":1785641174,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08203f0"} 
[2026-08-02 08:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 08:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 08:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 08:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 08:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 08:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 08:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 08:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 08:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 08:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 08:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 08:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 08:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124063488001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 08:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 08:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 08:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124063488001,"description":"Unknown IO ID 0"} 
[2026-08-02 08:59:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 08:59:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 08:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 08:59:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 08:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124063488001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 08:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":147724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 08:59:48] local.INFO: GPS data processed {"connection_id":147724,"processed":1,"errors":0,"total":1} 
[2026-08-02 08:59:48] local.INFO: Acknowledgment sent {"connection_id":147724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:00:10] local.INFO: TCP Data received {"connection_id":146496,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:00:10] local.INFO: Processing buffer {"connection_id":146496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:00:10] local.INFO: IMEI packet received {"connection_id":146496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":146496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:00:15] local.INFO: TCP Data received {"connection_id":146496,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:00:15] local.INFO: Processing buffer {"connection_id":146496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:00:15] local.INFO: IMEI packet received {"connection_id":146496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":146496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:00:16] local.INFO: TCP Data received {"connection_id":146496,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0846938012d7ba98005daecf0000600632a..."} 
[2026-08-02 09:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0846938012d7ba98005daecf0000600632a..."} 
[2026-08-02 09:00:16] local.INFO: Processing buffer {"connection_id":146496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0846938012d7ba98005daecf0000600632a..."} 
[2026-08-02 09:00:16] local.INFO: Packet analysis {"connection_id":146496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc084"} 
[2026-08-02 09:00:16] local.INFO: Extracted packet for processing {"connection_id":146496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc084"} 
[2026-08-02 09:00:16] local.INFO: GPS Element Parsed {"raw_longitude":763079040,"raw_latitude":98233584,"longitude_deg":76.307904,"latitude_deg":9.8233584,"altitude":6,"angle":99,"satellites":42,"speed":0,"hex_longitude":"2d7ba980","hex_latitude":"05daecf0","is_valid_coordinates":true} 
[2026-08-02 09:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124175616001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113745972542046208,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911427419062947840,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785641331000,"timestamp_ms":1785641331000,"timestamp_seconds":1785641331,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0846938"} 
[2026-08-02 09:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-02 09:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124175616001,"66":13091,"188":206,"85":15104,"24":0,"16":113745972542046208,"45":8911427419062947840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 09:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124175616001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:00:16] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 09:00:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113745972542046208,"km_value":113745972542046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911427419062947840,"description":"Unknown IO ID 45"} 
[2026-08-02 09:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124175616001,"power":13091,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8911427419062947840}} 
[2026-08-02 09:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":146496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:00:16] local.INFO: GPS data processed {"connection_id":146496,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:00:16] local.INFO: Acknowledgment sent {"connection_id":146496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:00:17] local.INFO: TCP Data received {"connection_id":146496,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc084bb40012d7ba98005daecf00006006328..."} 
[2026-08-02 09:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc084bb40012d7ba98005daecf00006006328..."} 
[2026-08-02 09:00:17] local.INFO: Processing buffer {"connection_id":146496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc084bb40012d7ba98005daecf00006006328..."} 
[2026-08-02 09:00:17] local.INFO: Packet analysis {"connection_id":146496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc084"} 
[2026-08-02 09:00:17] local.INFO: Extracted packet for processing {"connection_id":146496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc084"} 
[2026-08-02 09:00:17] local.INFO: GPS Element Parsed {"raw_longitude":763079040,"raw_latitude":98233584,"longitude_deg":76.307904,"latitude_deg":9.8233584,"altitude":6,"angle":99,"satellites":40,"speed":0,"hex_longitude":"2d7ba980","hex_latitude":"05daecf0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124180736001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113745972542046208,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910794100365389824,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785641352000,"timestamp_ms":1785641352000,"timestamp_seconds":1785641352,"priority":1,"record_length":96,"hex_timestamp":"0000019fc084bb40"} 
[2026-08-02 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-08-02 09:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 09:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 09:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":146496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":146496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":146496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124180736001,"66":13341,"188":206,"85":15104,"24":0,"16":113745972542046208,"45":8910794100365389824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 09:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124180736001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:00:17] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 09:00:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113745972542046208,"km_value":113745972542046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910794100365389824,"description":"Unknown IO ID 45"} 
[2026-08-02 09:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124180736001,"power":13341,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8910794100365389824}} 
[2026-08-02 09:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":146496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:00:17] local.INFO: GPS data processed {"connection_id":146496,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:00:17] local.INFO: Acknowledgment sent {"connection_id":146496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:00:20] local.INFO: TCP Data received {"connection_id":147724,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:00:20] local.INFO: Processing buffer {"connection_id":147724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:00:20] local.INFO: Packet analysis {"connection_id":147724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 09:00:20] local.INFO: Extracted packet for processing {"connection_id":147724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 09:00:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124063488001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785641174000,"timestamp_ms":1785641174000,"timestamp_seconds":1785641174,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08203f0"} 
[2026-08-02 09:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124063488001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124063488001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:00:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:00:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124063488001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":147724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:00:20] local.INFO: GPS data processed {"connection_id":147724,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:00:20] local.INFO: Acknowledgment sent {"connection_id":147724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:00:41] local.INFO: TCP Data received {"connection_id":149040,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:00:41] local.INFO: Processing buffer {"connection_id":149040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:00:41] local.INFO: IMEI packet received {"connection_id":149040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":149040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:00:47] local.INFO: TCP Data received {"connection_id":149040,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:00:47] local.INFO: Processing buffer {"connection_id":149040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:00:47] local.INFO: IMEI packet received {"connection_id":149040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":149040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:00:48] local.INFO: TCP Data received {"connection_id":149040,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:00:48] local.INFO: Processing buffer {"connection_id":149040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:00:48] local.INFO: Packet analysis {"connection_id":149040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 09:00:48] local.INFO: Extracted packet for processing {"connection_id":149040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 09:00:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124063488001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785641174000,"timestamp_ms":1785641174000,"timestamp_seconds":1785641174,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08203f0"} 
[2026-08-02 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-08-02 09:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 09:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124063488001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124063488001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:00:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:00:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:00:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124063488001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":149040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:00:48] local.INFO: GPS data processed {"connection_id":149040,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:00:48] local.INFO: Acknowledgment sent {"connection_id":149040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:00:48] local.INFO: TCP Data received {"connection_id":146496,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc084bf28012d7ba90005daebb0000700e929..."} 
[2026-08-02 09:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc084bf28012d7ba90005daebb0000700e929..."} 
[2026-08-02 09:00:48] local.INFO: Processing buffer {"connection_id":146496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc084bf28012d7ba90005daebb0000700e929..."} 
[2026-08-02 09:00:48] local.INFO: Packet analysis {"connection_id":146496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc084"} 
[2026-08-02 09:00:48] local.INFO: Extracted packet for processing {"connection_id":146496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc084"} 
[2026-08-02 09:00:48] local.INFO: GPS Element Parsed {"raw_longitude":763078912,"raw_latitude":98233264,"longitude_deg":76.3078912,"latitude_deg":9.8233264,"altitude":7,"angle":233,"satellites":41,"speed":5,"hex_longitude":"2d7ba900","hex_latitude":"05daebb0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124186112001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113745989721915392,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910794100365389824,"note":"Value kept but may cause issues"} 
[2026-08-02 09:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785641353000,"timestamp_ms":1785641353000,"timestamp_seconds":1785641353,"priority":1,"record_length":96,"hex_timestamp":"0000019fc084bf28"} 
[2026-08-02 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-08-02 09:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-02 09:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 09:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124186112001,"66":13276,"188":206,"85":15104,"24":5,"16":113745989721915392,"45":8910794100365389824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 09:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124186112001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:00:48] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 09:00:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113745989721915392,"km_value":113745989721915.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910794100365389824,"description":"Unknown IO ID 45"} 
[2026-08-02 09:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124186112001,"power":13276,"unknown_188":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8910794100365389824}} 
[2026-08-02 09:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":146496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:00:48] local.INFO: GPS data processed {"connection_id":146496,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:00:48] local.INFO: Acknowledgment sent {"connection_id":146496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:01:05] local.INFO: TCP Data received {"connection_id":147725,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:01:05] local.INFO: Processing buffer {"connection_id":147725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:01:05] local.INFO: IMEI packet received {"connection_id":147725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":147725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:01:10] local.INFO: TCP Data received {"connection_id":147725,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:01:10] local.INFO: Processing buffer {"connection_id":147725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:01:10] local.INFO: IMEI packet received {"connection_id":147725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":147725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:01:11] local.INFO: TCP Data received {"connection_id":147725,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc084c6f8012d7ba74005daeaf0000701062a..."} 
[2026-08-02 09:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc084c6f8012d7ba74005daeaf0000701062a..."} 
[2026-08-02 09:01:11] local.INFO: Processing buffer {"connection_id":147725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc084c6f8012d7ba74005daeaf0000701062a..."} 
[2026-08-02 09:01:11] local.INFO: Packet analysis {"connection_id":147725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc084"} 
[2026-08-02 09:01:11] local.INFO: Extracted packet for processing {"connection_id":147725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc084"} 
[2026-08-02 09:01:11] local.INFO: GPS Element Parsed {"raw_longitude":763078464,"raw_latitude":98233072,"longitude_deg":76.3078464,"latitude_deg":9.8233072,"altitude":7,"angle":262,"satellites":42,"speed":11,"hex_longitude":"2d7ba740","hex_latitude":"05daeaf0","is_valid_coordinates":true} 
[2026-08-02 09:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124186368001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113746015491719168,"note":"Value kept but may cause issues"} 
[2026-08-02 09:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910653362876952576,"note":"Value kept but may cause issues"} 
[2026-08-02 09:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785641355000,"timestamp_ms":1785641355000,"timestamp_seconds":1785641355,"priority":1,"record_length":96,"hex_timestamp":"0000019fc084c6f8"} 
[2026-08-02 09:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-02 09:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124186368001,"66":13189,"188":206,"85":15104,"24":11,"16":113746015491719168,"45":8910653362876952576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 09:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124186368001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:01:11] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 09:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113746015491719168,"km_value":113746015491719.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910653362876952576,"description":"Unknown IO ID 45"} 
[2026-08-02 09:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124186368001,"power":13189,"unknown_188":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8910653362876952576}} 
[2026-08-02 09:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":147725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:01:11] local.INFO: GPS data processed {"connection_id":147725,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:01:11] local.INFO: Acknowledgment sent {"connection_id":147725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:01:20] local.INFO: TCP Data received {"connection_id":149040,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:01:20] local.INFO: Processing buffer {"connection_id":149040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:01:20] local.INFO: Packet analysis {"connection_id":149040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 09:01:20] local.INFO: Extracted packet for processing {"connection_id":149040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 09:01:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124063488001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785641174000,"timestamp_ms":1785641174000,"timestamp_seconds":1785641174,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08203f0"} 
[2026-08-02 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-08-02 09:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 09:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124063488001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124063488001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:01:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:01:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124063488001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":149040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:01:20] local.INFO: GPS data processed {"connection_id":149040,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:01:20] local.INFO: Acknowledgment sent {"connection_id":149040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:01:41] local.INFO: TCP Data received {"connection_id":146497,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:01:41] local.INFO: Processing buffer {"connection_id":146497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:01:41] local.INFO: IMEI packet received {"connection_id":146497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":146497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:01:42] local.INFO: TCP Data received {"connection_id":147725,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc086d650012d7a3fc005da92f0000901142a..."} 
[2026-08-02 09:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc086d650012d7a3fc005da92f0000901142a..."} 
[2026-08-02 09:01:42] local.INFO: Processing buffer {"connection_id":147725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc086d650012d7a3fc005da92f0000901142a..."} 
[2026-08-02 09:01:42] local.INFO: Packet analysis {"connection_id":147725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:01:42] local.INFO: Extracted packet for processing {"connection_id":147725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:01:42] local.INFO: GPS Element Parsed {"raw_longitude":762986432,"raw_latitude":98210544,"longitude_deg":76.2986432,"latitude_deg":9.8210544,"altitude":9,"angle":276,"satellites":42,"speed":7,"hex_longitude":"2d7a3fc0","hex_latitude":"05da92f0","is_valid_coordinates":true} 
[2026-08-02 09:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124218368001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113750559567118336,"note":"Value kept but may cause issues"} 
[2026-08-02 09:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818892520463656960,"note":"Value kept but may cause issues"} 
[2026-08-02 09:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785641490000,"timestamp_ms":1785641490000,"timestamp_seconds":1785641490,"priority":1,"record_length":96,"hex_timestamp":"0000019fc086d650"} 
[2026-08-02 09:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-02 09:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124218368001,"66":12982,"188":206,"85":15104,"24":7,"16":113750559567118336,"45":8818892520463656960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 09:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124218368001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:01:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 09:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113750559567118336,"km_value":113750559567118.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818892520463656960,"description":"Unknown IO ID 45"} 
[2026-08-02 09:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124218368001,"power":12982,"unknown_188":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8818892520463656960}} 
[2026-08-02 09:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":147725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:01:42] local.INFO: GPS data processed {"connection_id":147725,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:01:42] local.INFO: Acknowledgment sent {"connection_id":147725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:01:47] local.INFO: TCP Data received {"connection_id":146497,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:01:47] local.INFO: Processing buffer {"connection_id":146497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:01:47] local.INFO: IMEI packet received {"connection_id":146497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":146497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:01:48] local.INFO: TCP Data received {"connection_id":146497,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:01:48] local.INFO: Processing buffer {"connection_id":146497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08203f0012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:01:48] local.INFO: Packet analysis {"connection_id":146497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 09:01:48] local.INFO: Extracted packet for processing {"connection_id":146497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc082"} 
[2026-08-02 09:01:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124063488001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:01:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785641174000,"timestamp_ms":1785641174000,"timestamp_seconds":1785641174,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08203f0"} 
[2026-08-02 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-08-02 09:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 09:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124063488001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124063488001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:01:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:01:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:01:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124063488001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":146497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:01:48] local.INFO: GPS data processed {"connection_id":146497,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:01:48] local.INFO: Acknowledgment sent {"connection_id":146497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:02:05] local.INFO: TCP Data received {"connection_id":147726,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:02:05] local.INFO: Processing buffer {"connection_id":147726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:02:05] local.INFO: IMEI packet received {"connection_id":147726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":147726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:02:10] local.INFO: TCP Data received {"connection_id":147726,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:02:10] local.INFO: Processing buffer {"connection_id":147726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:02:10] local.INFO: IMEI packet received {"connection_id":147726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":147726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:02:11] local.INFO: TCP Data received {"connection_id":147726,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc086d650012d7a3fc005da92f0000901142a..."} 
[2026-08-02 09:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc086d650012d7a3fc005da92f0000901142a..."} 
[2026-08-02 09:02:11] local.INFO: Processing buffer {"connection_id":147726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc086d650012d7a3fc005da92f0000901142a..."} 
[2026-08-02 09:02:11] local.INFO: Packet analysis {"connection_id":147726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:02:11] local.INFO: Extracted packet for processing {"connection_id":147726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:02:11] local.INFO: GPS Element Parsed {"raw_longitude":762986432,"raw_latitude":98210544,"longitude_deg":76.2986432,"latitude_deg":9.8210544,"altitude":9,"angle":276,"satellites":42,"speed":7,"hex_longitude":"2d7a3fc0","hex_latitude":"05da92f0","is_valid_coordinates":true} 
[2026-08-02 09:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124221440001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113750559567118336,"note":"Value kept but may cause issues"} 
[2026-08-02 09:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808970527534411776,"note":"Value kept but may cause issues"} 
[2026-08-02 09:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785641490000,"timestamp_ms":1785641490000,"timestamp_seconds":1785641490,"priority":1,"record_length":96,"hex_timestamp":"0000019fc086d650"} 
[2026-08-02 09:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-02 09:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124221440001,"66":12982,"188":206,"85":15104,"24":7,"16":113750559567118336,"45":8808970527534411776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 09:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124221440001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:02:11] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 09:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113750559567118336,"km_value":113750559567118.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808970527534411776,"description":"Unknown IO ID 45"} 
[2026-08-02 09:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124221440001,"power":12982,"unknown_188":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8808970527534411776}} 
[2026-08-02 09:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":147726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:02:11] local.INFO: GPS data processed {"connection_id":147726,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:02:11] local.INFO: Acknowledgment sent {"connection_id":147726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:02:19] local.INFO: TCP Data received {"connection_id":146497,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:02:19] local.INFO: Processing buffer {"connection_id":146497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:02:19] local.INFO: Packet analysis {"connection_id":146497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:02:19] local.INFO: Extracted packet for processing {"connection_id":146497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:02:19] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124140544001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:02:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785641475000,"timestamp_ms":1785641475000,"timestamp_seconds":1785641475,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0869bb8"} 
[2026-08-02 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-08-02 09:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 09:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124140544001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124140544001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:02:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:02:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:02:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124140544001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":146497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:02:19] local.INFO: GPS data processed {"connection_id":146497,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:02:19] local.INFO: Acknowledgment sent {"connection_id":146497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:02:42] local.INFO: TCP Data received {"connection_id":149041,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:02:42] local.INFO: Processing buffer {"connection_id":149041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:02:42] local.INFO: IMEI packet received {"connection_id":149041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":149041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:02:42] local.INFO: TCP Data received {"connection_id":147726,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc086f978012d7a3d8005da9428000701512b..."} 
[2026-08-02 09:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc086f978012d7a3d8005da9428000701512b..."} 
[2026-08-02 09:02:42] local.INFO: Processing buffer {"connection_id":147726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc086f978012d7a3d8005da9428000701512b..."} 
[2026-08-02 09:02:42] local.INFO: Packet analysis {"connection_id":147726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:02:42] local.INFO: Extracted packet for processing {"connection_id":147726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:02:42] local.INFO: GPS Element Parsed {"raw_longitude":762985856,"raw_latitude":98210856,"longitude_deg":76.2985856,"latitude_deg":9.8210856,"altitude":7,"angle":337,"satellites":43,"speed":10,"hex_longitude":"2d7a3d80","hex_latitude":"05da9428","is_valid_coordinates":true} 
[2026-08-02 09:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124221440001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113750598221824000,"note":"Value kept but may cause issues"} 
[2026-08-02 09:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808970527534411776,"note":"Value kept but may cause issues"} 
[2026-08-02 09:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785641499000,"timestamp_ms":1785641499000,"timestamp_seconds":1785641499,"priority":1,"record_length":96,"hex_timestamp":"0000019fc086f978"} 
[2026-08-02 09:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-02 09:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124221440001,"66":13319,"229":206,"85":15104,"24":10,"16":113750598221824000,"45":8808970527534411776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 09:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124221440001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:02:42] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 09:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113750598221824000,"km_value":113750598221824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808970527534411776,"description":"Unknown IO ID 45"} 
[2026-08-02 09:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124221440001,"power":13319,"unknown_229":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8808970527534411776}} 
[2026-08-02 09:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":147726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:02:42] local.INFO: GPS data processed {"connection_id":147726,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:02:42] local.INFO: Acknowledgment sent {"connection_id":147726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:02:47] local.INFO: TCP Data received {"connection_id":149041,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:02:47] local.INFO: Processing buffer {"connection_id":149041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:02:47] local.INFO: IMEI packet received {"connection_id":149041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":149041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:02:48] local.INFO: TCP Data received {"connection_id":149041,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:02:48] local.INFO: Processing buffer {"connection_id":149041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:02:48] local.INFO: Packet analysis {"connection_id":149041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:02:48] local.INFO: Extracted packet for processing {"connection_id":149041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:02:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124140544001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:02:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785641475000,"timestamp_ms":1785641475000,"timestamp_seconds":1785641475,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0869bb8"} 
[2026-08-02 09:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124140544001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124140544001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:02:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:02:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:02:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124140544001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":149041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:02:48] local.INFO: GPS data processed {"connection_id":149041,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:02:48] local.INFO: Acknowledgment sent {"connection_id":149041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:03:05] local.INFO: TCP Data received {"connection_id":146706,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:03:05] local.INFO: Processing buffer {"connection_id":146706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:03:05] local.INFO: IMEI packet received {"connection_id":146706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":146706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:03:08] local.INFO: TCP Data received {"connection_id":146706,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:03:08] local.INFO: Processing buffer {"connection_id":146706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:03:08] local.INFO: IMEI packet received {"connection_id":146706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":146706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:03:09] local.INFO: TCP Data received {"connection_id":146706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0870148012d7a3c8005da96c00007015f2b..."} 
[2026-08-02 09:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0870148012d7a3c8005da96c00007015f2b..."} 
[2026-08-02 09:03:09] local.INFO: Processing buffer {"connection_id":146706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0870148012d7a3c8005da96c00007015f2b..."} 
[2026-08-02 09:03:09] local.INFO: Packet analysis {"connection_id":146706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc087"} 
[2026-08-02 09:03:09] local.INFO: Extracted packet for processing {"connection_id":146706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc087"} 
[2026-08-02 09:03:09] local.INFO: GPS Element Parsed {"raw_longitude":762985600,"raw_latitude":98211520,"longitude_deg":76.29856,"latitude_deg":9.821152,"altitude":7,"angle":351,"satellites":43,"speed":14,"hex_longitude":"2d7a3c80","hex_latitude":"05da96c0","is_valid_coordinates":true} 
[2026-08-02 09:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124223744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113750632581562368,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808337208836892672,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785641501000,"timestamp_ms":1785641501000,"timestamp_seconds":1785641501,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0870148"} 
[2026-08-02 09:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 09:03:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230011160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:09] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2257328129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:09] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-5348024523126266112,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797338830,"corrected_to":0} 
[2026-08-02 09:03:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3668590592,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:09] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57885696623269179,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:09] local.WARNING: Large IO value detected {"io_id":133,"raw_value":-2571554092382732283,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:09] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,229,85,24,241,157,16,31,159,214,45,192,146,9,42,10,66,188,167,1,240,161,227,218,4,113,205,33,93,44,239,51,2,148,5,19,94,133],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2797338830,"validated":0}]} 
[2026-08-02 09:03:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504773878368305152,"timestamp_seconds":504773878368305.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 09:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124223744001,"66":13254,"229":206,"85":15104,"24":14,"16":113750632581562368,"45":8808337208836892672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 09:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124223744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:03:09] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 09:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113750632581562368,"km_value":113750632581562.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808337208836892672,"description":"Unknown IO ID 45"} 
[2026-08-02 09:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124223744001,"power":13254,"unknown_229":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8808337208836892672}} 
[2026-08-02 09:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":146706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:03:09] local.INFO: GPS data processed {"connection_id":146706,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:03:09] local.INFO: Acknowledgment sent {"connection_id":146706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:03:20] local.INFO: TCP Data received {"connection_id":149041,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:03:20] local.INFO: Processing buffer {"connection_id":149041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:03:20] local.INFO: Packet analysis {"connection_id":149041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:03:20] local.INFO: Extracted packet for processing {"connection_id":149041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124140544001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785641475000,"timestamp_ms":1785641475000,"timestamp_seconds":1785641475,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0869bb8"} 
[2026-08-02 09:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124140544001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124140544001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:03:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:03:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124140544001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":149041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:03:20] local.INFO: GPS data processed {"connection_id":149041,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:03:20] local.INFO: Acknowledgment sent {"connection_id":149041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:03:41] local.INFO: TCP Data received {"connection_id":146706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0873be0012d7a370005dab9100007015f2a..."} 
[2026-08-02 09:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0873be0012d7a370005dab9100007015f2a..."} 
[2026-08-02 09:03:41] local.INFO: Processing buffer {"connection_id":146706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0873be0012d7a370005dab9100007015f2a..."} 
[2026-08-02 09:03:41] local.INFO: Packet analysis {"connection_id":146706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc087"} 
[2026-08-02 09:03:41] local.INFO: Extracted packet for processing {"connection_id":146706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc087"} 
[2026-08-02 09:03:41] local.INFO: GPS Element Parsed {"raw_longitude":762984192,"raw_latitude":98220304,"longitude_deg":76.2984192,"latitude_deg":9.8220304,"altitude":7,"angle":351,"satellites":42,"speed":21,"hex_longitude":"2d7a3700","hex_latitude":"05dab910","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124224256001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113751062078291968,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808055733860352000,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785641516000,"timestamp_ms":1785641516000,"timestamp_seconds":1785641516,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0873be0"} 
[2026-08-02 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-08-02 09:03: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-08-02 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-02 09:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 09:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124224256001,"66":12874,"229":206,"85":15104,"24":21,"16":113751062078291968,"45":8808055733860352000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 09:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124224256001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:03:41] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 09:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113751062078291968,"km_value":113751062078291.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808055733860352000,"description":"Unknown IO ID 45"} 
[2026-08-02 09:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124224256001,"power":12874,"unknown_229":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8808055733860352000}} 
[2026-08-02 09:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":146706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:03:41] local.INFO: GPS data processed {"connection_id":146706,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:03:41] local.INFO: Acknowledgment sent {"connection_id":146706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:03:42] local.INFO: TCP Data received {"connection_id":147727,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:03:42] local.INFO: Processing buffer {"connection_id":147727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:03:42] local.INFO: IMEI packet received {"connection_id":147727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":147727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:03:47] local.INFO: TCP Data received {"connection_id":147727,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:03:47] local.INFO: Processing buffer {"connection_id":147727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:03:47] local.INFO: IMEI packet received {"connection_id":147727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":147727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:03:48] local.INFO: TCP Data received {"connection_id":147727,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:03:48] local.INFO: Processing buffer {"connection_id":147727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:03:48] local.INFO: Packet analysis {"connection_id":147727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:03:48] local.INFO: Extracted packet for processing {"connection_id":147727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:03:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124140544001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785641475000,"timestamp_ms":1785641475000,"timestamp_seconds":1785641475,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0869bb8"} 
[2026-08-02 09:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124140544001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124140544001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:03:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:03:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:03:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124140544001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":147727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:03:48] local.INFO: GPS data processed {"connection_id":147727,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:03:48] local.INFO: Acknowledgment sent {"connection_id":147727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:04:06] local.INFO: TCP Data received {"connection_id":146707,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:04:06] local.INFO: Processing buffer {"connection_id":146707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:04:06] local.INFO: IMEI packet received {"connection_id":146707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":146707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:04:06] local.INFO: TCP Data received {"connection_id":146707,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:04:06] local.INFO: Processing buffer {"connection_id":146707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:04:06] local.INFO: IMEI packet received {"connection_id":146707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":146707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:04:10] local.INFO: TCP Data received {"connection_id":146707,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:04:10] local.INFO: Processing buffer {"connection_id":146707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:04:10] local.INFO: IMEI packet received {"connection_id":146707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":146707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:04:11] local.INFO: TCP Data received {"connection_id":146707,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc088e5a8012d7a198005dbcd400008016028..."} 
[2026-08-02 09:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc088e5a8012d7a198005dbcd400008016028..."} 
[2026-08-02 09:04:11] local.INFO: Processing buffer {"connection_id":146707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc088e5a8012d7a198005dbcd400008016028..."} 
[2026-08-02 09:04:11] local.INFO: Packet analysis {"connection_id":146707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc088"} 
[2026-08-02 09:04:11] local.INFO: Extracted packet for processing {"connection_id":146707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc088"} 
[2026-08-02 09:04:11] local.INFO: GPS Element Parsed {"raw_longitude":762976640,"raw_latitude":98291008,"longitude_deg":76.297664,"latitude_deg":9.8291008,"altitude":8,"angle":352,"satellites":40,"speed":42,"hex_longitude":"2d7a1980","hex_latitude":"05dbcd40","is_valid_coordinates":true} 
[2026-08-02 09:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124253696001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113754558181670912,"note":"Value kept but may cause issues"} 
[2026-08-02 09:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802004021879406592,"note":"Value kept but may cause issues"} 
[2026-08-02 09:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785641625000,"timestamp_ms":1785641625000,"timestamp_seconds":1785641625,"priority":1,"record_length":96,"hex_timestamp":"0000019fc088e5a8"} 
[2026-08-02 09:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:04: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-08-02 09:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-02 09:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124253696001,"66":13178,"175":206,"85":15104,"24":42,"16":113754558181670912,"45":8802004021879406592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,45]} 
[2026-08-02 09:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124253696001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:04:11] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 09:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113754558181670912,"km_value":113754558181670.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802004021879406592,"description":"Unknown IO ID 45"} 
[2026-08-02 09:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124253696001,"power":13178,"unknown_175":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8802004021879406592}} 
[2026-08-02 09:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":146707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:04:11] local.INFO: GPS data processed {"connection_id":146707,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:04:11] local.INFO: Acknowledgment sent {"connection_id":146707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:04:20] local.INFO: TCP Data received {"connection_id":147727,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:04:20] local.INFO: Processing buffer {"connection_id":147727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:04:20] local.INFO: Packet analysis {"connection_id":147727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:04:20] local.INFO: Extracted packet for processing {"connection_id":147727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:04:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124140544001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:04:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785641475000,"timestamp_ms":1785641475000,"timestamp_seconds":1785641475,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0869bb8"} 
[2026-08-02 09:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124140544001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124140544001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:04:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:04:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:04:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124140544001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":147727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:04:20] local.INFO: GPS data processed {"connection_id":147727,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:04:20] local.INFO: Acknowledgment sent {"connection_id":147727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:04:41] local.INFO: TCP Data received {"connection_id":149042,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:04:41] local.INFO: Processing buffer {"connection_id":149042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:04:41] local.INFO: IMEI packet received {"connection_id":149042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":149042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:04:42] local.INFO: TCP Data received {"connection_id":146707,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08908d0012d7a15c005dbf1500005016029..."} 
[2026-08-02 09:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08908d0012d7a15c005dbf1500005016029..."} 
[2026-08-02 09:04:42] local.INFO: Processing buffer {"connection_id":146707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08908d0012d7a15c005dbf1500005016029..."} 
[2026-08-02 09:04:42] local.INFO: Packet analysis {"connection_id":146707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc089"} 
[2026-08-02 09:04:42] local.INFO: Extracted packet for processing {"connection_id":146707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc089"} 
[2026-08-02 09:04:42] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":98300240,"longitude_deg":76.297568,"latitude_deg":9.830024,"altitude":5,"angle":352,"satellites":41,"speed":36,"hex_longitude":"2d7a15c0","hex_latitude":"05dbf150","is_valid_coordinates":true} 
[2026-08-02 09:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124256000001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113755009153236992,"note":"Value kept but may cause issues"} 
[2026-08-02 09:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798204109695827968,"note":"Value kept but may cause issues"} 
[2026-08-02 09:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785641634000,"timestamp_ms":1785641634000,"timestamp_seconds":1785641634,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08908d0"} 
[2026-08-02 09:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-02 09:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124256000001,"66":12939,"175":206,"85":15104,"24":36,"16":113755009153236992,"45":8798204109695827968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,45]} 
[2026-08-02 09:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124256000001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:04:42] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 09:04:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113755009153236992,"km_value":113755009153236.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798204109695827968,"description":"Unknown IO ID 45"} 
[2026-08-02 09:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124256000001,"power":12939,"unknown_175":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8798204109695827968}} 
[2026-08-02 09:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":146707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:04:42] local.INFO: GPS data processed {"connection_id":146707,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:04:42] local.INFO: Acknowledgment sent {"connection_id":146707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:04:47] local.INFO: TCP Data received {"connection_id":149042,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:04:47] local.INFO: Processing buffer {"connection_id":149042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:04:47] local.INFO: IMEI packet received {"connection_id":149042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":149042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:04:48] local.INFO: TCP Data received {"connection_id":149042,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:04:48] local.INFO: Processing buffer {"connection_id":149042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:04:48] local.INFO: Packet analysis {"connection_id":149042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:04:48] local.INFO: Extracted packet for processing {"connection_id":149042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:04:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124140544001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:04:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785641475000,"timestamp_ms":1785641475000,"timestamp_seconds":1785641475,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0869bb8"} 
[2026-08-02 09:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124140544001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124140544001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:04:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:04:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:04:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124140544001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":149042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:04:48] local.INFO: GPS data processed {"connection_id":149042,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:04:48] local.INFO: Acknowledgment sent {"connection_id":149042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:05:05] local.INFO: TCP Data received {"connection_id":146498,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:05:05] local.INFO: Processing buffer {"connection_id":146498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:05:05] local.INFO: IMEI packet received {"connection_id":146498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":146498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:05:10] local.INFO: TCP Data received {"connection_id":146498,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:05:10] local.INFO: Processing buffer {"connection_id":146498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:05:10] local.INFO: IMEI packet received {"connection_id":146498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":146498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:05:10] local.INFO: TCP Data received {"connection_id":146498,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0892810012d7a130005dc0930000400022a..."} 
[2026-08-02 09:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0892810012d7a130005dc0930000400022a..."} 
[2026-08-02 09:05:10] local.INFO: Processing buffer {"connection_id":146498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0892810012d7a130005dc0930000400022a..."} 
[2026-08-02 09:05:10] local.INFO: Packet analysis {"connection_id":146498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc089"} 
[2026-08-02 09:05:10] local.INFO: Extracted packet for processing {"connection_id":146498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc089"} 
[2026-08-02 09:05:10] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":98306352,"longitude_deg":76.2974976,"latitude_deg":9.8306352,"altitude":4,"angle":2,"satellites":42,"speed":29,"hex_longitude":"2d7a1300","hex_latitude":"05dc0930","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124258304001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113755309800947712,"note":"Value kept but may cause issues"} 
[2026-08-02 09:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797148578535526400,"note":"Value kept but may cause issues"} 
[2026-08-02 09:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785641642000,"timestamp_ms":1785641642000,"timestamp_seconds":1785641642,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0892810"} 
[2026-08-02 09:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-02 09:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09: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-08-02 09:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:05: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-08-02 09:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124258304001,"66":13341,"175":206,"85":15104,"24":29,"16":113755309800947712,"45":8797148578535526400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,45]} 
[2026-08-02 09:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124258304001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:05:10] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 09:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113755309800947712,"km_value":113755309800947.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797148578535526400,"description":"Unknown IO ID 45"} 
[2026-08-02 09:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124258304001,"power":13341,"unknown_175":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8797148578535526400}} 
[2026-08-02 09:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":146498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:05:10] local.INFO: GPS data processed {"connection_id":146498,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:05:10] local.INFO: Acknowledgment sent {"connection_id":146498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:05:20] local.INFO: TCP Data received {"connection_id":149042,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:05:20] local.INFO: Processing buffer {"connection_id":149042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:05:20] local.INFO: Packet analysis {"connection_id":149042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:05:20] local.INFO: Extracted packet for processing {"connection_id":149042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:05:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124140544001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785641475000,"timestamp_ms":1785641475000,"timestamp_seconds":1785641475,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0869bb8"} 
[2026-08-02 09:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124140544001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124140544001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:05:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:05:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124140544001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":149042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:05:20] local.INFO: GPS data processed {"connection_id":149042,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:05:20] local.INFO: Acknowledgment sent {"connection_id":149042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:05:41] local.INFO: TCP Data received {"connection_id":149043,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:05:41] local.INFO: Processing buffer {"connection_id":149043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:05:41] local.INFO: IMEI packet received {"connection_id":149043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":149043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:05:42] local.INFO: TCP Data received {"connection_id":146498,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08a7418012d79f68005dcc240000900842a..."} 
[2026-08-02 09:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08a7418012d79f68005dcc240000900842a..."} 
[2026-08-02 09:05:42] local.INFO: Processing buffer {"connection_id":146498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08a7418012d79f68005dcc240000900842a..."} 
[2026-08-02 09:05:42] local.INFO: Packet analysis {"connection_id":146498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08a"} 
[2026-08-02 09:05:42] local.INFO: Extracted packet for processing {"connection_id":146498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08a"} 
[2026-08-02 09:05:42] local.INFO: GPS Element Parsed {"raw_longitude":762967680,"raw_latitude":98353728,"longitude_deg":76.296768,"latitude_deg":9.8353728,"altitude":9,"angle":132,"satellites":42,"speed":8,"hex_longitude":"2d79f680","hex_latitude":"05dcc240","is_valid_coordinates":true} 
[2026-08-02 09:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124281856001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113757796587012096,"note":"Value kept but may cause issues"} 
[2026-08-02 09:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788211748038680576,"note":"Value kept but may cause issues"} 
[2026-08-02 09:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785641727000,"timestamp_ms":1785641727000,"timestamp_seconds":1785641727,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08a7418"} 
[2026-08-02 09:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-02 09:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124281856001,"66":12961,"173":206,"85":15104,"24":8,"16":113757796587012096,"45":8788211748038680576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124281856001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:05:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113757796587012096,"km_value":113757796587012.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788211748038680576,"description":"Unknown IO ID 45"} 
[2026-08-02 09:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124281856001,"power":12961,"unknown_173":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8788211748038680576}} 
[2026-08-02 09:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":146498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:05:42] local.INFO: GPS data processed {"connection_id":146498,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:05:42] local.INFO: Acknowledgment sent {"connection_id":146498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:05:47] local.INFO: TCP Data received {"connection_id":149043,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:05:47] local.INFO: Processing buffer {"connection_id":149043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:05:47] local.INFO: IMEI packet received {"connection_id":149043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":149043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:05:48] local.INFO: TCP Data received {"connection_id":149043,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:05:48] local.INFO: Processing buffer {"connection_id":149043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:05:48] local.INFO: Packet analysis {"connection_id":149043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:05:48] local.INFO: Extracted packet for processing {"connection_id":149043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:05:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124140544001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:05:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785641475000,"timestamp_ms":1785641475000,"timestamp_seconds":1785641475,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0869bb8"} 
[2026-08-02 09:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124140544001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124140544001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:05:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:05:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:05:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124140544001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":149043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:05:48] local.INFO: GPS data processed {"connection_id":149043,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:05:48] local.INFO: Acknowledgment sent {"connection_id":149043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:06:10] local.INFO: TCP Data received {"connection_id":146499,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:06:10] local.INFO: Processing buffer {"connection_id":146499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:06:10] local.INFO: IMEI packet received {"connection_id":146499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":146499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:06:10] local.INFO: TCP Data received {"connection_id":146499,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:06:10] local.INFO: Processing buffer {"connection_id":146499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:06:10] local.INFO: IMEI packet received {"connection_id":146499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":146499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:06:15] local.INFO: TCP Data received {"connection_id":146499,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:06:15] local.INFO: Processing buffer {"connection_id":146499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:06:15] local.INFO: IMEI packet received {"connection_id":146499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":146499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:06:16] local.INFO: TCP Data received {"connection_id":146499,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08a7800012d79f6c005dcc170000900992a..."} 
[2026-08-02 09:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08a7800012d79f6c005dcc170000900992a..."} 
[2026-08-02 09:06:16] local.INFO: Processing buffer {"connection_id":146499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08a7800012d79f6c005dcc170000900992a..."} 
[2026-08-02 09:06:16] local.INFO: Packet analysis {"connection_id":146499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08a"} 
[2026-08-02 09:06:16] local.INFO: Extracted packet for processing {"connection_id":146499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08a"} 
[2026-08-02 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":762967744,"raw_latitude":98353520,"longitude_deg":76.2967744,"latitude_deg":9.835352,"altitude":9,"angle":153,"satellites":42,"speed":12,"hex_longitude":"2d79f6c0","hex_latitude":"05dcc170","is_valid_coordinates":true} 
[2026-08-02 09:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124282112001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113757805176946688,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788352485527011328,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785641728000,"timestamp_ms":1785641728000,"timestamp_seconds":1785641728,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08a7800"} 
[2026-08-02 09:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-02 09:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124282112001,"66":13222,"173":206,"85":15104,"24":12,"16":113757805176946688,"45":8788352485527011328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124282112001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:06:16] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113757805176946688,"km_value":113757805176946.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788352485527011328,"description":"Unknown IO ID 45"} 
[2026-08-02 09:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124282112001,"power":13222,"unknown_173":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8788352485527011328}} 
[2026-08-02 09:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":146499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:06:16] local.INFO: GPS data processed {"connection_id":146499,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:06:16] local.INFO: Acknowledgment sent {"connection_id":146499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:06:20] local.INFO: TCP Data received {"connection_id":149043,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:06:20] local.INFO: Processing buffer {"connection_id":149043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:06:20] local.INFO: Packet analysis {"connection_id":149043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:06:20] local.INFO: Extracted packet for processing {"connection_id":149043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:06:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124140544001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785641475000,"timestamp_ms":1785641475000,"timestamp_seconds":1785641475,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0869bb8"} 
[2026-08-02 09:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124140544001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124140544001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:06:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:06:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124140544001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":149043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:06:20] local.INFO: GPS data processed {"connection_id":149043,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:06:20] local.INFO: Acknowledgment sent {"connection_id":149043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:06:20] local.INFO: TCP Data received {"connection_id":146499,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08a83b8012d79f84005dcbd58000900a62a..."} 
[2026-08-02 09:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08a83b8012d79f84005dcbd58000900a62a..."} 
[2026-08-02 09:06:20] local.INFO: Processing buffer {"connection_id":146499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08a83b8012d79f84005dcbd58000900a62a..."} 
[2026-08-02 09:06:20] local.INFO: Packet analysis {"connection_id":146499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08a"} 
[2026-08-02 09:06:20] local.INFO: Extracted packet for processing {"connection_id":146499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08a"} 
[2026-08-02 09:06:20] local.INFO: GPS Element Parsed {"raw_longitude":762968128,"raw_latitude":98352472,"longitude_deg":76.2968128,"latitude_deg":9.8352472,"altitude":9,"angle":166,"satellites":42,"speed":19,"hex_longitude":"2d79f840","hex_latitude":"05dcbd58","is_valid_coordinates":true} 
[2026-08-02 09:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124282368001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113757861011521536,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788422854271135744,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785641731000,"timestamp_ms":1785641731000,"timestamp_seconds":1785641731,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08a83b8"} 
[2026-08-02 09:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:06: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-08-02 09:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-02 09:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124282368001,"66":13015,"173":206,"85":15104,"24":19,"16":113757861011521536,"45":8788422854271135744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124282368001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:06:20] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:06:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113757861011521536,"km_value":113757861011521.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788422854271135744,"description":"Unknown IO ID 45"} 
[2026-08-02 09:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124282368001,"power":13015,"unknown_173":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8788422854271135744}} 
[2026-08-02 09:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":146499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:06:20] local.INFO: GPS data processed {"connection_id":146499,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:06:20] local.INFO: Acknowledgment sent {"connection_id":146499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:06:47] local.INFO: TCP Data received {"connection_id":149044,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:06:47] local.INFO: Processing buffer {"connection_id":149044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:06:47] local.INFO: IMEI packet received {"connection_id":149044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":149044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:06:51] local.INFO: TCP Data received {"connection_id":149044,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:06:51] local.INFO: Processing buffer {"connection_id":149044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:06:51] local.INFO: IMEI packet received {"connection_id":149044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":149044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:06:53] local.INFO: TCP Data received {"connection_id":149044,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:06:53] local.INFO: Processing buffer {"connection_id":149044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0869bb8012cb2ab00077518b0001b002825..."} 
[2026-08-02 09:06:53] local.INFO: Packet analysis {"connection_id":149044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:06:53] local.INFO: Extracted packet for processing {"connection_id":149044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc086"} 
[2026-08-02 09:06:53] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":37,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124140544001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785641475000,"timestamp_ms":1785641475000,"timestamp_seconds":1785641475,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0869bb8"} 
[2026-08-02 09:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124140544001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124140544001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:06:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:06:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:06:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124140544001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":149044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:06:53] local.INFO: GPS data processed {"connection_id":149044,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:06:53] local.INFO: Acknowledgment sent {"connection_id":149044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:06:54] local.INFO: TCP Data received {"connection_id":149044,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:06:54] local.INFO: Processing buffer {"connection_id":149044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:06:54] local.INFO: Packet analysis {"connection_id":149044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:06:54] local.INFO: Extracted packet for processing {"connection_id":149044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:06:54] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124217600001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785641776000,"timestamp_ms":1785641776000,"timestamp_seconds":1785641776,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08b3380"} 
[2026-08-02 09:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09: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-08-02 09:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124217600001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124217600001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:06:54] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:06:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:06:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124217600001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":149044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:06:54] local.INFO: GPS data processed {"connection_id":149044,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:06:54] local.INFO: Acknowledgment sent {"connection_id":149044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:07:05] local.INFO: TCP Data received {"connection_id":146708,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:07:05] local.INFO: Processing buffer {"connection_id":146708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:07:05] local.INFO: IMEI packet received {"connection_id":146708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":146708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:07:10] local.INFO: TCP Data received {"connection_id":146708,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:07:10] local.INFO: Processing buffer {"connection_id":146708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:07:10] local.INFO: IMEI packet received {"connection_id":146708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":146708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:07:11] local.INFO: TCP Data received {"connection_id":146708,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08aba68012d7a044005dc9b38000900a029..."} 
[2026-08-02 09:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08aba68012d7a044005dc9b38000900a029..."} 
[2026-08-02 09:07:11] local.INFO: Processing buffer {"connection_id":146708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08aba68012d7a044005dc9b38000900a029..."} 
[2026-08-02 09:07:11] local.INFO: Packet analysis {"connection_id":146708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08a"} 
[2026-08-02 09:07:11] local.INFO: Extracted packet for processing {"connection_id":146708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08a"} 
[2026-08-02 09:07:11] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":98343736,"longitude_deg":76.29712,"latitude_deg":9.8343736,"altitude":9,"angle":160,"satellites":41,"speed":20,"hex_longitude":"2d7a0440","hex_latitude":"05dc9b38","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124283136001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758307688120320,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788845066735933440,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785641745000,"timestamp_ms":1785641745000,"timestamp_seconds":1785641745,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08aba68"} 
[2026-08-02 09:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-02 09:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09: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-08-02 09:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124283136001,"66":12809,"173":206,"85":15104,"24":20,"16":113758307688120320,"45":8788845066735933440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124283136001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:07:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758307688120320,"km_value":113758307688120.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788845066735933440,"description":"Unknown IO ID 45"} 
[2026-08-02 09:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124283136001,"power":12809,"unknown_173":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8788845066735933440}} 
[2026-08-02 09:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":146708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:07:11] local.INFO: GPS data processed {"connection_id":146708,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:07:11] local.INFO: Acknowledgment sent {"connection_id":146708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:07:26] local.INFO: TCP Data received {"connection_id":149044,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:07:26] local.INFO: Processing buffer {"connection_id":149044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:07:26] local.INFO: Packet analysis {"connection_id":149044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:07:26] local.INFO: Extracted packet for processing {"connection_id":149044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:07:26] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124217600001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785641776000,"timestamp_ms":1785641776000,"timestamp_seconds":1785641776,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08b3380"} 
[2026-08-02 09:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124217600001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124217600001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:07:26] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:07:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:07:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124217600001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":149044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:07:26] local.INFO: GPS data processed {"connection_id":149044,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:07:26] local.INFO: Acknowledgment sent {"connection_id":149044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:07:42] local.INFO: TCP Data received {"connection_id":149045,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:07:42] local.INFO: Processing buffer {"connection_id":149045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:07:42] local.INFO: IMEI packet received {"connection_id":149045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":149045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:07:42] local.INFO: TCP Data received {"connection_id":146708,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08aca08012d7a05c005dc95f0000800ad2b..."} 
[2026-08-02 09:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08aca08012d7a05c005dc95f0000800ad2b..."} 
[2026-08-02 09:07:42] local.INFO: Processing buffer {"connection_id":146708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08aca08012d7a05c005dc95f0000800ad2b..."} 
[2026-08-02 09:07:42] local.INFO: Packet analysis {"connection_id":146708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08a"} 
[2026-08-02 09:07:42] local.INFO: Extracted packet for processing {"connection_id":146708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08a"} 
[2026-08-02 09:07:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98342384,"longitude_deg":76.2971584,"latitude_deg":9.8342384,"altitude":8,"angle":173,"satellites":43,"speed":5,"hex_longitude":"2d7a05c0","hex_latitude":"05dc95f0","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124286720001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758376407597056,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766454224896,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785641749000,"timestamp_ms":1785641749000,"timestamp_seconds":1785641749,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08aca08"} 
[2026-08-02 09:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-02 09:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230289160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:42] local.WARNING: Large IO value detected {"io_id":192,"raw_value":-8482213233745595008,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:42] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3265265673,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2829910222,"corrected_to":0} 
[2026-08-02 09:07:42] local.WARNING: Large IO value detected {"io_id":92,"raw_value":2818649465,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:42] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422376,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2539001046802320343,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:42] local.WARNING: Large IO value detected {"io_id":50,"raw_value":5332488083147378261,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:42] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:42] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,173,85,24,241,157,16,38,159,131,45,64,189,9,42,10,66,120,192,193,116,128,1,240,161,227,220,4,113,205,92,245,239,51,2,148,5,50,59,21],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2829910222,"validated":0}]} 
[2026-08-02 09:07:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648694444296765440,"timestamp_seconds":648694444296765.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 09:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124286720001,"66":12819,"173":206,"85":15104,"24":5,"16":113758376407597056,"45":8792222766454224896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124286720001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:07:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758376407597056,"km_value":113758376407597.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766454224896,"description":"Unknown IO ID 45"} 
[2026-08-02 09:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124286720001,"power":12819,"unknown_173":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8792222766454224896}} 
[2026-08-02 09:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":146708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:07:42] local.INFO: GPS data processed {"connection_id":146708,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:07:42] local.INFO: Acknowledgment sent {"connection_id":146708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:07:47] local.INFO: TCP Data received {"connection_id":149045,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:07:47] local.INFO: Processing buffer {"connection_id":149045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:07:47] local.INFO: IMEI packet received {"connection_id":149045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":149045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:07:48] local.INFO: TCP Data received {"connection_id":149045,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:07:48] local.INFO: Processing buffer {"connection_id":149045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:07:48] local.INFO: Packet analysis {"connection_id":149045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:07:48] local.INFO: Extracted packet for processing {"connection_id":149045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:07:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124217600001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785641776000,"timestamp_ms":1785641776000,"timestamp_seconds":1785641776,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08b3380"} 
[2026-08-02 09:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:07: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":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124217600001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124217600001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:07:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:07:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:07:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124217600001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":149045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:07:48] local.INFO: GPS data processed {"connection_id":149045,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:07:48] local.INFO: Acknowledgment sent {"connection_id":149045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:08:05] local.INFO: TCP Data received {"connection_id":146709,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:08:05] local.INFO: Processing buffer {"connection_id":146709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:08:05] local.INFO: IMEI packet received {"connection_id":146709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":146709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:08:10] local.INFO: TCP Data received {"connection_id":146709,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:08:10] local.INFO: Processing buffer {"connection_id":146709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:08:10] local.INFO: IMEI packet received {"connection_id":146709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":146709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:08:11] local.INFO: TCP Data received {"connection_id":146709,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08b1828012d7a060005dc92b0000600ad2a..."} 
[2026-08-02 09:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08b1828012d7a060005dc92b0000600ad2a..."} 
[2026-08-02 09:08:11] local.INFO: Processing buffer {"connection_id":146709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08b1828012d7a060005dc92b0000600ad2a..."} 
[2026-08-02 09:08:11] local.INFO: Packet analysis {"connection_id":146709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:08:11] local.INFO: Extracted packet for processing {"connection_id":146709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:08:11] local.INFO: GPS Element Parsed {"raw_longitude":762971648,"raw_latitude":98341552,"longitude_deg":76.2971648,"latitude_deg":9.8341552,"altitude":6,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d7a0600","hex_latitude":"05dc92b0","is_valid_coordinates":true} 
[2026-08-02 09:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124287744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758440832106496,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918944768,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785641769000,"timestamp_ms":1785641769000,"timestamp_seconds":1785641769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08b1828"} 
[2026-08-02 09:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:08: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-08-02 09:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230293160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":-8481113722117819008,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505335433068544,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3258974217,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6292372218173521896,"corrected_to":0} 
[2026-08-02 09:08:11] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":384194,"corrected_to":0} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184424,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2539071415546494166,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8862857942324425131,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195031040,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84858063311723715,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.WARNING: Large IO value detected {"io_id":168,"raw_value":2534048572375296,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:11] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,173,85,24,241,157,16,38,159,186,45,64,155,9,41,10,66,131,189,42,120,192,1,240,166,227,220,4,113,205,8,112,246,160,239,50,2,148,5,51,59,69,32,168],"length":625,"final_offset":755,"validated_count":44,"validation_warnings":[{"io_id":205,"original":-6292372218173521896,"validated":0},{"io_id":246,"original":384194,"validated":0}]} 
[2026-08-02 09:08:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576651152498950144,"timestamp_seconds":576651152498950.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 09:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124287744001,"66":13352,"173":206,"85":15104,"24":0,"16":113758440832106496,"45":8792644978918944768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124287744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:08:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758440832106496,"km_value":113758440832106.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918944768,"description":"Unknown IO ID 45"} 
[2026-08-02 09:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124287744001,"power":13352,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918944768}} 
[2026-08-02 09:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":146709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:08:11] local.INFO: GPS data processed {"connection_id":146709,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:08:11] local.INFO: Acknowledgment sent {"connection_id":146709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:08:20] local.INFO: TCP Data received {"connection_id":149045,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:08:20] local.INFO: Processing buffer {"connection_id":149045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:08:20] local.INFO: Packet analysis {"connection_id":149045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:08:20] local.INFO: Extracted packet for processing {"connection_id":149045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:08:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124217600001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785641776000,"timestamp_ms":1785641776000,"timestamp_seconds":1785641776,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08b3380"} 
[2026-08-02 09:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124217600001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124217600001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:08:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:08:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124217600001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":149045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:08:20] local.INFO: GPS data processed {"connection_id":149045,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:08:20] local.INFO: Acknowledgment sent {"connection_id":149045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:08:41] local.INFO: TCP Data received {"connection_id":146500,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:08:41] local.INFO: Processing buffer {"connection_id":146500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:08:41] local.INFO: IMEI packet received {"connection_id":146500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":146500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:08:42] local.INFO: TCP Data received {"connection_id":146709,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08b6a30012d7a05c005dc9368000600ad2b..."} 
[2026-08-02 09:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08b6a30012d7a05c005dc9368000600ad2b..."} 
[2026-08-02 09:08:42] local.INFO: Processing buffer {"connection_id":146709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08b6a30012d7a05c005dc9368000600ad2b..."} 
[2026-08-02 09:08:42] local.INFO: Packet analysis {"connection_id":146709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:08:42] local.INFO: Extracted packet for processing {"connection_id":146709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:08:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341736,"longitude_deg":76.2971584,"latitude_deg":9.8341736,"altitude":6,"angle":173,"satellites":43,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9368","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124292864001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792715347662909440,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785641790000,"timestamp_ms":1785641790000,"timestamp_seconds":1785641790,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08b6a30"} 
[2026-08-02 09:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-02 09:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09: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-08-02 09:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124292864001,"66":13222,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792715347662909440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124292864001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:08:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792715347662909440,"description":"Unknown IO ID 45"} 
[2026-08-02 09:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124292864001,"power":13222,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792715347662909440}} 
[2026-08-02 09:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":146709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:08:42] local.INFO: GPS data processed {"connection_id":146709,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:08:42] local.INFO: Acknowledgment sent {"connection_id":146709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:08:47] local.INFO: TCP Data received {"connection_id":146500,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:08:47] local.INFO: Processing buffer {"connection_id":146500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:08:47] local.INFO: IMEI packet received {"connection_id":146500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":146500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:08:48] local.INFO: TCP Data received {"connection_id":146500,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:08:48] local.INFO: Processing buffer {"connection_id":146500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:08:48] local.INFO: Packet analysis {"connection_id":146500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:08:48] local.INFO: Extracted packet for processing {"connection_id":146500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:08:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124217600001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785641776000,"timestamp_ms":1785641776000,"timestamp_seconds":1785641776,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08b3380"} 
[2026-08-02 09:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124217600001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124217600001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:08:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:08:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:08:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124217600001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":146500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:08:48] local.INFO: GPS data processed {"connection_id":146500,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:08:48] local.INFO: Acknowledgment sent {"connection_id":146500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:09:05] local.INFO: TCP Data received {"connection_id":146710,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:09:05] local.INFO: Processing buffer {"connection_id":146710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:09:05] local.INFO: IMEI packet received {"connection_id":146710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":146710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:09:10] local.INFO: TCP Data received {"connection_id":146710,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:09:10] local.INFO: Processing buffer {"connection_id":146710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:09:10] local.INFO: IMEI packet received {"connection_id":146710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":146710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:09:10] local.INFO: TCP Data received {"connection_id":146710,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08bbc38012d7a05c005dc9368000600ad27..."} 
[2026-08-02 09:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08bbc38012d7a05c005dc9368000600ad27..."} 
[2026-08-02 09:09:10] local.INFO: Processing buffer {"connection_id":146710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08bbc38012d7a05c005dc9368000600ad27..."} 
[2026-08-02 09:09:10] local.INFO: Packet analysis {"connection_id":146710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:09:10] local.INFO: Extracted packet for processing {"connection_id":146710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:09:10] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341736,"longitude_deg":76.2971584,"latitude_deg":9.8341736,"altitude":6,"angle":173,"satellites":39,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9368","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124298240001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785641811000,"timestamp_ms":1785641811000,"timestamp_seconds":1785641811,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08bbc38"} 
[2026-08-02 09:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":166,"data_length":795,"current_offset":136} 
[2026-08-02 09:09: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-08-02 09: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-08-02 09:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:09: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-08-02 09:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124298240001,"66":13254,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124298240001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:09:10] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124298240001,"power":13254,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":146710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:09:11] local.INFO: GPS data processed {"connection_id":146710,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:09:11] local.INFO: Acknowledgment sent {"connection_id":146710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:09:20] local.INFO: TCP Data received {"connection_id":146500,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:09:20] local.INFO: Processing buffer {"connection_id":146500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:09:20] local.INFO: Packet analysis {"connection_id":146500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:09:20] local.INFO: Extracted packet for processing {"connection_id":146500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:09:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124217600001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785641776000,"timestamp_ms":1785641776000,"timestamp_seconds":1785641776,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08b3380"} 
[2026-08-02 09:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124217600001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124217600001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:09:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:09:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124217600001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":146500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:09:20] local.INFO: GPS data processed {"connection_id":146500,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:09:20] local.INFO: Acknowledgment sent {"connection_id":146500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:09:41] local.INFO: TCP Data received {"connection_id":147728,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:09:41] local.INFO: Processing buffer {"connection_id":147728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:09:41] local.INFO: IMEI packet received {"connection_id":147728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":147728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:09:42] local.INFO: TCP Data received {"connection_id":146710,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08c0e40012d7a05c005dc9368000600ad2a..."} 
[2026-08-02 09:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08c0e40012d7a05c005dc9368000600ad2a..."} 
[2026-08-02 09:09:42] local.INFO: Processing buffer {"connection_id":146710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08c0e40012d7a05c005dc9368000600ad2a..."} 
[2026-08-02 09:09:42] local.INFO: Packet analysis {"connection_id":146710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08c"} 
[2026-08-02 09:09:42] local.INFO: Extracted packet for processing {"connection_id":146710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08c"} 
[2026-08-02 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341736,"longitude_deg":76.2971584,"latitude_deg":9.8341736,"altitude":6,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9368","is_valid_coordinates":true} 
[2026-08-02 09:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124303616001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785641832000,"timestamp_ms":1785641832000,"timestamp_seconds":1785641832,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08c0e40"} 
[2026-08-02 09:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-02 09:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124303616001,"66":13493,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124303616001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:09:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124303616001,"power":13493,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":146710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:09:42] local.INFO: GPS data processed {"connection_id":146710,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:09:42] local.INFO: Acknowledgment sent {"connection_id":146710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:09:47] local.INFO: TCP Data received {"connection_id":147728,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:09:47] local.INFO: Processing buffer {"connection_id":147728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:09:47] local.INFO: IMEI packet received {"connection_id":147728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":147728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:09:48] local.INFO: TCP Data received {"connection_id":147728,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:09:48] local.INFO: Processing buffer {"connection_id":147728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:09:48] local.INFO: Packet analysis {"connection_id":147728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:09:48] local.INFO: Extracted packet for processing {"connection_id":147728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:09:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124217600001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:09:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785641776000,"timestamp_ms":1785641776000,"timestamp_seconds":1785641776,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08b3380"} 
[2026-08-02 09:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124217600001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124217600001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:09:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:09:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:09:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124217600001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":147728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:09:48] local.INFO: GPS data processed {"connection_id":147728,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:09:48] local.INFO: Acknowledgment sent {"connection_id":147728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:10:05] local.INFO: TCP Data received {"connection_id":146711,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:10:05] local.INFO: Processing buffer {"connection_id":146711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:10:05] local.INFO: IMEI packet received {"connection_id":146711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":146711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:10:10] local.INFO: TCP Data received {"connection_id":146711,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:10:10] local.INFO: Processing buffer {"connection_id":146711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:10:10] local.INFO: IMEI packet received {"connection_id":146711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":146711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:10:11] local.INFO: TCP Data received {"connection_id":146711,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08c6048012d7a05c005dc9368000600ad2a..."} 
[2026-08-02 09:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08c6048012d7a05c005dc9368000600ad2a..."} 
[2026-08-02 09:10:11] local.INFO: Processing buffer {"connection_id":146711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08c6048012d7a05c005dc9368000600ad2a..."} 
[2026-08-02 09:10:11] local.INFO: Packet analysis {"connection_id":146711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08c"} 
[2026-08-02 09:10:11] local.INFO: Extracted packet for processing {"connection_id":146711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08c"} 
[2026-08-02 09:10:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341736,"longitude_deg":76.2971584,"latitude_deg":9.8341736,"altitude":6,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9368","is_valid_coordinates":true} 
[2026-08-02 09:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124308992001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785641853000,"timestamp_ms":1785641853000,"timestamp_seconds":1785641853,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08c6048"} 
[2026-08-02 09:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:10: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-08-02 09:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 09:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09: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-08-02 09:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124308992001,"66":13406,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124308992001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:10:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124308992001,"power":13406,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":146711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:10:11] local.INFO: GPS data processed {"connection_id":146711,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:10:11] local.INFO: Acknowledgment sent {"connection_id":146711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:10:20] local.INFO: TCP Data received {"connection_id":147728,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:10:20] local.INFO: Processing buffer {"connection_id":147728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:10:20] local.INFO: Packet analysis {"connection_id":147728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:10:20] local.INFO: Extracted packet for processing {"connection_id":147728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:10:20] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124217600001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785641776000,"timestamp_ms":1785641776000,"timestamp_seconds":1785641776,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08b3380"} 
[2026-08-02 09:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124217600001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124217600001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:10:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:10:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124217600001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":147728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:10:20] local.INFO: GPS data processed {"connection_id":147728,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:10:20] local.INFO: Acknowledgment sent {"connection_id":147728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:10:42] local.INFO: TCP Data received {"connection_id":146711,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08c8b40012d7a05c005dc9368000600ad28..."} 
[2026-08-02 09:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08c8b40012d7a05c005dc9368000600ad28..."} 
[2026-08-02 09:10:42] local.INFO: Processing buffer {"connection_id":146711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08c8b40012d7a05c005dc9368000600ad28..."} 
[2026-08-02 09:10:42] local.INFO: Packet analysis {"connection_id":146711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08c"} 
[2026-08-02 09:10:42] local.INFO: Extracted packet for processing {"connection_id":146711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08c"} 
[2026-08-02 09:10:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341736,"longitude_deg":76.2971584,"latitude_deg":9.8341736,"altitude":6,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9368","is_valid_coordinates":true} 
[2026-08-02 09:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124314368001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785641864000,"timestamp_ms":1785641864000,"timestamp_seconds":1785641864,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08c8b40"} 
[2026-08-02 09:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 09:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09: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-08-02 09:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:10: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-08-02 09:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124314368001,"66":13515,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124314368001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:10:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124314368001,"power":13515,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":146711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:10:42] local.INFO: GPS data processed {"connection_id":146711,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:10:42] local.INFO: Acknowledgment sent {"connection_id":146711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:10:47] local.INFO: TCP Data received {"connection_id":147729,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:10:47] local.INFO: Processing buffer {"connection_id":147729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:10:47] local.INFO: IMEI packet received {"connection_id":147729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":147729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:10:51] local.INFO: TCP Data received {"connection_id":147729,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:10:51] local.INFO: Processing buffer {"connection_id":147729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:10:51] local.INFO: IMEI packet received {"connection_id":147729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":147729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:10:52] local.INFO: TCP Data received {"connection_id":147729,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:10:52] local.INFO: Processing buffer {"connection_id":147729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:10:52] local.INFO: Packet analysis {"connection_id":147729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:10:52] local.INFO: Extracted packet for processing {"connection_id":147729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:10:52] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124217600001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785641776000,"timestamp_ms":1785641776000,"timestamp_seconds":1785641776,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08b3380"} 
[2026-08-02 09:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124217600001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124217600001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:10:52] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:10:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:10:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124217600001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":147729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:10:52] local.INFO: GPS data processed {"connection_id":147729,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:10:52] local.INFO: Acknowledgment sent {"connection_id":147729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:10:57] local.INFO: TCP Data received {"connection_id":147729,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:10:57] local.INFO: Processing buffer {"connection_id":147729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:10:57] local.INFO: Packet analysis {"connection_id":147729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:10:57] local.INFO: Extracted packet for processing {"connection_id":147729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:10:57] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124217600001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785641776000,"timestamp_ms":1785641776000,"timestamp_seconds":1785641776,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08b3380"} 
[2026-08-02 09:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09: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-08-02 09:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124217600001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124217600001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:10:57] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:10:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:10:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124217600001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":147729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:10:57] local.INFO: GPS data processed {"connection_id":147729,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:10:57] local.INFO: Acknowledgment sent {"connection_id":147729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:11:10] local.INFO: TCP Data received {"connection_id":149046,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:11:10] local.INFO: Processing buffer {"connection_id":149046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:11:10] local.INFO: IMEI packet received {"connection_id":149046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":149046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:11:15] local.INFO: TCP Data received {"connection_id":149046,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:11:15] local.INFO: Processing buffer {"connection_id":149046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:11:15] local.INFO: IMEI packet received {"connection_id":149046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":149046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:11:16] local.INFO: TCP Data received {"connection_id":149046,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08c8b40012d7a05c005dc9368000600ad28..."} 
[2026-08-02 09:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08c8b40012d7a05c005dc9368000600ad28..."} 
[2026-08-02 09:11:16] local.INFO: Processing buffer {"connection_id":149046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08c8b40012d7a05c005dc9368000600ad28..."} 
[2026-08-02 09:11:16] local.INFO: Packet analysis {"connection_id":149046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08c"} 
[2026-08-02 09:11:16] local.INFO: Extracted packet for processing {"connection_id":149046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08c"} 
[2026-08-02 09:11:16] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341736,"longitude_deg":76.2971584,"latitude_deg":9.8341736,"altitude":6,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9368","is_valid_coordinates":true} 
[2026-08-02 09:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124317184001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785641864000,"timestamp_ms":1785641864000,"timestamp_seconds":1785641864,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08c8b40"} 
[2026-08-02 09:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09: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-08-02 09:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 09:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124317184001,"66":13515,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124317184001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:11:16] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124317184001,"power":13515,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":149046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:11:16] local.INFO: GPS data processed {"connection_id":149046,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:11:16] local.INFO: Acknowledgment sent {"connection_id":149046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:11:21] local.INFO: TCP Data received {"connection_id":149046,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08cb250012d7a05c005dc9368000600ad29..."} 
[2026-08-02 09:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08cb250012d7a05c005dc9368000600ad29..."} 
[2026-08-02 09:11:21] local.INFO: Processing buffer {"connection_id":149046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08cb250012d7a05c005dc9368000600ad29..."} 
[2026-08-02 09:11:21] local.INFO: Packet analysis {"connection_id":149046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08c"} 
[2026-08-02 09:11:21] local.INFO: Extracted packet for processing {"connection_id":149046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08c"} 
[2026-08-02 09:11:21] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341736,"longitude_deg":76.2971584,"latitude_deg":9.8341736,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9368","is_valid_coordinates":true} 
[2026-08-02 09:11: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-08-02 09:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124317184001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785641874000,"timestamp_ms":1785641874000,"timestamp_seconds":1785641874,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08cb250"} 
[2026-08-02 09:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 09:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124317184001,"66":13319,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124317184001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:11:21] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124317184001,"power":13319,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":149046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:11:21] local.INFO: GPS data processed {"connection_id":149046,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:11:21] local.INFO: Acknowledgment sent {"connection_id":149046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:11:42] local.INFO: TCP Data received {"connection_id":146712,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:11:42] local.INFO: Processing buffer {"connection_id":146712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:11:42] local.INFO: IMEI packet received {"connection_id":146712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":146712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:11:46] local.INFO: TCP Data received {"connection_id":146712,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:11:46] local.INFO: Processing buffer {"connection_id":146712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:11:46] local.INFO: IMEI packet received {"connection_id":146712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":146712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:11:47] local.INFO: TCP Data received {"connection_id":146712,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:11:48] local.INFO: Processing buffer {"connection_id":146712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08b3380012cb2ab00077518b0001b002827..."} 
[2026-08-02 09:11:48] local.INFO: Packet analysis {"connection_id":146712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:11:48] local.INFO: Extracted packet for processing {"connection_id":146712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08b"} 
[2026-08-02 09:11:48] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124217600001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:11:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785641776000,"timestamp_ms":1785641776000,"timestamp_seconds":1785641776,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08b3380"} 
[2026-08-02 09:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124217600001,"66":25756,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124217600001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:11:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:11:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:11:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124217600001,"power":25756,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":146712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:11:48] local.INFO: GPS data processed {"connection_id":146712,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:11:48] local.INFO: Acknowledgment sent {"connection_id":146712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:12:05] local.INFO: TCP Data received {"connection_id":146713,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:12:05] local.INFO: Processing buffer {"connection_id":146713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:12:05] local.INFO: IMEI packet received {"connection_id":146713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":146713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:12:10] local.INFO: TCP Data received {"connection_id":146713,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:12:10] local.INFO: Processing buffer {"connection_id":146713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:12:10] local.INFO: IMEI packet received {"connection_id":146713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":146713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:12:12] local.INFO: TCP Data received {"connection_id":146713,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08cb250012d7a05c005dc9368000600ad29..."} 
[2026-08-02 09:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08cb250012d7a05c005dc9368000600ad29..."} 
[2026-08-02 09:12:12] local.INFO: Processing buffer {"connection_id":146713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08cb250012d7a05c005dc9368000600ad29..."} 
[2026-08-02 09:12:12] local.INFO: Packet analysis {"connection_id":146713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08c"} 
[2026-08-02 09:12:12] local.INFO: Extracted packet for processing {"connection_id":146713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08c"} 
[2026-08-02 09:12:12] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341736,"longitude_deg":76.2971584,"latitude_deg":9.8341736,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9368","is_valid_coordinates":true} 
[2026-08-02 09:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785641874000,"timestamp_ms":1785641874000,"timestamp_seconds":1785641874,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08cb250"} 
[2026-08-02 09:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:12: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-08-02 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 09:12:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:12] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230362160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:12] local.WARNING: Large IO value detected {"io_id":139,"raw_value":1740642550811066373,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:12] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2349744129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:12] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-7876795722489845248,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2829910222,"corrected_to":0} 
[2026-08-02 09:12:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3700647936,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:12] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941416,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:12] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57887831222015291,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:12] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,173,85,24,241,157,16,38,159,139,45,192,147,6,40,10,66,96,1,240,94,227,220,4,113,205,188,5,104,39,239,51,2,148,166],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2829910222,"validated":0}]} 
[2026-08-02 09:12:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432535955832832031,"timestamp_seconds":432535955832832.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 09:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:12: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-08-02 09:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124319744001,"66":13319,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:12:12] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124319744001,"power":13319,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":146713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:12:12] local.INFO: GPS data processed {"connection_id":146713,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:12:12] local.INFO: Acknowledgment sent {"connection_id":146713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:12:19] local.INFO: TCP Data received {"connection_id":146712,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08fcb48012cb2ab00077518b0001b00282b..."} 
[2026-08-02 09:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08fcb48012cb2ab00077518b0001b00282b..."} 
[2026-08-02 09:12:19] local.INFO: Processing buffer {"connection_id":146712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08fcb48012cb2ab00077518b0001b00282b..."} 
[2026-08-02 09:12:19] local.INFO: Packet analysis {"connection_id":146712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08f"} 
[2026-08-02 09:12:19] local.INFO: Extracted packet for processing {"connection_id":146712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08f"} 
[2026-08-02 09:12:19] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":43,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124294656001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785642077000,"timestamp_ms":1785642077000,"timestamp_seconds":1785642077,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08fcb48"} 
[2026-08-02 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-08-02 09:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 09:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 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-08-02 09:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124294656001,"66":25712,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124294656001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:12:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:12:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:12:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124294656001,"power":25712,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":146712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:12:19] local.INFO: GPS data processed {"connection_id":146712,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:12:19] local.INFO: Acknowledgment sent {"connection_id":146712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:12:43] local.INFO: TCP Data received {"connection_id":146713,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08cb250012d7a05c005dc9368000600ad29..."} 
[2026-08-02 09:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08cb250012d7a05c005dc9368000600ad29..."} 
[2026-08-02 09:12:43] local.INFO: Processing buffer {"connection_id":146713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08cb250012d7a05c005dc9368000600ad29..."} 
[2026-08-02 09:12:43] local.INFO: Packet analysis {"connection_id":146713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08c"} 
[2026-08-02 09:12:43] local.INFO: Extracted packet for processing {"connection_id":146713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08c"} 
[2026-08-02 09:12:43] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341736,"longitude_deg":76.2971584,"latitude_deg":9.8341736,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9368","is_valid_coordinates":true} 
[2026-08-02 09:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785641874000,"timestamp_ms":1785641874000,"timestamp_seconds":1785641874,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08cb250"} 
[2026-08-02 09:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:12: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-08-02 09:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 09:12:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:43] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230362160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:43] local.WARNING: Large IO value detected {"io_id":139,"raw_value":1740642550811066373,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:43] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2349744129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:43] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-7876795722489845248,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2829910222,"corrected_to":0} 
[2026-08-02 09:12:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3700647936,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:43] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941416,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:43] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57887831222015291,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:43] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,173,85,24,241,157,16,38,159,139,45,192,147,6,40,10,66,96,1,240,94,227,220,4,113,205,188,5,104,39,239,51,2,148,166],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2829910222,"validated":0}]} 
[2026-08-02 09:12:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432535955832832031,"timestamp_seconds":432535955832832.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 09:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:12: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-08-02 09:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124319744001,"66":13319,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:12:43] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124319744001,"power":13319,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":146713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:12:43] local.INFO: GPS data processed {"connection_id":146713,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:12:43] local.INFO: Acknowledgment sent {"connection_id":146713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:12:50] local.INFO: TCP Data received {"connection_id":146501,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:12:50] local.INFO: Processing buffer {"connection_id":146501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:12:50] local.INFO: IMEI packet received {"connection_id":146501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":146501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:12:51] local.INFO: TCP Data received {"connection_id":146501,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:12:51] local.INFO: Processing buffer {"connection_id":146501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:12:51] local.INFO: IMEI packet received {"connection_id":146501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":146501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:12:52] local.INFO: TCP Data received {"connection_id":146501,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0904460012cb2ab00077518b0001b002828..."} 
[2026-08-02 09:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0904460012cb2ab00077518b0001b002828..."} 
[2026-08-02 09:12:52] local.INFO: Processing buffer {"connection_id":146501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0904460012cb2ab00077518b0001b002828..."} 
[2026-08-02 09:12:52] local.INFO: Packet analysis {"connection_id":146501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc090"} 
[2026-08-02 09:12:52] local.INFO: Extracted packet for processing {"connection_id":146501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc090"} 
[2026-08-02 09:12:52] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 09:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124371712001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785642108000,"timestamp_ms":1785642108000,"timestamp_seconds":1785642108,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0904460"} 
[2026-08-02 09:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-02 09:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124371712001,"66":25734,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124371712001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:12:52] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:12:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:12:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124371712001,"power":25734,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":146501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:12:52] local.INFO: GPS data processed {"connection_id":146501,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:12:52] local.INFO: Acknowledgment sent {"connection_id":146501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:12:53] local.INFO: TCP Data received {"connection_id":146501,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0904c30012cb2a5c007751678001b00ee28..."} 
[2026-08-02 09:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0904c30012cb2a5c007751678001b00ee28..."} 
[2026-08-02 09:12:53] local.INFO: Processing buffer {"connection_id":146501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0904c30012cb2a5c007751678001b00ee28..."} 
[2026-08-02 09:12:53] local.INFO: Packet analysis {"connection_id":146501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc090"} 
[2026-08-02 09:12:53] local.INFO: Extracted packet for processing {"connection_id":146501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc090"} 
[2026-08-02 09:12:53] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125113976,"longitude_deg":74.9905344,"latitude_deg":12.5113976,"altitude":27,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751678","is_valid_coordinates":true} 
[2026-08-02 09:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124379648001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 09:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785642110000,"timestamp_ms":1785642110000,"timestamp_seconds":1785642110,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0904c30"} 
[2026-08-02 09:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-02 09:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124379648001,"66":25615,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124379648001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:12:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:12:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:12:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 09:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124379648001,"power":25615,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 09:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":146501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:12:53] local.INFO: GPS data processed {"connection_id":146501,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:12:53] local.INFO: Acknowledgment sent {"connection_id":146501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:13:05] local.INFO: TCP Data received {"connection_id":147730,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:13:05] local.INFO: Processing buffer {"connection_id":147730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:13:05] local.INFO: IMEI packet received {"connection_id":147730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":147730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:13:10] local.INFO: TCP Data received {"connection_id":147730,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:13:10] local.INFO: Processing buffer {"connection_id":147730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:13:10] local.INFO: IMEI packet received {"connection_id":147730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":147730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:13:11] local.INFO: TCP Data received {"connection_id":147730,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:13:11] local.INFO: Processing buffer {"connection_id":147730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:13:11] local.INFO: Packet analysis {"connection_id":147730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:13:11] local.INFO: Extracted packet for processing {"connection_id":147730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:13:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":36,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785642169000,"timestamp_ms":1785642169000,"timestamp_seconds":1785642169,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09132a8"} 
[2026-08-02 09:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:13: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-08-02 09:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 09:13:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:11] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230383160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2355120129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:11] local.WARNING: Large IO value detected {"io_id":139,"raw_value":7651617061734825989,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:11] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13478061,"corrected_to":0} 
[2026-08-02 09:13:11] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-7825004326775084288,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2829910222,"corrected_to":0} 
[2026-08-02 09:13:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3700647936,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:11] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728744,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:11] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57887831222015291,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,173,85,24,241,157,16,38,159,178,45,192,147,6,41,10,66,139,40,240,203,227,220,4,113,205,14,5,104,42,239,1,52,2,148,198],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":203,"original":13478061,"validated":0},{"io_id":205,"original":2829910222,"validated":0}]} 
[2026-08-02 09:13:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432535955832832066,"timestamp_seconds":432535955832832.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 09:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124319744001,"66":2253,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:13:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124319744001,"power":2253,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":147730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:13:11] local.INFO: GPS data processed {"connection_id":147730,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:13:11] local.INFO: Acknowledgment sent {"connection_id":147730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:13:25] local.INFO: TCP Data received {"connection_id":146501,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0909e38012cb2a5c007751678001b00ee29..."} 
[2026-08-02 09:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0909e38012cb2a5c007751678001b00ee29..."} 
[2026-08-02 09:13:25] local.INFO: Processing buffer {"connection_id":146501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0909e38012cb2a5c007751678001b00ee29..."} 
[2026-08-02 09:13:25] local.INFO: Packet analysis {"connection_id":146501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc090"} 
[2026-08-02 09:13:25] local.INFO: Extracted packet for processing {"connection_id":146501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc090"} 
[2026-08-02 09:13:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125113976,"longitude_deg":74.9905344,"latitude_deg":12.5113976,"altitude":27,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751678","is_valid_coordinates":true} 
[2026-08-02 09:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124380160001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539409920,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785642131000,"timestamp_ms":1785642131000,"timestamp_seconds":1785642131,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0909e38"} 
[2026-08-02 09:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 09:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124380160001,"66":27930,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5573837825539409920},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124380160001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:13:25] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:13:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:13:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539409920,"description":"Unknown IO ID 44"} 
[2026-08-02 09:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124380160001,"power":27930,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573837825539409920}} 
[2026-08-02 09:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":146501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:13:25] local.INFO: GPS data processed {"connection_id":146501,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:13:25] local.INFO: Acknowledgment sent {"connection_id":146501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:13:41] local.INFO: TCP Data received {"connection_id":146714,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:13:41] local.INFO: Processing buffer {"connection_id":146714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:13:41] local.INFO: IMEI packet received {"connection_id":146714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":146714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:13:42] local.INFO: TCP Data received {"connection_id":147730,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:13:42] local.INFO: Processing buffer {"connection_id":147730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:13:42] local.INFO: Packet analysis {"connection_id":147730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:13:42] local.INFO: Extracted packet for processing {"connection_id":147730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:13:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":36,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785642169000,"timestamp_ms":1785642169000,"timestamp_seconds":1785642169,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09132a8"} 
[2026-08-02 09:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 09:13:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:42] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230383160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:42] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2355120129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:42] local.WARNING: Large IO value detected {"io_id":139,"raw_value":7651617061734825989,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:42] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13478061,"corrected_to":0} 
[2026-08-02 09:13:42] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-7825004326775084288,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2829910222,"corrected_to":0} 
[2026-08-02 09:13:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3700647936,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:42] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728744,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:42] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57887831222015291,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:42] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,173,85,24,241,157,16,38,159,178,45,192,147,6,41,10,66,139,40,240,203,227,220,4,113,205,14,5,104,42,239,1,52,2,148,198],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":203,"original":13478061,"validated":0},{"io_id":205,"original":2829910222,"validated":0}]} 
[2026-08-02 09:13:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432535955832832066,"timestamp_seconds":432535955832832.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 09:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124319744001,"66":2253,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:13:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124319744001,"power":2253,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":147730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:13:42] local.INFO: GPS data processed {"connection_id":147730,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:13:42] local.INFO: Acknowledgment sent {"connection_id":147730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:13:46] local.INFO: TCP Data received {"connection_id":146714,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:13:46] local.INFO: Processing buffer {"connection_id":146714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:13:46] local.INFO: IMEI packet received {"connection_id":146714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":146714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:13:48] local.INFO: TCP Data received {"connection_id":146714,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc090f040012cb2a5c007751678001b00ee27..."} 
[2026-08-02 09:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc090f040012cb2a5c007751678001b00ee27..."} 
[2026-08-02 09:13:48] local.INFO: Processing buffer {"connection_id":146714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc090f040012cb2a5c007751678001b00ee27..."} 
[2026-08-02 09:13:48] local.INFO: Packet analysis {"connection_id":146714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc090"} 
[2026-08-02 09:13:48] local.INFO: Extracted packet for processing {"connection_id":146714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc090"} 
[2026-08-02 09:13:48] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125113976,"longitude_deg":74.9905344,"latitude_deg":12.5113976,"altitude":27,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751678","is_valid_coordinates":true} 
[2026-08-02 09:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124385536001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539409920,"note":"Value kept but may cause issues"} 
[2026-08-02 09:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785642152000,"timestamp_ms":1785642152000,"timestamp_seconds":1785642152,"priority":1,"record_length":96,"hex_timestamp":"0000019fc090f040"} 
[2026-08-02 09:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-02 09:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124385536001,"66":27843,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5573837825539409920},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124385536001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:13:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:13:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:13:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539409920,"description":"Unknown IO ID 44"} 
[2026-08-02 09:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124385536001,"power":27843,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573837825539409920}} 
[2026-08-02 09:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":146714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:13:48] local.INFO: GPS data processed {"connection_id":146714,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:13:48] local.INFO: Acknowledgment sent {"connection_id":146714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:14:05] local.INFO: TCP Data received {"connection_id":149047,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:14:05] local.INFO: Processing buffer {"connection_id":149047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:14:05] local.INFO: IMEI packet received {"connection_id":149047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":149047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:14:10] local.INFO: TCP Data received {"connection_id":149047,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:14:10] local.INFO: Processing buffer {"connection_id":149047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:14:10] local.INFO: IMEI packet received {"connection_id":149047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":149047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:14:11] local.INFO: TCP Data received {"connection_id":149047,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:14:11] local.INFO: Processing buffer {"connection_id":149047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:14:11] local.INFO: Packet analysis {"connection_id":149047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:14:11] local.INFO: Extracted packet for processing {"connection_id":149047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:14:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":36,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785642169000,"timestamp_ms":1785642169000,"timestamp_seconds":1785642169,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09132a8"} 
[2026-08-02 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-08-02 09:14: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-08-02 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":7,"data_length":795,"current_offset":136} 
[2026-08-02 09:14:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:11] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230383160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2355120129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:11] local.WARNING: Large IO value detected {"io_id":139,"raw_value":7651617061734825989,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:11] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13478061,"corrected_to":0} 
[2026-08-02 09:14:11] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-7825004326775084288,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2829910222,"corrected_to":0} 
[2026-08-02 09:14:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3700647936,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:11] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728744,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:11] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57887831222015291,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,173,85,24,241,157,16,38,159,178,45,192,147,6,41,10,66,139,40,240,203,227,220,4,113,205,14,5,104,42,239,1,52,2,148,198],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":203,"original":13478061,"validated":0},{"io_id":205,"original":2829910222,"validated":0}]} 
[2026-08-02 09:14:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432535955832832066,"timestamp_seconds":432535955832832.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 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-08-02 09:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124319744001,"66":2253,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:14:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124319744001,"power":2253,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":149047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:14:11] local.INFO: GPS data processed {"connection_id":149047,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:14:11] local.INFO: Acknowledgment sent {"connection_id":149047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:14:19] local.INFO: TCP Data received {"connection_id":146714,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0913690012cb2a640077517b8001d003624..."} 
[2026-08-02 09:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0913690012cb2a640077517b8001d003624..."} 
[2026-08-02 09:14:19] local.INFO: Processing buffer {"connection_id":146714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0913690012cb2a640077517b8001d003624..."} 
[2026-08-02 09:14:19] local.INFO: Packet analysis {"connection_id":146714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:14:19] local.INFO: Extracted packet for processing {"connection_id":146714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:14:19] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114296,"longitude_deg":74.9905472,"latitude_deg":12.5114296,"altitude":29,"angle":54,"satellites":36,"speed":2,"hex_longitude":"2cb2a640","hex_latitude":"077517b8","is_valid_coordinates":true} 
[2026-08-02 09:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124390912001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154480434642944,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539409920,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785642170000,"timestamp_ms":1785642170000,"timestamp_seconds":1785642170,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0913690"} 
[2026-08-02 09:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 09:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124390912001,"66":27767,"241":206,"27":54016,"24":2,"16":367154480434642944,"44":-5573837825539409920},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124390912001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:14:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:14:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154480434642944,"km_value":367154480434642.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:14:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539409920,"description":"Unknown IO ID 44"} 
[2026-08-02 09:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124390912001,"power":27767,"unknown_241":206,"unknown_27":54016,"ignition":2,"odometer":null,"unknown_44":-5573837825539409920}} 
[2026-08-02 09:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":146714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:14:19] local.INFO: GPS data processed {"connection_id":146714,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:14:19] local.INFO: Acknowledgment sent {"connection_id":146714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:14:42] local.INFO: TCP Data received {"connection_id":146502,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:14:42] local.INFO: Processing buffer {"connection_id":146502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:14:42] local.INFO: IMEI packet received {"connection_id":146502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":146502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:14:42] local.INFO: TCP Data received {"connection_id":149047,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:14:42] local.INFO: Processing buffer {"connection_id":149047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:14:42] local.INFO: Packet analysis {"connection_id":149047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:14:42] local.INFO: Extracted packet for processing {"connection_id":149047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:14:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":36,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785642169000,"timestamp_ms":1785642169000,"timestamp_seconds":1785642169,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09132a8"} 
[2026-08-02 09:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 09:14:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:42] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230383160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:42] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2355120129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:42] local.WARNING: Large IO value detected {"io_id":139,"raw_value":7651617061734825989,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:42] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13478061,"corrected_to":0} 
[2026-08-02 09:14:42] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-7825004326775084288,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2829910222,"corrected_to":0} 
[2026-08-02 09:14:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3700647936,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:42] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728744,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:42] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57887831222015291,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:42] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,173,85,24,241,157,16,38,159,178,45,192,147,6,41,10,66,139,40,240,203,227,220,4,113,205,14,5,104,42,239,1,52,2,148,198],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":203,"original":13478061,"validated":0},{"io_id":205,"original":2829910222,"validated":0}]} 
[2026-08-02 09:14:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432535955832832066,"timestamp_seconds":432535955832832.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 09:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124319744001,"66":2253,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:14:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124319744001,"power":2253,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":149047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:14:42] local.INFO: GPS data processed {"connection_id":149047,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:14:42] local.INFO: Acknowledgment sent {"connection_id":149047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:14:46] local.INFO: TCP Data received {"connection_id":146502,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:14:46] local.INFO: Processing buffer {"connection_id":146502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:14:46] local.INFO: IMEI packet received {"connection_id":146502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":146502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:14:47] local.INFO: TCP Data received {"connection_id":146502,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0914a18012cb2a94007751a20001e002a25..."} 
[2026-08-02 09:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0914a18012cb2a94007751a20001e002a25..."} 
[2026-08-02 09:14:47] local.INFO: Processing buffer {"connection_id":146502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0914a18012cb2a94007751a20001e002a25..."} 
[2026-08-02 09:14:47] local.INFO: Packet analysis {"connection_id":146502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:14:47] local.INFO: Extracted packet for processing {"connection_id":146502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:14:47] local.INFO: GPS Element Parsed {"raw_longitude":749906240,"raw_latitude":125114912,"longitude_deg":74.990624,"latitude_deg":12.5114912,"altitude":30,"angle":42,"satellites":37,"speed":10,"hex_longitude":"2cb2a940","hex_latitude":"07751a20","is_valid_coordinates":true} 
[2026-08-02 09:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124395520001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154527679283200,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088050972672,"note":"Value kept but may cause issues"} 
[2026-08-02 09:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785642175000,"timestamp_ms":1785642175000,"timestamp_seconds":1785642175,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0914a18"} 
[2026-08-02 09:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 09:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124395520001,"66":27800,"241":206,"27":54016,"24":10,"16":367154527679283200,"44":-5573697088050972672},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124395520001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:14:47] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:14:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154527679283200,"km_value":367154527679283.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:14:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088050972672,"description":"Unknown IO ID 44"} 
[2026-08-02 09:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124395520001,"power":27800,"unknown_241":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-5573697088050972672}} 
[2026-08-02 09:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":146502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:14:47] local.INFO: GPS data processed {"connection_id":146502,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:14:47] local.INFO: Acknowledgment sent {"connection_id":146502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:15:10] local.INFO: TCP Data received {"connection_id":149048,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:15:10] local.INFO: Processing buffer {"connection_id":149048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:15:10] local.INFO: IMEI packet received {"connection_id":149048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":149048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:15:15] local.INFO: TCP Data received {"connection_id":149048,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:15:15] local.INFO: Processing buffer {"connection_id":149048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:15:15] local.INFO: IMEI packet received {"connection_id":149048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":149048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:15:16] local.INFO: TCP Data received {"connection_id":149048,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:15:16] local.INFO: Processing buffer {"connection_id":149048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:15:16] local.INFO: Packet analysis {"connection_id":149048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:15:16] local.INFO: Extracted packet for processing {"connection_id":149048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:15:16] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":36,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785642169000,"timestamp_ms":1785642169000,"timestamp_seconds":1785642169,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09132a8"} 
[2026-08-02 09:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09: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-08-02 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 09:15:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:16] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230383160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:16] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2355120129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:16] local.WARNING: Large IO value detected {"io_id":139,"raw_value":7651617061734825989,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:16] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13478061,"corrected_to":0} 
[2026-08-02 09:15:16] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-7825004326775084288,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2829910222,"corrected_to":0} 
[2026-08-02 09:15:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3700647936,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:16] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728744,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:16] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57887831222015291,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:16] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,173,85,24,241,157,16,38,159,178,45,192,147,6,41,10,66,139,40,240,203,227,220,4,113,205,14,5,104,42,239,1,52,2,148,198],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":203,"original":13478061,"validated":0},{"io_id":205,"original":2829910222,"validated":0}]} 
[2026-08-02 09:15:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432535955832832066,"timestamp_seconds":432535955832832.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 09:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124319744001,"66":2253,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:15:16] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124319744001,"power":2253,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":149048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:15:16] local.INFO: GPS data processed {"connection_id":149048,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:15:16] local.INFO: Acknowledgment sent {"connection_id":149048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:15:19] local.INFO: TCP Data received {"connection_id":146502,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0919450012cb2bf8007753630001e00232a..."} 
[2026-08-02 09:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0919450012cb2bf8007753630001e00232a..."} 
[2026-08-02 09:15:19] local.INFO: Processing buffer {"connection_id":146502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0919450012cb2bf8007753630001e00232a..."} 
[2026-08-02 09:15:19] local.INFO: Packet analysis {"connection_id":146502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:15:19] local.INFO: Extracted packet for processing {"connection_id":146502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:15:19] local.INFO: GPS Element Parsed {"raw_longitude":749911936,"raw_latitude":125122096,"longitude_deg":74.9911936,"latitude_deg":12.5122096,"altitude":30,"angle":35,"satellites":42,"speed":24,"hex_longitude":"2cb2bf80","hex_latitude":"07753630","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124396800001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154970060914688,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572852663120683008,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785642194000,"timestamp_ms":1785642194000,"timestamp_seconds":1785642194,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0919450"} 
[2026-08-02 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-08-02 09:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-02 09:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 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-08-02 09:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124396800001,"66":27930,"241":206,"27":54016,"24":24,"16":367154970060914688,"44":-5572852663120683008},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124396800001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:15:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:15:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154970060914688,"km_value":367154970060914.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:15:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572852663120683008,"description":"Unknown IO ID 44"} 
[2026-08-02 09:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124396800001,"power":27930,"unknown_241":206,"unknown_27":54016,"ignition":24,"odometer":null,"unknown_44":-5572852663120683008}} 
[2026-08-02 09:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":146502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:15:19] local.INFO: GPS data processed {"connection_id":146502,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:15:19] local.INFO: Acknowledgment sent {"connection_id":146502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:15:21] local.INFO: TCP Data received {"connection_id":149048,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:15:21] local.INFO: Processing buffer {"connection_id":149048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:15:21] local.INFO: Packet analysis {"connection_id":149048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:15:21] local.INFO: Extracted packet for processing {"connection_id":149048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:15:21] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":36,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785642169000,"timestamp_ms":1785642169000,"timestamp_seconds":1785642169,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09132a8"} 
[2026-08-02 09:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 09:15:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:21] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230383160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:21] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2355120129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:21] local.WARNING: Large IO value detected {"io_id":139,"raw_value":7651617061734825989,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:21] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13478061,"corrected_to":0} 
[2026-08-02 09:15:21] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-7825004326775084288,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2829910222,"corrected_to":0} 
[2026-08-02 09:15:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3700647936,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:21] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728744,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:21] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57887831222015291,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:21] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,173,85,24,241,157,16,38,159,178,45,192,147,6,41,10,66,139,40,240,203,227,220,4,113,205,14,5,104,42,239,1,52,2,148,198],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":203,"original":13478061,"validated":0},{"io_id":205,"original":2829910222,"validated":0}]} 
[2026-08-02 09:15:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432535955832832066,"timestamp_seconds":432535955832832.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 09:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124319744001,"66":2253,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:15:21] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124319744001,"power":2253,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":149048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:15:21] local.INFO: GPS data processed {"connection_id":149048,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:15:21] local.INFO: Acknowledgment sent {"connection_id":149048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:15:41] local.INFO: TCP Data received {"connection_id":146503,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:15:41] local.INFO: Processing buffer {"connection_id":146503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:15:41] local.INFO: IMEI packet received {"connection_id":146503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":146503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:15:46] local.INFO: TCP Data received {"connection_id":146503,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:15:46] local.INFO: Processing buffer {"connection_id":146503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:15:46] local.INFO: IMEI packet received {"connection_id":146503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":146503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:15:47] local.INFO: TCP Data received {"connection_id":146503,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0930768012cb300000775f438001600372b..."} 
[2026-08-02 09:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0930768012cb300000775f438001600372b..."} 
[2026-08-02 09:15:47] local.INFO: Processing buffer {"connection_id":146503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0930768012cb300000775f438001600372b..."} 
[2026-08-02 09:15:47] local.INFO: Packet analysis {"connection_id":146503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc093"} 
[2026-08-02 09:15:47] local.INFO: Extracted packet for processing {"connection_id":146503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc093"} 
[2026-08-02 09:15:47] local.INFO: GPS Element Parsed {"raw_longitude":749928448,"raw_latitude":125170744,"longitude_deg":74.9928448,"latitude_deg":12.5170744,"altitude":22,"angle":55,"satellites":43,"speed":10,"hex_longitude":"2cb30000","hex_latitude":"0775f438","is_valid_coordinates":true} 
[2026-08-02 09:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124425728001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367157555631226880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5548645815109316608,"note":"Value kept but may cause issues"} 
[2026-08-02 09:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785642289000,"timestamp_ms":1785642289000,"timestamp_seconds":1785642289,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0930768"} 
[2026-08-02 09:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 09:15: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-08-02 09:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124425728001,"66":27843,"241":206,"27":54016,"24":10,"16":367157555631226880,"44":-5548645815109316608},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124425728001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:15:47] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:15:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367157555631226880,"km_value":367157555631226.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:15:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5548645815109316608,"description":"Unknown IO ID 44"} 
[2026-08-02 09:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124425728001,"power":27843,"unknown_241":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-5548645815109316608}} 
[2026-08-02 09:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":146503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:15:47] local.INFO: GPS data processed {"connection_id":146503,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:15:47] local.INFO: Acknowledgment sent {"connection_id":146503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:16:05] local.INFO: TCP Data received {"connection_id":147731,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:16:05] local.INFO: Processing buffer {"connection_id":147731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:16:05] local.INFO: IMEI packet received {"connection_id":147731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":147731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:16:10] local.INFO: TCP Data received {"connection_id":147731,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:16:10] local.INFO: Processing buffer {"connection_id":147731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:16:10] local.INFO: IMEI packet received {"connection_id":147731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":147731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:16:11] local.INFO: TCP Data received {"connection_id":147731,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:16:11] local.INFO: Processing buffer {"connection_id":147731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:16:11] local.INFO: Packet analysis {"connection_id":147731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:16:11] local.INFO: Extracted packet for processing {"connection_id":147731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:16:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":36,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785642169000,"timestamp_ms":1785642169000,"timestamp_seconds":1785642169,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09132a8"} 
[2026-08-02 09:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09: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-08-02 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 09:16:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:11] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230383160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2355120129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:11] local.WARNING: Large IO value detected {"io_id":139,"raw_value":7651617061734825989,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:11] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13478061,"corrected_to":0} 
[2026-08-02 09:16:11] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-7825004326775084288,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2829910222,"corrected_to":0} 
[2026-08-02 09:16:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3700647936,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:11] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728744,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:11] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57887831222015291,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,173,85,24,241,157,16,38,159,178,45,192,147,6,41,10,66,139,40,240,203,227,220,4,113,205,14,5,104,42,239,1,52,2,148,198],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":203,"original":13478061,"validated":0},{"io_id":205,"original":2829910222,"validated":0}]} 
[2026-08-02 09:16:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432535955832832066,"timestamp_seconds":432535955832832.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 09:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:16:11] 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-08-02 09:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124319744001,"66":2253,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:16:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124319744001,"power":2253,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":147731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:16:11] local.INFO: GPS data processed {"connection_id":147731,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:16:11] local.INFO: Acknowledgment sent {"connection_id":147731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:16:18] local.INFO: TCP Data received {"connection_id":146503,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0936528012cb2fbc00775d520001300ac2c..."} 
[2026-08-02 09:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0936528012cb2fbc00775d520001300ac2c..."} 
[2026-08-02 09:16:18] local.INFO: Processing buffer {"connection_id":146503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0936528012cb2fbc00775d520001300ac2c..."} 
[2026-08-02 09:16:18] local.INFO: Packet analysis {"connection_id":146503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc093"} 
[2026-08-02 09:16:18] local.INFO: Extracted packet for processing {"connection_id":146503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc093"} 
[2026-08-02 09:16:18] local.INFO: GPS Element Parsed {"raw_longitude":749927360,"raw_latitude":125162784,"longitude_deg":74.992736,"latitude_deg":12.5162784,"altitude":19,"angle":172,"satellites":44,"speed":27,"hex_longitude":"2cb2fbc0","hex_latitude":"0775d520","is_valid_coordinates":true} 
[2026-08-02 09:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124431360001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367158010897760256,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5549630977529264128,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785642313000,"timestamp_ms":1785642313000,"timestamp_seconds":1785642313,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0936528"} 
[2026-08-02 09:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 09:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":146503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":146503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":146503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124431360001,"66":27843,"241":206,"27":54016,"24":27,"16":367158010897760256,"44":-5549630977529264128},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124431360001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:16:18] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:16:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367158010897760256,"km_value":367158010897760.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:16:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5549630977529264128,"description":"Unknown IO ID 44"} 
[2026-08-02 09:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124431360001,"power":27843,"unknown_241":206,"unknown_27":54016,"ignition":27,"odometer":null,"unknown_44":-5549630977529264128}} 
[2026-08-02 09:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":146503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:16:18] local.INFO: GPS data processed {"connection_id":146503,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:16:18] local.INFO: Acknowledgment sent {"connection_id":146503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:16:41] local.INFO: TCP Data received {"connection_id":147732,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:16:41] local.INFO: Processing buffer {"connection_id":147732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:16:41] local.INFO: IMEI packet received {"connection_id":147732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":147732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:16:42] local.INFO: TCP Data received {"connection_id":147731,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:16:42] local.INFO: Processing buffer {"connection_id":147731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:16:42] local.INFO: Packet analysis {"connection_id":147731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:16:42] local.INFO: Extracted packet for processing {"connection_id":147731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:16:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":36,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785642169000,"timestamp_ms":1785642169000,"timestamp_seconds":1785642169,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09132a8"} 
[2026-08-02 09:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 09:16:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:42] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230383160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:42] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2355120129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:42] local.WARNING: Large IO value detected {"io_id":139,"raw_value":7651617061734825989,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:42] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13478061,"corrected_to":0} 
[2026-08-02 09:16:42] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-7825004326775084288,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2829910222,"corrected_to":0} 
[2026-08-02 09:16:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3700647936,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:42] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728744,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:42] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57887831222015291,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:42] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,173,85,24,241,157,16,38,159,178,45,192,147,6,41,10,66,139,40,240,203,227,220,4,113,205,14,5,104,42,239,1,52,2,148,198],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":203,"original":13478061,"validated":0},{"io_id":205,"original":2829910222,"validated":0}]} 
[2026-08-02 09:16:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432535955832832066,"timestamp_seconds":432535955832832.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 09:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124319744001,"66":2253,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:16:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124319744001,"power":2253,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":147731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:16:42] local.INFO: GPS data processed {"connection_id":147731,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:16:42] local.INFO: Acknowledgment sent {"connection_id":147731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:16:47] local.INFO: TCP Data received {"connection_id":147732,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:16:47] local.INFO: Processing buffer {"connection_id":147732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:16:47] local.INFO: IMEI packet received {"connection_id":147732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":147732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:16:48] local.INFO: TCP Data received {"connection_id":147732,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0938080012cb2fc000775c278001200b729..."} 
[2026-08-02 09:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0938080012cb2fc000775c278001200b729..."} 
[2026-08-02 09:16:48] local.INFO: Processing buffer {"connection_id":147732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0938080012cb2fc000775c278001200b729..."} 
[2026-08-02 09:16:48] local.INFO: Packet analysis {"connection_id":147732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc093"} 
[2026-08-02 09:16:48] local.INFO: Extracted packet for processing {"connection_id":147732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc093"} 
[2026-08-02 09:16:48] local.INFO: GPS Element Parsed {"raw_longitude":749927424,"raw_latitude":125158008,"longitude_deg":74.9927424,"latitude_deg":12.5158008,"altitude":18,"angle":183,"satellites":41,"speed":27,"hex_longitude":"2cb2fc00","hex_latitude":"0775c278","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124432128001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367158242825994240,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5549630977529798656,"note":"Value kept but may cause issues"} 
[2026-08-02 09:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785642320000,"timestamp_ms":1785642320000,"timestamp_seconds":1785642320,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0938080"} 
[2026-08-02 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-08-02 09:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 09:16: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-08-02 09:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 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-08-02 09:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124432128001,"66":28050,"241":206,"27":54016,"24":27,"16":367158242825994240,"44":-5549630977529798656},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124432128001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:16:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:16:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367158242825994240,"km_value":367158242825994.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:16:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5549630977529798656,"description":"Unknown IO ID 44"} 
[2026-08-02 09:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124432128001,"power":28050,"unknown_241":206,"unknown_27":54016,"ignition":27,"odometer":null,"unknown_44":-5549630977529798656}} 
[2026-08-02 09:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":147732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:16:48] local.INFO: GPS data processed {"connection_id":147732,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:16:48] local.INFO: Acknowledgment sent {"connection_id":147732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:17:05] local.INFO: TCP Data received {"connection_id":146715,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:17:05] local.INFO: Processing buffer {"connection_id":146715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:17:05] local.INFO: IMEI packet received {"connection_id":146715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":146715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:17:10] local.INFO: TCP Data received {"connection_id":146715,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:17:10] local.INFO: Processing buffer {"connection_id":146715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:17:10] local.INFO: IMEI packet received {"connection_id":146715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":146715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:17:11] local.INFO: TCP Data received {"connection_id":146715,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:17:11] local.INFO: Processing buffer {"connection_id":146715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:17:11] local.INFO: Packet analysis {"connection_id":146715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:17:11] local.INFO: Extracted packet for processing {"connection_id":146715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:17:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":36,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785642169000,"timestamp_ms":1785642169000,"timestamp_seconds":1785642169,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09132a8"} 
[2026-08-02 09:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:17: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-08-02 09:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 09:17:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:11] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230383160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2355120129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:11] local.WARNING: Large IO value detected {"io_id":139,"raw_value":7651617061734825989,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:11] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13478061,"corrected_to":0} 
[2026-08-02 09:17:11] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-7825004326775084288,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2829910222,"corrected_to":0} 
[2026-08-02 09:17:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3700647936,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:11] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728744,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:11] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57887831222015291,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,173,85,24,241,157,16,38,159,178,45,192,147,6,41,10,66,139,40,240,203,227,220,4,113,205,14,5,104,42,239,1,52,2,148,198],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":203,"original":13478061,"validated":0},{"io_id":205,"original":2829910222,"validated":0}]} 
[2026-08-02 09:17:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432535955832832066,"timestamp_seconds":432535955832832.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 09:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:17:11] 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-08-02 09:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124319744001,"66":2253,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:17:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124319744001,"power":2253,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":146715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:17:11] local.INFO: GPS data processed {"connection_id":146715,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:17:11] local.INFO: Acknowledgment sent {"connection_id":146715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:17:19] local.INFO: TCP Data received {"connection_id":147732,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc093bf00012cb2f98007759f80001300bb29..."} 
[2026-08-02 09:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc093bf00012cb2f98007759f80001300bb29..."} 
[2026-08-02 09:17:19] local.INFO: Processing buffer {"connection_id":147732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc093bf00012cb2f98007759f80001300bb29..."} 
[2026-08-02 09:17:19] local.INFO: Packet analysis {"connection_id":147732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc093"} 
[2026-08-02 09:17:19] local.INFO: Extracted packet for processing {"connection_id":147732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc093"} 
[2026-08-02 09:17:19] local.INFO: GPS Element Parsed {"raw_longitude":749926784,"raw_latitude":125149056,"longitude_deg":74.9926784,"latitude_deg":12.5149056,"altitude":19,"angle":187,"satellites":41,"speed":24,"hex_longitude":"2cb2f980","hex_latitude":"07759f80","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124433920001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367158676617691136,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5549560608786843648,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785642336000,"timestamp_ms":1785642336000,"timestamp_seconds":1785642336,"priority":1,"record_length":96,"hex_timestamp":"0000019fc093bf00"} 
[2026-08-02 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-08-02 09:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-02 09:17: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-08-02 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-08-02 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-08-02 09:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124433920001,"66":28006,"241":206,"27":54016,"24":24,"16":367158676617691136,"44":-5549560608786843648},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124433920001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:17:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:17:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367158676617691136,"km_value":367158676617691.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:17:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5549560608786843648,"description":"Unknown IO ID 44"} 
[2026-08-02 09:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124433920001,"power":28006,"unknown_241":206,"unknown_27":54016,"ignition":24,"odometer":null,"unknown_44":-5549560608786843648}} 
[2026-08-02 09:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":147732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:17:19] local.INFO: GPS data processed {"connection_id":147732,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:17:19] local.INFO: Acknowledgment sent {"connection_id":147732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:17:42] local.INFO: TCP Data received {"connection_id":146715,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:17:42] local.INFO: Processing buffer {"connection_id":146715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09132a8012d7a05c005dc9340000600ad24..."} 
[2026-08-02 09:17:42] local.INFO: Packet analysis {"connection_id":146715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:17:42] local.INFO: Extracted packet for processing {"connection_id":146715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc091"} 
[2026-08-02 09:17:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":36,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918778880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785642169000,"timestamp_ms":1785642169000,"timestamp_seconds":1785642169,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09132a8"} 
[2026-08-02 09:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 09:17:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:42] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3230383160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:42] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2355120129,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:42] local.WARNING: Large IO value detected {"io_id":139,"raw_value":7651617061734825989,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:42] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13478061,"corrected_to":0} 
[2026-08-02 09:17:42] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-7825004326775084288,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2829910222,"corrected_to":0} 
[2026-08-02 09:17:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3700647936,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:42] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728744,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:42] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57887831222015291,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:42] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,173,85,24,241,157,16,38,159,178,45,192,147,6,41,10,66,139,40,240,203,227,220,4,113,205,14,5,104,42,239,1,52,2,148,198],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":203,"original":13478061,"validated":0},{"io_id":205,"original":2829910222,"validated":0}]} 
[2026-08-02 09:17:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432535955832832066,"timestamp_seconds":432535955832832.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 09:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124319744001,"66":2253,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918778880},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:17:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918778880,"description":"Unknown IO ID 45"} 
[2026-08-02 09:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124319744001,"power":2253,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918778880}} 
[2026-08-02 09:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":146715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:17:42] local.INFO: GPS data processed {"connection_id":146715,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:17:42] local.INFO: Acknowledgment sent {"connection_id":146715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:17:47] local.INFO: TCP Data received {"connection_id":147733,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:17:47] local.INFO: Processing buffer {"connection_id":147733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:17:47] local.INFO: IMEI packet received {"connection_id":147733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":147733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:17:52] local.INFO: TCP Data received {"connection_id":147733,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:17:52] local.INFO: Processing buffer {"connection_id":147733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:17:52] local.INFO: IMEI packet received {"connection_id":147733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":147733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:17:53] local.INFO: TCP Data received {"connection_id":147733,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc093f998012cb2f20007757a08001800c32a..."} 
[2026-08-02 09:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc093f998012cb2f20007757a08001800c32a..."} 
[2026-08-02 09:17:53] local.INFO: Processing buffer {"connection_id":147733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc093f998012cb2f20007757a08001800c32a..."} 
[2026-08-02 09:17:53] local.INFO: Packet analysis {"connection_id":147733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc093"} 
[2026-08-02 09:17:53] local.INFO: Extracted packet for processing {"connection_id":147733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc093"} 
[2026-08-02 09:17:53] local.INFO: GPS Element Parsed {"raw_longitude":749924864,"raw_latitude":125139464,"longitude_deg":74.9924864,"latitude_deg":12.5139464,"altitude":24,"angle":195,"satellites":42,"speed":22,"hex_longitude":"2cb2f200","hex_latitude":"07757a08","is_valid_coordinates":true} 
[2026-08-02 09:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124438016001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367159153359060992,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5550264296230912000,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785642351000,"timestamp_ms":1785642351000,"timestamp_seconds":1785642351,"priority":1,"record_length":96,"hex_timestamp":"0000019fc093f998"} 
[2026-08-02 09:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-02 09:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124438016001,"66":27908,"241":206,"27":54016,"24":22,"16":367159153359060992,"44":-5550264296230912000},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124438016001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:17:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:17:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367159153359060992,"km_value":367159153359061.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:17:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5550264296230912000,"description":"Unknown IO ID 44"} 
[2026-08-02 09:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124438016001,"power":27908,"unknown_241":206,"unknown_27":54016,"ignition":22,"odometer":null,"unknown_44":-5550264296230912000}} 
[2026-08-02 09:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":147733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:17:53] local.INFO: GPS data processed {"connection_id":147733,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:17:53] local.INFO: Acknowledgment sent {"connection_id":147733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:17:54] local.INFO: TCP Data received {"connection_id":147733,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0940d20012cb2ee4007757040001900ce2c..."} 
[2026-08-02 09:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0940d20012cb2ee4007757040001900ce2c..."} 
[2026-08-02 09:17:54] local.INFO: Processing buffer {"connection_id":147733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0940d20012cb2ee4007757040001900ce2c..."} 
[2026-08-02 09:17:54] local.INFO: Packet analysis {"connection_id":147733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc094"} 
[2026-08-02 09:17:54] local.INFO: Extracted packet for processing {"connection_id":147733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc094"} 
[2026-08-02 09:17:54] local.INFO: GPS Element Parsed {"raw_longitude":749923904,"raw_latitude":125136960,"longitude_deg":74.9923904,"latitude_deg":12.513696,"altitude":25,"angle":206,"satellites":44,"speed":18,"hex_longitude":"2cb2ee40","hex_latitude":"07757040","is_valid_coordinates":true} 
[2026-08-02 09:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124441856001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367159282208079872,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5552375358558697472,"note":"Value kept but may cause issues"} 
[2026-08-02 09:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785642356000,"timestamp_ms":1785642356000,"timestamp_seconds":1785642356,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0940d20"} 
[2026-08-02 09:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 09:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124441856001,"66":27919,"241":206,"27":54016,"24":18,"16":367159282208079872,"44":-5552375358558697472},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124441856001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:17:54] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:17:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367159282208079872,"km_value":367159282208079.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:17:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5552375358558697472,"description":"Unknown IO ID 44"} 
[2026-08-02 09:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124441856001,"power":27919,"unknown_241":206,"unknown_27":54016,"ignition":18,"odometer":null,"unknown_44":-5552375358558697472}} 
[2026-08-02 09:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":147733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:17:54] local.INFO: GPS data processed {"connection_id":147733,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:17:54] local.INFO: Acknowledgment sent {"connection_id":147733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:18:06] local.INFO: TCP Data received {"connection_id":146716,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:18:06] local.INFO: Processing buffer {"connection_id":146716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:18:06] local.INFO: IMEI packet received {"connection_id":146716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":146716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:18:10] local.INFO: TCP Data received {"connection_id":146716,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:18:10] local.INFO: Processing buffer {"connection_id":146716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:18:10] local.INFO: IMEI packet received {"connection_id":146716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":146716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:18:11] local.INFO: TCP Data received {"connection_id":146716,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:18:11] local.INFO: Processing buffer {"connection_id":146716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:18:11] local.INFO: Packet analysis {"connection_id":146716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:18:11] local.INFO: Extracted packet for processing {"connection_id":146716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:18:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124395264001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785642470000,"timestamp_ms":1785642470000,"timestamp_seconds":1785642470,"priority":1,"record_length":96,"hex_timestamp":"0000019fc095ca70"} 
[2026-08-02 09:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 09:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:18:11] 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-08-02 09:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124395264001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124395264001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:18:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124395264001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":146716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:18:11] local.INFO: GPS data processed {"connection_id":146716,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:18:11] local.INFO: Acknowledgment sent {"connection_id":146716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:18:25] local.INFO: TCP Data received {"connection_id":147733,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09414f0012cb2ec4007756d60001900dd2c..."} 
[2026-08-02 09:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09414f0012cb2ec4007756d60001900dd2c..."} 
[2026-08-02 09:18:25] local.INFO: Processing buffer {"connection_id":147733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09414f0012cb2ec4007756d60001900dd2c..."} 
[2026-08-02 09:18:25] local.INFO: Packet analysis {"connection_id":147733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc094"} 
[2026-08-02 09:18:25] local.INFO: Extracted packet for processing {"connection_id":147733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc094"} 
[2026-08-02 09:18:25] local.INFO: GPS Element Parsed {"raw_longitude":749923392,"raw_latitude":125136224,"longitude_deg":74.9923392,"latitude_deg":12.5136224,"altitude":25,"angle":221,"satellites":44,"speed":16,"hex_longitude":"2cb2ec40","hex_latitude":"07756d60","is_valid_coordinates":true} 
[2026-08-02 09:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124443136001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367159325157752832,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5553430889722003456,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785642358000,"timestamp_ms":1785642358000,"timestamp_seconds":1785642358,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09414f0"} 
[2026-08-02 09:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 09:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124443136001,"66":27843,"241":206,"27":54016,"24":16,"16":367159325157752832,"44":-5553430889722003456},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 09:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124443136001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:18:25] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 09:18:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367159325157752832,"km_value":367159325157752.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:18:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5553430889722003456,"description":"Unknown IO ID 44"} 
[2026-08-02 09:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124443136001,"power":27843,"unknown_241":206,"unknown_27":54016,"ignition":16,"odometer":null,"unknown_44":-5553430889722003456}} 
[2026-08-02 09:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":147733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:18:25] local.INFO: GPS data processed {"connection_id":147733,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:18:25] local.INFO: Acknowledgment sent {"connection_id":147733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:18:42] local.INFO: TCP Data received {"connection_id":146504,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:18:42] local.INFO: Processing buffer {"connection_id":146504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:18:42] local.INFO: IMEI packet received {"connection_id":146504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":146504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:18:42] local.INFO: TCP Data received {"connection_id":146716,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:18:42] local.INFO: Processing buffer {"connection_id":146716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:18:42] local.INFO: Packet analysis {"connection_id":146716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:18:42] local.INFO: Extracted packet for processing {"connection_id":146716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:18:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124395264001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785642470000,"timestamp_ms":1785642470000,"timestamp_seconds":1785642470,"priority":1,"record_length":96,"hex_timestamp":"0000019fc095ca70"} 
[2026-08-02 09:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 09:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124395264001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124395264001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:18:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124395264001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":146716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:18:42] local.INFO: GPS data processed {"connection_id":146716,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:18:42] local.INFO: Acknowledgment sent {"connection_id":146716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:18:45] local.INFO: TCP Data received {"connection_id":146504,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:18:45] local.INFO: Processing buffer {"connection_id":146504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:18:45] local.INFO: IMEI packet received {"connection_id":146504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":146504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:18:46] local.INFO: TCP Data received {"connection_id":146504,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc095b300012cb25400077491e00013007d2a..."} 
[2026-08-02 09:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc095b300012cb25400077491e00013007d2a..."} 
[2026-08-02 09:18:46] local.INFO: Processing buffer {"connection_id":146504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc095b300012cb25400077491e00013007d2a..."} 
[2026-08-02 09:18:46] local.INFO: Packet analysis {"connection_id":146504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:18:46] local.INFO: Extracted packet for processing {"connection_id":146504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:18:46] local.INFO: GPS Element Parsed {"raw_longitude":749884416,"raw_latitude":125080032,"longitude_deg":74.9884416,"latitude_deg":12.5080032,"altitude":19,"angle":125,"satellites":42,"speed":18,"hex_longitude":"2cb25400","hex_latitude":"077491e0","is_valid_coordinates":true} 
[2026-08-02 09:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124470272001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367162683822178304,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5597622461080018944,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785642464000,"timestamp_ms":1785642464000,"timestamp_seconds":1785642464,"priority":1,"record_length":96,"hex_timestamp":"0000019fc095b300"} 
[2026-08-02 09:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 09:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124470272001,"66":26908,"6":206,"27":54016,"24":18,"16":367162683822178304,"44":-5597622461080018944},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-08-02 09:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124470272001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:18:46] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-02 09:18:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367162683822178304,"km_value":367162683822178.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:18:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5597622461080018944,"description":"Unknown IO ID 44"} 
[2026-08-02 09:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124470272001,"power":26908,"unknown_6":206,"unknown_27":54016,"ignition":18,"odometer":null,"unknown_44":-5597622461080018944}} 
[2026-08-02 09:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":146504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:18:46] local.INFO: GPS data processed {"connection_id":146504,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:18:46] local.INFO: Acknowledgment sent {"connection_id":146504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:18:47] local.INFO: TCP Data received {"connection_id":146504,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc095e1e0012cb27080077483100012007229..."} 
[2026-08-02 09:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc095e1e0012cb27080077483100012007229..."} 
[2026-08-02 09:18:47] local.INFO: Processing buffer {"connection_id":146504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc095e1e0012cb27080077483100012007229..."} 
[2026-08-02 09:18:47] local.INFO: Packet analysis {"connection_id":146504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:18:47] local.INFO: Extracted packet for processing {"connection_id":146504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:18:47] local.INFO: GPS Element Parsed {"raw_longitude":749891712,"raw_latitude":125076240,"longitude_deg":74.9891712,"latitude_deg":12.507624,"altitude":18,"angle":114,"satellites":41,"speed":32,"hex_longitude":"2cb27080","hex_latitude":"07748310","is_valid_coordinates":true} 
[2026-08-02 09:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124470784001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367163074664202240,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5596848404894195712,"note":"Value kept but may cause issues"} 
[2026-08-02 09:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785642476000,"timestamp_ms":1785642476000,"timestamp_seconds":1785642476,"priority":1,"record_length":96,"hex_timestamp":"0000019fc095e1e0"} 
[2026-08-02 09:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-02 09:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124470784001,"66":27865,"102":206,"27":54016,"24":32,"16":367163074664202240,"44":-5596848404894195712},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,27,24,16,44]} 
[2026-08-02 09:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124470784001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:18:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 09:18:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367163074664202240,"km_value":367163074664202.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:18:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5596848404894195712,"description":"Unknown IO ID 44"} 
[2026-08-02 09:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124470784001,"power":27865,"unknown_102":206,"unknown_27":54016,"ignition":32,"odometer":null,"unknown_44":-5596848404894195712}} 
[2026-08-02 09:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":146504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:18:47] local.INFO: GPS data processed {"connection_id":146504,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:18:47] local.INFO: Acknowledgment sent {"connection_id":146504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:19:05] local.INFO: TCP Data received {"connection_id":146505,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:19:05] local.INFO: Processing buffer {"connection_id":146505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:19:05] local.INFO: IMEI packet received {"connection_id":146505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":146505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:19:10] local.INFO: TCP Data received {"connection_id":146505,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:19:10] local.INFO: Processing buffer {"connection_id":146505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:19:10] local.INFO: IMEI packet received {"connection_id":146505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":146505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:19:11] local.INFO: TCP Data received {"connection_id":146505,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:19:11] local.INFO: Processing buffer {"connection_id":146505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:19:11] local.INFO: Packet analysis {"connection_id":146505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:19:11] local.INFO: Extracted packet for processing {"connection_id":146505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:19:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124395264001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785642470000,"timestamp_ms":1785642470000,"timestamp_seconds":1785642470,"priority":1,"record_length":96,"hex_timestamp":"0000019fc095ca70"} 
[2026-08-02 09:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 09:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:19:11] 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-08-02 09:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124395264001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124395264001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:19:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124395264001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":146505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:19:11] local.INFO: GPS data processed {"connection_id":146505,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:19:11] local.INFO: Acknowledgment sent {"connection_id":146505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:19:18] local.INFO: TCP Data received {"connection_id":146504,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0960cd8012cb2944007747240001400742a..."} 
[2026-08-02 09:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0960cd8012cb2944007747240001400742a..."} 
[2026-08-02 09:19:18] local.INFO: Processing buffer {"connection_id":146504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0960cd8012cb2944007747240001400742a..."} 
[2026-08-02 09:19:18] local.INFO: Packet analysis {"connection_id":146504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc096"} 
[2026-08-02 09:19:18] local.INFO: Extracted packet for processing {"connection_id":146504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc096"} 
[2026-08-02 09:19:18] local.INFO: GPS Element Parsed {"raw_longitude":749900864,"raw_latitude":125071936,"longitude_deg":74.9900864,"latitude_deg":12.5071936,"altitude":20,"angle":116,"satellites":42,"speed":37,"hex_longitude":"2cb29440","hex_latitude":"07747240","is_valid_coordinates":true} 
[2026-08-02 09:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124473856001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367163559995506688,"note":"Value kept but may cause issues"} 
[2026-08-02 09:19:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588826368058912768,"note":"Value kept but may cause issues"} 
[2026-08-02 09:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785642487000,"timestamp_ms":1785642487000,"timestamp_seconds":1785642487,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0960cd8"} 
[2026-08-02 09:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 09:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":146504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":146504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":146504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124473856001,"66":27908,"102":206,"27":54016,"24":37,"16":367163559995506688,"44":-5588826368058912768},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,27,24,16,44]} 
[2026-08-02 09:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124473856001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:19:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 09:19:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367163559995506688,"km_value":367163559995506.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:19:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588826368058912768,"description":"Unknown IO ID 44"} 
[2026-08-02 09:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124473856001,"power":27908,"unknown_102":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-5588826368058912768}} 
[2026-08-02 09:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":146504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:19:18] local.INFO: GPS data processed {"connection_id":146504,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:19:18] local.INFO: Acknowledgment sent {"connection_id":146504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:19:42] local.INFO: TCP Data received {"connection_id":147734,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:19:42] local.INFO: Processing buffer {"connection_id":147734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:19:42] local.INFO: IMEI packet received {"connection_id":147734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":147734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:19:44] local.INFO: TCP Data received {"connection_id":146505,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:19:44] local.INFO: Processing buffer {"connection_id":146505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:19:44] local.INFO: Packet analysis {"connection_id":146505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:19:44] local.INFO: Extracted packet for processing {"connection_id":146505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:19:44] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124395264001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785642470000,"timestamp_ms":1785642470000,"timestamp_seconds":1785642470,"priority":1,"record_length":96,"hex_timestamp":"0000019fc095ca70"} 
[2026-08-02 09:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 09:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09: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-08-02 09:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:19:44] 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-08-02 09:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124395264001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124395264001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:19:44] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:19:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124395264001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":146505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:19:44] local.INFO: GPS data processed {"connection_id":146505,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:19:44] local.INFO: Acknowledgment sent {"connection_id":146505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:19:47] local.INFO: TCP Data received {"connection_id":147734,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:19:47] local.INFO: Processing buffer {"connection_id":147734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:19:47] local.INFO: IMEI packet received {"connection_id":147734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":147734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:19:48] local.INFO: TCP Data received {"connection_id":147734,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0963000012cb2b440077462880016007429..."} 
[2026-08-02 09:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0963000012cb2b440077462880016007429..."} 
[2026-08-02 09:19:48] local.INFO: Processing buffer {"connection_id":147734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0963000012cb2b440077462880016007429..."} 
[2026-08-02 09:19:48] local.INFO: Packet analysis {"connection_id":147734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc096"} 
[2026-08-02 09:19:48] local.INFO: Extracted packet for processing {"connection_id":147734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc096"} 
[2026-08-02 09:19:48] local.INFO: GPS Element Parsed {"raw_longitude":749909056,"raw_latitude":125067912,"longitude_deg":74.9909056,"latitude_deg":12.5067912,"altitude":22,"angle":116,"satellites":41,"speed":40,"hex_longitude":"2cb2b440","hex_latitude":"07746288","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124476672001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367163989492236288,"note":"Value kept but may cause issues"} 
[2026-08-02 09:19:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5578763637642608640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785642496000,"timestamp_ms":1785642496000,"timestamp_seconds":1785642496,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0963000"} 
[2026-08-02 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-08-02 09:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 09:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 09:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124476672001,"66":27995,"101":206,"27":54016,"24":40,"16":367163989492236288,"44":-5578763637642608640},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-08-02 09:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124476672001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:19:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 09:19:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367163989492236288,"km_value":367163989492236.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:19:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5578763637642608640,"description":"Unknown IO ID 44"} 
[2026-08-02 09:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124476672001,"power":27995,"unknown_101":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5578763637642608640}} 
[2026-08-02 09:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":147734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:19:48] local.INFO: GPS data processed {"connection_id":147734,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:19:48] local.INFO: Acknowledgment sent {"connection_id":147734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:20:10] local.INFO: TCP Data received {"connection_id":146717,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:20:10] local.INFO: Processing buffer {"connection_id":146717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:20:10] local.INFO: IMEI packet received {"connection_id":146717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":146717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:20:15] local.INFO: TCP Data received {"connection_id":146717,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:20:15] local.INFO: Processing buffer {"connection_id":146717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:20:15] local.INFO: IMEI packet received {"connection_id":146717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":146717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:20:16] local.INFO: TCP Data received {"connection_id":146717,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:20:16] local.INFO: Processing buffer {"connection_id":146717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:20:16] local.INFO: Packet analysis {"connection_id":146717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:20:16] local.INFO: Extracted packet for processing {"connection_id":146717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:20:16] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124395264001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785642470000,"timestamp_ms":1785642470000,"timestamp_seconds":1785642470,"priority":1,"record_length":96,"hex_timestamp":"0000019fc095ca70"} 
[2026-08-02 09:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 09:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:20:16] 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-08-02 09:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124395264001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124395264001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:20:16] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:20:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124395264001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":146717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:20:16] local.INFO: GPS data processed {"connection_id":146717,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:20:16] local.INFO: Acknowledgment sent {"connection_id":146717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:20:20] local.INFO: TCP Data received {"connection_id":147734,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0965328012cb2d60007745338001a006b24..."} 
[2026-08-02 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0965328012cb2d60007745338001a006b24..."} 
[2026-08-02 09:20:20] local.INFO: Processing buffer {"connection_id":147734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0965328012cb2d60007745338001a006b24..."} 
[2026-08-02 09:20:20] local.INFO: Packet analysis {"connection_id":147734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc096"} 
[2026-08-02 09:20:20] local.INFO: Extracted packet for processing {"connection_id":147734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc096"} 
[2026-08-02 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":749917696,"raw_latitude":125063992,"longitude_deg":74.9917696,"latitude_deg":12.5063992,"altitude":26,"angle":107,"satellites":36,"speed":40,"hex_longitude":"2cb2d600","hex_latitude":"07745338","is_valid_coordinates":true} 
[2026-08-02 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124478976001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367164440463802368,"note":"Value kept but may cause issues"} 
[2026-08-02 09:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5569756438388897792,"note":"Value kept but may cause issues"} 
[2026-08-02 09:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785642505000,"timestamp_ms":1785642505000,"timestamp_seconds":1785642505,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0965328"} 
[2026-08-02 09:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 09:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124478976001,"66":28006,"101":206,"27":54016,"24":40,"16":367164440463802368,"44":-5569756438388897792},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-08-02 09:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124478976001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:20:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 09:20:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367164440463802368,"km_value":367164440463802.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5569756438388897792,"description":"Unknown IO ID 44"} 
[2026-08-02 09:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124478976001,"power":28006,"unknown_101":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5569756438388897792}} 
[2026-08-02 09:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":147734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:20:20] local.INFO: GPS data processed {"connection_id":147734,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:20:20] local.INFO: Acknowledgment sent {"connection_id":147734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:20:20] local.INFO: TCP Data received {"connection_id":146717,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:20:20] local.INFO: Processing buffer {"connection_id":146717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:20:20] local.INFO: Packet analysis {"connection_id":146717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:20:20] local.INFO: Extracted packet for processing {"connection_id":146717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124395264001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785642470000,"timestamp_ms":1785642470000,"timestamp_seconds":1785642470,"priority":1,"record_length":96,"hex_timestamp":"0000019fc095ca70"} 
[2026-08-02 09:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 09:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:20:20] 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-08-02 09:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124395264001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124395264001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:20:20] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124395264001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":146717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:20:20] local.INFO: GPS data processed {"connection_id":146717,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:20:20] local.INFO: Acknowledgment sent {"connection_id":146717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:20:42] local.INFO: TCP Data received {"connection_id":149049,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:20:42] local.INFO: Processing buffer {"connection_id":149049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:20:42] local.INFO: IMEI packet received {"connection_id":149049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":149049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:20:46] local.INFO: TCP Data received {"connection_id":149049,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:20:46] local.INFO: Processing buffer {"connection_id":149049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:20:46] local.INFO: IMEI packet received {"connection_id":149049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":149049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:20:47] local.INFO: TCP Data received {"connection_id":149049,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0978ba8012cb3390007744f88002300c32d..."} 
[2026-08-02 09:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0978ba8012cb3390007744f88002300c32d..."} 
[2026-08-02 09:20:47] local.INFO: Processing buffer {"connection_id":149049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0978ba8012cb3390007744f88002300c32d..."} 
[2026-08-02 09:20:47] local.INFO: Packet analysis {"connection_id":149049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc097"} 
[2026-08-02 09:20:47] local.INFO: Extracted packet for processing {"connection_id":149049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc097"} 
[2026-08-02 09:20:47] local.INFO: GPS Element Parsed {"raw_longitude":749943040,"raw_latitude":125063048,"longitude_deg":74.994304,"latitude_deg":12.5063048,"altitude":35,"angle":195,"satellites":45,"speed":14,"hex_longitude":"2cb33900","hex_latitude":"07744f88","is_valid_coordinates":true} 
[2026-08-02 09:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124501248001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367165930817454080,"note":"Value kept but may cause issues"} 
[2026-08-02 09:20:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5532320266487418880,"note":"Value kept but may cause issues"} 
[2026-08-02 09:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785642585000,"timestamp_ms":1785642585000,"timestamp_seconds":1785642585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0978ba8"} 
[2026-08-02 09:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-02 09:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124501248001,"66":27843,"101":206,"27":54016,"24":14,"16":367165930817454080,"44":-5532320266487418880},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-08-02 09:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124501248001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:20:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 09:20:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367165930817454080,"km_value":367165930817454.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:20:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5532320266487418880,"description":"Unknown IO ID 44"} 
[2026-08-02 09:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124501248001,"power":27843,"unknown_101":206,"unknown_27":54016,"ignition":14,"odometer":null,"unknown_44":-5532320266487418880}} 
[2026-08-02 09:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":149049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:20:47] local.INFO: GPS data processed {"connection_id":149049,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:20:47] local.INFO: Acknowledgment sent {"connection_id":149049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:21:05] local.INFO: TCP Data received {"connection_id":149050,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:21:05] local.INFO: Processing buffer {"connection_id":149050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:21:05] local.INFO: IMEI packet received {"connection_id":149050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":149050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:21:10] local.INFO: TCP Data received {"connection_id":149050,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:21:10] local.INFO: Processing buffer {"connection_id":149050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:21:10] local.INFO: IMEI packet received {"connection_id":149050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":149050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:21:11] local.INFO: TCP Data received {"connection_id":149050,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:21:11] local.INFO: Processing buffer {"connection_id":149050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:21:11] local.INFO: Packet analysis {"connection_id":149050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:21:11] local.INFO: Extracted packet for processing {"connection_id":149050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:21:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124395264001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785642470000,"timestamp_ms":1785642470000,"timestamp_seconds":1785642470,"priority":1,"record_length":96,"hex_timestamp":"0000019fc095ca70"} 
[2026-08-02 09:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 09:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:21:11] 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-08-02 09:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124395264001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124395264001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:21:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124395264001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":149050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:21:11] local.INFO: GPS data processed {"connection_id":149050,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:21:11] local.INFO: Acknowledgment sent {"connection_id":149050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:21:19] local.INFO: TCP Data received {"connection_id":149049,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc097a700012cb3338007744230002100ce2b..."} 
[2026-08-02 09:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc097a700012cb3338007744230002100ce2b..."} 
[2026-08-02 09:21:19] local.INFO: Processing buffer {"connection_id":149049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc097a700012cb3338007744230002100ce2b..."} 
[2026-08-02 09:21:19] local.INFO: Packet analysis {"connection_id":149049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc097"} 
[2026-08-02 09:21:19] local.INFO: Extracted packet for processing {"connection_id":149049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc097"} 
[2026-08-02 09:21:19] local.INFO: GPS Element Parsed {"raw_longitude":749941632,"raw_latitude":125059632,"longitude_deg":74.9941632,"latitude_deg":12.5059632,"altitude":33,"angle":206,"satellites":43,"speed":24,"hex_longitude":"2cb33380","hex_latitude":"07744230","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124501760001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367166111206080512,"note":"Value kept but may cause issues"} 
[2026-08-02 09:21:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5532390635231803392,"note":"Value kept but may cause issues"} 
[2026-08-02 09:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785642592000,"timestamp_ms":1785642592000,"timestamp_seconds":1785642592,"priority":1,"record_length":96,"hex_timestamp":"0000019fc097a700"} 
[2026-08-02 09:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 09:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09: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-08-02 09:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124501760001,"66":27908,"101":206,"27":54016,"24":24,"16":367166111206080512,"44":-5532390635231803392},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-08-02 09:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124501760001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:21:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 09:21:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367166111206080512,"km_value":367166111206080.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:21:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5532390635231803392,"description":"Unknown IO ID 44"} 
[2026-08-02 09:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124501760001,"power":27908,"unknown_101":206,"unknown_27":54016,"ignition":24,"odometer":null,"unknown_44":-5532390635231803392}} 
[2026-08-02 09:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":149049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:21:19] local.INFO: GPS data processed {"connection_id":149049,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:21:19] local.INFO: Acknowledgment sent {"connection_id":149049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:21:42] local.INFO: TCP Data received {"connection_id":149050,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:21:42] local.INFO: Processing buffer {"connection_id":149050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:21:42] local.INFO: Packet analysis {"connection_id":149050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:21:42] local.INFO: Extracted packet for processing {"connection_id":149050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:21:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124395264001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785642470000,"timestamp_ms":1785642470000,"timestamp_seconds":1785642470,"priority":1,"record_length":96,"hex_timestamp":"0000019fc095ca70"} 
[2026-08-02 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-08-02 09:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 09:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 09:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124395264001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124395264001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:21:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124395264001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":149050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:21:42] local.INFO: GPS data processed {"connection_id":149050,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:21:42] local.INFO: Acknowledgment sent {"connection_id":149050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:21:46] local.INFO: TCP Data received {"connection_id":146718,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:21:46] local.INFO: Processing buffer {"connection_id":146718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:21:46] local.INFO: IMEI packet received {"connection_id":146718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":146718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:22:05] local.INFO: TCP Data received {"connection_id":146506,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:22:05] local.INFO: Processing buffer {"connection_id":146506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:22:05] local.INFO: IMEI packet received {"connection_id":146506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":146506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:22:09] local.INFO: TCP Data received {"connection_id":146718,"ip":"117.224.93.208","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 09:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146718,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 09:22:09] local.INFO: Processing buffer {"connection_id":146718,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 09:22:09] local.INFO: IMEI packet received {"connection_id":146718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":146718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:22:10] local.INFO: TCP Data received {"connection_id":146506,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:22:10] local.INFO: Processing buffer {"connection_id":146506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:22:10] local.INFO: IMEI packet received {"connection_id":146506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":146506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:22:11] local.INFO: TCP Data received {"connection_id":146718,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc097e198012cb32300077420a8001d00ce2a..."} 
[2026-08-02 09:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc097e198012cb32300077420a8001d00ce2a..."} 
[2026-08-02 09:22:11] local.INFO: Processing buffer {"connection_id":146718,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fc0..."} 
[2026-08-02 09:22:11] local.INFO: IMEI packet received {"connection_id":146718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":146718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:22:11] local.INFO: TCP Data received {"connection_id":146506,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:22:11] local.INFO: Processing buffer {"connection_id":146506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:22:11] local.INFO: Packet analysis {"connection_id":146506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:22:11] local.INFO: Extracted packet for processing {"connection_id":146506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:22:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124395264001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785642470000,"timestamp_ms":1785642470000,"timestamp_seconds":1785642470,"priority":1,"record_length":96,"hex_timestamp":"0000019fc095ca70"} 
[2026-08-02 09:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 09:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:22:11] 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-08-02 09:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124395264001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124395264001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:22:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124395264001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":146506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:22:11] local.INFO: GPS data processed {"connection_id":146506,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:22:11] local.INFO: Acknowledgment sent {"connection_id":146506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:22:12] local.INFO: TCP Data received {"connection_id":146718,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0982400012cb31240077401f8002000ce2c..."} 
[2026-08-02 09:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0982400012cb31240077401f8002000ce2c..."} 
[2026-08-02 09:22:12] local.INFO: Processing buffer {"connection_id":146718,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc097e198012cb32300077420a8001d00ce2a..."} 
[2026-08-02 09:22:12] local.INFO: Packet analysis {"connection_id":146718,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc097"} 
[2026-08-02 09:22:12] local.INFO: Extracted packet for processing {"connection_id":146718,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc097"} 
[2026-08-02 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":749937408,"raw_latitude":125051048,"longitude_deg":74.9937408,"latitude_deg":12.5051048,"altitude":29,"angle":206,"satellites":42,"speed":27,"hex_longitude":"2cb32300","hex_latitude":"077420a8","is_valid_coordinates":true} 
[2026-08-02 09:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124503552001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367166570767581184,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5533938747604586496,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785642607000,"timestamp_ms":1785642607000,"timestamp_seconds":1785642607,"priority":1,"record_length":96,"hex_timestamp":"0000019fc097e198"} 
[2026-08-02 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-08-02 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 09:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 09:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124503552001,"66":28050,"101":206,"27":54016,"24":27,"16":367166570767581184,"44":-5533938747604586496},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-08-02 09:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124503552001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:22:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 09:22:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367166570767581184,"km_value":367166570767581.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:22:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5533938747604586496,"description":"Unknown IO ID 44"} 
[2026-08-02 09:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124503552001,"power":28050,"unknown_101":206,"unknown_27":54016,"ignition":27,"odometer":null,"unknown_44":-5533938747604586496}} 
[2026-08-02 09:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":146718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:22:12] local.INFO: GPS data processed {"connection_id":146718,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:22:12] local.INFO: Acknowledgment sent {"connection_id":146718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:22:12] local.INFO: Packet analysis {"connection_id":146718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc098"} 
[2026-08-02 09:22:12] local.INFO: Extracted packet for processing {"connection_id":146718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc098"} 
[2026-08-02 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":749933120,"raw_latitude":125043192,"longitude_deg":74.993312,"latitude_deg":12.5043192,"altitude":32,"angle":206,"satellites":44,"speed":19,"hex_longitude":"2cb31240","hex_latitude":"077401f8","is_valid_coordinates":true} 
[2026-08-02 09:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124507392001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367167004559278080,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5538583084722509824,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785642624000,"timestamp_ms":1785642624000,"timestamp_seconds":1785642624,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0982400"} 
[2026-08-02 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-08-02 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-02 09:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 09:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124507392001,"66":27908,"101":206,"27":54016,"24":19,"16":367167004559278080,"44":-5538583084722509824},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-08-02 09:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124507392001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:22:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 09:22:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367167004559278080,"km_value":367167004559278.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:22:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5538583084722509824,"description":"Unknown IO ID 44"} 
[2026-08-02 09:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124507392001,"power":27908,"unknown_101":206,"unknown_27":54016,"ignition":19,"odometer":null,"unknown_44":-5538583084722509824}} 
[2026-08-02 09:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":146718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:22:12] local.INFO: GPS data processed {"connection_id":146718,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:22:12] local.INFO: Acknowledgment sent {"connection_id":146718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:22:13] local.INFO: TCP Data received {"connection_id":146718,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0985e98012cb308800773ea88002200be2d..."} 
[2026-08-02 09:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0985e98012cb308800773ea88002200be2d..."} 
[2026-08-02 09:22:13] local.INFO: Processing buffer {"connection_id":146718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0985e98012cb308800773ea88002200be2d..."} 
[2026-08-02 09:22:13] local.INFO: Packet analysis {"connection_id":146718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc098"} 
[2026-08-02 09:22:13] local.INFO: Extracted packet for processing {"connection_id":146718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc098"} 
[2026-08-02 09:22:13] local.INFO: GPS Element Parsed {"raw_longitude":749930624,"raw_latitude":125037192,"longitude_deg":74.9930624,"latitude_deg":12.5037192,"altitude":34,"angle":190,"satellites":45,"speed":16,"hex_longitude":"2cb30880","hex_latitude":"0773ea88","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124511744001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367167318091890688,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5543297790584424448,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785642639000,"timestamp_ms":1785642639000,"timestamp_seconds":1785642639,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0985e98"} 
[2026-08-02 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-08-02 09:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 09:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 09:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124511744001,"66":27832,"101":206,"27":54016,"24":16,"16":367167318091890688,"44":-5543297790584424448},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-08-02 09:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124511744001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:22:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 09:22:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367167318091890688,"km_value":367167318091890.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:22:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5543297790584424448,"description":"Unknown IO ID 44"} 
[2026-08-02 09:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124511744001,"power":27832,"unknown_101":206,"unknown_27":54016,"ignition":16,"odometer":null,"unknown_44":-5543297790584424448}} 
[2026-08-02 09:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":146718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:22:13] local.INFO: GPS data processed {"connection_id":146718,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:22:13] local.INFO: Acknowledgment sent {"connection_id":146718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:22:42] local.INFO: TCP Data received {"connection_id":146506,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:22:42] local.INFO: Processing buffer {"connection_id":146506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc095ca70012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:22:42] local.INFO: Packet analysis {"connection_id":146506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:22:42] local.INFO: Extracted packet for processing {"connection_id":146506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc095"} 
[2026-08-02 09:22:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124395264001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785642470000,"timestamp_ms":1785642470000,"timestamp_seconds":1785642470,"priority":1,"record_length":96,"hex_timestamp":"0000019fc095ca70"} 
[2026-08-02 09:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 09:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124395264001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124395264001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:22:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124395264001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":146506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:22:42] local.INFO: GPS data processed {"connection_id":146506,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:22:42] local.INFO: Acknowledgment sent {"connection_id":146506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:23:05] local.INFO: TCP Data received {"connection_id":149051,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:23:05] local.INFO: Processing buffer {"connection_id":149051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:23:05] local.INFO: IMEI packet received {"connection_id":149051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":149051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:23:10] local.INFO: TCP Data received {"connection_id":149051,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:23:10] local.INFO: Processing buffer {"connection_id":149051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:23:10] local.INFO: IMEI packet received {"connection_id":149051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":149051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:23:11] local.INFO: TCP Data received {"connection_id":149051,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:23:11] local.INFO: Processing buffer {"connection_id":149051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:23:11] local.INFO: Packet analysis {"connection_id":149051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:23:11] local.INFO: Extracted packet for processing {"connection_id":149051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:23:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124472320001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785642771000,"timestamp_ms":1785642771000,"timestamp_seconds":1785642771,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09a6238"} 
[2026-08-02 09:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:23:11] 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-08-02 09:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124472320001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124472320001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:23:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124472320001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":149051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:23:11] local.INFO: GPS data processed {"connection_id":149051,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:23:11] local.INFO: Acknowledgment sent {"connection_id":149051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:23:16] local.INFO: TCP Data received {"connection_id":149052,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:16] local.INFO: Processing buffer {"connection_id":149052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:16] local.INFO: IMEI packet received {"connection_id":149052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":149052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:23:17] local.INFO: TCP Data received {"connection_id":149052,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:17] local.INFO: Processing buffer {"connection_id":149052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:17] local.INFO: IMEI packet received {"connection_id":149052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":149052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:23:22] local.INFO: TCP Data received {"connection_id":149052,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:22] local.INFO: Processing buffer {"connection_id":149052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:22] local.INFO: IMEI packet received {"connection_id":149052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":149052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:23:24] local.INFO: TCP Data received {"connection_id":149052,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0999b00012cb38440077374f0001f00782a..."} 
[2026-08-02 09:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0999b00012cb38440077374f0001f00782a..."} 
[2026-08-02 09:23:24] local.INFO: Processing buffer {"connection_id":149052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0999b00012cb38440077374f0001f00782a..."} 
[2026-08-02 09:23:24] local.INFO: Packet analysis {"connection_id":149052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc099"} 
[2026-08-02 09:23:24] local.INFO: Extracted packet for processing {"connection_id":149052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc099"} 
[2026-08-02 09:23:24] local.INFO: GPS Element Parsed {"raw_longitude":749962304,"raw_latitude":125007088,"longitude_deg":74.9962304,"latitude_deg":12.5007088,"altitude":31,"angle":120,"satellites":42,"speed":15,"hex_longitude":"2cb38440","hex_latitude":"077374f0","is_valid_coordinates":true} 
[2026-08-02 09:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124536320001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367169456985604096,"note":"Value kept but may cause issues"} 
[2026-08-02 09:23:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5511209643248652288,"note":"Value kept but may cause issues"} 
[2026-08-02 09:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785642720000,"timestamp_ms":1785642720000,"timestamp_seconds":1785642720,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0999b00"} 
[2026-08-02 09:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-02 09:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124536320001,"66":28093,"106":206,"27":54016,"24":15,"16":367169456985604096,"44":-5511209643248652288},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,27,24,16,44]} 
[2026-08-02 09:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124536320001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:23:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-02 09:23:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367169456985604096,"km_value":367169456985604.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:23:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5511209643248652288,"description":"Unknown IO ID 44"} 
[2026-08-02 09:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124536320001,"power":28093,"unknown_106":206,"unknown_27":54016,"ignition":15,"odometer":null,"unknown_44":-5511209643248652288}} 
[2026-08-02 09:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":149052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:23:24] local.INFO: GPS data processed {"connection_id":149052,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:23:24] local.INFO: Acknowledgment sent {"connection_id":149052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:23:42] local.INFO: TCP Data received {"connection_id":149051,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:23:42] local.INFO: Processing buffer {"connection_id":149051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:23:42] local.INFO: Packet analysis {"connection_id":149051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:23:42] local.INFO: Extracted packet for processing {"connection_id":149051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 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-08-02 09:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124472320001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785642771000,"timestamp_ms":1785642771000,"timestamp_seconds":1785642771,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09a6238"} 
[2026-08-02 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-08-02 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 09:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124472320001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124472320001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:23:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124472320001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":149051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:23:42] local.INFO: GPS data processed {"connection_id":149051,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:23:42] local.INFO: Acknowledgment sent {"connection_id":149051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:23:46] local.INFO: TCP Data received {"connection_id":147735,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:46] local.INFO: Processing buffer {"connection_id":147735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:46] local.INFO: IMEI packet received {"connection_id":147735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":147735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:23:51] local.INFO: TCP Data received {"connection_id":147735,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:51] local.INFO: Processing buffer {"connection_id":147735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:23:51] local.INFO: IMEI packet received {"connection_id":147735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":147735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:23:52] local.INFO: TCP Data received {"connection_id":147735,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc099e150012cb3a34007736378001c00762a..."} 
[2026-08-02 09:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc099e150012cb3a34007736378001c00762a..."} 
[2026-08-02 09:23:52] local.INFO: Processing buffer {"connection_id":147735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc099e150012cb3a34007736378001c00762a..."} 
[2026-08-02 09:23:52] local.INFO: Packet analysis {"connection_id":147735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc099"} 
[2026-08-02 09:23:52] local.INFO: Extracted packet for processing {"connection_id":147735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc099"} 
[2026-08-02 09:23:52] local.INFO: GPS Element Parsed {"raw_longitude":749970240,"raw_latitude":125002616,"longitude_deg":74.997024,"latitude_deg":12.5002616,"altitude":28,"angle":118,"satellites":42,"speed":30,"hex_longitude":"2cb3a340","hex_latitude":"07736378","is_valid_coordinates":true} 
[2026-08-02 09:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124536320001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367169895072268288,"note":"Value kept but may cause issues"} 
[2026-08-02 09:23:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5511209643248652288,"note":"Value kept but may cause issues"} 
[2026-08-02 09:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785642738000,"timestamp_ms":1785642738000,"timestamp_seconds":1785642738,"priority":1,"record_length":96,"hex_timestamp":"0000019fc099e150"} 
[2026-08-02 09:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-02 09:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124536320001,"66":28050,"5":206,"27":54016,"24":30,"16":367169895072268288,"44":-5511209643248652288},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,27,24,16,44]} 
[2026-08-02 09:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124536320001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:23:52] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-02 09:23:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367169895072268288,"km_value":367169895072268.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:23:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5511209643248652288,"description":"Unknown IO ID 44"} 
[2026-08-02 09:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124536320001,"power":28050,"unknown_5":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-5511209643248652288}} 
[2026-08-02 09:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":147735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:23:52] local.INFO: GPS data processed {"connection_id":147735,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:23:52] local.INFO: Acknowledgment sent {"connection_id":147735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:24:05] local.INFO: TCP Data received {"connection_id":146507,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:24:05] local.INFO: Processing buffer {"connection_id":146507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:24:05] local.INFO: IMEI packet received {"connection_id":146507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":146507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:24:10] local.INFO: TCP Data received {"connection_id":146507,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:24:10] local.INFO: Processing buffer {"connection_id":146507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:24:10] local.INFO: IMEI packet received {"connection_id":146507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":146507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:24:11] local.INFO: TCP Data received {"connection_id":146507,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:24:11] local.INFO: Processing buffer {"connection_id":146507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:24:11] local.INFO: Packet analysis {"connection_id":146507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:24:11] local.INFO: Extracted packet for processing {"connection_id":146507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:24:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124472320001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785642771000,"timestamp_ms":1785642771000,"timestamp_seconds":1785642771,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09a6238"} 
[2026-08-02 09:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:24:11] 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-08-02 09:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124472320001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124472320001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:24:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124472320001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":146507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:24:11] local.INFO: GPS data processed {"connection_id":146507,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:24:11] local.INFO: Acknowledgment sent {"connection_id":146507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:24:37] local.INFO: TCP Data received {"connection_id":147735,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09a0860012cb3c200077351b0001800792c..."} 
[2026-08-02 09:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09a0860012cb3c200077351b0001800792c..."} 
[2026-08-02 09:24:37] local.INFO: Processing buffer {"connection_id":147735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09a0860012cb3c200077351b0001800792c..."} 
[2026-08-02 09:24:37] local.INFO: Packet analysis {"connection_id":147735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:24:37] local.INFO: Extracted packet for processing {"connection_id":147735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:24:37] local.INFO: GPS Element Parsed {"raw_longitude":749978112,"raw_latitude":124998064,"longitude_deg":74.9978112,"latitude_deg":12.4998064,"altitude":24,"angle":121,"satellites":44,"speed":40,"hex_longitude":"2cb3c200","hex_latitude":"077351b0","is_valid_coordinates":true} 
[2026-08-02 09:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124540928001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367170324568997888,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5502483918971766784,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785642748000,"timestamp_ms":1785642748000,"timestamp_seconds":1785642748,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09a0860"} 
[2026-08-02 09:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-02 09:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124540928001,"66":27995,"50":206,"27":54016,"24":40,"16":367170324568997888,"44":-5502483918971766784},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,27,24,16,44]} 
[2026-08-02 09:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124540928001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:24:37] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-02 09:24:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367170324568997888,"km_value":367170324568997.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:24:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5502483918971766784,"description":"Unknown IO ID 44"} 
[2026-08-02 09:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124540928001,"power":27995,"unknown_50":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5502483918971766784}} 
[2026-08-02 09:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":147735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:24:37] local.INFO: GPS data processed {"connection_id":147735,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:24:37] local.INFO: Acknowledgment sent {"connection_id":147735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:24:41] local.INFO: TCP Data received {"connection_id":149053,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:24:41] local.INFO: Processing buffer {"connection_id":149053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:24:41] local.INFO: IMEI packet received {"connection_id":149053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":149053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:24:42] local.INFO: TCP Data received {"connection_id":146507,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:24:42] local.INFO: Processing buffer {"connection_id":146507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:24:42] local.INFO: Packet analysis {"connection_id":146507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:24:42] local.INFO: Extracted packet for processing {"connection_id":146507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:24:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124472320001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785642771000,"timestamp_ms":1785642771000,"timestamp_seconds":1785642771,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09a6238"} 
[2026-08-02 09:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124472320001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124472320001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:24:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124472320001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":146507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:24:42] local.INFO: GPS data processed {"connection_id":146507,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:24:42] local.INFO: Acknowledgment sent {"connection_id":146507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:24:45] local.INFO: TCP Data received {"connection_id":149053,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:24:45] local.INFO: Processing buffer {"connection_id":149053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:24:45] local.INFO: IMEI packet received {"connection_id":149053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":149053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:24:46] local.INFO: TCP Data received {"connection_id":149053,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:24:46] local.INFO: Processing buffer {"connection_id":149053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:24:46] local.INFO: IMEI packet received {"connection_id":149053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":149053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:24:48] local.INFO: TCP Data received {"connection_id":149053,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09b48b0012cb47b4007722c18000b00a42b..."} 
[2026-08-02 09:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09b48b0012cb47b4007722c18000b00a42b..."} 
[2026-08-02 09:24:48] local.INFO: Processing buffer {"connection_id":149053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09b48b0012cb47b4007722c18000b00a42b..."} 
[2026-08-02 09:24:48] local.INFO: Packet analysis {"connection_id":149053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09b"} 
[2026-08-02 09:24:48] local.INFO: Extracted packet for processing {"connection_id":149053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09b"} 
[2026-08-02 09:24:48] local.INFO: GPS Element Parsed {"raw_longitude":750025536,"raw_latitude":124922904,"longitude_deg":75.0025536,"latitude_deg":12.4922904,"altitude":11,"angle":164,"satellites":43,"speed":48,"hex_longitude":"2cb47b40","hex_latitude":"07722c18","is_valid_coordinates":true} 
[2026-08-02 09:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124562432001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367174967428644864,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5444148230066407424,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785642830000,"timestamp_ms":1785642830000,"timestamp_seconds":1785642830,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09b48b0"} 
[2026-08-02 09:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 09:24: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-08-02 09:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124562432001,"66":27908,"32":206,"27":54016,"24":48,"16":367174967428644864,"44":-5444148230066407424},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,27,24,16,44]} 
[2026-08-02 09:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124562432001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:24:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-02 09:24:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367174967428644864,"km_value":367174967428644.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:24:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5444148230066407424,"description":"Unknown IO ID 44"} 
[2026-08-02 09:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124562432001,"power":27908,"unknown_32":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-5444148230066407424}} 
[2026-08-02 09:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":149053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:24:48] local.INFO: GPS data processed {"connection_id":149053,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:24:48] local.INFO: Acknowledgment sent {"connection_id":149053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:24:53] local.INFO: TCP Data received {"connection_id":149053,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09b67f0012cb4864007720838000a00a22d..."} 
[2026-08-02 09:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09b67f0012cb4864007720838000a00a22d..."} 
[2026-08-02 09:24:53] local.INFO: Processing buffer {"connection_id":149053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09b67f0012cb4864007720838000a00a22d..."} 
[2026-08-02 09:24:53] local.INFO: Packet analysis {"connection_id":149053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09b"} 
[2026-08-02 09:24:53] local.INFO: Extracted packet for processing {"connection_id":149053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09b"} 
[2026-08-02 09:24:53] local.INFO: GPS Element Parsed {"raw_longitude":750028352,"raw_latitude":124913720,"longitude_deg":75.0028352,"latitude_deg":12.491372,"altitude":10,"angle":162,"satellites":45,"speed":46,"hex_longitude":"2cb48640","hex_latitude":"07720838","is_valid_coordinates":true} 
[2026-08-02 09:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124564480001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367175431285112832,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5441685324022671360,"note":"Value kept but may cause issues"} 
[2026-08-02 09:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785642838000,"timestamp_ms":1785642838000,"timestamp_seconds":1785642838,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09b67f0"} 
[2026-08-02 09:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 09:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124564480001,"66":27908,"32":206,"27":54016,"24":46,"16":367175431285112832,"44":-5441685324022671360},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,27,24,16,44]} 
[2026-08-02 09:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124564480001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:24:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-02 09:24:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367175431285112832,"km_value":367175431285112.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:24:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5441685324022671360,"description":"Unknown IO ID 44"} 
[2026-08-02 09:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124564480001,"power":27908,"unknown_32":206,"unknown_27":54016,"ignition":46,"odometer":null,"unknown_44":-5441685324022671360}} 
[2026-08-02 09:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":149053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:24:53] local.INFO: GPS data processed {"connection_id":149053,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:24:53] local.INFO: Acknowledgment sent {"connection_id":149053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:25:10] local.INFO: TCP Data received {"connection_id":149054,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:25:10] local.INFO: Processing buffer {"connection_id":149054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:25:10] local.INFO: IMEI packet received {"connection_id":149054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":149054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:25:15] local.INFO: TCP Data received {"connection_id":149054,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:25:15] local.INFO: Processing buffer {"connection_id":149054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:25:15] local.INFO: IMEI packet received {"connection_id":149054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":149054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:25:16] local.INFO: TCP Data received {"connection_id":149054,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:25:16] local.INFO: Processing buffer {"connection_id":149054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:25:16] local.INFO: Packet analysis {"connection_id":149054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:25:16] local.INFO: Extracted packet for processing {"connection_id":149054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:25:16] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124472320001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785642771000,"timestamp_ms":1785642771000,"timestamp_seconds":1785642771,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09a6238"} 
[2026-08-02 09:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:25:16] 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-08-02 09:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124472320001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124472320001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:25:16] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124472320001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":149054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:25:16] local.INFO: GPS data processed {"connection_id":149054,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:25:16] local.INFO: Acknowledgment sent {"connection_id":149054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:25:20] local.INFO: TCP Data received {"connection_id":149054,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:25:20] local.INFO: Processing buffer {"connection_id":149054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:25:20] local.INFO: Packet analysis {"connection_id":149054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:25:20] local.INFO: Extracted packet for processing {"connection_id":149054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:25:20] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124472320001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785642771000,"timestamp_ms":1785642771000,"timestamp_seconds":1785642771,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09a6238"} 
[2026-08-02 09:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:25:20] 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-08-02 09:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124472320001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124472320001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:25:20] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124472320001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":149054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:25:21] local.INFO: GPS data processed {"connection_id":149054,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:25:21] local.INFO: Acknowledgment sent {"connection_id":149054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:25:24] local.INFO: TCP Data received {"connection_id":149053,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09b8730012cb492800771e5d0000800a12d..."} 
[2026-08-02 09:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09b8730012cb492800771e5d0000800a12d..."} 
[2026-08-02 09:25:24] local.INFO: Processing buffer {"connection_id":149053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09b8730012cb492800771e5d0000800a12d..."} 
[2026-08-02 09:25:24] local.INFO: Packet analysis {"connection_id":149053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09b"} 
[2026-08-02 09:25:24] local.INFO: Extracted packet for processing {"connection_id":149053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09b"} 
[2026-08-02 09:25:24] local.INFO: GPS Element Parsed {"raw_longitude":750031488,"raw_latitude":124904912,"longitude_deg":75.0031488,"latitude_deg":12.4904912,"altitude":8,"angle":161,"satellites":45,"speed":45,"hex_longitude":"2cb49280","hex_latitude":"0771e5d0","is_valid_coordinates":true} 
[2026-08-02 09:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124566528001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367175886551646208,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5438589099281205248,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785642846000,"timestamp_ms":1785642846000,"timestamp_seconds":1785642846,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09b8730"} 
[2026-08-02 09:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 09:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124566528001,"66":27876,"51":206,"27":54016,"24":45,"16":367175886551646208,"44":-5438589099281205248},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,27,24,16,44]} 
[2026-08-02 09:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124566528001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:25:24] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-02 09:25:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367175886551646208,"km_value":367175886551646.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:25:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5438589099281205248,"description":"Unknown IO ID 44"} 
[2026-08-02 09:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124566528001,"power":27876,"unknown_51":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-5438589099281205248}} 
[2026-08-02 09:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":149053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:25:24] local.INFO: GPS data processed {"connection_id":149053,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:25:24] local.INFO: Acknowledgment sent {"connection_id":149053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:25:44] local.INFO: TCP Data received {"connection_id":146508,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:25:44] local.INFO: Processing buffer {"connection_id":146508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:25:44] local.INFO: IMEI packet received {"connection_id":146508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":146508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:25:47] local.INFO: TCP Data received {"connection_id":146508,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:25:47] local.INFO: Processing buffer {"connection_id":146508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:25:47] local.INFO: IMEI packet received {"connection_id":146508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":146508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:25:52] local.INFO: TCP Data received {"connection_id":146508,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:25:52] local.INFO: Processing buffer {"connection_id":146508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:25:52] local.INFO: IMEI packet received {"connection_id":146508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":146508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:25:53] local.INFO: TCP Data received {"connection_id":146508,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09ba670012cb49e800771c470000800a02c..."} 
[2026-08-02 09:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09ba670012cb49e800771c470000800a02c..."} 
[2026-08-02 09:25:53] local.INFO: Processing buffer {"connection_id":146508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09ba670012cb49e800771c470000800a02c..."} 
[2026-08-02 09:25:53] local.INFO: Packet analysis {"connection_id":146508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09b"} 
[2026-08-02 09:25:53] local.INFO: Extracted packet for processing {"connection_id":146508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09b"} 
[2026-08-02 09:25:53] local.INFO: GPS Element Parsed {"raw_longitude":750034560,"raw_latitude":124896368,"longitude_deg":75.003456,"latitude_deg":12.4896368,"altitude":8,"angle":160,"satellites":44,"speed":43,"hex_longitude":"2cb49e80","hex_latitude":"0771c470","is_valid_coordinates":true} 
[2026-08-02 09:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124568576001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367176324638310400,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5435141030818754560,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785642854000,"timestamp_ms":1785642854000,"timestamp_seconds":1785642854,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09ba670"} 
[2026-08-02 09:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 09:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124568576001,"66":27974,"51":206,"27":54016,"24":43,"16":367176324638310400,"44":-5435141030818754560},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,27,24,16,44]} 
[2026-08-02 09:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124568576001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:25:53] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-02 09:25:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367176324638310400,"km_value":367176324638310.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:25:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5435141030818754560,"description":"Unknown IO ID 44"} 
[2026-08-02 09:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124568576001,"power":27974,"unknown_51":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-5435141030818754560}} 
[2026-08-02 09:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":146508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:25:53] local.INFO: GPS data processed {"connection_id":146508,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:25:53] local.INFO: Acknowledgment sent {"connection_id":146508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:25:54] local.INFO: TCP Data received {"connection_id":146508,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09bc998012cb4ab400771a000000900a12c..."} 
[2026-08-02 09:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09bc998012cb4ab400771a000000900a12c..."} 
[2026-08-02 09:25:54] local.INFO: Processing buffer {"connection_id":146508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09bc998012cb4ab400771a000000900a12c..."} 
[2026-08-02 09:25:54] local.INFO: Packet analysis {"connection_id":146508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09b"} 
[2026-08-02 09:25:54] local.INFO: Extracted packet for processing {"connection_id":146508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09b"} 
[2026-08-02 09:25:54] local.INFO: GPS Element Parsed {"raw_longitude":750037824,"raw_latitude":124887040,"longitude_deg":75.0037824,"latitude_deg":12.488704,"altitude":9,"angle":161,"satellites":44,"speed":43,"hex_longitude":"2cb4ab40","hex_latitude":"0771a000","is_valid_coordinates":true} 
[2026-08-02 09:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124570624001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367176801379680256,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5431763331100413952,"note":"Value kept but may cause issues"} 
[2026-08-02 09:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785642863000,"timestamp_ms":1785642863000,"timestamp_seconds":1785642863,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09bc998"} 
[2026-08-02 09:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-02 09:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124570624001,"66":27908,"51":206,"27":54016,"24":43,"16":367176801379680256,"44":-5431763331100413952},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,27,24,16,44]} 
[2026-08-02 09:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124570624001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:25:54] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-02 09:25:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367176801379680256,"km_value":367176801379680.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:25:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5431763331100413952,"description":"Unknown IO ID 44"} 
[2026-08-02 09:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124570624001,"power":27908,"unknown_51":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-5431763331100413952}} 
[2026-08-02 09:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":146508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:25:54] local.INFO: GPS data processed {"connection_id":146508,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:25:54] local.INFO: Acknowledgment sent {"connection_id":146508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:26:05] local.INFO: TCP Data received {"connection_id":147736,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:26:05] local.INFO: Processing buffer {"connection_id":147736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:26:05] local.INFO: IMEI packet received {"connection_id":147736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":147736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:26:10] local.INFO: TCP Data received {"connection_id":147736,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:26:10] local.INFO: Processing buffer {"connection_id":147736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:26:10] local.INFO: IMEI packet received {"connection_id":147736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":147736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:26:11] local.INFO: TCP Data received {"connection_id":147736,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:26:11] local.INFO: Processing buffer {"connection_id":147736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:26:11] local.INFO: Packet analysis {"connection_id":147736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:26:11] local.INFO: Extracted packet for processing {"connection_id":147736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:26:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124472320001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785642771000,"timestamp_ms":1785642771000,"timestamp_seconds":1785642771,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09a6238"} 
[2026-08-02 09:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09: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-08-02 09:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:26:11] 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-08-02 09:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124472320001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124472320001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:26:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124472320001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":147736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:26:11] local.INFO: GPS data processed {"connection_id":147736,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:26:11] local.INFO: Acknowledgment sent {"connection_id":147736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:26:29] local.INFO: TCP Data received {"connection_id":146508,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09becc0012cb4b7c007717be8000900a02c..."} 
[2026-08-02 09:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09becc0012cb4b7c007717be8000900a02c..."} 
[2026-08-02 09:26:29] local.INFO: Processing buffer {"connection_id":146508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09becc0012cb4b7c007717be8000900a02c..."} 
[2026-08-02 09:26:29] local.INFO: Packet analysis {"connection_id":146508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09b"} 
[2026-08-02 09:26:29] local.INFO: Extracted packet for processing {"connection_id":146508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09b"} 
[2026-08-02 09:26:29] local.INFO: GPS Element Parsed {"raw_longitude":750041024,"raw_latitude":124877800,"longitude_deg":75.0041024,"latitude_deg":12.48778,"altitude":9,"angle":160,"satellites":44,"speed":43,"hex_longitude":"2cb4b7c0","hex_latitude":"07717be8","is_valid_coordinates":true} 
[2026-08-02 09:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124572928001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367177273826082816,"note":"Value kept but may cause issues"} 
[2026-08-02 09:26:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5428174525149741056,"note":"Value kept but may cause issues"} 
[2026-08-02 09:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785642872000,"timestamp_ms":1785642872000,"timestamp_seconds":1785642872,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09becc0"} 
[2026-08-02 09:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 09:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124572928001,"66":27995,"51":206,"27":54016,"24":43,"16":367177273826082816,"44":-5428174525149741056},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,27,24,16,44]} 
[2026-08-02 09:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124572928001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:26:29] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-02 09:26:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367177273826082816,"km_value":367177273826082.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:26:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5428174525149741056,"description":"Unknown IO ID 44"} 
[2026-08-02 09:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124572928001,"power":27995,"unknown_51":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-5428174525149741056}} 
[2026-08-02 09:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":146508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:26:29] local.INFO: GPS data processed {"connection_id":146508,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:26:29] local.INFO: Acknowledgment sent {"connection_id":146508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:26:41] local.INFO: TCP Data received {"connection_id":147737,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:26:41] local.INFO: Processing buffer {"connection_id":147737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:26:41] local.INFO: IMEI packet received {"connection_id":147737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":147737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:26:41] local.INFO: TCP Data received {"connection_id":147737,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:26:41] local.INFO: Processing buffer {"connection_id":147737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:26:41] local.INFO: IMEI packet received {"connection_id":147737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":147737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:26:42] local.INFO: TCP Data received {"connection_id":147736,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:26:42] local.INFO: Processing buffer {"connection_id":147736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:26:42] local.INFO: Packet analysis {"connection_id":147736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:26:42] local.INFO: Extracted packet for processing {"connection_id":147736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:26:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124472320001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785642771000,"timestamp_ms":1785642771000,"timestamp_seconds":1785642771,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09a6238"} 
[2026-08-02 09:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09: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-08-02 09:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124472320001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124472320001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:26:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124472320001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":147736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:26:42] local.INFO: GPS data processed {"connection_id":147736,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:26:42] local.INFO: Acknowledgment sent {"connection_id":147736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:26:47] local.INFO: TCP Data received {"connection_id":147737,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:26:47] local.INFO: Processing buffer {"connection_id":147737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:26:47] local.INFO: IMEI packet received {"connection_id":147737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":147737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:26:48] local.INFO: TCP Data received {"connection_id":147737,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09c0fe8012cb4c4c007715718000900a02d..."} 
[2026-08-02 09:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09c0fe8012cb4c4c007715718000900a02d..."} 
[2026-08-02 09:26:48] local.INFO: Processing buffer {"connection_id":147737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09c0fe8012cb4c4c007715718000900a02d..."} 
[2026-08-02 09:26:48] local.INFO: Packet analysis {"connection_id":147737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09c"} 
[2026-08-02 09:26:48] local.INFO: Extracted packet for processing {"connection_id":147737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09c"} 
[2026-08-02 09:26:48] local.INFO: GPS Element Parsed {"raw_longitude":750044352,"raw_latitude":124868376,"longitude_deg":75.0044352,"latitude_deg":12.4868376,"altitude":9,"angle":160,"satellites":45,"speed":45,"hex_longitude":"2cb4c4c0","hex_latitude":"07715718","is_valid_coordinates":true} 
[2026-08-02 09:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124575232001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367177759157387264,"note":"Value kept but may cause issues"} 
[2026-08-02 09:26:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5424656087943223296,"note":"Value kept but may cause issues"} 
[2026-08-02 09:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785642881000,"timestamp_ms":1785642881000,"timestamp_seconds":1785642881,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09c0fe8"} 
[2026-08-02 09:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 09:26: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-08-02 09:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124575232001,"66":27767,"51":206,"27":54016,"24":45,"16":367177759157387264,"44":-5424656087943223296},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,27,24,16,44]} 
[2026-08-02 09:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124575232001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:26:48] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-02 09:26:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367177759157387264,"km_value":367177759157387.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:26:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5424656087943223296,"description":"Unknown IO ID 44"} 
[2026-08-02 09:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124575232001,"power":27767,"unknown_51":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-5424656087943223296}} 
[2026-08-02 09:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":147737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:26:48] local.INFO: GPS data processed {"connection_id":147737,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:26:48] local.INFO: Acknowledgment sent {"connection_id":147737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:27:05] local.INFO: TCP Data received {"connection_id":146509,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:27:05] local.INFO: Processing buffer {"connection_id":146509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:27:05] local.INFO: IMEI packet received {"connection_id":146509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":146509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:27:10] local.INFO: TCP Data received {"connection_id":146509,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:27:10] local.INFO: Processing buffer {"connection_id":146509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:27:10] local.INFO: IMEI packet received {"connection_id":146509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":146509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:27:11] local.INFO: TCP Data received {"connection_id":146509,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:27:11] local.INFO: Processing buffer {"connection_id":146509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:27:11] local.INFO: Packet analysis {"connection_id":146509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:27:11] local.INFO: Extracted packet for processing {"connection_id":146509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:27:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124472320001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785642771000,"timestamp_ms":1785642771000,"timestamp_seconds":1785642771,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09a6238"} 
[2026-08-02 09:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09: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-08-02 09:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:27:11] 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-08-02 09:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124472320001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124472320001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:27:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124472320001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":146509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:27:11] local.INFO: GPS data processed {"connection_id":146509,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:27:11] local.INFO: Acknowledgment sent {"connection_id":146509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:27:20] local.INFO: TCP Data received {"connection_id":147737,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09dadf8012cb56c8007703038001700ad2c..."} 
[2026-08-02 09:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09dadf8012cb56c8007703038001700ad2c..."} 
[2026-08-02 09:27:20] local.INFO: Processing buffer {"connection_id":147737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09dadf8012cb56c8007703038001700ad2c..."} 
[2026-08-02 09:27:20] local.INFO: Packet analysis {"connection_id":147737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09d"} 
[2026-08-02 09:27:20] local.INFO: Extracted packet for processing {"connection_id":147737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09d"} 
[2026-08-02 09:27:20] local.INFO: GPS Element Parsed {"raw_longitude":750087296,"raw_latitude":124792888,"longitude_deg":75.0087296,"latitude_deg":12.4792888,"altitude":23,"angle":173,"satellites":44,"speed":41,"hex_longitude":"2cb56c80","hex_latitude":"07703038","is_valid_coordinates":true} 
[2026-08-02 09:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124602624001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367182062714617856,"note":"Value kept but may cause issues"} 
[2026-08-02 09:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5375890548247607296,"note":"Value kept but may cause issues"} 
[2026-08-02 09:27:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,27,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 09:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785642987000,"timestamp_ms":1785642987000,"timestamp_seconds":1785642987,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09dadf8"} 
[2026-08-02 09:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 09:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124602624001,"66":27745,"16":367182062714617856,"27":54016,"24":41,"44":-5375890548247607296},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,27,24,44]} 
[2026-08-02 09:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124602624001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367182062714617856,"km_value":367182062714617.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:27:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5375890548247607296,"description":"Unknown IO ID 44"} 
[2026-08-02 09:27:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457124602624001,"power":27745,"odometer":null,"unknown_27":54016,"ignition":41,"unknown_44":-5375890548247607296}} 
[2026-08-02 09:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":147737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:27:20] local.INFO: GPS data processed {"connection_id":147737,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:27:20] local.INFO: Acknowledgment sent {"connection_id":147737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:27:42] local.INFO: TCP Data received {"connection_id":146510,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:27:42] local.INFO: Processing buffer {"connection_id":146510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:27:42] local.INFO: IMEI packet received {"connection_id":146510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":146510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:27:42] local.INFO: TCP Data received {"connection_id":146509,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:27:42] local.INFO: Processing buffer {"connection_id":146509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09a6238012d7a05c005dc9340000600ad2a..."} 
[2026-08-02 09:27:42] local.INFO: Packet analysis {"connection_id":146509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:27:42] local.INFO: Extracted packet for processing {"connection_id":146509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 09:27:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124472320001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785642771000,"timestamp_ms":1785642771000,"timestamp_seconds":1785642771,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09a6238"} 
[2026-08-02 09:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124472320001,"66":2231,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124472320001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:27:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124472320001,"power":2231,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":146509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:27:42] local.INFO: GPS data processed {"connection_id":146509,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:27:42] local.INFO: Acknowledgment sent {"connection_id":146509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:27:47] local.INFO: TCP Data received {"connection_id":146510,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:27:47] local.INFO: Processing buffer {"connection_id":146510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:27:47] local.INFO: IMEI packet received {"connection_id":146510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":146510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:27:48] local.INFO: TCP Data received {"connection_id":146510,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09dadf8012cb56c8007703038001700ad2c..."} 
[2026-08-02 09:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09dadf8012cb56c8007703038001700ad2c..."} 
[2026-08-02 09:27:48] local.INFO: Processing buffer {"connection_id":146510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09dadf8012cb56c8007703038001700ad2c..."} 
[2026-08-02 09:27:48] local.INFO: Packet analysis {"connection_id":146510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09d"} 
[2026-08-02 09:27:48] local.INFO: Extracted packet for processing {"connection_id":146510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09d"} 
[2026-08-02 09:27:48] local.INFO: GPS Element Parsed {"raw_longitude":750087296,"raw_latitude":124792888,"longitude_deg":75.0087296,"latitude_deg":12.4792888,"altitude":23,"angle":173,"satellites":44,"speed":41,"hex_longitude":"2cb56c80","hex_latitude":"07703038","is_valid_coordinates":true} 
[2026-08-02 09:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124604672001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367182062714617856,"note":"Value kept but may cause issues"} 
[2026-08-02 09:27:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5373779485924509696,"note":"Value kept but may cause issues"} 
[2026-08-02 09:27:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,27,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 09:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785642987000,"timestamp_ms":1785642987000,"timestamp_seconds":1785642987,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09dadf8"} 
[2026-08-02 09:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 09:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124604672001,"66":27745,"16":367182062714617856,"27":54016,"24":41,"44":-5373779485924509696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,27,24,44]} 
[2026-08-02 09:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124604672001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367182062714617856,"km_value":367182062714617.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:27:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:27:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5373779485924509696,"description":"Unknown IO ID 44"} 
[2026-08-02 09:27:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457124604672001,"power":27745,"odometer":null,"unknown_27":54016,"ignition":41,"unknown_44":-5373779485924509696}} 
[2026-08-02 09:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":146510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:27:48] local.INFO: GPS data processed {"connection_id":146510,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:27:48] local.INFO: Acknowledgment sent {"connection_id":146510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:28:05] local.INFO: TCP Data received {"connection_id":149055,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:28:05] local.INFO: Processing buffer {"connection_id":149055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:28:05] local.INFO: IMEI packet received {"connection_id":149055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":149055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:28:11] local.INFO: TCP Data received {"connection_id":149055,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:28:11] local.INFO: Processing buffer {"connection_id":149055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:28:11] local.INFO: IMEI packet received {"connection_id":149055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":149055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:28:11] local.INFO: TCP Data received {"connection_id":149055,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:28:11] local.INFO: Processing buffer {"connection_id":149055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:28:11] local.INFO: Packet analysis {"connection_id":149055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:28:11] local.INFO: Extracted packet for processing {"connection_id":149055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:28:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124549376001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785643072000,"timestamp_ms":1785643072000,"timestamp_seconds":1785643072,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09efa00"} 
[2026-08-02 09:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:28:11] 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-08-02 09:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124549376001,"66":2242,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124549376001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:28:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124549376001,"power":2242,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":149055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:28:12] local.INFO: GPS data processed {"connection_id":149055,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:28:12] local.INFO: Acknowledgment sent {"connection_id":149055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:28:21] local.INFO: TCP Data received {"connection_id":146510,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09dd120012cb56e4007700da8001700b22b..."} 
[2026-08-02 09:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09dd120012cb56e4007700da8001700b22b..."} 
[2026-08-02 09:28:21] local.INFO: Processing buffer {"connection_id":146510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09dd120012cb56e4007700da8001700b22b..."} 
[2026-08-02 09:28:21] local.INFO: Packet analysis {"connection_id":146510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09d"} 
[2026-08-02 09:28:21] local.INFO: Extracted packet for processing {"connection_id":146510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09d"} 
[2026-08-02 09:28:21] local.INFO: GPS Element Parsed {"raw_longitude":750087744,"raw_latitude":124784040,"longitude_deg":75.0087744,"latitude_deg":12.478404,"altitude":23,"angle":178,"satellites":43,"speed":36,"hex_longitude":"2cb56e40","hex_latitude":"07700da8","is_valid_coordinates":true} 
[2026-08-02 09:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124604672001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367182492211347456,"note":"Value kept but may cause issues"} 
[2026-08-02 09:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5373779485924509696,"note":"Value kept but may cause issues"} 
[2026-08-02 09:28:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,27,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 09:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785642996000,"timestamp_ms":1785642996000,"timestamp_seconds":1785642996,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09dd120"} 
[2026-08-02 09:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 09:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124604672001,"66":27865,"16":367182492211347456,"27":54016,"24":36,"44":-5373779485924509696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,27,24,44]} 
[2026-08-02 09:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124604672001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367182492211347456,"km_value":367182492211347.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:28:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5373779485924509696,"description":"Unknown IO ID 44"} 
[2026-08-02 09:28:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457124604672001,"power":27865,"odometer":null,"unknown_27":54016,"ignition":36,"unknown_44":-5373779485924509696}} 
[2026-08-02 09:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":146510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:28:21] local.INFO: GPS data processed {"connection_id":146510,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:28:21] local.INFO: Acknowledgment sent {"connection_id":146510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:28:43] local.INFO: TCP Data received {"connection_id":149055,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:28:43] local.INFO: Processing buffer {"connection_id":149055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:28:43] local.INFO: Packet analysis {"connection_id":149055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:28:43] local.INFO: Extracted packet for processing {"connection_id":149055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:28:43] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124549376001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785643072000,"timestamp_ms":1785643072000,"timestamp_seconds":1785643072,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09efa00"} 
[2026-08-02 09:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":149055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":149055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":149055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:28:43] 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-08-02 09:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124549376001,"66":2242,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124549376001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:28:43] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124549376001,"power":2242,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":149055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:28:43] local.INFO: GPS data processed {"connection_id":149055,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:28:43] local.INFO: Acknowledgment sent {"connection_id":149055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:28:49] local.INFO: TCP Data received {"connection_id":147738,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:28:49] local.INFO: Processing buffer {"connection_id":147738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:28:49] local.INFO: IMEI packet received {"connection_id":147738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":147738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:28:51] local.INFO: TCP Data received {"connection_id":147738,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:28:51] local.INFO: Processing buffer {"connection_id":147738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:28:51] local.INFO: IMEI packet received {"connection_id":147738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":147738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:28:57] local.INFO: TCP Data received {"connection_id":147738,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:28:57] local.INFO: Processing buffer {"connection_id":147738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:28:57] local.INFO: IMEI packet received {"connection_id":147738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":147738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:28:58] local.INFO: TCP Data received {"connection_id":147738,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09dfc18012cb56f00076fe9a0001900b129..."} 
[2026-08-02 09:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09dfc18012cb56f00076fe9a0001900b129..."} 
[2026-08-02 09:28:58] local.INFO: Processing buffer {"connection_id":147738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09dfc18012cb56f00076fe9a0001900b129..."} 
[2026-08-02 09:28:58] local.INFO: Packet analysis {"connection_id":147738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09d"} 
[2026-08-02 09:28:58] local.INFO: Extracted packet for processing {"connection_id":147738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09d"} 
[2026-08-02 09:28:58] local.INFO: GPS Element Parsed {"raw_longitude":750087936,"raw_latitude":124774816,"longitude_deg":75.0087936,"latitude_deg":12.4774816,"altitude":25,"angle":177,"satellites":41,"speed":30,"hex_longitude":"2cb56f00","hex_latitude":"076fe9a0","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124606976001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367182938887946240,"note":"Value kept but may cause issues"} 
[2026-08-02 09:28:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5373286904717531136,"note":"Value kept but may cause issues"} 
[2026-08-02 09:28:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,27,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 09:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785643007000,"timestamp_ms":1785643007000,"timestamp_seconds":1785643007,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09dfc18"} 
[2026-08-02 09:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 09:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09: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-08-02 09:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124606976001,"66":27865,"16":367182938887946240,"27":54016,"24":30,"44":-5373286904717531136},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,27,24,44]} 
[2026-08-02 09:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124606976001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367182938887946240,"km_value":367182938887946.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:28:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:28:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5373286904717531136,"description":"Unknown IO ID 44"} 
[2026-08-02 09:28:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457124606976001,"power":27865,"odometer":null,"unknown_27":54016,"ignition":30,"unknown_44":-5373286904717531136}} 
[2026-08-02 09:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":147738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:28:58] local.INFO: GPS data processed {"connection_id":147738,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:28:58] local.INFO: Acknowledgment sent {"connection_id":147738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:29:05] local.INFO: TCP Data received {"connection_id":146511,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:29:05] local.INFO: Processing buffer {"connection_id":146511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:29:05] local.INFO: IMEI packet received {"connection_id":146511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":146511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:29:10] local.INFO: TCP Data received {"connection_id":146511,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:29:10] local.INFO: Processing buffer {"connection_id":146511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:29:10] local.INFO: IMEI packet received {"connection_id":146511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":146511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:29:11] local.INFO: TCP Data received {"connection_id":146511,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:29:11] local.INFO: Processing buffer {"connection_id":146511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:29:11] local.INFO: Packet analysis {"connection_id":146511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:29:11] local.INFO: Extracted packet for processing {"connection_id":146511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:29:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124549376001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785643072000,"timestamp_ms":1785643072000,"timestamp_seconds":1785643072,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09efa00"} 
[2026-08-02 09:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:29:11] 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-08-02 09:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124549376001,"66":2242,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124549376001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:29:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124549376001,"power":2242,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":146511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:29:11] local.INFO: GPS data processed {"connection_id":146511,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:29:11] local.INFO: Acknowledgment sent {"connection_id":146511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:29:42] local.INFO: TCP Data received {"connection_id":146512,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:29:42] local.INFO: Processing buffer {"connection_id":146512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:29:42] local.INFO: IMEI packet received {"connection_id":146512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":146512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:29:42] local.INFO: TCP Data received {"connection_id":146511,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:29:42] local.INFO: Processing buffer {"connection_id":146511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:29:42] local.INFO: Packet analysis {"connection_id":146511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:29:42] local.INFO: Extracted packet for processing {"connection_id":146511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:29:42] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124549376001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785643072000,"timestamp_ms":1785643072000,"timestamp_seconds":1785643072,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09efa00"} 
[2026-08-02 09:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124549376001,"66":2242,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124549376001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:29:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124549376001,"power":2242,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":146511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:29:42] local.INFO: GPS data processed {"connection_id":146511,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:29:42] local.INFO: Acknowledgment sent {"connection_id":146511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:29:45] local.INFO: TCP Data received {"connection_id":146512,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:29:45] local.INFO: Processing buffer {"connection_id":146512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:29:45] local.INFO: IMEI packet received {"connection_id":146512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":146512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:29:46] local.INFO: TCP Data received {"connection_id":146512,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09fb580012cb54d40076e5ca8003000c32d..."} 
[2026-08-02 09:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09fb580012cb54d40076e5ca8003000c32d..."} 
[2026-08-02 09:29:46] local.INFO: Processing buffer {"connection_id":146512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09fb580012cb54d40076e5ca8003000c32d..."} 
[2026-08-02 09:29:46] local.INFO: Packet analysis {"connection_id":146512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09f"} 
[2026-08-02 09:29:46] local.INFO: Extracted packet for processing {"connection_id":146512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09f"} 
[2026-08-02 09:29:46] local.INFO: GPS Element Parsed {"raw_longitude":750079296,"raw_latitude":124673192,"longitude_deg":75.0079296,"latitude_deg":12.4673192,"altitude":48,"angle":195,"satellites":45,"speed":42,"hex_longitude":"2cb54d40","hex_latitude":"076e5ca8","is_valid_coordinates":true} 
[2026-08-02 09:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124636416001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367187929639944192,"note":"Value kept but may cause issues"} 
[2026-08-02 09:29:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5379338616742850560,"note":"Value kept but may cause issues"} 
[2026-08-02 09:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785643120000,"timestamp_ms":1785643120000,"timestamp_seconds":1785643120,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09fb580"} 
[2026-08-02 09:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 09:29: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-08-02 09:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124636416001,"66":27930,"107":206,"27":54016,"24":42,"16":367187929639944192,"44":-5379338616742850560},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,27,24,16,44]} 
[2026-08-02 09:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124636416001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:29:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 09:29:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367187929639944192,"km_value":367187929639944.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:29:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5379338616742850560,"description":"Unknown IO ID 44"} 
[2026-08-02 09:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124636416001,"power":27930,"unknown_107":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-5379338616742850560}} 
[2026-08-02 09:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":146512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:29:46] local.INFO: GPS data processed {"connection_id":146512,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:29:46] local.INFO: Acknowledgment sent {"connection_id":146512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:30:10] local.INFO: TCP Data received {"connection_id":147739,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:30:10] local.INFO: Processing buffer {"connection_id":147739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:30:10] local.INFO: IMEI packet received {"connection_id":147739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":147739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:30:15] local.INFO: TCP Data received {"connection_id":147739,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:30:15] local.INFO: Processing buffer {"connection_id":147739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:30:15] local.INFO: IMEI packet received {"connection_id":147739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":147739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:30:16] local.INFO: TCP Data received {"connection_id":147739,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:30:16] local.INFO: Processing buffer {"connection_id":147739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:30:16] local.INFO: Packet analysis {"connection_id":147739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:30:16] local.INFO: Extracted packet for processing {"connection_id":147739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:30:16] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124549376001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785643072000,"timestamp_ms":1785643072000,"timestamp_seconds":1785643072,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09efa00"} 
[2026-08-02 09:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":147739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":147739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":147739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:30:16] 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-08-02 09:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124549376001,"66":2242,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124549376001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:30:16] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:30:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124549376001,"power":2242,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":147739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:30:16] local.INFO: GPS data processed {"connection_id":147739,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:30:16] local.INFO: Acknowledgment sent {"connection_id":147739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:30:17] local.INFO: TCP Data received {"connection_id":146512,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09fccf0012cb54880076e46d8003000b72d..."} 
[2026-08-02 09:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09fccf0012cb54880076e46d8003000b72d..."} 
[2026-08-02 09:30:17] local.INFO: Processing buffer {"connection_id":146512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09fccf0012cb54880076e46d8003000b72d..."} 
[2026-08-02 09:30:17] local.INFO: Packet analysis {"connection_id":146512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09f"} 
[2026-08-02 09:30:17] local.INFO: Extracted packet for processing {"connection_id":146512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09f"} 
[2026-08-02 09:30:17] local.INFO: GPS Element Parsed {"raw_longitude":750078080,"raw_latitude":124667608,"longitude_deg":75.007808,"latitude_deg":12.4667608,"altitude":48,"angle":183,"satellites":45,"speed":33,"hex_longitude":"2cb54880","hex_latitude":"076e46d8","is_valid_coordinates":true} 
[2026-08-02 09:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124638720001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367188208812818432,"note":"Value kept but may cause issues"} 
[2026-08-02 09:30:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5382575578977359872,"note":"Value kept but may cause issues"} 
[2026-08-02 09:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785643126000,"timestamp_ms":1785643126000,"timestamp_seconds":1785643126,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09fccf0"} 
[2026-08-02 09:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":26,"data_length":795,"current_offset":136} 
[2026-08-02 09:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":146512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":146512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":146512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124638720001,"66":27887,"107":206,"27":54016,"24":33,"16":367188208812818432,"44":-5382575578977359872},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,27,24,16,44]} 
[2026-08-02 09:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124638720001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:30:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 09:30:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367188208812818432,"km_value":367188208812818.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:30:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5382575578977359872,"description":"Unknown IO ID 44"} 
[2026-08-02 09:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124638720001,"power":27887,"unknown_107":206,"unknown_27":54016,"ignition":33,"odometer":null,"unknown_44":-5382575578977359872}} 
[2026-08-02 09:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":146512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:30:17] local.INFO: GPS data processed {"connection_id":146512,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:30:17] local.INFO: Acknowledgment sent {"connection_id":146512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:30:20] local.INFO: TCP Data received {"connection_id":147739,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:30:20] local.INFO: Processing buffer {"connection_id":147739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:30:20] local.INFO: Packet analysis {"connection_id":147739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:30:20] local.INFO: Extracted packet for processing {"connection_id":147739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:30:20] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124549376001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785643072000,"timestamp_ms":1785643072000,"timestamp_seconds":1785643072,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09efa00"} 
[2026-08-02 09:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:30:20] 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-08-02 09:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124549376001,"66":2242,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124549376001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:30:20] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124549376001,"power":2242,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":147739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:30:20] local.INFO: GPS data processed {"connection_id":147739,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:30:20] local.INFO: Acknowledgment sent {"connection_id":147739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:30:39] local.INFO: TCP Data received {"connection_id":147740,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:30:39] local.INFO: Processing buffer {"connection_id":147740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:30:39] local.INFO: IMEI packet received {"connection_id":147740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":147740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:30:41] local.INFO: TCP Data received {"connection_id":147740,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:30:41] local.INFO: Processing buffer {"connection_id":147740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:30:41] local.INFO: IMEI packet received {"connection_id":147740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":147740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:30:47] local.INFO: TCP Data received {"connection_id":147740,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:30:47] local.INFO: Processing buffer {"connection_id":147740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:30:47] local.INFO: IMEI packet received {"connection_id":147740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":147740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:30:48] local.INFO: TCP Data received {"connection_id":147740,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a0c6f0012cb5eb80076d4fa0001600a62c..."} 
[2026-08-02 09:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a0c6f0012cb5eb80076d4fa0001600a62c..."} 
[2026-08-02 09:30:48] local.INFO: Processing buffer {"connection_id":147740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a0c6f0012cb5eb80076d4fa0001600a62c..."} 
[2026-08-02 09:30:48] local.INFO: Packet analysis {"connection_id":147740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a0"} 
[2026-08-02 09:30:48] local.INFO: Extracted packet for processing {"connection_id":147740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a0"} 
[2026-08-02 09:30:48] local.INFO: GPS Element Parsed {"raw_longitude":750119808,"raw_latitude":124604320,"longitude_deg":75.0119808,"latitude_deg":12.460432,"altitude":22,"angle":166,"satellites":44,"speed":55,"hex_longitude":"2cb5eb80","hex_latitude":"076d4fa0","is_valid_coordinates":true} 
[2026-08-02 09:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124654848001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367191954024300544,"note":"Value kept but may cause issues"} 
[2026-08-02 09:30:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5340776544951062528,"note":"Value kept but may cause issues"} 
[2026-08-02 09:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785643190000,"timestamp_ms":1785643190000,"timestamp_seconds":1785643190,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a0c6f0"} 
[2026-08-02 09:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 09:30: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-08-02 09:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124654848001,"66":27995,"107":206,"27":54016,"24":55,"16":367191954024300544,"44":-5340776544951062528},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,27,24,16,44]} 
[2026-08-02 09:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124654848001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:30:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 09:30:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367191954024300544,"km_value":367191954024300.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:30:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5340776544951062528,"description":"Unknown IO ID 44"} 
[2026-08-02 09:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124654848001,"power":27995,"unknown_107":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-5340776544951062528}} 
[2026-08-02 09:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":147740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:30:48] local.INFO: GPS data processed {"connection_id":147740,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:30:48] local.INFO: Acknowledgment sent {"connection_id":147740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:31:05] local.INFO: TCP Data received {"connection_id":146513,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:31:05] local.INFO: Processing buffer {"connection_id":146513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:31:05] local.INFO: IMEI packet received {"connection_id":146513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":146513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:31:10] local.INFO: TCP Data received {"connection_id":146513,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:31:10] local.INFO: Processing buffer {"connection_id":146513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:31:10] local.INFO: IMEI packet received {"connection_id":146513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":146513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:31:11] local.INFO: TCP Data received {"connection_id":146513,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:31:11] local.INFO: Processing buffer {"connection_id":146513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:31:11] local.INFO: Packet analysis {"connection_id":146513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:31:11] local.INFO: Extracted packet for processing {"connection_id":146513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:31:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124549376001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785643072000,"timestamp_ms":1785643072000,"timestamp_seconds":1785643072,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09efa00"} 
[2026-08-02 09:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:31:11] 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-08-02 09:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124549376001,"66":2242,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124549376001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:31:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124549376001,"power":2242,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":146513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:31:11] local.INFO: GPS data processed {"connection_id":146513,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:31:11] local.INFO: Acknowledgment sent {"connection_id":146513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:31:15] local.INFO: TCP Data received {"connection_id":146513,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:31:15] local.INFO: Processing buffer {"connection_id":146513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:31:15] local.INFO: Packet analysis {"connection_id":146513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:31:15] local.INFO: Extracted packet for processing {"connection_id":146513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:31:15] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124549376001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785643072000,"timestamp_ms":1785643072000,"timestamp_seconds":1785643072,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09efa00"} 
[2026-08-02 09:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:31:15] 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-08-02 09:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124549376001,"66":2242,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124549376001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:31:15] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124549376001,"power":2242,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":146513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:31:15] local.INFO: GPS data processed {"connection_id":146513,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:31:15] local.INFO: Acknowledgment sent {"connection_id":146513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:31:20] local.INFO: TCP Data received {"connection_id":147740,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a0e248012cb5f380076d2a88001300a42c..."} 
[2026-08-02 09:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a0e248012cb5f380076d2a88001300a42c..."} 
[2026-08-02 09:31:20] local.INFO: Processing buffer {"connection_id":147740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a0e248012cb5f380076d2a88001300a42c..."} 
[2026-08-02 09:31:20] local.INFO: Packet analysis {"connection_id":147740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a0"} 
[2026-08-02 09:31:20] local.INFO: Extracted packet for processing {"connection_id":147740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a0"} 
[2026-08-02 09:31:20] local.INFO: GPS Element Parsed {"raw_longitude":750121856,"raw_latitude":124594824,"longitude_deg":75.0121856,"latitude_deg":12.4594824,"altitude":19,"angle":164,"satellites":44,"speed":55,"hex_longitude":"2cb5f380","hex_latitude":"076d2a88","is_valid_coordinates":true} 
[2026-08-02 09:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124656640001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367192426470703104,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5338032163930529792,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785643197000,"timestamp_ms":1785643197000,"timestamp_seconds":1785643197,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a0e248"} 
[2026-08-02 09:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 09:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124656640001,"66":27919,"107":206,"27":54016,"24":55,"16":367192426470703104,"44":-5338032163930529792},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,27,24,16,44]} 
[2026-08-02 09:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124656640001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:31:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 09:31:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367192426470703104,"km_value":367192426470703.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5338032163930529792,"description":"Unknown IO ID 44"} 
[2026-08-02 09:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124656640001,"power":27919,"unknown_107":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-5338032163930529792}} 
[2026-08-02 09:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":147740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:31:20] local.INFO: GPS data processed {"connection_id":147740,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:31:20] local.INFO: Acknowledgment sent {"connection_id":147740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:31:41] local.INFO: TCP Data received {"connection_id":146514,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:31:41] local.INFO: Processing buffer {"connection_id":146514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:31:41] local.INFO: IMEI packet received {"connection_id":146514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":146514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:31:46] local.INFO: TCP Data received {"connection_id":146513,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:31:46] local.INFO: Processing buffer {"connection_id":146513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:31:46] local.INFO: Packet analysis {"connection_id":146513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:31:46] local.INFO: Extracted packet for processing {"connection_id":146513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:31:46] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124549376001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785643072000,"timestamp_ms":1785643072000,"timestamp_seconds":1785643072,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09efa00"} 
[2026-08-02 09:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:31:46] 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-08-02 09:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124549376001,"66":2242,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124549376001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:31:46] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:31:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124549376001,"power":2242,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":146513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:31:46] local.INFO: GPS data processed {"connection_id":146513,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:31:46] local.INFO: Acknowledgment sent {"connection_id":146513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:31:46] local.INFO: TCP Data received {"connection_id":146514,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:31:46] local.INFO: Processing buffer {"connection_id":146514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:31:46] local.INFO: IMEI packet received {"connection_id":146514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":146514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:31:48] local.INFO: TCP Data received {"connection_id":146514,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a0f1e8012cb5fb80076d1688001300972b..."} 
[2026-08-02 09:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a0f1e8012cb5fb80076d1688001300972b..."} 
[2026-08-02 09:31:48] local.INFO: Processing buffer {"connection_id":146514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a0f1e8012cb5fb80076d1688001300972b..."} 
[2026-08-02 09:31:48] local.INFO: Packet analysis {"connection_id":146514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a0"} 
[2026-08-02 09:31:48] local.INFO: Extracted packet for processing {"connection_id":146514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a0"} 
[2026-08-02 09:31:48] local.INFO: GPS Element Parsed {"raw_longitude":750123904,"raw_latitude":124589704,"longitude_deg":75.0123904,"latitude_deg":12.4589704,"altitude":19,"angle":151,"satellites":43,"speed":53,"hex_longitude":"2cb5fb80","hex_latitude":"076d1688","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124658432001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367192692758675456,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5335780364119275520,"note":"Value kept but may cause issues"} 
[2026-08-02 09:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785643201000,"timestamp_ms":1785643201000,"timestamp_seconds":1785643201,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a0f1e8"} 
[2026-08-02 09:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 09:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09: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-08-02 09:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124658432001,"66":27908,"107":206,"27":54016,"24":53,"16":367192692758675456,"44":-5335780364119275520},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,27,24,16,44]} 
[2026-08-02 09:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124658432001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:31:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 09:31:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367192692758675456,"km_value":367192692758675.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:31:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5335780364119275520,"description":"Unknown IO ID 44"} 
[2026-08-02 09:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124658432001,"power":27908,"unknown_107":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-5335780364119275520}} 
[2026-08-02 09:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":146514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:31:48] local.INFO: GPS data processed {"connection_id":146514,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:31:48] local.INFO: Acknowledgment sent {"connection_id":146514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:32:05] local.INFO: TCP Data received {"connection_id":147741,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:32:05] local.INFO: Processing buffer {"connection_id":147741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:32:05] local.INFO: IMEI packet received {"connection_id":147741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 09:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":147741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:32:10] local.INFO: TCP Data received {"connection_id":147741,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:32:10] local.INFO: Processing buffer {"connection_id":147741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 09:32:10] local.INFO: IMEI packet received {"connection_id":147741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 09:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":147741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:32:11] local.INFO: TCP Data received {"connection_id":147741,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:32:11] local.INFO: Processing buffer {"connection_id":147741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09efa00012d7a05c005dc9340000600ad29..."} 
[2026-08-02 09:32:11] local.INFO: Packet analysis {"connection_id":147741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:32:11] local.INFO: Extracted packet for processing {"connection_id":147741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09e"} 
[2026-08-02 09:32:11] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98341696,"longitude_deg":76.2971584,"latitude_deg":9.8341696,"altitude":6,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05dc9340","is_valid_coordinates":true} 
[2026-08-02 09:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124549376001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918768640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785643072000,"timestamp_ms":1785643072000,"timestamp_seconds":1785643072,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09efa00"} 
[2026-08-02 09:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 09:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 09:32:11] 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-08-02 09:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 09:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 09:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124549376001,"66":2242,"173":206,"85":15104,"24":0,"16":113758453717008384,"45":8792644978918768640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-02 09:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 09:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 09:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124549376001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:32:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-02 09:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 09:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918768640,"description":"Unknown IO ID 45"} 
[2026-08-02 09:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124549376001,"power":2242,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918768640}} 
[2026-08-02 09:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":147741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:32:11] local.INFO: GPS data processed {"connection_id":147741,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:32:11] local.INFO: Acknowledgment sent {"connection_id":147741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:32:19] local.INFO: TCP Data received {"connection_id":146514,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a26500012cb75ac0076c51e80011007c2c..."} 
[2026-08-02 09:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a26500012cb75ac0076c51e80011007c2c..."} 
[2026-08-02 09:32:19] local.INFO: Processing buffer {"connection_id":146514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a26500012cb75ac0076c51e80011007c2c..."} 
[2026-08-02 09:32:19] local.INFO: Packet analysis {"connection_id":146514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:32:19] local.INFO: Extracted packet for processing {"connection_id":146514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:32:19] local.INFO: GPS Element Parsed {"raw_longitude":750213824,"raw_latitude":124539368,"longitude_deg":75.0213824,"latitude_deg":12.4539368,"altitude":17,"angle":124,"satellites":44,"speed":38,"hex_longitude":"2cb75ac0","hex_latitude":"076c51e8","is_valid_coordinates":true} 
[2026-08-02 09:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124682752001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367197859604332544,"note":"Value kept but may cause issues"} 
[2026-08-02 09:32:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5238390022191108096,"note":"Value kept but may cause issues"} 
[2026-08-02 09:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785643296000,"timestamp_ms":1785643296000,"timestamp_seconds":1785643296,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a26500"} 
[2026-08-02 09:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 09:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124682752001,"66":27887,"238":206,"27":54016,"24":38,"16":367197859604332544,"44":-5238390022191108096},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,27,24,16,44]} 
[2026-08-02 09:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124682752001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:32:19] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-02 09:32:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367197859604332544,"km_value":367197859604332.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:32:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5238390022191108096,"description":"Unknown IO ID 44"} 
[2026-08-02 09:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124682752001,"power":27887,"unknown_238":206,"unknown_27":54016,"ignition":38,"odometer":null,"unknown_44":-5238390022191108096}} 
[2026-08-02 09:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":146514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:32:19] local.INFO: GPS data processed {"connection_id":146514,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:32:19] local.INFO: Acknowledgment sent {"connection_id":146514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:32:41] local.INFO: TCP Data received {"connection_id":146719,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:32:41] local.INFO: Processing buffer {"connection_id":146719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:32:41] local.INFO: IMEI packet received {"connection_id":146719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":146719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:32:47] local.INFO: TCP Data received {"connection_id":146719,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:32:47] local.INFO: Processing buffer {"connection_id":146719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:32:47] local.INFO: IMEI packet received {"connection_id":146719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":146719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:32:48] local.INFO: TCP Data received {"connection_id":146719,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a270b8012cb76480076c4a88001100872d..."} 
[2026-08-02 09:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a270b8012cb76480076c4a88001100872d..."} 
[2026-08-02 09:32:48] local.INFO: Processing buffer {"connection_id":146719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a270b8012cb76480076c4a88001100872d..."} 
[2026-08-02 09:32:48] local.INFO: Packet analysis {"connection_id":146719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:32:48] local.INFO: Extracted packet for processing {"connection_id":146719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:32:48] local.INFO: GPS Element Parsed {"raw_longitude":750216320,"raw_latitude":124537480,"longitude_deg":75.021632,"latitude_deg":12.453748,"altitude":17,"angle":135,"satellites":45,"speed":40,"hex_longitude":"2cb76480","hex_latitude":"076c4a88","is_valid_coordinates":true} 
[2026-08-02 09:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124683776001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367198005633220608,"note":"Value kept but may cause issues"} 
[2026-08-02 09:32:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5234660478750169088,"note":"Value kept but may cause issues"} 
[2026-08-02 09:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785643299000,"timestamp_ms":1785643299000,"timestamp_seconds":1785643299,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a270b8"} 
[2026-08-02 09:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-02 09:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124683776001,"66":27908,"238":206,"27":54016,"24":40,"16":367198005633220608,"44":-5234660478750169088},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,27,24,16,44]} 
[2026-08-02 09:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124683776001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:32:48] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-02 09:32:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367198005633220608,"km_value":367198005633220.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:32:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5234660478750169088,"description":"Unknown IO ID 44"} 
[2026-08-02 09:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124683776001,"power":27908,"unknown_238":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5234660478750169088}} 
[2026-08-02 09:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":146719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:32:48] local.INFO: GPS data processed {"connection_id":146719,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:32:48] local.INFO: Acknowledgment sent {"connection_id":146719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:33:20] local.INFO: TCP Data received {"connection_id":146719,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a27888012cb76980076c43d8001200952d..."} 
[2026-08-02 09:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a27888012cb76980076c43d8001200952d..."} 
[2026-08-02 09:33:20] local.INFO: Processing buffer {"connection_id":146719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a27888012cb76980076c43d8001200952d..."} 
[2026-08-02 09:33:20] local.INFO: Packet analysis {"connection_id":146719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:33:20] local.INFO: Extracted packet for processing {"connection_id":146719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:33:20] local.INFO: GPS Element Parsed {"raw_longitude":750217600,"raw_latitude":124535768,"longitude_deg":75.02176,"latitude_deg":12.4535768,"altitude":18,"angle":149,"satellites":45,"speed":41,"hex_longitude":"2cb76980","hex_latitude":"076c43d8","is_valid_coordinates":true} 
[2026-08-02 09:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124684544001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367198108712435712,"note":"Value kept but may cause issues"} 
[2026-08-02 09:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5231916097727723520,"note":"Value kept but may cause issues"} 
[2026-08-02 09:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785643301000,"timestamp_ms":1785643301000,"timestamp_seconds":1785643301,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a27888"} 
[2026-08-02 09:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 09:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124684544001,"66":27865,"238":206,"27":54016,"24":41,"16":367198108712435712,"44":-5231916097727723520},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,27,24,16,44]} 
[2026-08-02 09:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124684544001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:33:20] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-02 09:33:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367198108712435712,"km_value":367198108712435.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5231916097727723520,"description":"Unknown IO ID 44"} 
[2026-08-02 09:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124684544001,"power":27865,"unknown_238":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-5231916097727723520}} 
[2026-08-02 09:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":146719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:33:20] local.INFO: GPS data processed {"connection_id":146719,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:33:20] local.INFO: Acknowledgment sent {"connection_id":146719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:33:41] local.INFO: TCP Data received {"connection_id":147742,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:33:41] local.INFO: Processing buffer {"connection_id":147742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:33:41] local.INFO: IMEI packet received {"connection_id":147742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":147742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:33:47] local.INFO: TCP Data received {"connection_id":147742,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:33:47] local.INFO: Processing buffer {"connection_id":147742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:33:47] local.INFO: IMEI packet received {"connection_id":147742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":147742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:33:48] local.INFO: TCP Data received {"connection_id":147742,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a28828012cb77040076c34f0001300a12d..."} 
[2026-08-02 09:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a28828012cb77040076c34f0001300a12d..."} 
[2026-08-02 09:33:48] local.INFO: Processing buffer {"connection_id":147742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a28828012cb77040076c34f0001300a12d..."} 
[2026-08-02 09:33:48] local.INFO: Packet analysis {"connection_id":147742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:33:48] local.INFO: Extracted packet for processing {"connection_id":147742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:33:48] local.INFO: GPS Element Parsed {"raw_longitude":750219328,"raw_latitude":124531952,"longitude_deg":75.0219328,"latitude_deg":12.4531952,"altitude":19,"angle":161,"satellites":45,"speed":41,"hex_longitude":"2cb77040","hex_latitude":"076c34f0","is_valid_coordinates":true} 
[2026-08-02 09:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124685056001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367198314870865920,"note":"Value kept but may cause issues"} 
[2026-08-02 09:33:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5230508722844608512,"note":"Value kept but may cause issues"} 
[2026-08-02 09:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785643305000,"timestamp_ms":1785643305000,"timestamp_seconds":1785643305,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a28828"} 
[2026-08-02 09:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 09:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124685056001,"66":27658,"238":206,"27":54016,"24":41,"16":367198314870865920,"44":-5230508722844608512},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,27,24,16,44]} 
[2026-08-02 09:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124685056001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:33:48] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-02 09:33:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367198314870865920,"km_value":367198314870865.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:33:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5230508722844608512,"description":"Unknown IO ID 44"} 
[2026-08-02 09:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124685056001,"power":27658,"unknown_238":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-5230508722844608512}} 
[2026-08-02 09:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":147742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:33:48] local.INFO: GPS data processed {"connection_id":147742,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:33:48] local.INFO: Acknowledgment sent {"connection_id":147742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:34:19] local.INFO: TCP Data received {"connection_id":147742,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a2af38012cb77980076c1030001500a82d..."} 
[2026-08-02 09:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a2af38012cb77980076c1030001500a82d..."} 
[2026-08-02 09:34:19] local.INFO: Processing buffer {"connection_id":147742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a2af38012cb77980076c1030001500a82d..."} 
[2026-08-02 09:34:19] local.INFO: Packet analysis {"connection_id":147742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:34:19] local.INFO: Extracted packet for processing {"connection_id":147742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:34:19] local.INFO: GPS Element Parsed {"raw_longitude":750221696,"raw_latitude":124522544,"longitude_deg":75.0221696,"latitude_deg":12.4522544,"altitude":21,"angle":168,"satellites":45,"speed":37,"hex_longitude":"2cb77980","hex_latitude":"076c1030","is_valid_coordinates":true} 
[2026-08-02 09:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124686080001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367198783022301184,"note":"Value kept but may cause issues"} 
[2026-08-02 09:34:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5228608766752788480,"note":"Value kept but may cause issues"} 
[2026-08-02 09:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785643315000,"timestamp_ms":1785643315000,"timestamp_seconds":1785643315,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a2af38"} 
[2026-08-02 09:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 09:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124686080001,"66":27876,"238":206,"27":54016,"24":37,"16":367198783022301184,"44":-5228608766752788480},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,27,24,16,44]} 
[2026-08-02 09:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124686080001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:34:19] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-02 09:34:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367198783022301184,"km_value":367198783022301.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:34:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5228608766752788480,"description":"Unknown IO ID 44"} 
[2026-08-02 09:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124686080001,"power":27876,"unknown_238":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-5228608766752788480}} 
[2026-08-02 09:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":147742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:34:19] local.INFO: GPS data processed {"connection_id":147742,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:34:19] local.INFO: Acknowledgment sent {"connection_id":147742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:34:47] local.INFO: TCP Data received {"connection_id":146515,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:34:47] local.INFO: Processing buffer {"connection_id":146515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:34:47] local.INFO: IMEI packet received {"connection_id":146515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":146515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:34:52] local.INFO: TCP Data received {"connection_id":146515,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:34:52] local.INFO: Processing buffer {"connection_id":146515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:34:52] local.INFO: IMEI packet received {"connection_id":146515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":146515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:34:53] local.INFO: TCP Data received {"connection_id":146515,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:34:53] local.INFO: Processing buffer {"connection_id":146515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:34:53] local.INFO: Packet analysis {"connection_id":146515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:34:53] local.INFO: Extracted packet for processing {"connection_id":146515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:34:53] local.INFO: GPS Element Parsed {"raw_longitude":750222400,"raw_latitude":124518880,"longitude_deg":75.02224,"latitude_deg":12.451888,"altitude":21,"angle":171,"satellites":45,"speed":37,"hex_longitude":"2cb77c40","hex_latitude":"076c01e0","is_valid_coordinates":true} 
[2026-08-02 09:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124688640001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367198963410927616,"note":"Value kept but may cause issues"} 
[2026-08-02 09:34:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5226005123220623360,"note":"Value kept but may cause issues"} 
[2026-08-02 09:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785643319000,"timestamp_ms":1785643319000,"timestamp_seconds":1785643319,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a2bed8"} 
[2026-08-02 09:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 09:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124688640001,"66":27234,"237":206,"27":54016,"24":37,"16":367198963410927616,"44":-5226005123220623360},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,27,24,16,44]} 
[2026-08-02 09:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124688640001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:34:53] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-02 09:34:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367198963410927616,"km_value":367198963410927.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:34:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5226005123220623360,"description":"Unknown IO ID 44"} 
[2026-08-02 09:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124688640001,"power":27234,"unknown_237":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-5226005123220623360}} 
[2026-08-02 09:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":146515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:34:53] local.INFO: GPS data processed {"connection_id":146515,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:34:53] local.INFO: Acknowledgment sent {"connection_id":146515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:35:25] local.INFO: TCP Data received {"connection_id":146515,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:35:25] local.INFO: Processing buffer {"connection_id":146515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:35:25] local.INFO: Packet analysis {"connection_id":146515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:35:25] local.INFO: Extracted packet for processing {"connection_id":146515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:35:25] local.INFO: GPS Element Parsed {"raw_longitude":750222400,"raw_latitude":124518880,"longitude_deg":75.02224,"latitude_deg":12.451888,"altitude":21,"angle":171,"satellites":45,"speed":37,"hex_longitude":"2cb77c40","hex_latitude":"076c01e0","is_valid_coordinates":true} 
[2026-08-02 09:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124688640001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367198963410927616,"note":"Value kept but may cause issues"} 
[2026-08-02 09:35:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5226005123220623360,"note":"Value kept but may cause issues"} 
[2026-08-02 09:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785643319000,"timestamp_ms":1785643319000,"timestamp_seconds":1785643319,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a2bed8"} 
[2026-08-02 09:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 09:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124688640001,"66":27234,"237":206,"27":54016,"24":37,"16":367198963410927616,"44":-5226005123220623360},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,27,24,16,44]} 
[2026-08-02 09:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124688640001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:35:25] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-02 09:35:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367198963410927616,"km_value":367198963410927.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:35:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5226005123220623360,"description":"Unknown IO ID 44"} 
[2026-08-02 09:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124688640001,"power":27234,"unknown_237":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-5226005123220623360}} 
[2026-08-02 09:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":146515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:35:25] local.INFO: GPS data processed {"connection_id":146515,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:35:25] local.INFO: Acknowledgment sent {"connection_id":146515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:35:41] local.INFO: TCP Data received {"connection_id":147743,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:35:41] local.INFO: Processing buffer {"connection_id":147743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:35:41] local.INFO: IMEI packet received {"connection_id":147743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":147743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:35:47] local.INFO: TCP Data received {"connection_id":147743,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:35:47] local.INFO: Processing buffer {"connection_id":147743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:35:47] local.INFO: IMEI packet received {"connection_id":147743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":147743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:35:49] local.INFO: TCP Data received {"connection_id":147743,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:35:49] local.INFO: Processing buffer {"connection_id":147743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:35:49] local.INFO: Packet analysis {"connection_id":147743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:35:49] local.INFO: Extracted packet for processing {"connection_id":147743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:35:49] local.INFO: GPS Element Parsed {"raw_longitude":750222400,"raw_latitude":124518880,"longitude_deg":75.02224,"latitude_deg":12.451888,"altitude":21,"angle":171,"satellites":45,"speed":37,"hex_longitude":"2cb77c40","hex_latitude":"076c01e0","is_valid_coordinates":true} 
[2026-08-02 09:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124688640001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367198963410927616,"note":"Value kept but may cause issues"} 
[2026-08-02 09:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5226005123220623360,"note":"Value kept but may cause issues"} 
[2026-08-02 09:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785643319000,"timestamp_ms":1785643319000,"timestamp_seconds":1785643319,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a2bed8"} 
[2026-08-02 09:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 09:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124688640001,"66":27234,"237":206,"27":54016,"24":37,"16":367198963410927616,"44":-5226005123220623360},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,27,24,16,44]} 
[2026-08-02 09:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124688640001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:35:49] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-02 09:35:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367198963410927616,"km_value":367198963410927.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5226005123220623360,"description":"Unknown IO ID 44"} 
[2026-08-02 09:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124688640001,"power":27234,"unknown_237":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-5226005123220623360}} 
[2026-08-02 09:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":147743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:35:49] local.INFO: GPS data processed {"connection_id":147743,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:35:49] local.INFO: Acknowledgment sent {"connection_id":147743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:36:20] local.INFO: TCP Data received {"connection_id":147743,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:36:20] local.INFO: Processing buffer {"connection_id":147743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:36:20] local.INFO: Packet analysis {"connection_id":147743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:36:20] local.INFO: Extracted packet for processing {"connection_id":147743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:36:20] local.INFO: GPS Element Parsed {"raw_longitude":750222400,"raw_latitude":124518880,"longitude_deg":75.02224,"latitude_deg":12.451888,"altitude":21,"angle":171,"satellites":45,"speed":37,"hex_longitude":"2cb77c40","hex_latitude":"076c01e0","is_valid_coordinates":true} 
[2026-08-02 09:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124688640001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367198963410927616,"note":"Value kept but may cause issues"} 
[2026-08-02 09:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5226005123220623360,"note":"Value kept but may cause issues"} 
[2026-08-02 09:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785643319000,"timestamp_ms":1785643319000,"timestamp_seconds":1785643319,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a2bed8"} 
[2026-08-02 09:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 09:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124688640001,"66":27234,"237":206,"27":54016,"24":37,"16":367198963410927616,"44":-5226005123220623360},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,27,24,16,44]} 
[2026-08-02 09:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124688640001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:36:20] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-02 09:36:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367198963410927616,"km_value":367198963410927.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5226005123220623360,"description":"Unknown IO ID 44"} 
[2026-08-02 09:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124688640001,"power":27234,"unknown_237":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-5226005123220623360}} 
[2026-08-02 09:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":147743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:36:20] local.INFO: GPS data processed {"connection_id":147743,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:36:20] local.INFO: Acknowledgment sent {"connection_id":147743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:36:41] local.INFO: TCP Data received {"connection_id":146516,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:36:41] local.INFO: Processing buffer {"connection_id":146516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:36:41] local.INFO: IMEI packet received {"connection_id":146516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":146516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:36:46] local.INFO: TCP Data received {"connection_id":146516,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:36:46] local.INFO: Processing buffer {"connection_id":146516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:36:46] local.INFO: IMEI packet received {"connection_id":146516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":146516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:36:47] local.INFO: TCP Data received {"connection_id":146516,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:36:47] local.INFO: Processing buffer {"connection_id":146516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a2bed8012cb77c40076c01e0001500ab2d..."} 
[2026-08-02 09:36:47] local.INFO: Packet analysis {"connection_id":146516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:36:47] local.INFO: Extracted packet for processing {"connection_id":146516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 09:36:47] local.INFO: GPS Element Parsed {"raw_longitude":750222400,"raw_latitude":124518880,"longitude_deg":75.02224,"latitude_deg":12.451888,"altitude":21,"angle":171,"satellites":45,"speed":37,"hex_longitude":"2cb77c40","hex_latitude":"076c01e0","is_valid_coordinates":true} 
[2026-08-02 09:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124688640001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367198963410927616,"note":"Value kept but may cause issues"} 
[2026-08-02 09:36:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5226005123220623360,"note":"Value kept but may cause issues"} 
[2026-08-02 09:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785643319000,"timestamp_ms":1785643319000,"timestamp_seconds":1785643319,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a2bed8"} 
[2026-08-02 09:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 09:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124688640001,"66":27234,"237":206,"27":54016,"24":37,"16":367198963410927616,"44":-5226005123220623360},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,27,24,16,44]} 
[2026-08-02 09:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124688640001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:36:47] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-02 09:36:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367198963410927616,"km_value":367198963410927.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:36:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5226005123220623360,"description":"Unknown IO ID 44"} 
[2026-08-02 09:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124688640001,"power":27234,"unknown_237":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-5226005123220623360}} 
[2026-08-02 09:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":146516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:36:47] local.INFO: GPS data processed {"connection_id":146516,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:36:47] local.INFO: Acknowledgment sent {"connection_id":146516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:37:19] local.INFO: TCP Data received {"connection_id":146516,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a69738012cb78a00076bada0001400ac2b..."} 
[2026-08-02 09:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a69738012cb78a00076bada0001400ac2b..."} 
[2026-08-02 09:37:19] local.INFO: Processing buffer {"connection_id":146516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a69738012cb78a00076bada0001400ac2b..."} 
[2026-08-02 09:37:19] local.INFO: Packet analysis {"connection_id":146516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a6"} 
[2026-08-02 09:37:19] local.INFO: Extracted packet for processing {"connection_id":146516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a6"} 
[2026-08-02 09:37:19] local.INFO: GPS Element Parsed {"raw_longitude":750225920,"raw_latitude":124497312,"longitude_deg":75.022592,"latitude_deg":12.4497312,"altitude":20,"angle":172,"satellites":43,"speed":0,"hex_longitude":"2cb78a00","hex_latitude":"076bada0","is_valid_coordinates":true} 
[2026-08-02 09:37: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-08-02 09:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124689664001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367198963410927616,"note":"Value kept but may cause issues"} 
[2026-08-02 09:37:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5225231067035607040,"note":"Value kept but may cause issues"} 
[2026-08-02 09:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785643571000,"timestamp_ms":1785643571000,"timestamp_seconds":1785643571,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a69738"} 
[2026-08-02 09:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 09:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-02 09:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124689664001,"66":26539,"237":206,"27":54016,"24":0,"16":367198963410927616,"44":-5225231067035607040},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,27,24,16,44]} 
[2026-08-02 09:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124689664001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:37:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-02 09:37:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367198963410927616,"km_value":367198963410927.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:37:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5225231067035607040,"description":"Unknown IO ID 44"} 
[2026-08-02 09:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124689664001,"power":26539,"unknown_237":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5225231067035607040}} 
[2026-08-02 09:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":146516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:37:19] local.INFO: GPS data processed {"connection_id":146516,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:37:19] local.INFO: Acknowledgment sent {"connection_id":146516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:37:41] local.INFO: TCP Data received {"connection_id":149056,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:37:41] local.INFO: Processing buffer {"connection_id":149056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:37:41] local.INFO: IMEI packet received {"connection_id":149056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":149056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:37:47] local.INFO: TCP Data received {"connection_id":149056,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:37:47] local.INFO: Processing buffer {"connection_id":149056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:37:47] local.INFO: IMEI packet received {"connection_id":149056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":149056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:37:47] local.INFO: TCP Data received {"connection_id":149056,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a6f110012cb78dc0076b9e68001400b02b..."} 
[2026-08-02 09:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a6f110012cb78dc0076b9e68001400b02b..."} 
[2026-08-02 09:37:47] local.INFO: Processing buffer {"connection_id":149056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a6f110012cb78dc0076b9e68001400b02b..."} 
[2026-08-02 09:37:47] local.INFO: Packet analysis {"connection_id":149056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a6"} 
[2026-08-02 09:37:47] local.INFO: Extracted packet for processing {"connection_id":149056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a6"} 
[2026-08-02 09:37:47] local.INFO: GPS Element Parsed {"raw_longitude":750226880,"raw_latitude":124493416,"longitude_deg":75.022688,"latitude_deg":12.4493416,"altitude":20,"angle":176,"satellites":43,"speed":0,"hex_longitude":"2cb78dc0","hex_latitude":"076b9e68","is_valid_coordinates":true} 
[2026-08-02 09:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124754176001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367198963410927616,"note":"Value kept but may cause issues"} 
[2026-08-02 09:37:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5221360786111356928,"note":"Value kept but may cause issues"} 
[2026-08-02 09:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785643594000,"timestamp_ms":1785643594000,"timestamp_seconds":1785643594,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a6f110"} 
[2026-08-02 09:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-02 09:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124754176001,"66":27767,"237":206,"27":54016,"24":0,"16":367198963410927616,"44":-5221360786111356928},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,27,24,16,44]} 
[2026-08-02 09:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124754176001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:37:47] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-02 09:37:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367198963410927616,"km_value":367198963410927.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:37:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5221360786111356928,"description":"Unknown IO ID 44"} 
[2026-08-02 09:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124754176001,"power":27767,"unknown_237":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5221360786111356928}} 
[2026-08-02 09:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":149056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:37:47] local.INFO: GPS data processed {"connection_id":149056,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:37:47] local.INFO: Acknowledgment sent {"connection_id":149056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:38:19] local.INFO: TCP Data received {"connection_id":149056,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a74318012cb78dc0076b9e68001400b02c..."} 
[2026-08-02 09:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a74318012cb78dc0076b9e68001400b02c..."} 
[2026-08-02 09:38:19] local.INFO: Processing buffer {"connection_id":149056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a74318012cb78dc0076b9e68001400b02c..."} 
[2026-08-02 09:38:19] local.INFO: Packet analysis {"connection_id":149056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a7"} 
[2026-08-02 09:38:19] local.INFO: Extracted packet for processing {"connection_id":149056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a7"} 
[2026-08-02 09:38:19] local.INFO: GPS Element Parsed {"raw_longitude":750226880,"raw_latitude":124493416,"longitude_deg":75.022688,"latitude_deg":12.4493416,"altitude":20,"angle":176,"satellites":44,"speed":0,"hex_longitude":"2cb78dc0","hex_latitude":"076b9e68","is_valid_coordinates":true} 
[2026-08-02 09:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124760064001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367198963410927616,"note":"Value kept but may cause issues"} 
[2026-08-02 09:38:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5220305254949689344,"note":"Value kept but may cause issues"} 
[2026-08-02 09:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785643615000,"timestamp_ms":1785643615000,"timestamp_seconds":1785643615,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a74318"} 
[2026-08-02 09:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 09:38: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-08-02 09:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124760064001,"66":27876,"237":206,"27":54016,"24":0,"16":367198963410927616,"44":-5220305254949689344},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,27,24,16,44]} 
[2026-08-02 09:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124760064001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:38:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-02 09:38:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367198963410927616,"km_value":367198963410927.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:38:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5220305254949689344,"description":"Unknown IO ID 44"} 
[2026-08-02 09:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124760064001,"power":27876,"unknown_237":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5220305254949689344}} 
[2026-08-02 09:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":149056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:38:19] local.INFO: GPS data processed {"connection_id":149056,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:38:19] local.INFO: Acknowledgment sent {"connection_id":149056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:38:47] local.INFO: TCP Data received {"connection_id":146720,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:38:47] local.INFO: Processing buffer {"connection_id":146720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:38:47] local.INFO: IMEI packet received {"connection_id":146720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":146720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:38:51] local.INFO: TCP Data received {"connection_id":146720,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:38:51] local.INFO: Processing buffer {"connection_id":146720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:38:51] local.INFO: IMEI packet received {"connection_id":146720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":146720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:38:52] local.INFO: TCP Data received {"connection_id":146720,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a7fab0012cb78a80076b3630001b00932c..."} 
[2026-08-02 09:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a7fab0012cb78a80076b3630001b00932c..."} 
[2026-08-02 09:38:52] local.INFO: Processing buffer {"connection_id":146720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a7fab0012cb78a80076b3630001b00932c..."} 
[2026-08-02 09:38:52] local.INFO: Packet analysis {"connection_id":146720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a7"} 
[2026-08-02 09:38:52] local.INFO: Extracted packet for processing {"connection_id":146720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a7"} 
[2026-08-02 09:38:52] local.INFO: GPS Element Parsed {"raw_longitude":750226048,"raw_latitude":124466736,"longitude_deg":75.0226048,"latitude_deg":12.4466736,"altitude":27,"angle":147,"satellites":44,"speed":30,"hex_longitude":"2cb78a80","hex_latitude":"076b3630","is_valid_coordinates":true} 
[2026-08-02 09:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124776960001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367200312030658560,"note":"Value kept but may cause issues"} 
[2026-08-02 09:38:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5221853367328077824,"note":"Value kept but may cause issues"} 
[2026-08-02 09:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785643662000,"timestamp_ms":1785643662000,"timestamp_seconds":1785643662,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a7fab0"} 
[2026-08-02 09:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 09:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124776960001,"66":27615,"58":206,"27":54016,"24":30,"16":367200312030658560,"44":-5221853367328077824},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,27,24,16,44]} 
[2026-08-02 09:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124776960001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:38:52] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-02 09:38:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367200312030658560,"km_value":367200312030658.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:38:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5221853367328077824,"description":"Unknown IO ID 44"} 
[2026-08-02 09:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124776960001,"power":27615,"unknown_58":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-5221853367328077824}} 
[2026-08-02 09:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":146720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:38:52] local.INFO: GPS data processed {"connection_id":146720,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:38:52] local.INFO: Acknowledgment sent {"connection_id":146720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:38:53] local.INFO: TCP Data received {"connection_id":146720,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a825a8012cb79d40076b1760001900982d..."} 
[2026-08-02 09:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a825a8012cb79d40076b1760001900982d..."} 
[2026-08-02 09:38:53] local.INFO: Processing buffer {"connection_id":146720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a825a8012cb79d40076b1760001900982d..."} 
[2026-08-02 09:38:53] local.INFO: Packet analysis {"connection_id":146720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 09:38:53] local.INFO: Extracted packet for processing {"connection_id":146720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 09:38:53] local.INFO: GPS Element Parsed {"raw_longitude":750230848,"raw_latitude":124458848,"longitude_deg":75.0230848,"latitude_deg":12.4458848,"altitude":25,"angle":152,"satellites":45,"speed":35,"hex_longitude":"2cb79d40","hex_latitude":"076b1760","is_valid_coordinates":true} 
[2026-08-02 09:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124777472001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367200758707257344,"note":"Value kept but may cause issues"} 
[2026-08-02 09:38:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5221220048630829056,"note":"Value kept but may cause issues"} 
[2026-08-02 09:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785643673000,"timestamp_ms":1785643673000,"timestamp_seconds":1785643673,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a825a8"} 
[2026-08-02 09:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-02 09:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124777472001,"66":27865,"58":206,"27":54016,"24":35,"16":367200758707257344,"44":-5221220048630829056},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,27,24,16,44]} 
[2026-08-02 09:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124777472001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:38:53] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-02 09:38:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367200758707257344,"km_value":367200758707257.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:38:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5221220048630829056,"description":"Unknown IO ID 44"} 
[2026-08-02 09:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124777472001,"power":27865,"unknown_58":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-5221220048630829056}} 
[2026-08-02 09:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":146720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:38:53] local.INFO: GPS data processed {"connection_id":146720,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:38:53] local.INFO: Acknowledgment sent {"connection_id":146720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:39:25] local.INFO: TCP Data received {"connection_id":146720,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a84cb8012cb7ae00076af5700019009a2c..."} 
[2026-08-02 09:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a84cb8012cb7ae00076af5700019009a2c..."} 
[2026-08-02 09:39:25] local.INFO: Processing buffer {"connection_id":146720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a84cb8012cb7ae00076af5700019009a2c..."} 
[2026-08-02 09:39:25] local.INFO: Packet analysis {"connection_id":146720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 09:39:25] local.INFO: Extracted packet for processing {"connection_id":146720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 09:39:25] local.INFO: GPS Element Parsed {"raw_longitude":750235136,"raw_latitude":124450160,"longitude_deg":75.0235136,"latitude_deg":12.445016,"altitude":25,"angle":154,"satellites":44,"speed":39,"hex_longitude":"2cb7ae00","hex_latitude":"076af570","is_valid_coordinates":true} 
[2026-08-02 09:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124780288001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367201226858692608,"note":"Value kept but may cause issues"} 
[2026-08-02 09:39:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5215942392819523584,"note":"Value kept but may cause issues"} 
[2026-08-02 09:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785643683000,"timestamp_ms":1785643683000,"timestamp_seconds":1785643683,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a84cb8"} 
[2026-08-02 09:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 09:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124780288001,"66":27615,"58":206,"27":54016,"24":39,"16":367201226858692608,"44":-5215942392819523584},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,27,24,16,44]} 
[2026-08-02 09:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124780288001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:39:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-02 09:39:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367201226858692608,"km_value":367201226858692.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:39:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5215942392819523584,"description":"Unknown IO ID 44"} 
[2026-08-02 09:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124780288001,"power":27615,"unknown_58":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-5215942392819523584}} 
[2026-08-02 09:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":146720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:39:25] local.INFO: GPS data processed {"connection_id":146720,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:39:25] local.INFO: Acknowledgment sent {"connection_id":146720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:39:49] local.INFO: TCP Data received {"connection_id":146517,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:39:49] local.INFO: Processing buffer {"connection_id":146517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:39:49] local.INFO: IMEI packet received {"connection_id":146517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":146517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:39:52] local.INFO: TCP Data received {"connection_id":146517,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:39:52] local.INFO: Processing buffer {"connection_id":146517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:39:52] local.INFO: IMEI packet received {"connection_id":146517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":146517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:39:54] local.INFO: TCP Data received {"connection_id":146517,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a86fe0012cb7bd80076ad3b0001a009d2c..."} 
[2026-08-02 09:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a86fe0012cb7bd80076ad3b0001a009d2c..."} 
[2026-08-02 09:39:54] local.INFO: Processing buffer {"connection_id":146517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a86fe0012cb7bd80076ad3b0001a009d2c..."} 
[2026-08-02 09:39:54] local.INFO: Packet analysis {"connection_id":146517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 09:39:54] local.INFO: Extracted packet for processing {"connection_id":146517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 09:39:54] local.INFO: GPS Element Parsed {"raw_longitude":750239104,"raw_latitude":124441520,"longitude_deg":75.0239104,"latitude_deg":12.444152,"altitude":26,"angle":157,"satellites":44,"speed":43,"hex_longitude":"2cb7bd80","hex_latitude":"076ad3b0","is_valid_coordinates":true} 
[2026-08-02 09:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124782848001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367201686420193280,"note":"Value kept but may cause issues"} 
[2026-08-02 09:39:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5211227686961844224,"note":"Value kept but may cause issues"} 
[2026-08-02 09:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785643692000,"timestamp_ms":1785643692000,"timestamp_seconds":1785643692,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a86fe0"} 
[2026-08-02 09:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-02 09:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124782848001,"66":27843,"58":206,"27":54016,"24":43,"16":367201686420193280,"44":-5211227686961844224},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,27,24,16,44]} 
[2026-08-02 09:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124782848001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:39:54] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-02 09:39:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367201686420193280,"km_value":367201686420193.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:39:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5211227686961844224,"description":"Unknown IO ID 44"} 
[2026-08-02 09:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124782848001,"power":27843,"unknown_58":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-5211227686961844224}} 
[2026-08-02 09:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":146517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:39:54] local.INFO: GPS data processed {"connection_id":146517,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:39:54] local.INFO: Acknowledgment sent {"connection_id":146517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:39:55] local.INFO: TCP Data received {"connection_id":146517,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a88f20012cb7cb80076ab380001b009c2d..."} 
[2026-08-02 09:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a88f20012cb7cb80076ab380001b009c2d..."} 
[2026-08-02 09:39:55] local.INFO: Processing buffer {"connection_id":146517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a88f20012cb7cb80076ab380001b009c2d..."} 
[2026-08-02 09:39:55] local.INFO: Packet analysis {"connection_id":146517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 09:39:55] local.INFO: Extracted packet for processing {"connection_id":146517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 09:39:55] local.INFO: GPS Element Parsed {"raw_longitude":750242688,"raw_latitude":124433280,"longitude_deg":75.0242688,"latitude_deg":12.443328,"altitude":27,"angle":156,"satellites":45,"speed":44,"hex_longitude":"2cb7cb80","hex_latitude":"076ab380","is_valid_coordinates":true} 
[2026-08-02 09:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124785152001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367202120211890176,"note":"Value kept but may cause issues"} 
[2026-08-02 09:39:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5206864824825040896,"note":"Value kept but may cause issues"} 
[2026-08-02 09:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785643700000,"timestamp_ms":1785643700000,"timestamp_seconds":1785643700,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a88f20"} 
[2026-08-02 09:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 09:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124785152001,"66":27876,"58":206,"27":54016,"24":44,"16":367202120211890176,"44":-5206864824825040896},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,27,24,16,44]} 
[2026-08-02 09:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124785152001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:39:55] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-02 09:39:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367202120211890176,"km_value":367202120211890.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:39:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5206864824825040896,"description":"Unknown IO ID 44"} 
[2026-08-02 09:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124785152001,"power":27876,"unknown_58":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-5206864824825040896}} 
[2026-08-02 09:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":146517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:39:55] local.INFO: GPS data processed {"connection_id":146517,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:39:55] local.INFO: Acknowledgment sent {"connection_id":146517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:40:31] local.INFO: TCP Data received {"connection_id":146517,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a8b248012cb7dac0076a90c0001b009c2a..."} 
[2026-08-02 09:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a8b248012cb7dac0076a90c0001b009c2a..."} 
[2026-08-02 09:40:31] local.INFO: Processing buffer {"connection_id":146517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a8b248012cb7dac0076a90c0001b009c2a..."} 
[2026-08-02 09:40:31] local.INFO: Packet analysis {"connection_id":146517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 09:40:31] local.INFO: Extracted packet for processing {"connection_id":146517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 09:40:31] local.INFO: GPS Element Parsed {"raw_longitude":750246592,"raw_latitude":124424384,"longitude_deg":75.0246592,"latitude_deg":12.4424384,"altitude":27,"angle":156,"satellites":42,"speed":41,"hex_longitude":"2cb7dac0","hex_latitude":"076a90c0","is_valid_coordinates":true} 
[2026-08-02 09:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124787200001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367202588363325440,"note":"Value kept but may cause issues"} 
[2026-08-02 09:40:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5202924175153201152,"note":"Value kept but may cause issues"} 
[2026-08-02 09:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785643709000,"timestamp_ms":1785643709000,"timestamp_seconds":1785643709,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a8b248"} 
[2026-08-02 09:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 09:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124787200001,"66":27876,"58":206,"27":54016,"24":41,"16":367202588363325440,"44":-5202924175153201152},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,27,24,16,44]} 
[2026-08-02 09:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124787200001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:40:31] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-02 09:40:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367202588363325440,"km_value":367202588363325.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:40:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5202924175153201152,"description":"Unknown IO ID 44"} 
[2026-08-02 09:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124787200001,"power":27876,"unknown_58":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-5202924175153201152}} 
[2026-08-02 09:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":146517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:40:31] local.INFO: GPS data processed {"connection_id":146517,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:40:31] local.INFO: Acknowledgment sent {"connection_id":146517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:40:42] local.INFO: TCP Data received {"connection_id":147744,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:40:42] local.INFO: Processing buffer {"connection_id":147744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:40:42] local.INFO: IMEI packet received {"connection_id":147744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":147744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:40:43] local.INFO: TCP Data received {"connection_id":147744,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:40:43] local.INFO: Processing buffer {"connection_id":147744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:40:43] local.INFO: IMEI packet received {"connection_id":147744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":147744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:40:47] local.INFO: TCP Data received {"connection_id":147744,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:40:47] local.INFO: Processing buffer {"connection_id":147744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:40:47] local.INFO: IMEI packet received {"connection_id":147744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":147744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:40:47] local.INFO: TCP Data received {"connection_id":147744,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a8d570012cb7e5c0076a6c00001900a82b..."} 
[2026-08-02 09:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a8d570012cb7e5c0076a6c00001900a82b..."} 
[2026-08-02 09:40:47] local.INFO: Processing buffer {"connection_id":147744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a8d570012cb7e5c0076a6c00001900a82b..."} 
[2026-08-02 09:40:47] local.INFO: Packet analysis {"connection_id":147744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 09:40:47] local.INFO: Extracted packet for processing {"connection_id":147744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 09:40:47] local.INFO: GPS Element Parsed {"raw_longitude":750249408,"raw_latitude":124414976,"longitude_deg":75.0249408,"latitude_deg":12.4414976,"altitude":25,"angle":168,"satellites":43,"speed":45,"hex_longitude":"2cb7e5c0","hex_latitude":"076a6c00","is_valid_coordinates":true} 
[2026-08-02 09:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124789504001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367203065104695296,"note":"Value kept but may cause issues"} 
[2026-08-02 09:40:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5198631681760641024,"note":"Value kept but may cause issues"} 
[2026-08-02 09:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785643718000,"timestamp_ms":1785643718000,"timestamp_seconds":1785643718,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a8d570"} 
[2026-08-02 09:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 09:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":147744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":147744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":147744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124789504001,"66":27908,"57":206,"27":54016,"24":45,"16":367203065104695296,"44":-5198631681760641024},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,27,24,16,44]} 
[2026-08-02 09:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124789504001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:40:47] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-02 09:40:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367203065104695296,"km_value":367203065104695.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:40:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5198631681760641024,"description":"Unknown IO ID 44"} 
[2026-08-02 09:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124789504001,"power":27908,"unknown_57":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-5198631681760641024}} 
[2026-08-02 09:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":147744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:40:47] local.INFO: GPS data processed {"connection_id":147744,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:40:47] local.INFO: Acknowledgment sent {"connection_id":147744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:40:58] local.INFO: TCP Data received {"connection_id":147744,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a8d570012cb7e5c0076a6c00001900a82b..."} 
[2026-08-02 09:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a8d570012cb7e5c0076a6c00001900a82b..."} 
[2026-08-02 09:40:58] local.INFO: Processing buffer {"connection_id":147744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a8d570012cb7e5c0076a6c00001900a82b..."} 
[2026-08-02 09:40:58] local.INFO: Packet analysis {"connection_id":147744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 09:40:58] local.INFO: Extracted packet for processing {"connection_id":147744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 09:40:58] local.INFO: GPS Element Parsed {"raw_longitude":750249408,"raw_latitude":124414976,"longitude_deg":75.0249408,"latitude_deg":12.4414976,"altitude":25,"angle":168,"satellites":43,"speed":45,"hex_longitude":"2cb7e5c0","hex_latitude":"076a6c00","is_valid_coordinates":true} 
[2026-08-02 09:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124791808001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367203065104695296,"note":"Value kept but may cause issues"} 
[2026-08-02 09:40:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5195535457019232256,"note":"Value kept but may cause issues"} 
[2026-08-02 09:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785643718000,"timestamp_ms":1785643718000,"timestamp_seconds":1785643718,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a8d570"} 
[2026-08-02 09:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 09:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124791808001,"66":27908,"57":206,"27":54016,"24":45,"16":367203065104695296,"44":-5195535457019232256},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,27,24,16,44]} 
[2026-08-02 09:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124791808001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:40:58] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-02 09:40:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367203065104695296,"km_value":367203065104695.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:40:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5195535457019232256,"description":"Unknown IO ID 44"} 
[2026-08-02 09:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124791808001,"power":27908,"unknown_57":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-5195535457019232256}} 
[2026-08-02 09:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":147744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:40:58] local.INFO: GPS data processed {"connection_id":147744,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:40:58] local.INFO: Acknowledgment sent {"connection_id":147744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:41:42] local.INFO: TCP Data received {"connection_id":147745,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:41:42] local.INFO: Processing buffer {"connection_id":147745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:41:42] local.INFO: IMEI packet received {"connection_id":147745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":147745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:41:45] local.INFO: TCP Data received {"connection_id":147745,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:41:45] local.INFO: Processing buffer {"connection_id":147745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:41:45] local.INFO: IMEI packet received {"connection_id":147745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":147745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:41:47] local.INFO: TCP Data received {"connection_id":147745,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0aa8708012cb7a2c007689238001200b92a..."} 
[2026-08-02 09:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0aa8708012cb7a2c007689238001200b92a..."} 
[2026-08-02 09:41:47] local.INFO: Processing buffer {"connection_id":147745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0aa8708012cb7a2c007689238001200b92a..."} 
[2026-08-02 09:41:47] local.INFO: Packet analysis {"connection_id":147745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0aa"} 
[2026-08-02 09:41:47] local.INFO: Extracted packet for processing {"connection_id":147745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0aa"} 
[2026-08-02 09:41:47] local.INFO: GPS Element Parsed {"raw_longitude":750232256,"raw_latitude":124293688,"longitude_deg":75.0232256,"latitude_deg":12.4293688,"altitude":18,"angle":185,"satellites":42,"speed":39,"hex_longitude":"2cb7a2c0","hex_latitude":"07689238","is_valid_coordinates":true} 
[2026-08-02 09:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124817920001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367209043699171328,"note":"Value kept but may cause issues"} 
[2026-08-02 09:41:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5213760961789904896,"note":"Value kept but may cause issues"} 
[2026-08-02 09:41:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,27,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 09:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785643829000,"timestamp_ms":1785643829000,"timestamp_seconds":1785643829,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0aa8708"} 
[2026-08-02 09:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 09:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":147745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":147745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":147745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124817920001,"66":27919,"24":39,"27":54016,"16":367209043699171328,"44":-5213760961789904896},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,27,16,44]} 
[2026-08-02 09:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124817920001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:41:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367209043699171328,"km_value":367209043699171.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:41:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5213760961789904896,"description":"Unknown IO ID 44"} 
[2026-08-02 09:41:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457124817920001,"power":27919,"ignition":39,"unknown_27":54016,"odometer":null,"unknown_44":-5213760961789904896}} 
[2026-08-02 09:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":147745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:41:47] local.INFO: GPS data processed {"connection_id":147745,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:41:47] local.INFO: Acknowledgment sent {"connection_id":147745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:42:18] local.INFO: TCP Data received {"connection_id":147745,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0aaaa30012cb79f0007686f38001400b82a..."} 
[2026-08-02 09:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0aaaa30012cb79f0007686f38001400b82a..."} 
[2026-08-02 09:42:18] local.INFO: Processing buffer {"connection_id":147745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0aaaa30012cb79f0007686f38001400b82a..."} 
[2026-08-02 09:42:18] local.INFO: Packet analysis {"connection_id":147745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0aa"} 
[2026-08-02 09:42:18] local.INFO: Extracted packet for processing {"connection_id":147745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0aa"} 
[2026-08-02 09:42:18] local.INFO: GPS Element Parsed {"raw_longitude":750231296,"raw_latitude":124284728,"longitude_deg":75.0231296,"latitude_deg":12.4284728,"altitude":20,"angle":184,"satellites":42,"speed":39,"hex_longitude":"2cb79f00","hex_latitude":"07686f38","is_valid_coordinates":true} 
[2026-08-02 09:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124820224001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367209477490868224,"note":"Value kept but may cause issues"} 
[2026-08-02 09:42:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5214394280489895936,"note":"Value kept but may cause issues"} 
[2026-08-02 09:42:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,27,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 09:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785643838000,"timestamp_ms":1785643838000,"timestamp_seconds":1785643838,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0aaaa30"} 
[2026-08-02 09:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 09:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":147745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":147745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":147745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124820224001,"66":27767,"24":39,"27":54016,"16":367209477490868224,"44":-5214394280489895936},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,27,16,44]} 
[2026-08-02 09:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124820224001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:42:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367209477490868224,"km_value":367209477490868.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:42:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5214394280489895936,"description":"Unknown IO ID 44"} 
[2026-08-02 09:42:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457124820224001,"power":27767,"ignition":39,"unknown_27":54016,"odometer":null,"unknown_44":-5214394280489895936}} 
[2026-08-02 09:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":147745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:42:18] local.INFO: GPS data processed {"connection_id":147745,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:42:18] local.INFO: Acknowledgment sent {"connection_id":147745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:42:41] local.INFO: TCP Data received {"connection_id":146721,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:42:41] local.INFO: Processing buffer {"connection_id":146721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:42:41] local.INFO: IMEI packet received {"connection_id":146721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":146721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:42:47] local.INFO: TCP Data received {"connection_id":146721,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:42:47] local.INFO: Processing buffer {"connection_id":146721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:42:47] local.INFO: IMEI packet received {"connection_id":146721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":146721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:42:48] local.INFO: TCP Data received {"connection_id":146721,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0aad140012cb79b8007684910001700b82b..."} 
[2026-08-02 09:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0aad140012cb79b8007684910001700b82b..."} 
[2026-08-02 09:42:48] local.INFO: Processing buffer {"connection_id":146721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0aad140012cb79b8007684910001700b82b..."} 
[2026-08-02 09:42:48] local.INFO: Packet analysis {"connection_id":146721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0aa"} 
[2026-08-02 09:42:48] local.INFO: Extracted packet for processing {"connection_id":146721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0aa"} 
[2026-08-02 09:42:48] local.INFO: GPS Element Parsed {"raw_longitude":750230400,"raw_latitude":124274960,"longitude_deg":75.02304,"latitude_deg":12.427496,"altitude":23,"angle":184,"satellites":43,"speed":38,"hex_longitude":"2cb79b80","hex_latitude":"07684910","is_valid_coordinates":true} 
[2026-08-02 09:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124822528001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367209954232238080,"note":"Value kept but may cause issues"} 
[2026-08-02 09:42:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5215449811654854656,"note":"Value kept but may cause issues"} 
[2026-08-02 09:42:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,27,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 09:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785643848000,"timestamp_ms":1785643848000,"timestamp_seconds":1785643848,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0aad140"} 
[2026-08-02 09:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":119,"data_length":795,"current_offset":136} 
[2026-08-02 09:42: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-08-02 09:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124822528001,"66":28006,"24":38,"27":54016,"16":367209954232238080,"44":-5215449811654854656},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,27,16,44]} 
[2026-08-02 09:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124822528001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:42:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367209954232238080,"km_value":367209954232238.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:42:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5215449811654854656,"description":"Unknown IO ID 44"} 
[2026-08-02 09:42:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457124822528001,"power":28006,"ignition":38,"unknown_27":54016,"odometer":null,"unknown_44":-5215449811654854656}} 
[2026-08-02 09:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":146721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:42:48] local.INFO: GPS data processed {"connection_id":146721,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:42:48] local.INFO: Acknowledgment sent {"connection_id":146721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:43:19] local.INFO: TCP Data received {"connection_id":146721,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0aafc38012cb7980007681fd0001a00b82b..."} 
[2026-08-02 09:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0aafc38012cb7980007681fd0001a00b82b..."} 
[2026-08-02 09:43:19] local.INFO: Processing buffer {"connection_id":146721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0aafc38012cb7980007681fd0001a00b82b..."} 
[2026-08-02 09:43:19] local.INFO: Packet analysis {"connection_id":146721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0aa"} 
[2026-08-02 09:43:19] local.INFO: Extracted packet for processing {"connection_id":146721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0aa"} 
[2026-08-02 09:43:19] local.INFO: GPS Element Parsed {"raw_longitude":750229504,"raw_latitude":124264400,"longitude_deg":75.0229504,"latitude_deg":12.42644,"altitude":26,"angle":184,"satellites":43,"speed":38,"hex_longitude":"2cb79800","hex_latitude":"07681fd0","is_valid_coordinates":true} 
[2026-08-02 09:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124825088001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367210469628313600,"note":"Value kept but may cause issues"} 
[2026-08-02 09:43:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5216434974075842560,"note":"Value kept but may cause issues"} 
[2026-08-02 09:43:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,27,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 09:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785643859000,"timestamp_ms":1785643859000,"timestamp_seconds":1785643859,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0aafc38"} 
[2026-08-02 09:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-02 09:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124825088001,"66":27832,"24":38,"27":54016,"16":367210469628313600,"44":-5216434974075842560},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,27,16,44]} 
[2026-08-02 09:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124825088001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:43:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367210469628313600,"km_value":367210469628313.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:43:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5216434974075842560,"description":"Unknown IO ID 44"} 
[2026-08-02 09:43:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457124825088001,"power":27832,"ignition":38,"unknown_27":54016,"odometer":null,"unknown_44":-5216434974075842560}} 
[2026-08-02 09:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":146721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:43:19] local.INFO: GPS data processed {"connection_id":146721,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:43:19] local.INFO: Acknowledgment sent {"connection_id":146721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:43:41] local.INFO: TCP Data received {"connection_id":147746,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:43:41] local.INFO: Processing buffer {"connection_id":147746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:43:41] local.INFO: IMEI packet received {"connection_id":147746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":147746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:43:44] local.INFO: TCP Data received {"connection_id":147746,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:43:44] local.INFO: Processing buffer {"connection_id":147746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:43:44] local.INFO: IMEI packet received {"connection_id":147746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":147746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:43:47] local.INFO: TCP Data received {"connection_id":147746,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:43:47] local.INFO: Processing buffer {"connection_id":147746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:43:47] local.INFO: IMEI packet received {"connection_id":147746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":147746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:43:49] local.INFO: TCP Data received {"connection_id":147746,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ac6780012cb77b400766b748001500ad2c..."} 
[2026-08-02 09:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ac6780012cb77b400766b748001500ad2c..."} 
[2026-08-02 09:43:49] local.INFO: Processing buffer {"connection_id":147746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ac6780012cb77b400766b748001500ad2c..."} 
[2026-08-02 09:43:49] local.INFO: Packet analysis {"connection_id":147746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ac"} 
[2026-08-02 09:43:49] local.INFO: Extracted packet for processing {"connection_id":147746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ac"} 
[2026-08-02 09:43:49] local.INFO: GPS Element Parsed {"raw_longitude":750222144,"raw_latitude":124172104,"longitude_deg":75.0222144,"latitude_deg":12.4172104,"altitude":21,"angle":173,"satellites":44,"speed":43,"hex_longitude":"2cb77b40","hex_latitude":"0766b748","is_valid_coordinates":true} 
[2026-08-02 09:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124849664001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367214983638941696,"note":"Value kept but may cause issues"} 
[2026-08-02 09:43:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5226075492052125696,"note":"Value kept but may cause issues"} 
[2026-08-02 09:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785643952000,"timestamp_ms":1785643952000,"timestamp_seconds":1785643952,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ac6780"} 
[2026-08-02 09:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-02 09:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124849664001,"66":27919,"248":206,"27":54016,"24":43,"16":367214983638941696,"44":-5226075492052125696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,27,24,16,44]} 
[2026-08-02 09:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124849664001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:43:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367214983638941696,"km_value":367214983638941.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:43:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5226075492052125696,"description":"Unknown IO ID 44"} 
[2026-08-02 09:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124849664001,"power":27919,"tamper_alert":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-5226075492052125696}} 
[2026-08-02 09:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":147746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:43:49] local.INFO: GPS data processed {"connection_id":147746,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:43:49] local.INFO: Acknowledgment sent {"connection_id":147746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:44:20] local.INFO: TCP Data received {"connection_id":147746,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ac86c0012cb77c40076699c8001600ba29..."} 
[2026-08-02 09:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ac86c0012cb77c40076699c8001600ba29..."} 
[2026-08-02 09:44:20] local.INFO: Processing buffer {"connection_id":147746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ac86c0012cb77c40076699c8001600ba29..."} 
[2026-08-02 09:44:20] local.INFO: Packet analysis {"connection_id":147746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ac"} 
[2026-08-02 09:44:20] local.INFO: Extracted packet for processing {"connection_id":147746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ac"} 
[2026-08-02 09:44:20] local.INFO: GPS Element Parsed {"raw_longitude":750222400,"raw_latitude":124164552,"longitude_deg":75.02224,"latitude_deg":12.4164552,"altitude":22,"angle":186,"satellites":41,"speed":37,"hex_longitude":"2cb77c40","hex_latitude":"076699c8","is_valid_coordinates":true} 
[2026-08-02 09:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124851712001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367215348711161856,"note":"Value kept but may cause issues"} 
[2026-08-02 09:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5225512542101092352,"note":"Value kept but may cause issues"} 
[2026-08-02 09:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785643960000,"timestamp_ms":1785643960000,"timestamp_seconds":1785643960,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ac86c0"} 
[2026-08-02 09:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 09:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124851712001,"66":27800,"248":206,"27":54016,"24":37,"16":367215348711161856,"44":-5225512542101092352},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,27,24,16,44]} 
[2026-08-02 09:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124851712001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:44:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367215348711161856,"km_value":367215348711161.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5225512542101092352,"description":"Unknown IO ID 44"} 
[2026-08-02 09:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124851712001,"power":27800,"tamper_alert":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-5225512542101092352}} 
[2026-08-02 09:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":147746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:44:20] local.INFO: GPS data processed {"connection_id":147746,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:44:20] local.INFO: Acknowledgment sent {"connection_id":147746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:44:41] local.INFO: TCP Data received {"connection_id":146722,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:44:41] local.INFO: Processing buffer {"connection_id":146722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:44:41] local.INFO: IMEI packet received {"connection_id":146722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":146722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:44:45] local.INFO: TCP Data received {"connection_id":146722,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:44:45] local.INFO: Processing buffer {"connection_id":146722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:44:45] local.INFO: IMEI packet received {"connection_id":146722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":146722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:44:46] local.INFO: TCP Data received {"connection_id":146722,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:44:46] local.INFO: Processing buffer {"connection_id":146722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:44:46] local.INFO: IMEI packet received {"connection_id":146722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":146722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:44:47] local.INFO: TCP Data received {"connection_id":146722,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0aca9e8012cb776c007667540001700be2c..."} 
[2026-08-02 09:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0aca9e8012cb776c007667540001700be2c..."} 
[2026-08-02 09:44:47] local.INFO: Processing buffer {"connection_id":146722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0aca9e8012cb776c007667540001700be2c..."} 
[2026-08-02 09:44:47] local.INFO: Packet analysis {"connection_id":146722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ac"} 
[2026-08-02 09:44:47] local.INFO: Extracted packet for processing {"connection_id":146722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ac"} 
[2026-08-02 09:44:47] local.INFO: GPS Element Parsed {"raw_longitude":750220992,"raw_latitude":124155200,"longitude_deg":75.0220992,"latitude_deg":12.41552,"altitude":23,"angle":190,"satellites":44,"speed":46,"hex_longitude":"2cb776c0","hex_latitude":"07667540","is_valid_coordinates":true} 
[2026-08-02 09:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124853760001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367215808272662528,"note":"Value kept but may cause issues"} 
[2026-08-02 09:44:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5225231067126315008,"note":"Value kept but may cause issues"} 
[2026-08-02 09:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785643969000,"timestamp_ms":1785643969000,"timestamp_seconds":1785643969,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0aca9e8"} 
[2026-08-02 09:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-02 09:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124853760001,"66":27930,"248":206,"27":54016,"24":46,"16":367215808272662528,"44":-5225231067126315008},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,27,24,16,44]} 
[2026-08-02 09:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124853760001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:44:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367215808272662528,"km_value":367215808272662.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:44:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5225231067126315008,"description":"Unknown IO ID 44"} 
[2026-08-02 09:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124853760001,"power":27930,"tamper_alert":206,"unknown_27":54016,"ignition":46,"odometer":null,"unknown_44":-5225231067126315008}} 
[2026-08-02 09:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":146722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:44:47] local.INFO: GPS data processed {"connection_id":146722,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:44:47] local.INFO: Acknowledgment sent {"connection_id":146722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:45:08] local.INFO: TCP Data received {"connection_id":149058,"ip":"45.148.10.204","data_length":1511,"data_hex":"16030105e2010005de03039b8c0e6264df92e4638c57d515574277bc2e0bc014..."} 
[2026-08-02 09:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149058,"packet_length":1511,"packet_hex":"16030105e2010005de03039b8c0e6264df92e4638c57d515574277bc2e0bc014..."} 
[2026-08-02 09:45:08] local.INFO: Processing buffer {"connection_id":149058,"buffer_length":1511,"buffer_hex":"16030105e2010005de03039b8c0e6264df92e4638c57d515574277bc2e0bc014..."} 
[2026-08-02 09:45:08] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":149058,"buffer_length":1511,"first_bytes_hex":"16030105e2010005de03039b8c0e6264"} 
[2026-08-02 09:45:19] local.INFO: TCP Data received {"connection_id":146722,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ae1530012cb7f64007651550000a00962e..."} 
[2026-08-02 09:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ae1530012cb7f64007651550000a00962e..."} 
[2026-08-02 09:45:19] local.INFO: Processing buffer {"connection_id":146722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ae1530012cb7f64007651550000a00962e..."} 
[2026-08-02 09:45:19] local.INFO: Packet analysis {"connection_id":146722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ae"} 
[2026-08-02 09:45:19] local.INFO: Extracted packet for processing {"connection_id":146722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ae"} 
[2026-08-02 09:45:19] local.INFO: GPS Element Parsed {"raw_longitude":750253632,"raw_latitude":124065104,"longitude_deg":75.0253632,"latitude_deg":12.4065104,"altitude":10,"angle":150,"satellites":46,"speed":47,"hex_longitude":"2cb7f640","hex_latitude":"07651550","is_valid_coordinates":true} 
[2026-08-02 09:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124877824001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367220579981328384,"note":"Value kept but may cause issues"} 
[2026-08-02 09:45:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5195887300827586560,"note":"Value kept but may cause issues"} 
[2026-08-02 09:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785644062000,"timestamp_ms":1785644062000,"timestamp_seconds":1785644062,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ae1530"} 
[2026-08-02 09:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 09:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124877824001,"66":27974,"232":206,"27":54016,"24":47,"16":367220579981328384,"44":-5195887300827586560},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,27,24,16,44]} 
[2026-08-02 09:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124877824001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:45:19] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-02 09:45:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367220579981328384,"km_value":367220579981328.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:45:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5195887300827586560,"description":"Unknown IO ID 44"} 
[2026-08-02 09:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124877824001,"power":27974,"unknown_232":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-5195887300827586560}} 
[2026-08-02 09:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":146722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:45:19] local.INFO: GPS data processed {"connection_id":146722,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:45:19] local.INFO: Acknowledgment sent {"connection_id":146722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:45:41] local.INFO: TCP Data received {"connection_id":146518,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:45:41] local.INFO: Processing buffer {"connection_id":146518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:45:41] local.INFO: IMEI packet received {"connection_id":146518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":146518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:45:43] local.INFO: TCP Data received {"connection_id":146518,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:45:43] local.INFO: Processing buffer {"connection_id":146518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:45:43] local.INFO: IMEI packet received {"connection_id":146518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":146518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:45:47] local.INFO: TCP Data received {"connection_id":146518,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:45:47] local.INFO: Processing buffer {"connection_id":146518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:45:47] local.INFO: IMEI packet received {"connection_id":146518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":146518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:45:48] local.INFO: TCP Data received {"connection_id":146518,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ae3470012cb807000764f560000a00982e..."} 
[2026-08-02 09:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ae3470012cb807000764f560000a00982e..."} 
[2026-08-02 09:45:48] local.INFO: Processing buffer {"connection_id":146518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ae3470012cb807000764f560000a00982e..."} 
[2026-08-02 09:45:48] local.INFO: Packet analysis {"connection_id":146518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ae"} 
[2026-08-02 09:45:48] local.INFO: Extracted packet for processing {"connection_id":146518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ae"} 
[2026-08-02 09:45:48] local.INFO: GPS Element Parsed {"raw_longitude":750257920,"raw_latitude":124056928,"longitude_deg":75.025792,"latitude_deg":12.4056928,"altitude":10,"angle":152,"satellites":46,"speed":43,"hex_longitude":"2cb80700","hex_latitude":"0764f560","is_valid_coordinates":true} 
[2026-08-02 09:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124879872001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367221026657927168,"note":"Value kept but may cause issues"} 
[2026-08-02 09:45:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5190891119993073664,"note":"Value kept but may cause issues"} 
[2026-08-02 09:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785644070000,"timestamp_ms":1785644070000,"timestamp_seconds":1785644070,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ae3470"} 
[2026-08-02 09:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-02 09:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124879872001,"66":27908,"232":206,"27":54016,"24":43,"16":367221026657927168,"44":-5190891119993073664},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,27,24,16,44]} 
[2026-08-02 09:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124879872001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:45:48] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-02 09:45:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367221026657927168,"km_value":367221026657927.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:45:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5190891119993073664,"description":"Unknown IO ID 44"} 
[2026-08-02 09:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124879872001,"power":27908,"unknown_232":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-5190891119993073664}} 
[2026-08-02 09:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":146518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:45:48] local.INFO: GPS data processed {"connection_id":146518,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:45:48] local.INFO: Acknowledgment sent {"connection_id":146518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:46:19] local.INFO: TCP Data received {"connection_id":146518,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ae5798012cb819400764d4e8000a00962e..."} 
[2026-08-02 09:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ae5798012cb819400764d4e8000a00962e..."} 
[2026-08-02 09:46:19] local.INFO: Processing buffer {"connection_id":146518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ae5798012cb819400764d4e8000a00962e..."} 
[2026-08-02 09:46:19] local.INFO: Packet analysis {"connection_id":146518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ae"} 
[2026-08-02 09:46:19] local.INFO: Extracted packet for processing {"connection_id":146518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ae"} 
[2026-08-02 09:46:19] local.INFO: GPS Element Parsed {"raw_longitude":750262592,"raw_latitude":124048616,"longitude_deg":75.0262592,"latitude_deg":12.4048616,"altitude":10,"angle":150,"satellites":46,"speed":40,"hex_longitude":"2cb81940","hex_latitude":"0764d4e8","is_valid_coordinates":true} 
[2026-08-02 09:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124881920001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367221486219427840,"note":"Value kept but may cause issues"} 
[2026-08-02 09:46:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5186176414135263232,"note":"Value kept but may cause issues"} 
[2026-08-02 09:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785644079000,"timestamp_ms":1785644079000,"timestamp_seconds":1785644079,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ae5798"} 
[2026-08-02 09:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 09:46: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-08-02 09:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124881920001,"66":28050,"232":206,"27":54016,"24":40,"16":367221486219427840,"44":-5186176414135263232},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,27,24,16,44]} 
[2026-08-02 09:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124881920001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:46:19] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-02 09:46:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367221486219427840,"km_value":367221486219427.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:46:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5186176414135263232,"description":"Unknown IO ID 44"} 
[2026-08-02 09:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124881920001,"power":28050,"unknown_232":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5186176414135263232}} 
[2026-08-02 09:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":146518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:46:19] local.INFO: GPS data processed {"connection_id":146518,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:46:19] local.INFO: Acknowledgment sent {"connection_id":146518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:46:45] local.INFO: TCP Data received {"connection_id":149059,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:46:45] local.INFO: Processing buffer {"connection_id":149059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:46:45] local.INFO: IMEI packet received {"connection_id":149059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":149059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:46:47] local.INFO: TCP Data received {"connection_id":149059,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:46:47] local.INFO: Processing buffer {"connection_id":149059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:46:47] local.INFO: IMEI packet received {"connection_id":149059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":149059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:46:51] local.INFO: TCP Data received {"connection_id":149059,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:46:51] local.INFO: Processing buffer {"connection_id":149059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:46:51] local.INFO: IMEI packet received {"connection_id":149059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":149059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:46:53] local.INFO: TCP Data received {"connection_id":149059,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ae7ac0012cb82b400764b468000a00962e..."} 
[2026-08-02 09:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ae7ac0012cb82b400764b468000a00962e..."} 
[2026-08-02 09:46:53] local.INFO: Processing buffer {"connection_id":149059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ae7ac0012cb82b400764b468000a00962e..."} 
[2026-08-02 09:46:53] local.INFO: Packet analysis {"connection_id":149059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ae"} 
[2026-08-02 09:46:53] local.INFO: Extracted packet for processing {"connection_id":149059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ae"} 
[2026-08-02 09:46:53] local.INFO: GPS Element Parsed {"raw_longitude":750267200,"raw_latitude":124040296,"longitude_deg":75.02672,"latitude_deg":12.4040296,"altitude":10,"angle":150,"satellites":46,"speed":43,"hex_longitude":"2cb82b40","hex_latitude":"0764b468","is_valid_coordinates":true} 
[2026-08-02 09:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124884224001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367221945780928512,"note":"Value kept but may cause issues"} 
[2026-08-02 09:46:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5181039495812421632,"note":"Value kept but may cause issues"} 
[2026-08-02 09:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785644088000,"timestamp_ms":1785644088000,"timestamp_seconds":1785644088,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ae7ac0"} 
[2026-08-02 09:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-02 09:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124884224001,"66":27930,"232":206,"27":54016,"24":43,"16":367221945780928512,"44":-5181039495812421632},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,27,24,16,44]} 
[2026-08-02 09:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124884224001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:46:53] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-02 09:46:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367221945780928512,"km_value":367221945780928.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:46:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5181039495812421632,"description":"Unknown IO ID 44"} 
[2026-08-02 09:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124884224001,"power":27930,"unknown_232":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-5181039495812421632}} 
[2026-08-02 09:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":149059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:46:53] local.INFO: GPS data processed {"connection_id":149059,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:46:53] local.INFO: Acknowledgment sent {"connection_id":149059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:46:54] local.INFO: TCP Data received {"connection_id":149059,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ae9a00012cb83cc0076495d8000a00952d..."} 
[2026-08-02 09:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ae9a00012cb83cc0076495d8000a00952d..."} 
[2026-08-02 09:46:54] local.INFO: Processing buffer {"connection_id":149059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ae9a00012cb83cc0076495d8000a00952d..."} 
[2026-08-02 09:46:54] local.INFO: Packet analysis {"connection_id":149059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ae"} 
[2026-08-02 09:46:54] local.INFO: Extracted packet for processing {"connection_id":149059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ae"} 
[2026-08-02 09:46:54] local.INFO: GPS Element Parsed {"raw_longitude":750271680,"raw_latitude":124032472,"longitude_deg":75.027168,"latitude_deg":12.4032472,"altitude":10,"angle":149,"satellites":45,"speed":45,"hex_longitude":"2cb83cc0","hex_latitude":"076495d8","is_valid_coordinates":true} 
[2026-08-02 09: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-08-02 09:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124886528001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367222379572625408,"note":"Value kept but may cause issues"} 
[2026-08-02 09:46:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5175972946233759744,"note":"Value kept but may cause issues"} 
[2026-08-02 09:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785644096000,"timestamp_ms":1785644096000,"timestamp_seconds":1785644096,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ae9a00"} 
[2026-08-02 09:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-02 09:46: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-08-02 09: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-08-02 09:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124886528001,"66":28028,"232":206,"27":54016,"24":45,"16":367222379572625408,"44":-5175972946233759744},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,27,24,16,44]} 
[2026-08-02 09:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124886528001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:46:54] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-02 09:46:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367222379572625408,"km_value":367222379572625.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:46:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5175972946233759744,"description":"Unknown IO ID 44"} 
[2026-08-02 09:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124886528001,"power":28028,"unknown_232":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-5175972946233759744}} 
[2026-08-02 09:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":149059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:46:54] local.INFO: GPS data processed {"connection_id":149059,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:46:54] local.INFO: Acknowledgment sent {"connection_id":149059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:47:26] local.INFO: TCP Data received {"connection_id":149059,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0aea9a0012cb84740076487f8000a00892e..."} 
[2026-08-02 09:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0aea9a0012cb84740076487f8000a00892e..."} 
[2026-08-02 09:47:26] local.INFO: Processing buffer {"connection_id":149059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0aea9a0012cb84740076487f8000a00892e..."} 
[2026-08-02 09:47:26] local.INFO: Packet analysis {"connection_id":149059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ae"} 
[2026-08-02 09:47:26] local.INFO: Extracted packet for processing {"connection_id":149059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ae"} 
[2026-08-02 09:47:26] local.INFO: GPS Element Parsed {"raw_longitude":750274368,"raw_latitude":124028920,"longitude_deg":75.0274368,"latitude_deg":12.402892,"altitude":10,"angle":137,"satellites":46,"speed":43,"hex_longitude":"2cb84740","hex_latitude":"076487f8","is_valid_coordinates":true} 
[2026-08-02 09:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124888576001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367222594320990208,"note":"Value kept but may cause issues"} 
[2026-08-02 09:47:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5171047134143326208,"note":"Value kept but may cause issues"} 
[2026-08-02 09:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785644100000,"timestamp_ms":1785644100000,"timestamp_seconds":1785644100,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0aea9a0"} 
[2026-08-02 09:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-02 09:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124888576001,"66":27930,"232":206,"27":54016,"24":43,"16":367222594320990208,"44":-5171047134143326208},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,27,24,16,44]} 
[2026-08-02 09:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124888576001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:47:26] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-02 09:47:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367222594320990208,"km_value":367222594320990.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:47:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5171047134143326208,"description":"Unknown IO ID 44"} 
[2026-08-02 09:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124888576001,"power":27930,"unknown_232":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-5171047134143326208}} 
[2026-08-02 09:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":149059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:47:26] local.INFO: GPS data processed {"connection_id":149059,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:47:26] local.INFO: Acknowledgment sent {"connection_id":149059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:47:38] local.INFO: TCP Data received {"connection_id":147747,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:47:38] local.INFO: Processing buffer {"connection_id":147747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:47:38] local.INFO: IMEI packet received {"connection_id":147747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":147747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:47:42] local.INFO: TCP Data received {"connection_id":147747,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:47:42] local.INFO: Processing buffer {"connection_id":147747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:47:42] local.INFO: IMEI packet received {"connection_id":147747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":147747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:47:47] local.INFO: TCP Data received {"connection_id":147747,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:47:47] local.INFO: Processing buffer {"connection_id":147747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:47:47] local.INFO: IMEI packet received {"connection_id":147747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":147747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:47:48] local.INFO: TCP Data received {"connection_id":147747,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b05b38012cb91e4007642298001800432d..."} 
[2026-08-02 09:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b05b38012cb91e4007642298001800432d..."} 
[2026-08-02 09:47:48] local.INFO: Processing buffer {"connection_id":147747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b05b38012cb91e4007642298001800432d..."} 
[2026-08-02 09:47:48] local.INFO: Packet analysis {"connection_id":147747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b0"} 
[2026-08-02 09:47:48] local.INFO: Extracted packet for processing {"connection_id":147747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b0"} 
[2026-08-02 09:47:48] local.INFO: GPS Element Parsed {"raw_longitude":750329408,"raw_latitude":124002968,"longitude_deg":75.0329408,"latitude_deg":12.4002968,"altitude":24,"angle":67,"satellites":45,"speed":22,"hex_longitude":"2cb91e40","hex_latitude":"07642298","is_valid_coordinates":true} 
[2026-08-02 09:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124916992001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367225635157835776,"note":"Value kept but may cause issues"} 
[2026-08-02 09:47:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5110037432948934656,"note":"Value kept but may cause issues"} 
[2026-08-02 09:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785644211000,"timestamp_ms":1785644211000,"timestamp_seconds":1785644211,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b05b38"} 
[2026-08-02 09:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 09:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124916992001,"66":27843,"230":206,"27":54016,"24":22,"16":367225635157835776,"44":-5110037432948934656},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,27,24,16,44]} 
[2026-08-02 09:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124916992001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:47:48] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-02 09:47:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367225635157835776,"km_value":367225635157835.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:47:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5110037432948934656,"description":"Unknown IO ID 44"} 
[2026-08-02 09:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124916992001,"power":27843,"unknown_230":206,"unknown_27":54016,"ignition":22,"odometer":null,"unknown_44":-5110037432948934656}} 
[2026-08-02 09:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":147747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:47:48] local.INFO: GPS data processed {"connection_id":147747,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:47:48] local.INFO: Acknowledgment sent {"connection_id":147747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:48:19] local.INFO: TCP Data received {"connection_id":147747,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b05f20012cb92040076423b8001900362d..."} 
[2026-08-02 09:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b05f20012cb92040076423b8001900362d..."} 
[2026-08-02 09:48:19] local.INFO: Processing buffer {"connection_id":147747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b05f20012cb92040076423b8001900362d..."} 
[2026-08-02 09:48:19] local.INFO: Packet analysis {"connection_id":147747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b0"} 
[2026-08-02 09:48:19] local.INFO: Extracted packet for processing {"connection_id":147747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b0"} 
[2026-08-02 09:48:19] local.INFO: GPS Element Parsed {"raw_longitude":750329920,"raw_latitude":124003256,"longitude_deg":75.032992,"latitude_deg":12.4003256,"altitude":25,"angle":54,"satellites":45,"speed":23,"hex_longitude":"2cb92040","hex_latitude":"076423b8","is_valid_coordinates":true} 
[2026-08-02 09:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124918016001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367225660927639552,"note":"Value kept but may cause issues"} 
[2026-08-02 09:48:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5107574526902626304,"note":"Value kept but may cause issues"} 
[2026-08-02 09:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785644212000,"timestamp_ms":1785644212000,"timestamp_seconds":1785644212,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b05f20"} 
[2026-08-02 09:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 09:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124918016001,"66":27234,"230":206,"27":54016,"24":23,"16":367225660927639552,"44":-5107574526902626304},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,27,24,16,44]} 
[2026-08-02 09:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124918016001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:48:19] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-02 09:48:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367225660927639552,"km_value":367225660927639.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:48:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5107574526902626304,"description":"Unknown IO ID 44"} 
[2026-08-02 09:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124918016001,"power":27234,"unknown_230":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-5107574526902626304}} 
[2026-08-02 09:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":147747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:48:19] local.INFO: GPS data processed {"connection_id":147747,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:48:19] local.INFO: Acknowledgment sent {"connection_id":147747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:48:42] local.INFO: TCP Data received {"connection_id":146723,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:48:42] local.INFO: Processing buffer {"connection_id":146723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:48:42] local.INFO: IMEI packet received {"connection_id":146723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":146723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:48:45] local.INFO: TCP Data received {"connection_id":146723,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:48:45] local.INFO: Processing buffer {"connection_id":146723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:48:45] local.INFO: IMEI packet received {"connection_id":146723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":146723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:48:46] local.INFO: TCP Data received {"connection_id":146723,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b066f0012cb92380076426c00019002a2d..."} 
[2026-08-02 09:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b066f0012cb92380076426c00019002a2d..."} 
[2026-08-02 09:48:46] local.INFO: Processing buffer {"connection_id":146723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b066f0012cb92380076426c00019002a2d..."} 
[2026-08-02 09:48:46] local.INFO: Packet analysis {"connection_id":146723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b0"} 
[2026-08-02 09:48:46] local.INFO: Extracted packet for processing {"connection_id":146723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b0"} 
[2026-08-02 09:48:46] local.INFO: GPS Element Parsed {"raw_longitude":750330752,"raw_latitude":124004032,"longitude_deg":75.0330752,"latitude_deg":12.4004032,"altitude":25,"angle":42,"satellites":45,"speed":19,"hex_longitude":"2cb92380","hex_latitude":"076426c0","is_valid_coordinates":true} 
[2026-08-02 09:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124918272001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367225712467247104,"note":"Value kept but may cause issues"} 
[2026-08-02 09:48:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5107011576949131264,"note":"Value kept but may cause issues"} 
[2026-08-02 09:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785644214000,"timestamp_ms":1785644214000,"timestamp_seconds":1785644214,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b066f0"} 
[2026-08-02 09:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-02 09:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124918272001,"66":27658,"230":206,"27":54016,"24":19,"16":367225712467247104,"44":-5107011576949131264},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,27,24,16,44]} 
[2026-08-02 09:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124918272001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:48:46] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-02 09:48:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367225712467247104,"km_value":367225712467247.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:48:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5107011576949131264,"description":"Unknown IO ID 44"} 
[2026-08-02 09:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124918272001,"power":27658,"unknown_230":206,"unknown_27":54016,"ignition":19,"odometer":null,"unknown_44":-5107011576949131264}} 
[2026-08-02 09:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":146723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:48:46] local.INFO: GPS data processed {"connection_id":146723,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:48:46] local.INFO: Acknowledgment sent {"connection_id":146723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:49:18] local.INFO: TCP Data received {"connection_id":146723,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b07e60012cb92c0007642ec8001900362d..."} 
[2026-08-02 09:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b07e60012cb92c0007642ec8001900362d..."} 
[2026-08-02 09:49:18] local.INFO: Processing buffer {"connection_id":146723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b07e60012cb92c0007642ec8001900362d..."} 
[2026-08-02 09:49:18] local.INFO: Packet analysis {"connection_id":146723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b0"} 
[2026-08-02 09:49:18] local.INFO: Extracted packet for processing {"connection_id":146723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b0"} 
[2026-08-02 09:49:18] local.INFO: GPS Element Parsed {"raw_longitude":750332928,"raw_latitude":124006088,"longitude_deg":75.0332928,"latitude_deg":12.4006088,"altitude":25,"angle":54,"satellites":45,"speed":23,"hex_longitude":"2cb92c00","hex_latitude":"07642ec8","is_valid_coordinates":true} 
[2026-08-02 09:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124918784001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367225858496135168,"note":"Value kept but may cause issues"} 
[2026-08-02 09:49:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5106096783274622976,"note":"Value kept but may cause issues"} 
[2026-08-02 09:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785644220000,"timestamp_ms":1785644220000,"timestamp_seconds":1785644220,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b07e60"} 
[2026-08-02 09:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 09:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":146723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":146723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":146723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124918784001,"66":27550,"230":206,"27":54016,"24":23,"16":367225858496135168,"44":-5106096783274622976},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,27,24,16,44]} 
[2026-08-02 09:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124918784001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:49:18] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-02 09:49:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367225858496135168,"km_value":367225858496135.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:49:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5106096783274622976,"description":"Unknown IO ID 44"} 
[2026-08-02 09:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124918784001,"power":27550,"unknown_230":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-5106096783274622976}} 
[2026-08-02 09:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":146723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:49:18] local.INFO: GPS data processed {"connection_id":146723,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:49:18] local.INFO: Acknowledgment sent {"connection_id":146723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:49:41] local.INFO: TCP Data received {"connection_id":147748,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:49:41] local.INFO: Processing buffer {"connection_id":147748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:49:41] local.INFO: IMEI packet received {"connection_id":147748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":147748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:49:45] local.INFO: TCP Data received {"connection_id":147748,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:49:45] local.INFO: Processing buffer {"connection_id":147748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:49:45] local.INFO: IMEI packet received {"connection_id":147748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":147748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:49:46] local.INFO: TCP Data received {"connection_id":147748,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:49:46] local.INFO: Processing buffer {"connection_id":147748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:49:46] local.INFO: IMEI packet received {"connection_id":147748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":147748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:49:47] local.INFO: TCP Data received {"connection_id":147748,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b22440012cba81800764c070001e003d2c..."} 
[2026-08-02 09:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b22440012cba81800764c070001e003d2c..."} 
[2026-08-02 09:49:47] local.INFO: Processing buffer {"connection_id":147748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b22440012cba81800764c070001e003d2c..."} 
[2026-08-02 09:49:47] local.INFO: Packet analysis {"connection_id":147748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b2"} 
[2026-08-02 09:49:47] local.INFO: Extracted packet for processing {"connection_id":147748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b2"} 
[2026-08-02 09:49:47] local.INFO: GPS Element Parsed {"raw_longitude":750420352,"raw_latitude":124043376,"longitude_deg":75.0420352,"latitude_deg":12.4043376,"altitude":30,"angle":61,"satellites":44,"speed":45,"hex_longitude":"2cba8180","hex_latitude":"0764c070","is_valid_coordinates":true} 
[2026-08-02 09:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124947200001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367230415456436224,"note":"Value kept but may cause issues"} 
[2026-08-02 09:49:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5011169347369220096,"note":"Value kept but may cause issues"} 
[2026-08-02 09:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785644328000,"timestamp_ms":1785644328000,"timestamp_seconds":1785644328,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b22440"} 
[2026-08-02 09:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 09:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":147748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":147748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":147748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124947200001,"66":27908,"230":206,"27":54016,"24":45,"16":367230415456436224,"44":-5011169347369220096},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,27,24,16,44]} 
[2026-08-02 09:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124947200001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:49:47] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-02 09:49:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367230415456436224,"km_value":367230415456436.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:49:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5011169347369220096,"description":"Unknown IO ID 44"} 
[2026-08-02 09:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124947200001,"power":27908,"unknown_230":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-5011169347369220096}} 
[2026-08-02 09:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":147748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:49:47] local.INFO: GPS data processed {"connection_id":147748,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:49:47] local.INFO: Acknowledgment sent {"connection_id":147748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:49:52] local.INFO: TCP Data received {"connection_id":147748,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b233e0012cba90400764ca10001e00312d..."} 
[2026-08-02 09:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b233e0012cba90400764ca10001e00312d..."} 
[2026-08-02 09:49:52] local.INFO: Processing buffer {"connection_id":147748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b233e0012cba90400764ca10001e00312d..."} 
[2026-08-02 09:49:52] local.INFO: Packet analysis {"connection_id":147748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b2"} 
[2026-08-02 09:49:52] local.INFO: Extracted packet for processing {"connection_id":147748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b2"} 
[2026-08-02 09:49:52] local.INFO: GPS Element Parsed {"raw_longitude":750424128,"raw_latitude":124045840,"longitude_deg":75.0424128,"latitude_deg":12.404584,"altitude":30,"angle":49,"satellites":45,"speed":40,"hex_longitude":"2cba9040","hex_latitude":"0764ca10","is_valid_coordinates":true} 
[2026-08-02 09:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124947968001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367230625909833728,"note":"Value kept but may cause issues"} 
[2026-08-02 09:49:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5007580541415821312,"note":"Value kept but may cause issues"} 
[2026-08-02 09:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785644332000,"timestamp_ms":1785644332000,"timestamp_seconds":1785644332,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b233e0"} 
[2026-08-02 09:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 09:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124947968001,"66":27397,"110":206,"27":54016,"24":40,"16":367230625909833728,"44":-5007580541415821312},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,27,24,16,44]} 
[2026-08-02 09:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124947968001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:49:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 09:49:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367230625909833728,"km_value":367230625909833.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:49:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5007580541415821312,"description":"Unknown IO ID 44"} 
[2026-08-02 09:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124947968001,"power":27397,"unknown_110":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5007580541415821312}} 
[2026-08-02 09:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":147748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:49:52] local.INFO: GPS data processed {"connection_id":147748,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:49:52] local.INFO: Acknowledgment sent {"connection_id":147748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:50:23] local.INFO: TCP Data received {"connection_id":147748,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b24380012cba9a000764d4c0001f00262d..."} 
[2026-08-02 09:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b24380012cba9a000764d4c0001f00262d..."} 
[2026-08-02 09:50:23] local.INFO: Processing buffer {"connection_id":147748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b24380012cba9a000764d4c0001f00262d..."} 
[2026-08-02 09:50:23] local.INFO: Packet analysis {"connection_id":147748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b2"} 
[2026-08-02 09:50:23] local.INFO: Extracted packet for processing {"connection_id":147748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b2"} 
[2026-08-02 09:50:23] local.INFO: GPS Element Parsed {"raw_longitude":750426624,"raw_latitude":124048576,"longitude_deg":75.0426624,"latitude_deg":12.4048576,"altitude":31,"angle":38,"satellites":45,"speed":36,"hex_longitude":"2cba9a00","hex_latitude":"0764d4c0","is_valid_coordinates":true} 
[2026-08-02 09:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124948992001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367230806298460160,"note":"Value kept but may cause issues"} 
[2026-08-02 09:50:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5003428785508708352,"note":"Value kept but may cause issues"} 
[2026-08-02 09:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785644336000,"timestamp_ms":1785644336000,"timestamp_seconds":1785644336,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b24380"} 
[2026-08-02 09:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 09:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124948992001,"66":27821,"110":206,"27":54016,"24":36,"16":367230806298460160,"44":-5003428785508708352},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,27,24,16,44]} 
[2026-08-02 09:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124948992001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:50:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 09:50:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367230806298460160,"km_value":367230806298460.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:50:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5003428785508708352,"description":"Unknown IO ID 44"} 
[2026-08-02 09:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124948992001,"power":27821,"unknown_110":206,"unknown_27":54016,"ignition":36,"odometer":null,"unknown_44":-5003428785508708352}} 
[2026-08-02 09:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":147748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:50:23] local.INFO: GPS data processed {"connection_id":147748,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:50:23] local.INFO: Acknowledgment sent {"connection_id":147748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:50:47] local.INFO: TCP Data received {"connection_id":146724,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:50:47] local.INFO: Processing buffer {"connection_id":146724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:50:47] local.INFO: IMEI packet received {"connection_id":146724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":146724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:50:51] local.INFO: TCP Data received {"connection_id":146724,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:50:51] local.INFO: Processing buffer {"connection_id":146724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:50:51] local.INFO: IMEI packet received {"connection_id":146724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":146724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:50:52] local.INFO: TCP Data received {"connection_id":146724,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b26a90012cbab2400764efe8002100292d..."} 
[2026-08-02 09:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b26a90012cbab2400764efe8002100292d..."} 
[2026-08-02 09:50:52] local.INFO: Processing buffer {"connection_id":146724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b26a90012cbab2400764efe8002100292d..."} 
[2026-08-02 09:50:52] local.INFO: Packet analysis {"connection_id":146724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b2"} 
[2026-08-02 09:50:52] local.INFO: Extracted packet for processing {"connection_id":146724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b2"} 
[2026-08-02 09:50:52] local.INFO: GPS Element Parsed {"raw_longitude":750432832,"raw_latitude":124055528,"longitude_deg":75.0432832,"latitude_deg":12.4055528,"altitude":33,"angle":41,"satellites":45,"speed":36,"hex_longitude":"2cbab240","hex_latitude":"0764efe8","is_valid_coordinates":true} 
[2026-08-02 09:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124950016001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367231252975058944,"note":"Value kept but may cause issues"} 
[2026-08-02 09:50:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5000684404485079040,"note":"Value kept but may cause issues"} 
[2026-08-02 09:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785644346000,"timestamp_ms":1785644346000,"timestamp_seconds":1785644346,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b26a90"} 
[2026-08-02 09:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 09:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124950016001,"66":27919,"110":206,"27":54016,"24":36,"16":367231252975058944,"44":-5000684404485079040},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,27,24,16,44]} 
[2026-08-02 09:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124950016001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:50:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 09:50:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367231252975058944,"km_value":367231252975058.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:50:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5000684404485079040,"description":"Unknown IO ID 44"} 
[2026-08-02 09:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124950016001,"power":27919,"unknown_110":206,"unknown_27":54016,"ignition":36,"odometer":null,"unknown_44":-5000684404485079040}} 
[2026-08-02 09:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":146724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:50:52] local.INFO: GPS data processed {"connection_id":146724,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:50:52] local.INFO: Acknowledgment sent {"connection_id":146724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:50:53] local.INFO: TCP Data received {"connection_id":146724,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 09:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 09:50:53] local.INFO: Processing buffer {"connection_id":146724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 09:50:53] local.INFO: Packet analysis {"connection_id":146724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b2"} 
[2026-08-02 09:50:53] local.INFO: Extracted packet for processing {"connection_id":146724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b2"} 
[2026-08-02 09:50:53] local.INFO: GPS Element Parsed {"raw_longitude":750439680,"raw_latitude":124061936,"longitude_deg":75.043968,"latitude_deg":12.4061936,"altitude":35,"angle":52,"satellites":45,"speed":37,"hex_longitude":"2cbacd00","hex_latitude":"076508f0","is_valid_coordinates":true} 
[2026-08-02 09:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124952576001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367231703946625024,"note":"Value kept but may cause issues"} 
[2026-08-02 09:50:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4993858636298065920,"note":"Value kept but may cause issues"} 
[2026-08-02 09:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785644356000,"timestamp_ms":1785644356000,"timestamp_seconds":1785644356,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b291a0"} 
[2026-08-02 09:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 09:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124952576001,"66":27919,"110":206,"27":54016,"24":37,"16":367231703946625024,"44":-4993858636298065920},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,27,24,16,44]} 
[2026-08-02 09:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124952576001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:50:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 09:50:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367231703946625024,"km_value":367231703946625.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:50:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4993858636298065920,"description":"Unknown IO ID 44"} 
[2026-08-02 09:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124952576001,"power":27919,"unknown_110":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4993858636298065920}} 
[2026-08-02 09:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":146724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:50:53] local.INFO: GPS data processed {"connection_id":146724,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:50:53] local.INFO: Acknowledgment sent {"connection_id":146724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:51:25] local.INFO: TCP Data received {"connection_id":146724,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b2bc98012cbaeac007651e78002500372d..."} 
[2026-08-02 09:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b2bc98012cbaeac007651e78002500372d..."} 
[2026-08-02 09:51:25] local.INFO: Processing buffer {"connection_id":146724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b2bc98012cbaeac007651e78002500372d..."} 
[2026-08-02 09:51:25] local.INFO: Packet analysis {"connection_id":146724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b2"} 
[2026-08-02 09:51:25] local.INFO: Extracted packet for processing {"connection_id":146724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b2"} 
[2026-08-02 09:51:25] local.INFO: GPS Element Parsed {"raw_longitude":750447296,"raw_latitude":124067448,"longitude_deg":75.0447296,"latitude_deg":12.4067448,"altitude":37,"angle":55,"satellites":45,"speed":23,"hex_longitude":"2cbaeac0","hex_latitude":"07651e78","is_valid_coordinates":true} 
[2026-08-02 09:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124955136001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367232150623223808,"note":"Value kept but may cause issues"} 
[2026-08-02 09:51:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4986329180669415424,"note":"Value kept but may cause issues"} 
[2026-08-02 09:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785644367000,"timestamp_ms":1785644367000,"timestamp_seconds":1785644367,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b2bc98"} 
[2026-08-02 09:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 09:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124955136001,"66":27930,"110":206,"27":54016,"24":23,"16":367232150623223808,"44":-4986329180669415424},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,27,24,16,44]} 
[2026-08-02 09:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124955136001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:51:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 09:51:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367232150623223808,"km_value":367232150623223.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:51:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4986329180669415424,"description":"Unknown IO ID 44"} 
[2026-08-02 09:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124955136001,"power":27930,"unknown_110":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-4986329180669415424}} 
[2026-08-02 09:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":146724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:51:25] local.INFO: GPS data processed {"connection_id":146724,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:51:25] local.INFO: Acknowledgment sent {"connection_id":146724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:51:42] local.INFO: TCP Data received {"connection_id":149060,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:51:42] local.INFO: Processing buffer {"connection_id":149060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:51:42] local.INFO: IMEI packet received {"connection_id":149060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":149060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:51:46] local.INFO: TCP Data received {"connection_id":149060,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:51:46] local.INFO: Processing buffer {"connection_id":149060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:51:46] local.INFO: IMEI packet received {"connection_id":149060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":149060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:51:47] local.INFO: TCP Data received {"connection_id":149060,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b3f900012cbbd9c00765bac8002400122d..."} 
[2026-08-02 09:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b3f900012cbbd9c00765bac8002400122d..."} 
[2026-08-02 09:51:47] local.INFO: Processing buffer {"connection_id":149060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b3f900012cbbd9c00765bac8002400122d..."} 
[2026-08-02 09:51:47] local.INFO: Packet analysis {"connection_id":149060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b3"} 
[2026-08-02 09:51:47] local.INFO: Extracted packet for processing {"connection_id":149060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b3"} 
[2026-08-02 09:51:47] local.INFO: GPS Element Parsed {"raw_longitude":750508480,"raw_latitude":124107464,"longitude_deg":75.050848,"latitude_deg":12.4107464,"altitude":36,"angle":18,"satellites":45,"speed":31,"hex_longitude":"2cbbd9c0","hex_latitude":"0765bac8","is_valid_coordinates":true} 
[2026-08-02 09:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124978176001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367235676791373824,"note":"Value kept but may cause issues"} 
[2026-08-02 09:51:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4911316099364724736,"note":"Value kept but may cause issues"} 
[2026-08-02 09:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785644448000,"timestamp_ms":1785644448000,"timestamp_seconds":1785644448,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b3f900"} 
[2026-08-02 09:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":15,"data_length":795,"current_offset":136} 
[2026-08-02 09:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124978176001,"66":27082,"131":206,"27":54016,"24":31,"16":367235676791373824,"44":-4911316099364724736},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,27,24,16,44]} 
[2026-08-02 09:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124978176001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:51:47] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 09:51:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367235676791373824,"km_value":367235676791373.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:51:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4911316099364724736,"description":"Unknown IO ID 44"} 
[2026-08-02 09:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124978176001,"power":27082,"unknown_131":206,"unknown_27":54016,"ignition":31,"odometer":null,"unknown_44":-4911316099364724736}} 
[2026-08-02 09:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":149060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:51:47] local.INFO: GPS data processed {"connection_id":149060,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:51:47] local.INFO: Acknowledgment sent {"connection_id":149060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:52:18] local.INFO: TCP Data received {"connection_id":149060,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b423f8012cbbe0c00765de28002400092b..."} 
[2026-08-02 09:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b423f8012cbbe0c00765de28002400092b..."} 
[2026-08-02 09:52:18] local.INFO: Processing buffer {"connection_id":149060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b423f8012cbbe0c00765de28002400092b..."} 
[2026-08-02 09:52:18] local.INFO: Packet analysis {"connection_id":149060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b4"} 
[2026-08-02 09:52:18] local.INFO: Extracted packet for processing {"connection_id":149060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b4"} 
[2026-08-02 09:52:18] local.INFO: GPS Element Parsed {"raw_longitude":750510272,"raw_latitude":124116520,"longitude_deg":75.0510272,"latitude_deg":12.411652,"altitude":36,"angle":9,"satellites":43,"speed":39,"hex_longitude":"2cbbe0c0","hex_latitude":"0765de28","is_valid_coordinates":true} 
[2026-08-02 09:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124978688001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367236123467972608,"note":"Value kept but may cause issues"} 
[2026-08-02 09:52:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4910682780666771456,"note":"Value kept but may cause issues"} 
[2026-08-02 09:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785644459000,"timestamp_ms":1785644459000,"timestamp_seconds":1785644459,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b423f8"} 
[2026-08-02 09:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-02 09:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":149060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":149060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":149060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124978688001,"66":27865,"131":206,"27":54016,"24":39,"16":367236123467972608,"44":-4910682780666771456},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,27,24,16,44]} 
[2026-08-02 09:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124978688001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:52:18] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 09:52:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367236123467972608,"km_value":367236123467972.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:52:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4910682780666771456,"description":"Unknown IO ID 44"} 
[2026-08-02 09:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124978688001,"power":27865,"unknown_131":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-4910682780666771456}} 
[2026-08-02 09:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":149060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:52:18] local.INFO: GPS data processed {"connection_id":149060,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:52:18] local.INFO: Acknowledgment sent {"connection_id":149060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:52:41] local.INFO: TCP Data received {"connection_id":147749,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:52:41] local.INFO: Processing buffer {"connection_id":147749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:52:41] local.INFO: IMEI packet received {"connection_id":147749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":147749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:52:46] local.INFO: TCP Data received {"connection_id":147749,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:52:46] local.INFO: Processing buffer {"connection_id":147749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:52:46] local.INFO: IMEI packet received {"connection_id":147749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":147749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:52:47] local.INFO: TCP Data received {"connection_id":147749,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b44338012cbbe740076600800023000c2b..."} 
[2026-08-02 09:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b44338012cbbe740076600800023000c2b..."} 
[2026-08-02 09:52:47] local.INFO: Processing buffer {"connection_id":147749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b44338012cbbe740076600800023000c2b..."} 
[2026-08-02 09:52:47] local.INFO: Packet analysis {"connection_id":147749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b4"} 
[2026-08-02 09:52:47] local.INFO: Extracted packet for processing {"connection_id":147749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b4"} 
[2026-08-02 09:52:47] local.INFO: GPS Element Parsed {"raw_longitude":750511936,"raw_latitude":124125312,"longitude_deg":75.0511936,"latitude_deg":12.4125312,"altitude":35,"angle":12,"satellites":43,"speed":48,"hex_longitude":"2cbbe740","hex_latitude":"07660080","is_valid_coordinates":true} 
[2026-08-02 09:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124981504001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367236557259669504,"note":"Value kept but may cause issues"} 
[2026-08-02 09:52:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4908712455827478528,"note":"Value kept but may cause issues"} 
[2026-08-02 09:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785644467000,"timestamp_ms":1785644467000,"timestamp_seconds":1785644467,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b44338"} 
[2026-08-02 09:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09: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":217,"data_length":795,"current_offset":136} 
[2026-08-02 09:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":147749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":147749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":147749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124981504001,"66":27974,"131":206,"27":54016,"24":48,"16":367236557259669504,"44":-4908712455827478528},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,27,24,16,44]} 
[2026-08-02 09:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124981504001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:52:47] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 09:52:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367236557259669504,"km_value":367236557259669.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:52:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4908712455827478528,"description":"Unknown IO ID 44"} 
[2026-08-02 09:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124981504001,"power":27974,"unknown_131":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-4908712455827478528}} 
[2026-08-02 09:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":147749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:52:47] local.INFO: GPS data processed {"connection_id":147749,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:52:47] local.INFO: Acknowledgment sent {"connection_id":147749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:53:19] local.INFO: TCP Data received {"connection_id":147749,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b46660012cbbef8007662530002100092d..."} 
[2026-08-02 09:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b46660012cbbef8007662530002100092d..."} 
[2026-08-02 09:53:19] local.INFO: Processing buffer {"connection_id":147749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b46660012cbbef8007662530002100092d..."} 
[2026-08-02 09:53:19] local.INFO: Packet analysis {"connection_id":147749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b4"} 
[2026-08-02 09:53:19] local.INFO: Extracted packet for processing {"connection_id":147749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b4"} 
[2026-08-02 09:53:19] local.INFO: GPS Element Parsed {"raw_longitude":750514048,"raw_latitude":124134704,"longitude_deg":75.0514048,"latitude_deg":12.4134704,"altitude":33,"angle":9,"satellites":45,"speed":35,"hex_longitude":"2cbbef80","hex_latitude":"07662530","is_valid_coordinates":true} 
[2026-08-02 09:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124983552001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367237025411104768,"note":"Value kept but may cause issues"} 
[2026-08-02 09:53:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4906882868476608512,"note":"Value kept but may cause issues"} 
[2026-08-02 09:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785644476000,"timestamp_ms":1785644476000,"timestamp_seconds":1785644476,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b46660"} 
[2026-08-02 09:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-02 09:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124983552001,"66":27930,"131":206,"27":54016,"24":35,"16":367237025411104768,"44":-4906882868476608512},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,27,24,16,44]} 
[2026-08-02 09:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124983552001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:53:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 09:53:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367237025411104768,"km_value":367237025411104.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:53:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4906882868476608512,"description":"Unknown IO ID 44"} 
[2026-08-02 09:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124983552001,"power":27930,"unknown_131":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4906882868476608512}} 
[2026-08-02 09:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":147749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:53:19] local.INFO: GPS data processed {"connection_id":147749,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:53:19] local.INFO: Acknowledgment sent {"connection_id":147749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:53:42] local.INFO: TCP Data received {"connection_id":149061,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:53:42] local.INFO: Processing buffer {"connection_id":149061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:53:42] local.INFO: IMEI packet received {"connection_id":149061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":149061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:53:51] local.INFO: TCP Data received {"connection_id":149061,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:53:51] local.INFO: Processing buffer {"connection_id":149061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:53:51] local.INFO: IMEI packet received {"connection_id":149061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":149061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:53:53] local.INFO: TCP Data received {"connection_id":149061,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b58b58012cbc794007667d78002700342e..."} 
[2026-08-02 09:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b58b58012cbc794007667d78002700342e..."} 
[2026-08-02 09:53:53] local.INFO: Processing buffer {"connection_id":149061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b58b58012cbc794007667d78002700342e..."} 
[2026-08-02 09:53:53] local.INFO: Packet analysis {"connection_id":149061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b5"} 
[2026-08-02 09:53:53] local.INFO: Extracted packet for processing {"connection_id":149061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b5"} 
[2026-08-02 09:53:53] local.INFO: GPS Element Parsed {"raw_longitude":750549312,"raw_latitude":124157304,"longitude_deg":75.0549312,"latitude_deg":12.4157304,"altitude":39,"angle":52,"satellites":46,"speed":34,"hex_longitude":"2cbc7940","hex_latitude":"07667d78","is_valid_coordinates":true} 
[2026-08-02 09:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125001984001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367239202959523840,"note":"Value kept but may cause issues"} 
[2026-08-02 09:53:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4873809558706544640,"note":"Value kept but may cause issues"} 
[2026-08-02 09:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785644551000,"timestamp_ms":1785644551000,"timestamp_seconds":1785644551,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b58b58"} 
[2026-08-02 09:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 09:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125001984001,"66":27995,"131":206,"27":54016,"24":34,"16":367239202959523840,"44":-4873809558706544640},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,27,24,16,44]} 
[2026-08-02 09:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125001984001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:53:53] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 09:53:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367239202959523840,"km_value":367239202959523.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:53:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4873809558706544640,"description":"Unknown IO ID 44"} 
[2026-08-02 09:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125001984001,"power":27995,"unknown_131":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-4873809558706544640}} 
[2026-08-02 09:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":149061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:53:53] local.INFO: GPS data processed {"connection_id":149061,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:53:53] local.INFO: Acknowledgment sent {"connection_id":149061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:54:24] local.INFO: TCP Data received {"connection_id":149061,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b5b650012cbc98c0076693f0002800362e..."} 
[2026-08-02 09:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b5b650012cbc98c0076693f0002800362e..."} 
[2026-08-02 09:54:24] local.INFO: Processing buffer {"connection_id":149061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b5b650012cbc98c0076693f0002800362e..."} 
[2026-08-02 09:54:24] local.INFO: Packet analysis {"connection_id":149061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b5"} 
[2026-08-02 09:54:24] local.INFO: Extracted packet for processing {"connection_id":149061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b5"} 
[2026-08-02 09:54:24] local.INFO: GPS Element Parsed {"raw_longitude":750557376,"raw_latitude":124163056,"longitude_deg":75.0557376,"latitude_deg":12.4163056,"altitude":40,"angle":54,"satellites":46,"speed":35,"hex_longitude":"2cbc98c0","hex_latitude":"076693f0","is_valid_coordinates":true} 
[2026-08-02 09:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125005056001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367239675405926400,"note":"Value kept but may cause issues"} 
[2026-08-02 09:54:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4865787521868662784,"note":"Value kept but may cause issues"} 
[2026-08-02 09:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785644562000,"timestamp_ms":1785644562000,"timestamp_seconds":1785644562,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b5b650"} 
[2026-08-02 09:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 09:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125005056001,"66":27865,"131":206,"27":54016,"24":35,"16":367239675405926400,"44":-4865787521868662784},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,27,24,16,44]} 
[2026-08-02 09:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125005056001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:54:24] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 09:54:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367239675405926400,"km_value":367239675405926.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:54:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4865787521868662784,"description":"Unknown IO ID 44"} 
[2026-08-02 09:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125005056001,"power":27865,"unknown_131":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4865787521868662784}} 
[2026-08-02 09:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":149061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:54:24] local.INFO: GPS data processed {"connection_id":149061,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:54:24] local.INFO: Acknowledgment sent {"connection_id":149061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:54:41] local.INFO: TCP Data received {"connection_id":146519,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:54:41] local.INFO: Processing buffer {"connection_id":146519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:54:41] local.INFO: IMEI packet received {"connection_id":146519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":146519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:54:46] local.INFO: TCP Data received {"connection_id":146519,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:54:46] local.INFO: Processing buffer {"connection_id":146519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:54:46] local.INFO: IMEI packet received {"connection_id":146519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":146519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:54:47] local.INFO: TCP Data received {"connection_id":146519,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:54:47] local.INFO: Processing buffer {"connection_id":146519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:54:47] local.INFO: IMEI packet received {"connection_id":146519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":146519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:54:48] local.INFO: TCP Data received {"connection_id":146519,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b5dd60012cbcb8c00766a7200029003a2e..."} 
[2026-08-02 09:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b5dd60012cbcb8c00766a7200029003a2e..."} 
[2026-08-02 09:54:48] local.INFO: Processing buffer {"connection_id":146519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b5dd60012cbcb8c00766a7200029003a2e..."} 
[2026-08-02 09:54:48] local.INFO: Packet analysis {"connection_id":146519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b5"} 
[2026-08-02 09:54:48] local.INFO: Extracted packet for processing {"connection_id":146519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b5"} 
[2026-08-02 09:54:48] local.INFO: GPS Element Parsed {"raw_longitude":750565568,"raw_latitude":124167968,"longitude_deg":75.0565568,"latitude_deg":12.4167968,"altitude":41,"angle":58,"satellites":46,"speed":37,"hex_longitude":"2cbcb8c0","hex_latitude":"0766a720","is_valid_coordinates":true} 
[2026-08-02 09:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125007872001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367240130672459776,"note":"Value kept but may cause issues"} 
[2026-08-02 09:54:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4856921060100804608,"note":"Value kept but may cause issues"} 
[2026-08-02 09:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785644572000,"timestamp_ms":1785644572000,"timestamp_seconds":1785644572,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b5dd60"} 
[2026-08-02 09:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:54: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":217,"data_length":795,"current_offset":136} 
[2026-08-02 09:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125007872001,"66":27984,"131":206,"27":54016,"24":37,"16":367240130672459776,"44":-4856921060100804608},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,27,24,16,44]} 
[2026-08-02 09:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125007872001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:54:48] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 09:54:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367240130672459776,"km_value":367240130672459.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:54:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4856921060100804608,"description":"Unknown IO ID 44"} 
[2026-08-02 09:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125007872001,"power":27984,"unknown_131":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4856921060100804608}} 
[2026-08-02 09:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":146519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:54:48] local.INFO: GPS data processed {"connection_id":146519,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:54:48] local.INFO: Acknowledgment sent {"connection_id":146519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:54:50] local.INFO: TCP Data received {"connection_id":146519,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b5f4d0012cbcca400766b450002b002c2d..."} 
[2026-08-02 09:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b5f4d0012cbcca400766b450002b002c2d..."} 
[2026-08-02 09:54:50] local.INFO: Processing buffer {"connection_id":146519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b5f4d0012cbcca400766b450002b002c2d..."} 
[2026-08-02 09:54:50] local.INFO: Packet analysis {"connection_id":146519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b5"} 
[2026-08-02 09:54:50] local.INFO: Extracted packet for processing {"connection_id":146519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b5"} 
[2026-08-02 09:54:50] local.INFO: GPS Element Parsed {"raw_longitude":750570048,"raw_latitude":124171344,"longitude_deg":75.0570048,"latitude_deg":12.4171344,"altitude":43,"angle":44,"satellites":45,"speed":36,"hex_longitude":"2cbcca40","hex_latitude":"0766b450","is_valid_coordinates":true} 
[2026-08-02 09:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125010432001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367240401255399424,"note":"Value kept but may cause issues"} 
[2026-08-02 09:54:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4847913860844806144,"note":"Value kept but may cause issues"} 
[2026-08-02 09:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785644578000,"timestamp_ms":1785644578000,"timestamp_seconds":1785644578,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b5f4d0"} 
[2026-08-02 09:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-02 09:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125010432001,"66":27919,"131":206,"27":54016,"24":36,"16":367240401255399424,"44":-4847913860844806144},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,27,24,16,44]} 
[2026-08-02 09:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125010432001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:54:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 09:54:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367240401255399424,"km_value":367240401255399.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:54:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4847913860844806144,"description":"Unknown IO ID 44"} 
[2026-08-02 09:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125010432001,"power":27919,"unknown_131":206,"unknown_27":54016,"ignition":36,"odometer":null,"unknown_44":-4847913860844806144}} 
[2026-08-02 09:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":146519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:54:50] local.INFO: GPS data processed {"connection_id":146519,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:54:50] local.INFO: Acknowledgment sent {"connection_id":146519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:55:23] local.INFO: TCP Data received {"connection_id":146519,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b623b0012cbce2c00766cdf0002e00332d..."} 
[2026-08-02 09:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b623b0012cbce2c00766cdf0002e00332d..."} 
[2026-08-02 09:55:23] local.INFO: Processing buffer {"connection_id":146519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b623b0012cbce2c00766cdf0002e00332d..."} 
[2026-08-02 09:55:23] local.INFO: Packet analysis {"connection_id":146519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b6"} 
[2026-08-02 09:55:23] local.INFO: Extracted packet for processing {"connection_id":146519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b6"} 
[2026-08-02 09:55:23] local.INFO: GPS Element Parsed {"raw_longitude":750576320,"raw_latitude":124177904,"longitude_deg":75.057632,"latitude_deg":12.4177904,"altitude":46,"angle":51,"satellites":45,"speed":29,"hex_longitude":"2cbce2c0","hex_latitude":"0766cdf0","is_valid_coordinates":true} 
[2026-08-02 09:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 09:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125011968001,"note":"Value kept but may cause issues"} 
[2026-08-02 09:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367240839342063616,"note":"Value kept but may cause issues"} 
[2026-08-02 09:55:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4842988048751505408,"note":"Value kept but may cause issues"} 
[2026-08-02 09:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 09:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785644590000,"timestamp_ms":1785644590000,"timestamp_seconds":1785644590,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b623b0"} 
[2026-08-02 09:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 09:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 09:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 09:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 09:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 09:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 09:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 09:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 09:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 09:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 09:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 09:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 09:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125011968001,"66":27995,"130":206,"27":54016,"24":29,"16":367240839342063616,"44":-4842988048751505408},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,27,24,16,44]} 
[2026-08-02 09:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 09:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 09:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125011968001,"description":"Unknown IO ID 0"} 
[2026-08-02 09:55:23] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-02 09:55:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 09:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367240839342063616,"km_value":367240839342063.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 09:55:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4842988048751505408,"description":"Unknown IO ID 44"} 
[2026-08-02 09:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125011968001,"power":27995,"unknown_130":206,"unknown_27":54016,"ignition":29,"odometer":null,"unknown_44":-4842988048751505408}} 
[2026-08-02 09:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":146519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 09:55:23] local.INFO: GPS data processed {"connection_id":146519,"processed":1,"errors":0,"total":1} 
[2026-08-02 09:55:23] local.INFO: Acknowledgment sent {"connection_id":146519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 09:55:43] local.INFO: TCP Data received {"connection_id":146725,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:55:43] local.INFO: Processing buffer {"connection_id":146725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:55:43] local.INFO: IMEI packet received {"connection_id":146725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 09:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":146725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 09:55:44] local.INFO: TCP Data received {"connection_id":146725,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:55:44] local.INFO: Processing buffer {"connection_id":146725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 09:55:44] local.INFO: IMEI packet received {"connection_id":146725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":146725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 09:56:49] local.INFO: TCP Data received {"connection_id":146725,"ip":"117.224.93.208","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 09:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146725,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 09:56:49] local.INFO: Processing buffer {"connection_id":146725,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 09:56:49] local.INFO: IMEI packet received {"connection_id":146725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 09:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":146725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:00:52] local.INFO: TCP Data received {"connection_id":146520,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:00:52] local.INFO: Processing buffer {"connection_id":146520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:00:52] local.INFO: IMEI packet received {"connection_id":146520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":146520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:00:55] local.INFO: TCP Data received {"connection_id":146520,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bbfbc8012cc0fcc00766f778004f00762d..."} 
[2026-08-02 10:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bbfbc8012cc0fcc00766f778004f00762d..."} 
[2026-08-02 10:00:55] local.INFO: Processing buffer {"connection_id":146520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bbfbc8012cc0fcc00766f778004f00762d..."} 
[2026-08-02 10:00:55] local.INFO: Packet analysis {"connection_id":146520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0bb"} 
[2026-08-02 10:00:55] local.INFO: Extracted packet for processing {"connection_id":146520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0bb"} 
[2026-08-02 10:00:55] local.INFO: GPS Element Parsed {"raw_longitude":750845120,"raw_latitude":124188536,"longitude_deg":75.084512,"latitude_deg":12.4188536,"altitude":79,"angle":118,"satellites":45,"speed":51,"hex_longitude":"2cc0fcc0","hex_latitude":"0766f778","is_valid_coordinates":true} 
[2026-08-02 10:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125111296001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367258508837519360,"note":"Value kept but may cause issues"} 
[2026-08-02 10:00:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4549480016780908544,"note":"Value kept but may cause issues"} 
[2026-08-02 10:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785644973000,"timestamp_ms":1785644973000,"timestamp_seconds":1785644973,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bbfbc8"} 
[2026-08-02 10:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 10:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125111296001,"66":27930,"39":206,"27":54016,"24":51,"16":367258508837519360,"44":-4549480016780908544},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 10:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125111296001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:00:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 10:00:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367258508837519360,"km_value":367258508837519.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:00:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4549480016780908544,"description":"Unknown IO ID 44"} 
[2026-08-02 10:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125111296001,"power":27930,"unknown_39":206,"unknown_27":54016,"ignition":51,"odometer":null,"unknown_44":-4549480016780908544}} 
[2026-08-02 10:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":146520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:00:55] local.INFO: GPS data processed {"connection_id":146520,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:00:55] local.INFO: Acknowledgment sent {"connection_id":146520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:01:26] local.INFO: TCP Data received {"connection_id":146520,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bc1b08012cc120800766e508005200752c..."} 
[2026-08-02 10:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bc1b08012cc120800766e508005200752c..."} 
[2026-08-02 10:01:26] local.INFO: Processing buffer {"connection_id":146520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bc1b08012cc120800766e508005200752c..."} 
[2026-08-02 10:01:26] local.INFO: Packet analysis {"connection_id":146520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0bc"} 
[2026-08-02 10:01:26] local.INFO: Extracted packet for processing {"connection_id":146520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0bc"} 
[2026-08-02 10:01:26] local.INFO: GPS Element Parsed {"raw_longitude":750854272,"raw_latitude":124183816,"longitude_deg":75.0854272,"latitude_deg":12.4183816,"altitude":82,"angle":117,"satellites":44,"speed":50,"hex_longitude":"2cc12080","hex_latitude":"0766e508","is_valid_coordinates":true} 
[2026-08-02 10:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125113088001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367259002758758400,"note":"Value kept but may cause issues"} 
[2026-08-02 10:01:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4540543186271504384,"note":"Value kept but may cause issues"} 
[2026-08-02 10:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785644981000,"timestamp_ms":1785644981000,"timestamp_seconds":1785644981,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bc1b08"} 
[2026-08-02 10:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-02 10:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125113088001,"66":27908,"39":206,"27":54016,"24":50,"16":367259002758758400,"44":-4540543186271504384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 10:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125113088001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:01:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 10:01:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367259002758758400,"km_value":367259002758758.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:01:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4540543186271504384,"description":"Unknown IO ID 44"} 
[2026-08-02 10:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125113088001,"power":27908,"unknown_39":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-4540543186271504384}} 
[2026-08-02 10:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":146520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:01:26] local.INFO: GPS data processed {"connection_id":146520,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:01:26] local.INFO: Acknowledgment sent {"connection_id":146520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:01:41] local.INFO: TCP Data received {"connection_id":147752,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:01:41] local.INFO: Processing buffer {"connection_id":147752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:01:41] local.INFO: IMEI packet received {"connection_id":147752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":147752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:01:47] local.INFO: TCP Data received {"connection_id":147752,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:01:47] local.INFO: Processing buffer {"connection_id":147752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:01:47] local.INFO: IMEI packet received {"connection_id":147752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":147752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:01:49] local.INFO: TCP Data received {"connection_id":147752,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bc3a48012cc144400766d2d0005300752c..."} 
[2026-08-02 10:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bc3a48012cc144400766d2d0005300752c..."} 
[2026-08-02 10:01:49] local.INFO: Processing buffer {"connection_id":147752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bc3a48012cc144400766d2d0005300752c..."} 
[2026-08-02 10:01:49] local.INFO: Packet analysis {"connection_id":147752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0bc"} 
[2026-08-02 10:01:49] local.INFO: Extracted packet for processing {"connection_id":147752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0bc"} 
[2026-08-02 10:01:49] local.INFO: GPS Element Parsed {"raw_longitude":750863424,"raw_latitude":124179152,"longitude_deg":75.0863424,"latitude_deg":12.4179152,"altitude":83,"angle":117,"satellites":44,"speed":50,"hex_longitude":"2cc14440","hex_latitude":"0766d2d0","is_valid_coordinates":true} 
[2026-08-02 10:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125115136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367259488090062848,"note":"Value kept but may cause issues"} 
[2026-08-02 10:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4530480455855306752,"note":"Value kept but may cause issues"} 
[2026-08-02 10:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785644989000,"timestamp_ms":1785644989000,"timestamp_seconds":1785644989,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bc3a48"} 
[2026-08-02 10:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 10:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125115136001,"66":27974,"39":206,"27":54016,"24":50,"16":367259488090062848,"44":-4530480455855306752},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 10:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125115136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:01:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 10:01:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367259488090062848,"km_value":367259488090062.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4530480455855306752,"description":"Unknown IO ID 44"} 
[2026-08-02 10:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125115136001,"power":27974,"unknown_39":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-4530480455855306752}} 
[2026-08-02 10:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":147752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:01:49] local.INFO: GPS data processed {"connection_id":147752,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:01:49] local.INFO: Acknowledgment sent {"connection_id":147752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:02:20] local.INFO: TCP Data received {"connection_id":147752,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bdd470012cc27e4007658c90005400752c..."} 
[2026-08-02 10:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bdd470012cc27e4007658c90005400752c..."} 
[2026-08-02 10:02:20] local.INFO: Processing buffer {"connection_id":147752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bdd470012cc27e4007658c90005400752c..."} 
[2026-08-02 10:02:20] local.INFO: Packet analysis {"connection_id":147752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0bd"} 
[2026-08-02 10:02:20] local.INFO: Extracted packet for processing {"connection_id":147752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0bd"} 
[2026-08-02 10:02:20] local.INFO: GPS Element Parsed {"raw_longitude":750943808,"raw_latitude":124095632,"longitude_deg":75.0943808,"latitude_deg":12.4095632,"altitude":84,"angle":117,"satellites":44,"speed":15,"hex_longitude":"2cc27e40","hex_latitude":"07658c90","is_valid_coordinates":true} 
[2026-08-02 10:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125141504001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367265226166370304,"note":"Value kept but may cause issues"} 
[2026-08-02 10:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4435623388725608448,"note":"Value kept but may cause issues"} 
[2026-08-02 10:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785645094000,"timestamp_ms":1785645094000,"timestamp_seconds":1785645094,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bdd470"} 
[2026-08-02 10:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 10:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125141504001,"66":27800,"37":206,"27":54016,"24":15,"16":367265226166370304,"44":-4435623388725608448},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 10:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125141504001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:02:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 10:02:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367265226166370304,"km_value":367265226166370.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4435623388725608448,"description":"Unknown IO ID 44"} 
[2026-08-02 10:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125141504001,"power":27800,"unknown_37":206,"unknown_27":54016,"ignition":15,"odometer":null,"unknown_44":-4435623388725608448}} 
[2026-08-02 10:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":147752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:02:20] local.INFO: GPS data processed {"connection_id":147752,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:02:20] local.INFO: Acknowledgment sent {"connection_id":147752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:02:47] local.INFO: TCP Data received {"connection_id":146727,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:02:47] local.INFO: Processing buffer {"connection_id":146727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:02:47] local.INFO: IMEI packet received {"connection_id":146727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":146727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:02:51] local.INFO: TCP Data received {"connection_id":146727,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:02:51] local.INFO: Processing buffer {"connection_id":146727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:02:51] local.INFO: IMEI packet received {"connection_id":146727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":146727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:02:53] local.INFO: TCP Data received {"connection_id":146727,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bddc40012cc2808007658bd8005400612d..."} 
[2026-08-02 10:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bddc40012cc2808007658bd8005400612d..."} 
[2026-08-02 10:02:53] local.INFO: Processing buffer {"connection_id":146727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bddc40012cc2808007658bd8005400612d..."} 
[2026-08-02 10:02:53] local.INFO: Packet analysis {"connection_id":146727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0bd"} 
[2026-08-02 10:02:53] local.INFO: Extracted packet for processing {"connection_id":146727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0bd"} 
[2026-08-02 10:02:53] local.INFO: GPS Element Parsed {"raw_longitude":750944384,"raw_latitude":124095448,"longitude_deg":75.0944384,"latitude_deg":12.4095448,"altitude":84,"angle":97,"satellites":45,"speed":9,"hex_longitude":"2cc28080","hex_latitude":"07658bd8","is_valid_coordinates":true} 
[2026-08-02 10:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125144064001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367265251936174080,"note":"Value kept but may cause issues"} 
[2026-08-02 10:02:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4432034582773329920,"note":"Value kept but may cause issues"} 
[2026-08-02 10:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785645096000,"timestamp_ms":1785645096000,"timestamp_seconds":1785645096,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bddc40"} 
[2026-08-02 10:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-02 10:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125144064001,"66":27767,"37":206,"27":54016,"24":9,"16":367265251936174080,"44":-4432034582773329920},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 10:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125144064001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:02:53] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 10:02:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367265251936174080,"km_value":367265251936174.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:02:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4432034582773329920,"description":"Unknown IO ID 44"} 
[2026-08-02 10:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125144064001,"power":27767,"unknown_37":206,"unknown_27":54016,"ignition":9,"odometer":null,"unknown_44":-4432034582773329920}} 
[2026-08-02 10:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":146727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:02:53] local.INFO: GPS data processed {"connection_id":146727,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:02:53] local.INFO: Acknowledgment sent {"connection_id":146727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:02:55] local.INFO: TCP Data received {"connection_id":146727,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bde410012cc2824007658bf8005400492d..."} 
[2026-08-02 10:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bde410012cc2824007658bf8005400492d..."} 
[2026-08-02 10:02:55] local.INFO: Processing buffer {"connection_id":146727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bde410012cc2824007658bf8005400492d..."} 
[2026-08-02 10:02:55] local.INFO: Packet analysis {"connection_id":146727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0bd"} 
[2026-08-02 10:02:55] local.INFO: Extracted packet for processing {"connection_id":146727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0bd"} 
[2026-08-02 10:02:55] local.INFO: GPS Element Parsed {"raw_longitude":750944832,"raw_latitude":124095480,"longitude_deg":75.0944832,"latitude_deg":12.409548,"altitude":84,"angle":73,"satellites":45,"speed":7,"hex_longitude":"2cc28240","hex_latitude":"07658bf8","is_valid_coordinates":true} 
[2026-08-02 10:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125144576001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367265273411010560,"note":"Value kept but may cause issues"} 
[2026-08-02 10:02:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4431401264075778048,"note":"Value kept but may cause issues"} 
[2026-08-02 10:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785645098000,"timestamp_ms":1785645098000,"timestamp_seconds":1785645098,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bde410"} 
[2026-08-02 10:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 10:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125144576001,"66":27908,"37":206,"27":54016,"24":7,"16":367265273411010560,"44":-4431401264075778048},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 10:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125144576001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:02:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 10:02:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367265273411010560,"km_value":367265273411010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:02:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4431401264075778048,"description":"Unknown IO ID 44"} 
[2026-08-02 10:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125144576001,"power":27908,"unknown_37":206,"unknown_27":54016,"ignition":7,"odometer":null,"unknown_44":-4431401264075778048}} 
[2026-08-02 10:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":146727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:02:55] local.INFO: GPS data processed {"connection_id":146727,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:02:55] local.INFO: Acknowledgment sent {"connection_id":146727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:03:26] local.INFO: TCP Data received {"connection_id":146727,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0be0f08012cc28e8007658fe0005400372c..."} 
[2026-08-02 10:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0be0f08012cc28e8007658fe0005400372c..."} 
[2026-08-02 10:03:26] local.INFO: Processing buffer {"connection_id":146727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0be0f08012cc28e8007658fe0005400372c..."} 
[2026-08-02 10:03:26] local.INFO: Packet analysis {"connection_id":146727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0be"} 
[2026-08-02 10:03:26] local.INFO: Extracted packet for processing {"connection_id":146727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0be"} 
[2026-08-02 10:03:26] local.INFO: GPS Element Parsed {"raw_longitude":750947968,"raw_latitude":124096480,"longitude_deg":75.0947968,"latitude_deg":12.409648,"altitude":84,"angle":55,"satellites":44,"speed":16,"hex_longitude":"2cc28e80","hex_latitude":"07658fe0","is_valid_coordinates":true} 
[2026-08-02 10: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-08-02 10:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125145088001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367265428029833216,"note":"Value kept but may cause issues"} 
[2026-08-02 10:03:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4430908682866526208,"note":"Value kept but may cause issues"} 
[2026-08-02 10:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785645109000,"timestamp_ms":1785645109000,"timestamp_seconds":1785645109,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0be0f08"} 
[2026-08-02 10:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 10:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10: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-08-02 10:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125145088001,"66":27876,"37":206,"27":54016,"24":16,"16":367265428029833216,"44":-4430908682866526208},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 10:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125145088001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:03:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 10:03:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367265428029833216,"km_value":367265428029833.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:03:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4430908682866526208,"description":"Unknown IO ID 44"} 
[2026-08-02 10:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125145088001,"power":27876,"unknown_37":206,"unknown_27":54016,"ignition":16,"odometer":null,"unknown_44":-4430908682866526208}} 
[2026-08-02 10:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":146727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:03:26] local.INFO: GPS data processed {"connection_id":146727,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:03:26] local.INFO: Acknowledgment sent {"connection_id":146727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:03:42] local.INFO: TCP Data received {"connection_id":147753,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:03:42] local.INFO: Processing buffer {"connection_id":147753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:03:42] local.INFO: IMEI packet received {"connection_id":147753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":147753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:03:44] local.INFO: TCP Data received {"connection_id":147753,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:03:44] local.INFO: Processing buffer {"connection_id":147753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:03:44] local.INFO: IMEI packet received {"connection_id":147753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":147753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:03:46] local.INFO: TCP Data received {"connection_id":147753,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0be12f0012cc28fc007659100005400252c..."} 
[2026-08-02 10:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0be12f0012cc28fc007659100005400252c..."} 
[2026-08-02 10:03:46] local.INFO: Processing buffer {"connection_id":147753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0be12f0012cc28fc007659100005400252c..."} 
[2026-08-02 10:03:46] local.INFO: Packet analysis {"connection_id":147753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0be"} 
[2026-08-02 10:03:46] local.INFO: Extracted packet for processing {"connection_id":147753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0be"} 
[2026-08-02 10:03:46] local.INFO: GPS Element Parsed {"raw_longitude":750948288,"raw_latitude":124096768,"longitude_deg":75.0948288,"latitude_deg":12.4096768,"altitude":84,"angle":37,"satellites":44,"speed":15,"hex_longitude":"2cc28fc0","hex_latitude":"07659100","is_valid_coordinates":true} 
[2026-08-02 10:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125147904001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367265449504669696,"note":"Value kept but may cause issues"} 
[2026-08-02 10:03:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4427460614401564672,"note":"Value kept but may cause issues"} 
[2026-08-02 10:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785645110000,"timestamp_ms":1785645110000,"timestamp_seconds":1785645110,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0be12f0"} 
[2026-08-02 10:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 10:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":147753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":147753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":147753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125147904001,"66":27397,"37":206,"27":54016,"24":15,"16":367265449504669696,"44":-4427460614401564672},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 10:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125147904001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:03:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 10:03:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367265449504669696,"km_value":367265449504669.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:03:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4427460614401564672,"description":"Unknown IO ID 44"} 
[2026-08-02 10:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125147904001,"power":27397,"unknown_37":206,"unknown_27":54016,"ignition":15,"odometer":null,"unknown_44":-4427460614401564672}} 
[2026-08-02 10:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":147753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:03:46] local.INFO: GPS data processed {"connection_id":147753,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:03:46] local.INFO: Acknowledgment sent {"connection_id":147753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:04:17] local.INFO: TCP Data received {"connection_id":147753,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bf8608012cc2b28007667f20004c002e2c..."} 
[2026-08-02 10:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bf8608012cc2b28007667f20004c002e2c..."} 
[2026-08-02 10:04:17] local.INFO: Processing buffer {"connection_id":147753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bf8608012cc2b28007667f20004c002e2c..."} 
[2026-08-02 10:04:17] local.INFO: Packet analysis {"connection_id":147753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0bf"} 
[2026-08-02 10:04:17] local.INFO: Extracted packet for processing {"connection_id":147753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0bf"} 
[2026-08-02 10:04:17] local.INFO: GPS Element Parsed {"raw_longitude":750957184,"raw_latitude":124157728,"longitude_deg":75.0957184,"latitude_deg":12.4157728,"altitude":76,"angle":46,"satellites":44,"speed":47,"hex_longitude":"2cc2b280","hex_latitude":"07667f20","is_valid_coordinates":true} 
[2026-08-02 10:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125170432001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367268619190534144,"note":"Value kept but may cause issues"} 
[2026-08-02 10:04:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4423379227225370624,"note":"Value kept but may cause issues"} 
[2026-08-02 10:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785645205000,"timestamp_ms":1785645205000,"timestamp_seconds":1785645205,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bf8608"} 
[2026-08-02 10:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 10:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":147753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":147753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":147753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125170432001,"66":27908,"36":206,"27":54016,"24":47,"16":367268619190534144,"44":-4423379227225370624},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125170432001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:04:17] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:04:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367268619190534144,"km_value":367268619190534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:04:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4423379227225370624,"description":"Unknown IO ID 44"} 
[2026-08-02 10:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125170432001,"power":27908,"unknown_36":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-4423379227225370624}} 
[2026-08-02 10:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":147753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:04:17] local.INFO: GPS data processed {"connection_id":147753,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:04:17] local.INFO: Acknowledgment sent {"connection_id":147753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:04:42] local.INFO: TCP Data received {"connection_id":149063,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:04:42] local.INFO: Processing buffer {"connection_id":149063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:04:42] local.INFO: IMEI packet received {"connection_id":149063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":149063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:04:42] local.INFO: TCP Data received {"connection_id":149063,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:04:42] local.INFO: Processing buffer {"connection_id":149063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:04:42] local.INFO: IMEI packet received {"connection_id":149063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":149063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:04:43] local.INFO: TCP Data received {"connection_id":149063,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:04:44] local.INFO: Processing buffer {"connection_id":149063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:04:44] local.INFO: IMEI packet received {"connection_id":149063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":149063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:04:46] local.INFO: TCP Data received {"connection_id":149063,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:04:46] local.INFO: Processing buffer {"connection_id":149063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:04:46] local.INFO: IMEI packet received {"connection_id":149063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":149063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:04:48] local.INFO: TCP Data received {"connection_id":149063,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bfa160012cc2ce4007669580004c00352d..."} 
[2026-08-02 10:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bfa160012cc2ce4007669580004c00352d..."} 
[2026-08-02 10:04:48] local.INFO: Processing buffer {"connection_id":149063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bfa160012cc2ce4007669580004c00352d..."} 
[2026-08-02 10:04:48] local.INFO: Packet analysis {"connection_id":149063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0bf"} 
[2026-08-02 10:04:48] local.INFO: Extracted packet for processing {"connection_id":149063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0bf"} 
[2026-08-02 10:04:48] local.INFO: GPS Element Parsed {"raw_longitude":750964288,"raw_latitude":124163456,"longitude_deg":75.0964288,"latitude_deg":12.4163456,"altitude":76,"angle":53,"satellites":45,"speed":54,"hex_longitude":"2cc2ce40","hex_latitude":"07669580","is_valid_coordinates":true} 
[2026-08-02 10:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125172480001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367269057277198336,"note":"Value kept but may cause issues"} 
[2026-08-02 10:04:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4417327515224301568,"note":"Value kept but may cause issues"} 
[2026-08-02 10:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785645212000,"timestamp_ms":1785645212000,"timestamp_seconds":1785645212,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bfa160"} 
[2026-08-02 10:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 10:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125172480001,"66":27908,"36":206,"27":54016,"24":54,"16":367269057277198336,"44":-4417327515224301568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125172480001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:04:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:04:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367269057277198336,"km_value":367269057277198.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:04:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4417327515224301568,"description":"Unknown IO ID 44"} 
[2026-08-02 10:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125172480001,"power":27908,"unknown_36":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4417327515224301568}} 
[2026-08-02 10:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":149063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:04:48] local.INFO: GPS data processed {"connection_id":149063,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:04:48] local.INFO: Acknowledgment sent {"connection_id":149063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:04:51] local.INFO: TCP Data received {"connection_id":149063,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bfb100012cc2e0c00766a0a0004d00402d..."} 
[2026-08-02 10:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bfb100012cc2e0c00766a0a0004d00402d..."} 
[2026-08-02 10:04:51] local.INFO: Processing buffer {"connection_id":149063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bfb100012cc2e0c00766a0a0004d00402d..."} 
[2026-08-02 10:04:51] local.INFO: Packet analysis {"connection_id":149063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0bf"} 
[2026-08-02 10:04:51] local.INFO: Extracted packet for processing {"connection_id":149063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0bf"} 
[2026-08-02 10:04:51] local.INFO: GPS Element Parsed {"raw_longitude":750969024,"raw_latitude":124166304,"longitude_deg":75.0969024,"latitude_deg":12.4166304,"altitude":77,"angle":64,"satellites":45,"speed":55,"hex_longitude":"2cc2e0c0","hex_latitude":"0766a0a0","is_valid_coordinates":true} 
[2026-08-02 10:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125174272001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367269319270203392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4409516584619114496,"note":"Value kept but may cause issues"} 
[2026-08-02 10:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785645216000,"timestamp_ms":1785645216000,"timestamp_seconds":1785645216,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bfb100"} 
[2026-08-02 10:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 10:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125174272001,"66":27908,"36":206,"27":54016,"24":55,"16":367269319270203392,"44":-4409516584619114496},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125174272001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:04:51] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:04:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367269319270203392,"km_value":367269319270203.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4409516584619114496,"description":"Unknown IO ID 44"} 
[2026-08-02 10:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125174272001,"power":27908,"unknown_36":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-4409516584619114496}} 
[2026-08-02 10:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":149063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:04:51] local.INFO: GPS data processed {"connection_id":149063,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:04:51] local.INFO: Acknowledgment sent {"connection_id":149063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:05:26] local.INFO: TCP Data received {"connection_id":149063,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bfcc58012cc303800766b070004f00412c..."} 
[2026-08-02 10:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bfcc58012cc303800766b070004f00412c..."} 
[2026-08-02 10:05:26] local.INFO: Processing buffer {"connection_id":149063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bfcc58012cc303800766b070004f00412c..."} 
[2026-08-02 10:05:26] local.INFO: Packet analysis {"connection_id":149063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0bf"} 
[2026-08-02 10:05:26] local.INFO: Extracted packet for processing {"connection_id":149063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0bf"} 
[2026-08-02 10:05:26] local.INFO: GPS Element Parsed {"raw_longitude":750977920,"raw_latitude":124170352,"longitude_deg":75.097792,"latitude_deg":12.4170352,"altitude":79,"angle":65,"satellites":44,"speed":54,"hex_longitude":"2cc30380","hex_latitude":"0766b070","is_valid_coordinates":true} 
[2026-08-02 10:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125175296001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367269783126671360,"note":"Value kept but may cause issues"} 
[2026-08-02 10:05:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4404309297549238272,"note":"Value kept but may cause issues"} 
[2026-08-02 10:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785645223000,"timestamp_ms":1785645223000,"timestamp_seconds":1785645223,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bfcc58"} 
[2026-08-02 10:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 10:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125175296001,"66":27930,"36":206,"27":54016,"24":54,"16":367269783126671360,"44":-4404309297549238272},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125175296001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:05:26] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:05:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367269783126671360,"km_value":367269783126671.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:05:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4404309297549238272,"description":"Unknown IO ID 44"} 
[2026-08-02 10:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125175296001,"power":27930,"unknown_36":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4404309297549238272}} 
[2026-08-02 10:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":149063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:05:26] local.INFO: GPS data processed {"connection_id":149063,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:05:26] local.INFO: Acknowledgment sent {"connection_id":149063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:05:41] local.INFO: TCP Data received {"connection_id":146521,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:05:41] local.INFO: Processing buffer {"connection_id":146521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:05:41] local.INFO: IMEI packet received {"connection_id":146521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":146521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:05:42] local.INFO: TCP Data received {"connection_id":146521,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:05:42] local.INFO: Processing buffer {"connection_id":146521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:05:42] local.INFO: IMEI packet received {"connection_id":146521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":146521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:05:49] local.INFO: TCP Data received {"connection_id":146521,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:05:49] local.INFO: Processing buffer {"connection_id":146521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:05:49] local.INFO: IMEI packet received {"connection_id":146521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":146521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:05:50] local.INFO: TCP Data received {"connection_id":146521,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c0c270012cc388c007679f100056000d2c..."} 
[2026-08-02 10:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c0c270012cc388c007679f100056000d2c..."} 
[2026-08-02 10:05:50] local.INFO: Processing buffer {"connection_id":146521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c0c270012cc388c007679f100056000d2c..."} 
[2026-08-02 10:05:50] local.INFO: Packet analysis {"connection_id":146521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c0"} 
[2026-08-02 10:05:50] local.INFO: Extracted packet for processing {"connection_id":146521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c0"} 
[2026-08-02 10:05:50] local.INFO: GPS Element Parsed {"raw_longitude":751012032,"raw_latitude":124231440,"longitude_deg":75.1012032,"latitude_deg":12.423144,"altitude":86,"angle":13,"satellites":44,"speed":49,"hex_longitude":"2cc388c0","hex_latitude":"07679f10","is_valid_coordinates":true} 
[2026-08-02 10:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125191424001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367273262050181120,"note":"Value kept but may cause issues"} 
[2026-08-02 10:05:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4359625144981989376,"note":"Value kept but may cause issues"} 
[2026-08-02 10:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785645286000,"timestamp_ms":1785645286000,"timestamp_seconds":1785645286,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c0c270"} 
[2026-08-02 10:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 10:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125191424001,"66":27887,"36":206,"27":54016,"24":49,"16":367273262050181120,"44":-4359625144981989376},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125191424001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:05:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:05:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367273262050181120,"km_value":367273262050181.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:05:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4359625144981989376,"description":"Unknown IO ID 44"} 
[2026-08-02 10:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125191424001,"power":27887,"unknown_36":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4359625144981989376}} 
[2026-08-02 10:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":146521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:05:50] local.INFO: GPS data processed {"connection_id":146521,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:05:50] local.INFO: Acknowledgment sent {"connection_id":146521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:06:22] local.INFO: TCP Data received {"connection_id":146521,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c0ce28012cc38ac00767abe8005501672b..."} 
[2026-08-02 10:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c0ce28012cc38ac00767abe8005501672b..."} 
[2026-08-02 10:06:22] local.INFO: Processing buffer {"connection_id":146521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c0ce28012cc38ac00767abe8005501672b..."} 
[2026-08-02 10:06:22] local.INFO: Packet analysis {"connection_id":146521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c0"} 
[2026-08-02 10:06:22] local.INFO: Extracted packet for processing {"connection_id":146521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c0"} 
[2026-08-02 10:06:22] local.INFO: GPS Element Parsed {"raw_longitude":751012544,"raw_latitude":124234728,"longitude_deg":75.1012544,"latitude_deg":12.4234728,"altitude":85,"angle":359,"satellites":43,"speed":41,"hex_longitude":"2cc38ac0","hex_latitude":"0767abe8","is_valid_coordinates":true} 
[2026-08-02 10:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125193216001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367273425258938368,"note":"Value kept but may cause issues"} 
[2026-08-02 10:06:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4357021501445173248,"note":"Value kept but may cause issues"} 
[2026-08-02 10:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785645289000,"timestamp_ms":1785645289000,"timestamp_seconds":1785645289,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c0ce28"} 
[2026-08-02 10:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-02 10:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125193216001,"66":27767,"36":206,"27":54016,"24":41,"16":367273425258938368,"44":-4357021501445173248},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125193216001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:06:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:06:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367273425258938368,"km_value":367273425258938.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:06:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4357021501445173248,"description":"Unknown IO ID 44"} 
[2026-08-02 10:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125193216001,"power":27767,"unknown_36":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-4357021501445173248}} 
[2026-08-02 10:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":146521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:06:22] local.INFO: GPS data processed {"connection_id":146521,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:06:22] local.INFO: Acknowledgment sent {"connection_id":146521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:06:41] local.INFO: TCP Data received {"connection_id":149064,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:06:41] local.INFO: Processing buffer {"connection_id":149064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:06:41] local.INFO: IMEI packet received {"connection_id":149064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":149064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:06:47] local.INFO: TCP Data received {"connection_id":149064,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:06:47] local.INFO: Processing buffer {"connection_id":149064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:06:47] local.INFO: IMEI packet received {"connection_id":149064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":149064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:06:49] local.INFO: TCP Data received {"connection_id":149064,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c0d5f8012cc389400767b3b0005401532a..."} 
[2026-08-02 10:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c0d5f8012cc389400767b3b0005401532a..."} 
[2026-08-02 10:06:49] local.INFO: Processing buffer {"connection_id":149064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c0d5f8012cc389400767b3b0005401532a..."} 
[2026-08-02 10:06:49] local.INFO: Packet analysis {"connection_id":149064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c0"} 
[2026-08-02 10:06:49] local.INFO: Extracted packet for processing {"connection_id":149064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c0"} 
[2026-08-02 10:06:49] local.INFO: GPS Element Parsed {"raw_longitude":751012160,"raw_latitude":124236720,"longitude_deg":75.101216,"latitude_deg":12.423672,"altitude":84,"angle":339,"satellites":42,"speed":40,"hex_longitude":"2cc38940","hex_latitude":"0767b3b0","is_valid_coordinates":true} 
[2026-08-02 10:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125193984001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367273524043186176,"note":"Value kept but may cause issues"} 
[2026-08-02 10:06:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356458551490910208,"note":"Value kept but may cause issues"} 
[2026-08-02 10:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785645291000,"timestamp_ms":1785645291000,"timestamp_seconds":1785645291,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c0d5f8"} 
[2026-08-02 10:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 10:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125193984001,"66":27376,"36":206,"27":54016,"24":40,"16":367273524043186176,"44":-4356458551490910208},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125193984001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:06:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:06:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367273524043186176,"km_value":367273524043186.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:06:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356458551490910208,"description":"Unknown IO ID 44"} 
[2026-08-02 10:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125193984001,"power":27376,"unknown_36":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-4356458551490910208}} 
[2026-08-02 10:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":149064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:06:49] local.INFO: GPS data processed {"connection_id":149064,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:06:49] local.INFO: Acknowledgment sent {"connection_id":149064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:07:20] local.INFO: TCP Data received {"connection_id":149064,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c0ddc8012cc385400767bb00005401442b..."} 
[2026-08-02 10:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c0ddc8012cc385400767bb00005401442b..."} 
[2026-08-02 10:07:20] local.INFO: Processing buffer {"connection_id":149064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c0ddc8012cc385400767bb00005401442b..."} 
[2026-08-02 10:07:20] local.INFO: Packet analysis {"connection_id":149064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c0"} 
[2026-08-02 10:07:20] local.INFO: Extracted packet for processing {"connection_id":149064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c0"} 
[2026-08-02 10:07:20] local.INFO: GPS Element Parsed {"raw_longitude":751011136,"raw_latitude":124238592,"longitude_deg":75.1011136,"latitude_deg":12.4238592,"altitude":84,"angle":324,"satellites":43,"speed":42,"hex_longitude":"2cc38540","hex_latitude":"0767bb00","is_valid_coordinates":true} 
[2026-08-02 10:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125194496001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367273627122401280,"note":"Value kept but may cause issues"} 
[2026-08-02 10:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356880763955466240,"note":"Value kept but may cause issues"} 
[2026-08-02 10:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785645293000,"timestamp_ms":1785645293000,"timestamp_seconds":1785645293,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c0ddc8"} 
[2026-08-02 10:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 10:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125194496001,"66":27604,"36":206,"27":54016,"24":42,"16":367273627122401280,"44":-4356880763955466240},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125194496001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:07:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:07:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367273627122401280,"km_value":367273627122401.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356880763955466240,"description":"Unknown IO ID 44"} 
[2026-08-02 10:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125194496001,"power":27604,"unknown_36":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-4356880763955466240}} 
[2026-08-02 10:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":149064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:07:20] local.INFO: GPS data processed {"connection_id":149064,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:07:20] local.INFO: Acknowledgment sent {"connection_id":149064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:07:46] local.INFO: TCP Data received {"connection_id":147754,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:07:46] local.INFO: Processing buffer {"connection_id":147754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:07:46] local.INFO: IMEI packet received {"connection_id":147754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":147754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:07:52] local.INFO: TCP Data received {"connection_id":147754,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:07:52] local.INFO: Processing buffer {"connection_id":147754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:07:52] local.INFO: IMEI packet received {"connection_id":147754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":147754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:07:53] local.INFO: TCP Data received {"connection_id":147754,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c0e980012cc37c800767c498005301382a..."} 
[2026-08-02 10:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c0e980012cc37c800767c498005301382a..."} 
[2026-08-02 10:07:53] local.INFO: Processing buffer {"connection_id":147754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c0e980012cc37c800767c498005301382a..."} 
[2026-08-02 10:07:53] local.INFO: Packet analysis {"connection_id":147754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c0"} 
[2026-08-02 10:07:53] local.INFO: Extracted packet for processing {"connection_id":147754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c0"} 
[2026-08-02 10:07:53] local.INFO: GPS Element Parsed {"raw_longitude":751008896,"raw_latitude":124241048,"longitude_deg":75.1008896,"latitude_deg":12.4241048,"altitude":83,"angle":312,"satellites":42,"speed":42,"hex_longitude":"2cc37c80","hex_latitude":"0767c498","is_valid_coordinates":true} 
[2026-08-02 10:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125195008001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367273786036191232,"note":"Value kept but may cause issues"} 
[2026-08-02 10:07:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4358006663861829632,"note":"Value kept but may cause issues"} 
[2026-08-02 10:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785645296000,"timestamp_ms":1785645296000,"timestamp_seconds":1785645296,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c0e980"} 
[2026-08-02 10:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-02 10:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125195008001,"66":27821,"36":206,"27":54016,"24":42,"16":367273786036191232,"44":-4358006663861829632},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125195008001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:07:53] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:07:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367273786036191232,"km_value":367273786036191.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:07:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4358006663861829632,"description":"Unknown IO ID 44"} 
[2026-08-02 10:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125195008001,"power":27821,"unknown_36":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-4358006663861829632}} 
[2026-08-02 10:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":147754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:07:53] local.INFO: GPS data processed {"connection_id":147754,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:07:53] local.INFO: Acknowledgment sent {"connection_id":147754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:07:57] local.INFO: TCP Data received {"connection_id":147754,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c108c0012cc362400767dc700053013a2b..."} 
[2026-08-02 10:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c108c0012cc362400767dc700053013a2b..."} 
[2026-08-02 10:07:57] local.INFO: Processing buffer {"connection_id":147754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c108c0012cc362400767dc700053013a2b..."} 
[2026-08-02 10:07:57] local.INFO: Packet analysis {"connection_id":147754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c1"} 
[2026-08-02 10:07:57] local.INFO: Extracted packet for processing {"connection_id":147754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c1"} 
[2026-08-02 10:07:57] local.INFO: GPS Element Parsed {"raw_longitude":751002176,"raw_latitude":124247152,"longitude_deg":75.1002176,"latitude_deg":12.4247152,"altitude":83,"angle":314,"satellites":43,"speed":45,"hex_longitude":"2cc36240","hex_latitude":"0767dc70","is_valid_coordinates":true} 
[2026-08-02 10:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125195776001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367274219827888128,"note":"Value kept but may cause issues"} 
[2026-08-02 10:07:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4360469569907419136,"note":"Value kept but may cause issues"} 
[2026-08-02 10:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785645304000,"timestamp_ms":1785645304000,"timestamp_seconds":1785645304,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c108c0"} 
[2026-08-02 10:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 10:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125195776001,"66":27767,"36":206,"27":54016,"24":45,"16":367274219827888128,"44":-4360469569907419136},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125195776001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:07:57] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:07:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367274219827888128,"km_value":367274219827888.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:07:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4360469569907419136,"description":"Unknown IO ID 44"} 
[2026-08-02 10:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125195776001,"power":27767,"unknown_36":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-4360469569907419136}} 
[2026-08-02 10:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":147754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:07:57] local.INFO: GPS data processed {"connection_id":147754,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:07:57] local.INFO: Acknowledgment sent {"connection_id":147754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:08:20] local.INFO: TCP Data received {"connection_id":149065,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:08:20] local.INFO: Processing buffer {"connection_id":149065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:08:20] local.INFO: IMEI packet received {"connection_id":149065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":149065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:08:21] local.INFO: TCP Data received {"connection_id":149065,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:08:21] local.INFO: Processing buffer {"connection_id":149065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:08:21] local.INFO: IMEI packet received {"connection_id":149065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":149065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:08:25] local.INFO: TCP Data received {"connection_id":149065,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:08:25] local.INFO: Processing buffer {"connection_id":149065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:08:25] local.INFO: IMEI packet received {"connection_id":149065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":149065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:08:26] local.INFO: TCP Data received {"connection_id":149065,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-02 10:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149065,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-02 10:08:26] local.INFO: Processing buffer {"connection_id":149065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-02 10:08:26] local.INFO: Packet analysis {"connection_id":149065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-02 10:08:26] local.INFO: Extracted packet for processing {"connection_id":149065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-02 10:08: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-08-02 10:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 10:08:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 10:08:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 10:08:26] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 10:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149065,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 10:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 10:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 10:08:26] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 10:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":149065,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 10:08:26] local.ERROR: GPS data processing failed {"connection_id":149065,"error":"No valid data to process"} 
[2026-08-02 10:08:26] local.INFO: Acknowledgment sent {"connection_id":149065,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 10:08:41] local.INFO: TCP Data received {"connection_id":146728,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:08:41] local.INFO: Processing buffer {"connection_id":146728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:08:41] local.INFO: IMEI packet received {"connection_id":146728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":146728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:08:46] local.INFO: TCP Data received {"connection_id":146728,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:08:47] local.INFO: Processing buffer {"connection_id":146728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:08:47] local.INFO: IMEI packet received {"connection_id":146728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":146728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:08:48] local.INFO: TCP Data received {"connection_id":146728,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c12030012cc350c00767f0d00055014629..."} 
[2026-08-02 10:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c12030012cc350c00767f0d00055014629..."} 
[2026-08-02 10:08:48] local.INFO: Processing buffer {"connection_id":146728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c12030012cc350c00767f0d00055014629..."} 
[2026-08-02 10:08:48] local.INFO: Packet analysis {"connection_id":146728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c1"} 
[2026-08-02 10:08:48] local.INFO: Extracted packet for processing {"connection_id":146728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c1"} 
[2026-08-02 10:08:48] local.INFO: GPS Element Parsed {"raw_longitude":750997696,"raw_latitude":124252368,"longitude_deg":75.0997696,"latitude_deg":12.4252368,"altitude":85,"angle":326,"satellites":41,"speed":45,"hex_longitude":"2cc350c0","hex_latitude":"0767f0d0","is_valid_coordinates":true} 
[2026-08-02 10:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125197824001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367274550540369920,"note":"Value kept but may cause issues"} 
[2026-08-02 10:08:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4367858288044511232,"note":"Value kept but may cause issues"} 
[2026-08-02 10:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785645310000,"timestamp_ms":1785645310000,"timestamp_seconds":1785645310,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c12030"} 
[2026-08-02 10:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 10:08: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-08-02 10:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125197824001,"66":27995,"36":206,"27":54016,"24":45,"16":367274550540369920,"44":-4367858288044511232},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125197824001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:08:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:08:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367274550540369920,"km_value":367274550540369.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:08:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4367858288044511232,"description":"Unknown IO ID 44"} 
[2026-08-02 10:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125197824001,"power":27995,"unknown_36":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-4367858288044511232}} 
[2026-08-02 10:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":146728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:08:48] local.INFO: GPS data processed {"connection_id":146728,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:08:48] local.INFO: Acknowledgment sent {"connection_id":146728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:08:57] local.INFO: TCP Data received {"connection_id":149065,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-02 10:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-02 10:08:57] local.INFO: Processing buffer {"connection_id":149065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-02 10:08:57] local.INFO: Packet analysis {"connection_id":149065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 10:08:57] local.INFO: Extracted packet for processing {"connection_id":149065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 10:08:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 10:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 10:08:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 10:08:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 10:08:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 10:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149065,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 10:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 10:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 10:08:57] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 10:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":149065,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 10:08:57] local.ERROR: GPS data processing failed {"connection_id":149065,"error":"No valid data to process"} 
[2026-08-02 10:08:57] local.INFO: Acknowledgment sent {"connection_id":149065,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 10:09:19] local.INFO: TCP Data received {"connection_id":146728,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c12be8012cc34a800767fc800056015229..."} 
[2026-08-02 10:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c12be8012cc34a800767fc800056015229..."} 
[2026-08-02 10:09:19] local.INFO: Processing buffer {"connection_id":146728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c12be8012cc34a800767fc800056015229..."} 
[2026-08-02 10:09:19] local.INFO: Packet analysis {"connection_id":146728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c1"} 
[2026-08-02 10:09:19] local.INFO: Extracted packet for processing {"connection_id":146728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c1"} 
[2026-08-02 10:09:19] local.INFO: GPS Element Parsed {"raw_longitude":750996096,"raw_latitude":124255360,"longitude_deg":75.0996096,"latitude_deg":12.425536,"altitude":86,"angle":338,"satellites":41,"speed":44,"hex_longitude":"2cc34a80","hex_latitude":"0767fc80","is_valid_coordinates":true} 
[2026-08-02 10:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125199360001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367274713749127168,"note":"Value kept but may cause issues"} 
[2026-08-02 10:09:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4372784100135612416,"note":"Value kept but may cause issues"} 
[2026-08-02 10:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785645313000,"timestamp_ms":1785645313000,"timestamp_seconds":1785645313,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c12be8"} 
[2026-08-02 10:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 10:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125199360001,"66":27865,"36":206,"27":54016,"24":44,"16":367274713749127168,"44":-4372784100135612416},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125199360001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:09:19] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:09:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367274713749127168,"km_value":367274713749127.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:09:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4372784100135612416,"description":"Unknown IO ID 44"} 
[2026-08-02 10:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125199360001,"power":27865,"unknown_36":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-4372784100135612416}} 
[2026-08-02 10:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":146728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:09:19] local.INFO: GPS data processed {"connection_id":146728,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:09:19] local.INFO: Acknowledgment sent {"connection_id":146728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:09:28] local.INFO: TCP Data received {"connection_id":149065,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c4ae580100000000000000000000000000..."} 
[2026-08-02 10:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c4ae580100000000000000000000000000..."} 
[2026-08-02 10:09:28] local.INFO: Processing buffer {"connection_id":149065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c4ae580100000000000000000000000000..."} 
[2026-08-02 10:09:28] local.INFO: Packet analysis {"connection_id":149065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c4"} 
[2026-08-02 10:09:28] local.INFO: Extracted packet for processing {"connection_id":149065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c4"} 
[2026-08-02 10:09:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 10:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 10:09:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 10:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785645543000,"timestamp_ms":1785645543000,"timestamp_seconds":1785645543,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c4ae58"} 
[2026-08-02 10:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:09: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-08-02 10: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-02 10:09: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-08-02 10:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":149065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:09: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-08-02 10:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":149065,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 10:09:28] local.INFO: GPS data processed {"connection_id":149065,"processed":0,"errors":0,"total":1} 
[2026-08-02 10:09:28] local.INFO: Acknowledgment sent {"connection_id":149065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:09:41] local.INFO: TCP Data received {"connection_id":146522,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:09:41] local.INFO: Processing buffer {"connection_id":146522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:09:41] local.INFO: IMEI packet received {"connection_id":146522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":146522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:09:47] local.INFO: TCP Data received {"connection_id":146522,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:09:47] local.INFO: Processing buffer {"connection_id":146522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:09:47] local.INFO: IMEI packet received {"connection_id":146522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":146522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:09:48] local.INFO: TCP Data received {"connection_id":146522,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c14740012cc34280076819b00059015d2b..."} 
[2026-08-02 10:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c14740012cc34280076819b00059015d2b..."} 
[2026-08-02 10:09:48] local.INFO: Processing buffer {"connection_id":146522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c14740012cc34280076819b00059015d2b..."} 
[2026-08-02 10:09:48] local.INFO: Packet analysis {"connection_id":146522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c1"} 
[2026-08-02 10:09:48] local.INFO: Extracted packet for processing {"connection_id":146522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c1"} 
[2026-08-02 10:09:48] local.INFO: GPS Element Parsed {"raw_longitude":750994048,"raw_latitude":124262832,"longitude_deg":75.0994048,"latitude_deg":12.4262832,"altitude":89,"angle":349,"satellites":43,"speed":42,"hex_longitude":"2cc34280","hex_latitude":"076819b0","is_valid_coordinates":true} 
[2026-08-02 10:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125200128001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275091706249216,"note":"Value kept but may cause issues"} 
[2026-08-02 10:09:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4374543318739288064,"note":"Value kept but may cause issues"} 
[2026-08-02 10:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785645320000,"timestamp_ms":1785645320000,"timestamp_seconds":1785645320,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c14740"} 
[2026-08-02 10:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 10:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125200128001,"66":28006,"36":206,"27":54016,"24":42,"16":367275091706249216,"44":-4374543318739288064},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125200128001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:09:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:09:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275091706249216,"km_value":367275091706249.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:09:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4374543318739288064,"description":"Unknown IO ID 44"} 
[2026-08-02 10:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125200128001,"power":28006,"unknown_36":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-4374543318739288064}} 
[2026-08-02 10:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":146522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:09:48] local.INFO: GPS data processed {"connection_id":146522,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:09:48] local.INFO: Acknowledgment sent {"connection_id":146522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:09:59] local.INFO: TCP Data received {"connection_id":149065,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c500600100000000000000000000000000..."} 
[2026-08-02 10:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c500600100000000000000000000000000..."} 
[2026-08-02 10:09:59] local.INFO: Processing buffer {"connection_id":149065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c500600100000000000000000000000000..."} 
[2026-08-02 10:09:59] local.INFO: Packet analysis {"connection_id":149065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:09:59] local.INFO: Extracted packet for processing {"connection_id":149065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:09:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 10:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 10:09:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 10:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785645564000,"timestamp_ms":1785645564000,"timestamp_seconds":1785645564,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c50060"} 
[2026-08-02 10:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-02 10:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":149065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":149065,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 10:09:59] local.INFO: GPS data processed {"connection_id":149065,"processed":0,"errors":0,"total":1} 
[2026-08-02 10:09:59] local.INFO: Acknowledgment sent {"connection_id":149065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:10:21] local.INFO: TCP Data received {"connection_id":146522,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c156e0012cc33f4007682a780059015e2b..."} 
[2026-08-02 10:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c156e0012cc33f4007682a780059015e2b..."} 
[2026-08-02 10:10:21] local.INFO: Processing buffer {"connection_id":146522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c156e0012cc33f4007682a780059015e2b..."} 
[2026-08-02 10:10:21] local.INFO: Packet analysis {"connection_id":146522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c1"} 
[2026-08-02 10:10:21] local.INFO: Extracted packet for processing {"connection_id":146522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c1"} 
[2026-08-02 10:10:21] local.INFO: GPS Element Parsed {"raw_longitude":750993216,"raw_latitude":124267128,"longitude_deg":75.0993216,"latitude_deg":12.4267128,"altitude":89,"angle":350,"satellites":43,"speed":44,"hex_longitude":"2cc33f40","hex_latitude":"07682a78","is_valid_coordinates":true} 
[2026-08-02 10:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125201920001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4376795118551060480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785645324000,"timestamp_ms":1785645324000,"timestamp_seconds":1785645324,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c156e0"} 
[2026-08-02 10:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-02 10:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125201920001,"66":27995,"36":206,"27":54016,"24":44,"16":367275302159646720,"44":-4376795118551060480},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125201920001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:10:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:10:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4376795118551060480,"description":"Unknown IO ID 44"} 
[2026-08-02 10:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125201920001,"power":27995,"unknown_36":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-4376795118551060480}} 
[2026-08-02 10:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":146522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:10:21] local.INFO: GPS data processed {"connection_id":146522,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:10:21] local.INFO: Acknowledgment sent {"connection_id":146522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:10:31] local.INFO: TCP Data received {"connection_id":149065,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c552680100000000000000000000000000..."} 
[2026-08-02 10:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c552680100000000000000000000000000..."} 
[2026-08-02 10:10:31] local.INFO: Processing buffer {"connection_id":149065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c552680100000000000000000000000000..."} 
[2026-08-02 10:10:31] local.INFO: Packet analysis {"connection_id":149065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:10:31] local.INFO: Extracted packet for processing {"connection_id":149065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:10:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 10:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 10:10:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 10:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785645585000,"timestamp_ms":1785645585000,"timestamp_seconds":1785645585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c55268"} 
[2026-08-02 10:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-02 10:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":149065,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 10:10:31] local.INFO: GPS data processed {"connection_id":149065,"processed":0,"errors":0,"total":1} 
[2026-08-02 10:10:31] local.INFO: Acknowledgment sent {"connection_id":149065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:10:41] local.INFO: TCP Data received {"connection_id":149066,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:10:41] local.INFO: Processing buffer {"connection_id":149066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:10:41] local.INFO: IMEI packet received {"connection_id":149066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":149066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:10:47] local.INFO: TCP Data received {"connection_id":149066,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:10:47] local.INFO: Processing buffer {"connection_id":149066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:10:47] local.INFO: IMEI packet received {"connection_id":149066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":149066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:10:48] local.INFO: TCP Data received {"connection_id":149066,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c156e0012cc33f4007682a780059015e2b..."} 
[2026-08-02 10:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c156e0012cc33f4007682a780059015e2b..."} 
[2026-08-02 10:10:48] local.INFO: Processing buffer {"connection_id":149066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c156e0012cc33f4007682a780059015e2b..."} 
[2026-08-02 10:10:48] local.INFO: Packet analysis {"connection_id":149066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c1"} 
[2026-08-02 10:10:48] local.INFO: Extracted packet for processing {"connection_id":149066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c1"} 
[2026-08-02 10:10:48] local.INFO: GPS Element Parsed {"raw_longitude":750993216,"raw_latitude":124267128,"longitude_deg":75.0993216,"latitude_deg":12.4267128,"altitude":89,"angle":350,"satellites":43,"speed":44,"hex_longitude":"2cc33f40","hex_latitude":"07682a78","is_valid_coordinates":true} 
[2026-08-02 10:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125201920001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:10:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4376795118551060480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785645324000,"timestamp_ms":1785645324000,"timestamp_seconds":1785645324,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c156e0"} 
[2026-08-02 10:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-02 10:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125201920001,"66":27995,"36":206,"27":54016,"24":44,"16":367275302159646720,"44":-4376795118551060480},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125201920001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:10:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:10:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:10:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4376795118551060480,"description":"Unknown IO ID 44"} 
[2026-08-02 10:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125201920001,"power":27995,"unknown_36":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-4376795118551060480}} 
[2026-08-02 10:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":149066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:10:48] local.INFO: GPS data processed {"connection_id":149066,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:10:48] local.INFO: Acknowledgment sent {"connection_id":149066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:11:02] local.INFO: TCP Data received {"connection_id":149065,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c5a4700100000000000000000000000000..."} 
[2026-08-02 10:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c5a4700100000000000000000000000000..."} 
[2026-08-02 10:11:02] local.INFO: Processing buffer {"connection_id":149065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c5a4700100000000000000000000000000..."} 
[2026-08-02 10:11:02] local.INFO: Packet analysis {"connection_id":149065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:11:02] local.INFO: Extracted packet for processing {"connection_id":149065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:11:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 10:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 10:11:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 10:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785645606000,"timestamp_ms":1785645606000,"timestamp_seconds":1785645606,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c5a470"} 
[2026-08-02 10:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 10:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":149065,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 10:11:02] local.INFO: GPS data processed {"connection_id":149065,"processed":0,"errors":0,"total":1} 
[2026-08-02 10:11:02] local.INFO: Acknowledgment sent {"connection_id":149065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:11:19] local.INFO: TCP Data received {"connection_id":149066,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:11:19] local.INFO: Processing buffer {"connection_id":149066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:11:19] local.INFO: Packet analysis {"connection_id":149066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:11:19] local.INFO: Extracted packet for processing {"connection_id":149066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:11:19] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125202944001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:11:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377709912224270336,"note":"Value kept but may cause issues"} 
[2026-08-02 10:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785645629000,"timestamp_ms":1785645629000,"timestamp_seconds":1785645629,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c5fe48"} 
[2026-08-02 10:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 10:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125202944001,"66":26560,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4377709912224270336},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125202944001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:11:19] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:11:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:11:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377709912224270336,"description":"Unknown IO ID 44"} 
[2026-08-02 10:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125202944001,"power":26560,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4377709912224270336}} 
[2026-08-02 10:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":149066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:11:19] local.INFO: GPS data processed {"connection_id":149066,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:11:19] local.INFO: Acknowledgment sent {"connection_id":149066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:11:34] local.INFO: TCP Data received {"connection_id":149065,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c5f6780100000000000000000000000000..."} 
[2026-08-02 10:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c5f6780100000000000000000000000000..."} 
[2026-08-02 10:11:34] local.INFO: Processing buffer {"connection_id":149065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c5f6780100000000000000000000000000..."} 
[2026-08-02 10:11:34] local.INFO: Packet analysis {"connection_id":149065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:11:34] local.INFO: Extracted packet for processing {"connection_id":149065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:11:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 10:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 10:11:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 10:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785645627000,"timestamp_ms":1785645627000,"timestamp_seconds":1785645627,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c5f678"} 
[2026-08-02 10:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":125,"data_length":795,"current_offset":136} 
[2026-08-02 10:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":149065,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 10:11:34] local.INFO: GPS data processed {"connection_id":149065,"processed":0,"errors":0,"total":1} 
[2026-08-02 10:11:34] local.INFO: Acknowledgment sent {"connection_id":149065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:11:47] local.INFO: TCP Data received {"connection_id":146523,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:11:47] local.INFO: Processing buffer {"connection_id":146523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:11:47] local.INFO: IMEI packet received {"connection_id":146523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":146523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:11:52] local.INFO: TCP Data received {"connection_id":146523,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:11:52] local.INFO: Processing buffer {"connection_id":146523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:11:52] local.INFO: IMEI packet received {"connection_id":146523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":146523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:11:54] local.INFO: TCP Data received {"connection_id":146523,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:11:54] local.INFO: Processing buffer {"connection_id":146523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:11:54] local.INFO: Packet analysis {"connection_id":146523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:11:54] local.INFO: Extracted packet for processing {"connection_id":146523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:11:54] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125202944001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:11:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377709912224270336,"note":"Value kept but may cause issues"} 
[2026-08-02 10:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785645629000,"timestamp_ms":1785645629000,"timestamp_seconds":1785645629,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c5fe48"} 
[2026-08-02 10:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 10:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125202944001,"66":26560,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4377709912224270336},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125202944001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:11:54] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:11:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:11:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377709912224270336,"description":"Unknown IO ID 44"} 
[2026-08-02 10:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125202944001,"power":26560,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4377709912224270336}} 
[2026-08-02 10:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":146523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:11:54] local.INFO: GPS data processed {"connection_id":146523,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:11:54] local.INFO: Acknowledgment sent {"connection_id":146523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:12:02] local.INFO: TCP Data received {"connection_id":146523,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:12:02] local.INFO: Processing buffer {"connection_id":146523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:12:02] local.INFO: Packet analysis {"connection_id":146523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:12:02] local.INFO: Extracted packet for processing {"connection_id":146523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:12:02] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125202944001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377709912224270336,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785645629000,"timestamp_ms":1785645629000,"timestamp_seconds":1785645629,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c5fe48"} 
[2026-08-02 10:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 10:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125202944001,"66":26560,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4377709912224270336},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125202944001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:12:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:12:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:12:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377709912224270336,"description":"Unknown IO ID 44"} 
[2026-08-02 10:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125202944001,"power":26560,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4377709912224270336}} 
[2026-08-02 10:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":146523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:12:02] local.INFO: GPS data processed {"connection_id":146523,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:12:02] local.INFO: Acknowledgment sent {"connection_id":146523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:12:05] local.INFO: TCP Data received {"connection_id":149065,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c648800100000000000000000000000000..."} 
[2026-08-02 10:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c648800100000000000000000000000000..."} 
[2026-08-02 10:12:05] local.INFO: Processing buffer {"connection_id":149065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c648800100000000000000000000000000..."} 
[2026-08-02 10:12:05] local.INFO: Packet analysis {"connection_id":149065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c6"} 
[2026-08-02 10:12:05] local.INFO: Extracted packet for processing {"connection_id":149065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c6"} 
[2026-08-02 10:12:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 10:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 10:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785645648000,"timestamp_ms":1785645648000,"timestamp_seconds":1785645648,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c64880"} 
[2026-08-02 10:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":5,"data_length":795,"current_offset":136} 
[2026-08-02 10:12:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:05] local.WARNING: Large IO value detected {"io_id":120,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:05] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13465701,"corrected_to":0} 
[2026-08-02 10:12:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503756269092864,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:05] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3299760129,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-02 10:12:05] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2281766912,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926200,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:05] local.WARNING: Large IO value detected {"io_id":88,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:05] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,101,83,24,241,157,16,120,159,164,10,66,82,1,240,246,227,192,4,113,205,13,239,2,52,102,36,206,88],"length":529,"final_offset":659,"validated_count":29,"validation_warnings":[{"io_id":246,"original":13465701,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-02 10:12:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 10:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":149065,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 10:12:05] local.INFO: GPS data processed {"connection_id":149065,"processed":0,"errors":0,"total":1} 
[2026-08-02 10:12:05] local.INFO: Acknowledgment sent {"connection_id":149065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:12:36] local.INFO: TCP Data received {"connection_id":149065,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c69a880100000000000000000000000000..."} 
[2026-08-02 10:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c69a880100000000000000000000000000..."} 
[2026-08-02 10:12:36] local.INFO: Processing buffer {"connection_id":149065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c69a880100000000000000000000000000..."} 
[2026-08-02 10:12:36] local.INFO: Packet analysis {"connection_id":149065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c6"} 
[2026-08-02 10:12:36] local.INFO: Extracted packet for processing {"connection_id":149065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c6"} 
[2026-08-02 10:12:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 10:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 10:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785645669000,"timestamp_ms":1785645669000,"timestamp_seconds":1785645669,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c69a88"} 
[2026-08-02 10:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 10:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":149065,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 10:12:36] local.INFO: GPS data processed {"connection_id":149065,"processed":0,"errors":0,"total":1} 
[2026-08-02 10:12:36] local.INFO: Acknowledgment sent {"connection_id":149065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:12:42] local.INFO: TCP Data received {"connection_id":149067,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:12:42] local.INFO: Processing buffer {"connection_id":149067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:12:42] local.INFO: IMEI packet received {"connection_id":149067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":149067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:12:47] local.INFO: TCP Data received {"connection_id":149067,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:12:47] local.INFO: Processing buffer {"connection_id":149067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:12:47] local.INFO: IMEI packet received {"connection_id":149067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":149067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:12:48] local.INFO: TCP Data received {"connection_id":149067,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:12:48] local.INFO: Processing buffer {"connection_id":149067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:12:48] local.INFO: Packet analysis {"connection_id":149067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:12:48] local.INFO: Extracted packet for processing {"connection_id":149067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:12:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125202944001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377709912224270336,"note":"Value kept but may cause issues"} 
[2026-08-02 10:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785645629000,"timestamp_ms":1785645629000,"timestamp_seconds":1785645629,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c5fe48"} 
[2026-08-02 10:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 10:12: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-08-02 10:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125202944001,"66":26560,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4377709912224270336},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125202944001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:12:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:12:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:12:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377709912224270336,"description":"Unknown IO ID 44"} 
[2026-08-02 10:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125202944001,"power":26560,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4377709912224270336}} 
[2026-08-02 10:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":149067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:12:48] local.INFO: GPS data processed {"connection_id":149067,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:12:48] local.INFO: Acknowledgment sent {"connection_id":149067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:13:01] local.INFO: TCP Data received {"connection_id":146729,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:13:01] local.INFO: Processing buffer {"connection_id":146729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:13:01] local.INFO: IMEI packet received {"connection_id":146729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":146729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:13:01] local.INFO: TCP Data received {"connection_id":146729,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:13:01] local.INFO: Processing buffer {"connection_id":146729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:13:01] local.INFO: IMEI packet received {"connection_id":146729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":146729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:13:04] local.INFO: TCP Data received {"connection_id":146729,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:13:04] local.INFO: Processing buffer {"connection_id":146729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:13:04] local.INFO: IMEI packet received {"connection_id":146729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":146729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:13:05] local.INFO: TCP Data received {"connection_id":146729,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:13:05] local.INFO: Processing buffer {"connection_id":146729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:13:05] local.INFO: IMEI packet received {"connection_id":146729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":146729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:13:06] local.INFO: TCP Data received {"connection_id":146729,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c82510012d18cc0007212f00005c014f06..."} 
[2026-08-02 10:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c82510012d18cc0007212f00005c014f06..."} 
[2026-08-02 10:13:06] local.INFO: Processing buffer {"connection_id":146729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c82510012d18cc0007212f00005c014f06..."} 
[2026-08-02 10:13:06] local.INFO: Packet analysis {"connection_id":146729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c8"} 
[2026-08-02 10:13:06] local.INFO: Extracted packet for processing {"connection_id":146729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c8"} 
[2026-08-02 10:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756599808,"raw_latitude":119615232,"longitude_deg":75.6599808,"latitude_deg":11.9615232,"altitude":92,"angle":335,"satellites":6,"speed":28,"hex_longitude":"2d18cc00","hex_latitude":"07212f00","is_valid_coordinates":true} 
[2026-08-02 10:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125316608001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10266049874231296,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787225395245465600,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785645770000,"timestamp_ms":1785645770000,"timestamp_seconds":1785645770,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c82510"} 
[2026-08-02 10:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 10:13:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3234325160,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503756269092864,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3354032129,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-02 10:13:06] local.WARNING: Large IO value detected {"io_id":230,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:06] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1074209041,"corrected_to":0} 
[2026-08-02 10:13:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,120,159,21,45,64,36,101,6,10,66,1,128,25,114,242,240,92,227,192,33,4,113,205,3,230,202,239,56,2,206,160],"length":529,"final_offset":659,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":202,"original":1074209041,"validated":0}]} 
[2026-08-02 10:13:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6917917181017194496,"timestamp_seconds":6917917181017194.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 10:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125316608001,"66":14374,"103":206,"83":41984,"24":28,"16":10266049874231296,"45":1787225395245465600},"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-08-02 10:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125316608001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:13:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10266049874231296,"km_value":10266049874231.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787225395245465600,"description":"Unknown IO ID 45"} 
[2026-08-02 10:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125316608001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1787225395245465600}} 
[2026-08-02 10:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":146729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:13:06] local.INFO: GPS data processed {"connection_id":146729,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:13:06] local.INFO: Acknowledgment sent {"connection_id":146729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:13:06] local.INFO: TCP Data received {"connection_id":146729,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c84068012d18c300072143080056015c07..."} 
[2026-08-02 10:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c84068012d18c300072143080056015c07..."} 
[2026-08-02 10:13:06] local.INFO: Processing buffer {"connection_id":146729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c84068012d18c300072143080056015c07..."} 
[2026-08-02 10:13:06] local.INFO: Packet analysis {"connection_id":146729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c8"} 
[2026-08-02 10:13:06] local.INFO: Extracted packet for processing {"connection_id":146729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c8"} 
[2026-08-02 10:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119620360,"longitude_deg":75.6597504,"latitude_deg":11.962036,"altitude":86,"angle":348,"satellites":7,"speed":36,"hex_longitude":"2d18c300","hex_latitude":"07214308","is_valid_coordinates":true} 
[2026-08-02 10:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125317120001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10266324752138240,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786803182780743680,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785645777000,"timestamp_ms":1785645777000,"timestamp_seconds":1785645777,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c84068"} 
[2026-08-02 10:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:13:06] 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-08-02 10:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-02 10:13: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-08-02 10:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125317120001,"66":13504,"103":206,"83":41984,"24":36,"16":10266324752138240,"45":1786803182780743680},"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-08-02 10:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125317120001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:13:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10266324752138240,"km_value":10266324752138.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786803182780743680,"description":"Unknown IO ID 45"} 
[2026-08-02 10:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125317120001,"power":13504,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1786803182780743680}} 
[2026-08-02 10:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":146729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:13:07] local.INFO: GPS data processed {"connection_id":146729,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:13:07] local.INFO: Acknowledgment sent {"connection_id":146729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:13:19] local.INFO: TCP Data received {"connection_id":149067,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:13:19] local.INFO: Processing buffer {"connection_id":149067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:13:19] local.INFO: Packet analysis {"connection_id":149067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:13:19] local.INFO: Extracted packet for processing {"connection_id":149067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:13:19] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125202944001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377709912224270336,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785645629000,"timestamp_ms":1785645629000,"timestamp_seconds":1785645629,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c5fe48"} 
[2026-08-02 10:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 10:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125202944001,"66":26560,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4377709912224270336},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125202944001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:13:19] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:13:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:13:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377709912224270336,"description":"Unknown IO ID 44"} 
[2026-08-02 10:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125202944001,"power":26560,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4377709912224270336}} 
[2026-08-02 10:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":149067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:13:19] local.INFO: GPS data processed {"connection_id":149067,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:13:19] local.INFO: Acknowledgment sent {"connection_id":149067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:13:37] local.INFO: TCP Data received {"connection_id":146729,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c84c20012d18c2c007214e000054016707..."} 
[2026-08-02 10:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c84c20012d18c2c007214e000054016707..."} 
[2026-08-02 10:13:37] local.INFO: Processing buffer {"connection_id":146729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c84c20012d18c2c007214e000054016707..."} 
[2026-08-02 10:13:37] local.INFO: Packet analysis {"connection_id":146729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c8"} 
[2026-08-02 10:13:37] local.INFO: Extracted packet for processing {"connection_id":146729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c8"} 
[2026-08-02 10:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119623168,"longitude_deg":75.659744,"latitude_deg":11.9623168,"altitude":84,"angle":359,"satellites":7,"speed":37,"hex_longitude":"2d18c2c0","hex_latitude":"07214e00","is_valid_coordinates":true} 
[2026-08-02 10:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125318912001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10266462191091712,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907991660544,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785645780000,"timestamp_ms":1785645780000,"timestamp_seconds":1785645780,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c84c20"} 
[2026-08-02 10:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:13:37] 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-08-02 10: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 10:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125318912001,"66":14341,"103":206,"83":41984,"24":37,"16":10266462191091712,"45":1784269907991660544},"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-08-02 10:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125318912001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:13:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10266462191091712,"km_value":10266462191091.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907991660544,"description":"Unknown IO ID 45"} 
[2026-08-02 10:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125318912001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1784269907991660544}} 
[2026-08-02 10:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":146729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:13:37] local.INFO: GPS data processed {"connection_id":146729,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:13:37] local.INFO: Acknowledgment sent {"connection_id":146729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:13:42] local.INFO: TCP Data received {"connection_id":146524,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:13:42] local.INFO: Processing buffer {"connection_id":146524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:13:42] local.INFO: IMEI packet received {"connection_id":146524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":146524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:13:47] local.INFO: TCP Data received {"connection_id":146524,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:13:47] local.INFO: Processing buffer {"connection_id":146524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:13:47] local.INFO: IMEI packet received {"connection_id":146524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":146524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:13:48] local.INFO: TCP Data received {"connection_id":146524,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:13:48] local.INFO: Processing buffer {"connection_id":146524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:13:48] local.INFO: Packet analysis {"connection_id":146524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:13:48] local.INFO: Extracted packet for processing {"connection_id":146524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:13:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125202944001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377709912224270336,"note":"Value kept but may cause issues"} 
[2026-08-02 10:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785645629000,"timestamp_ms":1785645629000,"timestamp_seconds":1785645629,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c5fe48"} 
[2026-08-02 10:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:13: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-08-02 10:13: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-08-02 10:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125202944001,"66":26560,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4377709912224270336},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125202944001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:13:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:13:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:13:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377709912224270336,"description":"Unknown IO ID 44"} 
[2026-08-02 10:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125202944001,"power":26560,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4377709912224270336}} 
[2026-08-02 10:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":146524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:13:48] local.INFO: GPS data processed {"connection_id":146524,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:13:48] local.INFO: Acknowledgment sent {"connection_id":146524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:14:00] local.INFO: TCP Data received {"connection_id":146525,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:14:00] local.INFO: Processing buffer {"connection_id":146525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:14:00] local.INFO: IMEI packet received {"connection_id":146525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":146525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:14:05] local.INFO: TCP Data received {"connection_id":146525,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:14:05] local.INFO: Processing buffer {"connection_id":146525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:14:05] local.INFO: IMEI packet received {"connection_id":146525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":146525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:14:06] local.INFO: TCP Data received {"connection_id":146525,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c853f0012d18c0c0072155600054015007..."} 
[2026-08-02 10:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c853f0012d18c0c0072155600054015007..."} 
[2026-08-02 10:14:06] local.INFO: Processing buffer {"connection_id":146525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c853f0012d18c0c0072155600054015007..."} 
[2026-08-02 10:14:06] local.INFO: Packet analysis {"connection_id":146525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c8"} 
[2026-08-02 10:14:06] local.INFO: Extracted packet for processing {"connection_id":146525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c8"} 
[2026-08-02 10:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756596928,"raw_latitude":119625056,"longitude_deg":75.6596928,"latitude_deg":11.9625056,"altitude":84,"angle":336,"satellites":7,"speed":35,"hex_longitude":"2d18c0c0","hex_latitude":"07215560","is_valid_coordinates":true} 
[2026-08-02 10:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125319680001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10266556680372224,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539248201728,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785645782000,"timestamp_ms":1785645782000,"timestamp_seconds":1785645782,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c853f0"} 
[2026-08-02 10:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 10:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6975178730,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3234329160,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84751227074060561,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503756269420544,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3356848129,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-02 10:14:06] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2147950873,"corrected_to":0} 
[2026-08-02 10:14:06] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2650852728,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:06] local.WARNING: Large IO value detected {"io_id":208,"raw_value":37437709601473280,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:06] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,121,159,64,45,67,86,7,10,66,37,47,92,6,120,29,128,1,240,5,227,192,33,4,113,205,25,203,48,239,56,2,36,127,8,206,208],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":203,"original":2147950873,"validated":0}]} 
[2026-08-02 10:14:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6053232653927514112,"timestamp_seconds":6053232653927514.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 10:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125319680001,"66":14407,"103":206,"83":41984,"24":35,"16":10266556680372224,"45":1784199539248201728},"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-08-02 10:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125319680001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:14:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10266556680372224,"km_value":10266556680372.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539248201728,"description":"Unknown IO ID 45"} 
[2026-08-02 10:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125319680001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784199539248201728}} 
[2026-08-02 10:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":146525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:14:06] local.INFO: GPS data processed {"connection_id":146525,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:14:06] local.INFO: Acknowledgment sent {"connection_id":146525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:14:19] local.INFO: TCP Data received {"connection_id":146524,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:14:19] local.INFO: Processing buffer {"connection_id":146524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:14:19] local.INFO: Packet analysis {"connection_id":146524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:14:19] local.INFO: Extracted packet for processing {"connection_id":146524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:14:19] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125202944001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377709912224270336,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785645629000,"timestamp_ms":1785645629000,"timestamp_seconds":1785645629,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c5fe48"} 
[2026-08-02 10:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 10:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125202944001,"66":26560,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4377709912224270336},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125202944001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:14:19] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:14:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:14:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377709912224270336,"description":"Unknown IO ID 44"} 
[2026-08-02 10:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125202944001,"power":26560,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4377709912224270336}} 
[2026-08-02 10:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":146524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:14:19] local.INFO: GPS data processed {"connection_id":146524,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:14:19] local.INFO: Acknowledgment sent {"connection_id":146524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:14:36] local.INFO: TCP Data received {"connection_id":146525,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c98c70012d181bc00721a580004d00df07..."} 
[2026-08-02 10:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c98c70012d181bc00721a580004d00df07..."} 
[2026-08-02 10:14:36] local.INFO: Processing buffer {"connection_id":146525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c98c70012d181bc00721a580004d00df07..."} 
[2026-08-02 10:14:36] local.INFO: Packet analysis {"connection_id":146525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c9"} 
[2026-08-02 10:14:36] local.INFO: Extracted packet for processing {"connection_id":146525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c9"} 
[2026-08-02 10:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119645568,"longitude_deg":75.6554688,"latitude_deg":11.9645568,"altitude":77,"angle":223,"satellites":7,"speed":12,"hex_longitude":"2d181bc0","hex_latitude":"0721a580","is_valid_coordinates":true} 
[2026-08-02 10:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125340416001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10268927502319616,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375853056,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785645862000,"timestamp_ms":1785645862000,"timestamp_seconds":1785645862,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c98c70"} 
[2026-08-02 10:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-02 10:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125340416001,"66":14461,"105":206,"83":41984,"24":12,"16":10268927502319616,"45":1737404324375853056},"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-08-02 10:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125340416001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:14:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 10:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10268927502319616,"km_value":10268927502319.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375853056,"description":"Unknown IO ID 45"} 
[2026-08-02 10:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125340416001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737404324375853056}} 
[2026-08-02 10:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":146525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:14:37] local.INFO: GPS data processed {"connection_id":146525,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:14:37] local.INFO: Acknowledgment sent {"connection_id":146525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:14:41] local.INFO: TCP Data received {"connection_id":149068,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:14:41] local.INFO: Processing buffer {"connection_id":149068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:14:41] local.INFO: IMEI packet received {"connection_id":149068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":149068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:14:47] local.INFO: TCP Data received {"connection_id":149068,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:14:47] local.INFO: Processing buffer {"connection_id":149068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:14:47] local.INFO: IMEI packet received {"connection_id":149068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":149068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:14:50] local.INFO: TCP Data received {"connection_id":149068,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:14:50] local.INFO: Processing buffer {"connection_id":149068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:14:50] local.INFO: Packet analysis {"connection_id":149068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:14:50] local.INFO: Extracted packet for processing {"connection_id":149068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:14:50] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125202944001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377709912224270336,"note":"Value kept but may cause issues"} 
[2026-08-02 10:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785645629000,"timestamp_ms":1785645629000,"timestamp_seconds":1785645629,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c5fe48"} 
[2026-08-02 10:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 10:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125202944001,"66":26560,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4377709912224270336},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125202944001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:14:50] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:14:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:14:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377709912224270336,"description":"Unknown IO ID 44"} 
[2026-08-02 10:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125202944001,"power":26560,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4377709912224270336}} 
[2026-08-02 10:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":149068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:14:50] local.INFO: GPS data processed {"connection_id":149068,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:14:50] local.INFO: Acknowledgment sent {"connection_id":149068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:15:05] local.INFO: TCP Data received {"connection_id":146730,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:15:05] local.INFO: Processing buffer {"connection_id":146730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:15:05] local.INFO: IMEI packet received {"connection_id":146730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":146730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:15:08] local.INFO: TCP Data received {"connection_id":146730,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:15:08] local.INFO: Processing buffer {"connection_id":146730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:15:08] local.INFO: IMEI packet received {"connection_id":146730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":146730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:15:10] local.INFO: TCP Data received {"connection_id":146730,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:15:10] local.INFO: Processing buffer {"connection_id":146730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:15:10] local.INFO: IMEI packet received {"connection_id":146730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":146730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:15:11] local.INFO: TCP Data received {"connection_id":146730,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c99828012d1818400721a028004d00d207..."} 
[2026-08-02 10:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c99828012d1818400721a028004d00d207..."} 
[2026-08-02 10:15:11] local.INFO: Processing buffer {"connection_id":146730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c99828012d1818400721a028004d00d207..."} 
[2026-08-02 10:15:11] local.INFO: Packet analysis {"connection_id":146730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c9"} 
[2026-08-02 10:15:11] local.INFO: Extracted packet for processing {"connection_id":146730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c9"} 
[2026-08-02 10:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119644200,"longitude_deg":75.6553792,"latitude_deg":11.96442,"altitude":77,"angle":210,"satellites":7,"speed":25,"hex_longitude":"2d181840","hex_latitude":"0721a028","is_valid_coordinates":true} 
[2026-08-02 10:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125340672001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10269004811730944,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143256576,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785645865000,"timestamp_ms":1785645865000,"timestamp_seconds":1785645865,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c99828"} 
[2026-08-02 10:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-02 10:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125340672001,"66":14483,"105":206,"83":41984,"24":25,"16":10269004811730944,"45":1737193218143256576},"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-08-02 10:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125340672001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:15:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 10:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10269004811730944,"km_value":10269004811730.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143256576,"description":"Unknown IO ID 45"} 
[2026-08-02 10:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125340672001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1737193218143256576}} 
[2026-08-02 10:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":146730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:15:11] local.INFO: GPS data processed {"connection_id":146730,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:15:11] local.INFO: Acknowledgment sent {"connection_id":146730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:15:16] local.INFO: TCP Data received {"connection_id":146730,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c9b768012d18088007218c28004c00e007..."} 
[2026-08-02 10:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c9b768012d18088007218c28004c00e007..."} 
[2026-08-02 10:15:16] local.INFO: Processing buffer {"connection_id":146730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c9b768012d18088007218c28004c00e007..."} 
[2026-08-02 10:15:16] local.INFO: Packet analysis {"connection_id":146730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c9"} 
[2026-08-02 10:15:16] local.INFO: Extracted packet for processing {"connection_id":146730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c9"} 
[2026-08-02 10:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756549760,"raw_latitude":119639080,"longitude_deg":75.654976,"latitude_deg":11.963908,"altitude":76,"angle":224,"satellites":7,"speed":36,"hex_longitude":"2d180880","hex_latitude":"07218c28","is_valid_coordinates":true} 
[2026-08-02 10:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125341440001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10269322639310848,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724419072,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785645873000,"timestamp_ms":1785645873000,"timestamp_seconds":1785645873,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c9b768"} 
[2026-08-02 10:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-02 10:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:15: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-08-02 10:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125341440001,"66":14461,"105":206,"83":41984,"24":36,"16":10269322639310848,"45":1736208055724419072},"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-08-02 10:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125341440001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:15:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 10:15:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10269322639310848,"km_value":10269322639310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724419072,"description":"Unknown IO ID 45"} 
[2026-08-02 10:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125341440001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1736208055724419072}} 
[2026-08-02 10:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":146730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:15:16] local.INFO: GPS data processed {"connection_id":146730,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:15:16] local.INFO: Acknowledgment sent {"connection_id":146730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:15:22] local.INFO: TCP Data received {"connection_id":149068,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:15:22] local.INFO: Processing buffer {"connection_id":149068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:15:22] local.INFO: Packet analysis {"connection_id":149068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:15:22] local.INFO: Extracted packet for processing {"connection_id":149068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:15:22] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125202944001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377709912224270336,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785645629000,"timestamp_ms":1785645629000,"timestamp_seconds":1785645629,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c5fe48"} 
[2026-08-02 10:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 10:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125202944001,"66":26560,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4377709912224270336},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125202944001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:15:22] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:15:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:15:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377709912224270336,"description":"Unknown IO ID 44"} 
[2026-08-02 10:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125202944001,"power":26560,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4377709912224270336}} 
[2026-08-02 10:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":149068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:15:22] local.INFO: GPS data processed {"connection_id":149068,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:15:22] local.INFO: Acknowledgment sent {"connection_id":149068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:15:47] local.INFO: TCP Data received {"connection_id":149069,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:15:47] local.INFO: Processing buffer {"connection_id":149069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:15:47] local.INFO: IMEI packet received {"connection_id":149069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":149069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:15:52] local.INFO: TCP Data received {"connection_id":149069,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:15:52] local.INFO: Processing buffer {"connection_id":149069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:15:52] local.INFO: IMEI packet received {"connection_id":149069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":149069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:15:53] local.INFO: TCP Data received {"connection_id":149069,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:15:53] local.INFO: Processing buffer {"connection_id":149069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:15:53] local.INFO: Packet analysis {"connection_id":149069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:15:53] local.INFO: Extracted packet for processing {"connection_id":149069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:15:53] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125202944001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377709912224270336,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785645629000,"timestamp_ms":1785645629000,"timestamp_seconds":1785645629,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c5fe48"} 
[2026-08-02 10:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 10:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125202944001,"66":26560,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4377709912224270336},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125202944001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:15:53] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:15:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:15:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377709912224270336,"description":"Unknown IO ID 44"} 
[2026-08-02 10:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125202944001,"power":26560,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4377709912224270336}} 
[2026-08-02 10:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":149069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:15:53] local.INFO: GPS data processed {"connection_id":149069,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:15:53] local.INFO: Acknowledgment sent {"connection_id":149069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:15:58] local.INFO: TCP Data received {"connection_id":149069,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:15:58] local.INFO: Processing buffer {"connection_id":149069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c5fe48012cc332c0076858100058016028..."} 
[2026-08-02 10:15:58] local.INFO: Packet analysis {"connection_id":149069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:15:58] local.INFO: Extracted packet for processing {"connection_id":149069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c5"} 
[2026-08-02 10:15:58] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125202944001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377709912224270336,"note":"Value kept but may cause issues"} 
[2026-08-02 10:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785645629000,"timestamp_ms":1785645629000,"timestamp_seconds":1785645629,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c5fe48"} 
[2026-08-02 10:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 10:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125202944001,"66":26560,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4377709912224270336},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125202944001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:15:58] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:15:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:15:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377709912224270336,"description":"Unknown IO ID 44"} 
[2026-08-02 10:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125202944001,"power":26560,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4377709912224270336}} 
[2026-08-02 10:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":149069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:15:58] local.INFO: GPS data processed {"connection_id":149069,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:15:58] local.INFO: Acknowledgment sent {"connection_id":149069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:16:00] local.INFO: TCP Data received {"connection_id":149070,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:16:00] local.INFO: Processing buffer {"connection_id":149070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:16:00] local.INFO: IMEI packet received {"connection_id":149070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":149070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:16:05] local.INFO: TCP Data received {"connection_id":149070,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:16:05] local.INFO: Processing buffer {"connection_id":149070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:16:05] local.INFO: IMEI packet received {"connection_id":149070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":149070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:16:06] local.INFO: TCP Data received {"connection_id":149070,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c9de78012d17eec0072172e0004b00d808..."} 
[2026-08-02 10:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c9de78012d17eec0072172e0004b00d808..."} 
[2026-08-02 10:16:06] local.INFO: Processing buffer {"connection_id":149070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c9de78012d17eec0072172e0004b00d808..."} 
[2026-08-02 10:16:06] local.INFO: Packet analysis {"connection_id":149070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c9"} 
[2026-08-02 10:16:06] local.INFO: Extracted packet for processing {"connection_id":149070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c9"} 
[2026-08-02 10:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756543168,"raw_latitude":119632608,"longitude_deg":75.6543168,"latitude_deg":11.9632608,"altitude":75,"angle":216,"satellites":8,"speed":33,"hex_longitude":"2d17eec0","hex_latitude":"072172e0","is_valid_coordinates":true} 
[2026-08-02 10:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125343488001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10269765020942336,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1731774824839915520,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785645883000,"timestamp_ms":1785645883000,"timestamp_seconds":1785645883,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c9de78"} 
[2026-08-02 10:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-02 10:16: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-08-02 10:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125343488001,"66":13319,"105":206,"83":41984,"24":33,"16":10269765020942336,"45":1731774824839915520},"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-08-02 10:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125343488001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:16:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 10:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10269765020942336,"km_value":10269765020942.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1731774824839915520,"description":"Unknown IO ID 45"} 
[2026-08-02 10:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125343488001,"power":13319,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1731774824839915520}} 
[2026-08-02 10:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":149070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:16:06] local.INFO: GPS data processed {"connection_id":149070,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:16:06] local.INFO: Acknowledgment sent {"connection_id":149070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:16:37] local.INFO: TCP Data received {"connection_id":149070,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ca0970012d17db0007215270004c00cf0b..."} 
[2026-08-02 10:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ca0970012d17db0007215270004c00cf0b..."} 
[2026-08-02 10:16:37] local.INFO: Processing buffer {"connection_id":149070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ca0970012d17db0007215270004c00cf0b..."} 
[2026-08-02 10:16:37] local.INFO: Packet analysis {"connection_id":149070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:16:37] local.INFO: Extracted packet for processing {"connection_id":149070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756538112,"raw_latitude":119624304,"longitude_deg":75.6538112,"latitude_deg":11.9624304,"altitude":76,"angle":207,"satellites":11,"speed":38,"hex_longitude":"2d17db00","hex_latitude":"07215270","is_valid_coordinates":true} 
[2026-08-02 10:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125346048001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270237467344896,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724526844187959296,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785645894000,"timestamp_ms":1785645894000,"timestamp_seconds":1785645894,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ca0970"} 
[2026-08-02 10:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 10:16:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3234430160,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:37] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2298478592,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3381168129,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-6530219133249583360,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 10:16:37] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:37] local.WARNING: Large IO value detected {"io_id":92,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:37] local.WARNING: Large IO value detected {"io_id":201,"raw_value":7867789842206310407,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,124,159,183,45,128,140,76,7,10,66,123,152,64,160,77,192,1,240,125,227,33,4,113,205,132,29,239,56,2,36,78,8,92,201],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 10:16:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404557081718095872,"timestamp_seconds":5404557081718096.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 10:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125346048001,"66":12113,"105":206,"83":41984,"24":38,"16":10270237467344896,"45":1724526844187959296},"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-08-02 10:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125346048001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:16:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 10:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270237467344896,"km_value":10270237467344.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724526844187959296,"description":"Unknown IO ID 45"} 
[2026-08-02 10:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125346048001,"power":12113,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1724526844187959296}} 
[2026-08-02 10:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":149070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:16:37] local.INFO: GPS data processed {"connection_id":149070,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:16:37] local.INFO: Acknowledgment sent {"connection_id":149070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:16:42] local.INFO: TCP Data received {"connection_id":147755,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:16:42] local.INFO: Processing buffer {"connection_id":147755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:16:42] local.INFO: IMEI packet received {"connection_id":147755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":147755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:16:47] local.INFO: TCP Data received {"connection_id":147755,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:16:47] local.INFO: Processing buffer {"connection_id":147755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:16:47] local.INFO: IMEI packet received {"connection_id":147755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":147755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:16:48] local.INFO: TCP Data received {"connection_id":147755,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:16:48] local.INFO: Processing buffer {"connection_id":147755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:16:48] local.INFO: Packet analysis {"connection_id":147755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:16:48] local.INFO: Extracted packet for processing {"connection_id":147755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:16:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":39,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125281024001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785645930000,"timestamp_ms":1785645930000,"timestamp_seconds":1785645930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ca9610"} 
[2026-08-02 10:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 10:16:48] 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-08-02 10:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125281024001,"66":26267,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125281024001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:16:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:16:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:16:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125281024001,"power":26267,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":147755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:16:48] local.INFO: GPS data processed {"connection_id":147755,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:16:48] local.INFO: Acknowledgment sent {"connection_id":147755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:17:00] local.INFO: TCP Data received {"connection_id":149071,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:17:00] local.INFO: Processing buffer {"connection_id":149071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:17:00] local.INFO: IMEI packet received {"connection_id":149071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":149071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:17:05] local.INFO: TCP Data received {"connection_id":149071,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:17:05] local.INFO: Processing buffer {"connection_id":149071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:17:05] local.INFO: IMEI packet received {"connection_id":149071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":149071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:17:06] local.INFO: TCP Data received {"connection_id":149071,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ca3850012d17cac007213780004200c40f..."} 
[2026-08-02 10:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ca3850012d17cac007213780004200c40f..."} 
[2026-08-02 10:17:06] local.INFO: Processing buffer {"connection_id":149071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ca3850012d17cac007213780004200c40f..."} 
[2026-08-02 10:17:06] local.INFO: Packet analysis {"connection_id":149071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:17:06] local.INFO: Extracted packet for processing {"connection_id":149071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756533952,"raw_latitude":119617408,"longitude_deg":75.6533952,"latitude_deg":11.9617408,"altitude":66,"angle":196,"satellites":15,"speed":12,"hex_longitude":"2d17cac0","hex_latitude":"07213780","is_valid_coordinates":true} 
[2026-08-02 10:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125348864001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270624014401536,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1718967713395798016,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785645906000,"timestamp_ms":1785645906000,"timestamp_seconds":1785645906,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ca3850"} 
[2026-08-02 10:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-02 10:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125348864001,"66":12939,"105":206,"83":41984,"24":12,"16":10270624014401536,"45":1718967713395798016},"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-08-02 10:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125348864001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:17:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 10:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270624014401536,"km_value":10270624014401.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1718967713395798016,"description":"Unknown IO ID 45"} 
[2026-08-02 10:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125348864001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1718967713395798016}} 
[2026-08-02 10:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":149071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:17:06] local.INFO: GPS data processed {"connection_id":149071,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:17:06] local.INFO: Acknowledgment sent {"connection_id":149071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:17:20] local.INFO: TCP Data received {"connection_id":147755,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:17:20] local.INFO: Processing buffer {"connection_id":147755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:17:20] local.INFO: Packet analysis {"connection_id":147755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:17:20] local.INFO: Extracted packet for processing {"connection_id":147755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:17:20] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":39,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125281024001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785645930000,"timestamp_ms":1785645930000,"timestamp_seconds":1785645930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ca9610"} 
[2026-08-02 10:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 10:17:20] 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-08-02 10:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125281024001,"66":26267,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125281024001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:17:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:17:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125281024001,"power":26267,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":147755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:17:20] local.INFO: GPS data processed {"connection_id":147755,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:17:20] local.INFO: Acknowledgment sent {"connection_id":147755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:17:36] local.INFO: TCP Data received {"connection_id":149071,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ca8a58012d17c980072134b0004600c511..."} 
[2026-08-02 10:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ca8a58012d17c980072134b0004600c511..."} 
[2026-08-02 10:17:36] local.INFO: Processing buffer {"connection_id":149071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ca8a58012d17c980072134b0004600c511..."} 
[2026-08-02 10:17:36] local.INFO: Packet analysis {"connection_id":149071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:17:36] local.INFO: Extracted packet for processing {"connection_id":149071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":17,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125351936001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714393745022484480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785645927000,"timestamp_ms":1785645927000,"timestamp_seconds":1785645927,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ca8a58"} 
[2026-08-02 10:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:17:36] 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-08-02 10: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-08-02 10: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-08-02 10:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125351936001,"66":13004,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714393745022484480},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125351936001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:17:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714393745022484480,"description":"Unknown IO ID 45"} 
[2026-08-02 10:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125351936001,"power":13004,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714393745022484480}} 
[2026-08-02 10:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":149071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:17:36] local.INFO: GPS data processed {"connection_id":149071,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:17:36] local.INFO: Acknowledgment sent {"connection_id":149071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:17:45] local.INFO: TCP Data received {"connection_id":149072,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:17:45] local.INFO: Processing buffer {"connection_id":149072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:17:45] local.INFO: IMEI packet received {"connection_id":149072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":149072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:17:46] local.INFO: TCP Data received {"connection_id":149072,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:17:46] local.INFO: Processing buffer {"connection_id":149072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:17:46] local.INFO: IMEI packet received {"connection_id":149072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":149072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:17:47] local.INFO: TCP Data received {"connection_id":149072,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:17:47] local.INFO: Processing buffer {"connection_id":149072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:17:47] local.INFO: Packet analysis {"connection_id":149072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:17:47] local.INFO: Extracted packet for processing {"connection_id":149072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:17:47] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":39,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125281024001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785645930000,"timestamp_ms":1785645930000,"timestamp_seconds":1785645930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ca9610"} 
[2026-08-02 10:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:17: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 10:17:47] 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-08-02 10:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125281024001,"66":26267,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125281024001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:17:47] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:17:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:17:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125281024001,"power":26267,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":149072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:17:47] local.INFO: GPS data processed {"connection_id":149072,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:17:47] local.INFO: Acknowledgment sent {"connection_id":149072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:17:52] local.INFO: TCP Data received {"connection_id":149072,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:17:52] local.INFO: Processing buffer {"connection_id":149072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:17:52] local.INFO: Packet analysis {"connection_id":149072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:17:52] local.INFO: Extracted packet for processing {"connection_id":149072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:17:52] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":39,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125281024001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785645930000,"timestamp_ms":1785645930000,"timestamp_seconds":1785645930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ca9610"} 
[2026-08-02 10:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 10:17:52] 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-08-02 10:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125281024001,"66":26267,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125281024001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:17:52] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:17:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:17:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125281024001,"power":26267,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":149072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:17:52] local.INFO: GPS data processed {"connection_id":149072,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:17:52] local.INFO: Acknowledgment sent {"connection_id":149072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:18:00] local.INFO: TCP Data received {"connection_id":146731,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:18:00] local.INFO: Processing buffer {"connection_id":146731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:18:00] local.INFO: IMEI packet received {"connection_id":146731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":146731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:18:05] local.INFO: TCP Data received {"connection_id":146731,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:18:05] local.INFO: Processing buffer {"connection_id":146731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:18:05] local.INFO: IMEI packet received {"connection_id":146731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":146731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:18:06] local.INFO: TCP Data received {"connection_id":146731,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cadc60012d17c980072134b0004600c512..."} 
[2026-08-02 10:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cadc60012d17c980072134b0004600c512..."} 
[2026-08-02 10:18:06] local.INFO: Processing buffer {"connection_id":146731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cadc60012d17c980072134b0004600c512..."} 
[2026-08-02 10:18:06] local.INFO: Packet analysis {"connection_id":146731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:18:06] local.INFO: Extracted packet for processing {"connection_id":146731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":18,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10: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-08-02 10:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125357312001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785645948000,"timestamp_ms":1785645948000,"timestamp_seconds":1785645948,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cadc60"} 
[2026-08-02 10:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-02 10:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10: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-08-02 10:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125357312001,"66":12993,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125357312001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:18:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125357312001,"power":12993,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":146731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:18:06] local.INFO: GPS data processed {"connection_id":146731,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:18:06] local.INFO: Acknowledgment sent {"connection_id":146731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:18:24] local.INFO: TCP Data received {"connection_id":149072,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:18:24] local.INFO: Processing buffer {"connection_id":149072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:18:24] local.INFO: Packet analysis {"connection_id":149072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:18:24] local.INFO: Extracted packet for processing {"connection_id":149072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:18:24] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":39,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125281024001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:18:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785645930000,"timestamp_ms":1785645930000,"timestamp_seconds":1785645930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ca9610"} 
[2026-08-02 10:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 10:18:24] 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-08-02 10:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125281024001,"66":26267,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125281024001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:18:24] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:18:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:18:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125281024001,"power":26267,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":149072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:18:24] local.INFO: GPS data processed {"connection_id":149072,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:18:24] local.INFO: Acknowledgment sent {"connection_id":149072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:18:37] local.INFO: TCP Data received {"connection_id":146731,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cb2e68012d17c980072134b0004600c514..."} 
[2026-08-02 10:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cb2e68012d17c980072134b0004600c514..."} 
[2026-08-02 10:18:37] local.INFO: Processing buffer {"connection_id":146731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cb2e68012d17c980072134b0004600c514..."} 
[2026-08-02 10:18:37] local.INFO: Packet analysis {"connection_id":146731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cb"} 
[2026-08-02 10:18:37] local.INFO: Extracted packet for processing {"connection_id":146731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cb"} 
[2026-08-02 10:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":20,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10: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-08-02 10:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125362688001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785645969000,"timestamp_ms":1785645969000,"timestamp_seconds":1785645969,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cb2e68"} 
[2026-08-02 10:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:18:37] 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-08-02 10: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10: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-08-02 10:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125362688001,"66":12993,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125362688001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:18:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125362688001,"power":12993,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":146731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:18:37] local.INFO: GPS data processed {"connection_id":146731,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:18:37] local.INFO: Acknowledgment sent {"connection_id":146731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:18:41] local.INFO: TCP Data received {"connection_id":147756,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:18:41] local.INFO: Processing buffer {"connection_id":147756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:18:41] local.INFO: IMEI packet received {"connection_id":147756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":147756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:18:47] local.INFO: TCP Data received {"connection_id":147756,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:18:47] local.INFO: Processing buffer {"connection_id":147756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:18:47] local.INFO: IMEI packet received {"connection_id":147756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":147756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:18:50] local.INFO: TCP Data received {"connection_id":147756,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:18:50] local.INFO: Processing buffer {"connection_id":147756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:18:50] local.INFO: Packet analysis {"connection_id":147756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:18:50] local.INFO: Extracted packet for processing {"connection_id":147756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:18:50] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":39,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125281024001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:18:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785645930000,"timestamp_ms":1785645930000,"timestamp_seconds":1785645930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ca9610"} 
[2026-08-02 10:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 10:18:50] 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-08-02 10:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125281024001,"66":26267,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125281024001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:18:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:18:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:18:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125281024001,"power":26267,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":147756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:18:50] local.INFO: GPS data processed {"connection_id":147756,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:18:50] local.INFO: Acknowledgment sent {"connection_id":147756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:19:00] local.INFO: TCP Data received {"connection_id":149073,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:19:00] local.INFO: Processing buffer {"connection_id":149073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:19:00] local.INFO: IMEI packet received {"connection_id":149073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":149073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:19:05] local.INFO: TCP Data received {"connection_id":149073,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:19:05] local.INFO: Processing buffer {"connection_id":149073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:19:05] local.INFO: IMEI packet received {"connection_id":149073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":149073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:19:06] local.INFO: TCP Data received {"connection_id":149073,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cb8070012d17c980072134b0004600c514..."} 
[2026-08-02 10:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cb8070012d17c980072134b0004600c514..."} 
[2026-08-02 10:19:06] local.INFO: Processing buffer {"connection_id":149073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cb8070012d17c980072134b0004600c514..."} 
[2026-08-02 10:19:06] local.INFO: Packet analysis {"connection_id":149073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cb"} 
[2026-08-02 10:19:06] local.INFO: Extracted packet for processing {"connection_id":149073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cb"} 
[2026-08-02 10:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":20,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125368064001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785645990000,"timestamp_ms":1785645990000,"timestamp_seconds":1785645990,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cb8070"} 
[2026-08-02 10:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125368064001,"66":12972,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125368064001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:19:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125368064001,"power":12972,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":149073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:19:06] local.INFO: GPS data processed {"connection_id":149073,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:19:06] local.INFO: Acknowledgment sent {"connection_id":149073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:19:21] local.INFO: TCP Data received {"connection_id":147756,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:19:21] local.INFO: Processing buffer {"connection_id":147756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:19:21] local.INFO: Packet analysis {"connection_id":147756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:19:21] local.INFO: Extracted packet for processing {"connection_id":147756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:19:21] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":39,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125281024001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785645930000,"timestamp_ms":1785645930000,"timestamp_seconds":1785645930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ca9610"} 
[2026-08-02 10:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 10:19:21] 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-08-02 10:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125281024001,"66":26267,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125281024001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:19:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:19:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125281024001,"power":26267,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":147756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:19:21] local.INFO: GPS data processed {"connection_id":147756,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:19:21] local.INFO: Acknowledgment sent {"connection_id":147756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:19:37] local.INFO: TCP Data received {"connection_id":149073,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cbd278012d17c980072134b0004600c514..."} 
[2026-08-02 10:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cbd278012d17c980072134b0004600c514..."} 
[2026-08-02 10:19:37] local.INFO: Processing buffer {"connection_id":149073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cbd278012d17c980072134b0004600c514..."} 
[2026-08-02 10:19:37] local.INFO: Packet analysis {"connection_id":149073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cb"} 
[2026-08-02 10:19:37] local.INFO: Extracted packet for processing {"connection_id":149073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cb"} 
[2026-08-02 10:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":20,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125373440001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785646011000,"timestamp_ms":1785646011000,"timestamp_seconds":1785646011,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cbd278"} 
[2026-08-02 10:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 10:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125373440001,"66":12939,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125373440001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:19:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125373440001,"power":12939,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":149073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:19:37] local.INFO: GPS data processed {"connection_id":149073,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:19:37] local.INFO: Acknowledgment sent {"connection_id":149073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:19:47] local.INFO: TCP Data received {"connection_id":147757,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:19:47] local.INFO: Processing buffer {"connection_id":147757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:19:47] local.INFO: IMEI packet received {"connection_id":147757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":147757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:19:52] local.INFO: TCP Data received {"connection_id":147757,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:19:52] local.INFO: Processing buffer {"connection_id":147757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:19:52] local.INFO: IMEI packet received {"connection_id":147757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":147757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:19:53] local.INFO: TCP Data received {"connection_id":147757,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:19:53] local.INFO: Processing buffer {"connection_id":147757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:19:53] local.INFO: Packet analysis {"connection_id":147757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:19:53] local.INFO: Extracted packet for processing {"connection_id":147757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:19:53] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":39,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125281024001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785645930000,"timestamp_ms":1785645930000,"timestamp_seconds":1785645930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ca9610"} 
[2026-08-02 10:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 10:19:53] 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-08-02 10:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125281024001,"66":26267,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125281024001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:19:53] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:19:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:19:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125281024001,"power":26267,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":147757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:19:53] local.INFO: GPS data processed {"connection_id":147757,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:19:53] local.INFO: Acknowledgment sent {"connection_id":147757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:19:57] local.INFO: TCP Data received {"connection_id":147757,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:19:57] local.INFO: Processing buffer {"connection_id":147757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:19:57] local.INFO: Packet analysis {"connection_id":147757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:19:57] local.INFO: Extracted packet for processing {"connection_id":147757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:19:57] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":39,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125281024001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785645930000,"timestamp_ms":1785645930000,"timestamp_seconds":1785645930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ca9610"} 
[2026-08-02 10:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 10:19:57] 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-08-02 10:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125281024001,"66":26267,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125281024001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:19:57] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:19:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:19:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125281024001,"power":26267,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":147757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:19:57] local.INFO: GPS data processed {"connection_id":147757,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:19:57] local.INFO: Acknowledgment sent {"connection_id":147757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:20:01] local.INFO: TCP Data received {"connection_id":146526,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:20:01] local.INFO: Processing buffer {"connection_id":146526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:20:01] local.INFO: IMEI packet received {"connection_id":146526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":146526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:20:05] local.INFO: TCP Data received {"connection_id":146526,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:20:05] local.INFO: Processing buffer {"connection_id":146526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:20:05] local.INFO: IMEI packet received {"connection_id":146526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":146526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:20:10] local.INFO: TCP Data received {"connection_id":146526,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:20:10] local.INFO: Processing buffer {"connection_id":146526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:20:10] local.INFO: IMEI packet received {"connection_id":146526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":146526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:20:11] local.INFO: TCP Data received {"connection_id":146526,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cc2480012d17c980072134b0004600c514..."} 
[2026-08-02 10:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cc2480012d17c980072134b0004600c514..."} 
[2026-08-02 10:20:11] local.INFO: Processing buffer {"connection_id":146526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cc2480012d17c980072134b0004600c514..."} 
[2026-08-02 10:20:11] local.INFO: Packet analysis {"connection_id":146526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cc"} 
[2026-08-02 10:20:11] local.INFO: Extracted packet for processing {"connection_id":146526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cc"} 
[2026-08-02 10:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":20,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125378816001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785646032000,"timestamp_ms":1785646032000,"timestamp_seconds":1785646032,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cc2480"} 
[2026-08-02 10:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:20:11] 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-08-02 10:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-02 10:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125378816001,"66":12917,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125378816001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:20:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125378816001,"power":12917,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":146526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:20:11] local.INFO: GPS data processed {"connection_id":146526,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:20:11] local.INFO: Acknowledgment sent {"connection_id":146526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:20:16] local.INFO: TCP Data received {"connection_id":146526,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cc7688012d17c980072134b0004600c515..."} 
[2026-08-02 10:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cc7688012d17c980072134b0004600c515..."} 
[2026-08-02 10:20:16] local.INFO: Processing buffer {"connection_id":146526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cc7688012d17c980072134b0004600c515..."} 
[2026-08-02 10:20:16] local.INFO: Packet analysis {"connection_id":146526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cc"} 
[2026-08-02 10:20:16] local.INFO: Extracted packet for processing {"connection_id":146526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cc"} 
[2026-08-02 10:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":21,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125384192001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785646053000,"timestamp_ms":1785646053000,"timestamp_seconds":1785646053,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cc7688"} 
[2026-08-02 10:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-02 10:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:20: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-08-02 10:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125384192001,"66":12917,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125384192001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:20:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125384192001,"power":12917,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":146526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:20:16] local.INFO: GPS data processed {"connection_id":146526,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:20:16] local.INFO: Acknowledgment sent {"connection_id":146526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:20:41] local.INFO: TCP Data received {"connection_id":146732,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:20:41] local.INFO: Processing buffer {"connection_id":146732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:20:41] local.INFO: IMEI packet received {"connection_id":146732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":146732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:20:47] local.INFO: TCP Data received {"connection_id":146732,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:20:47] local.INFO: Processing buffer {"connection_id":146732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:20:47] local.INFO: IMEI packet received {"connection_id":146732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":146732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:20:48] local.INFO: TCP Data received {"connection_id":146732,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:20:48] local.INFO: Processing buffer {"connection_id":146732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ca9610012cc332c0076858100058016027..."} 
[2026-08-02 10:20:48] local.INFO: Packet analysis {"connection_id":146732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:20:48] local.INFO: Extracted packet for processing {"connection_id":146732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ca"} 
[2026-08-02 10:20:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":39,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125281024001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:20:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785645930000,"timestamp_ms":1785645930000,"timestamp_seconds":1785645930,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ca9610"} 
[2026-08-02 10:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 10:20:48] 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-08-02 10:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125281024001,"66":26267,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125281024001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:20:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:20:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:20:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125281024001,"power":26267,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":146732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:20:48] local.INFO: GPS data processed {"connection_id":146732,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:20:48] local.INFO: Acknowledgment sent {"connection_id":146732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:21:00] local.INFO: TCP Data received {"connection_id":146733,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:21:00] local.INFO: Processing buffer {"connection_id":146733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:21:00] local.INFO: IMEI packet received {"connection_id":146733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":146733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:21:04] local.INFO: TCP Data received {"connection_id":146733,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:21:04] local.INFO: Processing buffer {"connection_id":146733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:21:04] local.INFO: IMEI packet received {"connection_id":146733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":146733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:21:05] local.INFO: TCP Data received {"connection_id":146733,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ccc890012d17c980072134b0004600c515..."} 
[2026-08-02 10:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ccc890012d17c980072134b0004600c515..."} 
[2026-08-02 10:21:05] local.INFO: Processing buffer {"connection_id":146733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ccc890012d17c980072134b0004600c515..."} 
[2026-08-02 10:21:05] local.INFO: Packet analysis {"connection_id":146733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cc"} 
[2026-08-02 10:21:05] local.INFO: Extracted packet for processing {"connection_id":146733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cc"} 
[2026-08-02 10:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":21,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125389568001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785646074000,"timestamp_ms":1785646074000,"timestamp_seconds":1785646074,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ccc890"} 
[2026-08-02 10:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":117,"data_length":795,"current_offset":136} 
[2026-08-02 10:21: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-08-02 10:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125389568001,"66":12874,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125389568001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:21:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125389568001,"power":12874,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":146733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:21:05] local.INFO: GPS data processed {"connection_id":146733,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:21:05] local.INFO: Acknowledgment sent {"connection_id":146733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:21:19] local.INFO: TCP Data received {"connection_id":146732,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:21:19] local.INFO: Processing buffer {"connection_id":146732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:21:19] local.INFO: Packet analysis {"connection_id":146732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:21:19] local.INFO: Extracted packet for processing {"connection_id":146732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:21:19] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125358080001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:21:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785646231000,"timestamp_ms":1785646231000,"timestamp_seconds":1785646231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cf2dd8"} 
[2026-08-02 10:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-02 10:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125358080001,"66":26147,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125358080001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:21:19] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:21:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:21:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125358080001,"power":26147,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":146732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:21:19] local.INFO: GPS data processed {"connection_id":146732,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:21:19] local.INFO: Acknowledgment sent {"connection_id":146732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:21:36] local.INFO: TCP Data received {"connection_id":146733,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cd1a98012d17c980072134b0004600c517..."} 
[2026-08-02 10:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cd1a98012d17c980072134b0004600c517..."} 
[2026-08-02 10:21:36] local.INFO: Processing buffer {"connection_id":146733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cd1a98012d17c980072134b0004600c517..."} 
[2026-08-02 10:21:36] local.INFO: Packet analysis {"connection_id":146733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cd"} 
[2026-08-02 10:21:36] local.INFO: Extracted packet for processing {"connection_id":146733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cd"} 
[2026-08-02 10:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":23,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125394944001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785646095000,"timestamp_ms":1785646095000,"timestamp_seconds":1785646095,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cd1a98"} 
[2026-08-02 10:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":74,"data_length":795,"current_offset":136} 
[2026-08-02 10:21: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-08-02 10:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125394944001,"66":12841,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125394944001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:21:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125394944001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":146733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:21:36] local.INFO: GPS data processed {"connection_id":146733,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:21:36] local.INFO: Acknowledgment sent {"connection_id":146733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:21:41] local.INFO: TCP Data received {"connection_id":146734,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:21:41] local.INFO: Processing buffer {"connection_id":146734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:21:41] local.INFO: IMEI packet received {"connection_id":146734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":146734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:21:47] local.INFO: TCP Data received {"connection_id":146734,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:21:47] local.INFO: Processing buffer {"connection_id":146734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:21:47] local.INFO: IMEI packet received {"connection_id":146734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":146734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:21:48] local.INFO: TCP Data received {"connection_id":146734,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:21:48] local.INFO: Processing buffer {"connection_id":146734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:21:48] local.INFO: Packet analysis {"connection_id":146734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:21:48] local.INFO: Extracted packet for processing {"connection_id":146734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:21:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10: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-08-02 10:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125358080001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:21:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785646231000,"timestamp_ms":1785646231000,"timestamp_seconds":1785646231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cf2dd8"} 
[2026-08-02 10:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-02 10:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10: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-08-02 10:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125358080001,"66":26147,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125358080001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:21:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:21:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:21:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125358080001,"power":26147,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":146734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:21:48] local.INFO: GPS data processed {"connection_id":146734,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:21:48] local.INFO: Acknowledgment sent {"connection_id":146734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:22:00] local.INFO: TCP Data received {"connection_id":146527,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:22:00] local.INFO: Processing buffer {"connection_id":146527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:22:00] local.INFO: IMEI packet received {"connection_id":146527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":146527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:22:05] local.INFO: TCP Data received {"connection_id":146527,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:22:05] local.INFO: Processing buffer {"connection_id":146527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:22:05] local.INFO: IMEI packet received {"connection_id":146527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":146527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:22:06] local.INFO: TCP Data received {"connection_id":146527,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cd6ca0012d17c980072134b0004600c518..."} 
[2026-08-02 10:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cd6ca0012d17c980072134b0004600c518..."} 
[2026-08-02 10:22:06] local.INFO: Processing buffer {"connection_id":146527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cd6ca0012d17c980072134b0004600c518..."} 
[2026-08-02 10:22:06] local.INFO: Packet analysis {"connection_id":146527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cd"} 
[2026-08-02 10:22:06] local.INFO: Extracted packet for processing {"connection_id":146527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cd"} 
[2026-08-02 10:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":24,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125400320001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785646116000,"timestamp_ms":1785646116000,"timestamp_seconds":1785646116,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cd6ca0"} 
[2026-08-02 10:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-02 10:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125400320001,"66":12841,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125400320001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:22:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125400320001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":146527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:22:06] local.INFO: GPS data processed {"connection_id":146527,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:22:06] local.INFO: Acknowledgment sent {"connection_id":146527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:22:20] local.INFO: TCP Data received {"connection_id":146734,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:22:20] local.INFO: Processing buffer {"connection_id":146734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:22:20] local.INFO: Packet analysis {"connection_id":146734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:22:20] local.INFO: Extracted packet for processing {"connection_id":146734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:22:20] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125358080001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785646231000,"timestamp_ms":1785646231000,"timestamp_seconds":1785646231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cf2dd8"} 
[2026-08-02 10:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-02 10:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125358080001,"66":26147,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125358080001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:22:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:22:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:22:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125358080001,"power":26147,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":146734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:22:20] local.INFO: GPS data processed {"connection_id":146734,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:22:20] local.INFO: Acknowledgment sent {"connection_id":146734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:22:37] local.INFO: TCP Data received {"connection_id":146527,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cdbea8012d17c980072134b0004600c519..."} 
[2026-08-02 10:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cdbea8012d17c980072134b0004600c519..."} 
[2026-08-02 10:22:37] local.INFO: Processing buffer {"connection_id":146527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cdbea8012d17c980072134b0004600c519..."} 
[2026-08-02 10:22:37] local.INFO: Packet analysis {"connection_id":146527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cd"} 
[2026-08-02 10:22:37] local.INFO: Extracted packet for processing {"connection_id":146527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cd"} 
[2026-08-02 10:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":25,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125405696001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785646137000,"timestamp_ms":1785646137000,"timestamp_seconds":1785646137,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cdbea8"} 
[2026-08-02 10:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-02 10:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125405696001,"66":12841,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125405696001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:22:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125405696001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":146527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:22:37] local.INFO: GPS data processed {"connection_id":146527,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:22:37] local.INFO: Acknowledgment sent {"connection_id":146527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:22:47] local.INFO: TCP Data received {"connection_id":146735,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:22:47] local.INFO: Processing buffer {"connection_id":146735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:22:47] local.INFO: IMEI packet received {"connection_id":146735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":146735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:22:52] local.INFO: TCP Data received {"connection_id":146735,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:22:52] local.INFO: Processing buffer {"connection_id":146735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:22:52] local.INFO: IMEI packet received {"connection_id":146735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":146735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:22:53] local.INFO: TCP Data received {"connection_id":146735,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:22:53] local.INFO: Processing buffer {"connection_id":146735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:22:53] local.INFO: Packet analysis {"connection_id":146735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:22:53] local.INFO: Extracted packet for processing {"connection_id":146735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:22:53] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125358080001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785646231000,"timestamp_ms":1785646231000,"timestamp_seconds":1785646231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cf2dd8"} 
[2026-08-02 10:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-02 10:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125358080001,"66":26147,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125358080001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:22:53] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:22:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:22:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125358080001,"power":26147,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":146735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:22:53] local.INFO: GPS data processed {"connection_id":146735,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:22:53] local.INFO: Acknowledgment sent {"connection_id":146735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:22:57] local.INFO: TCP Data received {"connection_id":146735,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:22:57] local.INFO: Processing buffer {"connection_id":146735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:22:57] local.INFO: Packet analysis {"connection_id":146735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:22:57] local.INFO: Extracted packet for processing {"connection_id":146735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:22:57] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125358080001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785646231000,"timestamp_ms":1785646231000,"timestamp_seconds":1785646231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cf2dd8"} 
[2026-08-02 10:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-02 10:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125358080001,"66":26147,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125358080001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:22:57] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:22:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:22:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125358080001,"power":26147,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":146735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:22:57] local.INFO: GPS data processed {"connection_id":146735,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:22:57] local.INFO: Acknowledgment sent {"connection_id":146735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:23:00] local.INFO: TCP Data received {"connection_id":146736,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:23:00] local.INFO: Processing buffer {"connection_id":146736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:23:00] local.INFO: IMEI packet received {"connection_id":146736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":146736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:23:05] local.INFO: TCP Data received {"connection_id":146736,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:23:05] local.INFO: Processing buffer {"connection_id":146736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:23:05] local.INFO: IMEI packet received {"connection_id":146736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":146736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:23:06] local.INFO: TCP Data received {"connection_id":146736,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ce10b0012d17c980072134b0004600c519..."} 
[2026-08-02 10:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ce10b0012d17c980072134b0004600c519..."} 
[2026-08-02 10:23:06] local.INFO: Processing buffer {"connection_id":146736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ce10b0012d17c980072134b0004600c519..."} 
[2026-08-02 10:23:06] local.INFO: Packet analysis {"connection_id":146736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ce"} 
[2026-08-02 10:23:06] local.INFO: Extracted packet for processing {"connection_id":146736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ce"} 
[2026-08-02 10:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":25,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125411072001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785646158000,"timestamp_ms":1785646158000,"timestamp_seconds":1785646158,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ce10b0"} 
[2026-08-02 10:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":41,"data_length":795,"current_offset":136} 
[2026-08-02 10:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125411072001,"66":12809,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125411072001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:23:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125411072001,"power":12809,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":146736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:23:06] local.INFO: GPS data processed {"connection_id":146736,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:23:06] local.INFO: Acknowledgment sent {"connection_id":146736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:23:37] local.INFO: TCP Data received {"connection_id":146736,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ce62b8012d17c980072134b0004600c519..."} 
[2026-08-02 10:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ce62b8012d17c980072134b0004600c519..."} 
[2026-08-02 10:23:37] local.INFO: Processing buffer {"connection_id":146736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ce62b8012d17c980072134b0004600c519..."} 
[2026-08-02 10:23:37] local.INFO: Packet analysis {"connection_id":146736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ce"} 
[2026-08-02 10:23:37] local.INFO: Extracted packet for processing {"connection_id":146736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ce"} 
[2026-08-02 10:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":25,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125416448001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785646179000,"timestamp_ms":1785646179000,"timestamp_seconds":1785646179,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ce62b8"} 
[2026-08-02 10:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-02 10:23:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3234604160,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":-3759810792454108800,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-02 10:23:37] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2281778455,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:37] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2147950900,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964359383010899,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2392730817261520148,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,125,159,190,45,128,52,70,25,10,66,108,26,1,240,41,227,192,33,4,113,205,118,201,176,21,239,50,2,36,7,164,31],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-02 10:23:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044248293819809792,"timestamp_seconds":5044248293819810.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 10:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125416448001,"66":12406,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125416448001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:23:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125416448001,"power":12406,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":146736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:23:37] local.INFO: GPS data processed {"connection_id":146736,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:23:37] local.INFO: Acknowledgment sent {"connection_id":146736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:23:42] local.INFO: TCP Data received {"connection_id":146528,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:23:42] local.INFO: Processing buffer {"connection_id":146528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:23:42] local.INFO: IMEI packet received {"connection_id":146528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":146528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:23:47] local.INFO: TCP Data received {"connection_id":146528,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:23:47] local.INFO: Processing buffer {"connection_id":146528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:23:47] local.INFO: IMEI packet received {"connection_id":146528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":146528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:23:48] local.INFO: TCP Data received {"connection_id":146528,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:23:48] local.INFO: Processing buffer {"connection_id":146528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:23:48] local.INFO: Packet analysis {"connection_id":146528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:23:48] local.INFO: Extracted packet for processing {"connection_id":146528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:23:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125358080001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785646231000,"timestamp_ms":1785646231000,"timestamp_seconds":1785646231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cf2dd8"} 
[2026-08-02 10:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-02 10:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125358080001,"66":26147,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125358080001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:23:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:23:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:23:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125358080001,"power":26147,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":146528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:23:48] local.INFO: GPS data processed {"connection_id":146528,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:23:48] local.INFO: Acknowledgment sent {"connection_id":146528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:24:00] local.INFO: TCP Data received {"connection_id":147758,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:24:00] local.INFO: Processing buffer {"connection_id":147758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:24:00] local.INFO: IMEI packet received {"connection_id":147758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":147758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:24:05] local.INFO: TCP Data received {"connection_id":147758,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:24:05] local.INFO: Processing buffer {"connection_id":147758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:24:05] local.INFO: IMEI packet received {"connection_id":147758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":147758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:24:06] local.INFO: TCP Data received {"connection_id":147758,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ceb4c0012d17c980072134b0004600c51a..."} 
[2026-08-02 10:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ceb4c0012d17c980072134b0004600c51a..."} 
[2026-08-02 10:24:06] local.INFO: Processing buffer {"connection_id":147758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ceb4c0012d17c980072134b0004600c51a..."} 
[2026-08-02 10:24:06] local.INFO: Packet analysis {"connection_id":147758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ce"} 
[2026-08-02 10:24:06] local.INFO: Extracted packet for processing {"connection_id":147758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ce"} 
[2026-08-02 10:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":26,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125421824001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785646200000,"timestamp_ms":1785646200000,"timestamp_seconds":1785646200,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ceb4c0"} 
[2026-08-02 10:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 10:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125421824001,"66":12743,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125421824001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:24:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125421824001,"power":12743,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":147758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:24:06] local.INFO: GPS data processed {"connection_id":147758,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:24:06] local.INFO: Acknowledgment sent {"connection_id":147758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:24:20] local.INFO: TCP Data received {"connection_id":146528,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:24:20] local.INFO: Processing buffer {"connection_id":146528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:24:20] local.INFO: Packet analysis {"connection_id":146528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:24:20] local.INFO: Extracted packet for processing {"connection_id":146528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:24:20] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125358080001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785646231000,"timestamp_ms":1785646231000,"timestamp_seconds":1785646231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cf2dd8"} 
[2026-08-02 10:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-02 10:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125358080001,"66":26147,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125358080001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:24:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:24:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125358080001,"power":26147,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":146528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:24:20] local.INFO: GPS data processed {"connection_id":146528,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:24:20] local.INFO: Acknowledgment sent {"connection_id":146528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:24:36] local.INFO: TCP Data received {"connection_id":147758,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d217f0012d17c980072134b0004600c51e..."} 
[2026-08-02 10:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d217f0012d17c980072134b0004600c51e..."} 
[2026-08-02 10:24:36] local.INFO: Processing buffer {"connection_id":147758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d217f0012d17c980072134b0004600c51e..."} 
[2026-08-02 10:24:36] local.INFO: Packet analysis {"connection_id":147758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d2"} 
[2026-08-02 10:24:36] local.INFO: Extracted packet for processing {"connection_id":147758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d2"} 
[2026-08-02 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":30,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125478912001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785646422000,"timestamp_ms":1785646422000,"timestamp_seconds":1785646422,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d217f0"} 
[2026-08-02 10:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-02 10:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125478912001,"66":12613,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125478912001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:24:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125478912001,"power":12613,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":147758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:24:37] local.INFO: GPS data processed {"connection_id":147758,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:24:37] local.INFO: Acknowledgment sent {"connection_id":147758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:24:41] local.INFO: TCP Data received {"connection_id":149074,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:24:41] local.INFO: Processing buffer {"connection_id":149074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:24:41] local.INFO: IMEI packet received {"connection_id":149074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":149074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:24:47] local.INFO: TCP Data received {"connection_id":149074,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:24:47] local.INFO: Processing buffer {"connection_id":149074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:24:47] local.INFO: IMEI packet received {"connection_id":149074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":149074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:24:49] local.INFO: TCP Data received {"connection_id":149074,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:24:49] local.INFO: Processing buffer {"connection_id":149074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:24:49] local.INFO: Packet analysis {"connection_id":149074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:24:49] local.INFO: Extracted packet for processing {"connection_id":149074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:24:49] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125358080001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:24:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785646231000,"timestamp_ms":1785646231000,"timestamp_seconds":1785646231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cf2dd8"} 
[2026-08-02 10:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-02 10:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125358080001,"66":26147,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125358080001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:24:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:24:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:24:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125358080001,"power":26147,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":149074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:24:49] local.INFO: GPS data processed {"connection_id":149074,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:24:49] local.INFO: Acknowledgment sent {"connection_id":149074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:25:00] local.INFO: TCP Data received {"connection_id":149075,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:25:00] local.INFO: Processing buffer {"connection_id":149075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:25:00] local.INFO: IMEI packet received {"connection_id":149075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":149075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:25:05] local.INFO: TCP Data received {"connection_id":149075,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:25:05] local.INFO: Processing buffer {"connection_id":149075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:25:05] local.INFO: IMEI packet received {"connection_id":149075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":149075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:25:06] local.INFO: TCP Data received {"connection_id":149075,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d26610012d17c980072134b0004600c51e..."} 
[2026-08-02 10:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d26610012d17c980072134b0004600c51e..."} 
[2026-08-02 10:25:06] local.INFO: Processing buffer {"connection_id":149075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d26610012d17c980072134b0004600c51e..."} 
[2026-08-02 10:25:06] local.INFO: Packet analysis {"connection_id":149075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d2"} 
[2026-08-02 10:25:06] local.INFO: Extracted packet for processing {"connection_id":149075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d2"} 
[2026-08-02 10:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":30,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125484032001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785646442000,"timestamp_ms":1785646442000,"timestamp_seconds":1785646442,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d26610"} 
[2026-08-02 10:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-02 10:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125484032001,"66":12613,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125484032001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:25:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125484032001,"power":12613,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":149075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:25:06] local.INFO: GPS data processed {"connection_id":149075,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:25:06] local.INFO: Acknowledgment sent {"connection_id":149075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:25:20] local.INFO: TCP Data received {"connection_id":149074,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:25:20] local.INFO: Processing buffer {"connection_id":149074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:25:20] local.INFO: Packet analysis {"connection_id":149074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:25:20] local.INFO: Extracted packet for processing {"connection_id":149074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:25:20] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125358080001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785646231000,"timestamp_ms":1785646231000,"timestamp_seconds":1785646231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cf2dd8"} 
[2026-08-02 10:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-02 10:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125358080001,"66":26147,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125358080001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:25:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:25:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125358080001,"power":26147,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":149074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:25:20] local.INFO: GPS data processed {"connection_id":149074,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:25:20] local.INFO: Acknowledgment sent {"connection_id":149074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:25:37] local.INFO: TCP Data received {"connection_id":149075,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d2b430012d17c980072134b0004600c51f..."} 
[2026-08-02 10:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d2b430012d17c980072134b0004600c51f..."} 
[2026-08-02 10:25:37] local.INFO: Processing buffer {"connection_id":149075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d2b430012d17c980072134b0004600c51f..."} 
[2026-08-02 10:25:37] local.INFO: Packet analysis {"connection_id":149075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d2"} 
[2026-08-02 10:25:37] local.INFO: Extracted packet for processing {"connection_id":149075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d2"} 
[2026-08-02 10:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":31,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125489152001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785646462000,"timestamp_ms":1785646462000,"timestamp_seconds":1785646462,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d2b430"} 
[2026-08-02 10:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-02 10:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125489152001,"66":12591,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125489152001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:25:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125489152001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":149075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:25:37] local.INFO: GPS data processed {"connection_id":149075,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:25:37] local.INFO: Acknowledgment sent {"connection_id":149075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:25:41] local.INFO: TCP Data received {"connection_id":146737,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:25:41] local.INFO: Processing buffer {"connection_id":146737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:25:41] local.INFO: IMEI packet received {"connection_id":146737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":146737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:25:47] local.INFO: TCP Data received {"connection_id":146737,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:25:47] local.INFO: Processing buffer {"connection_id":146737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:25:47] local.INFO: IMEI packet received {"connection_id":146737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":146737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:25:48] local.INFO: TCP Data received {"connection_id":146737,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:25:48] local.INFO: Processing buffer {"connection_id":146737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0cf2dd8012cc332c0076858100058016028..."} 
[2026-08-02 10:25:48] local.INFO: Packet analysis {"connection_id":146737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:25:48] local.INFO: Extracted packet for processing {"connection_id":146737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0cf"} 
[2026-08-02 10:25:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125358080001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:25:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785646231000,"timestamp_ms":1785646231000,"timestamp_seconds":1785646231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0cf2dd8"} 
[2026-08-02 10:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-02 10:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125358080001,"66":26147,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125358080001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:25:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:25:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:25:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125358080001,"power":26147,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":146737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:25:48] local.INFO: GPS data processed {"connection_id":146737,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:25:48] local.INFO: Acknowledgment sent {"connection_id":146737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:26:00] local.INFO: TCP Data received {"connection_id":149076,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:26:00] local.INFO: Processing buffer {"connection_id":149076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:26:00] local.INFO: IMEI packet received {"connection_id":149076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":149076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:26:05] local.INFO: TCP Data received {"connection_id":149076,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:26:05] local.INFO: Processing buffer {"connection_id":149076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:26:05] local.INFO: IMEI packet received {"connection_id":149076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":149076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:26:06] local.INFO: TCP Data received {"connection_id":149076,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d2fe68012d17c980072134b0004600c51f..."} 
[2026-08-02 10:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d2fe68012d17c980072134b0004600c51f..."} 
[2026-08-02 10:26:06] local.INFO: Processing buffer {"connection_id":149076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d2fe68012d17c980072134b0004600c51f..."} 
[2026-08-02 10:26:06] local.INFO: Packet analysis {"connection_id":149076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d2"} 
[2026-08-02 10:26:06] local.INFO: Extracted packet for processing {"connection_id":149076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d2"} 
[2026-08-02 10:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":31,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125494272001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785646481000,"timestamp_ms":1785646481000,"timestamp_seconds":1785646481,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d2fe68"} 
[2026-08-02 10:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 10:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125494272001,"66":12548,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125494272001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:26:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125494272001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":149076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:26:06] local.INFO: GPS data processed {"connection_id":149076,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:26:06] local.INFO: Acknowledgment sent {"connection_id":149076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:26:19] local.INFO: TCP Data received {"connection_id":146737,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:26:19] local.INFO: Processing buffer {"connection_id":146737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:26:19] local.INFO: Packet analysis {"connection_id":146737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:26:19] local.INFO: Extracted packet for processing {"connection_id":146737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:26:19] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125435136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785646532000,"timestamp_ms":1785646532000,"timestamp_seconds":1785646532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d3c5a0"} 
[2026-08-02 10:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 10:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125435136001,"66":26006,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125435136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:26:19] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:26:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:26:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125435136001,"power":26006,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":146737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:26:19] local.INFO: GPS data processed {"connection_id":146737,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:26:19] local.INFO: Acknowledgment sent {"connection_id":146737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:26:38] local.INFO: TCP Data received {"connection_id":149076,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d34c88012d17c980072134b0004600c51f..."} 
[2026-08-02 10:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d34c88012d17c980072134b0004600c51f..."} 
[2026-08-02 10:26:38] local.INFO: Processing buffer {"connection_id":149076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d34c88012d17c980072134b0004600c51f..."} 
[2026-08-02 10:26:38] local.INFO: Packet analysis {"connection_id":149076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:26:38] local.INFO: Extracted packet for processing {"connection_id":149076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":31,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 10:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125499136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785646501000,"timestamp_ms":1785646501000,"timestamp_seconds":1785646501,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d34c88"} 
[2026-08-02 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-08-02 10:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 10:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3234935160,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:38] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3519664129,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-02 10:26:38] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2550213911,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:38] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2147950900,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,125,159,180,45,128,52,70,31,10,66,102,30,23,1,240,69,227,192,33,4,113,205,127,201,176,29,239,49,2,36,7,106],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-02 10:26:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044248319589613568,"timestamp_seconds":5044248319589614.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 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-08-02 10:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":149076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":149076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":149076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125499136001,"66":12558,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125499136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:26:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125499136001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":149076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:26:38] local.INFO: GPS data processed {"connection_id":149076,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:26:38] local.INFO: Acknowledgment sent {"connection_id":149076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:26:42] local.INFO: TCP Data received {"connection_id":147759,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:26:42] local.INFO: Processing buffer {"connection_id":147759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:26:42] local.INFO: IMEI packet received {"connection_id":147759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":147759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:26:47] local.INFO: TCP Data received {"connection_id":147759,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:26:47] local.INFO: Processing buffer {"connection_id":147759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:26:47] local.INFO: IMEI packet received {"connection_id":147759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":147759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:26:48] local.INFO: TCP Data received {"connection_id":147759,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:26:48] local.INFO: Processing buffer {"connection_id":147759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:26:48] local.INFO: Packet analysis {"connection_id":147759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:26:48] local.INFO: Extracted packet for processing {"connection_id":147759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:26:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125435136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785646532000,"timestamp_ms":1785646532000,"timestamp_seconds":1785646532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d3c5a0"} 
[2026-08-02 10:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 10:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125435136001,"66":26006,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125435136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:26:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:26:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:26:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125435136001,"power":26006,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":147759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:26:48] local.INFO: GPS data processed {"connection_id":147759,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:26:48] local.INFO: Acknowledgment sent {"connection_id":147759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:27:00] local.INFO: TCP Data received {"connection_id":149077,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:27:00] local.INFO: Processing buffer {"connection_id":149077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:27:00] local.INFO: IMEI packet received {"connection_id":149077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":149077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:27:01] local.INFO: TCP Data received {"connection_id":149077,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:27:01] local.INFO: Processing buffer {"connection_id":149077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:27:01] local.INFO: IMEI packet received {"connection_id":149077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":149077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:27:05] local.INFO: TCP Data received {"connection_id":149077,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:27:05] local.INFO: Processing buffer {"connection_id":149077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:27:05] local.INFO: IMEI packet received {"connection_id":149077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":149077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:27:06] local.INFO: TCP Data received {"connection_id":149077,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d396c0012d17c980072134b0004600c51f..."} 
[2026-08-02 10:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d396c0012d17c980072134b0004600c51f..."} 
[2026-08-02 10:27:06] local.INFO: Processing buffer {"connection_id":149077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d396c0012d17c980072134b0004600c51f..."} 
[2026-08-02 10:27:06] local.INFO: Packet analysis {"connection_id":149077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:27:06] local.INFO: Extracted packet for processing {"connection_id":149077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":31,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125504256001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785646520000,"timestamp_ms":1785646520000,"timestamp_seconds":1785646520,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d396c0"} 
[2026-08-02 10:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-02 10:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3234955160,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249287207883715760,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3524784129,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-02 10:27:06] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2147950900,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:06] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:06] local.WARNING: Large IO value detected {"io_id":35,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,125,159,254,45,128,52,70,31,10,66,180,102,1,240,69,227,192,33,4,113,205,201,176,29,239,49,2,36,7,106,35,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-02 10:27:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044248319589613568,"timestamp_seconds":5044248319589614.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 10:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125504256001,"66":12504,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125504256001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:27:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125504256001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":149077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:27:06] local.INFO: GPS data processed {"connection_id":149077,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:27:06] local.INFO: Acknowledgment sent {"connection_id":149077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:27:19] local.INFO: TCP Data received {"connection_id":147759,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:27:19] local.INFO: Processing buffer {"connection_id":147759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:27:19] local.INFO: Packet analysis {"connection_id":147759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:27:19] local.INFO: Extracted packet for processing {"connection_id":147759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:27:19] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125435136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785646532000,"timestamp_ms":1785646532000,"timestamp_seconds":1785646532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d3c5a0"} 
[2026-08-02 10:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 10:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125435136001,"66":26006,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125435136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:27:19] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:27:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:27:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125435136001,"power":26006,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":147759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:27:19] local.INFO: GPS data processed {"connection_id":147759,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:27:19] local.INFO: Acknowledgment sent {"connection_id":147759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:27:37] local.INFO: TCP Data received {"connection_id":149077,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d3e4e0012d17c980072134b0004600c51f..."} 
[2026-08-02 10:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d3e4e0012d17c980072134b0004600c51f..."} 
[2026-08-02 10:27:37] local.INFO: Processing buffer {"connection_id":149077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d3e4e0012d17c980072134b0004600c51f..."} 
[2026-08-02 10:27:37] local.INFO: Packet analysis {"connection_id":149077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:27:37] local.INFO: Extracted packet for processing {"connection_id":149077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":31,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125509120001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785646540000,"timestamp_ms":1785646540000,"timestamp_seconds":1785646540,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d3e4e0"} 
[2026-08-02 10:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 10:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125509120001,"66":12548,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125509120001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:27:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125509120001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":149077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:27:37] local.INFO: GPS data processed {"connection_id":149077,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:27:37] local.INFO: Acknowledgment sent {"connection_id":149077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:27:41] local.INFO: TCP Data received {"connection_id":146529,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:27:41] local.INFO: Processing buffer {"connection_id":146529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:27:41] local.INFO: IMEI packet received {"connection_id":146529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":146529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:27:47] local.INFO: TCP Data received {"connection_id":146529,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:27:47] local.INFO: Processing buffer {"connection_id":146529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:27:47] local.INFO: IMEI packet received {"connection_id":146529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":146529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:27:48] local.INFO: TCP Data received {"connection_id":146529,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:27:48] local.INFO: Processing buffer {"connection_id":146529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:27:48] local.INFO: Packet analysis {"connection_id":146529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:27:48] local.INFO: Extracted packet for processing {"connection_id":146529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:27:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125435136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785646532000,"timestamp_ms":1785646532000,"timestamp_seconds":1785646532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d3c5a0"} 
[2026-08-02 10:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 10:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125435136001,"66":26006,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125435136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:27:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:27:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:27:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125435136001,"power":26006,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":146529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:27:48] local.INFO: GPS data processed {"connection_id":146529,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:27:48] local.INFO: Acknowledgment sent {"connection_id":146529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:28:04] local.INFO: TCP Data received {"connection_id":146738,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:28:04] local.INFO: Processing buffer {"connection_id":146738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:28:04] local.INFO: IMEI packet received {"connection_id":146738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":146738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:28:05] local.INFO: TCP Data received {"connection_id":146738,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:28:05] local.INFO: Processing buffer {"connection_id":146738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:28:05] local.INFO: IMEI packet received {"connection_id":146738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":146738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:28:10] local.INFO: TCP Data received {"connection_id":146738,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:28:10] local.INFO: Processing buffer {"connection_id":146738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:28:10] local.INFO: IMEI packet received {"connection_id":146738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":146738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:28:11] local.INFO: TCP Data received {"connection_id":146738,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d42f18012d17c980072134b0004600c51e..."} 
[2026-08-02 10:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d42f18012d17c980072134b0004600c51e..."} 
[2026-08-02 10:28:11] local.INFO: Processing buffer {"connection_id":146738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d42f18012d17c980072134b0004600c51e..."} 
[2026-08-02 10:28:11] local.INFO: Packet analysis {"connection_id":146738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d4"} 
[2026-08-02 10:28:11] local.INFO: Extracted packet for processing {"connection_id":146738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d4"} 
[2026-08-02 10:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":30,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125514240001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785646559000,"timestamp_ms":1785646559000,"timestamp_seconds":1785646559,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d42f18"} 
[2026-08-02 10:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 10:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3234994160,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3535024129,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-02 10:28:11] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2147950900,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:11] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,107,83,24,241,157,16,125,159,150,45,128,52,70,31,10,66,76,254,1,240,4,227,192,33,113,205,102,201,176,30,239,49,2,36,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-02 10:28:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044248319589613568,"timestamp_seconds":5044248319589614.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 10:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125514240001,"66":12526,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125514240001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:28:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:28:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125514240001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":146738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:28:11] local.INFO: GPS data processed {"connection_id":146738,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:28:11] local.INFO: Acknowledgment sent {"connection_id":146738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:28:20] local.INFO: TCP Data received {"connection_id":146529,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:28:20] local.INFO: Processing buffer {"connection_id":146529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:28:20] local.INFO: Packet analysis {"connection_id":146529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:28:20] local.INFO: Extracted packet for processing {"connection_id":146529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:28:20] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125435136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785646532000,"timestamp_ms":1785646532000,"timestamp_seconds":1785646532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d3c5a0"} 
[2026-08-02 10:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 10:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125435136001,"66":26006,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125435136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:28:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:28:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125435136001,"power":26006,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":146529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:28:20] local.INFO: GPS data processed {"connection_id":146529,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:28:20] local.INFO: Acknowledgment sent {"connection_id":146529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:28:41] local.INFO: TCP Data received {"connection_id":146530,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:28:41] local.INFO: Processing buffer {"connection_id":146530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:28:41] local.INFO: IMEI packet received {"connection_id":146530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":146530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:28:42] local.INFO: TCP Data received {"connection_id":146738,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d47d38012d17c980072134b0004600c51f..."} 
[2026-08-02 10:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d47d38012d17c980072134b0004600c51f..."} 
[2026-08-02 10:28:42] local.INFO: Processing buffer {"connection_id":146738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d47d38012d17c980072134b0004600c51f..."} 
[2026-08-02 10:28:42] local.INFO: Packet analysis {"connection_id":146738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d4"} 
[2026-08-02 10:28:42] local.INFO: Extracted packet for processing {"connection_id":146738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d4"} 
[2026-08-02 10:28:42] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":31,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125519104001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785646579000,"timestamp_ms":1785646579000,"timestamp_seconds":1785646579,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d47d38"} 
[2026-08-02 10:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 10:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125519104001,"66":12504,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125519104001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:28:42] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125519104001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":146738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:28:42] local.INFO: GPS data processed {"connection_id":146738,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:28:42] local.INFO: Acknowledgment sent {"connection_id":146738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:28:47] local.INFO: TCP Data received {"connection_id":146530,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:28:47] local.INFO: Processing buffer {"connection_id":146530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:28:47] local.INFO: IMEI packet received {"connection_id":146530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":146530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:28:48] local.INFO: TCP Data received {"connection_id":146530,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:28:48] local.INFO: Processing buffer {"connection_id":146530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:28:48] local.INFO: Packet analysis {"connection_id":146530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:28:48] local.INFO: Extracted packet for processing {"connection_id":146530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:28:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10: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-08-02 10:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125435136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785646532000,"timestamp_ms":1785646532000,"timestamp_seconds":1785646532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d3c5a0"} 
[2026-08-02 10:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 10:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10: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-08-02 10:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125435136001,"66":26006,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125435136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:28:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:28:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:28:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125435136001,"power":26006,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":146530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:28:48] local.INFO: GPS data processed {"connection_id":146530,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:28:48] local.INFO: Acknowledgment sent {"connection_id":146530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:29:00] local.INFO: TCP Data received {"connection_id":147760,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:29:00] local.INFO: Processing buffer {"connection_id":147760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:29:00] local.INFO: IMEI packet received {"connection_id":147760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":147760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:29:05] local.INFO: TCP Data received {"connection_id":147760,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:29:05] local.INFO: Processing buffer {"connection_id":147760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:29:05] local.INFO: IMEI packet received {"connection_id":147760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":147760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:29:06] local.INFO: TCP Data received {"connection_id":147760,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d4c770012d17c980072134b0004600c51f..."} 
[2026-08-02 10:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d4c770012d17c980072134b0004600c51f..."} 
[2026-08-02 10:29:06] local.INFO: Processing buffer {"connection_id":147760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d4c770012d17c980072134b0004600c51f..."} 
[2026-08-02 10:29:06] local.INFO: Packet analysis {"connection_id":147760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d4"} 
[2026-08-02 10:29:06] local.INFO: Extracted packet for processing {"connection_id":147760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d4"} 
[2026-08-02 10:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":31,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125524224001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785646598000,"timestamp_ms":1785646598000,"timestamp_seconds":1785646598,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d4c770"} 
[2026-08-02 10:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 10:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125524224001,"66":12461,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125524224001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:29:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125524224001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":147760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:29:06] local.INFO: GPS data processed {"connection_id":147760,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:29:06] local.INFO: Acknowledgment sent {"connection_id":147760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:29:20] local.INFO: TCP Data received {"connection_id":146530,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:29:20] local.INFO: Processing buffer {"connection_id":146530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:29:20] local.INFO: Packet analysis {"connection_id":146530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:29:20] local.INFO: Extracted packet for processing {"connection_id":146530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:29:20] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125435136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785646532000,"timestamp_ms":1785646532000,"timestamp_seconds":1785646532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d3c5a0"} 
[2026-08-02 10:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 10:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125435136001,"66":26006,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125435136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:29:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:29:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125435136001,"power":26006,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":146530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:29:20] local.INFO: GPS data processed {"connection_id":146530,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:29:20] local.INFO: Acknowledgment sent {"connection_id":146530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:29:37] local.INFO: TCP Data received {"connection_id":147760,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d51590012d17c980072134b0004600c51f..."} 
[2026-08-02 10:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d51590012d17c980072134b0004600c51f..."} 
[2026-08-02 10:29:37] local.INFO: Processing buffer {"connection_id":147760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d51590012d17c980072134b0004600c51f..."} 
[2026-08-02 10:29:37] local.INFO: Packet analysis {"connection_id":147760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d5"} 
[2026-08-02 10:29:37] local.INFO: Extracted packet for processing {"connection_id":147760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d5"} 
[2026-08-02 10:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":31,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125529088001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785646618000,"timestamp_ms":1785646618000,"timestamp_seconds":1785646618,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d51590"} 
[2026-08-02 10:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 10:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125529088001,"66":12526,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125529088001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:29:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125529088001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":147760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:29:37] local.INFO: GPS data processed {"connection_id":147760,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:29:37] local.INFO: Acknowledgment sent {"connection_id":147760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:29:47] local.INFO: TCP Data received {"connection_id":149078,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:29:47] local.INFO: Processing buffer {"connection_id":149078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:29:47] local.INFO: IMEI packet received {"connection_id":149078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":149078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:29:52] local.INFO: TCP Data received {"connection_id":149078,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:29:52] local.INFO: Processing buffer {"connection_id":149078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:29:52] local.INFO: IMEI packet received {"connection_id":149078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":149078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:29:53] local.INFO: TCP Data received {"connection_id":149078,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:29:53] local.INFO: Processing buffer {"connection_id":149078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:29:53] local.INFO: Packet analysis {"connection_id":149078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:29:53] local.INFO: Extracted packet for processing {"connection_id":149078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:29:53] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125435136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785646532000,"timestamp_ms":1785646532000,"timestamp_seconds":1785646532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d3c5a0"} 
[2026-08-02 10:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 10:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125435136001,"66":26006,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125435136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:29:53] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:29:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:29:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125435136001,"power":26006,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":149078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:29:53] local.INFO: GPS data processed {"connection_id":149078,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:29:53] local.INFO: Acknowledgment sent {"connection_id":149078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:29:57] local.INFO: TCP Data received {"connection_id":149078,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:29:57] local.INFO: Processing buffer {"connection_id":149078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:29:57] local.INFO: Packet analysis {"connection_id":149078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:29:57] local.INFO: Extracted packet for processing {"connection_id":149078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:29:57] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125435136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785646532000,"timestamp_ms":1785646532000,"timestamp_seconds":1785646532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d3c5a0"} 
[2026-08-02 10:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 10:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125435136001,"66":26006,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125435136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:29:57] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:29:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:29:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125435136001,"power":26006,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":149078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:29:57] local.INFO: GPS data processed {"connection_id":149078,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:29:57] local.INFO: Acknowledgment sent {"connection_id":149078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:30:00] local.INFO: TCP Data received {"connection_id":149079,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:30:00] local.INFO: Processing buffer {"connection_id":149079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:30:00] local.INFO: IMEI packet received {"connection_id":149079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":149079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:30:05] local.INFO: TCP Data received {"connection_id":149079,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:30:05] local.INFO: Processing buffer {"connection_id":149079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:30:05] local.INFO: IMEI packet received {"connection_id":149079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":149079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:30:06] local.INFO: TCP Data received {"connection_id":149079,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d55fc8012d17c980072134b0004600c51f..."} 
[2026-08-02 10:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d55fc8012d17c980072134b0004600c51f..."} 
[2026-08-02 10:30:06] local.INFO: Processing buffer {"connection_id":149079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d55fc8012d17c980072134b0004600c51f..."} 
[2026-08-02 10:30:06] local.INFO: Packet analysis {"connection_id":149079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d5"} 
[2026-08-02 10:30:06] local.INFO: Extracted packet for processing {"connection_id":149079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d5"} 
[2026-08-02 10:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":31,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125534208001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785646637000,"timestamp_ms":1785646637000,"timestamp_seconds":1785646637,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d55fc8"} 
[2026-08-02 10:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 10:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125534208001,"66":12504,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125534208001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:30:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125534208001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":149079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:30:06] local.INFO: GPS data processed {"connection_id":149079,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:30:06] local.INFO: Acknowledgment sent {"connection_id":149079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:30:37] local.INFO: TCP Data received {"connection_id":149079,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d5aa00012d17c980072134b0004600c51f..."} 
[2026-08-02 10:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d5aa00012d17c980072134b0004600c51f..."} 
[2026-08-02 10:30:37] local.INFO: Processing buffer {"connection_id":149079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d5aa00012d17c980072134b0004600c51f..."} 
[2026-08-02 10:30:37] local.INFO: Packet analysis {"connection_id":149079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d5"} 
[2026-08-02 10:30:37] local.INFO: Extracted packet for processing {"connection_id":149079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d5"} 
[2026-08-02 10:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119616688,"longitude_deg":75.6533632,"latitude_deg":11.9616688,"altitude":70,"angle":197,"satellites":31,"speed":0,"hex_longitude":"2d17c980","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-02 10:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125539072001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270671259041792,"note":"Value kept but may cause issues"} 
[2026-08-02 10:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301411840,"note":"Value kept but may cause issues"} 
[2026-08-02 10:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785646656000,"timestamp_ms":1785646656000,"timestamp_seconds":1785646656,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d5aa00"} 
[2026-08-02 10:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 10:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125539072001,"66":12461,"107":206,"83":41984,"24":0,"16":10270671259041792,"45":1714041901301411840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125539072001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:30:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270671259041792,"km_value":10270671259041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301411840,"description":"Unknown IO ID 45"} 
[2026-08-02 10:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125539072001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714041901301411840}} 
[2026-08-02 10:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":149079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:30:37] local.INFO: GPS data processed {"connection_id":149079,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:30:37] local.INFO: Acknowledgment sent {"connection_id":149079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:30:44] local.INFO: TCP Data received {"connection_id":147761,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:30:44] local.INFO: Processing buffer {"connection_id":147761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:30:44] local.INFO: IMEI packet received {"connection_id":147761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":147761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:30:59] local.INFO: TCP Data received {"connection_id":147761,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:30:59] local.INFO: Processing buffer {"connection_id":147761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:30:59] local.INFO: IMEI packet received {"connection_id":147761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":147761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:30:59] local.INFO: TCP Data received {"connection_id":147761,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:30:59] local.INFO: Processing buffer {"connection_id":147761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:30:59] local.INFO: IMEI packet received {"connection_id":147761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":147761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:31:00] local.INFO: TCP Data received {"connection_id":147762,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:31:00] local.INFO: Processing buffer {"connection_id":147762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:31:00] local.INFO: IMEI packet received {"connection_id":147762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":147762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:31:01] local.INFO: TCP Data received {"connection_id":147761,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:31:01] local.INFO: Processing buffer {"connection_id":147761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:31:01] local.INFO: Packet analysis {"connection_id":147761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:31:01] local.INFO: Extracted packet for processing {"connection_id":147761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:31:01] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10: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-08-02 10:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125435136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785646532000,"timestamp_ms":1785646532000,"timestamp_seconds":1785646532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d3c5a0"} 
[2026-08-02 10:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 10:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10: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-08-02 10:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125435136001,"66":26006,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125435136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:31:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:31:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125435136001,"power":26006,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":147761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:31:01] local.INFO: GPS data processed {"connection_id":147761,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:31:01] local.INFO: Acknowledgment sent {"connection_id":147761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:31:02] local.INFO: TCP Data received {"connection_id":147761,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:31:02] local.INFO: Processing buffer {"connection_id":147761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d3c5a0012cc332c007685810005801602b..."} 
[2026-08-02 10:31:02] local.INFO: Packet analysis {"connection_id":147761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:31:02] local.INFO: Extracted packet for processing {"connection_id":147761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d3"} 
[2026-08-02 10:31:02] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125435136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785646532000,"timestamp_ms":1785646532000,"timestamp_seconds":1785646532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d3c5a0"} 
[2026-08-02 10:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 10:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125435136001,"66":26006,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125435136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:31:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:31:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:31:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125435136001,"power":26006,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":147761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:31:02] local.INFO: GPS data processed {"connection_id":147761,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:31:02] local.INFO: Acknowledgment sent {"connection_id":147761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:31:05] local.INFO: TCP Data received {"connection_id":147762,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:31:05] local.INFO: Processing buffer {"connection_id":147762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:31:05] local.INFO: IMEI packet received {"connection_id":147762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":147762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:31:06] local.INFO: TCP Data received {"connection_id":147762,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d81330012d17c880072135400038013520..."} 
[2026-08-02 10:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d81330012d17c880072135400038013520..."} 
[2026-08-02 10:31:06] local.INFO: Processing buffer {"connection_id":147762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d81330012d17c880072135400038013520..."} 
[2026-08-02 10:31:06] local.INFO: Packet analysis {"connection_id":147762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:31:06] local.INFO: Extracted packet for processing {"connection_id":147762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616832,"longitude_deg":75.6533376,"latitude_deg":11.9616832,"altitude":56,"angle":309,"satellites":32,"speed":5,"hex_longitude":"2d17c880","hex_latitude":"07213540","is_valid_coordinates":true} 
[2026-08-02 10:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125584128001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270688438910976,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163813064704,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785646814000,"timestamp_ms":1785646814000,"timestamp_seconds":1785646814,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d81330"} 
[2026-08-02 10:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:31: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-08-02 10:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-02 10:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125584128001,"66":14167,"107":206,"83":41984,"24":5,"16":10270688438910976,"45":1713901163813064704},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125584128001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:31:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270688438910976,"km_value":10270688438910.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163813064704,"description":"Unknown IO ID 45"} 
[2026-08-02 10:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125584128001,"power":14167,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1713901163813064704}} 
[2026-08-02 10:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":147762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:31:06] local.INFO: GPS data processed {"connection_id":147762,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:31:06] local.INFO: Acknowledgment sent {"connection_id":147762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:31:37] local.INFO: TCP Data received {"connection_id":147762,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d81718012d17c800072135e00038014e20..."} 
[2026-08-02 10:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d81718012d17c800072135e00038014e20..."} 
[2026-08-02 10:31:37] local.INFO: Processing buffer {"connection_id":147762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d81718012d17c800072135e00038014e20..."} 
[2026-08-02 10:31:37] local.INFO: Packet analysis {"connection_id":147762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:31:37] local.INFO: Extracted packet for processing {"connection_id":147762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756533248,"raw_latitude":119616992,"longitude_deg":75.6533248,"latitude_deg":11.9616992,"altitude":56,"angle":334,"satellites":32,"speed":9,"hex_longitude":"2d17c800","hex_latitude":"072135e0","is_valid_coordinates":true} 
[2026-08-02 10:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125584384001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270697028845568,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324738048,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785646815000,"timestamp_ms":1785646815000,"timestamp_seconds":1785646815,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d81718"} 
[2026-08-02 10:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-02 10:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125584384001,"66":14211,"107":206,"83":41984,"24":9,"16":10270697028845568,"45":1713760426324738048},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 10:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125584384001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:31:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 10:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270697028845568,"km_value":10270697028845.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324738048,"description":"Unknown IO ID 45"} 
[2026-08-02 10:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125584384001,"power":14211,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1713760426324738048}} 
[2026-08-02 10:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":147762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:31:37] local.INFO: GPS data processed {"connection_id":147762,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:31:37] local.INFO: Acknowledgment sent {"connection_id":147762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:31:41] local.INFO: TCP Data received {"connection_id":146739,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:31:41] local.INFO: Processing buffer {"connection_id":146739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:31:41] local.INFO: IMEI packet received {"connection_id":146739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":146739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:31:47] local.INFO: TCP Data received {"connection_id":146739,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:31:47] local.INFO: Processing buffer {"connection_id":146739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:31:47] local.INFO: IMEI packet received {"connection_id":146739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":146739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:31:48] local.INFO: TCP Data received {"connection_id":146739,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:31:48] local.INFO: Processing buffer {"connection_id":146739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:31:48] local.INFO: Packet analysis {"connection_id":146739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:31:48] local.INFO: Extracted packet for processing {"connection_id":146739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:31:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10: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-08-02 10:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125512192001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785646833000,"timestamp_ms":1785646833000,"timestamp_seconds":1785646833,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d85d68"} 
[2026-08-02 10:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-02 10:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10: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-08-02 10:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125512192001,"66":25952,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125512192001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:31:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:31:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:31:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125512192001,"power":25952,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":146739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:31:48] local.INFO: GPS data processed {"connection_id":146739,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:31:48] local.INFO: Acknowledgment sent {"connection_id":146739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:32:00] local.INFO: TCP Data received {"connection_id":149080,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:32:00] local.INFO: Processing buffer {"connection_id":149080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:32:00] local.INFO: IMEI packet received {"connection_id":149080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":149080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:32:00] local.INFO: TCP Data received {"connection_id":149080,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:32:00] local.INFO: Processing buffer {"connection_id":149080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:32:00] local.INFO: IMEI packet received {"connection_id":149080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":149080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:32:03] local.INFO: TCP Data received {"connection_id":149080,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:32:03] local.INFO: Processing buffer {"connection_id":149080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:32:03] local.INFO: IMEI packet received {"connection_id":149080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":149080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:32:05] local.INFO: TCP Data received {"connection_id":149080,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:32:05] local.INFO: Processing buffer {"connection_id":149080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:32:05] local.INFO: IMEI packet received {"connection_id":149080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":149080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:32:06] local.INFO: TCP Data received {"connection_id":149080,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d8ea08012d181f400721a8780045007420..."} 
[2026-08-02 10:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d8ea08012d181f400721a8780045007420..."} 
[2026-08-02 10:32:06] local.INFO: Processing buffer {"connection_id":149080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d8ea08012d181f400721a8780045007420..."} 
[2026-08-02 10:32:06] local.INFO: Packet analysis {"connection_id":149080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:32:06] local.INFO: Extracted packet for processing {"connection_id":149080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646328,"longitude_deg":75.6555584,"latitude_deg":11.9646328,"altitude":69,"angle":116,"satellites":32,"speed":8,"hex_longitude":"2d181f40","hex_latitude":"0721a878","is_valid_coordinates":true} 
[2026-08-02 10:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125598208001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10272505210077184,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585248256,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785646869000,"timestamp_ms":1785646869000,"timestamp_seconds":1785646869,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d8ea08"} 
[2026-08-02 10:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-02 10:32: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-08-02 10:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125598208001,"66":13004,"105":206,"83":41984,"24":8,"16":10272505210077184,"45":1737896905585248256},"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-08-02 10:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125598208001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:32:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 10:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10272505210077184,"km_value":10272505210077.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585248256,"description":"Unknown IO ID 45"} 
[2026-08-02 10:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125598208001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737896905585248256}} 
[2026-08-02 10:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":149080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:32:06] local.INFO: GPS data processed {"connection_id":149080,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:32:06] local.INFO: Acknowledgment sent {"connection_id":149080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:32:11] local.INFO: TCP Data received {"connection_id":149080,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d8f1d8012d1820c00721a7980046008020..."} 
[2026-08-02 10:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d8f1d8012d1820c00721a7980046008020..."} 
[2026-08-02 10:32:11] local.INFO: Processing buffer {"connection_id":149080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d8f1d8012d1820c00721a7980046008020..."} 
[2026-08-02 10:32:11] local.INFO: Packet analysis {"connection_id":149080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:32:11] local.INFO: Extracted packet for processing {"connection_id":149080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119646104,"longitude_deg":75.6555968,"latitude_deg":11.9646104,"altitude":70,"angle":128,"satellites":32,"speed":8,"hex_longitude":"2d1820c0","hex_latitude":"0721a798","is_valid_coordinates":true} 
[2026-08-02 10:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125598464001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10272526684913664,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561938432,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785646871000,"timestamp_ms":1785646871000,"timestamp_seconds":1785646871,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d8f1d8"} 
[2026-08-02 10:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-02 10:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125598464001,"66":12939,"105":206,"83":41984,"24":8,"16":10272526684913664,"45":1738178380561938432},"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-08-02 10:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125598464001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:32:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 10:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10272526684913664,"km_value":10272526684913.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561938432,"description":"Unknown IO ID 45"} 
[2026-08-02 10:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125598464001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738178380561938432}} 
[2026-08-02 10:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":149080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:32:11] local.INFO: GPS data processed {"connection_id":149080,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:32:11] local.INFO: Acknowledgment sent {"connection_id":149080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:32:20] local.INFO: TCP Data received {"connection_id":146739,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:32:20] local.INFO: Processing buffer {"connection_id":146739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:32:20] local.INFO: Packet analysis {"connection_id":146739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:32:20] local.INFO: Extracted packet for processing {"connection_id":146739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:32:20] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125512192001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785646833000,"timestamp_ms":1785646833000,"timestamp_seconds":1785646833,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d85d68"} 
[2026-08-02 10:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-02 10:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125512192001,"66":25952,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125512192001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:32:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:32:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125512192001,"power":25952,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":146739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:32:20] local.INFO: GPS data processed {"connection_id":146739,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:32:20] local.INFO: Acknowledgment sent {"connection_id":146739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:32:41] local.INFO: TCP Data received {"connection_id":149080,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d90178012d1824800721a3a00048008c20..."} 
[2026-08-02 10:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d90178012d1824800721a3a00048008c20..."} 
[2026-08-02 10:32:41] local.INFO: Processing buffer {"connection_id":149080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d90178012d1824800721a3a00048008c20..."} 
[2026-08-02 10:32:41] local.INFO: Packet analysis {"connection_id":149080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d9"} 
[2026-08-02 10:32:41] local.INFO: Extracted packet for processing {"connection_id":149080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d9"} 
[2026-08-02 10:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119645088,"longitude_deg":75.6556928,"latitude_deg":11.9645088,"altitude":72,"angle":140,"satellites":32,"speed":16,"hex_longitude":"2d182480","hex_latitude":"0721a3a0","is_valid_coordinates":true} 
[2026-08-02 10:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125598976001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10272595404390400,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593026947072,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785646875000,"timestamp_ms":1785646875000,"timestamp_seconds":1785646875,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d90178"} 
[2026-08-02 10:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-02 10:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":149080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":149080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":149080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:32: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-08-02 10:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125598976001,"66":12993,"105":206,"83":41984,"24":16,"16":10272595404390400,"45":1738600593026947072},"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-08-02 10:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125598976001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:32:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 10:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10272595404390400,"km_value":10272595404390.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593026947072,"description":"Unknown IO ID 45"} 
[2026-08-02 10:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125598976001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1738600593026947072}} 
[2026-08-02 10:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":149080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:32:41] local.INFO: GPS data processed {"connection_id":149080,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:32:41] local.INFO: Acknowledgment sent {"connection_id":149080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:32:47] local.INFO: TCP Data received {"connection_id":147763,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:32:47] local.INFO: Processing buffer {"connection_id":147763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:32:47] local.INFO: IMEI packet received {"connection_id":147763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":147763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:32:52] local.INFO: TCP Data received {"connection_id":147763,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:32:52] local.INFO: Processing buffer {"connection_id":147763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:32:52] local.INFO: IMEI packet received {"connection_id":147763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":147763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:32:53] local.INFO: TCP Data received {"connection_id":147763,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:32:53] local.INFO: Processing buffer {"connection_id":147763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:32:53] local.INFO: Packet analysis {"connection_id":147763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:32:53] local.INFO: Extracted packet for processing {"connection_id":147763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:32:53] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125512192001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785646833000,"timestamp_ms":1785646833000,"timestamp_seconds":1785646833,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d85d68"} 
[2026-08-02 10:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-02 10:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125512192001,"66":25952,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125512192001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:32:53] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:32:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:32:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125512192001,"power":25952,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":147763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:32:53] local.INFO: GPS data processed {"connection_id":147763,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:32:53] local.INFO: Acknowledgment sent {"connection_id":147763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:32:57] local.INFO: TCP Data received {"connection_id":147763,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:32:57] local.INFO: Processing buffer {"connection_id":147763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:32:57] local.INFO: Packet analysis {"connection_id":147763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:32:57] local.INFO: Extracted packet for processing {"connection_id":147763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:32:57] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125512192001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785646833000,"timestamp_ms":1785646833000,"timestamp_seconds":1785646833,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d85d68"} 
[2026-08-02 10:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-02 10:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125512192001,"66":25952,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125512192001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:32:57] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:32:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:32:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125512192001,"power":25952,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":147763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:32:57] local.INFO: GPS data processed {"connection_id":147763,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:32:57] local.INFO: Acknowledgment sent {"connection_id":147763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:33:00] local.INFO: TCP Data received {"connection_id":147764,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:33:00] local.INFO: Processing buffer {"connection_id":147764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:33:00] local.INFO: IMEI packet received {"connection_id":147764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":147764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:33:05] local.INFO: TCP Data received {"connection_id":147764,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:33:05] local.INFO: Processing buffer {"connection_id":147764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:33:05] local.INFO: IMEI packet received {"connection_id":147764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":147764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:33:06] local.INFO: TCP Data received {"connection_id":147764,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d91cd0012d182ac007219d880049007c20..."} 
[2026-08-02 10:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d91cd0012d182ac007219d880049007c20..."} 
[2026-08-02 10:33:06] local.INFO: Processing buffer {"connection_id":147764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d91cd0012d182ac007219d880049007c20..."} 
[2026-08-02 10:33:06] local.INFO: Packet analysis {"connection_id":147764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d9"} 
[2026-08-02 10:33:06] local.INFO: Extracted packet for processing {"connection_id":147764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d9"} 
[2026-08-02 10:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643528,"longitude_deg":75.6558528,"latitude_deg":11.9643528,"altitude":73,"angle":124,"satellites":32,"speed":9,"hex_longitude":"2d182ac0","hex_latitude":"07219d88","is_valid_coordinates":true} 
[2026-08-02 10:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125600000001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10272702778572800,"note":"Value kept but may cause issues"} 
[2026-08-02 10:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124189351936,"note":"Value kept but may cause issues"} 
[2026-08-02 10:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785646882000,"timestamp_ms":1785646882000,"timestamp_seconds":1785646882,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d91cd0"} 
[2026-08-02 10:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125600000001,"66":12961,"105":206,"83":41984,"24":9,"16":10272702778572800,"45":1739656124189351936},"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-08-02 10:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125600000001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:33:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 10:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10272702778572800,"km_value":10272702778572.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124189351936,"description":"Unknown IO ID 45"} 
[2026-08-02 10:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125600000001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1739656124189351936}} 
[2026-08-02 10:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":147764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:33:06] local.INFO: GPS data processed {"connection_id":147764,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:33:06] local.INFO: Acknowledgment sent {"connection_id":147764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:33:37] local.INFO: TCP Data received {"connection_id":147764,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d924a0012d182c4007219ca00049007020..."} 
[2026-08-02 10:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d924a0012d182c4007219ca00049007020..."} 
[2026-08-02 10:33:37] local.INFO: Processing buffer {"connection_id":147764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d924a0012d182c4007219ca00049007020..."} 
[2026-08-02 10:33:37] local.INFO: Packet analysis {"connection_id":147764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d9"} 
[2026-08-02 10:33:37] local.INFO: Extracted packet for processing {"connection_id":147764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d9"} 
[2026-08-02 10:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756558912,"raw_latitude":119643296,"longitude_deg":75.6558912,"latitude_deg":11.9643296,"altitude":73,"angle":112,"satellites":32,"speed":9,"hex_longitude":"2d182c40","hex_latitude":"07219ca0","is_valid_coordinates":true} 
[2026-08-02 10: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-08-02 10:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125601792001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10272724253409280,"note":"Value kept but may cause issues"} 
[2026-08-02 10:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793394176,"note":"Value kept but may cause issues"} 
[2026-08-02 10:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785646884000,"timestamp_ms":1785646884000,"timestamp_seconds":1785646884,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d924a0"} 
[2026-08-02 10:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-02 10:33: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-08-02 10: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-08-02 10:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125601792001,"66":12950,"105":206,"83":41984,"24":9,"16":10272724253409280,"45":1741415342793394176},"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-08-02 10:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125601792001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:33:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 10:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10272724253409280,"km_value":10272724253409.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793394176,"description":"Unknown IO ID 45"} 
[2026-08-02 10:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125601792001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1741415342793394176}} 
[2026-08-02 10:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":147764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:33:37] local.INFO: GPS data processed {"connection_id":147764,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:33:37] local.INFO: Acknowledgment sent {"connection_id":147764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:33:47] local.INFO: TCP Data received {"connection_id":149081,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:33:47] local.INFO: Processing buffer {"connection_id":149081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:33:47] local.INFO: IMEI packet received {"connection_id":149081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":149081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:33:52] local.INFO: TCP Data received {"connection_id":149081,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:33:52] local.INFO: Processing buffer {"connection_id":149081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:33:52] local.INFO: IMEI packet received {"connection_id":149081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":149081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:33:53] local.INFO: TCP Data received {"connection_id":149081,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:33:53] local.INFO: Processing buffer {"connection_id":149081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:33:53] local.INFO: Packet analysis {"connection_id":149081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:33:53] local.INFO: Extracted packet for processing {"connection_id":149081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:33:53] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125512192001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:33:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785646833000,"timestamp_ms":1785646833000,"timestamp_seconds":1785646833,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d85d68"} 
[2026-08-02 10:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-02 10:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125512192001,"66":25952,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125512192001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:33:53] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:33:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:33:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125512192001,"power":25952,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":149081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:33:53] local.INFO: GPS data processed {"connection_id":149081,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:33:53] local.INFO: Acknowledgment sent {"connection_id":149081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:33:57] local.INFO: TCP Data received {"connection_id":149081,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:33:57] local.INFO: Processing buffer {"connection_id":149081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:33:57] local.INFO: Packet analysis {"connection_id":149081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:33:57] local.INFO: Extracted packet for processing {"connection_id":149081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:33:57] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125512192001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:33:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785646833000,"timestamp_ms":1785646833000,"timestamp_seconds":1785646833,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d85d68"} 
[2026-08-02 10:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-02 10:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125512192001,"66":25952,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125512192001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:33:57] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:33:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:33:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125512192001,"power":25952,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":149081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:33:58] local.INFO: GPS data processed {"connection_id":149081,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:33:58] local.INFO: Acknowledgment sent {"connection_id":149081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:34:00] local.INFO: TCP Data received {"connection_id":146531,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:34:00] local.INFO: Processing buffer {"connection_id":146531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:34:00] local.INFO: IMEI packet received {"connection_id":146531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":146531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:34:01] local.INFO: TCP Data received {"connection_id":146531,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:34:01] local.INFO: Processing buffer {"connection_id":146531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:34:01] local.INFO: IMEI packet received {"connection_id":146531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":146531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:34:05] local.INFO: TCP Data received {"connection_id":146531,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:34:05] local.INFO: Processing buffer {"connection_id":146531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:34:05] local.INFO: IMEI packet received {"connection_id":146531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":146531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:34:06] local.INFO: TCP Data received {"connection_id":146531,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d976a8012d18308007219a580049007b20..."} 
[2026-08-02 10:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d976a8012d18308007219a580049007b20..."} 
[2026-08-02 10:34:06] local.INFO: Processing buffer {"connection_id":146531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d976a8012d18308007219a580049007b20..."} 
[2026-08-02 10:34:06] local.INFO: Packet analysis {"connection_id":146531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d9"} 
[2026-08-02 10:34:06] local.INFO: Extracted packet for processing {"connection_id":146531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d9"} 
[2026-08-02 10:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756560000,"raw_latitude":119642712,"longitude_deg":75.656,"latitude_deg":11.9642712,"altitude":73,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d183080","hex_latitude":"07219a58","is_valid_coordinates":true} 
[2026-08-02 10:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125602304001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10272780087984128,"note":"Value kept but may cause issues"} 
[2026-08-02 10:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741837555258400768,"note":"Value kept but may cause issues"} 
[2026-08-02 10:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785646905000,"timestamp_ms":1785646905000,"timestamp_seconds":1785646905,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d976a8"} 
[2026-08-02 10:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-02 10:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125602304001,"66":12863,"105":206,"83":41984,"24":0,"16":10272780087984128,"45":1741837555258400768},"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-08-02 10:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125602304001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:34:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 10:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10272780087984128,"km_value":10272780087984.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741837555258400768,"description":"Unknown IO ID 45"} 
[2026-08-02 10:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125602304001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741837555258400768}} 
[2026-08-02 10:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":146531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:34:06] local.INFO: GPS data processed {"connection_id":146531,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:34:06] local.INFO: Acknowledgment sent {"connection_id":146531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:34:37] local.INFO: TCP Data received {"connection_id":146531,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d9c8b0012d18308007219a580049007b21..."} 
[2026-08-02 10:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d9c8b0012d18308007219a580049007b21..."} 
[2026-08-02 10:34:37] local.INFO: Processing buffer {"connection_id":146531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d9c8b0012d18308007219a580049007b21..."} 
[2026-08-02 10:34:37] local.INFO: Packet analysis {"connection_id":146531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d9"} 
[2026-08-02 10:34:37] local.INFO: Extracted packet for processing {"connection_id":146531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d9"} 
[2026-08-02 10:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756560000,"raw_latitude":119642712,"longitude_deg":75.656,"latitude_deg":11.9642712,"altitude":73,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d183080","hex_latitude":"07219a58","is_valid_coordinates":true} 
[2026-08-02 10:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125607680001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10272780087984128,"note":"Value kept but may cause issues"} 
[2026-08-02 10:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743033823909271552,"note":"Value kept but may cause issues"} 
[2026-08-02 10:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785646926000,"timestamp_ms":1785646926000,"timestamp_seconds":1785646926,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d9c8b0"} 
[2026-08-02 10:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-02 10:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125607680001,"66":12841,"105":206,"83":41984,"24":0,"16":10272780087984128,"45":1743033823909271552},"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-08-02 10:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125607680001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:34:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 10:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10272780087984128,"km_value":10272780087984.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743033823909271552,"description":"Unknown IO ID 45"} 
[2026-08-02 10:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125607680001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1743033823909271552}} 
[2026-08-02 10:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":146531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:34:37] local.INFO: GPS data processed {"connection_id":146531,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:34:37] local.INFO: Acknowledgment sent {"connection_id":146531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:34:42] local.INFO: TCP Data received {"connection_id":147765,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:34:42] local.INFO: Processing buffer {"connection_id":147765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:34:42] local.INFO: IMEI packet received {"connection_id":147765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":147765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:34:47] local.INFO: TCP Data received {"connection_id":147765,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:34:47] local.INFO: Processing buffer {"connection_id":147765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:34:47] local.INFO: IMEI packet received {"connection_id":147765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":147765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:34:48] local.INFO: TCP Data received {"connection_id":147765,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:34:48] local.INFO: Processing buffer {"connection_id":147765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:34:48] local.INFO: Packet analysis {"connection_id":147765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:34:48] local.INFO: Extracted packet for processing {"connection_id":147765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:34:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125512192001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:34:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785646833000,"timestamp_ms":1785646833000,"timestamp_seconds":1785646833,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d85d68"} 
[2026-08-02 10:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-02 10:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125512192001,"66":25952,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125512192001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:34:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:34:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:34:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125512192001,"power":25952,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":147765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:34:48] local.INFO: GPS data processed {"connection_id":147765,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:34:48] local.INFO: Acknowledgment sent {"connection_id":147765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:35:00] local.INFO: TCP Data received {"connection_id":147766,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:35:00] local.INFO: Processing buffer {"connection_id":147766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:35:00] local.INFO: IMEI packet received {"connection_id":147766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":147766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:35:00] local.INFO: TCP Data received {"connection_id":147766,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:35:00] local.INFO: Processing buffer {"connection_id":147766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:35:00] local.INFO: IMEI packet received {"connection_id":147766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":147766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:35:03] local.INFO: TCP Data received {"connection_id":147766,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:35:03] local.INFO: Processing buffer {"connection_id":147766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:35:03] local.INFO: IMEI packet received {"connection_id":147766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":147766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:35:04] local.INFO: TCP Data received {"connection_id":147766,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:35:04] local.INFO: Processing buffer {"connection_id":147766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:35:04] local.INFO: IMEI packet received {"connection_id":147766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":147766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:35:20] local.INFO: TCP Data received {"connection_id":147765,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:35:20] local.INFO: Processing buffer {"connection_id":147765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:35:20] local.INFO: Packet analysis {"connection_id":147765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:35:20] local.INFO: Extracted packet for processing {"connection_id":147765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:35:20] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125512192001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785646833000,"timestamp_ms":1785646833000,"timestamp_seconds":1785646833,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d85d68"} 
[2026-08-02 10:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-02 10:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125512192001,"66":25952,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125512192001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:35:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:35:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125512192001,"power":25952,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":147765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:35:20] local.INFO: GPS data processed {"connection_id":147765,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:35:20] local.INFO: Acknowledgment sent {"connection_id":147765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:35:42] local.INFO: TCP Data received {"connection_id":149082,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:35:42] local.INFO: Processing buffer {"connection_id":149082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:35:42] local.INFO: IMEI packet received {"connection_id":149082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":149082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:35:46] local.INFO: TCP Data received {"connection_id":149082,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:35:46] local.INFO: Processing buffer {"connection_id":149082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:35:46] local.INFO: IMEI packet received {"connection_id":149082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":149082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:35:48] local.INFO: TCP Data received {"connection_id":149082,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:35:48] local.INFO: Processing buffer {"connection_id":149082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0d85d68012cc332c007685810005801602b..."} 
[2026-08-02 10:35:48] local.INFO: Packet analysis {"connection_id":149082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:35:48] local.INFO: Extracted packet for processing {"connection_id":149082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0d8"} 
[2026-08-02 10:35:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10: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-08-02 10:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125512192001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:35:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785646833000,"timestamp_ms":1785646833000,"timestamp_seconds":1785646833,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0d85d68"} 
[2026-08-02 10:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-02 10:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10: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-08-02 10:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125512192001,"66":25952,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125512192001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:35:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:35:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:35:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125512192001,"power":25952,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":149082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:35:48] local.INFO: GPS data processed {"connection_id":149082,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:35:48] local.INFO: Acknowledgment sent {"connection_id":149082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:36:20] local.INFO: TCP Data received {"connection_id":149082,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:36:20] local.INFO: Processing buffer {"connection_id":149082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:36:20] local.INFO: Packet analysis {"connection_id":149082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:36:20] local.INFO: Extracted packet for processing {"connection_id":149082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:36:20] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125589248001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785647134000,"timestamp_ms":1785647134000,"timestamp_seconds":1785647134,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0dcf530"} 
[2026-08-02 10:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 10:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125589248001,"66":25908,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125589248001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:36:20] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:36:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125589248001,"power":25908,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":149082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:36:20] local.INFO: GPS data processed {"connection_id":149082,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:36:20] local.INFO: Acknowledgment sent {"connection_id":149082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:36:41] local.INFO: TCP Data received {"connection_id":149083,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:36:41] local.INFO: Processing buffer {"connection_id":149083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:36:41] local.INFO: IMEI packet received {"connection_id":149083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":149083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:36:48] local.INFO: TCP Data received {"connection_id":149083,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:36:48] local.INFO: Processing buffer {"connection_id":149083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:36:48] local.INFO: IMEI packet received {"connection_id":149083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":149083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:36:49] local.INFO: TCP Data received {"connection_id":149083,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:36:49] local.INFO: Processing buffer {"connection_id":149083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:36:49] local.INFO: Packet analysis {"connection_id":149083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:36:49] local.INFO: Extracted packet for processing {"connection_id":149083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:36:49] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125589248001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:36:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785647134000,"timestamp_ms":1785647134000,"timestamp_seconds":1785647134,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0dcf530"} 
[2026-08-02 10:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 10:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125589248001,"66":25908,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125589248001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:36:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:36:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:36:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125589248001,"power":25908,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":149083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:36:49] local.INFO: GPS data processed {"connection_id":149083,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:36:49] local.INFO: Acknowledgment sent {"connection_id":149083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:37:21] local.INFO: TCP Data received {"connection_id":149083,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:37:21] local.INFO: Processing buffer {"connection_id":149083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:37:21] local.INFO: Packet analysis {"connection_id":149083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:37:21] local.INFO: Extracted packet for processing {"connection_id":149083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:37:21] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125589248001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785647134000,"timestamp_ms":1785647134000,"timestamp_seconds":1785647134,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0dcf530"} 
[2026-08-02 10:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 10:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125589248001,"66":25908,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125589248001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:37:21] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:37:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125589248001,"power":25908,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":149083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:37:21] local.INFO: GPS data processed {"connection_id":149083,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:37:21] local.INFO: Acknowledgment sent {"connection_id":149083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:37:41] local.INFO: TCP Data received {"connection_id":149084,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:37:41] local.INFO: Processing buffer {"connection_id":149084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:37:41] local.INFO: IMEI packet received {"connection_id":149084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":149084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:37:48] local.INFO: TCP Data received {"connection_id":149084,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:37:48] local.INFO: Processing buffer {"connection_id":149084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:37:48] local.INFO: IMEI packet received {"connection_id":149084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":149084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:37:50] local.INFO: TCP Data received {"connection_id":149084,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:37:50] local.INFO: Processing buffer {"connection_id":149084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:37:50] local.INFO: Packet analysis {"connection_id":149084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:37:50] local.INFO: Extracted packet for processing {"connection_id":149084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:37:50] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125589248001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:37:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785647134000,"timestamp_ms":1785647134000,"timestamp_seconds":1785647134,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0dcf530"} 
[2026-08-02 10:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 10:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125589248001,"66":25908,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125589248001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:37:50] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:37:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:37:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125589248001,"power":25908,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":149084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:37:50] local.INFO: GPS data processed {"connection_id":149084,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:37:50] local.INFO: Acknowledgment sent {"connection_id":149084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:38:21] local.INFO: TCP Data received {"connection_id":149084,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:38:21] local.INFO: Processing buffer {"connection_id":149084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:38:21] local.INFO: Packet analysis {"connection_id":149084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:38:21] local.INFO: Extracted packet for processing {"connection_id":149084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:38:21] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125589248001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785647134000,"timestamp_ms":1785647134000,"timestamp_seconds":1785647134,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0dcf530"} 
[2026-08-02 10:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 10:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125589248001,"66":25908,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125589248001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:38:21] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:38:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125589248001,"power":25908,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":149084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:38:21] local.INFO: GPS data processed {"connection_id":149084,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:38:21] local.INFO: Acknowledgment sent {"connection_id":149084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:38:41] local.INFO: TCP Data received {"connection_id":149085,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:38:41] local.INFO: Processing buffer {"connection_id":149085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:38:41] local.INFO: IMEI packet received {"connection_id":149085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":149085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:38:47] local.INFO: TCP Data received {"connection_id":149085,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:38:47] local.INFO: Processing buffer {"connection_id":149085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:38:47] local.INFO: IMEI packet received {"connection_id":149085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":149085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:38:48] local.INFO: TCP Data received {"connection_id":149085,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:38:48] local.INFO: Processing buffer {"connection_id":149085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:38:48] local.INFO: Packet analysis {"connection_id":149085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:38:48] local.INFO: Extracted packet for processing {"connection_id":149085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:38:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125589248001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:38:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785647134000,"timestamp_ms":1785647134000,"timestamp_seconds":1785647134,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0dcf530"} 
[2026-08-02 10:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 10:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125589248001,"66":25908,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125589248001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:38:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:38:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:38:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125589248001,"power":25908,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":149085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:38:48] local.INFO: GPS data processed {"connection_id":149085,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:38:48] local.INFO: Acknowledgment sent {"connection_id":149085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:39:19] local.INFO: TCP Data received {"connection_id":149085,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:39:19] local.INFO: Processing buffer {"connection_id":149085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:39:19] local.INFO: Packet analysis {"connection_id":149085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:39:19] local.INFO: Extracted packet for processing {"connection_id":149085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:39:19] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125589248001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:39:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785647134000,"timestamp_ms":1785647134000,"timestamp_seconds":1785647134,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0dcf530"} 
[2026-08-02 10:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 10:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125589248001,"66":25908,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125589248001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:39:19] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:39:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:39:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125589248001,"power":25908,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":149085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:39:19] local.INFO: GPS data processed {"connection_id":149085,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:39:19] local.INFO: Acknowledgment sent {"connection_id":149085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:39:47] local.INFO: TCP Data received {"connection_id":146532,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:39:47] local.INFO: Processing buffer {"connection_id":146532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:39:47] local.INFO: IMEI packet received {"connection_id":146532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":146532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:39:52] local.INFO: TCP Data received {"connection_id":146532,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:39:52] local.INFO: Processing buffer {"connection_id":146532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:39:52] local.INFO: IMEI packet received {"connection_id":146532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":146532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:39:56] local.INFO: TCP Data received {"connection_id":146532,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:39:56] local.INFO: Processing buffer {"connection_id":146532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:39:56] local.INFO: Packet analysis {"connection_id":146532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:39:56] local.INFO: Extracted packet for processing {"connection_id":146532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:39:56] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10: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-08-02 10:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125589248001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:39:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785647134000,"timestamp_ms":1785647134000,"timestamp_seconds":1785647134,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0dcf530"} 
[2026-08-02 10:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 10:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10: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-08-02 10:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125589248001,"66":25908,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125589248001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:39:56] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:39:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:39:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125589248001,"power":25908,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":146532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:39:56] local.INFO: GPS data processed {"connection_id":146532,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:39:56] local.INFO: Acknowledgment sent {"connection_id":146532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:40:04] local.INFO: TCP Data received {"connection_id":146532,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:40:04] local.INFO: Processing buffer {"connection_id":146532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:40:04] local.INFO: Packet analysis {"connection_id":146532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:40:04] local.INFO: Extracted packet for processing {"connection_id":146532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:40:04] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125589248001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:40:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785647134000,"timestamp_ms":1785647134000,"timestamp_seconds":1785647134,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0dcf530"} 
[2026-08-02 10:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 10:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125589248001,"66":25908,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125589248001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:40:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:40:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:40:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125589248001,"power":25908,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":146532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:40:04] local.INFO: GPS data processed {"connection_id":146532,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:40:04] local.INFO: Acknowledgment sent {"connection_id":146532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:40:05] local.INFO: TCP Data received {"connection_id":146533,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:40:05] local.INFO: Processing buffer {"connection_id":146533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:40:05] local.INFO: IMEI packet received {"connection_id":146533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":146533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:40:06] local.INFO: TCP Data received {"connection_id":146533,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0dfeee8012d1957400720abf8002d005c23..."} 
[2026-08-02 10:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0dfeee8012d1957400720abf8002d005c23..."} 
[2026-08-02 10:40:06] local.INFO: Processing buffer {"connection_id":146533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0dfeee8012d1957400720abf8002d005c23..."} 
[2026-08-02 10:40:06] local.INFO: Packet analysis {"connection_id":146533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0df"} 
[2026-08-02 10:40:06] local.INFO: Extracted packet for processing {"connection_id":146533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0df"} 
[2026-08-02 10:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119581688,"longitude_deg":75.6635456,"latitude_deg":11.9581688,"altitude":45,"angle":92,"satellites":35,"speed":35,"hex_longitude":"2d195740","hex_latitude":"0720abf8","is_valid_coordinates":true} 
[2026-08-02 10:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125715712001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277921163837440,"note":"Value kept but may cause issues"} 
[2026-08-02 10:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879698032640,"note":"Value kept but may cause issues"} 
[2026-08-02 10:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785647329000,"timestamp_ms":1785647329000,"timestamp_seconds":1785647329,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0dfeee8"} 
[2026-08-02 10:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":38,"data_length":795,"current_offset":136} 
[2026-08-02 10:40: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-08-02 10:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125715712001,"66":14265,"103":206,"83":41984,"24":35,"16":10277921163837440,"45":1823957879698032640},"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-08-02 10:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125715712001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:40:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277921163837440,"km_value":10277921163837.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879698032640,"description":"Unknown IO ID 45"} 
[2026-08-02 10:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125715712001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1823957879698032640}} 
[2026-08-02 10:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":146533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:40:06] local.INFO: GPS data processed {"connection_id":146533,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:40:06] local.INFO: Acknowledgment sent {"connection_id":146533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:40:37] local.INFO: TCP Data received {"connection_id":146533,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e0aa68012d19b3c0072074d80028009e22..."} 
[2026-08-02 10:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e0aa68012d19b3c0072074d80028009e22..."} 
[2026-08-02 10:40:37] local.INFO: Processing buffer {"connection_id":146533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e0aa68012d19b3c0072074d80028009e22..."} 
[2026-08-02 10:40:37] local.INFO: Packet analysis {"connection_id":146533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e0"} 
[2026-08-02 10:40:37] local.INFO: Extracted packet for processing {"connection_id":146533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e0"} 
[2026-08-02 10:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756659136,"raw_latitude":119567576,"longitude_deg":75.6659136,"latitude_deg":11.9567576,"altitude":40,"angle":158,"satellites":34,"speed":28,"hex_longitude":"2d19b3c0","hex_latitude":"072074d8","is_valid_coordinates":true} 
[2026-08-02 10: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-08-02 10:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125727232001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10279892553826304,"note":"Value kept but may cause issues"} 
[2026-08-02 10:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002483099648,"note":"Value kept but may cause issues"} 
[2026-08-02 10:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785647377000,"timestamp_ms":1785647377000,"timestamp_seconds":1785647377,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e0aa68"} 
[2026-08-02 10:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 10:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10: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-08-02 10:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125727232001,"66":14265,"103":206,"83":41984,"24":28,"16":10279892553826304,"45":1850698002483099648},"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-08-02 10:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125727232001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:40:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10279892553826304,"km_value":10279892553826.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002483099648,"description":"Unknown IO ID 45"} 
[2026-08-02 10:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125727232001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1850698002483099648}} 
[2026-08-02 10:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":146533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:40:38] local.INFO: GPS data processed {"connection_id":146533,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:40:38] local.INFO: Acknowledgment sent {"connection_id":146533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:40:42] local.INFO: TCP Data received {"connection_id":146743,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:40:42] local.INFO: Processing buffer {"connection_id":146743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:40:42] local.INFO: IMEI packet received {"connection_id":146743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":146743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:40:47] local.INFO: TCP Data received {"connection_id":146743,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:40:47] local.INFO: Processing buffer {"connection_id":146743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:40:47] local.INFO: IMEI packet received {"connection_id":146743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":146743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:40:48] local.INFO: TCP Data received {"connection_id":146743,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:40:48] local.INFO: Processing buffer {"connection_id":146743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0dcf530012cc332c007685810005801602b..."} 
[2026-08-02 10:40:48] local.INFO: Packet analysis {"connection_id":146743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:40:48] local.INFO: Extracted packet for processing {"connection_id":146743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0dc"} 
[2026-08-02 10:40:48] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125589248001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:40:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785647134000,"timestamp_ms":1785647134000,"timestamp_seconds":1785647134,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0dcf530"} 
[2026-08-02 10:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 10:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125589248001,"66":25908,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125589248001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:40:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:40:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:40:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125589248001,"power":25908,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":146743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:40:48] local.INFO: GPS data processed {"connection_id":146743,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:40:48] local.INFO: Acknowledgment sent {"connection_id":146743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:40:59] local.INFO: TCP Data received {"connection_id":146744,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:40:59] local.INFO: Processing buffer {"connection_id":146744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:40:59] local.INFO: IMEI packet received {"connection_id":146744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":146744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:41:00] local.INFO: TCP Data received {"connection_id":146744,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:41:00] local.INFO: Processing buffer {"connection_id":146744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:41:00] local.INFO: IMEI packet received {"connection_id":146744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":146744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:41:03] local.INFO: TCP Data received {"connection_id":146744,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:41:03] local.INFO: Processing buffer {"connection_id":146744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:41:03] local.INFO: IMEI packet received {"connection_id":146744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":146744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:41:05] local.INFO: TCP Data received {"connection_id":146744,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:41:05] local.INFO: Processing buffer {"connection_id":146744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:41:05] local.INFO: IMEI packet received {"connection_id":146744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":146744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:41:06] local.INFO: TCP Data received {"connection_id":146744,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e0e118012d19b54007207038002800ac20..."} 
[2026-08-02 10:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e0e118012d19b54007207038002800ac20..."} 
[2026-08-02 10:41:06] local.INFO: Processing buffer {"connection_id":146744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e0e118012d19b54007207038002800ac20..."} 
[2026-08-02 10:41:06] local.INFO: Packet analysis {"connection_id":146744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e0"} 
[2026-08-02 10:41:06] local.INFO: Extracted packet for processing {"connection_id":146744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e0"} 
[2026-08-02 10:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756659520,"raw_latitude":119566392,"longitude_deg":75.665952,"latitude_deg":11.9566392,"altitude":40,"angle":172,"satellites":32,"speed":3,"hex_longitude":"2d19b540","hex_latitude":"07207038","is_valid_coordinates":true} 
[2026-08-02 10:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125728512001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10279956978335744,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852035008621238272,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785647391000,"timestamp_ms":1785647391000,"timestamp_seconds":1785647391,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e0e118"} 
[2026-08-02 10:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:41: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-08-02 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 10:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125728512001,"66":14157,"103":206,"83":41984,"24":3,"16":10279956978335744,"45":1852035008621238272},"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-08-02 10:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125728512001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:41:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10279956978335744,"km_value":10279956978335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852035008621238272,"description":"Unknown IO ID 45"} 
[2026-08-02 10:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125728512001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1852035008621238272}} 
[2026-08-02 10:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":146744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:41:06] local.INFO: GPS data processed {"connection_id":146744,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:41:06] local.INFO: Acknowledgment sent {"connection_id":146744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:41:06] local.INFO: TCP Data received {"connection_id":146744,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e0f0b8012d19b6c007206c400026009821..."} 
[2026-08-02 10:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e0f0b8012d19b6c007206c400026009821..."} 
[2026-08-02 10:41:06] local.INFO: Processing buffer {"connection_id":146744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e0f0b8012d19b6c007206c400026009821..."} 
[2026-08-02 10:41:06] local.INFO: Packet analysis {"connection_id":146744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e0"} 
[2026-08-02 10:41:06] local.INFO: Extracted packet for processing {"connection_id":146744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e0"} 
[2026-08-02 10:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756659904,"raw_latitude":119565376,"longitude_deg":75.6659904,"latitude_deg":11.9565376,"altitude":38,"angle":152,"satellites":33,"speed":15,"hex_longitude":"2d19b6c0","hex_latitude":"07206c40","is_valid_coordinates":true} 
[2026-08-02 10:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125732096001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10280008517943296,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852457221086001152,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785647395000,"timestamp_ms":1785647395000,"timestamp_seconds":1785647395,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e0f0b8"} 
[2026-08-02 10:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:41: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-08-02 10: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 10:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125732096001,"66":13928,"103":206,"83":41984,"24":15,"16":10280008517943296,"45":1852457221086001152},"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-08-02 10:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125732096001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:41:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10280008517943296,"km_value":10280008517943.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852457221086001152,"description":"Unknown IO ID 45"} 
[2026-08-02 10:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125732096001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1852457221086001152}} 
[2026-08-02 10:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":146744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:41:07] local.INFO: GPS data processed {"connection_id":146744,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:41:07] local.INFO: Acknowledgment sent {"connection_id":146744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:41:28] local.INFO: TCP Data received {"connection_id":146743,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e18cf8012cc332c007685810005801602b..."} 
[2026-08-02 10:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e18cf8012cc332c007685810005801602b..."} 
[2026-08-02 10:41:28] local.INFO: Processing buffer {"connection_id":146743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e18cf8012cc332c007685810005801602b..."} 
[2026-08-02 10:41:28] local.INFO: Packet analysis {"connection_id":146743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e1"} 
[2026-08-02 10:41:28] local.INFO: Extracted packet for processing {"connection_id":146743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e1"} 
[2026-08-02 10:41:28] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10: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-08-02 10:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125666304001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785647435000,"timestamp_ms":1785647435000,"timestamp_seconds":1785647435,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e18cf8"} 
[2026-08-02 10:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-02 10:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10: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-08-02 10:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":146743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":146743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":146743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125666304001,"66":25875,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125666304001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:41:28] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:41:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:41:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125666304001,"power":25875,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":146743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:41:28] local.INFO: GPS data processed {"connection_id":146743,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:41:28] local.INFO: Acknowledgment sent {"connection_id":146743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:41:37] local.INFO: TCP Data received {"connection_id":146744,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e1a850012d19d680071ffe50002500e523..."} 
[2026-08-02 10:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e1a850012d19d680071ffe50002500e523..."} 
[2026-08-02 10:41:37] local.INFO: Processing buffer {"connection_id":146744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e1a850012d19d680071ffe50002500e523..."} 
[2026-08-02 10:41:37] local.INFO: Packet analysis {"connection_id":146744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e1"} 
[2026-08-02 10:41:37] local.INFO: Extracted packet for processing {"connection_id":146744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e1"} 
[2026-08-02 10:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119537232,"longitude_deg":75.6668032,"latitude_deg":11.9537232,"altitude":37,"angle":229,"satellites":35,"speed":22,"hex_longitude":"2d19d680","hex_latitude":"071ffe50","is_valid_coordinates":true} 
[2026-08-02 10:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125743872001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10281567591071744,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326380005376,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785647442000,"timestamp_ms":1785647442000,"timestamp_seconds":1785647442,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e1a850"} 
[2026-08-02 10:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-02 10:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125743872001,"66":14428,"101":206,"83":41984,"24":22,"16":10281567591071744,"45":1863927326380005376},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 10:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125743872001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:41:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 10:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10281567591071744,"km_value":10281567591071.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326380005376,"description":"Unknown IO ID 45"} 
[2026-08-02 10:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125743872001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1863927326380005376}} 
[2026-08-02 10:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":146744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:41:38] local.INFO: GPS data processed {"connection_id":146744,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:41:38] local.INFO: Acknowledgment sent {"connection_id":146744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:41:51] local.INFO: TCP Data received {"connection_id":147768,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:41:51] local.INFO: Processing buffer {"connection_id":147768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:41:51] local.INFO: IMEI packet received {"connection_id":147768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":147768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:41:57] local.INFO: TCP Data received {"connection_id":147768,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:41:57] local.INFO: Processing buffer {"connection_id":147768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:41:57] local.INFO: IMEI packet received {"connection_id":147768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":147768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:41:59] local.INFO: TCP Data received {"connection_id":147768,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e18cf8012cc332c007685810005801602b..."} 
[2026-08-02 10:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e18cf8012cc332c007685810005801602b..."} 
[2026-08-02 10:41:59] local.INFO: Processing buffer {"connection_id":147768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e18cf8012cc332c007685810005801602b..."} 
[2026-08-02 10:41:59] local.INFO: Packet analysis {"connection_id":147768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e1"} 
[2026-08-02 10:41:59] local.INFO: Extracted packet for processing {"connection_id":147768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e1"} 
[2026-08-02 10:41:59] local.INFO: GPS Element Parsed {"raw_longitude":750990016,"raw_latitude":124278800,"longitude_deg":75.0990016,"latitude_deg":12.42788,"altitude":88,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2cc332c0","hex_latitude":"07685810","is_valid_coordinates":true} 
[2026-08-02 10:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125666304001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381228349430165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785647435000,"timestamp_ms":1785647435000,"timestamp_seconds":1785647435,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e18cf8"} 
[2026-08-02 10:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-02 10:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125666304001,"66":25875,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381228349430165504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125666304001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:41:59] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:41:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:41:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381228349430165504,"description":"Unknown IO ID 44"} 
[2026-08-02 10:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125666304001,"power":25875,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381228349430165504}} 
[2026-08-02 10:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":147768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:41:59] local.INFO: GPS data processed {"connection_id":147768,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:41:59] local.INFO: Acknowledgment sent {"connection_id":147768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:41:59] local.INFO: TCP Data received {"connection_id":146745,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:41:59] local.INFO: Processing buffer {"connection_id":146745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:41:59] local.INFO: IMEI packet received {"connection_id":146745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":146745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:42:00] local.INFO: TCP Data received {"connection_id":146745,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:42:00] local.INFO: Processing buffer {"connection_id":146745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:42:00] local.INFO: IMEI packet received {"connection_id":146745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":146745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:42:01] local.INFO: TCP Data received {"connection_id":146745,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:42:01] local.INFO: Processing buffer {"connection_id":146745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:42:01] local.INFO: IMEI packet received {"connection_id":146745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":146745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:42:05] local.INFO: TCP Data received {"connection_id":146745,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:42:05] local.INFO: Processing buffer {"connection_id":146745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:42:05] local.INFO: IMEI packet received {"connection_id":146745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":146745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:42:06] local.INFO: TCP Data received {"connection_id":146745,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e1b020012d19d240071ffbf8002500f023..."} 
[2026-08-02 10:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e1b020012d19d240071ffbf8002500f023..."} 
[2026-08-02 10:42:06] local.INFO: Processing buffer {"connection_id":146745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e1b020012d19d240071ffbf8002500f023..."} 
[2026-08-02 10:42:06] local.INFO: Packet analysis {"connection_id":146745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e1"} 
[2026-08-02 10:42:06] local.INFO: Extracted packet for processing {"connection_id":146745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e1"} 
[2026-08-02 10:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756666944,"raw_latitude":119536632,"longitude_deg":75.6666944,"latitude_deg":11.9536632,"altitude":37,"angle":240,"satellites":35,"speed":23,"hex_longitude":"2d19d240","hex_latitude":"071ffbf8","is_valid_coordinates":true} 
[2026-08-02 10:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125745152001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10281623425646592,"note":"Value kept but may cause issues"} 
[2026-08-02 10:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264054165504,"note":"Value kept but may cause issues"} 
[2026-08-02 10:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785647444000,"timestamp_ms":1785647444000,"timestamp_seconds":1785647444,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e1b020"} 
[2026-08-02 10:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:42: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-08-02 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 10:42: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-08-02 10:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125745152001,"66":14298,"101":206,"83":41984,"24":23,"16":10281623425646592,"45":1861816264054165504},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 10:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125745152001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:42:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 10:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10281623425646592,"km_value":10281623425646.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264054165504,"description":"Unknown IO ID 45"} 
[2026-08-02 10:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125745152001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1861816264054165504}} 
[2026-08-02 10:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":146745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:42:06] local.INFO: GPS data processed {"connection_id":146745,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:42:06] local.INFO: Acknowledgment sent {"connection_id":146745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:42:37] local.INFO: TCP Data received {"connection_id":146745,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e28310012d19a680071ff248001f012421..."} 
[2026-08-02 10:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e28310012d19a680071ff248001f012421..."} 
[2026-08-02 10:42:37] local.INFO: Processing buffer {"connection_id":146745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e28310012d19a680071ff248001f012421..."} 
[2026-08-02 10:42:37] local.INFO: Packet analysis {"connection_id":146745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e2"} 
[2026-08-02 10:42:37] local.INFO: Extracted packet for processing {"connection_id":146745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e2"} 
[2026-08-02 10:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756655744,"raw_latitude":119534152,"longitude_deg":75.6655744,"latitude_deg":11.9534152,"altitude":31,"angle":292,"satellites":33,"speed":21,"hex_longitude":"2d19a680","hex_latitude":"071ff248","is_valid_coordinates":true} 
[2026-08-02 10:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125758720001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282229016035328,"note":"Value kept but may cause issues"} 
[2026-08-02 10:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421263902720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785647498000,"timestamp_ms":1785647498000,"timestamp_seconds":1785647498,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e28310"} 
[2026-08-02 10:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-02 10:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125758720001,"66":12211,"101":206,"83":41984,"24":21,"16":10282229016035328,"45":1850205421263902720},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 10:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125758720001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:42:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 10:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282229016035328,"km_value":10282229016035.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421263902720,"description":"Unknown IO ID 45"} 
[2026-08-02 10:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125758720001,"power":12211,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1850205421263902720}} 
[2026-08-02 10:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":146745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:42:37] local.INFO: GPS data processed {"connection_id":146745,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:42:37] local.INFO: Acknowledgment sent {"connection_id":146745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:42:51] local.INFO: TCP Data received {"connection_id":146746,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:42:51] local.INFO: Processing buffer {"connection_id":146746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:42:51] local.INFO: IMEI packet received {"connection_id":146746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":146746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:42:56] local.INFO: TCP Data received {"connection_id":146746,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:42:56] local.INFO: Processing buffer {"connection_id":146746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:42:56] local.INFO: IMEI packet received {"connection_id":146746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":146746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:43:00] local.INFO: TCP Data received {"connection_id":147769,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:43:00] local.INFO: Processing buffer {"connection_id":147769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:43:00] local.INFO: IMEI packet received {"connection_id":147769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":147769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:43:00] local.INFO: TCP Data received {"connection_id":147769,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:43:00] local.INFO: Processing buffer {"connection_id":147769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:43:00] local.INFO: IMEI packet received {"connection_id":147769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":147769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:43:05] local.INFO: TCP Data received {"connection_id":147769,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:43:05] local.INFO: Processing buffer {"connection_id":147769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:43:05] local.INFO: IMEI packet received {"connection_id":147769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":147769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:43:06] local.INFO: TCP Data received {"connection_id":147769,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e28ec8012d19a2c0071ff2d80020011621..."} 
[2026-08-02 10:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e28ec8012d19a2c0071ff2d80020011621..."} 
[2026-08-02 10:43:06] local.INFO: Processing buffer {"connection_id":147769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e28ec8012d19a2c0071ff2d80020011621..."} 
[2026-08-02 10:43:06] local.INFO: Packet analysis {"connection_id":147769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e2"} 
[2026-08-02 10:43:06] local.INFO: Extracted packet for processing {"connection_id":147769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e2"} 
[2026-08-02 10:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119534296,"longitude_deg":75.6654784,"latitude_deg":11.9534296,"altitude":32,"angle":278,"satellites":33,"speed":8,"hex_longitude":"2d19a2c0","hex_latitude":"071ff2d8","is_valid_coordinates":true} 
[2026-08-02 10:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125759488001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282276260675584,"note":"Value kept but may cause issues"} 
[2026-08-02 10:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848305465171265536,"note":"Value kept but may cause issues"} 
[2026-08-02 10:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785647501000,"timestamp_ms":1785647501000,"timestamp_seconds":1785647501,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e28ec8"} 
[2026-08-02 10:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:43: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-08-02 10: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 10:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125759488001,"66":13243,"101":206,"83":41984,"24":8,"16":10282276260675584,"45":1848305465171265536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 10:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125759488001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:43:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 10:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282276260675584,"km_value":10282276260675.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848305465171265536,"description":"Unknown IO ID 45"} 
[2026-08-02 10:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125759488001,"power":13243,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1848305465171265536}} 
[2026-08-02 10:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":147769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:43:06] local.INFO: GPS data processed {"connection_id":147769,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:43:06] local.INFO: Acknowledgment sent {"connection_id":147769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:43:37] local.INFO: TCP Data received {"connection_id":147769,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e2c190012d19a2c0071ff1e0002700f122..."} 
[2026-08-02 10:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e2c190012d19a2c0071ff1e0002700f122..."} 
[2026-08-02 10:43:37] local.INFO: Processing buffer {"connection_id":147769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e2c190012d19a2c0071ff1e0002700f122..."} 
[2026-08-02 10:43:37] local.INFO: Packet analysis {"connection_id":147769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e2"} 
[2026-08-02 10:43:37] local.INFO: Extracted packet for processing {"connection_id":147769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e2"} 
[2026-08-02 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119534048,"longitude_deg":75.6654784,"latitude_deg":11.9534048,"altitude":39,"angle":241,"satellites":34,"speed":2,"hex_longitude":"2d19a2c0","hex_latitude":"071ff1e0","is_valid_coordinates":true} 
[2026-08-02 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125760256001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282293440544768,"note":"Value kept but may cause issues"} 
[2026-08-02 10:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934008637440,"note":"Value kept but may cause issues"} 
[2026-08-02 10:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785647514000,"timestamp_ms":1785647514000,"timestamp_seconds":1785647514,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e2c190"} 
[2026-08-02 10:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-02 10:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125760256001,"66":14080,"103":206,"83":41984,"24":2,"16":10282293440544768,"45":1847249934008637440},"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-08-02 10:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125760256001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:43:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282293440544768,"km_value":10282293440544.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934008637440,"description":"Unknown IO ID 45"} 
[2026-08-02 10:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125760256001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1847249934008637440}} 
[2026-08-02 10:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":147769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:43:37] local.INFO: GPS data processed {"connection_id":147769,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:43:37] local.INFO: Acknowledgment sent {"connection_id":147769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:43:45] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:43:45] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:43:45] local.INFO: IMEI packet received {"connection_id":146747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":146747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:43:50] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:43:50] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:43:50] local.INFO: IMEI packet received {"connection_id":146747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":146747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:43:55] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c12030012cc350c00767f0d00055014629..."} 
[2026-08-02 10:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c12030012cc350c00767f0d00055014629..."} 
[2026-08-02 10:43:55] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c12030012cc350c00767f0d00055014629..."} 
[2026-08-02 10:43:55] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c1"} 
[2026-08-02 10:43:55] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c1"} 
[2026-08-02 10:43:55] local.INFO: GPS Element Parsed {"raw_longitude":750997696,"raw_latitude":124252368,"longitude_deg":75.0997696,"latitude_deg":12.4252368,"altitude":85,"angle":326,"satellites":41,"speed":45,"hex_longitude":"2cc350c0","hex_latitude":"0767f0d0","is_valid_coordinates":true} 
[2026-08-02 10:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125197824001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367274550540369920,"note":"Value kept but may cause issues"} 
[2026-08-02 10:43:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4367858288044511232,"note":"Value kept but may cause issues"} 
[2026-08-02 10:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785645310000,"timestamp_ms":1785645310000,"timestamp_seconds":1785645310,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c12030"} 
[2026-08-02 10:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 10:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125197824001,"66":27995,"36":206,"27":54016,"24":45,"16":367274550540369920,"44":-4367858288044511232},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125197824001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:43:55] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:43:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367274550540369920,"km_value":367274550540369.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:43:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4367858288044511232,"description":"Unknown IO ID 44"} 
[2026-08-02 10:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125197824001,"power":27995,"unknown_36":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-4367858288044511232}} 
[2026-08-02 10:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:43:55] local.INFO: GPS data processed {"connection_id":146747,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:43:55] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:44:05] local.INFO: TCP Data received {"connection_id":147770,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:44:05] local.INFO: Processing buffer {"connection_id":147770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:44:05] local.INFO: IMEI packet received {"connection_id":147770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":147770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:44:10] local.INFO: TCP Data received {"connection_id":147770,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:44:10] local.INFO: Processing buffer {"connection_id":147770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:44:10] local.INFO: IMEI packet received {"connection_id":147770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":147770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:44:11] local.INFO: TCP Data received {"connection_id":147770,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e2d900012d199f80071ff070002700ff23..."} 
[2026-08-02 10:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e2d900012d199f80071ff070002700ff23..."} 
[2026-08-02 10:44:11] local.INFO: Processing buffer {"connection_id":147770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e2d900012d199f80071ff070002700ff23..."} 
[2026-08-02 10:44:11] local.INFO: Packet analysis {"connection_id":147770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e2"} 
[2026-08-02 10:44:11] local.INFO: Extracted packet for processing {"connection_id":147770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e2"} 
[2026-08-02 10:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756653952,"raw_latitude":119533680,"longitude_deg":75.6653952,"latitude_deg":11.953368,"altitude":39,"angle":255,"satellites":35,"speed":6,"hex_longitude":"2d199f80","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-08-02 10:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125763584001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282336390217728,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934008573952,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785647520000,"timestamp_ms":1785647520000,"timestamp_seconds":1785647520,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e2d900"} 
[2026-08-02 10:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-02 10:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:11] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3236053160,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3798960129,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4011327521,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-02 10:44:11] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024952,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:11] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2269380608,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,135,159,142,45,192,242,32,33,10,66,101,131,128,31,119,64,1,240,187,227,4,113,205,72,199,239,52,2,36,7,38,15],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-02 10:44:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810511295810502656,"timestamp_seconds":2810511295810502.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 10:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125763584001,"66":14102,"103":206,"83":41984,"24":6,"16":10282336390217728,"45":1847249934008573952},"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-08-02 10:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125763584001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:44:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282336390217728,"km_value":10282336390217.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934008573952,"description":"Unknown IO ID 45"} 
[2026-08-02 10:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125763584001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1847249934008573952}} 
[2026-08-02 10:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":147770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:44:11] local.INFO: GPS data processed {"connection_id":147770,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:44:11] local.INFO: Acknowledgment sent {"connection_id":147770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:44:15] local.INFO: TCP Data received {"connection_id":147770,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e2dce8012d199f00071ff0780027011123..."} 
[2026-08-02 10:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e2dce8012d199f00071ff0780027011123..."} 
[2026-08-02 10:44:15] local.INFO: Processing buffer {"connection_id":147770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e2dce8012d199f00071ff0780027011123..."} 
[2026-08-02 10:44:15] local.INFO: Packet analysis {"connection_id":147770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e2"} 
[2026-08-02 10:44:15] local.INFO: Extracted packet for processing {"connection_id":147770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e2"} 
[2026-08-02 10:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756653824,"raw_latitude":119533688,"longitude_deg":75.6653824,"latitude_deg":11.9533688,"altitude":39,"angle":273,"satellites":35,"speed":5,"hex_longitude":"2d199f00","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-08-02 10:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125765120001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282344980152320,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846335140334170112,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785647521000,"timestamp_ms":1785647521000,"timestamp_seconds":1785647521,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e2dce8"} 
[2026-08-02 10:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-02 10:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":147770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":147770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":147770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125765120001,"66":13580,"103":206,"83":41984,"24":5,"16":10282344980152320,"45":1846335140334170112},"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-08-02 10:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125765120001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:44:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282344980152320,"km_value":10282344980152.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846335140334170112,"description":"Unknown IO ID 45"} 
[2026-08-02 10:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125765120001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1846335140334170112}} 
[2026-08-02 10:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":147770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:44:16] local.INFO: GPS data processed {"connection_id":147770,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:44:16] local.INFO: Acknowledgment sent {"connection_id":147770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:44:28] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0c04570012cc35c4007671510005a00102c..."} 
[2026-08-02 10:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0c04570012cc35c4007671510005a00102c..."} 
[2026-08-02 10:44:28] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0c04570012cc35c4007671510005a00102c..."} 
[2026-08-02 10:44:28] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0c0"} 
[2026-08-02 10:44:28] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0c0"} 
[2026-08-02 10:44:28] local.INFO: GPS Element Parsed {"raw_longitude":751000640,"raw_latitude":124196112,"longitude_deg":75.100064,"latitude_deg":12.4196112,"altitude":90,"angle":16,"satellites":44,"speed":39,"hex_longitude":"2cc35c40","hex_latitude":"07671510","is_valid_coordinates":true} 
[2026-08-02 10: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-08-02 10:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125184512001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367271466753851392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4370321194104258560,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785645254000,"timestamp_ms":1785645254000,"timestamp_seconds":1785645254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c04570"} 
[2026-08-02 10:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 10:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10: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-08-02 10:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125184512001,"66":28050,"36":206,"27":54016,"24":39,"16":367271466753851392,"44":-4370321194104258560},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125184512001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:44:28] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:44:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367271466753851392,"km_value":367271466753851.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:44:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4370321194104258560,"description":"Unknown IO ID 44"} 
[2026-08-02 10:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125184512001,"power":28050,"unknown_36":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-4370321194104258560}} 
[2026-08-02 10:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:44:28] local.INFO: GPS data processed {"connection_id":146747,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:44:28] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:44:59] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc0c04570012cc35c4007671510005a00102c..."} 
[2026-08-02 10:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":405,"packet_hex":"00000000000001898e050000019fc0c04570012cc35c4007671510005a00102c..."} 
[2026-08-02 10:44:59] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc0c04570012cc35c4007671510005a00102c..."} 
[2026-08-02 10:44:59] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc0c0"} 
[2026-08-02 10:44:59] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc0c0"} 
[2026-08-02 10:44:59] local.INFO: GPS Element Parsed {"raw_longitude":751000640,"raw_latitude":124196112,"longitude_deg":75.100064,"latitude_deg":12.4196112,"altitude":90,"angle":16,"satellites":44,"speed":39,"hex_longitude":"2cc35c40","hex_latitude":"07671510","is_valid_coordinates":true} 
[2026-08-02 10:44: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":405,"current_offset":40} 
[2026-08-02 10:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125184512001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367271466753851392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4370321194104258560,"note":"Value kept but may cause issues"} 
[2026-08-02 10:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785645254000,"timestamp_ms":1785645254000,"timestamp_seconds":1785645254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0c04570"} 
[2026-08-02 10:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":405,"current_offset":136} 
[2026-08-02 10:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:44:59] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 10:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125184512001,"66":28050,"36":206,"27":54016,"24":39,"16":367271466753851392,"44":-4370321194104258560},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125184512001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:44:59] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:44:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367271466753851392,"km_value":367271466753851.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:44:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4370321194104258560,"description":"Unknown IO ID 44"} 
[2026-08-02 10:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125184512001,"power":28050,"unknown_36":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-4370321194104258560}} 
[2026-08-02 10:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:44:59] local.INFO: GPS data processed {"connection_id":146747,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:44:59] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:45:00] local.INFO: TCP Data received {"connection_id":146534,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:45:00] local.INFO: Processing buffer {"connection_id":146534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:45:00] local.INFO: IMEI packet received {"connection_id":146534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":146534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:45:05] local.INFO: TCP Data received {"connection_id":146534,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:45:05] local.INFO: Processing buffer {"connection_id":146534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:45:05] local.INFO: IMEI packet received {"connection_id":146534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":146534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:45:06] local.INFO: TCP Data received {"connection_id":146534,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e32ef0012d199ec0071ff0a80027011125..."} 
[2026-08-02 10:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e32ef0012d199ec0071ff0a80027011125..."} 
[2026-08-02 10:45:06] local.INFO: Processing buffer {"connection_id":146534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e32ef0012d199ec0071ff0a80027011125..."} 
[2026-08-02 10:45:06] local.INFO: Packet analysis {"connection_id":146534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e3"} 
[2026-08-02 10:45:06] local.INFO: Extracted packet for processing {"connection_id":146534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e3"} 
[2026-08-02 10:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756653760,"raw_latitude":119533736,"longitude_deg":75.665376,"latitude_deg":11.9533736,"altitude":39,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d199ec0","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-02 10:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125765376001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282349275119616,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846194402845816832,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785647542000,"timestamp_ms":1785647542000,"timestamp_seconds":1785647542,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e32ef0"} 
[2026-08-02 10:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751522951,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3236065160,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3800240129,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4064804895,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634226728269925,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391992,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2274230272,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-4107275026384814043,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292429367030189,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,135,159,217,45,128,240,39,35,10,66,193,192,34,142,1,187,227,31,4,113,205,21,119,173,216,239,51,101,2,36,7,33,25,52,164],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-02 10:45:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810546484477755392,"timestamp_seconds":2810546484477755.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 10:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125765376001,"66":13135,"103":206,"83":41984,"24":0,"16":10282349275119616,"45":1846194402845816832},"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-08-02 10:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125765376001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:45:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282349275119616,"km_value":10282349275119.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846194402845816832,"description":"Unknown IO ID 45"} 
[2026-08-02 10:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125765376001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1846194402845816832}} 
[2026-08-02 10:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":146534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:45:06] local.INFO: GPS data processed {"connection_id":146534,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:45:06] local.INFO: Acknowledgment sent {"connection_id":146534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:45:31] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bf8608012cc2b28007667f20004c002e2c..."} 
[2026-08-02 10:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bf8608012cc2b28007667f20004c002e2c..."} 
[2026-08-02 10:45:31] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bf8608012cc2b28007667f20004c002e2c..."} 
[2026-08-02 10:45:31] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0bf"} 
[2026-08-02 10:45:31] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0bf"} 
[2026-08-02 10:45:31] local.INFO: GPS Element Parsed {"raw_longitude":750957184,"raw_latitude":124157728,"longitude_deg":75.0957184,"latitude_deg":12.4157728,"altitude":76,"angle":46,"satellites":44,"speed":47,"hex_longitude":"2cc2b280","hex_latitude":"07667f20","is_valid_coordinates":true} 
[2026-08-02 10:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125170432001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367268619190534144,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4423379227225370624,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785645205000,"timestamp_ms":1785645205000,"timestamp_seconds":1785645205,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bf8608"} 
[2026-08-02 10:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 10:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125170432001,"66":27908,"36":206,"27":54016,"24":47,"16":367268619190534144,"44":-4423379227225370624},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 10:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125170432001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:45:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 10:45:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367268619190534144,"km_value":367268619190534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4423379227225370624,"description":"Unknown IO ID 44"} 
[2026-08-02 10:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125170432001,"power":27908,"unknown_36":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-4423379227225370624}} 
[2026-08-02 10:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:45:32] local.INFO: GPS data processed {"connection_id":146747,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:45:32] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:45:37] local.INFO: TCP Data received {"connection_id":146534,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:45:37] local.INFO: Processing buffer {"connection_id":146534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:45:37] local.INFO: Packet analysis {"connection_id":146534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e3"} 
[2026-08-02 10:45:37] local.INFO: Extracted packet for processing {"connection_id":146534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e3"} 
[2026-08-02 10:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756653184,"raw_latitude":119533736,"longitude_deg":75.6653184,"latitude_deg":11.9533736,"altitude":38,"angle":278,"satellites":36,"speed":4,"hex_longitude":"2d199c80","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-02 10:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125770752001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282375044923392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846124034101651456,"note":"Value kept but may cause issues"} 
[2026-08-02 10:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785647552000,"timestamp_ms":1785647552000,"timestamp_seconds":1785647552,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e35600"} 
[2026-08-02 10:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-02 10:45: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-08-02 10:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125770752001,"66":12993,"103":206,"83":41984,"24":4,"16":10282375044923392,"45":1846124034101651456},"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-08-02 10:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125770752001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:45:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282375044923392,"km_value":10282375044923.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846124034101651456,"description":"Unknown IO ID 45"} 
[2026-08-02 10:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125770752001,"power":12993,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1846124034101651456}} 
[2026-08-02 10:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":146534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:45:37] local.INFO: GPS data processed {"connection_id":146534,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:45:37] local.INFO: Acknowledgment sent {"connection_id":146534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:46:00] local.INFO: TCP Data received {"connection_id":147771,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:46:00] local.INFO: Processing buffer {"connection_id":147771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:46:00] local.INFO: IMEI packet received {"connection_id":147771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":147771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:46:03] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bec2b8012cc2a8000765e830004d000d25..."} 
[2026-08-02 10:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bec2b8012cc2a8000765e830004d000d25..."} 
[2026-08-02 10:46:03] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bec2b8012cc2a8000765e830004d000d25..."} 
[2026-08-02 10:46:03] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0be"} 
[2026-08-02 10:46:03] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0be"} 
[2026-08-02 10:46:03] local.INFO: GPS Element Parsed {"raw_longitude":750954496,"raw_latitude":124119088,"longitude_deg":75.0954496,"latitude_deg":12.4119088,"altitude":77,"angle":13,"satellites":37,"speed":18,"hex_longitude":"2cc2a800","hex_latitude":"0765e830","is_valid_coordinates":true} 
[2026-08-02 10:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125154304001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367266591965970432,"note":"Value kept but may cause issues"} 
[2026-08-02 10:46:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4424223652165490688,"note":"Value kept but may cause issues"} 
[2026-08-02 10:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785645155000,"timestamp_ms":1785645155000,"timestamp_seconds":1785645155,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bec2b8"} 
[2026-08-02 10:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 10:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125154304001,"66":27213,"37":206,"27":54016,"24":18,"16":367266591965970432,"44":-4424223652165490688},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 10:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125154304001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:46:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 10:46:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367266591965970432,"km_value":367266591965970.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:46:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4424223652165490688,"description":"Unknown IO ID 44"} 
[2026-08-02 10:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125154304001,"power":27213,"unknown_37":206,"unknown_27":54016,"ignition":18,"odometer":null,"unknown_44":-4424223652165490688}} 
[2026-08-02 10:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:46:03] local.INFO: GPS data processed {"connection_id":146747,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:46:03] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:46:05] local.INFO: TCP Data received {"connection_id":147771,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:46:05] local.INFO: Processing buffer {"connection_id":147771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:46:05] local.INFO: IMEI packet received {"connection_id":147771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":147771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:46:06] local.INFO: TCP Data received {"connection_id":147771,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:46:06] local.INFO: Processing buffer {"connection_id":147771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:46:06] local.INFO: Packet analysis {"connection_id":147771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e3"} 
[2026-08-02 10:46:06] local.INFO: Extracted packet for processing {"connection_id":147771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e3"} 
[2026-08-02 10:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756653184,"raw_latitude":119533736,"longitude_deg":75.6653184,"latitude_deg":11.9533736,"altitude":38,"angle":278,"satellites":36,"speed":4,"hex_longitude":"2d199c80","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-02 10:46: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-08-02 10:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125773312001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282375044923392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404052480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785647552000,"timestamp_ms":1785647552000,"timestamp_seconds":1785647552,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e35600"} 
[2026-08-02 10:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125773312001,"66":12993,"103":206,"83":41984,"24":4,"16":10282375044923392,"45":1845490715404052480},"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-08-02 10:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125773312001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:46:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282375044923392,"km_value":10282375044923.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404052480,"description":"Unknown IO ID 45"} 
[2026-08-02 10:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125773312001,"power":12993,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1845490715404052480}} 
[2026-08-02 10:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":147771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:46:06] local.INFO: GPS data processed {"connection_id":147771,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:46:06] local.INFO: Acknowledgment sent {"connection_id":147771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:46:35] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bdad60012cc27180076598800052008b2d..."} 
[2026-08-02 10:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bdad60012cc27180076598800052008b2d..."} 
[2026-08-02 10:46:35] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bdad60012cc27180076598800052008b2d..."} 
[2026-08-02 10:46:35] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0bd"} 
[2026-08-02 10:46:35] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0bd"} 
[2026-08-02 10:46:35] local.INFO: GPS Element Parsed {"raw_longitude":750940544,"raw_latitude":124098688,"longitude_deg":75.0940544,"latitude_deg":12.4098688,"altitude":82,"angle":139,"satellites":45,"speed":14,"hex_longitude":"2cc27180","hex_latitude":"07659880","is_valid_coordinates":true} 
[2026-08-02 10:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125141248001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367265007123038208,"note":"Value kept but may cause issues"} 
[2026-08-02 10:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4435975232446433280,"note":"Value kept but may cause issues"} 
[2026-08-02 10:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785645084000,"timestamp_ms":1785645084000,"timestamp_seconds":1785645084,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bdad60"} 
[2026-08-02 10:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 10:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125141248001,"66":27821,"37":206,"27":54016,"24":14,"16":367265007123038208,"44":-4435975232446433280},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 10:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125141248001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:46:35] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 10:46:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367265007123038208,"km_value":367265007123038.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:46:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4435975232446433280,"description":"Unknown IO ID 44"} 
[2026-08-02 10:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125141248001,"power":27821,"unknown_37":206,"unknown_27":54016,"ignition":14,"odometer":null,"unknown_44":-4435975232446433280}} 
[2026-08-02 10:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:46:35] local.INFO: GPS data processed {"connection_id":146747,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:46:35] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:46:37] local.INFO: TCP Data received {"connection_id":147771,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:46:37] local.INFO: Processing buffer {"connection_id":147771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:46:37] local.INFO: Packet analysis {"connection_id":147771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e3"} 
[2026-08-02 10:46:37] local.INFO: Extracted packet for processing {"connection_id":147771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e3"} 
[2026-08-02 10:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756653184,"raw_latitude":119533736,"longitude_deg":75.6653184,"latitude_deg":11.9533736,"altitude":38,"angle":278,"satellites":36,"speed":4,"hex_longitude":"2d199c80","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-02 10:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125773312001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282375044923392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404052480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785647552000,"timestamp_ms":1785647552000,"timestamp_seconds":1785647552,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e35600"} 
[2026-08-02 10:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125773312001,"66":12993,"103":206,"83":41984,"24":4,"16":10282375044923392,"45":1845490715404052480},"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-08-02 10:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125773312001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:46:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282375044923392,"km_value":10282375044923.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404052480,"description":"Unknown IO ID 45"} 
[2026-08-02 10:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125773312001,"power":12993,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1845490715404052480}} 
[2026-08-02 10:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":147771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:46:37] local.INFO: GPS data processed {"connection_id":147771,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:46:37] local.INFO: Acknowledgment sent {"connection_id":147771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:47:00] local.INFO: TCP Data received {"connection_id":146535,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:47:00] local.INFO: Processing buffer {"connection_id":146535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:47:00] local.INFO: IMEI packet received {"connection_id":146535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":146535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:47:05] local.INFO: TCP Data received {"connection_id":146535,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:47:05] local.INFO: Processing buffer {"connection_id":146535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:47:05] local.INFO: IMEI packet received {"connection_id":146535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":146535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:47:06] local.INFO: TCP Data received {"connection_id":146535,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:47:06] local.INFO: Processing buffer {"connection_id":146535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:47:06] local.INFO: Packet analysis {"connection_id":146535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e3"} 
[2026-08-02 10:47:06] local.INFO: Extracted packet for processing {"connection_id":146535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e3"} 
[2026-08-02 10:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756653184,"raw_latitude":119533736,"longitude_deg":75.6653184,"latitude_deg":11.9533736,"altitude":38,"angle":278,"satellites":36,"speed":4,"hex_longitude":"2d199c80","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-02 10:47: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-08-02 10:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125773312001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282375044923392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404052480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785647552000,"timestamp_ms":1785647552000,"timestamp_seconds":1785647552,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e35600"} 
[2026-08-02 10:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125773312001,"66":12993,"103":206,"83":41984,"24":4,"16":10282375044923392,"45":1845490715404052480},"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-08-02 10:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125773312001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:47:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282375044923392,"km_value":10282375044923.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404052480,"description":"Unknown IO ID 45"} 
[2026-08-02 10:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125773312001,"power":12993,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1845490715404052480}} 
[2026-08-02 10:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":146535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:47:06] local.INFO: GPS data processed {"connection_id":146535,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:47:06] local.INFO: Acknowledgment sent {"connection_id":146535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:47:07] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc0bdad60012cc27180076598800052008b2d..."} 
[2026-08-02 10:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":93,"packet_hex":"00000000000000518e010000019fc0bdad60012cc27180076598800052008b2d..."} 
[2026-08-02 10:47:07] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc0bdad60012cc27180076598800052008b2d..."} 
[2026-08-02 10:47:07] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc0bd"} 
[2026-08-02 10:47:07] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc0bd"} 
[2026-08-02 10:47:07] local.INFO: GPS Element Parsed {"raw_longitude":750940544,"raw_latitude":124098688,"longitude_deg":75.0940544,"latitude_deg":12.4098688,"altitude":82,"angle":139,"satellites":45,"speed":14,"hex_longitude":"2cc27180","hex_latitude":"07659880","is_valid_coordinates":true} 
[2026-08-02 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":93,"current_offset":40} 
[2026-08-02 10:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:47:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:47:07] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 10:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 10:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 10:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 10:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 10:47:07] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 10:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 10:47:07] local.ERROR: GPS data processing failed {"connection_id":146747,"error":"No valid data to process"} 
[2026-08-02 10:47:07] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 10:47:37] local.INFO: TCP Data received {"connection_id":146535,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:47:37] local.INFO: Processing buffer {"connection_id":146535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:47:37] local.INFO: Packet analysis {"connection_id":146535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e3"} 
[2026-08-02 10:47:37] local.INFO: Extracted packet for processing {"connection_id":146535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e3"} 
[2026-08-02 10:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756653184,"raw_latitude":119533736,"longitude_deg":75.6653184,"latitude_deg":11.9533736,"altitude":38,"angle":278,"satellites":36,"speed":4,"hex_longitude":"2d199c80","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-02 10:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125773312001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282375044923392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404052480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785647552000,"timestamp_ms":1785647552000,"timestamp_seconds":1785647552,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e35600"} 
[2026-08-02 10:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125773312001,"66":12993,"103":206,"83":41984,"24":4,"16":10282375044923392,"45":1845490715404052480},"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-08-02 10:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125773312001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:47:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282375044923392,"km_value":10282375044923.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404052480,"description":"Unknown IO ID 45"} 
[2026-08-02 10:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125773312001,"power":12993,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1845490715404052480}} 
[2026-08-02 10:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":146535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:47:37] local.INFO: GPS data processed {"connection_id":146535,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:47:37] local.INFO: Acknowledgment sent {"connection_id":146535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:47:39] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bcfd98012cc20780076637d0005500982c..."} 
[2026-08-02 10:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bcfd98012cc20780076637d0005500982c..."} 
[2026-08-02 10:47:39] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bcfd98012cc20780076637d0005500982c..."} 
[2026-08-02 10:47:39] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0bc"} 
[2026-08-02 10:47:39] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0bc"} 
[2026-08-02 10:47:39] local.INFO: GPS Element Parsed {"raw_longitude":750913408,"raw_latitude":124139472,"longitude_deg":75.0913408,"latitude_deg":12.4139472,"altitude":85,"angle":152,"satellites":44,"speed":53,"hex_longitude":"2cc20780","hex_latitude":"076637d0","is_valid_coordinates":true} 
[2026-08-02 10:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125128192001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367262601941352448,"note":"Value kept but may cause issues"} 
[2026-08-02 10:47:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4470878129546158080,"note":"Value kept but may cause issues"} 
[2026-08-02 10:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785645039000,"timestamp_ms":1785645039000,"timestamp_seconds":1785645039,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bcfd98"} 
[2026-08-02 10:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-02 10:47: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-08-02 10:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125128192001,"66":27691,"37":206,"27":54016,"24":53,"16":367262601941352448,"44":-4470878129546158080},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 10:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125128192001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:47:39] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 10:47:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367262601941352448,"km_value":367262601941352.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:47:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4470878129546158080,"description":"Unknown IO ID 44"} 
[2026-08-02 10:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125128192001,"power":27691,"unknown_37":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4470878129546158080}} 
[2026-08-02 10:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:47:39] local.INFO: GPS data processed {"connection_id":146747,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:47:39] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:48:00] local.INFO: TCP Data received {"connection_id":147772,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:48:00] local.INFO: Processing buffer {"connection_id":147772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:48:00] local.INFO: IMEI packet received {"connection_id":147772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":147772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:48:05] local.INFO: TCP Data received {"connection_id":147772,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:48:05] local.INFO: Processing buffer {"connection_id":147772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:48:05] local.INFO: IMEI packet received {"connection_id":147772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":147772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:48:06] local.INFO: TCP Data received {"connection_id":147772,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:48:06] local.INFO: Processing buffer {"connection_id":147772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e35600012d199c80071ff0a80026011624..."} 
[2026-08-02 10:48:06] local.INFO: Packet analysis {"connection_id":147772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e3"} 
[2026-08-02 10:48:06] local.INFO: Extracted packet for processing {"connection_id":147772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e3"} 
[2026-08-02 10:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756653184,"raw_latitude":119533736,"longitude_deg":75.6653184,"latitude_deg":11.9533736,"altitude":38,"angle":278,"satellites":36,"speed":4,"hex_longitude":"2d199c80","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-02 10:48: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-08-02 10:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125773312001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282375044923392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404052480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785647552000,"timestamp_ms":1785647552000,"timestamp_seconds":1785647552,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e35600"} 
[2026-08-02 10:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125773312001,"66":12993,"103":206,"83":41984,"24":4,"16":10282375044923392,"45":1845490715404052480},"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-08-02 10:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125773312001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:48:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 10:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282375044923392,"km_value":10282375044923.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404052480,"description":"Unknown IO ID 45"} 
[2026-08-02 10:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125773312001,"power":12993,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1845490715404052480}} 
[2026-08-02 10:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":147772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:48:06] local.INFO: GPS data processed {"connection_id":147772,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:48:06] local.INFO: Acknowledgment sent {"connection_id":147772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:48:11] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc0bcfd98012cc20780076637d0005500982c..."} 
[2026-08-02 10:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc0bcfd98012cc20780076637d0005500982c..."} 
[2026-08-02 10:48:11] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc0bcfd98012cc20780076637d0005500982c..."} 
[2026-08-02 10:48:11] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc0bc"} 
[2026-08-02 10:48:11] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc0bc"} 
[2026-08-02 10:48:11] local.INFO: GPS Element Parsed {"raw_longitude":750913408,"raw_latitude":124139472,"longitude_deg":75.0913408,"latitude_deg":12.4139472,"altitude":85,"angle":152,"satellites":44,"speed":53,"hex_longitude":"2cc20780","hex_latitude":"076637d0","is_valid_coordinates":true} 
[2026-08-02 10: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":327,"current_offset":40} 
[2026-08-02 10:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125128192001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367262601941352448,"note":"Value kept but may cause issues"} 
[2026-08-02 10:48:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4470878129546158080,"note":"Value kept but may cause issues"} 
[2026-08-02 10:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785645039000,"timestamp_ms":1785645039000,"timestamp_seconds":1785645039,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bcfd98"} 
[2026-08-02 10:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":26,"data_length":327,"current_offset":136} 
[2026-08-02 10:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:48:11] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 10:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125128192001,"66":27691,"37":206,"27":54016,"24":53,"16":367262601941352448,"44":-4470878129546158080},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 10:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125128192001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:48:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 10:48:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367262601941352448,"km_value":367262601941352.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:48:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4470878129546158080,"description":"Unknown IO ID 44"} 
[2026-08-02 10:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125128192001,"power":27691,"unknown_37":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4470878129546158080}} 
[2026-08-02 10:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:48:11] local.INFO: GPS data processed {"connection_id":146747,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:48:11] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:48:45] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc0e82478012cc330c007685958005800c528..."} 
[2026-08-02 10:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":93,"packet_hex":"00000000000000518e010000019fc0e82478012cc330c007685958005800c528..."} 
[2026-08-02 10:48:45] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc0e82478012cc330c007685958005800c528..."} 
[2026-08-02 10:48:45] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc0e8"} 
[2026-08-02 10:48:45] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc0e8"} 
[2026-08-02 10:48:45] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 10: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":93,"current_offset":40} 
[2026-08-02 10:48: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-08-02 10:48: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-08-02 10:48:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:48:45] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 10:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 10:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 10:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 10:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 10:48:45] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 10:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 10:48:45] local.ERROR: GPS data processing failed {"connection_id":146747,"error":"No valid data to process"} 
[2026-08-02 10:48:45] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 10:49:24] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bbe070012cc0dd0007670928004c00792c..."} 
[2026-08-02 10:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bbe070012cc0dd0007670928004c00792c..."} 
[2026-08-02 10:49:24] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bbe070012cc0dd0007670928004c00792c..."} 
[2026-08-02 10:49:24] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0bb"} 
[2026-08-02 10:49:24] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0bb"} 
[2026-08-02 10:49:24] local.INFO: GPS Element Parsed {"raw_longitude":750836992,"raw_latitude":124193064,"longitude_deg":75.0836992,"latitude_deg":12.4193064,"altitude":76,"angle":121,"satellites":44,"speed":53,"hex_longitude":"2cc0dd00","hex_latitude":"07670928","is_valid_coordinates":true} 
[2026-08-02 10:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125109504001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367258070750855168,"note":"Value kept but may cause issues"} 
[2026-08-02 10:49:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4558276109801709568,"note":"Value kept but may cause issues"} 
[2026-08-02 10:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785644966000,"timestamp_ms":1785644966000,"timestamp_seconds":1785644966,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bbe070"} 
[2026-08-02 10:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 10:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125109504001,"66":27876,"39":206,"27":54016,"24":53,"16":367258070750855168,"44":-4558276109801709568},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 10:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125109504001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:49:24] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 10:49:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367258070750855168,"km_value":367258070750855.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:49:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4558276109801709568,"description":"Unknown IO ID 44"} 
[2026-08-02 10:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125109504001,"power":27876,"unknown_39":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4558276109801709568}} 
[2026-08-02 10:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:49:24] local.INFO: GPS data processed {"connection_id":146747,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:49:24] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:49:56] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0bad6d0012cbfda8007681be80052008a2d..."} 
[2026-08-02 10:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0bad6d0012cbfda8007681be80052008a2d..."} 
[2026-08-02 10:49:56] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0bad6d0012cbfda8007681be80052008a2d..."} 
[2026-08-02 10:49:56] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ba"} 
[2026-08-02 10:49:56] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ba"} 
[2026-08-02 10:49:56] local.INFO: GPS Element Parsed {"raw_longitude":750770816,"raw_latitude":124263400,"longitude_deg":75.0770816,"latitude_deg":12.42634,"altitude":82,"angle":138,"satellites":45,"speed":47,"hex_longitude":"2cbfda80","hex_latitude":"07681be8","is_valid_coordinates":true} 
[2026-08-02 10:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125091840001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367253367761666048,"note":"Value kept but may cause issues"} 
[2026-08-02 10:49:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4629207803914508288,"note":"Value kept but may cause issues"} 
[2026-08-02 10:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785644898000,"timestamp_ms":1785644898000,"timestamp_seconds":1785644898,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0bad6d0"} 
[2026-08-02 10:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 10:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125091840001,"66":27876,"39":206,"27":54016,"24":47,"16":367253367761666048,"44":-4629207803914508288},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 10:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125091840001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:49:56] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 10:49:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367253367761666048,"km_value":367253367761666.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:49:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4629207803914508288,"description":"Unknown IO ID 44"} 
[2026-08-02 10:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125091840001,"power":27876,"unknown_39":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-4629207803914508288}} 
[2026-08-02 10:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:49:56] local.INFO: GPS data processed {"connection_id":146747,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:49:56] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:50:24] local.INFO: TCP Data received {"connection_id":147773,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:50:24] local.INFO: Processing buffer {"connection_id":147773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:50:24] local.INFO: IMEI packet received {"connection_id":147773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":147773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:50:30] local.INFO: TCP Data received {"connection_id":147773,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:50:30] local.INFO: Processing buffer {"connection_id":147773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:50:30] local.INFO: IMEI packet received {"connection_id":147773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":147773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:50:35] local.INFO: TCP Data received {"connection_id":147773,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b9b1d8012cbf2cc00768a858004a003b27..."} 
[2026-08-02 10:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b9b1d8012cbf2cc00768a858004a003b27..."} 
[2026-08-02 10:50:35] local.INFO: Processing buffer {"connection_id":147773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b9b1d8012cbf2cc00768a858004a003b27..."} 
[2026-08-02 10:50:35] local.INFO: Packet analysis {"connection_id":147773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b9"} 
[2026-08-02 10:50:35] local.INFO: Extracted packet for processing {"connection_id":147773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b9"} 
[2026-08-02 10:50:35] local.INFO: GPS Element Parsed {"raw_longitude":750726336,"raw_latitude":124299352,"longitude_deg":75.0726336,"latitude_deg":12.4299352,"altitude":74,"angle":59,"satellites":39,"speed":9,"hex_longitude":"2cbf2cc0","hex_latitude":"0768a858","is_valid_coordinates":true} 
[2026-08-02 10:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125074432001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367250593212792832,"note":"Value kept but may cause issues"} 
[2026-08-02 10:50:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4671429050413619200,"note":"Value kept but may cause issues"} 
[2026-08-02 10:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785644823000,"timestamp_ms":1785644823000,"timestamp_seconds":1785644823,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b9b1d8"} 
[2026-08-02 10:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 10:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125074432001,"66":27876,"121":206,"27":54016,"24":9,"16":367250593212792832,"44":-4671429050413619200},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-08-02 10:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125074432001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:50:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-02 10:50:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367250593212792832,"km_value":367250593212792.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:50:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4671429050413619200,"description":"Unknown IO ID 44"} 
[2026-08-02 10:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125074432001,"power":27876,"unknown_121":206,"unknown_27":54016,"ignition":9,"odometer":null,"unknown_44":-4671429050413619200}} 
[2026-08-02 10:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":147773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:50:35] local.INFO: GPS data processed {"connection_id":147773,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:50:35] local.INFO: Acknowledgment sent {"connection_id":147773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:51:07] local.INFO: TCP Data received {"connection_id":147773,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc0b9b1d8012cbf2cc00768a858004a003b27..."} 
[2026-08-02 10:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147773,"packet_length":405,"packet_hex":"00000000000001898e050000019fc0b9b1d8012cbf2cc00768a858004a003b27..."} 
[2026-08-02 10:51:07] local.INFO: Processing buffer {"connection_id":147773,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc0b9b1d8012cbf2cc00768a858004a003b27..."} 
[2026-08-02 10:51:07] local.INFO: Packet analysis {"connection_id":147773,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc0b9"} 
[2026-08-02 10:51:07] local.INFO: Extracted packet for processing {"connection_id":147773,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc0b9"} 
[2026-08-02 10:51:07] local.INFO: GPS Element Parsed {"raw_longitude":750726336,"raw_latitude":124299352,"longitude_deg":75.0726336,"latitude_deg":12.4299352,"altitude":74,"angle":59,"satellites":39,"speed":9,"hex_longitude":"2cbf2cc0","hex_latitude":"0768a858","is_valid_coordinates":true} 
[2026-08-02 10: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":405,"current_offset":40} 
[2026-08-02 10:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125074432001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367250593212792832,"note":"Value kept but may cause issues"} 
[2026-08-02 10:51:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4671429050413619200,"note":"Value kept but may cause issues"} 
[2026-08-02 10:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785644823000,"timestamp_ms":1785644823000,"timestamp_seconds":1785644823,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b9b1d8"} 
[2026-08-02 10:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10: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-08-02 10: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":108,"n8_eight_byte":228,"data_length":405,"current_offset":136} 
[2026-08-02 10:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:51:07] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147773,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 10:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125074432001,"66":27876,"121":206,"27":54016,"24":9,"16":367250593212792832,"44":-4671429050413619200},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-08-02 10:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125074432001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:51:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-02 10:51:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367250593212792832,"km_value":367250593212792.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:51:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4671429050413619200,"description":"Unknown IO ID 44"} 
[2026-08-02 10:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125074432001,"power":27876,"unknown_121":206,"unknown_27":54016,"ignition":9,"odometer":null,"unknown_44":-4671429050413619200}} 
[2026-08-02 10:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":147773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:51:07] local.INFO: GPS data processed {"connection_id":147773,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:51:07] local.INFO: Acknowledgment sent {"connection_id":147773,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:51:24] local.INFO: TCP Data received {"connection_id":146748,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:51:24] local.INFO: Processing buffer {"connection_id":146748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:51:24] local.INFO: IMEI packet received {"connection_id":146748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":146748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:51:30] local.INFO: TCP Data received {"connection_id":146748,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:51:30] local.INFO: Processing buffer {"connection_id":146748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:51:30] local.INFO: IMEI packet received {"connection_id":146748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":146748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:51:36] local.INFO: TCP Data received {"connection_id":146748,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b888f8012cbebac00767f6400050002c2d..."} 
[2026-08-02 10:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b888f8012cbebac00767f6400050002c2d..."} 
[2026-08-02 10:51:36] local.INFO: Processing buffer {"connection_id":146748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b888f8012cbebac00767f6400050002c2d..."} 
[2026-08-02 10:51:36] local.INFO: Packet analysis {"connection_id":146748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b8"} 
[2026-08-02 10:51:36] local.INFO: Extracted packet for processing {"connection_id":146748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b8"} 
[2026-08-02 10:51:36] local.INFO: GPS Element Parsed {"raw_longitude":750697152,"raw_latitude":124253760,"longitude_deg":75.0697152,"latitude_deg":12.425376,"altitude":80,"angle":44,"satellites":45,"speed":33,"hex_longitude":"2cbebac0","hex_latitude":"0767f640","is_valid_coordinates":true} 
[2026-08-02 10:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125052416001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367247917448167424,"note":"Value kept but may cause issues"} 
[2026-08-02 10:51:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4710835547166435328,"note":"Value kept but may cause issues"} 
[2026-08-02 10:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785644747000,"timestamp_ms":1785644747000,"timestamp_seconds":1785644747,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b888f8"} 
[2026-08-02 10:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 10:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125052416001,"66":27930,"121":206,"27":54016,"24":33,"16":367247917448167424,"44":-4710835547166435328},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-08-02 10:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125052416001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:51:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-02 10:51:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367247917448167424,"km_value":367247917448167.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:51:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4710835547166435328,"description":"Unknown IO ID 44"} 
[2026-08-02 10:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125052416001,"power":27930,"unknown_121":206,"unknown_27":54016,"ignition":33,"odometer":null,"unknown_44":-4710835547166435328}} 
[2026-08-02 10:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":146748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:51:36] local.INFO: GPS data processed {"connection_id":146748,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:51:36] local.INFO: Acknowledgment sent {"connection_id":146748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:52:08] local.INFO: TCP Data received {"connection_id":146748,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b75078012cbddf0007673d90003b00252e..."} 
[2026-08-02 10:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b75078012cbddf0007673d90003b00252e..."} 
[2026-08-02 10:52:08] local.INFO: Processing buffer {"connection_id":146748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b75078012cbddf0007673d90003b00252e..."} 
[2026-08-02 10:52:08] local.INFO: Packet analysis {"connection_id":146748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b7"} 
[2026-08-02 10:52:08] local.INFO: Extracted packet for processing {"connection_id":146748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b7"} 
[2026-08-02 10:52:08] local.INFO: GPS Element Parsed {"raw_longitude":750640896,"raw_latitude":124206480,"longitude_deg":75.0640896,"latitude_deg":12.420648,"altitude":59,"angle":37,"satellites":46,"speed":36,"hex_longitude":"2cbddf00","hex_latitude":"07673d90","is_valid_coordinates":true} 
[2026-08-02 10:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125032192001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367244292495769600,"note":"Value kept but may cause issues"} 
[2026-08-02 10:52:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4772267460845721600,"note":"Value kept but may cause issues"} 
[2026-08-02 10:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785644667000,"timestamp_ms":1785644667000,"timestamp_seconds":1785644667,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b75078"} 
[2026-08-02 10:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 10:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125032192001,"66":27919,"130":206,"27":54016,"24":36,"16":367244292495769600,"44":-4772267460845721600},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,27,24,16,44]} 
[2026-08-02 10:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125032192001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:52:08] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-02 10:52:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367244292495769600,"km_value":367244292495769.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:52:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4772267460845721600,"description":"Unknown IO ID 44"} 
[2026-08-02 10:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125032192001,"power":27919,"unknown_130":206,"unknown_27":54016,"ignition":36,"odometer":null,"unknown_44":-4772267460845721600}} 
[2026-08-02 10:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":146748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:52:08] local.INFO: GPS data processed {"connection_id":146748,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:52:08] local.INFO: Acknowledgment sent {"connection_id":146748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:52:30] local.INFO: TCP Data received {"connection_id":146749,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:52:30] local.INFO: Processing buffer {"connection_id":146749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:52:30] local.INFO: IMEI packet received {"connection_id":146749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":146749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:52:34] local.INFO: TCP Data received {"connection_id":146749,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:52:34] local.INFO: Processing buffer {"connection_id":146749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:52:34] local.INFO: IMEI packet received {"connection_id":146749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":146749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:52:41] local.INFO: TCP Data received {"connection_id":146749,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b623b0012cbce2c00766cdf0002e00332d..."} 
[2026-08-02 10:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b623b0012cbce2c00766cdf0002e00332d..."} 
[2026-08-02 10:52:41] local.INFO: Processing buffer {"connection_id":146749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b623b0012cbce2c00766cdf0002e00332d..."} 
[2026-08-02 10:52:41] local.INFO: Packet analysis {"connection_id":146749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b6"} 
[2026-08-02 10:52:41] local.INFO: Extracted packet for processing {"connection_id":146749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b6"} 
[2026-08-02 10:52:41] local.INFO: GPS Element Parsed {"raw_longitude":750576320,"raw_latitude":124177904,"longitude_deg":75.057632,"latitude_deg":12.4177904,"altitude":46,"angle":51,"satellites":45,"speed":29,"hex_longitude":"2cbce2c0","hex_latitude":"0766cdf0","is_valid_coordinates":true} 
[2026-08-02 10:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125011968001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367240839342063616,"note":"Value kept but may cause issues"} 
[2026-08-02 10:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4842988048751505408,"note":"Value kept but may cause issues"} 
[2026-08-02 10:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785644590000,"timestamp_ms":1785644590000,"timestamp_seconds":1785644590,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b623b0"} 
[2026-08-02 10:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 10:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125011968001,"66":27995,"130":206,"27":54016,"24":29,"16":367240839342063616,"44":-4842988048751505408},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,27,24,16,44]} 
[2026-08-02 10:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125011968001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:52:41] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-02 10:52:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367240839342063616,"km_value":367240839342063.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4842988048751505408,"description":"Unknown IO ID 44"} 
[2026-08-02 10:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125011968001,"power":27995,"unknown_130":206,"unknown_27":54016,"ignition":29,"odometer":null,"unknown_44":-4842988048751505408}} 
[2026-08-02 10:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":146749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:52:41] local.INFO: GPS data processed {"connection_id":146749,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:52:41] local.INFO: Acknowledgment sent {"connection_id":146749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:52:45] local.INFO: TCP Data received {"connection_id":146749,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc0b623b0012cbce2c00766cdf0002e00332d..."} 
[2026-08-02 10:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146749,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc0b623b0012cbce2c00766cdf0002e00332d..."} 
[2026-08-02 10:52:45] local.INFO: Processing buffer {"connection_id":146749,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc0b623b0012cbce2c00766cdf0002e00332d..."} 
[2026-08-02 10:52:45] local.INFO: Packet analysis {"connection_id":146749,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc0b6"} 
[2026-08-02 10:52:45] local.INFO: Extracted packet for processing {"connection_id":146749,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc0b6"} 
[2026-08-02 10:52:45] local.INFO: GPS Element Parsed {"raw_longitude":750576320,"raw_latitude":124177904,"longitude_deg":75.057632,"latitude_deg":12.4177904,"altitude":46,"angle":51,"satellites":45,"speed":29,"hex_longitude":"2cbce2c0","hex_latitude":"0766cdf0","is_valid_coordinates":true} 
[2026-08-02 10:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-02 10:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125011968001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367240839342063616,"note":"Value kept but may cause issues"} 
[2026-08-02 10:52:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4842988048751505408,"note":"Value kept but may cause issues"} 
[2026-08-02 10:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785644590000,"timestamp_ms":1785644590000,"timestamp_seconds":1785644590,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b623b0"} 
[2026-08-02 10:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":327,"current_offset":136} 
[2026-08-02 10:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:52:45] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146749,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 10:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125011968001,"66":27995,"130":206,"27":54016,"24":29,"16":367240839342063616,"44":-4842988048751505408},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,27,24,16,44]} 
[2026-08-02 10:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125011968001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:52:45] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-02 10:52:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367240839342063616,"km_value":367240839342063.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:52:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4842988048751505408,"description":"Unknown IO ID 44"} 
[2026-08-02 10:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125011968001,"power":27995,"unknown_130":206,"unknown_27":54016,"ignition":29,"odometer":null,"unknown_44":-4842988048751505408}} 
[2026-08-02 10:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":146749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:52:45] local.INFO: GPS data processed {"connection_id":146749,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:52:45] local.INFO: Acknowledgment sent {"connection_id":146749,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:53:10] local.INFO: TCP Data received {"connection_id":147774,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:53:10] local.INFO: Processing buffer {"connection_id":147774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:53:10] local.INFO: IMEI packet received {"connection_id":147774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":147774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:53:15] local.INFO: TCP Data received {"connection_id":147774,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:53:15] local.INFO: Processing buffer {"connection_id":147774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:53:15] local.INFO: IMEI packet received {"connection_id":147774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":147774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:53:16] local.INFO: TCP Data received {"connection_id":147774,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:53:16] local.INFO: Processing buffer {"connection_id":147774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:53:16] local.INFO: Packet analysis {"connection_id":147774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e8"} 
[2026-08-02 10:53:16] local.INFO: Extracted packet for processing {"connection_id":147774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e8"} 
[2026-08-02 10:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756642688,"raw_latitude":119533112,"longitude_deg":75.6642688,"latitude_deg":11.9533112,"altitude":50,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d197380","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-02 10:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125773312001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282375044923392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404052480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785647858000,"timestamp_ms":1785647858000,"timestamp_seconds":1785647858,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e80150"} 
[2026-08-02 10:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":147774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":147774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":147774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125773312001,"66":2177,"102":206,"83":41984,"24":0,"16":10282375044923392,"45":1845490715404052480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 10:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125773312001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:53:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 10:53:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282375044923392,"km_value":10282375044923.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404052480,"description":"Unknown IO ID 45"} 
[2026-08-02 10:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125773312001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404052480}} 
[2026-08-02 10:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":147774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:53:16] local.INFO: GPS data processed {"connection_id":147774,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:53:16] local.INFO: Acknowledgment sent {"connection_id":147774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:53:26] local.INFO: TCP Data received {"connection_id":147775,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:53:26] local.INFO: Processing buffer {"connection_id":147775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:53:26] local.INFO: IMEI packet received {"connection_id":147775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":147775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:53:29] local.INFO: TCP Data received {"connection_id":147775,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:53:29] local.INFO: Processing buffer {"connection_id":147775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:53:29] local.INFO: IMEI packet received {"connection_id":147775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":147775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:53:36] local.INFO: TCP Data received {"connection_id":147775,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:53:36] local.INFO: Processing buffer {"connection_id":147775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:53:36] local.INFO: IMEI packet received {"connection_id":147775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":147775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:53:36] local.INFO: TCP Data received {"connection_id":147775,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc0ecbc40012cc330c007685958005800c528..."} 
[2026-08-02 10:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147775,"packet_length":93,"packet_hex":"00000000000000518e010000019fc0ecbc40012cc330c007685958005800c528..."} 
[2026-08-02 10:53:36] local.INFO: Processing buffer {"connection_id":147775,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc0ecbc40012cc330c007685958005800c528..."} 
[2026-08-02 10:53:36] local.INFO: Packet analysis {"connection_id":147775,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc0ec"} 
[2026-08-02 10:53:36] local.INFO: Extracted packet for processing {"connection_id":147775,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc0ec"} 
[2026-08-02 10:53:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 10: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":93,"current_offset":40} 
[2026-08-02 10:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:53:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:53:36] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 10:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147775,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 10:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147775,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 10:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147775,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 10:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 10:53:36] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 10:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":147775,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 10:53:36] local.ERROR: GPS data processing failed {"connection_id":147775,"error":"No valid data to process"} 
[2026-08-02 10:53:36] local.INFO: Acknowledgment sent {"connection_id":147775,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 10:53:45] local.INFO: TCP Data received {"connection_id":147775,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b4c808012cbbf5c0076642d0001e00402b..."} 
[2026-08-02 10:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b4c808012cbbf5c0076642d0001e00402b..."} 
[2026-08-02 10:53:45] local.INFO: Processing buffer {"connection_id":147775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b4c808012cbbf5c0076642d0001e00402b..."} 
[2026-08-02 10:53:45] local.INFO: Packet analysis {"connection_id":147775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b4"} 
[2026-08-02 10:53:45] local.INFO: Extracted packet for processing {"connection_id":147775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b4"} 
[2026-08-02 10:53:45] local.INFO: GPS Element Parsed {"raw_longitude":750515648,"raw_latitude":124142288,"longitude_deg":75.0515648,"latitude_deg":12.4142288,"altitude":30,"angle":64,"satellites":43,"speed":15,"hex_longitude":"2cbbf5c0","hex_latitude":"076642d0","is_valid_coordinates":true} 
[2026-08-02 10:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124992000001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367237411958161408,"note":"Value kept but may cause issues"} 
[2026-08-02 10:53:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4903082956286728192,"note":"Value kept but may cause issues"} 
[2026-08-02 10:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785644501000,"timestamp_ms":1785644501000,"timestamp_seconds":1785644501,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b4c808"} 
[2026-08-02 10:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 10:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":147775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":147775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":147775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124992000001,"66":27908,"131":206,"27":54016,"24":15,"16":367237411958161408,"44":-4903082956286728192},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,27,24,16,44]} 
[2026-08-02 10:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124992000001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:53:45] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 10:53:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367237411958161408,"km_value":367237411958161.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:53:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4903082956286728192,"description":"Unknown IO ID 44"} 
[2026-08-02 10:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124992000001,"power":27908,"unknown_131":206,"unknown_27":54016,"ignition":15,"odometer":null,"unknown_44":-4903082956286728192}} 
[2026-08-02 10:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":147775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:53:45] local.INFO: GPS data processed {"connection_id":147775,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:53:45] local.INFO: Acknowledgment sent {"connection_id":147775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:54:00] local.INFO: TCP Data received {"connection_id":146536,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:54:00] local.INFO: Processing buffer {"connection_id":146536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:54:00] local.INFO: IMEI packet received {"connection_id":146536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":146536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:54:05] local.INFO: TCP Data received {"connection_id":146536,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:54:05] local.INFO: Processing buffer {"connection_id":146536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:54:05] local.INFO: IMEI packet received {"connection_id":146536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":146536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:54:06] local.INFO: TCP Data received {"connection_id":146536,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:54:06] local.INFO: Processing buffer {"connection_id":146536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:54:06] local.INFO: Packet analysis {"connection_id":146536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e8"} 
[2026-08-02 10:54:06] local.INFO: Extracted packet for processing {"connection_id":146536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e8"} 
[2026-08-02 10:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756642688,"raw_latitude":119533112,"longitude_deg":75.6642688,"latitude_deg":11.9533112,"altitude":50,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d197380","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-02 10:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125773312001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282375044923392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404052480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785647858000,"timestamp_ms":1785647858000,"timestamp_seconds":1785647858,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e80150"} 
[2026-08-02 10:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125773312001,"66":2177,"102":206,"83":41984,"24":0,"16":10282375044923392,"45":1845490715404052480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 10:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125773312001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:54:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 10:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282375044923392,"km_value":10282375044923.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404052480,"description":"Unknown IO ID 45"} 
[2026-08-02 10:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125773312001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404052480}} 
[2026-08-02 10:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":146536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:54:06] local.INFO: GPS data processed {"connection_id":146536,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:54:06] local.INFO: Acknowledgment sent {"connection_id":146536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:54:25] local.INFO: TCP Data received {"connection_id":149086,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:54:25] local.INFO: Processing buffer {"connection_id":149086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:54:25] local.INFO: IMEI packet received {"connection_id":149086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":149086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:54:30] local.INFO: TCP Data received {"connection_id":149086,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:54:30] local.INFO: Processing buffer {"connection_id":149086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:54:30] local.INFO: IMEI packet received {"connection_id":149086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":149086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:54:35] local.INFO: TCP Data received {"connection_id":149086,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b3e578012cbbd1800765aef0002400302d..."} 
[2026-08-02 10:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b3e578012cbbd1800765aef0002400302d..."} 
[2026-08-02 10:54:35] local.INFO: Processing buffer {"connection_id":149086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b3e578012cbbd1800765aef0002400302d..."} 
[2026-08-02 10:54:35] local.INFO: Packet analysis {"connection_id":149086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b3"} 
[2026-08-02 10:54:35] local.INFO: Extracted packet for processing {"connection_id":149086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b3"} 
[2026-08-02 10:54:35] local.INFO: GPS Element Parsed {"raw_longitude":750506368,"raw_latitude":124104432,"longitude_deg":75.0506368,"latitude_deg":12.4104432,"altitude":36,"angle":48,"satellites":45,"speed":29,"hex_longitude":"2cbbd180","hex_latitude":"0765aef0","is_valid_coordinates":true} 
[2026-08-02 10:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124975616001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367235496402747392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4919197398713864192,"note":"Value kept but may cause issues"} 
[2026-08-02 10:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785644443000,"timestamp_ms":1785644443000,"timestamp_seconds":1785644443,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b3e578"} 
[2026-08-02 10:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 10:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124975616001,"66":28050,"131":206,"27":54016,"24":29,"16":367235496402747392,"44":-4919197398713864192},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,27,24,16,44]} 
[2026-08-02 10:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124975616001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:54:35] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-02 10:54:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367235496402747392,"km_value":367235496402747.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4919197398713864192,"description":"Unknown IO ID 44"} 
[2026-08-02 10:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124975616001,"power":28050,"unknown_131":206,"unknown_27":54016,"ignition":29,"odometer":null,"unknown_44":-4919197398713864192}} 
[2026-08-02 10:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":149086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:54:35] local.INFO: GPS data processed {"connection_id":149086,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:54:35] local.INFO: Acknowledgment sent {"connection_id":149086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:54:37] local.INFO: TCP Data received {"connection_id":146536,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:54:37] local.INFO: Processing buffer {"connection_id":146536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:54:37] local.INFO: Packet analysis {"connection_id":146536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e8"} 
[2026-08-02 10:54:37] local.INFO: Extracted packet for processing {"connection_id":146536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e8"} 
[2026-08-02 10:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756642688,"raw_latitude":119533112,"longitude_deg":75.6642688,"latitude_deg":11.9533112,"altitude":50,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d197380","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-02 10:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125773312001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282375044923392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404052480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785647858000,"timestamp_ms":1785647858000,"timestamp_seconds":1785647858,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e80150"} 
[2026-08-02 10:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125773312001,"66":2177,"102":206,"83":41984,"24":0,"16":10282375044923392,"45":1845490715404052480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 10:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125773312001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:54:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 10:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282375044923392,"km_value":10282375044923.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404052480,"description":"Unknown IO ID 45"} 
[2026-08-02 10:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125773312001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404052480}} 
[2026-08-02 10:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":146536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:54:37] local.INFO: GPS data processed {"connection_id":146536,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:54:37] local.INFO: Acknowledgment sent {"connection_id":146536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:54:56] local.INFO: TCP Data received {"connection_id":146750,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:54:56] local.INFO: Processing buffer {"connection_id":146750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:54:56] local.INFO: IMEI packet received {"connection_id":146750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":146750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:55:00] local.INFO: TCP Data received {"connection_id":146750,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:55:00] local.INFO: Processing buffer {"connection_id":146750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:55:00] local.INFO: IMEI packet received {"connection_id":146750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":146750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:55:00] local.INFO: TCP Data received {"connection_id":146750,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:55:00] local.INFO: Processing buffer {"connection_id":146750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:55:00] local.INFO: Packet analysis {"connection_id":146750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e8"} 
[2026-08-02 10:55:00] local.INFO: Extracted packet for processing {"connection_id":146750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e8"} 
[2026-08-02 10:55:00] local.INFO: GPS Element Parsed {"raw_longitude":756642688,"raw_latitude":119533112,"longitude_deg":75.6642688,"latitude_deg":11.9533112,"altitude":50,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d197380","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-02 10:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125773312001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282375044923392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404052480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785647858000,"timestamp_ms":1785647858000,"timestamp_seconds":1785647858,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e80150"} 
[2026-08-02 10:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125773312001,"66":2177,"102":206,"83":41984,"24":0,"16":10282375044923392,"45":1845490715404052480},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 10:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125773312001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:55:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 10:55:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282375044923392,"km_value":10282375044923.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404052480,"description":"Unknown IO ID 45"} 
[2026-08-02 10:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125773312001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404052480}} 
[2026-08-02 10:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":146750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:55:01] local.INFO: GPS data processed {"connection_id":146750,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:55:01] local.INFO: Acknowledgment sent {"connection_id":146750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:55:07] local.INFO: TCP Data received {"connection_id":149086,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:55:07] local.INFO: Processing buffer {"connection_id":149086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:55:07] local.INFO: Packet analysis {"connection_id":149086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b2"} 
[2026-08-02 10:55:07] local.INFO: Extracted packet for processing {"connection_id":149086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b2"} 
[2026-08-02 10:55:07] local.INFO: GPS Element Parsed {"raw_longitude":750439680,"raw_latitude":124061936,"longitude_deg":75.043968,"latitude_deg":12.4061936,"altitude":35,"angle":52,"satellites":45,"speed":37,"hex_longitude":"2cbacd00","hex_latitude":"076508f0","is_valid_coordinates":true} 
[2026-08-02 10:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124952576001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367231703946625024,"note":"Value kept but may cause issues"} 
[2026-08-02 10:55:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4993858636298065920,"note":"Value kept but may cause issues"} 
[2026-08-02 10:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785644356000,"timestamp_ms":1785644356000,"timestamp_seconds":1785644356,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b291a0"} 
[2026-08-02 10:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10: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-08-02 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 10:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124952576001,"66":27919,"110":206,"27":54016,"24":37,"16":367231703946625024,"44":-4993858636298065920},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,27,24,16,44]} 
[2026-08-02 10:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124952576001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:55:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 10:55:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367231703946625024,"km_value":367231703946625.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:55:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4993858636298065920,"description":"Unknown IO ID 44"} 
[2026-08-02 10:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124952576001,"power":27919,"unknown_110":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4993858636298065920}} 
[2026-08-02 10:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":149086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:55:07] local.INFO: GPS data processed {"connection_id":149086,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:55:07] local.INFO: Acknowledgment sent {"connection_id":149086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:55:25] local.INFO: TCP Data received {"connection_id":149087,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:55:25] local.INFO: Processing buffer {"connection_id":149087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:55:25] local.INFO: IMEI packet received {"connection_id":149087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":149087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:55:30] local.INFO: TCP Data received {"connection_id":149087,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:55:30] local.INFO: Processing buffer {"connection_id":149087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:55:30] local.INFO: IMEI packet received {"connection_id":149087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":149087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:55:31] local.INFO: TCP Data received {"connection_id":149087,"ip":"117.224.14.1","data_length":639,"data_hex":"00000000000002738e080000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149087,"packet_length":639,"packet_hex":"00000000000002738e080000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:55:31] local.INFO: Processing buffer {"connection_id":149087,"buffer_length":639,"buffer_hex":"00000000000002738e080000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:55:31] local.INFO: Packet analysis {"connection_id":149087,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019fc0b2"} 
[2026-08-02 10:55:31] local.INFO: Extracted packet for processing {"connection_id":149087,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019fc0b2"} 
[2026-08-02 10:55:31] local.INFO: GPS Element Parsed {"raw_longitude":750439680,"raw_latitude":124061936,"longitude_deg":75.043968,"latitude_deg":12.4061936,"altitude":35,"angle":52,"satellites":45,"speed":37,"hex_longitude":"2cbacd00","hex_latitude":"076508f0","is_valid_coordinates":true} 
[2026-08-02 10:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-08-02 10:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124952576001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367231703946625024,"note":"Value kept but may cause issues"} 
[2026-08-02 10:55:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4993858636298065920,"note":"Value kept but may cause issues"} 
[2026-08-02 10:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785644356000,"timestamp_ms":1785644356000,"timestamp_seconds":1785644356,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b291a0"} 
[2026-08-02 10:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":639,"current_offset":136} 
[2026-08-02 10:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:55:31] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149087,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-02 10:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124952576001,"66":27919,"110":206,"27":54016,"24":37,"16":367231703946625024,"44":-4993858636298065920},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,27,24,16,44]} 
[2026-08-02 10:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124952576001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:55:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 10:55:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367231703946625024,"km_value":367231703946625.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:55:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4993858636298065920,"description":"Unknown IO ID 44"} 
[2026-08-02 10:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124952576001,"power":27919,"unknown_110":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4993858636298065920}} 
[2026-08-02 10:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":149087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:55:31] local.INFO: GPS data processed {"connection_id":149087,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:55:31] local.INFO: Acknowledgment sent {"connection_id":149087,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:55:32] local.INFO: TCP Data received {"connection_id":146750,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:55:32] local.INFO: Processing buffer {"connection_id":146750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:55:32] local.INFO: Packet analysis {"connection_id":146750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e8"} 
[2026-08-02 10:55:32] local.INFO: Extracted packet for processing {"connection_id":146750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e8"} 
[2026-08-02 10:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756642688,"raw_latitude":119533112,"longitude_deg":75.6642688,"latitude_deg":11.9533112,"altitude":50,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d197380","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-02 10:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125773312001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282375044923392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404052480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785647858000,"timestamp_ms":1785647858000,"timestamp_seconds":1785647858,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e80150"} 
[2026-08-02 10:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":146750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":146750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":146750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125773312001,"66":2177,"102":206,"83":41984,"24":0,"16":10282375044923392,"45":1845490715404052480},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 10:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125773312001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:55:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 10:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282375044923392,"km_value":10282375044923.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404052480,"description":"Unknown IO ID 45"} 
[2026-08-02 10:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125773312001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404052480}} 
[2026-08-02 10:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":146750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:55:32] local.INFO: GPS data processed {"connection_id":146750,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:55:32] local.INFO: Acknowledgment sent {"connection_id":146750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:56:05] local.INFO: TCP Data received {"connection_id":146751,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:56:05] local.INFO: Processing buffer {"connection_id":146751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:56:05] local.INFO: IMEI packet received {"connection_id":146751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 10:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":146751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:56:06] local.INFO: TCP Data received {"connection_id":149087,"ip":"117.224.14.1","data_length":561,"data_hex":"00000000000002258e070000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149087,"packet_length":561,"packet_hex":"00000000000002258e070000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:56:06] local.INFO: Processing buffer {"connection_id":149087,"buffer_length":561,"buffer_hex":"00000000000002258e070000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:56:06] local.INFO: Packet analysis {"connection_id":149087,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019fc0b2"} 
[2026-08-02 10:56:06] local.INFO: Extracted packet for processing {"connection_id":149087,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019fc0b2"} 
[2026-08-02 10:56:06] local.INFO: GPS Element Parsed {"raw_longitude":750439680,"raw_latitude":124061936,"longitude_deg":75.043968,"latitude_deg":12.4061936,"altitude":35,"angle":52,"satellites":45,"speed":37,"hex_longitude":"2cbacd00","hex_latitude":"076508f0","is_valid_coordinates":true} 
[2026-08-02 10: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":561,"current_offset":40} 
[2026-08-02 10:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124952576001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367231703946625024,"note":"Value kept but may cause issues"} 
[2026-08-02 10:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4993858636298065920,"note":"Value kept but may cause issues"} 
[2026-08-02 10:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785644356000,"timestamp_ms":1785644356000,"timestamp_seconds":1785644356,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b291a0"} 
[2026-08-02 10:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":561,"current_offset":136} 
[2026-08-02 10:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:56:06] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149087,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-02 10:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124952576001,"66":27919,"110":206,"27":54016,"24":37,"16":367231703946625024,"44":-4993858636298065920},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,27,24,16,44]} 
[2026-08-02 10:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124952576001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:56:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 10:56:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367231703946625024,"km_value":367231703946625.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4993858636298065920,"description":"Unknown IO ID 44"} 
[2026-08-02 10:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124952576001,"power":27919,"unknown_110":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4993858636298065920}} 
[2026-08-02 10:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":149087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:56:06] local.INFO: GPS data processed {"connection_id":149087,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:56:06] local.INFO: Acknowledgment sent {"connection_id":149087,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:56:10] local.INFO: TCP Data received {"connection_id":146751,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:56:10] local.INFO: Processing buffer {"connection_id":146751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 10:56:10] local.INFO: IMEI packet received {"connection_id":146751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 10:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":146751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:56:11] local.INFO: TCP Data received {"connection_id":146751,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:56:11] local.INFO: Processing buffer {"connection_id":146751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:56:11] local.INFO: Packet analysis {"connection_id":146751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e8"} 
[2026-08-02 10:56:11] local.INFO: Extracted packet for processing {"connection_id":146751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e8"} 
[2026-08-02 10:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756642688,"raw_latitude":119533112,"longitude_deg":75.6642688,"latitude_deg":11.9533112,"altitude":50,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d197380","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-02 10:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125773312001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282375044923392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404052480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785647858000,"timestamp_ms":1785647858000,"timestamp_seconds":1785647858,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e80150"} 
[2026-08-02 10:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125773312001,"66":2177,"102":206,"83":41984,"24":0,"16":10282375044923392,"45":1845490715404052480},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 10:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125773312001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:56:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 10:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282375044923392,"km_value":10282375044923.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404052480,"description":"Unknown IO ID 45"} 
[2026-08-02 10:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125773312001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404052480}} 
[2026-08-02 10:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":146751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:56:11] local.INFO: GPS data processed {"connection_id":146751,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:56:11] local.INFO: Acknowledgment sent {"connection_id":146751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:56:16] local.INFO: TCP Data received {"connection_id":146751,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:56:16] local.INFO: Processing buffer {"connection_id":146751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0e80150012d197380071fee380032011424..."} 
[2026-08-02 10:56:16] local.INFO: Packet analysis {"connection_id":146751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0e8"} 
[2026-08-02 10:56:16] local.INFO: Extracted packet for processing {"connection_id":146751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0e8"} 
[2026-08-02 10:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756642688,"raw_latitude":119533112,"longitude_deg":75.6642688,"latitude_deg":11.9533112,"altitude":50,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d197380","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-02 10:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457125773312001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282375044923392,"note":"Value kept but may cause issues"} 
[2026-08-02 10:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404052480,"note":"Value kept but may cause issues"} 
[2026-08-02 10:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785647858000,"timestamp_ms":1785647858000,"timestamp_seconds":1785647858,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0e80150"} 
[2026-08-02 10:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 10:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 10:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 10:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 10:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 10:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457125773312001,"66":2177,"102":206,"83":41984,"24":0,"16":10282375044923392,"45":1845490715404052480},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 10:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 10:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 10:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457125773312001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:56:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 10:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 10:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282375044923392,"km_value":10282375044923.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404052480,"description":"Unknown IO ID 45"} 
[2026-08-02 10:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457125773312001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404052480}} 
[2026-08-02 10:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":146751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:56:16] local.INFO: GPS data processed {"connection_id":146751,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:56:16] local.INFO: Acknowledgment sent {"connection_id":146751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:56:24] local.INFO: TCP Data received {"connection_id":146752,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:56:24] local.INFO: Processing buffer {"connection_id":146752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:56:24] local.INFO: IMEI packet received {"connection_id":146752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":146752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:56:30] local.INFO: TCP Data received {"connection_id":146752,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:56:30] local.INFO: Processing buffer {"connection_id":146752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:56:30] local.INFO: IMEI packet received {"connection_id":146752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":146752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:56:31] local.INFO: TCP Data received {"connection_id":146752,"ip":"117.224.14.1","data_length":483,"data_hex":"00000000000001d78e060000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146752,"packet_length":483,"packet_hex":"00000000000001d78e060000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:56:31] local.INFO: Processing buffer {"connection_id":146752,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:56:31] local.INFO: Packet analysis {"connection_id":146752,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019fc0b2"} 
[2026-08-02 10:56:31] local.INFO: Extracted packet for processing {"connection_id":146752,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019fc0b2"} 
[2026-08-02 10:56:31] local.INFO: GPS Element Parsed {"raw_longitude":750439680,"raw_latitude":124061936,"longitude_deg":75.043968,"latitude_deg":12.4061936,"altitude":35,"angle":52,"satellites":45,"speed":37,"hex_longitude":"2cbacd00","hex_latitude":"076508f0","is_valid_coordinates":true} 
[2026-08-02 10:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-08-02 10:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124952576001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367231703946625024,"note":"Value kept but may cause issues"} 
[2026-08-02 10:56:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4993858636298065920,"note":"Value kept but may cause issues"} 
[2026-08-02 10:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785644356000,"timestamp_ms":1785644356000,"timestamp_seconds":1785644356,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b291a0"} 
[2026-08-02 10:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":483,"current_offset":136} 
[2026-08-02 10:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:56:31] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146752,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-02 10:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124952576001,"66":27919,"110":206,"27":54016,"24":37,"16":367231703946625024,"44":-4993858636298065920},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,27,24,16,44]} 
[2026-08-02 10:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124952576001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:56:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 10:56:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367231703946625024,"km_value":367231703946625.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:56:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4993858636298065920,"description":"Unknown IO ID 44"} 
[2026-08-02 10:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124952576001,"power":27919,"unknown_110":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4993858636298065920}} 
[2026-08-02 10:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":146752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:56:31] local.INFO: GPS data processed {"connection_id":146752,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:56:31] local.INFO: Acknowledgment sent {"connection_id":146752,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:57:02] local.INFO: TCP Data received {"connection_id":146752,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146752,"packet_length":405,"packet_hex":"00000000000001898e050000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:57:02] local.INFO: Processing buffer {"connection_id":146752,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:57:02] local.INFO: Packet analysis {"connection_id":146752,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc0b2"} 
[2026-08-02 10:57:02] local.INFO: Extracted packet for processing {"connection_id":146752,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc0b2"} 
[2026-08-02 10:57:02] local.INFO: GPS Element Parsed {"raw_longitude":750439680,"raw_latitude":124061936,"longitude_deg":75.043968,"latitude_deg":12.4061936,"altitude":35,"angle":52,"satellites":45,"speed":37,"hex_longitude":"2cbacd00","hex_latitude":"076508f0","is_valid_coordinates":true} 
[2026-08-02 10:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-08-02 10:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124952576001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367231703946625024,"note":"Value kept but may cause issues"} 
[2026-08-02 10:57:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4993858636298065920,"note":"Value kept but may cause issues"} 
[2026-08-02 10:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785644356000,"timestamp_ms":1785644356000,"timestamp_seconds":1785644356,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b291a0"} 
[2026-08-02 10:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":405,"current_offset":136} 
[2026-08-02 10:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:57:02] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146752,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 10:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124952576001,"66":27919,"110":206,"27":54016,"24":37,"16":367231703946625024,"44":-4993858636298065920},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,27,24,16,44]} 
[2026-08-02 10:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124952576001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:57:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 10:57:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367231703946625024,"km_value":367231703946625.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:57:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4993858636298065920,"description":"Unknown IO ID 44"} 
[2026-08-02 10:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124952576001,"power":27919,"unknown_110":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4993858636298065920}} 
[2026-08-02 10:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":146752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:57:02] local.INFO: GPS data processed {"connection_id":146752,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:57:02] local.INFO: Acknowledgment sent {"connection_id":146752,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:57:29] local.INFO: TCP Data received {"connection_id":146537,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:57:29] local.INFO: Processing buffer {"connection_id":146537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:57:29] local.INFO: IMEI packet received {"connection_id":146537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":146537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:57:37] local.INFO: TCP Data received {"connection_id":146537,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:57:37] local.INFO: Processing buffer {"connection_id":146537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:57:37] local.INFO: IMEI packet received {"connection_id":146537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":146537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:57:38] local.INFO: TCP Data received {"connection_id":146537,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146537,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:57:38] local.INFO: Processing buffer {"connection_id":146537,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:57:38] local.INFO: Packet analysis {"connection_id":146537,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc0b2"} 
[2026-08-02 10:57:38] local.INFO: Extracted packet for processing {"connection_id":146537,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc0b2"} 
[2026-08-02 10:57:38] local.INFO: GPS Element Parsed {"raw_longitude":750439680,"raw_latitude":124061936,"longitude_deg":75.043968,"latitude_deg":12.4061936,"altitude":35,"angle":52,"satellites":45,"speed":37,"hex_longitude":"2cbacd00","hex_latitude":"076508f0","is_valid_coordinates":true} 
[2026-08-02 10: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":327,"current_offset":40} 
[2026-08-02 10:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124952576001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367231703946625024,"note":"Value kept but may cause issues"} 
[2026-08-02 10:57:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4993858636298065920,"note":"Value kept but may cause issues"} 
[2026-08-02 10:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785644356000,"timestamp_ms":1785644356000,"timestamp_seconds":1785644356,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b291a0"} 
[2026-08-02 10:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":327,"current_offset":136} 
[2026-08-02 10:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:57:38] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146537,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 10:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124952576001,"66":27919,"110":206,"27":54016,"24":37,"16":367231703946625024,"44":-4993858636298065920},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,27,24,16,44]} 
[2026-08-02 10:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124952576001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:57:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 10:57:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367231703946625024,"km_value":367231703946625.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:57:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4993858636298065920,"description":"Unknown IO ID 44"} 
[2026-08-02 10:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124952576001,"power":27919,"unknown_110":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4993858636298065920}} 
[2026-08-02 10:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":146537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:57:38] local.INFO: GPS data processed {"connection_id":146537,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:57:38] local.INFO: Acknowledgment sent {"connection_id":146537,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:57:40] local.INFO: TCP Data received {"connection_id":146537,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146537,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:57:40] local.INFO: Processing buffer {"connection_id":146537,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc0b291a0012cbacd00076508f0002300342d..."} 
[2026-08-02 10:57:40] local.INFO: Packet analysis {"connection_id":146537,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc0b2"} 
[2026-08-02 10:57:40] local.INFO: Extracted packet for processing {"connection_id":146537,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc0b2"} 
[2026-08-02 10:57:40] local.INFO: GPS Element Parsed {"raw_longitude":750439680,"raw_latitude":124061936,"longitude_deg":75.043968,"latitude_deg":12.4061936,"altitude":35,"angle":52,"satellites":45,"speed":37,"hex_longitude":"2cbacd00","hex_latitude":"076508f0","is_valid_coordinates":true} 
[2026-08-02 10: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":249,"current_offset":40} 
[2026-08-02 10:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124952576001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367231703946625024,"note":"Value kept but may cause issues"} 
[2026-08-02 10:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4993858636298065920,"note":"Value kept but may cause issues"} 
[2026-08-02 10:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785644356000,"timestamp_ms":1785644356000,"timestamp_seconds":1785644356,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b291a0"} 
[2026-08-02 10:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":15,"data_length":249,"current_offset":136} 
[2026-08-02 10:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:57:40] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146537,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 10:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124952576001,"66":27919,"110":206,"27":54016,"24":37,"16":367231703946625024,"44":-4993858636298065920},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,27,24,16,44]} 
[2026-08-02 10:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124952576001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:57:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 10:57:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367231703946625024,"km_value":367231703946625.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4993858636298065920,"description":"Unknown IO ID 44"} 
[2026-08-02 10:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124952576001,"power":27919,"unknown_110":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4993858636298065920}} 
[2026-08-02 10:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":146537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:57:40] local.INFO: GPS data processed {"connection_id":146537,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:57:40] local.INFO: Acknowledgment sent {"connection_id":146537,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:58:30] local.INFO: TCP Data received {"connection_id":146753,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:58:30] local.INFO: Processing buffer {"connection_id":146753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:58:30] local.INFO: IMEI packet received {"connection_id":146753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":146753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:58:32] local.INFO: TCP Data received {"connection_id":146753,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:58:32] local.INFO: Processing buffer {"connection_id":146753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:58:32] local.INFO: IMEI packet received {"connection_id":146753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":146753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:58:33] local.INFO: TCP Data received {"connection_id":146753,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc0f15408012cc330c007685958005800c528..."} 
[2026-08-02 10:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146753,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc0f15408012cc330c007685958005800c528..."} 
[2026-08-02 10:58:33] local.INFO: Processing buffer {"connection_id":146753,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc0f15408012cc330c007685958005800c528..."} 
[2026-08-02 10:58:33] local.INFO: Packet analysis {"connection_id":146753,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc0f1"} 
[2026-08-02 10:58:33] local.INFO: Extracted packet for processing {"connection_id":146753,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc0f1"} 
[2026-08-02 10:58:33] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 10:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-08-02 10:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124955136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:58:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4986329180669415424,"note":"Value kept but may cause issues"} 
[2026-08-02 10:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785648469000,"timestamp_ms":1785648469000,"timestamp_seconds":1785648469,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0f15408"} 
[2026-08-02 10:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":249,"current_offset":136} 
[2026-08-02 10:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:58:33] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146753,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 10:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124955136001,"66":25702,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4986329180669415424},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124955136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:58:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:58:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:58:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4986329180669415424,"description":"Unknown IO ID 44"} 
[2026-08-02 10:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124955136001,"power":25702,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4986329180669415424}} 
[2026-08-02 10:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":146753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:58:33] local.INFO: GPS data processed {"connection_id":146753,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:58:33] local.INFO: Acknowledgment sent {"connection_id":146753,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:58:33] local.INFO: TCP Data received {"connection_id":146753,"ip":"117.224.14.1","data_length":171,"data_hex":"000000000000009f8e020000019fc0f15408012cc330c007685958005800c528..."} 
[2026-08-02 10:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146753,"packet_length":171,"packet_hex":"000000000000009f8e020000019fc0f15408012cc330c007685958005800c528..."} 
[2026-08-02 10:58:33] local.INFO: Processing buffer {"connection_id":146753,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fc0f15408012cc330c007685958005800c528..."} 
[2026-08-02 10:58:33] local.INFO: Packet analysis {"connection_id":146753,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fc0f1"} 
[2026-08-02 10:58:33] local.INFO: Extracted packet for processing {"connection_id":146753,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fc0f1"} 
[2026-08-02 10:58:33] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 10:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-08-02 10:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124955136001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 10:58:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4986329180669415424,"note":"Value kept but may cause issues"} 
[2026-08-02 10:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785648469000,"timestamp_ms":1785648469000,"timestamp_seconds":1785648469,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0f15408"} 
[2026-08-02 10:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":171,"current_offset":136} 
[2026-08-02 10:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:58:33] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146753,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 10:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124955136001,"66":25702,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4986329180669415424},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 10:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124955136001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:58:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 10:58:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:58:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4986329180669415424,"description":"Unknown IO ID 44"} 
[2026-08-02 10:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124955136001,"power":25702,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4986329180669415424}} 
[2026-08-02 10:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":146753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:58:33] local.INFO: GPS data processed {"connection_id":146753,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:58:33] local.INFO: Acknowledgment sent {"connection_id":146753,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 10:59:05] local.INFO: TCP Data received {"connection_id":146753,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc0f15408012cc330c007685958005800c528..."} 
[2026-08-02 10:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146753,"packet_length":93,"packet_hex":"00000000000000518e010000019fc0f15408012cc330c007685958005800c528..."} 
[2026-08-02 10:59:05] local.INFO: Processing buffer {"connection_id":146753,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc0f15408012cc330c007685958005800c528..."} 
[2026-08-02 10:59:05] local.INFO: Packet analysis {"connection_id":146753,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc0f1"} 
[2026-08-02 10:59:05] local.INFO: Extracted packet for processing {"connection_id":146753,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc0f1"} 
[2026-08-02 10:59:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 10: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":93,"current_offset":40} 
[2026-08-02 10:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:59:05] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:59:05] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 10:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146753,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 10:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146753,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 10:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146753,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 10:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 10:59:05] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 10:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":146753,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 10:59:05] local.ERROR: GPS data processing failed {"connection_id":146753,"error":"No valid data to process"} 
[2026-08-02 10:59:05] local.INFO: Acknowledgment sent {"connection_id":146753,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 10:59:24] local.INFO: TCP Data received {"connection_id":146754,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:59:24] local.INFO: Processing buffer {"connection_id":146754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:59:24] local.INFO: IMEI packet received {"connection_id":146754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 10:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":146754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 10:59:31] local.INFO: TCP Data received {"connection_id":146754,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:59:31] local.INFO: Processing buffer {"connection_id":146754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 10:59:31] local.INFO: IMEI packet received {"connection_id":146754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 10:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":146754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 10:59:35] local.INFO: TCP Data received {"connection_id":146754,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b15150012cb9c4c0076486d00015003f2b..."} 
[2026-08-02 10:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b15150012cb9c4c0076486d00015003f2b..."} 
[2026-08-02 10:59:35] local.INFO: Processing buffer {"connection_id":146754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b15150012cb9c4c0076486d00015003f2b..."} 
[2026-08-02 10:59:35] local.INFO: Packet analysis {"connection_id":146754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b1"} 
[2026-08-02 10:59:35] local.INFO: Extracted packet for processing {"connection_id":146754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b1"} 
[2026-08-02 10:59:35] local.INFO: GPS Element Parsed {"raw_longitude":750372032,"raw_latitude":124028624,"longitude_deg":75.0372032,"latitude_deg":12.4028624,"altitude":21,"angle":63,"satellites":43,"speed":37,"hex_longitude":"2cb9c4c0","hex_latitude":"076486d0","is_valid_coordinates":true} 
[2026-08-02 10:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 10:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124931840001,"note":"Value kept but may cause issues"} 
[2026-08-02 10:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367228010274750464,"note":"Value kept but may cause issues"} 
[2026-08-02 10:59:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5069575405041262592,"note":"Value kept but may cause issues"} 
[2026-08-02 10:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 10:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785644274000,"timestamp_ms":1785644274000,"timestamp_seconds":1785644274,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b15150"} 
[2026-08-02 10:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 10:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 10: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-02 10:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 10:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 10:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 10:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 10:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 10:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 10:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 10:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 10:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 10:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124931840001,"66":27876,"230":206,"27":54016,"24":37,"16":367228010274750464,"44":-5069575405041262592},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,27,24,16,44]} 
[2026-08-02 10:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 10:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 10:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124931840001,"description":"Unknown IO ID 0"} 
[2026-08-02 10:59:35] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-02 10:59:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 10:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367228010274750464,"km_value":367228010274750.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 10:59:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5069575405041262592,"description":"Unknown IO ID 44"} 
[2026-08-02 10:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124931840001,"power":27876,"unknown_230":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-5069575405041262592}} 
[2026-08-02 10:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":146754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 10:59:35] local.INFO: GPS data processed {"connection_id":146754,"processed":1,"errors":0,"total":1} 
[2026-08-02 10:59:35] local.INFO: Acknowledgment sent {"connection_id":146754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:00:07] local.INFO: TCP Data received {"connection_id":146754,"ip":"117.224.14.1","data_length":717,"data_hex":"00000000000002c18e090000019fc0b15150012cb9c4c0076486d00015003f2b..."} 
[2026-08-02 11:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146754,"packet_length":717,"packet_hex":"00000000000002c18e090000019fc0b15150012cb9c4c0076486d00015003f2b..."} 
[2026-08-02 11:00:07] local.INFO: Processing buffer {"connection_id":146754,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019fc0b15150012cb9c4c0076486d00015003f2b..."} 
[2026-08-02 11:00:07] local.INFO: Packet analysis {"connection_id":146754,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019fc0b1"} 
[2026-08-02 11:00:07] local.INFO: Extracted packet for processing {"connection_id":146754,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019fc0b1"} 
[2026-08-02 11:00:07] local.INFO: GPS Element Parsed {"raw_longitude":750372032,"raw_latitude":124028624,"longitude_deg":75.0372032,"latitude_deg":12.4028624,"altitude":21,"angle":63,"satellites":43,"speed":37,"hex_longitude":"2cb9c4c0","hex_latitude":"076486d0","is_valid_coordinates":true} 
[2026-08-02 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":717,"current_offset":40} 
[2026-08-02 11:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124931840001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367228010274750464,"note":"Value kept but may cause issues"} 
[2026-08-02 11:00:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5069575405041262592,"note":"Value kept but may cause issues"} 
[2026-08-02 11:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785644274000,"timestamp_ms":1785644274000,"timestamp_seconds":1785644274,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b15150"} 
[2026-08-02 11:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":106,"n8_eight_byte":98,"data_length":717,"current_offset":136} 
[2026-08-02 11:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:00:07] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146754,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-02 11:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124931840001,"66":27876,"230":206,"27":54016,"24":37,"16":367228010274750464,"44":-5069575405041262592},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,27,24,16,44]} 
[2026-08-02 11:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124931840001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:00:07] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-02 11:00:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367228010274750464,"km_value":367228010274750.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:00:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5069575405041262592,"description":"Unknown IO ID 44"} 
[2026-08-02 11:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124931840001,"power":27876,"unknown_230":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-5069575405041262592}} 
[2026-08-02 11:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":146754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:00:07] local.INFO: GPS data processed {"connection_id":146754,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:00:07] local.INFO: Acknowledgment sent {"connection_id":146754,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:00:35] local.INFO: TCP Data received {"connection_id":146755,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:00:35] local.INFO: Processing buffer {"connection_id":146755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:00:35] local.INFO: IMEI packet received {"connection_id":146755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":146755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:00:39] local.INFO: TCP Data received {"connection_id":146755,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:00:39] local.INFO: Processing buffer {"connection_id":146755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:00:39] local.INFO: IMEI packet received {"connection_id":146755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":146755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:00:46] local.INFO: TCP Data received {"connection_id":146755,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0b00160012cb8f1c0076421880012005f2c..."} 
[2026-08-02 11:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0b00160012cb8f1c0076421880012005f2c..."} 
[2026-08-02 11:00:46] local.INFO: Processing buffer {"connection_id":146755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0b00160012cb8f1c0076421880012005f2c..."} 
[2026-08-02 11:00:46] local.INFO: Packet analysis {"connection_id":146755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0b0"} 
[2026-08-02 11:00:46] local.INFO: Extracted packet for processing {"connection_id":146755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0b0"} 
[2026-08-02 11:00:46] local.INFO: GPS Element Parsed {"raw_longitude":750318016,"raw_latitude":124002696,"longitude_deg":75.0318016,"latitude_deg":12.4002696,"altitude":18,"angle":95,"satellites":44,"speed":17,"hex_longitude":"2cb8f1c0","hex_latitude":"07642188","is_valid_coordinates":true} 
[2026-08-02 11:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124908800001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367225089696989184,"note":"Value kept but may cause issues"} 
[2026-08-02 11:00:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5127559250249142272,"note":"Value kept but may cause issues"} 
[2026-08-02 11:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785644188000,"timestamp_ms":1785644188000,"timestamp_seconds":1785644188,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0b00160"} 
[2026-08-02 11:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 11:00: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-08-02 11:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124908800001,"66":27658,"230":206,"27":54016,"24":17,"16":367225089696989184,"44":-5127559250249142272},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,27,24,16,44]} 
[2026-08-02 11:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124908800001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:00:46] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-02 11:00:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367225089696989184,"km_value":367225089696989.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:00:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5127559250249142272,"description":"Unknown IO ID 44"} 
[2026-08-02 11:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124908800001,"power":27658,"unknown_230":206,"unknown_27":54016,"ignition":17,"odometer":null,"unknown_44":-5127559250249142272}} 
[2026-08-02 11:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":146755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:00:46] local.INFO: GPS data processed {"connection_id":146755,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:00:46] local.INFO: Acknowledgment sent {"connection_id":146755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:01:30] local.INFO: TCP Data received {"connection_id":149088,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:01:30] local.INFO: Processing buffer {"connection_id":149088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:01:30] local.INFO: IMEI packet received {"connection_id":149088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":149088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:01:44] local.INFO: TCP Data received {"connection_id":149088,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:01:44] local.INFO: Processing buffer {"connection_id":149088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:01:44] local.INFO: IMEI packet received {"connection_id":149088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":149088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:01:45] local.INFO: TCP Data received {"connection_id":149088,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ae9a00012cb83cc0076495d8000a00952d..."} 
[2026-08-02 11:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ae9a00012cb83cc0076495d8000a00952d..."} 
[2026-08-02 11:01:45] local.INFO: Processing buffer {"connection_id":149088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ae9a00012cb83cc0076495d8000a00952d..."} 
[2026-08-02 11:01:45] local.INFO: Packet analysis {"connection_id":149088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ae"} 
[2026-08-02 11:01:45] local.INFO: Extracted packet for processing {"connection_id":149088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ae"} 
[2026-08-02 11:01:45] local.INFO: GPS Element Parsed {"raw_longitude":750271680,"raw_latitude":124032472,"longitude_deg":75.027168,"latitude_deg":12.4032472,"altitude":10,"angle":149,"satellites":45,"speed":45,"hex_longitude":"2cb83cc0","hex_latitude":"076495d8","is_valid_coordinates":true} 
[2026-08-02 11:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124886528001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367222379572625408,"note":"Value kept but may cause issues"} 
[2026-08-02 11:01:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5175972946233759744,"note":"Value kept but may cause issues"} 
[2026-08-02 11:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785644096000,"timestamp_ms":1785644096000,"timestamp_seconds":1785644096,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ae9a00"} 
[2026-08-02 11:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-02 11:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124886528001,"66":28028,"232":206,"27":54016,"24":45,"16":367222379572625408,"44":-5175972946233759744},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,27,24,16,44]} 
[2026-08-02 11:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124886528001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:01:45] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-02 11:01:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367222379572625408,"km_value":367222379572625.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:01:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5175972946233759744,"description":"Unknown IO ID 44"} 
[2026-08-02 11:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124886528001,"power":28028,"unknown_232":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-5175972946233759744}} 
[2026-08-02 11:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":149088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:01:45] local.INFO: GPS data processed {"connection_id":149088,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:01:45] local.INFO: Acknowledgment sent {"connection_id":149088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:01:46] local.INFO: TCP Data received {"connection_id":149088,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc0ae9a00012cb83cc0076495d8000a00952d..."} 
[2026-08-02 11:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149088,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc0ae9a00012cb83cc0076495d8000a00952d..."} 
[2026-08-02 11:01:46] local.INFO: Processing buffer {"connection_id":149088,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc0ae9a00012cb83cc0076495d8000a00952d..."} 
[2026-08-02 11:01:46] local.INFO: Packet analysis {"connection_id":149088,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc0ae"} 
[2026-08-02 11:01:46] local.INFO: Extracted packet for processing {"connection_id":149088,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc0ae"} 
[2026-08-02 11:01:46] local.INFO: GPS Element Parsed {"raw_longitude":750271680,"raw_latitude":124032472,"longitude_deg":75.027168,"latitude_deg":12.4032472,"altitude":10,"angle":149,"satellites":45,"speed":45,"hex_longitude":"2cb83cc0","hex_latitude":"076495d8","is_valid_coordinates":true} 
[2026-08-02 11:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-02 11:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124886528001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367222379572625408,"note":"Value kept but may cause issues"} 
[2026-08-02 11:01:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5175972946233759744,"note":"Value kept but may cause issues"} 
[2026-08-02 11:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785644096000,"timestamp_ms":1785644096000,"timestamp_seconds":1785644096,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ae9a00"} 
[2026-08-02 11:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":327,"current_offset":136} 
[2026-08-02 11:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:01:46] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149088,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 11:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124886528001,"66":28028,"232":206,"27":54016,"24":45,"16":367222379572625408,"44":-5175972946233759744},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,27,24,16,44]} 
[2026-08-02 11:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124886528001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:01:46] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-02 11:01:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367222379572625408,"km_value":367222379572625.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:01:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5175972946233759744,"description":"Unknown IO ID 44"} 
[2026-08-02 11:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124886528001,"power":28028,"unknown_232":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-5175972946233759744}} 
[2026-08-02 11:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":149088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:01:46] local.INFO: GPS data processed {"connection_id":149088,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:01:46] local.INFO: Acknowledgment sent {"connection_id":149088,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:02:30] local.INFO: TCP Data received {"connection_id":147776,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:02:30] local.INFO: Processing buffer {"connection_id":147776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:02:30] local.INFO: IMEI packet received {"connection_id":147776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":147776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:02:30] local.INFO: TCP Data received {"connection_id":147776,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:02:30] local.INFO: Processing buffer {"connection_id":147776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:02:30] local.INFO: IMEI packet received {"connection_id":147776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":147776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:02:35] local.INFO: TCP Data received {"connection_id":147776,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ad55c8012cb787c00765cfa0000b00922e..."} 
[2026-08-02 11:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ad55c8012cb787c00765cfa0000b00922e..."} 
[2026-08-02 11:02:35] local.INFO: Processing buffer {"connection_id":147776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ad55c8012cb787c00765cfa0000b00922e..."} 
[2026-08-02 11:02:35] local.INFO: Packet analysis {"connection_id":147776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ad"} 
[2026-08-02 11:02:35] local.INFO: Extracted packet for processing {"connection_id":147776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ad"} 
[2026-08-02 11:02:35] local.INFO: GPS Element Parsed {"raw_longitude":750225344,"raw_latitude":124112800,"longitude_deg":75.0225344,"latitude_deg":12.41128,"altitude":11,"angle":146,"satellites":46,"speed":38,"hex_longitude":"2cb787c0","hex_latitude":"0765cfa0","is_valid_coordinates":true} 
[2026-08-02 11:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124865792001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367217908511670272,"note":"Value kept but may cause issues"} 
[2026-08-02 11:02:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5224879223417409536,"note":"Value kept but may cause issues"} 
[2026-08-02 11:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785644013000,"timestamp_ms":1785644013000,"timestamp_seconds":1785644013,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ad55c8"} 
[2026-08-02 11:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-02 11:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124865792001,"66":27865,"247":206,"27":54016,"24":38,"16":367217908511670272,"44":-5224879223417409536},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,27,24,16,44]} 
[2026-08-02 11:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124865792001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:02:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367217908511670272,"km_value":367217908511670.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:02:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5224879223417409536,"description":"Unknown IO ID 44"} 
[2026-08-02 11:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124865792001,"power":27865,"internal_battery_voltage":206,"unknown_27":54016,"ignition":38,"odometer":null,"unknown_44":-5224879223417409536}} 
[2026-08-02 11:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":147776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:02:35] local.INFO: GPS data processed {"connection_id":147776,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:02:35] local.INFO: Acknowledgment sent {"connection_id":147776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:02:41] local.INFO: TCP Data received {"connection_id":147776,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc0ad55c8012cb787c00765cfa0000b00922e..."} 
[2026-08-02 11:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147776,"packet_length":405,"packet_hex":"00000000000001898e050000019fc0ad55c8012cb787c00765cfa0000b00922e..."} 
[2026-08-02 11:02:41] local.INFO: Processing buffer {"connection_id":147776,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc0ad55c8012cb787c00765cfa0000b00922e..."} 
[2026-08-02 11:02:41] local.INFO: Packet analysis {"connection_id":147776,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc0ad"} 
[2026-08-02 11:02:41] local.INFO: Extracted packet for processing {"connection_id":147776,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc0ad"} 
[2026-08-02 11:02:41] local.INFO: GPS Element Parsed {"raw_longitude":750225344,"raw_latitude":124112800,"longitude_deg":75.0225344,"latitude_deg":12.41128,"altitude":11,"angle":146,"satellites":46,"speed":38,"hex_longitude":"2cb787c0","hex_latitude":"0765cfa0","is_valid_coordinates":true} 
[2026-08-02 11: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":405,"current_offset":40} 
[2026-08-02 11:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124865792001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367217908511670272,"note":"Value kept but may cause issues"} 
[2026-08-02 11:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5224879223417409536,"note":"Value kept but may cause issues"} 
[2026-08-02 11:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785644013000,"timestamp_ms":1785644013000,"timestamp_seconds":1785644013,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ad55c8"} 
[2026-08-02 11:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":239,"data_length":405,"current_offset":136} 
[2026-08-02 11:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:02:41] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147776,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 11:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124865792001,"66":27865,"247":206,"27":54016,"24":38,"16":367217908511670272,"44":-5224879223417409536},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,27,24,16,44]} 
[2026-08-02 11:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124865792001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:02:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367217908511670272,"km_value":367217908511670.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5224879223417409536,"description":"Unknown IO ID 44"} 
[2026-08-02 11:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124865792001,"power":27865,"internal_battery_voltage":206,"unknown_27":54016,"ignition":38,"odometer":null,"unknown_44":-5224879223417409536}} 
[2026-08-02 11:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":147776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:02:41] local.INFO: GPS data processed {"connection_id":147776,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:02:41] local.INFO: Acknowledgment sent {"connection_id":147776,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:03:24] local.INFO: TCP Data received {"connection_id":149089,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:03:24] local.INFO: Processing buffer {"connection_id":149089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:03:24] local.INFO: IMEI packet received {"connection_id":149089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":149089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:03:29] local.INFO: TCP Data received {"connection_id":149089,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:03:29] local.INFO: Processing buffer {"connection_id":149089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:03:29] local.INFO: IMEI packet received {"connection_id":149089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":149089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:03:30] local.INFO: TCP Data received {"connection_id":149089,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc0f5ebd0012cc330c007685958005800c526..."} 
[2026-08-02 11:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149089,"packet_length":93,"packet_hex":"00000000000000518e010000019fc0f5ebd0012cc330c007685958005800c526..."} 
[2026-08-02 11:03:30] local.INFO: Processing buffer {"connection_id":149089,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc0f5ebd0012cc330c007685958005800c526..."} 
[2026-08-02 11:03:30] local.INFO: Packet analysis {"connection_id":149089,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc0f5"} 
[2026-08-02 11:03:30] local.INFO: Extracted packet for processing {"connection_id":149089,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc0f5"} 
[2026-08-02 11:03:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11: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":93,"current_offset":40} 
[2026-08-02 11:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:03:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:03:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 11:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149089,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 11:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149089,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149089,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 11:03:30] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 11:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":149089,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 11:03:30] local.ERROR: GPS data processing failed {"connection_id":149089,"error":"No valid data to process"} 
[2026-08-02 11:03:30] local.INFO: Acknowledgment sent {"connection_id":149089,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 11:04:01] local.INFO: TCP Data received {"connection_id":149089,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0ac2900012cb77a80076700c8001400b52b..."} 
[2026-08-02 11:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0ac2900012cb77a80076700c8001400b52b..."} 
[2026-08-02 11:04:01] local.INFO: Processing buffer {"connection_id":149089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0ac2900012cb77a80076700c8001400b52b..."} 
[2026-08-02 11:04:01] local.INFO: Packet analysis {"connection_id":149089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0ac"} 
[2026-08-02 11:04:01] local.INFO: Extracted packet for processing {"connection_id":149089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0ac"} 
[2026-08-02 11:04:01] local.INFO: GPS Element Parsed {"raw_longitude":750221952,"raw_latitude":124190920,"longitude_deg":75.0221952,"latitude_deg":12.419092,"altitude":20,"angle":181,"satellites":43,"speed":47,"hex_longitude":"2cb77a80","hex_latitude":"076700c8","is_valid_coordinates":true} 
[2026-08-02 11:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124845568001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367214068810907648,"note":"Value kept but may cause issues"} 
[2026-08-02 11:04:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5226005123303106560,"note":"Value kept but may cause issues"} 
[2026-08-02 11:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785643936000,"timestamp_ms":1785643936000,"timestamp_seconds":1785643936,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ac2900"} 
[2026-08-02 11:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 11:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124845568001,"66":27974,"25":206,"27":54016,"24":47,"16":367214068810907648,"44":-5226005123303106560},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,27,24,16,44]} 
[2026-08-02 11:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124845568001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:04:01] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-02 11:04:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367214068810907648,"km_value":367214068810907.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:04:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5226005123303106560,"description":"Unknown IO ID 44"} 
[2026-08-02 11:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124845568001,"power":27974,"unknown_25":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-5226005123303106560}} 
[2026-08-02 11:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":149089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:04:01] local.INFO: GPS data processed {"connection_id":149089,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:04:01] local.INFO: Acknowledgment sent {"connection_id":149089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:04:24] local.INFO: TCP Data received {"connection_id":146538,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:04:24] local.INFO: Processing buffer {"connection_id":146538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:04:24] local.INFO: IMEI packet received {"connection_id":146538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":146538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:04:30] local.INFO: TCP Data received {"connection_id":146538,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:04:30] local.INFO: Processing buffer {"connection_id":146538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:04:30] local.INFO: IMEI packet received {"connection_id":146538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":146538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:04:35] local.INFO: TCP Data received {"connection_id":146538,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0aad140012cb79b8007684910001700b82b..."} 
[2026-08-02 11:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0aad140012cb79b8007684910001700b82b..."} 
[2026-08-02 11:04:35] local.INFO: Processing buffer {"connection_id":146538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0aad140012cb79b8007684910001700b82b..."} 
[2026-08-02 11:04:35] local.INFO: Packet analysis {"connection_id":146538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0aa"} 
[2026-08-02 11:04:35] local.INFO: Extracted packet for processing {"connection_id":146538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0aa"} 
[2026-08-02 11:04:35] local.INFO: GPS Element Parsed {"raw_longitude":750230400,"raw_latitude":124274960,"longitude_deg":75.02304,"latitude_deg":12.427496,"altitude":23,"angle":184,"satellites":43,"speed":38,"hex_longitude":"2cb79b80","hex_latitude":"07684910","is_valid_coordinates":true} 
[2026-08-02 11:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124822528001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367209954232238080,"note":"Value kept but may cause issues"} 
[2026-08-02 11:04:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5215449811654854656,"note":"Value kept but may cause issues"} 
[2026-08-02 11:04:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,27,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 11:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785643848000,"timestamp_ms":1785643848000,"timestamp_seconds":1785643848,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0aad140"} 
[2026-08-02 11:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 11:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124822528001,"66":28006,"24":38,"27":54016,"16":367209954232238080,"44":-5215449811654854656},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,27,16,44]} 
[2026-08-02 11:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124822528001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:04:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367209954232238080,"km_value":367209954232238.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:04:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5215449811654854656,"description":"Unknown IO ID 44"} 
[2026-08-02 11:04:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457124822528001,"power":28006,"ignition":38,"unknown_27":54016,"odometer":null,"unknown_44":-5215449811654854656}} 
[2026-08-02 11:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":146538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:04:35] local.INFO: GPS data processed {"connection_id":146538,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:04:35] local.INFO: Acknowledgment sent {"connection_id":146538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:05:07] local.INFO: TCP Data received {"connection_id":146538,"ip":"117.224.14.1","data_length":717,"data_hex":"00000000000002c18e090000019fc0aad140012cb79b8007684910001700b82b..."} 
[2026-08-02 11:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146538,"packet_length":717,"packet_hex":"00000000000002c18e090000019fc0aad140012cb79b8007684910001700b82b..."} 
[2026-08-02 11:05:07] local.INFO: Processing buffer {"connection_id":146538,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019fc0aad140012cb79b8007684910001700b82b..."} 
[2026-08-02 11:05:07] local.INFO: Packet analysis {"connection_id":146538,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019fc0aa"} 
[2026-08-02 11:05:07] local.INFO: Extracted packet for processing {"connection_id":146538,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019fc0aa"} 
[2026-08-02 11:05:07] local.INFO: GPS Element Parsed {"raw_longitude":750230400,"raw_latitude":124274960,"longitude_deg":75.02304,"latitude_deg":12.427496,"altitude":23,"angle":184,"satellites":43,"speed":38,"hex_longitude":"2cb79b80","hex_latitude":"07684910","is_valid_coordinates":true} 
[2026-08-02 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":717,"current_offset":40} 
[2026-08-02 11:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124822528001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367209954232238080,"note":"Value kept but may cause issues"} 
[2026-08-02 11:05:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5215449811654854656,"note":"Value kept but may cause issues"} 
[2026-08-02 11:05:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,27,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 11:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785643848000,"timestamp_ms":1785643848000,"timestamp_seconds":1785643848,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0aad140"} 
[2026-08-02 11:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11: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-08-02 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":108,"n8_eight_byte":119,"data_length":717,"current_offset":136} 
[2026-08-02 11:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:05:07] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146538,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-02 11:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124822528001,"66":28006,"24":38,"27":54016,"16":367209954232238080,"44":-5215449811654854656},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,27,16,44]} 
[2026-08-02 11:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124822528001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:05:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367209954232238080,"km_value":367209954232238.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:05:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5215449811654854656,"description":"Unknown IO ID 44"} 
[2026-08-02 11:05:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457124822528001,"power":28006,"ignition":38,"unknown_27":54016,"odometer":null,"unknown_44":-5215449811654854656}} 
[2026-08-02 11:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":146538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:05:07] local.INFO: GPS data processed {"connection_id":146538,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:05:07] local.INFO: Acknowledgment sent {"connection_id":146538,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:05:30] local.INFO: TCP Data received {"connection_id":147777,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:05:30] local.INFO: Processing buffer {"connection_id":147777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:05:30] local.INFO: IMEI packet received {"connection_id":147777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":147777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:05:34] local.INFO: TCP Data received {"connection_id":147777,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:05:34] local.INFO: Processing buffer {"connection_id":147777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:05:34] local.INFO: IMEI packet received {"connection_id":147777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":147777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:05:52] local.INFO: TCP Data received {"connection_id":147777,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a98150012cb7c9c00769b808001700c42a..."} 
[2026-08-02 11:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a98150012cb7c9c00769b808001700c42a..."} 
[2026-08-02 11:05:52] local.INFO: Processing buffer {"connection_id":147777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a98150012cb7c9c00769b808001700c42a..."} 
[2026-08-02 11:05:52] local.INFO: Packet analysis {"connection_id":147777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a9"} 
[2026-08-02 11:05:52] local.INFO: Extracted packet for processing {"connection_id":147777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a9"} 
[2026-08-02 11:05:52] local.INFO: GPS Element Parsed {"raw_longitude":750242240,"raw_latitude":124368904,"longitude_deg":75.024224,"latitude_deg":12.4368904,"altitude":23,"angle":196,"satellites":42,"speed":41,"hex_longitude":"2cb7c9c0","hex_latitude":"0769b808","is_valid_coordinates":true} 
[2026-08-02 11:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124800768001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367205358617231360,"note":"Value kept but may cause issues"} 
[2026-08-02 11:05:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5200039056656087040,"note":"Value kept but may cause issues"} 
[2026-08-02 11:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785643762000,"timestamp_ms":1785643762000,"timestamp_seconds":1785643762,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a98150"} 
[2026-08-02 11:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 11:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124800768001,"66":27843,"46":206,"27":54016,"24":41,"16":367205358617231360,"44":-5200039056656087040},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,27,24,16,44]} 
[2026-08-02 11:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124800768001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:05:52] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-02 11:05:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367205358617231360,"km_value":367205358617231.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:05:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5200039056656087040,"description":"Unknown IO ID 44"} 
[2026-08-02 11:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124800768001,"power":27843,"unknown_46":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-5200039056656087040}} 
[2026-08-02 11:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":147777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:05:52] local.INFO: GPS data processed {"connection_id":147777,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:05:52] local.INFO: Acknowledgment sent {"connection_id":147777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:05:53] local.INFO: TCP Data received {"connection_id":147777,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a84cb8012cb7ae00076af5700019009a2c..."} 
[2026-08-02 11:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a84cb8012cb7ae00076af5700019009a2c..."} 
[2026-08-02 11:05:53] local.INFO: Processing buffer {"connection_id":147777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a84cb8012cb7ae00076af5700019009a2c..."} 
[2026-08-02 11:05:53] local.INFO: Packet analysis {"connection_id":147777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 11:05:53] local.INFO: Extracted packet for processing {"connection_id":147777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a8"} 
[2026-08-02 11:05:53] local.INFO: GPS Element Parsed {"raw_longitude":750235136,"raw_latitude":124450160,"longitude_deg":75.0235136,"latitude_deg":12.445016,"altitude":25,"angle":154,"satellites":44,"speed":39,"hex_longitude":"2cb7ae00","hex_latitude":"076af570","is_valid_coordinates":true} 
[2026-08-02 11:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124780288001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367201226858692608,"note":"Value kept but may cause issues"} 
[2026-08-02 11:05:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5215942392819523584,"note":"Value kept but may cause issues"} 
[2026-08-02 11:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785643683000,"timestamp_ms":1785643683000,"timestamp_seconds":1785643683,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a84cb8"} 
[2026-08-02 11:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 11:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124780288001,"66":27615,"58":206,"27":54016,"24":39,"16":367201226858692608,"44":-5215942392819523584},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,27,24,16,44]} 
[2026-08-02 11:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124780288001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:05:53] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-02 11:05:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367201226858692608,"km_value":367201226858692.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:05:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5215942392819523584,"description":"Unknown IO ID 44"} 
[2026-08-02 11:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124780288001,"power":27615,"unknown_58":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-5215942392819523584}} 
[2026-08-02 11:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":147777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:05:53] local.INFO: GPS data processed {"connection_id":147777,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:05:53] local.INFO: Acknowledgment sent {"connection_id":147777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:06:24] local.INFO: TCP Data received {"connection_id":146756,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:06:24] local.INFO: Processing buffer {"connection_id":146756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:06:24] local.INFO: IMEI packet received {"connection_id":146756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":146756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:06:30] local.INFO: TCP Data received {"connection_id":146756,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:06:30] local.INFO: Processing buffer {"connection_id":146756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:06:30] local.INFO: IMEI packet received {"connection_id":146756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":146756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:06:35] local.INFO: TCP Data received {"connection_id":146756,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a75e70012cb78d40076b98c8001500ad2b..."} 
[2026-08-02 11:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a75e70012cb78d40076b98c8001500ad2b..."} 
[2026-08-02 11:06:35] local.INFO: Processing buffer {"connection_id":146756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a75e70012cb78d40076b98c8001500ad2b..."} 
[2026-08-02 11:06:35] local.INFO: Packet analysis {"connection_id":146756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a7"} 
[2026-08-02 11:06:35] local.INFO: Extracted packet for processing {"connection_id":146756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a7"} 
[2026-08-02 11:06:35] local.INFO: GPS Element Parsed {"raw_longitude":750226752,"raw_latitude":124491976,"longitude_deg":75.0226752,"latitude_deg":12.4491976,"altitude":21,"angle":173,"satellites":43,"speed":12,"hex_longitude":"2cb78d40","hex_latitude":"076b98c8","is_valid_coordinates":true} 
[2026-08-02 11:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124766720001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367199036425371648,"note":"Value kept but may cause issues"} 
[2026-08-02 11:06:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5220445992438255616,"note":"Value kept but may cause issues"} 
[2026-08-02 11:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785643622000,"timestamp_ms":1785643622000,"timestamp_seconds":1785643622,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a75e70"} 
[2026-08-02 11:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 11:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124766720001,"66":27180,"237":206,"27":54016,"24":12,"16":367199036425371648,"44":-5220445992438255616},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,27,24,16,44]} 
[2026-08-02 11:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124766720001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:06:35] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-02 11:06:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367199036425371648,"km_value":367199036425371.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:06:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5220445992438255616,"description":"Unknown IO ID 44"} 
[2026-08-02 11:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124766720001,"power":27180,"unknown_237":206,"unknown_27":54016,"ignition":12,"odometer":null,"unknown_44":-5220445992438255616}} 
[2026-08-02 11:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":146756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:06:35] local.INFO: GPS data processed {"connection_id":146756,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:06:35] local.INFO: Acknowledgment sent {"connection_id":146756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:07:07] local.INFO: TCP Data received {"connection_id":146756,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc0a75e70012cb78d40076b98c8001500ad2b..."} 
[2026-08-02 11:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146756,"packet_length":405,"packet_hex":"00000000000001898e050000019fc0a75e70012cb78d40076b98c8001500ad2b..."} 
[2026-08-02 11:07:07] local.INFO: Processing buffer {"connection_id":146756,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc0a75e70012cb78d40076b98c8001500ad2b..."} 
[2026-08-02 11:07:07] local.INFO: Packet analysis {"connection_id":146756,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc0a7"} 
[2026-08-02 11:07:07] local.INFO: Extracted packet for processing {"connection_id":146756,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc0a7"} 
[2026-08-02 11:07:07] local.INFO: GPS Element Parsed {"raw_longitude":750226752,"raw_latitude":124491976,"longitude_deg":75.0226752,"latitude_deg":12.4491976,"altitude":21,"angle":173,"satellites":43,"speed":12,"hex_longitude":"2cb78d40","hex_latitude":"076b98c8","is_valid_coordinates":true} 
[2026-08-02 11: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":405,"current_offset":40} 
[2026-08-02 11:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124766720001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367199036425371648,"note":"Value kept but may cause issues"} 
[2026-08-02 11:07:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5220445992438255616,"note":"Value kept but may cause issues"} 
[2026-08-02 11:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785643622000,"timestamp_ms":1785643622000,"timestamp_seconds":1785643622,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a75e70"} 
[2026-08-02 11:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11: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-08-02 11:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":405,"current_offset":136} 
[2026-08-02 11:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:07:07] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146756,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 11:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124766720001,"66":27180,"237":206,"27":54016,"24":12,"16":367199036425371648,"44":-5220445992438255616},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,27,24,16,44]} 
[2026-08-02 11:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124766720001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:07:07] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-02 11:07:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367199036425371648,"km_value":367199036425371.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:07:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5220445992438255616,"description":"Unknown IO ID 44"} 
[2026-08-02 11:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124766720001,"power":27180,"unknown_237":206,"unknown_27":54016,"ignition":12,"odometer":null,"unknown_44":-5220445992438255616}} 
[2026-08-02 11:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":146756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:07:07] local.INFO: GPS data processed {"connection_id":146756,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:07:07] local.INFO: Acknowledgment sent {"connection_id":146756,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:07:24] local.INFO: TCP Data received {"connection_id":149090,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:07:24] local.INFO: Processing buffer {"connection_id":149090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:07:24] local.INFO: IMEI packet received {"connection_id":149090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":149090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:07:30] local.INFO: TCP Data received {"connection_id":149090,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:07:30] local.INFO: Processing buffer {"connection_id":149090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:07:30] local.INFO: IMEI packet received {"connection_id":149090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":149090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:07:30] local.INFO: TCP Data received {"connection_id":149090,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc0a75e70012cb78d40076b98c8001500ad2b..."} 
[2026-08-02 11:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149090,"packet_length":93,"packet_hex":"00000000000000518e010000019fc0a75e70012cb78d40076b98c8001500ad2b..."} 
[2026-08-02 11:07:30] local.INFO: Processing buffer {"connection_id":149090,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc0a75e70012cb78d40076b98c8001500ad2b..."} 
[2026-08-02 11:07:30] local.INFO: Packet analysis {"connection_id":149090,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc0a7"} 
[2026-08-02 11:07:30] local.INFO: Extracted packet for processing {"connection_id":149090,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc0a7"} 
[2026-08-02 11:07:30] local.INFO: GPS Element Parsed {"raw_longitude":750226752,"raw_latitude":124491976,"longitude_deg":75.0226752,"latitude_deg":12.4491976,"altitude":21,"angle":173,"satellites":43,"speed":12,"hex_longitude":"2cb78d40","hex_latitude":"076b98c8","is_valid_coordinates":true} 
[2026-08-02 11:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-02 11:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:07:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:07:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 11:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149090,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 11:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149090,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149090,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 11:07:30] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 11:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":149090,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 11:07:30] local.ERROR: GPS data processing failed {"connection_id":149090,"error":"No valid data to process"} 
[2026-08-02 11:07:30] local.INFO: Acknowledgment sent {"connection_id":149090,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 11:08:02] local.INFO: TCP Data received {"connection_id":149090,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a270b8012cb76480076c4a88001100872d..."} 
[2026-08-02 11:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a270b8012cb76480076c4a88001100872d..."} 
[2026-08-02 11:08:02] local.INFO: Processing buffer {"connection_id":149090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a270b8012cb76480076c4a88001100872d..."} 
[2026-08-02 11:08:02] local.INFO: Packet analysis {"connection_id":149090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 11:08:02] local.INFO: Extracted packet for processing {"connection_id":149090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a2"} 
[2026-08-02 11:08:02] local.INFO: GPS Element Parsed {"raw_longitude":750216320,"raw_latitude":124537480,"longitude_deg":75.021632,"latitude_deg":12.453748,"altitude":17,"angle":135,"satellites":45,"speed":40,"hex_longitude":"2cb76480","hex_latitude":"076c4a88","is_valid_coordinates":true} 
[2026-08-02 11:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124683776001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367198005633220608,"note":"Value kept but may cause issues"} 
[2026-08-02 11:08:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5234660478750169088,"note":"Value kept but may cause issues"} 
[2026-08-02 11:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785643299000,"timestamp_ms":1785643299000,"timestamp_seconds":1785643299,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a270b8"} 
[2026-08-02 11:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-02 11:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124683776001,"66":27908,"238":206,"27":54016,"24":40,"16":367198005633220608,"44":-5234660478750169088},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,27,24,16,44]} 
[2026-08-02 11:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124683776001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:08:02] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-02 11:08:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367198005633220608,"km_value":367198005633220.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:08:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5234660478750169088,"description":"Unknown IO ID 44"} 
[2026-08-02 11:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124683776001,"power":27908,"unknown_238":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5234660478750169088}} 
[2026-08-02 11:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":149090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:08:02] local.INFO: GPS data processed {"connection_id":149090,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:08:02] local.INFO: Acknowledgment sent {"connection_id":149090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:08:24] local.INFO: TCP Data received {"connection_id":146757,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:08:24] local.INFO: Processing buffer {"connection_id":146757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:08:24] local.INFO: IMEI packet received {"connection_id":146757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":146757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:08:30] local.INFO: TCP Data received {"connection_id":146757,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:08:30] local.INFO: Processing buffer {"connection_id":146757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:08:30] local.INFO: IMEI packet received {"connection_id":146757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":146757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:08:31] local.INFO: TCP Data received {"connection_id":146757,"ip":"117.224.14.1","data_length":561,"data_hex":"00000000000002258e070000019fc0fa8398012cc330c007685958005800c527..."} 
[2026-08-02 11:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146757,"packet_length":561,"packet_hex":"00000000000002258e070000019fc0fa8398012cc330c007685958005800c527..."} 
[2026-08-02 11:08:31] local.INFO: Processing buffer {"connection_id":146757,"buffer_length":561,"buffer_hex":"00000000000002258e070000019fc0fa8398012cc330c007685958005800c527..."} 
[2026-08-02 11:08:31] local.INFO: Packet analysis {"connection_id":146757,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019fc0fa"} 
[2026-08-02 11:08:31] local.INFO: Extracted packet for processing {"connection_id":146757,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019fc0fa"} 
[2026-08-02 11:08:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11: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":561,"current_offset":40} 
[2026-08-02 11:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124684544001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 11:08:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5231916097727723520,"note":"Value kept but may cause issues"} 
[2026-08-02 11:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785649071000,"timestamp_ms":1785649071000,"timestamp_seconds":1785649071,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0fa8398"} 
[2026-08-02 11:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":109,"n8_eight_byte":4,"data_length":561,"current_offset":136} 
[2026-08-02 11:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:08:31] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146757,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-02 11:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124684544001,"66":25702,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-5231916097727723520},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 11:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124684544001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:08:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 11:08:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:08:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5231916097727723520,"description":"Unknown IO ID 44"} 
[2026-08-02 11:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124684544001,"power":25702,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5231916097727723520}} 
[2026-08-02 11:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":146757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:08:31] local.INFO: GPS data processed {"connection_id":146757,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:08:31] local.INFO: Acknowledgment sent {"connection_id":146757,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:09:03] local.INFO: TCP Data received {"connection_id":146757,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a16b00012cb65a40076ca308000d007e2d..."} 
[2026-08-02 11:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a16b00012cb65a40076ca308000d007e2d..."} 
[2026-08-02 11:09:03] local.INFO: Processing buffer {"connection_id":146757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a16b00012cb65a40076ca308000d007e2d..."} 
[2026-08-02 11:09:03] local.INFO: Packet analysis {"connection_id":146757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a1"} 
[2026-08-02 11:09:03] local.INFO: Extracted packet for processing {"connection_id":146757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a1"} 
[2026-08-02 11:09:03] local.INFO: GPS Element Parsed {"raw_longitude":750148160,"raw_latitude":124560136,"longitude_deg":75.014816,"latitude_deg":12.4560136,"altitude":13,"angle":126,"satellites":45,"speed":50,"hex_longitude":"2cb65a40","hex_latitude":"076ca308","is_valid_coordinates":true} 
[2026-08-02 11:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124665344001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367194539594612736,"note":"Value kept but may cause issues"} 
[2026-08-02 11:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5314810478361526272,"note":"Value kept but may cause issues"} 
[2026-08-02 11:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785643232000,"timestamp_ms":1785643232000,"timestamp_seconds":1785643232,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a16b00"} 
[2026-08-02 11:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-02 11:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124665344001,"66":27995,"238":206,"27":54016,"24":50,"16":367194539594612736,"44":-5314810478361526272},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,27,24,16,44]} 
[2026-08-02 11:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124665344001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:09:03] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-02 11:09:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367194539594612736,"km_value":367194539594612.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5314810478361526272,"description":"Unknown IO ID 44"} 
[2026-08-02 11:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124665344001,"power":27995,"unknown_238":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-5314810478361526272}} 
[2026-08-02 11:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":146757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:09:03] local.INFO: GPS data processed {"connection_id":146757,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:09:03] local.INFO: Acknowledgment sent {"connection_id":146757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:09:27] local.INFO: TCP Data received {"connection_id":147778,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:09:27] local.INFO: Processing buffer {"connection_id":147778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:09:27] local.INFO: IMEI packet received {"connection_id":147778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":147778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:09:29] local.INFO: TCP Data received {"connection_id":147778,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:09:29] local.INFO: Processing buffer {"connection_id":147778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:09:29] local.INFO: IMEI packet received {"connection_id":147778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":147778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:09:35] local.INFO: TCP Data received {"connection_id":147778,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0a074e8012cb5bf00076db6080022008d2b..."} 
[2026-08-02 11:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0a074e8012cb5bf00076db6080022008d2b..."} 
[2026-08-02 11:09:35] local.INFO: Processing buffer {"connection_id":147778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0a074e8012cb5bf00076db6080022008d2b..."} 
[2026-08-02 11:09:35] local.INFO: Packet analysis {"connection_id":147778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc0a0"} 
[2026-08-02 11:09:35] local.INFO: Extracted packet for processing {"connection_id":147778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc0a0"} 
[2026-08-02 11:09:35] local.INFO: GPS Element Parsed {"raw_longitude":750108416,"raw_latitude":124630536,"longitude_deg":75.0108416,"latitude_deg":12.4630536,"altitude":34,"angle":141,"satellites":43,"speed":54,"hex_longitude":"2cb5bf00","hex_latitude":"076db608","is_valid_coordinates":true} 
[2026-08-02 11:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124649472001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367190558159929344,"note":"Value kept but may cause issues"} 
[2026-08-02 11:09:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5357594674803478528,"note":"Value kept but may cause issues"} 
[2026-08-02 11:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785643169000,"timestamp_ms":1785643169000,"timestamp_seconds":1785643169,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0a074e8"} 
[2026-08-02 11:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-02 11:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124649472001,"66":27995,"107":206,"27":54016,"24":54,"16":367190558159929344,"44":-5357594674803478528},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,27,24,16,44]} 
[2026-08-02 11:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124649472001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:09:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 11:09:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367190558159929344,"km_value":367190558159929.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:09:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5357594674803478528,"description":"Unknown IO ID 44"} 
[2026-08-02 11:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124649472001,"power":27995,"unknown_107":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-5357594674803478528}} 
[2026-08-02 11:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":147778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:09:35] local.INFO: GPS data processed {"connection_id":147778,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:09:35] local.INFO: Acknowledgment sent {"connection_id":147778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:10:07] local.INFO: TCP Data received {"connection_id":147778,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09f6b48012cb564c0076ea478002e00c22d..."} 
[2026-08-02 11:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09f6b48012cb564c0076ea478002e00c22d..."} 
[2026-08-02 11:10:07] local.INFO: Processing buffer {"connection_id":147778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09f6b48012cb564c0076ea478002e00c22d..."} 
[2026-08-02 11:10:07] local.INFO: Packet analysis {"connection_id":147778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09f"} 
[2026-08-02 11:10:07] local.INFO: Extracted packet for processing {"connection_id":147778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09f"} 
[2026-08-02 11:10:07] local.INFO: GPS Element Parsed {"raw_longitude":750085312,"raw_latitude":124691576,"longitude_deg":75.0085312,"latitude_deg":12.4691576,"altitude":46,"angle":194,"satellites":45,"speed":35,"hex_longitude":"2cb564c0","hex_latitude":"076ea478","is_valid_coordinates":true} 
[2026-08-02 11:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124631296001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367186997632040960,"note":"Value kept but may cause issues"} 
[2026-08-02 11:10:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5373568379715674112,"note":"Value kept but may cause issues"} 
[2026-08-02 11:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785643101000,"timestamp_ms":1785643101000,"timestamp_seconds":1785643101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09f6b48"} 
[2026-08-02 11:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 11:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124631296001,"66":27843,"107":206,"27":54016,"24":35,"16":367186997632040960,"44":-5373568379715674112},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,27,24,16,44]} 
[2026-08-02 11:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124631296001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:10:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 11:10:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367186997632040960,"km_value":367186997632040.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:10:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5373568379715674112,"description":"Unknown IO ID 44"} 
[2026-08-02 11:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124631296001,"power":27843,"unknown_107":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-5373568379715674112}} 
[2026-08-02 11:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":147778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:10:07] local.INFO: GPS data processed {"connection_id":147778,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:10:07] local.INFO: Acknowledgment sent {"connection_id":147778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:10:24] local.INFO: TCP Data received {"connection_id":146758,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:10:24] local.INFO: Processing buffer {"connection_id":146758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:10:24] local.INFO: IMEI packet received {"connection_id":146758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":146758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:10:30] local.INFO: TCP Data received {"connection_id":146758,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:10:30] local.INFO: Processing buffer {"connection_id":146758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:10:30] local.INFO: IMEI packet received {"connection_id":146758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":146758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:10:31] local.INFO: TCP Data received {"connection_id":146758,"ip":"117.224.14.1","data_length":171,"data_hex":"000000000000009f8e020000019fc09f6b48012cb564c0076ea478002e00c22d..."} 
[2026-08-02 11:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146758,"packet_length":171,"packet_hex":"000000000000009f8e020000019fc09f6b48012cb564c0076ea478002e00c22d..."} 
[2026-08-02 11:10:31] local.INFO: Processing buffer {"connection_id":146758,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fc09f6b48012cb564c0076ea478002e00c22d..."} 
[2026-08-02 11:10:31] local.INFO: Packet analysis {"connection_id":146758,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fc09f"} 
[2026-08-02 11:10:31] local.INFO: Extracted packet for processing {"connection_id":146758,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fc09f"} 
[2026-08-02 11:10:31] local.INFO: GPS Element Parsed {"raw_longitude":750085312,"raw_latitude":124691576,"longitude_deg":75.0085312,"latitude_deg":12.4691576,"altitude":46,"angle":194,"satellites":45,"speed":35,"hex_longitude":"2cb564c0","hex_latitude":"076ea478","is_valid_coordinates":true} 
[2026-08-02 11:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-08-02 11:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124631296001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367186997632040960,"note":"Value kept but may cause issues"} 
[2026-08-02 11:10:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5373568379715674112,"note":"Value kept but may cause issues"} 
[2026-08-02 11:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785643101000,"timestamp_ms":1785643101000,"timestamp_seconds":1785643101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09f6b48"} 
[2026-08-02 11:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":171,"current_offset":136} 
[2026-08-02 11:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:10:31] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146758,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 11:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124631296001,"66":27843,"107":206,"27":54016,"24":35,"16":367186997632040960,"44":-5373568379715674112},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,27,24,16,44]} 
[2026-08-02 11:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124631296001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:10:31] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 11:10:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367186997632040960,"km_value":367186997632040.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:10:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5373568379715674112,"description":"Unknown IO ID 44"} 
[2026-08-02 11:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124631296001,"power":27843,"unknown_107":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-5373568379715674112}} 
[2026-08-02 11:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":146758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:10:31] local.INFO: GPS data processed {"connection_id":146758,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:10:31] local.INFO: Acknowledgment sent {"connection_id":146758,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:11:02] local.INFO: TCP Data received {"connection_id":146758,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09dd120012cb56e4007700da8001700b22b..."} 
[2026-08-02 11:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09dd120012cb56e4007700da8001700b22b..."} 
[2026-08-02 11:11:02] local.INFO: Processing buffer {"connection_id":146758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09dd120012cb56e4007700da8001700b22b..."} 
[2026-08-02 11:11:02] local.INFO: Packet analysis {"connection_id":146758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09d"} 
[2026-08-02 11:11:02] local.INFO: Extracted packet for processing {"connection_id":146758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09d"} 
[2026-08-02 11:11:02] local.INFO: GPS Element Parsed {"raw_longitude":750087744,"raw_latitude":124784040,"longitude_deg":75.0087744,"latitude_deg":12.478404,"altitude":23,"angle":178,"satellites":43,"speed":36,"hex_longitude":"2cb56e40","hex_latitude":"07700da8","is_valid_coordinates":true} 
[2026-08-02 11:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124604672001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367182492211347456,"note":"Value kept but may cause issues"} 
[2026-08-02 11:11:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5373779485924509696,"note":"Value kept but may cause issues"} 
[2026-08-02 11:11:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,27,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 11:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785642996000,"timestamp_ms":1785642996000,"timestamp_seconds":1785642996,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09dd120"} 
[2026-08-02 11:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 11:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124604672001,"66":27865,"16":367182492211347456,"27":54016,"24":36,"44":-5373779485924509696},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,27,24,44]} 
[2026-08-02 11:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124604672001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367182492211347456,"km_value":367182492211347.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:11:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:11:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5373779485924509696,"description":"Unknown IO ID 44"} 
[2026-08-02 11:11:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457124604672001,"power":27865,"odometer":null,"unknown_27":54016,"ignition":36,"unknown_44":-5373779485924509696}} 
[2026-08-02 11:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":146758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:11:02] local.INFO: GPS data processed {"connection_id":146758,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:11:02] local.INFO: Acknowledgment sent {"connection_id":146758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:11:24] local.INFO: TCP Data received {"connection_id":146539,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:11:24] local.INFO: Processing buffer {"connection_id":146539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:11:24] local.INFO: IMEI packet received {"connection_id":146539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":146539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:11:30] local.INFO: TCP Data received {"connection_id":146539,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:11:30] local.INFO: Processing buffer {"connection_id":146539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:11:30] local.INFO: IMEI packet received {"connection_id":146539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":146539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:11:37] local.INFO: TCP Data received {"connection_id":146539,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc09dd120012cb56e4007700da8001700b22b..."} 
[2026-08-02 11:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146539,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc09dd120012cb56e4007700da8001700b22b..."} 
[2026-08-02 11:11:37] local.INFO: Processing buffer {"connection_id":146539,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc09dd120012cb56e4007700da8001700b22b..."} 
[2026-08-02 11:11:37] local.INFO: Packet analysis {"connection_id":146539,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc09d"} 
[2026-08-02 11:11:37] local.INFO: Extracted packet for processing {"connection_id":146539,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc09d"} 
[2026-08-02 11:11:37] local.INFO: GPS Element Parsed {"raw_longitude":750087744,"raw_latitude":124784040,"longitude_deg":75.0087744,"latitude_deg":12.478404,"altitude":23,"angle":178,"satellites":43,"speed":36,"hex_longitude":"2cb56e40","hex_latitude":"07700da8","is_valid_coordinates":true} 
[2026-08-02 11: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":249,"current_offset":40} 
[2026-08-02 11:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124604672001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367182492211347456,"note":"Value kept but may cause issues"} 
[2026-08-02 11:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5373779485924509696,"note":"Value kept but may cause issues"} 
[2026-08-02 11:11:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,27,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 11:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785642996000,"timestamp_ms":1785642996000,"timestamp_seconds":1785642996,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09dd120"} 
[2026-08-02 11:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":97,"data_length":249,"current_offset":136} 
[2026-08-02 11:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:11:37] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146539,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 11:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124604672001,"66":27865,"16":367182492211347456,"27":54016,"24":36,"44":-5373779485924509696},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,27,24,44]} 
[2026-08-02 11:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124604672001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367182492211347456,"km_value":367182492211347.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:11:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5373779485924509696,"description":"Unknown IO ID 44"} 
[2026-08-02 11:11:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457124604672001,"power":27865,"odometer":null,"unknown_27":54016,"ignition":36,"unknown_44":-5373779485924509696}} 
[2026-08-02 11:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":146539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:11:37] local.INFO: GPS data processed {"connection_id":146539,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:11:37] local.INFO: Acknowledgment sent {"connection_id":146539,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:12:15] local.INFO: TCP Data received {"connection_id":146539,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09c6da8012cb4e7400770f080000e009d2d..."} 
[2026-08-02 11:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09c6da8012cb4e7400770f080000e009d2d..."} 
[2026-08-02 11:12:15] local.INFO: Processing buffer {"connection_id":146539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09c6da8012cb4e7400770f080000e009d2d..."} 
[2026-08-02 11:12:15] local.INFO: Packet analysis {"connection_id":146539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09c"} 
[2026-08-02 11:12:15] local.INFO: Extracted packet for processing {"connection_id":146539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09c"} 
[2026-08-02 11:12:15] local.INFO: GPS Element Parsed {"raw_longitude":750053184,"raw_latitude":124842112,"longitude_deg":75.0053184,"latitude_deg":12.4842112,"altitude":14,"angle":157,"satellites":45,"speed":40,"hex_longitude":"2cb4e740","hex_latitude":"0770f080","is_valid_coordinates":true} 
[2026-08-02 11:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124581632001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367179099187183616,"note":"Value kept but may cause issues"} 
[2026-08-02 11:12:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5414382251300206592,"note":"Value kept but may cause issues"} 
[2026-08-02 11:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785642905000,"timestamp_ms":1785642905000,"timestamp_seconds":1785642905,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09c6da8"} 
[2026-08-02 11:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 11:12: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-08-02 11:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124581632001,"66":27213,"51":206,"27":54016,"24":40,"16":367179099187183616,"44":-5414382251300206592},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,27,24,16,44]} 
[2026-08-02 11:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124581632001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:12:15] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-02 11:12:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367179099187183616,"km_value":367179099187183.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:12:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5414382251300206592,"description":"Unknown IO ID 44"} 
[2026-08-02 11:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124581632001,"power":27213,"unknown_51":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5414382251300206592}} 
[2026-08-02 11:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":146539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:12:15] local.INFO: GPS data processed {"connection_id":146539,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:12:15] local.INFO: Acknowledgment sent {"connection_id":146539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:12:36] local.INFO: TCP Data received {"connection_id":147779,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:12:36] local.INFO: Processing buffer {"connection_id":147779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:12:36] local.INFO: IMEI packet received {"connection_id":147779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":147779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:12:37] local.INFO: TCP Data received {"connection_id":147779,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:12:37] local.INFO: Processing buffer {"connection_id":147779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:12:37] local.INFO: IMEI packet received {"connection_id":147779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":147779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:12:38] local.INFO: TCP Data received {"connection_id":147779,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc09c6da8012cb4e7400770f080000e009d2d..."} 
[2026-08-02 11:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147779,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc09c6da8012cb4e7400770f080000e009d2d..."} 
[2026-08-02 11:12:38] local.INFO: Processing buffer {"connection_id":147779,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc09c6da8012cb4e7400770f080000e009d2d..."} 
[2026-08-02 11:12:38] local.INFO: Packet analysis {"connection_id":147779,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc09c"} 
[2026-08-02 11:12:38] local.INFO: Extracted packet for processing {"connection_id":147779,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc09c"} 
[2026-08-02 11:12:38] local.INFO: GPS Element Parsed {"raw_longitude":750053184,"raw_latitude":124842112,"longitude_deg":75.0053184,"latitude_deg":12.4842112,"altitude":14,"angle":157,"satellites":45,"speed":40,"hex_longitude":"2cb4e740","hex_latitude":"0770f080","is_valid_coordinates":true} 
[2026-08-02 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":327,"current_offset":40} 
[2026-08-02 11:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124581632001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367179099187183616,"note":"Value kept but may cause issues"} 
[2026-08-02 11:12:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5414382251300206592,"note":"Value kept but may cause issues"} 
[2026-08-02 11:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785642905000,"timestamp_ms":1785642905000,"timestamp_seconds":1785642905,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09c6da8"} 
[2026-08-02 11:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":108,"n8_eight_byte":228,"data_length":327,"current_offset":136} 
[2026-08-02 11:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:12:38] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147779,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 11:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124581632001,"66":27213,"51":206,"27":54016,"24":40,"16":367179099187183616,"44":-5414382251300206592},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,27,24,16,44]} 
[2026-08-02 11:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124581632001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:12:38] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-02 11:12:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367179099187183616,"km_value":367179099187183.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:12:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5414382251300206592,"description":"Unknown IO ID 44"} 
[2026-08-02 11:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124581632001,"power":27213,"unknown_51":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5414382251300206592}} 
[2026-08-02 11:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":147779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:12:38] local.INFO: GPS data processed {"connection_id":147779,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:12:38] local.INFO: Acknowledgment sent {"connection_id":147779,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:12:45] local.INFO: TCP Data received {"connection_id":147779,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09b2970012cb47280077251f8000a00a82b..."} 
[2026-08-02 11:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09b2970012cb47280077251f8000a00a82b..."} 
[2026-08-02 11:12:45] local.INFO: Processing buffer {"connection_id":147779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09b2970012cb47280077251f8000a00a82b..."} 
[2026-08-02 11:12:45] local.INFO: Packet analysis {"connection_id":147779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09b"} 
[2026-08-02 11:12:45] local.INFO: Extracted packet for processing {"connection_id":147779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09b"} 
[2026-08-02 11:12:45] local.INFO: GPS Element Parsed {"raw_longitude":750023296,"raw_latitude":124932600,"longitude_deg":75.0023296,"latitude_deg":12.49326,"altitude":10,"angle":168,"satellites":43,"speed":49,"hex_longitude":"2cb47280","hex_latitude":"077251f8","is_valid_coordinates":true} 
[2026-08-02 11:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124560384001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367174486392307712,"note":"Value kept but may cause issues"} 
[2026-08-02 11:12:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5445485236203331584,"note":"Value kept but may cause issues"} 
[2026-08-02 11:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785642822000,"timestamp_ms":1785642822000,"timestamp_seconds":1785642822,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09b2970"} 
[2026-08-02 11:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-02 11:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":147779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":147779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":147779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124560384001,"66":27876,"32":206,"27":54016,"24":49,"16":367174486392307712,"44":-5445485236203331584},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,27,24,16,44]} 
[2026-08-02 11:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124560384001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:12:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-02 11:12:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367174486392307712,"km_value":367174486392307.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:12:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5445485236203331584,"description":"Unknown IO ID 44"} 
[2026-08-02 11:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124560384001,"power":27876,"unknown_32":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-5445485236203331584}} 
[2026-08-02 11:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":147779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:12:45] local.INFO: GPS data processed {"connection_id":147779,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:12:45] local.INFO: Acknowledgment sent {"connection_id":147779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:13:25] local.INFO: TCP Data received {"connection_id":149091,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:13:25] local.INFO: Processing buffer {"connection_id":149091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:13:25] local.INFO: IMEI packet received {"connection_id":149091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":149091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:13:30] local.INFO: TCP Data received {"connection_id":149091,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:13:30] local.INFO: Processing buffer {"connection_id":149091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:13:30] local.INFO: IMEI packet received {"connection_id":149091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":149091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:13:31] local.INFO: TCP Data received {"connection_id":149091,"ip":"117.224.14.1","data_length":483,"data_hex":"00000000000001d78e060000019fc0ff1b60012cc330c007685958005800c527..."} 
[2026-08-02 11:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149091,"packet_length":483,"packet_hex":"00000000000001d78e060000019fc0ff1b60012cc330c007685958005800c527..."} 
[2026-08-02 11:13:31] local.INFO: Processing buffer {"connection_id":149091,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019fc0ff1b60012cc330c007685958005800c527..."} 
[2026-08-02 11:13:31] local.INFO: Packet analysis {"connection_id":149091,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019fc0ff"} 
[2026-08-02 11:13:31] local.INFO: Extracted packet for processing {"connection_id":149091,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019fc0ff"} 
[2026-08-02 11:13:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-08-02 11:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124562432001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 11:13:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5444148230066407424,"note":"Value kept but may cause issues"} 
[2026-08-02 11:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785649372000,"timestamp_ms":1785649372000,"timestamp_seconds":1785649372,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0ff1b60"} 
[2026-08-02 11:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":483,"current_offset":136} 
[2026-08-02 11:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:13:31] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149091,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-02 11:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124562432001,"66":25702,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-5444148230066407424},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 11:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124562432001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:13:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 11:13:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:13:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5444148230066407424,"description":"Unknown IO ID 44"} 
[2026-08-02 11:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124562432001,"power":25702,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5444148230066407424}} 
[2026-08-02 11:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":149091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:13:31] local.INFO: GPS data processed {"connection_id":149091,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:13:31] local.INFO: Acknowledgment sent {"connection_id":149091,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:14:02] local.INFO: TCP Data received {"connection_id":149091,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc09a0860012cb3c200077351b0001800792c..."} 
[2026-08-02 11:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc09a0860012cb3c200077351b0001800792c..."} 
[2026-08-02 11:14:02] local.INFO: Processing buffer {"connection_id":149091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc09a0860012cb3c200077351b0001800792c..."} 
[2026-08-02 11:14:02] local.INFO: Packet analysis {"connection_id":149091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 11:14:02] local.INFO: Extracted packet for processing {"connection_id":149091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc09a"} 
[2026-08-02 11:14:02] local.INFO: GPS Element Parsed {"raw_longitude":749978112,"raw_latitude":124998064,"longitude_deg":74.9978112,"latitude_deg":12.4998064,"altitude":24,"angle":121,"satellites":44,"speed":40,"hex_longitude":"2cb3c200","hex_latitude":"077351b0","is_valid_coordinates":true} 
[2026-08-02 11: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-08-02 11:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124540928001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367170324568997888,"note":"Value kept but may cause issues"} 
[2026-08-02 11:14:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5502483918971766784,"note":"Value kept but may cause issues"} 
[2026-08-02 11:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785642748000,"timestamp_ms":1785642748000,"timestamp_seconds":1785642748,"priority":1,"record_length":96,"hex_timestamp":"0000019fc09a0860"} 
[2026-08-02 11:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-02 11:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11: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-08-02 11:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124540928001,"66":27995,"50":206,"27":54016,"24":40,"16":367170324568997888,"44":-5502483918971766784},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,27,24,16,44]} 
[2026-08-02 11:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124540928001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:14:02] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-02 11:14:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367170324568997888,"km_value":367170324568997.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:14:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5502483918971766784,"description":"Unknown IO ID 44"} 
[2026-08-02 11:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124540928001,"power":27995,"unknown_50":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5502483918971766784}} 
[2026-08-02 11:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":149091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:14:02] local.INFO: GPS data processed {"connection_id":149091,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:14:02] local.INFO: Acknowledgment sent {"connection_id":149091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:14:25] local.INFO: TCP Data received {"connection_id":149092,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:14:25] local.INFO: Processing buffer {"connection_id":149092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:14:25] local.INFO: IMEI packet received {"connection_id":149092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":149092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:14:30] local.INFO: TCP Data received {"connection_id":149092,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:14:30] local.INFO: Processing buffer {"connection_id":149092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:14:30] local.INFO: IMEI packet received {"connection_id":149092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":149092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:14:35] local.INFO: TCP Data received {"connection_id":149092,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0986a50012cb309800773e5b80023008f2c..."} 
[2026-08-02 11:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0986a50012cb309800773e5b80023008f2c..."} 
[2026-08-02 11:14:35] local.INFO: Processing buffer {"connection_id":149092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0986a50012cb309800773e5b80023008f2c..."} 
[2026-08-02 11:14:35] local.INFO: Packet analysis {"connection_id":149092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc098"} 
[2026-08-02 11:14:35] local.INFO: Extracted packet for processing {"connection_id":149092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc098"} 
[2026-08-02 11:14:35] local.INFO: GPS Element Parsed {"raw_longitude":749930880,"raw_latitude":125035960,"longitude_deg":74.993088,"latitude_deg":12.503596,"altitude":35,"angle":143,"satellites":44,"speed":17,"hex_longitude":"2cb30980","hex_latitude":"0773e5b8","is_valid_coordinates":true} 
[2026-08-02 11:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124516096001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367167382516400128,"note":"Value kept but may cause issues"} 
[2026-08-02 11:14:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5546042171609102336,"note":"Value kept but may cause issues"} 
[2026-08-02 11:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785642642000,"timestamp_ms":1785642642000,"timestamp_seconds":1785642642,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0986a50"} 
[2026-08-02 11:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-02 11:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124516096001,"66":27865,"101":206,"27":54016,"24":17,"16":367167382516400128,"44":-5546042171609102336},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-08-02 11:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124516096001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:14:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 11:14:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367167382516400128,"km_value":367167382516400.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:14:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5546042171609102336,"description":"Unknown IO ID 44"} 
[2026-08-02 11:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124516096001,"power":27865,"unknown_101":206,"unknown_27":54016,"ignition":17,"odometer":null,"unknown_44":-5546042171609102336}} 
[2026-08-02 11:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":149092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:14:35] local.INFO: GPS data processed {"connection_id":149092,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:14:35] local.INFO: Acknowledgment sent {"connection_id":149092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:15:09] local.INFO: TCP Data received {"connection_id":149092,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0975cc8012cb33500077462480022008c29..."} 
[2026-08-02 11:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0975cc8012cb33500077462480022008c29..."} 
[2026-08-02 11:15:09] local.INFO: Processing buffer {"connection_id":149092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0975cc8012cb33500077462480022008c29..."} 
[2026-08-02 11:15:09] local.INFO: Packet analysis {"connection_id":149092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc097"} 
[2026-08-02 11:15:09] local.INFO: Extracted packet for processing {"connection_id":149092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc097"} 
[2026-08-02 11:15:09] local.INFO: GPS Element Parsed {"raw_longitude":749942016,"raw_latitude":125067848,"longitude_deg":74.9942016,"latitude_deg":12.5067848,"altitude":34,"angle":140,"satellites":41,"speed":11,"hex_longitude":"2cb33500","hex_latitude":"07746248","is_valid_coordinates":true} 
[2026-08-02 11:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124498432001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367165690299285504,"note":"Value kept but may cause issues"} 
[2026-08-02 11:15:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5533657272625709056,"note":"Value kept but may cause issues"} 
[2026-08-02 11:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785642573000,"timestamp_ms":1785642573000,"timestamp_seconds":1785642573,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0975cc8"} 
[2026-08-02 11:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-02 11:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124498432001,"66":27974,"101":206,"27":54016,"24":11,"16":367165690299285504,"44":-5533657272625709056},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-08-02 11:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124498432001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:15:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 11:15:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367165690299285504,"km_value":367165690299285.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:15:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5533657272625709056,"description":"Unknown IO ID 44"} 
[2026-08-02 11:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124498432001,"power":27974,"unknown_101":206,"unknown_27":54016,"ignition":11,"odometer":null,"unknown_44":-5533657272625709056}} 
[2026-08-02 11:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":149092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:15:09] local.INFO: GPS data processed {"connection_id":149092,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:15:09] local.INFO: Acknowledgment sent {"connection_id":149092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:15:24] local.INFO: TCP Data received {"connection_id":146540,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:15:24] local.INFO: Processing buffer {"connection_id":146540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:15:24] local.INFO: IMEI packet received {"connection_id":146540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":146540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:15:30] local.INFO: TCP Data received {"connection_id":146540,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:15:30] local.INFO: Processing buffer {"connection_id":146540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:15:30] local.INFO: IMEI packet received {"connection_id":146540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":146540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:15:31] local.INFO: TCP Data received {"connection_id":146540,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc0975cc8012cb33500077462480022008c29..."} 
[2026-08-02 11:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146540,"packet_length":93,"packet_hex":"00000000000000518e010000019fc0975cc8012cb33500077462480022008c29..."} 
[2026-08-02 11:15:31] local.INFO: Processing buffer {"connection_id":146540,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc0975cc8012cb33500077462480022008c29..."} 
[2026-08-02 11:15:31] local.INFO: Packet analysis {"connection_id":146540,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc097"} 
[2026-08-02 11:15:31] local.INFO: Extracted packet for processing {"connection_id":146540,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc097"} 
[2026-08-02 11:15:31] local.INFO: GPS Element Parsed {"raw_longitude":749942016,"raw_latitude":125067848,"longitude_deg":74.9942016,"latitude_deg":12.5067848,"altitude":34,"angle":140,"satellites":41,"speed":11,"hex_longitude":"2cb33500","hex_latitude":"07746248","is_valid_coordinates":true} 
[2026-08-02 11:15: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":93,"current_offset":40} 
[2026-08-02 11:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:15:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:15:31] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 11:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146540,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 11:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146540,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146540,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 11:15:31] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 11:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":146540,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 11:15:31] local.ERROR: GPS data processing failed {"connection_id":146540,"error":"No valid data to process"} 
[2026-08-02 11:15:31] local.INFO: Acknowledgment sent {"connection_id":146540,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 11:16:03] local.INFO: TCP Data received {"connection_id":146540,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0960cd8012cb2944007747240001400742a..."} 
[2026-08-02 11:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0960cd8012cb2944007747240001400742a..."} 
[2026-08-02 11:16:03] local.INFO: Processing buffer {"connection_id":146540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0960cd8012cb2944007747240001400742a..."} 
[2026-08-02 11:16:03] local.INFO: Packet analysis {"connection_id":146540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc096"} 
[2026-08-02 11:16:03] local.INFO: Extracted packet for processing {"connection_id":146540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc096"} 
[2026-08-02 11:16:03] local.INFO: GPS Element Parsed {"raw_longitude":749900864,"raw_latitude":125071936,"longitude_deg":74.9900864,"latitude_deg":12.5071936,"altitude":20,"angle":116,"satellites":42,"speed":37,"hex_longitude":"2cb29440","hex_latitude":"07747240","is_valid_coordinates":true} 
[2026-08-02 11:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124473856001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367163559995506688,"note":"Value kept but may cause issues"} 
[2026-08-02 11:16:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588826368058912768,"note":"Value kept but may cause issues"} 
[2026-08-02 11:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785642487000,"timestamp_ms":1785642487000,"timestamp_seconds":1785642487,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0960cd8"} 
[2026-08-02 11:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 11:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124473856001,"66":27908,"102":206,"27":54016,"24":37,"16":367163559995506688,"44":-5588826368058912768},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,27,24,16,44]} 
[2026-08-02 11:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124473856001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:16:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 11:16:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367163559995506688,"km_value":367163559995506.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:16:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588826368058912768,"description":"Unknown IO ID 44"} 
[2026-08-02 11:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124473856001,"power":27908,"unknown_102":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-5588826368058912768}} 
[2026-08-02 11:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":146540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:16:03] local.INFO: GPS data processed {"connection_id":146540,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:16:03] local.INFO: Acknowledgment sent {"connection_id":146540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:16:24] local.INFO: TCP Data received {"connection_id":149093,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:16:24] local.INFO: Processing buffer {"connection_id":149093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:16:24] local.INFO: IMEI packet received {"connection_id":149093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":149093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:16:30] local.INFO: TCP Data received {"connection_id":149093,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:16:30] local.INFO: Processing buffer {"connection_id":149093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:16:30] local.INFO: IMEI packet received {"connection_id":149093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":149093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:16:32] local.INFO: TCP Data received {"connection_id":149093,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc0960cd8012cb2944007747240001400742a..."} 
[2026-08-02 11:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149093,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc0960cd8012cb2944007747240001400742a..."} 
[2026-08-02 11:16:32] local.INFO: Processing buffer {"connection_id":149093,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc0960cd8012cb2944007747240001400742a..."} 
[2026-08-02 11:16:32] local.INFO: Packet analysis {"connection_id":149093,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc096"} 
[2026-08-02 11:16:32] local.INFO: Extracted packet for processing {"connection_id":149093,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc096"} 
[2026-08-02 11:16:32] local.INFO: GPS Element Parsed {"raw_longitude":749900864,"raw_latitude":125071936,"longitude_deg":74.9900864,"latitude_deg":12.5071936,"altitude":20,"angle":116,"satellites":42,"speed":37,"hex_longitude":"2cb29440","hex_latitude":"07747240","is_valid_coordinates":true} 
[2026-08-02 11:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-02 11:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124473856001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367163559995506688,"note":"Value kept but may cause issues"} 
[2026-08-02 11:16:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588826368058912768,"note":"Value kept but may cause issues"} 
[2026-08-02 11:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785642487000,"timestamp_ms":1785642487000,"timestamp_seconds":1785642487,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0960cd8"} 
[2026-08-02 11:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":327,"current_offset":136} 
[2026-08-02 11:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:16:32] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149093,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 11:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124473856001,"66":27908,"102":206,"27":54016,"24":37,"16":367163559995506688,"44":-5588826368058912768},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,27,24,16,44]} 
[2026-08-02 11:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124473856001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:16:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 11:16:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367163559995506688,"km_value":367163559995506.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:16:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588826368058912768,"description":"Unknown IO ID 44"} 
[2026-08-02 11:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124473856001,"power":27908,"unknown_102":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-5588826368058912768}} 
[2026-08-02 11:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":149093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:16:32] local.INFO: GPS data processed {"connection_id":149093,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:16:32] local.INFO: Acknowledgment sent {"connection_id":149093,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:17:03] local.INFO: TCP Data received {"connection_id":149093,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc094ad48012cb2af4007752160001b00db29..."} 
[2026-08-02 11:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc094ad48012cb2af4007752160001b00db29..."} 
[2026-08-02 11:17:03] local.INFO: Processing buffer {"connection_id":149093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc094ad48012cb2af4007752160001b00db29..."} 
[2026-08-02 11:17:03] local.INFO: Packet analysis {"connection_id":149093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc094"} 
[2026-08-02 11:17:03] local.INFO: Extracted packet for processing {"connection_id":149093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc094"} 
[2026-08-02 11:17:03] local.INFO: GPS Element Parsed {"raw_longitude":749907776,"raw_latitude":125116768,"longitude_deg":74.9907776,"latitude_deg":12.5116768,"altitude":27,"angle":219,"satellites":41,"speed":29,"hex_longitude":"2cb2af40","hex_latitude":"07752160","is_valid_coordinates":true} 
[2026-08-02 11:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124450560001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367160527748595712,"note":"Value kept but may cause issues"} 
[2026-08-02 11:17:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5564619520049491968,"note":"Value kept but may cause issues"} 
[2026-08-02 11:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785642397000,"timestamp_ms":1785642397000,"timestamp_seconds":1785642397,"priority":1,"record_length":96,"hex_timestamp":"0000019fc094ad48"} 
[2026-08-02 11:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-02 11:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124450560001,"66":27843,"6":206,"27":54016,"24":29,"16":367160527748595712,"44":-5564619520049491968},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-08-02 11:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124450560001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:17:03] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-02 11:17:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367160527748595712,"km_value":367160527748595.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:17:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5564619520049491968,"description":"Unknown IO ID 44"} 
[2026-08-02 11:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124450560001,"power":27843,"unknown_6":206,"unknown_27":54016,"ignition":29,"odometer":null,"unknown_44":-5564619520049491968}} 
[2026-08-02 11:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":149093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:17:03] local.INFO: GPS data processed {"connection_id":149093,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:17:03] local.INFO: Acknowledgment sent {"connection_id":149093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:17:30] local.INFO: TCP Data received {"connection_id":146759,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:17:30] local.INFO: Processing buffer {"connection_id":146759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:17:30] local.INFO: IMEI packet received {"connection_id":146759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":146759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:17:35] local.INFO: TCP Data received {"connection_id":146759,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:17:35] local.INFO: Processing buffer {"connection_id":146759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:17:35] local.INFO: IMEI packet received {"connection_id":146759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":146759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:17:41] local.INFO: TCP Data received {"connection_id":146759,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0934db8012cb2fd800775e510001400c72b..."} 
[2026-08-02 11:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0934db8012cb2fd800775e510001400c72b..."} 
[2026-08-02 11:17:41] local.INFO: Processing buffer {"connection_id":146759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0934db8012cb2fd800775e510001400c72b..."} 
[2026-08-02 11:17:41] local.INFO: Packet analysis {"connection_id":146759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc093"} 
[2026-08-02 11:17:41] local.INFO: Extracted packet for processing {"connection_id":146759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc093"} 
[2026-08-02 11:17:41] local.INFO: GPS Element Parsed {"raw_longitude":749927808,"raw_latitude":125166864,"longitude_deg":74.9927808,"latitude_deg":12.5166864,"altitude":20,"angle":199,"satellites":43,"speed":23,"hex_longitude":"2cb2fd80","hex_latitude":"0775e510","is_valid_coordinates":true} 
[2026-08-02 11:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124429056001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367157809034297344,"note":"Value kept but may cause issues"} 
[2026-08-02 11:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5548012496412104704,"note":"Value kept but may cause issues"} 
[2026-08-02 11:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785642307000,"timestamp_ms":1785642307000,"timestamp_seconds":1785642307,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0934db8"} 
[2026-08-02 11:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 11:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124429056001,"66":27876,"241":206,"27":54016,"24":23,"16":367157809034297344,"44":-5548012496412104704},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 11:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124429056001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:17:41] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 11:17:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367157809034297344,"km_value":367157809034297.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5548012496412104704,"description":"Unknown IO ID 44"} 
[2026-08-02 11:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124429056001,"power":27876,"unknown_241":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-5548012496412104704}} 
[2026-08-02 11:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":146759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:17:41] local.INFO: GPS data processed {"connection_id":146759,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:17:41] local.INFO: Acknowledgment sent {"connection_id":146759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:17:51] local.INFO: TCP Data received {"connection_id":146759,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0930b50012cb300c00775f498001600522b..."} 
[2026-08-02 11:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0930b50012cb300c00775f498001600522b..."} 
[2026-08-02 11:17:51] local.INFO: Processing buffer {"connection_id":146759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0930b50012cb300c00775f498001600522b..."} 
[2026-08-02 11:17:51] local.INFO: Packet analysis {"connection_id":146759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc093"} 
[2026-08-02 11:17:51] local.INFO: Extracted packet for processing {"connection_id":146759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc093"} 
[2026-08-02 11:17:51] local.INFO: GPS Element Parsed {"raw_longitude":749928640,"raw_latitude":125170840,"longitude_deg":74.992864,"latitude_deg":12.517084,"altitude":22,"angle":82,"satellites":43,"speed":10,"hex_longitude":"2cb300c0","hex_latitude":"0775f498","is_valid_coordinates":true} 
[2026-08-02 11:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124425984001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367157568516128768,"note":"Value kept but may cause issues"} 
[2026-08-02 11:17:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5548434708876740608,"note":"Value kept but may cause issues"} 
[2026-08-02 11:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785642290000,"timestamp_ms":1785642290000,"timestamp_seconds":1785642290,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0930b50"} 
[2026-08-02 11:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 11:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124425984001,"66":27365,"241":206,"27":54016,"24":10,"16":367157568516128768,"44":-5548434708876740608},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 11:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124425984001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:17:51] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 11:17:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367157568516128768,"km_value":367157568516128.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:17:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5548434708876740608,"description":"Unknown IO ID 44"} 
[2026-08-02 11:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124425984001,"power":27365,"unknown_241":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-5548434708876740608}} 
[2026-08-02 11:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":146759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:17:51] local.INFO: GPS data processed {"connection_id":146759,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:17:51] local.INFO: Acknowledgment sent {"connection_id":146759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:18:28] local.INFO: TCP Data received {"connection_id":149094,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:18:28] local.INFO: Processing buffer {"connection_id":149094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:18:28] local.INFO: IMEI packet received {"connection_id":149094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":149094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:18:29] local.INFO: TCP Data received {"connection_id":149094,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:18:29] local.INFO: Processing buffer {"connection_id":149094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:18:29] local.INFO: IMEI packet received {"connection_id":149094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":149094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:18:37] local.INFO: TCP Data received {"connection_id":149094,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc103b328012cc330c007685958005800c529..."} 
[2026-08-02 11:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc103b328012cc330c007685958005800c529..."} 
[2026-08-02 11:18:37] local.INFO: Processing buffer {"connection_id":149094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc103b328012cc330c007685958005800c529..."} 
[2026-08-02 11:18:37] local.INFO: Packet analysis {"connection_id":149094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc103"} 
[2026-08-02 11:18:37] local.INFO: Extracted packet for processing {"connection_id":149094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc103"} 
[2026-08-02 11:18:37] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124409344001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 11:18:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5553290152233519104,"note":"Value kept but may cause issues"} 
[2026-08-02 11:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785649673000,"timestamp_ms":1785649673000,"timestamp_seconds":1785649673,"priority":1,"record_length":96,"hex_timestamp":"0000019fc103b328"} 
[2026-08-02 11:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 11:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124409344001,"66":25582,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-5553290152233519104},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 11:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124409344001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:18:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 11:18:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:18:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5553290152233519104,"description":"Unknown IO ID 44"} 
[2026-08-02 11:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124409344001,"power":25582,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5553290152233519104}} 
[2026-08-02 11:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":149094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:18:37] local.INFO: GPS data processed {"connection_id":149094,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:18:37] local.INFO: Acknowledgment sent {"connection_id":149094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:19:11] local.INFO: TCP Data received {"connection_id":149094,"ip":"117.224.14.1","data_length":717,"data_hex":"00000000000002c18e090000019fc103b328012cc330c007685958005800c529..."} 
[2026-08-02 11:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149094,"packet_length":717,"packet_hex":"00000000000002c18e090000019fc103b328012cc330c007685958005800c529..."} 
[2026-08-02 11:19:11] local.INFO: Processing buffer {"connection_id":149094,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019fc103b328012cc330c007685958005800c529..."} 
[2026-08-02 11:19:11] local.INFO: Packet analysis {"connection_id":149094,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019fc103"} 
[2026-08-02 11:19:11] local.INFO: Extracted packet for processing {"connection_id":149094,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019fc103"} 
[2026-08-02 11:19:11] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11: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":717,"current_offset":40} 
[2026-08-02 11:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124409344001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 11:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5553290152233519104,"note":"Value kept but may cause issues"} 
[2026-08-02 11:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785649673000,"timestamp_ms":1785649673000,"timestamp_seconds":1785649673,"priority":1,"record_length":96,"hex_timestamp":"0000019fc103b328"} 
[2026-08-02 11:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":106,"n8_eight_byte":240,"data_length":717,"current_offset":136} 
[2026-08-02 11:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:19:11] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149094,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-02 11:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124409344001,"66":25582,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-5553290152233519104},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 11:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124409344001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:19:11] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 11:19:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5553290152233519104,"description":"Unknown IO ID 44"} 
[2026-08-02 11:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124409344001,"power":25582,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5553290152233519104}} 
[2026-08-02 11:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":149094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:19:11] local.INFO: GPS data processed {"connection_id":149094,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:19:11] local.INFO: Acknowledgment sent {"connection_id":149094,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:19:24] local.INFO: TCP Data received {"connection_id":147780,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:19:24] local.INFO: Processing buffer {"connection_id":147780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:19:24] local.INFO: IMEI packet received {"connection_id":147780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":147780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:19:30] local.INFO: TCP Data received {"connection_id":147780,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:19:30] local.INFO: Processing buffer {"connection_id":147780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:19:30] local.INFO: IMEI packet received {"connection_id":147780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":147780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:19:35] local.INFO: TCP Data received {"connection_id":147780,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc08fcb48012cb2ab00077518b0001b00282b..."} 
[2026-08-02 11:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc08fcb48012cb2ab00077518b0001b00282b..."} 
[2026-08-02 11:19:35] local.INFO: Processing buffer {"connection_id":147780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc08fcb48012cb2ab00077518b0001b00282b..."} 
[2026-08-02 11:19:35] local.INFO: Packet analysis {"connection_id":147780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc08f"} 
[2026-08-02 11:19:35] local.INFO: Extracted packet for processing {"connection_id":147780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc08f"} 
[2026-08-02 11:19:35] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":27,"angle":40,"satellites":43,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 11:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457124294656001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 11:19:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 11:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785642077000,"timestamp_ms":1785642077000,"timestamp_seconds":1785642077,"priority":1,"record_length":96,"hex_timestamp":"0000019fc08fcb48"} 
[2026-08-02 11:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-02 11:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457124294656001,"66":25712,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 11:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457124294656001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:19:35] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 11:19:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:19:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 11:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457124294656001,"power":25712,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 11:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":147780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:19:35] local.INFO: GPS data processed {"connection_id":147780,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:19:35] local.INFO: Acknowledgment sent {"connection_id":147780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:20:07] local.INFO: TCP Data received {"connection_id":147780,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 11:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 11:20:07] local.INFO: Processing buffer {"connection_id":147780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc061dd78012cb2ab00077518b00021002826..."} 
[2026-08-02 11:20:07] local.INFO: Packet analysis {"connection_id":147780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 11:20:07] local.INFO: Extracted packet for processing {"connection_id":147780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc061"} 
[2026-08-02 11:20:07] local.INFO: GPS Element Parsed {"raw_longitude":749906688,"raw_latitude":125114544,"longitude_deg":74.9906688,"latitude_deg":12.5114544,"altitude":33,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2cb2ab00","hex_latitude":"077518b0","is_valid_coordinates":true} 
[2026-08-02 11:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123524096001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154463254773760,"note":"Value kept but may cause issues"} 
[2026-08-02 11:20:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572360081911533568,"note":"Value kept but may cause issues"} 
[2026-08-02 11:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785639067000,"timestamp_ms":1785639067000,"timestamp_seconds":1785639067,"priority":1,"record_length":96,"hex_timestamp":"0000019fc061dd78"} 
[2026-08-02 11:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11: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-08-02 11: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 11:20: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-08-02 11:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123524096001,"66":26028,"241":206,"27":54016,"24":0,"16":367154463254773760,"44":-5572360081911533568},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 11:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123524096001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:20:07] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 11:20:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154463254773760,"km_value":367154463254773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:20:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572360081911533568,"description":"Unknown IO ID 44"} 
[2026-08-02 11:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123524096001,"power":26028,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5572360081911533568}} 
[2026-08-02 11:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":147780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:20:07] local.INFO: GPS data processed {"connection_id":147780,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:20:07] local.INFO: Acknowledgment sent {"connection_id":147780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:20:30] local.INFO: TCP Data received {"connection_id":146541,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:20:30] local.INFO: Processing buffer {"connection_id":146541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:20:30] local.INFO: IMEI packet received {"connection_id":146541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":146541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:20:37] local.INFO: TCP Data received {"connection_id":146541,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:20:37] local.INFO: Processing buffer {"connection_id":146541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:20:37] local.INFO: IMEI packet received {"connection_id":146541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":146541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:20:40] local.INFO: TCP Data received {"connection_id":146541,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc052aec0012cb2a780077517e00021003c28..."} 
[2026-08-02 11:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc052aec0012cb2a780077517e00021003c28..."} 
[2026-08-02 11:20:40] local.INFO: Processing buffer {"connection_id":146541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc052aec0012cb2a780077517e00021003c28..."} 
[2026-08-02 11:20:40] local.INFO: Packet analysis {"connection_id":146541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 11:20:40] local.INFO: Extracted packet for processing {"connection_id":146541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc052"} 
[2026-08-02 11:20:40] local.INFO: GPS Element Parsed {"raw_longitude":749905792,"raw_latitude":125114336,"longitude_deg":74.9905792,"latitude_deg":12.5114336,"altitude":33,"angle":60,"satellites":40,"speed":0,"hex_longitude":"2cb2a780","hex_latitude":"077517e0","is_valid_coordinates":true} 
[2026-08-02 11:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123341056001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154424600068096,"note":"Value kept but may cause issues"} 
[2026-08-02 11:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573345244330074112,"note":"Value kept but may cause issues"} 
[2026-08-02 11:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785638072000,"timestamp_ms":1785638072000,"timestamp_seconds":1785638072,"priority":1,"record_length":96,"hex_timestamp":"0000019fc052aec0"} 
[2026-08-02 11:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 11:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123341056001,"66":28028,"241":206,"27":54016,"24":0,"16":367154424600068096,"44":-5573345244330074112},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 11:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123341056001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:20:40] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 11:20:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154424600068096,"km_value":367154424600068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573345244330074112,"description":"Unknown IO ID 44"} 
[2026-08-02 11:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123341056001,"power":28028,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573345244330074112}} 
[2026-08-02 11:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":146541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:20:40] local.INFO: GPS data processed {"connection_id":146541,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:20:40] local.INFO: Acknowledgment sent {"connection_id":146541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:20:50] local.INFO: TCP Data received {"connection_id":146541,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc045d5b0012cb2a94007751990001e00e628..."} 
[2026-08-02 11:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc045d5b0012cb2a94007751990001e00e628..."} 
[2026-08-02 11:20:50] local.INFO: Processing buffer {"connection_id":146541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc045d5b0012cb2a94007751990001e00e628..."} 
[2026-08-02 11:20:50] local.INFO: Packet analysis {"connection_id":146541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 11:20:50] local.INFO: Extracted packet for processing {"connection_id":146541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc045"} 
[2026-08-02 11:20:50] local.INFO: GPS Element Parsed {"raw_longitude":749906240,"raw_latitude":125114768,"longitude_deg":74.990624,"latitude_deg":12.5114768,"altitude":30,"angle":230,"satellites":40,"speed":1,"hex_longitude":"2cb2a940","hex_latitude":"07751990","is_valid_coordinates":true} 
[2026-08-02 11:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123127040001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154360175558656,"note":"Value kept but may cause issues"} 
[2026-08-02 11:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609122304,"note":"Value kept but may cause issues"} 
[2026-08-02 11:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785637230000,"timestamp_ms":1785637230000,"timestamp_seconds":1785637230,"priority":1,"record_length":96,"hex_timestamp":"0000019fc045d5b0"} 
[2026-08-02 11:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 11:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123127040001,"66":27974,"241":206,"27":54016,"24":1,"16":367154360175558656,"44":-5572993400609122304},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 11:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123127040001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:20:50] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 11:20:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154360175558656,"km_value":367154360175558.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609122304,"description":"Unknown IO ID 44"} 
[2026-08-02 11:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123127040001,"power":27974,"unknown_241":206,"unknown_27":54016,"ignition":1,"odometer":null,"unknown_44":-5572993400609122304}} 
[2026-08-02 11:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":146541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:20:50] local.INFO: GPS data processed {"connection_id":146541,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:20:50] local.INFO: Acknowledgment sent {"connection_id":146541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:21:25] local.INFO: TCP Data received {"connection_id":146542,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:21:25] local.INFO: Processing buffer {"connection_id":146542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:21:25] local.INFO: IMEI packet received {"connection_id":146542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":146542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:21:30] local.INFO: TCP Data received {"connection_id":146542,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:21:30] local.INFO: Processing buffer {"connection_id":146542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:21:30] local.INFO: IMEI packet received {"connection_id":146542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":146542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:21:31] local.INFO: TCP Data received {"connection_id":146542,"ip":"117.224.14.1","data_length":561,"data_hex":"00000000000002258e070000019fc045d5b0012cb2a94007751990001e00e628..."} 
[2026-08-02 11:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146542,"packet_length":561,"packet_hex":"00000000000002258e070000019fc045d5b0012cb2a94007751990001e00e628..."} 
[2026-08-02 11:21:31] local.INFO: Processing buffer {"connection_id":146542,"buffer_length":561,"buffer_hex":"00000000000002258e070000019fc045d5b0012cb2a94007751990001e00e628..."} 
[2026-08-02 11:21:31] local.INFO: Packet analysis {"connection_id":146542,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019fc045"} 
[2026-08-02 11:21:31] local.INFO: Extracted packet for processing {"connection_id":146542,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019fc045"} 
[2026-08-02 11:21:31] local.INFO: GPS Element Parsed {"raw_longitude":749906240,"raw_latitude":125114768,"longitude_deg":74.990624,"latitude_deg":12.5114768,"altitude":30,"angle":230,"satellites":40,"speed":1,"hex_longitude":"2cb2a940","hex_latitude":"07751990","is_valid_coordinates":true} 
[2026-08-02 11:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":561,"current_offset":40} 
[2026-08-02 11:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123127040001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154360175558656,"note":"Value kept but may cause issues"} 
[2026-08-02 11:21:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572993400609122304,"note":"Value kept but may cause issues"} 
[2026-08-02 11:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785637230000,"timestamp_ms":1785637230000,"timestamp_seconds":1785637230,"priority":1,"record_length":96,"hex_timestamp":"0000019fc045d5b0"} 
[2026-08-02 11:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":561,"current_offset":136} 
[2026-08-02 11:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:21:31] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146542,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-02 11:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123127040001,"66":27974,"241":206,"27":54016,"24":1,"16":367154360175558656,"44":-5572993400609122304},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 11:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123127040001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:21:31] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 11:21:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154360175558656,"km_value":367154360175558.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:21:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572993400609122304,"description":"Unknown IO ID 44"} 
[2026-08-02 11:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123127040001,"power":27974,"unknown_241":206,"unknown_27":54016,"ignition":1,"odometer":null,"unknown_44":-5572993400609122304}} 
[2026-08-02 11:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":146542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:21:31] local.INFO: GPS data processed {"connection_id":146542,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:21:31] local.INFO: Acknowledgment sent {"connection_id":146542,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:22:04] local.INFO: TCP Data received {"connection_id":146542,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0434188012cb2a800077517e8001d003f2b..."} 
[2026-08-02 11:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0434188012cb2a800077517e8001d003f2b..."} 
[2026-08-02 11:22:04] local.INFO: Processing buffer {"connection_id":146542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0434188012cb2a800077517e8001d003f2b..."} 
[2026-08-02 11:22:04] local.INFO: Packet analysis {"connection_id":146542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc043"} 
[2026-08-02 11:22:04] local.INFO: Extracted packet for processing {"connection_id":146542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc043"} 
[2026-08-02 11:22:04] local.INFO: GPS Element Parsed {"raw_longitude":749905920,"raw_latitude":125114344,"longitude_deg":74.990592,"latitude_deg":12.5114344,"altitude":29,"angle":63,"satellites":43,"speed":0,"hex_longitude":"2cb2a800","hex_latitude":"077517e8","is_valid_coordinates":true} 
[2026-08-02 11:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123082240001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154291456081920,"note":"Value kept but may cause issues"} 
[2026-08-02 11:22:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573204506841731072,"note":"Value kept but may cause issues"} 
[2026-08-02 11:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785637061000,"timestamp_ms":1785637061000,"timestamp_seconds":1785637061,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0434188"} 
[2026-08-02 11:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 11:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123082240001,"66":27745,"241":206,"27":54016,"24":0,"16":367154291456081920,"44":-5573204506841731072},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 11:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123082240001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:22:04] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 11:22:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154291456081920,"km_value":367154291456081.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:22:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573204506841731072,"description":"Unknown IO ID 44"} 
[2026-08-02 11:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123082240001,"power":27745,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5573204506841731072}} 
[2026-08-02 11:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":146542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:22:04] local.INFO: GPS data processed {"connection_id":146542,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:22:04] local.INFO: Acknowledgment sent {"connection_id":146542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:22:24] local.INFO: TCP Data received {"connection_id":149095,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:22:24] local.INFO: Processing buffer {"connection_id":149095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:22:24] local.INFO: IMEI packet received {"connection_id":149095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":149095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:22:31] local.INFO: TCP Data received {"connection_id":149095,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:22:31] local.INFO: Processing buffer {"connection_id":149095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:22:31] local.INFO: IMEI packet received {"connection_id":149095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":149095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:22:35] local.INFO: TCP Data received {"connection_id":149095,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0417c68012cb2a5c007751650001a00d026..."} 
[2026-08-02 11:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0417c68012cb2a5c007751650001a00d026..."} 
[2026-08-02 11:22:35] local.INFO: Processing buffer {"connection_id":149095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0417c68012cb2a5c007751650001a00d026..."} 
[2026-08-02 11:22:35] local.INFO: Packet analysis {"connection_id":149095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc041"} 
[2026-08-02 11:22:35] local.INFO: Extracted packet for processing {"connection_id":149095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc041"} 
[2026-08-02 11:22:35] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125113936,"longitude_deg":74.9905344,"latitude_deg":12.5113936,"altitude":26,"angle":208,"satellites":38,"speed":2,"hex_longitude":"2cb2a5c0","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-08-02 11:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123057152001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367154209851703296,"note":"Value kept but may cause issues"} 
[2026-08-02 11:22:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795207680,"note":"Value kept but may cause issues"} 
[2026-08-02 11:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785636945000,"timestamp_ms":1785636945000,"timestamp_seconds":1785636945,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0417c68"} 
[2026-08-02 11:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-02 11:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123057152001,"66":27984,"241":206,"27":54016,"24":2,"16":367154209851703296,"44":-5573767456795207680},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-08-02 11:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123057152001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:22:35] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-02 11:22:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367154209851703296,"km_value":367154209851703.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:22:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795207680,"description":"Unknown IO ID 44"} 
[2026-08-02 11:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123057152001,"power":27984,"unknown_241":206,"unknown_27":54016,"ignition":2,"odometer":null,"unknown_44":-5573767456795207680}} 
[2026-08-02 11:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":149095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:22:35] local.INFO: GPS data processed {"connection_id":149095,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:22:35] local.INFO: Acknowledgment sent {"connection_id":149095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:23:07] local.INFO: TCP Data received {"connection_id":149095,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03fc300012cb2494007748ed00013000a23..."} 
[2026-08-02 11:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03fc300012cb2494007748ed00013000a23..."} 
[2026-08-02 11:23:07] local.INFO: Processing buffer {"connection_id":149095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03fc300012cb2494007748ed00013000a23..."} 
[2026-08-02 11:23:07] local.INFO: Packet analysis {"connection_id":149095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03f"} 
[2026-08-02 11:23:07] local.INFO: Extracted packet for processing {"connection_id":149095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03f"} 
[2026-08-02 11:23:07] local.INFO: GPS Element Parsed {"raw_longitude":749881664,"raw_latitude":125079248,"longitude_deg":74.9881664,"latitude_deg":12.5079248,"altitude":19,"angle":10,"satellites":35,"speed":11,"hex_longitude":"2cb24940","hex_latitude":"07748ed0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 11:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123028480001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367152156857335808,"note":"Value kept but may cause issues"} 
[2026-08-02 11:23:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5600014998382534656,"note":"Value kept but may cause issues"} 
[2026-08-02 11:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785636832000,"timestamp_ms":1785636832000,"timestamp_seconds":1785636832,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03fc300"} 
[2026-08-02 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-08-02 11:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 11:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 11:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123028480001,"66":27908,"6":206,"27":54016,"24":11,"16":367152156857335808,"44":-5600014998382534656},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-08-02 11:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123028480001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:23:07] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-02 11:23:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367152156857335808,"km_value":367152156857335.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:23:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5600014998382534656,"description":"Unknown IO ID 44"} 
[2026-08-02 11:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123028480001,"power":27908,"unknown_6":206,"unknown_27":54016,"ignition":11,"odometer":null,"unknown_44":-5600014998382534656}} 
[2026-08-02 11:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":149095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:23:07] local.INFO: GPS data processed {"connection_id":149095,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:23:07] local.INFO: Acknowledgment sent {"connection_id":149095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:23:24] local.INFO: TCP Data received {"connection_id":146543,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:23:24] local.INFO: Processing buffer {"connection_id":146543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:23:24] local.INFO: IMEI packet received {"connection_id":146543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":146543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:23:30] local.INFO: TCP Data received {"connection_id":146543,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:23:30] local.INFO: Processing buffer {"connection_id":146543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:23:30] local.INFO: IMEI packet received {"connection_id":146543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":146543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:23:33] local.INFO: TCP Data received {"connection_id":146543,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1084af0012cc330c007685958005800c52a..."} 
[2026-08-02 11:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1084af0012cc330c007685958005800c52a..."} 
[2026-08-02 11:23:33] local.INFO: Processing buffer {"connection_id":146543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1084af0012cc330c007685958005800c52a..."} 
[2026-08-02 11:23:33] local.INFO: Packet analysis {"connection_id":146543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc108"} 
[2026-08-02 11:23:33] local.INFO: Extracted packet for processing {"connection_id":146543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc108"} 
[2026-08-02 11:23:33] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457123015168001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 11:23:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5540483040813099008,"note":"Value kept but may cause issues"} 
[2026-08-02 11:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785649974000,"timestamp_ms":1785649974000,"timestamp_seconds":1785649974,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1084af0"} 
[2026-08-02 11:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 11:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457123015168001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-5540483040813099008},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 11:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457123015168001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:23:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 11:23:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:23:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5540483040813099008,"description":"Unknown IO ID 44"} 
[2026-08-02 11:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457123015168001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5540483040813099008}} 
[2026-08-02 11:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":146543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:23:33] local.INFO: GPS data processed {"connection_id":146543,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:23:33] local.INFO: Acknowledgment sent {"connection_id":146543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:24:08] local.INFO: TCP Data received {"connection_id":146543,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03e1550012cb3c040077509f8001d00d921..."} 
[2026-08-02 11:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03e1550012cb3c040077509f8001d00d921..."} 
[2026-08-02 11:24:08] local.INFO: Processing buffer {"connection_id":146543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03e1550012cb3c040077509f8001d00d921..."} 
[2026-08-02 11:24:08] local.INFO: Packet analysis {"connection_id":146543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03e"} 
[2026-08-02 11:24:08] local.INFO: Extracted packet for processing {"connection_id":146543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03e"} 
[2026-08-02 11:24:08] local.INFO: GPS Element Parsed {"raw_longitude":749977664,"raw_latitude":125110776,"longitude_deg":74.9977664,"latitude_deg":12.5110776,"altitude":29,"angle":217,"satellites":33,"speed":46,"hex_longitude":"2cb3c040","hex_latitude":"077509f8","is_valid_coordinates":true} 
[2026-08-02 11:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122998784001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367146058003775488,"note":"Value kept but may cause issues"} 
[2026-08-02 11:24:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5488128695129909248,"note":"Value kept but may cause issues"} 
[2026-08-02 11:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785636722000,"timestamp_ms":1785636722000,"timestamp_seconds":1785636722,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03e1550"} 
[2026-08-02 11:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 11:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122998784001,"66":27300,"100":206,"27":54016,"24":46,"16":367146058003775488,"44":-5488128695129909248},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-08-02 11:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122998784001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:24:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-02 11:24:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367146058003775488,"km_value":367146058003775.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:24:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5488128695129909248,"description":"Unknown IO ID 44"} 
[2026-08-02 11:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122998784001,"power":27300,"unknown_100":206,"unknown_27":54016,"ignition":46,"odometer":null,"unknown_44":-5488128695129909248}} 
[2026-08-02 11:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":146543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:24:08] local.INFO: GPS data processed {"connection_id":146543,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:24:08] local.INFO: Acknowledgment sent {"connection_id":146543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:24:30] local.INFO: TCP Data received {"connection_id":146760,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:24:30] local.INFO: Processing buffer {"connection_id":146760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:24:30] local.INFO: IMEI packet received {"connection_id":146760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":146760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:24:35] local.INFO: TCP Data received {"connection_id":146760,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:24:35] local.INFO: Processing buffer {"connection_id":146760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:24:35] local.INFO: IMEI packet received {"connection_id":146760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":146760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:24:35] local.INFO: TCP Data received {"connection_id":146760,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc03e1550012cb3c040077509f8001d00d921..."} 
[2026-08-02 11:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146760,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc03e1550012cb3c040077509f8001d00d921..."} 
[2026-08-02 11:24:35] local.INFO: Processing buffer {"connection_id":146760,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc03e1550012cb3c040077509f8001d00d921..."} 
[2026-08-02 11:24:35] local.INFO: Packet analysis {"connection_id":146760,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc03e"} 
[2026-08-02 11:24:35] local.INFO: Extracted packet for processing {"connection_id":146760,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc03e"} 
[2026-08-02 11:24:35] local.INFO: GPS Element Parsed {"raw_longitude":749977664,"raw_latitude":125110776,"longitude_deg":74.9977664,"latitude_deg":12.5110776,"altitude":29,"angle":217,"satellites":33,"speed":46,"hex_longitude":"2cb3c040","hex_latitude":"077509f8","is_valid_coordinates":true} 
[2026-08-02 11:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-08-02 11:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122998784001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367146058003775488,"note":"Value kept but may cause issues"} 
[2026-08-02 11:24:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5488128695129909248,"note":"Value kept but may cause issues"} 
[2026-08-02 11:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785636722000,"timestamp_ms":1785636722000,"timestamp_seconds":1785636722,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03e1550"} 
[2026-08-02 11:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":249,"current_offset":136} 
[2026-08-02 11:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:24:35] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146760,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 11:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122998784001,"66":27300,"100":206,"27":54016,"24":46,"16":367146058003775488,"44":-5488128695129909248},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-08-02 11:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122998784001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:24:35] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-02 11:24:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367146058003775488,"km_value":367146058003775.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:24:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5488128695129909248,"description":"Unknown IO ID 44"} 
[2026-08-02 11:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122998784001,"power":27300,"unknown_100":206,"unknown_27":54016,"ignition":46,"odometer":null,"unknown_44":-5488128695129909248}} 
[2026-08-02 11:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":146760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:24:35] local.INFO: GPS data processed {"connection_id":146760,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:24:35] local.INFO: Acknowledgment sent {"connection_id":146760,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:24:53] local.INFO: TCP Data received {"connection_id":146760,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03d1b50012cb49580077550e0002f012c2b..."} 
[2026-08-02 11:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03d1b50012cb49580077550e0002f012c2b..."} 
[2026-08-02 11:24:53] local.INFO: Processing buffer {"connection_id":146760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03d1b50012cb49580077550e0002f012c2b..."} 
[2026-08-02 11:24:53] local.INFO: Packet analysis {"connection_id":146760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03d"} 
[2026-08-02 11:24:53] local.INFO: Extracted packet for processing {"connection_id":146760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03d"} 
[2026-08-02 11:24:53] local.INFO: GPS Element Parsed {"raw_longitude":750032256,"raw_latitude":125128928,"longitude_deg":75.0032256,"latitude_deg":12.5128928,"altitude":47,"angle":300,"satellites":43,"speed":52,"hex_longitude":"2cb49580","hex_latitude":"077550e0","is_valid_coordinates":true} 
[2026-08-02 11:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122983424001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367142785238695936,"note":"Value kept but may cause issues"} 
[2026-08-02 11:24:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5428807843785953280,"note":"Value kept but may cause issues"} 
[2026-08-02 11:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785636658000,"timestamp_ms":1785636658000,"timestamp_seconds":1785636658,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03d1b50"} 
[2026-08-02 11:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 11:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122983424001,"66":27876,"100":206,"27":54016,"24":52,"16":367142785238695936,"44":-5428807843785953280},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-08-02 11:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122983424001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:24:53] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-02 11:24:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367142785238695936,"km_value":367142785238695.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:24:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5428807843785953280,"description":"Unknown IO ID 44"} 
[2026-08-02 11:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122983424001,"power":27876,"unknown_100":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-5428807843785953280}} 
[2026-08-02 11:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":146760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:24:53] local.INFO: GPS data processed {"connection_id":146760,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:24:53] local.INFO: Acknowledgment sent {"connection_id":146760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:25:25] local.INFO: TCP Data received {"connection_id":147781,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:25:25] local.INFO: Processing buffer {"connection_id":147781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:25:25] local.INFO: IMEI packet received {"connection_id":147781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":147781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:25:30] local.INFO: TCP Data received {"connection_id":147781,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:25:30] local.INFO: Processing buffer {"connection_id":147781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:25:30] local.INFO: IMEI packet received {"connection_id":147781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":147781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:25:41] local.INFO: TCP Data received {"connection_id":147781,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03c4860012cb588800775c760003e00ea27..."} 
[2026-08-02 11:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03c4860012cb588800775c760003e00ea27..."} 
[2026-08-02 11:25:41] local.INFO: Processing buffer {"connection_id":147781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03c4860012cb588800775c760003e00ea27..."} 
[2026-08-02 11:25:41] local.INFO: Packet analysis {"connection_id":147781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03c"} 
[2026-08-02 11:25:41] local.INFO: Extracted packet for processing {"connection_id":147781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03c"} 
[2026-08-02 11:25:41] local.INFO: GPS Element Parsed {"raw_longitude":750094464,"raw_latitude":125159264,"longitude_deg":75.0094464,"latitude_deg":12.5159264,"altitude":62,"angle":234,"satellites":39,"speed":52,"hex_longitude":"2cb58880","hex_latitude":"0775c760","is_valid_coordinates":true} 
[2026-08-02 11:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122968832001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367139302020218880,"note":"Value kept but may cause issues"} 
[2026-08-02 11:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5357453937180123136,"note":"Value kept but may cause issues"} 
[2026-08-02 11:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785636604000,"timestamp_ms":1785636604000,"timestamp_seconds":1785636604,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03c4860"} 
[2026-08-02 11:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":70,"data_length":795,"current_offset":136} 
[2026-08-02 11:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122968832001,"66":27995,"40":206,"27":54016,"24":52,"16":367139302020218880,"44":-5357453937180123136},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,27,24,16,44]} 
[2026-08-02 11:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122968832001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:25:41] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-02 11:25:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367139302020218880,"km_value":367139302020218.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5357453937180123136,"description":"Unknown IO ID 44"} 
[2026-08-02 11:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122968832001,"power":27995,"unknown_40":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-5357453937180123136}} 
[2026-08-02 11:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":147781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:25:41] local.INFO: GPS data processed {"connection_id":147781,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:25:41] local.INFO: Acknowledgment sent {"connection_id":147781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:26:27] local.INFO: TCP Data received {"connection_id":146544,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:26:27] local.INFO: Processing buffer {"connection_id":146544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:26:27] local.INFO: IMEI packet received {"connection_id":146544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":146544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:26:29] local.INFO: TCP Data received {"connection_id":146544,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:26:29] local.INFO: Processing buffer {"connection_id":146544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:26:29] local.INFO: IMEI packet received {"connection_id":146544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":146544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:26:36] local.INFO: TCP Data received {"connection_id":146544,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03b36f0012cb6e78007760038004101172d..."} 
[2026-08-02 11:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03b36f0012cb6e78007760038004101172d..."} 
[2026-08-02 11:26:36] local.INFO: Processing buffer {"connection_id":146544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03b36f0012cb6e78007760038004101172d..."} 
[2026-08-02 11:26:36] local.INFO: Packet analysis {"connection_id":146544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03b"} 
[2026-08-02 11:26:36] local.INFO: Extracted packet for processing {"connection_id":146544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03b"} 
[2026-08-02 11:26:36] local.INFO: GPS Element Parsed {"raw_longitude":750184320,"raw_latitude":125173816,"longitude_deg":75.018432,"latitude_deg":12.5173816,"altitude":65,"angle":279,"satellites":45,"speed":51,"hex_longitude":"2cb6e780","hex_latitude":"07760038","is_valid_coordinates":true} 
[2026-08-02 11:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122950912001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367134835254231040,"note":"Value kept but may cause issues"} 
[2026-08-02 11:26:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5257248845469200384,"note":"Value kept but may cause issues"} 
[2026-08-02 11:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785636534000,"timestamp_ms":1785636534000,"timestamp_seconds":1785636534,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03b36f0"} 
[2026-08-02 11:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11: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-08-02 11:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 11: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-08-02 11:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122950912001,"66":27821,"202":206,"27":54016,"24":51,"16":367134835254231040,"44":-5257248845469200384},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,27,24,16,44]} 
[2026-08-02 11:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122950912001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:26:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367134835254231040,"km_value":367134835254231.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:26:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5257248845469200384,"description":"Unknown IO ID 44"} 
[2026-08-02 11:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122950912001,"power":27821,"mcc":206,"unknown_27":54016,"ignition":51,"odometer":null,"unknown_44":-5257248845469200384}} 
[2026-08-02 11:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":146544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:26:36] local.INFO: GPS data processed {"connection_id":146544,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:26:36] local.INFO: Acknowledgment sent {"connection_id":146544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:27:09] local.INFO: TCP Data received {"connection_id":146544,"ip":"117.224.14.1","data_length":483,"data_hex":"00000000000001d78e060000019fc03b36f0012cb6e78007760038004101172d..."} 
[2026-08-02 11:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146544,"packet_length":483,"packet_hex":"00000000000001d78e060000019fc03b36f0012cb6e78007760038004101172d..."} 
[2026-08-02 11:27:09] local.INFO: Processing buffer {"connection_id":146544,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019fc03b36f0012cb6e78007760038004101172d..."} 
[2026-08-02 11:27:09] local.INFO: Packet analysis {"connection_id":146544,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019fc03b"} 
[2026-08-02 11:27:09] local.INFO: Extracted packet for processing {"connection_id":146544,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019fc03b"} 
[2026-08-02 11:27:09] local.INFO: GPS Element Parsed {"raw_longitude":750184320,"raw_latitude":125173816,"longitude_deg":75.018432,"latitude_deg":12.5173816,"altitude":65,"angle":279,"satellites":45,"speed":51,"hex_longitude":"2cb6e780","hex_latitude":"07760038","is_valid_coordinates":true} 
[2026-08-02 11: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":483,"current_offset":40} 
[2026-08-02 11:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122950912001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367134835254231040,"note":"Value kept but may cause issues"} 
[2026-08-02 11:27:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5257248845469200384,"note":"Value kept but may cause issues"} 
[2026-08-02 11:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785636534000,"timestamp_ms":1785636534000,"timestamp_seconds":1785636534,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03b36f0"} 
[2026-08-02 11:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":109,"n8_eight_byte":4,"data_length":483,"current_offset":136} 
[2026-08-02 11:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:27:09] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146544,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-02 11:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122950912001,"66":27821,"202":206,"27":54016,"24":51,"16":367134835254231040,"44":-5257248845469200384},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,27,24,16,44]} 
[2026-08-02 11:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122950912001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:27:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367134835254231040,"km_value":367134835254231.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:27:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5257248845469200384,"description":"Unknown IO ID 44"} 
[2026-08-02 11:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122950912001,"power":27821,"mcc":206,"unknown_27":54016,"ignition":51,"odometer":null,"unknown_44":-5257248845469200384}} 
[2026-08-02 11:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":146544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:27:09] local.INFO: GPS data processed {"connection_id":146544,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:27:09] local.INFO: Acknowledgment sent {"connection_id":146544,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:27:24] local.INFO: TCP Data received {"connection_id":146761,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:27:24] local.INFO: Processing buffer {"connection_id":146761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:27:24] local.INFO: IMEI packet received {"connection_id":146761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":146761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:27:31] local.INFO: TCP Data received {"connection_id":146761,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:27:31] local.INFO: Processing buffer {"connection_id":146761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:27:31] local.INFO: IMEI packet received {"connection_id":146761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":146761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:27:35] local.INFO: TCP Data received {"connection_id":146761,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03a3cf0012cb80cc0077570100039012f2d..."} 
[2026-08-02 11:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03a3cf0012cb80cc0077570100039012f2d..."} 
[2026-08-02 11:27:35] local.INFO: Processing buffer {"connection_id":146761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03a3cf0012cb80cc0077570100039012f2d..."} 
[2026-08-02 11:27:35] local.INFO: Packet analysis {"connection_id":146761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc03a"} 
[2026-08-02 11:27:35] local.INFO: Extracted packet for processing {"connection_id":146761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc03a"} 
[2026-08-02 11:27:35] local.INFO: GPS Element Parsed {"raw_longitude":750259392,"raw_latitude":125136912,"longitude_deg":75.0259392,"latitude_deg":12.5136912,"altitude":57,"angle":303,"satellites":45,"speed":55,"hex_longitude":"2cb80cc0","hex_latitude":"07757010","is_valid_coordinates":true} 
[2026-08-02 11:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122934528001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367130823754776576,"note":"Value kept but may cause issues"} 
[2026-08-02 11:27:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5175128521024327680,"note":"Value kept but may cause issues"} 
[2026-08-02 11:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785636470000,"timestamp_ms":1785636470000,"timestamp_seconds":1785636470,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03a3cf0"} 
[2026-08-02 11:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11: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-08-02 11:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-02 11:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122934528001,"66":27865,"201":206,"27":54016,"24":55,"16":367130823754776576,"44":-5175128521024327680},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,27,24,16,44]} 
[2026-08-02 11:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122934528001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:27:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-02 11:27:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367130823754776576,"km_value":367130823754776.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:27:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5175128521024327680,"description":"Unknown IO ID 44"} 
[2026-08-02 11:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122934528001,"power":27865,"unknown_201":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-5175128521024327680}} 
[2026-08-02 11:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":146761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:27:35] local.INFO: GPS data processed {"connection_id":146761,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:27:35] local.INFO: Acknowledgment sent {"connection_id":146761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:28:07] local.INFO: TCP Data received {"connection_id":146761,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0394ea8012cb952400774fc30004c01212c..."} 
[2026-08-02 11:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0394ea8012cb952400774fc30004c01212c..."} 
[2026-08-02 11:28:07] local.INFO: Processing buffer {"connection_id":146761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0394ea8012cb952400774fc30004c01212c..."} 
[2026-08-02 11:28:07] local.INFO: Packet analysis {"connection_id":146761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc039"} 
[2026-08-02 11:28:07] local.INFO: Extracted packet for processing {"connection_id":146761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc039"} 
[2026-08-02 11:28:07] local.INFO: GPS Element Parsed {"raw_longitude":750342720,"raw_latitude":125107248,"longitude_deg":75.034272,"latitude_deg":12.5107248,"altitude":76,"angle":289,"satellites":44,"speed":50,"hex_longitude":"2cb95240","hex_latitude":"0774fc30","is_valid_coordinates":true} 
[2026-08-02 11:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122918656001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367126593211990016,"note":"Value kept but may cause issues"} 
[2026-08-02 11:28:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5082523253693356032,"note":"Value kept but may cause issues"} 
[2026-08-02 11:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785636409000,"timestamp_ms":1785636409000,"timestamp_seconds":1785636409,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0394ea8"} 
[2026-08-02 11:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":70,"data_length":795,"current_offset":136} 
[2026-08-02 11:28: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-08-02 11:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122918656001,"66":27908,"3":206,"27":54016,"24":50,"16":367126593211990016,"44":-5082523253693356032},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16,44]} 
[2026-08-02 11:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122918656001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:28:07] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-02 11:28:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367126593211990016,"km_value":367126593211990.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:28:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5082523253693356032,"description":"Unknown IO ID 44"} 
[2026-08-02 11:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122918656001,"power":27908,"unknown_3":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-5082523253693356032}} 
[2026-08-02 11:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":146761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:28:07] local.INFO: GPS data processed {"connection_id":146761,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:28:07] local.INFO: Acknowledgment sent {"connection_id":146761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:28:24] local.INFO: TCP Data received {"connection_id":147782,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:28:24] local.INFO: Processing buffer {"connection_id":147782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:28:24] local.INFO: IMEI packet received {"connection_id":147782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":147782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:28:30] local.INFO: TCP Data received {"connection_id":147782,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:28:30] local.INFO: Processing buffer {"connection_id":147782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:28:30] local.INFO: IMEI packet received {"connection_id":147782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":147782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:28:34] local.INFO: TCP Data received {"connection_id":147782,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc10ce2b8012cc330c007685958005800c528..."} 
[2026-08-02 11:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc10ce2b8012cc330c007685958005800c528..."} 
[2026-08-02 11:28:34] local.INFO: Processing buffer {"connection_id":147782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc10ce2b8012cc330c007685958005800c528..."} 
[2026-08-02 11:28:34] local.INFO: Packet analysis {"connection_id":147782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc10c"} 
[2026-08-02 11:28:34] local.INFO: Extracted packet for processing {"connection_id":147782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc10c"} 
[2026-08-02 11:28:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122901760001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 11:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4989566142636177408,"note":"Value kept but may cause issues"} 
[2026-08-02 11:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785650275000,"timestamp_ms":1785650275000,"timestamp_seconds":1785650275,"priority":1,"record_length":96,"hex_timestamp":"0000019fc10ce2b8"} 
[2026-08-02 11:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 11:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122901760001,"66":25680,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4989566142636177408},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 11:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122901760001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:28:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 11:28:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:28:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4989566142636177408,"description":"Unknown IO ID 44"} 
[2026-08-02 11:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122901760001,"power":25680,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4989566142636177408}} 
[2026-08-02 11:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":147782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:28:34] local.INFO: GPS data processed {"connection_id":147782,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:28:34] local.INFO: Acknowledgment sent {"connection_id":147782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:29:06] local.INFO: TCP Data received {"connection_id":147782,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0373398012cbbef400774d470005201172c..."} 
[2026-08-02 11:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0373398012cbbef400774d470005201172c..."} 
[2026-08-02 11:29:06] local.INFO: Processing buffer {"connection_id":147782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0373398012cbbef400774d470005201172c..."} 
[2026-08-02 11:29:06] local.INFO: Packet analysis {"connection_id":147782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc037"} 
[2026-08-02 11:29:06] local.INFO: Extracted packet for processing {"connection_id":147782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc037"} 
[2026-08-02 11:29:06] local.INFO: GPS Element Parsed {"raw_longitude":750513984,"raw_latitude":125097072,"longitude_deg":75.0513984,"latitude_deg":12.5097072,"altitude":82,"angle":279,"satellites":44,"speed":42,"hex_longitude":"2cbbef40","hex_latitude":"0774d470","is_valid_coordinates":true} 
[2026-08-02 11:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122882560001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367118437069094912,"note":"Value kept but may cause issues"} 
[2026-08-02 11:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4893864650555355136,"note":"Value kept but may cause issues"} 
[2026-08-02 11:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785636271000,"timestamp_ms":1785636271000,"timestamp_seconds":1785636271,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0373398"} 
[2026-08-02 11:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 11:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122882560001,"66":27865,"56":206,"27":54016,"24":42,"16":367118437069094912,"44":-4893864650555355136},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-08-02 11:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122882560001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:29:06] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-02 11:29:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367118437069094912,"km_value":367118437069094.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4893864650555355136,"description":"Unknown IO ID 44"} 
[2026-08-02 11:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122882560001,"power":27865,"unknown_56":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-4893864650555355136}} 
[2026-08-02 11:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":147782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:29:06] local.INFO: GPS data processed {"connection_id":147782,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:29:06] local.INFO: Acknowledgment sent {"connection_id":147782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:29:24] local.INFO: TCP Data received {"connection_id":146762,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:29:24] local.INFO: Processing buffer {"connection_id":146762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:29:24] local.INFO: IMEI packet received {"connection_id":146762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":146762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:29:31] local.INFO: TCP Data received {"connection_id":146762,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:29:31] local.INFO: Processing buffer {"connection_id":146762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:29:31] local.INFO: IMEI packet received {"connection_id":146762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":146762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:29:35] local.INFO: TCP Data received {"connection_id":146762,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03687b8012cbc6dc00774a5b00053015e2f..."} 
[2026-08-02 11:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03687b8012cbc6dc00774a5b00053015e2f..."} 
[2026-08-02 11:29:35] local.INFO: Processing buffer {"connection_id":146762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03687b8012cbc6dc00774a5b00053015e2f..."} 
[2026-08-02 11:29:35] local.INFO: Packet analysis {"connection_id":146762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc036"} 
[2026-08-02 11:29:35] local.INFO: Extracted packet for processing {"connection_id":146762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc036"} 
[2026-08-02 11:29:35] local.INFO: GPS Element Parsed {"raw_longitude":750546368,"raw_latitude":125085104,"longitude_deg":75.0546368,"latitude_deg":12.5085104,"altitude":83,"angle":350,"satellites":47,"speed":34,"hex_longitude":"2cbc6dc0","hex_latitude":"0774a5b0","is_valid_coordinates":true} 
[2026-08-02 11:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122873088001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367116680427470848,"note":"Value kept but may cause issues"} 
[2026-08-02 11:29:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4868883746375837696,"note":"Value kept but may cause issues"} 
[2026-08-02 11:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785636227000,"timestamp_ms":1785636227000,"timestamp_seconds":1785636227,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03687b8"} 
[2026-08-02 11:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11: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-08-02 11:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 11:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122873088001,"66":27593,"55":206,"27":54016,"24":34,"16":367116680427470848,"44":-4868883746375837696},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-08-02 11:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122873088001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:29:35] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-02 11:29:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367116680427470848,"km_value":367116680427470.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:29:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4868883746375837696,"description":"Unknown IO ID 44"} 
[2026-08-02 11:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122873088001,"power":27593,"unknown_55":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-4868883746375837696}} 
[2026-08-02 11:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":146762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:29:35] local.INFO: GPS data processed {"connection_id":146762,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:29:35] local.INFO: Acknowledgment sent {"connection_id":146762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:30:07] local.INFO: TCP Data received {"connection_id":146762,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc035a910012cbc188007741438004a00012c..."} 
[2026-08-02 11:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc035a910012cbc188007741438004a00012c..."} 
[2026-08-02 11:30:07] local.INFO: Processing buffer {"connection_id":146762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc035a910012cbc188007741438004a00012c..."} 
[2026-08-02 11:30:07] local.INFO: Packet analysis {"connection_id":146762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc035"} 
[2026-08-02 11:30:07] local.INFO: Extracted packet for processing {"connection_id":146762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc035"} 
[2026-08-02 11:30:07] local.INFO: GPS Element Parsed {"raw_longitude":750524544,"raw_latitude":125047864,"longitude_deg":75.0524544,"latitude_deg":12.5047864,"altitude":74,"angle":1,"satellites":44,"speed":33,"hex_longitude":"2cbc1880","hex_latitude":"07741438","is_valid_coordinates":true} 
[2026-08-02 11:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122859008001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367114481404215296,"note":"Value kept but may cause issues"} 
[2026-08-02 11:30:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4892738750661160960,"note":"Value kept but may cause issues"} 
[2026-08-02 11:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785636170000,"timestamp_ms":1785636170000,"timestamp_seconds":1785636170,"priority":1,"record_length":96,"hex_timestamp":"0000019fc035a910"} 
[2026-08-02 11:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 11:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122859008001,"66":27800,"55":206,"27":54016,"24":33,"16":367114481404215296,"44":-4892738750661160960},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-08-02 11:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122859008001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:30:07] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-02 11:30:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367114481404215296,"km_value":367114481404215.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:30:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4892738750661160960,"description":"Unknown IO ID 44"} 
[2026-08-02 11:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122859008001,"power":27800,"unknown_55":206,"unknown_27":54016,"ignition":33,"odometer":null,"unknown_44":-4892738750661160960}} 
[2026-08-02 11:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":146762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:30:07] local.INFO: GPS data processed {"connection_id":146762,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:30:07] local.INFO: Acknowledgment sent {"connection_id":146762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:30:34] local.INFO: TCP Data received {"connection_id":146545,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:30:34] local.INFO: Processing buffer {"connection_id":146545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:30:34] local.INFO: IMEI packet received {"connection_id":146545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":146545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:30:44] local.INFO: TCP Data received {"connection_id":146545,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:30:44] local.INFO: Processing buffer {"connection_id":146545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:30:44] local.INFO: IMEI packet received {"connection_id":146545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":146545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:30:45] local.INFO: TCP Data received {"connection_id":146545,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc034fd30012cbc77800773b5b8004c00072d..."} 
[2026-08-02 11:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc034fd30012cbc77800773b5b8004c00072d..."} 
[2026-08-02 11:30:45] local.INFO: Processing buffer {"connection_id":146545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc034fd30012cbc77800773b5b8004c00072d..."} 
[2026-08-02 11:30:45] local.INFO: Packet analysis {"connection_id":146545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc034"} 
[2026-08-02 11:30:45] local.INFO: Extracted packet for processing {"connection_id":146545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc034"} 
[2026-08-02 11:30:45] local.INFO: GPS Element Parsed {"raw_longitude":750548864,"raw_latitude":125023672,"longitude_deg":75.0548864,"latitude_deg":12.5023672,"altitude":76,"angle":7,"satellites":45,"speed":22,"hex_longitude":"2cbc7780","hex_latitude":"0773b5b8","is_valid_coordinates":true} 
[2026-08-02 11:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122846976001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367112703287754752,"note":"Value kept but may cause issues"} 
[2026-08-02 11:30:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4866983790298642432,"note":"Value kept but may cause issues"} 
[2026-08-02 11:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785636126000,"timestamp_ms":1785636126000,"timestamp_seconds":1785636126,"priority":1,"record_length":96,"hex_timestamp":"0000019fc034fd30"} 
[2026-08-02 11:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":217,"data_length":795,"current_offset":136} 
[2026-08-02 11:30: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-08-02 11:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122846976001,"66":27800,"55":206,"27":54016,"24":22,"16":367112703287754752,"44":-4866983790298642432},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-08-02 11:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122846976001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:30:45] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-02 11:30:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367112703287754752,"km_value":367112703287754.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:30:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4866983790298642432,"description":"Unknown IO ID 44"} 
[2026-08-02 11:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122846976001,"power":27800,"unknown_55":206,"unknown_27":54016,"ignition":22,"odometer":null,"unknown_44":-4866983790298642432}} 
[2026-08-02 11:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":146545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:30:45] local.INFO: GPS data processed {"connection_id":146545,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:30:45] local.INFO: Acknowledgment sent {"connection_id":146545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:31:24] local.INFO: TCP Data received {"connection_id":146546,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:31:24] local.INFO: Processing buffer {"connection_id":146546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:31:24] local.INFO: IMEI packet received {"connection_id":146546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":146546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:31:29] local.INFO: TCP Data received {"connection_id":146546,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:31:29] local.INFO: Processing buffer {"connection_id":146546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:31:29] local.INFO: IMEI packet received {"connection_id":146546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":146546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:31:35] local.INFO: TCP Data received {"connection_id":146546,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc033f778012cbc2600077357a00032003630..."} 
[2026-08-02 11:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc033f778012cbc2600077357a00032003630..."} 
[2026-08-02 11:31:35] local.INFO: Processing buffer {"connection_id":146546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc033f778012cbc2600077357a00032003630..."} 
[2026-08-02 11:31:35] local.INFO: Packet analysis {"connection_id":146546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc033"} 
[2026-08-02 11:31:35] local.INFO: Extracted packet for processing {"connection_id":146546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc033"} 
[2026-08-02 11:31:35] local.INFO: GPS Element Parsed {"raw_longitude":750528000,"raw_latitude":124999584,"longitude_deg":75.0528,"latitude_deg":12.4999584,"altitude":50,"angle":54,"satellites":48,"speed":30,"hex_longitude":"2cbc2600","hex_latitude":"077357a0","is_valid_coordinates":true} 
[2026-08-02 11:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122830592001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367111045430378496,"note":"Value kept but may cause issues"} 
[2026-08-02 11:31:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4890346213371334656,"note":"Value kept but may cause issues"} 
[2026-08-02 11:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785636059000,"timestamp_ms":1785636059000,"timestamp_seconds":1785636059,"priority":1,"record_length":96,"hex_timestamp":"0000019fc033f778"} 
[2026-08-02 11:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-02 11:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122830592001,"66":27658,"104":206,"27":54016,"24":30,"16":367111045430378496,"44":-4890346213371334656},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-08-02 11:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122830592001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:31:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 11:31:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367111045430378496,"km_value":367111045430378.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:31:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4890346213371334656,"description":"Unknown IO ID 44"} 
[2026-08-02 11:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122830592001,"power":27658,"unknown_104":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-4890346213371334656}} 
[2026-08-02 11:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":146546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:31:35] local.INFO: GPS data processed {"connection_id":146546,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:31:35] local.INFO: Acknowledgment sent {"connection_id":146546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:32:07] local.INFO: TCP Data received {"connection_id":146546,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc033b128012cbc12c0077331880030006e2c..."} 
[2026-08-02 11:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc033b128012cbc12c0077331880030006e2c..."} 
[2026-08-02 11:32:07] local.INFO: Processing buffer {"connection_id":146546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc033b128012cbc12c0077331880030006e2c..."} 
[2026-08-02 11:32:07] local.INFO: Packet analysis {"connection_id":146546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc033"} 
[2026-08-02 11:32:07] local.INFO: Extracted packet for processing {"connection_id":146546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc033"} 
[2026-08-02 11:32:07] local.INFO: GPS Element Parsed {"raw_longitude":750523072,"raw_latitude":124989832,"longitude_deg":75.0523072,"latitude_deg":12.4989832,"altitude":48,"angle":110,"satellites":44,"speed":24,"hex_longitude":"2cbc12c0","hex_latitude":"07733188","is_valid_coordinates":true} 
[2026-08-02 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-08-02 11:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122825984001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367110435545022464,"note":"Value kept but may cause issues"} 
[2026-08-02 11:32:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4895834975419240448,"note":"Value kept but may cause issues"} 
[2026-08-02 11:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785636041000,"timestamp_ms":1785636041000,"timestamp_seconds":1785636041,"priority":1,"record_length":96,"hex_timestamp":"0000019fc033b128"} 
[2026-08-02 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-08-02 11:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-02 11:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 11:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122825984001,"66":27865,"104":206,"27":54016,"24":24,"16":367110435545022464,"44":-4895834975419240448},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-08-02 11:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122825984001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:32:07] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 11:32:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367110435545022464,"km_value":367110435545022.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:32:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4895834975419240448,"description":"Unknown IO ID 44"} 
[2026-08-02 11:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122825984001,"power":27865,"unknown_104":206,"unknown_27":54016,"ignition":24,"odometer":null,"unknown_44":-4895834975419240448}} 
[2026-08-02 11:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":146546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:32:07] local.INFO: GPS data processed {"connection_id":146546,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:32:07] local.INFO: Acknowledgment sent {"connection_id":146546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:32:30] local.INFO: TCP Data received {"connection_id":146763,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:32:30] local.INFO: Processing buffer {"connection_id":146763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:32:30] local.INFO: IMEI packet received {"connection_id":146763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":146763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:32:35] local.INFO: TCP Data received {"connection_id":146763,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:32:35] local.INFO: Processing buffer {"connection_id":146763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:32:35] local.INFO: IMEI packet received {"connection_id":146763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":146763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:32:36] local.INFO: TCP Data received {"connection_id":146763,"ip":"117.224.14.1","data_length":639,"data_hex":"00000000000002738e080000019fc033b128012cbc12c0077331880030006e2c..."} 
[2026-08-02 11:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146763,"packet_length":639,"packet_hex":"00000000000002738e080000019fc033b128012cbc12c0077331880030006e2c..."} 
[2026-08-02 11:32:36] local.INFO: Processing buffer {"connection_id":146763,"buffer_length":639,"buffer_hex":"00000000000002738e080000019fc033b128012cbc12c0077331880030006e2c..."} 
[2026-08-02 11:32:36] local.INFO: Packet analysis {"connection_id":146763,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019fc033"} 
[2026-08-02 11:32:36] local.INFO: Extracted packet for processing {"connection_id":146763,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019fc033"} 
[2026-08-02 11:32:36] local.INFO: GPS Element Parsed {"raw_longitude":750523072,"raw_latitude":124989832,"longitude_deg":75.0523072,"latitude_deg":12.4989832,"altitude":48,"angle":110,"satellites":44,"speed":24,"hex_longitude":"2cbc12c0","hex_latitude":"07733188","is_valid_coordinates":true} 
[2026-08-02 11: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":639,"current_offset":40} 
[2026-08-02 11:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122825984001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367110435545022464,"note":"Value kept but may cause issues"} 
[2026-08-02 11:32:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4895834975419240448,"note":"Value kept but may cause issues"} 
[2026-08-02 11:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785636041000,"timestamp_ms":1785636041000,"timestamp_seconds":1785636041,"priority":1,"record_length":96,"hex_timestamp":"0000019fc033b128"} 
[2026-08-02 11:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":639,"current_offset":136} 
[2026-08-02 11:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:32:36] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146763,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-02 11:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122825984001,"66":27865,"104":206,"27":54016,"24":24,"16":367110435545022464,"44":-4895834975419240448},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-08-02 11:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122825984001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:32:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 11:32:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367110435545022464,"km_value":367110435545022.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:32:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4895834975419240448,"description":"Unknown IO ID 44"} 
[2026-08-02 11:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122825984001,"power":27865,"unknown_104":206,"unknown_27":54016,"ignition":24,"odometer":null,"unknown_44":-4895834975419240448}} 
[2026-08-02 11:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":146763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:32:36] local.INFO: GPS data processed {"connection_id":146763,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:32:36] local.INFO: Acknowledgment sent {"connection_id":146763,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:32:46] local.INFO: TCP Data received {"connection_id":146763,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0333810012cbbe8c007734368002700262d..."} 
[2026-08-02 11:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0333810012cbbe8c007734368002700262d..."} 
[2026-08-02 11:32:46] local.INFO: Processing buffer {"connection_id":146763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0333810012cbbe8c007734368002700262d..."} 
[2026-08-02 11:32:46] local.INFO: Packet analysis {"connection_id":146763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc033"} 
[2026-08-02 11:32:46] local.INFO: Extracted packet for processing {"connection_id":146763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc033"} 
[2026-08-02 11:32:46] local.INFO: GPS Element Parsed {"raw_longitude":750512320,"raw_latitude":124994408,"longitude_deg":75.051232,"latitude_deg":12.4994408,"altitude":39,"angle":38,"satellites":45,"speed":18,"hex_longitude":"2cbbe8c0","hex_latitude":"07734368","is_valid_coordinates":true} 
[2026-08-02 11:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122816000001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367109744055287808,"note":"Value kept but may cause issues"} 
[2026-08-02 11:32:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4908782824347938816,"note":"Value kept but may cause issues"} 
[2026-08-02 11:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785636010000,"timestamp_ms":1785636010000,"timestamp_seconds":1785636010,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0333810"} 
[2026-08-02 11:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 11:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122816000001,"66":27865,"104":206,"27":54016,"24":18,"16":367109744055287808,"44":-4908782824347938816},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-08-02 11:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122816000001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:32:46] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 11:32:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367109744055287808,"km_value":367109744055287.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:32:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4908782824347938816,"description":"Unknown IO ID 44"} 
[2026-08-02 11:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122816000001,"power":27865,"unknown_104":206,"unknown_27":54016,"ignition":18,"odometer":null,"unknown_44":-4908782824347938816}} 
[2026-08-02 11:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":146763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:32:46] local.INFO: GPS data processed {"connection_id":146763,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:32:46] local.INFO: Acknowledgment sent {"connection_id":146763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:33:24] local.INFO: TCP Data received {"connection_id":149096,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:33:24] local.INFO: Processing buffer {"connection_id":149096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:33:24] local.INFO: IMEI packet received {"connection_id":149096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":149096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:33:29] local.INFO: TCP Data received {"connection_id":149096,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:33:29] local.INFO: Processing buffer {"connection_id":149096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:33:29] local.INFO: IMEI packet received {"connection_id":149096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":149096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:33:35] local.INFO: TCP Data received {"connection_id":149096,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc03270d8012cbc0680077307e0001601012b..."} 
[2026-08-02 11:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc03270d8012cbc0680077307e0001601012b..."} 
[2026-08-02 11:33:35] local.INFO: Processing buffer {"connection_id":149096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc03270d8012cbc0680077307e0001601012b..."} 
[2026-08-02 11:33:35] local.INFO: Packet analysis {"connection_id":149096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc032"} 
[2026-08-02 11:33:35] local.INFO: Extracted packet for processing {"connection_id":149096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc032"} 
[2026-08-02 11:33:35] local.INFO: GPS Element Parsed {"raw_longitude":750519936,"raw_latitude":124979168,"longitude_deg":75.0519936,"latitude_deg":12.4979168,"altitude":22,"angle":257,"satellites":43,"speed":34,"hex_longitude":"2cbc0680","hex_latitude":"077307e0","is_valid_coordinates":true} 
[2026-08-02 11:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122803968001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367108382550654976,"note":"Value kept but may cause issues"} 
[2026-08-02 11:33:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4892175800724690944,"note":"Value kept but may cause issues"} 
[2026-08-02 11:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785635959000,"timestamp_ms":1785635959000,"timestamp_seconds":1785635959,"priority":1,"record_length":96,"hex_timestamp":"0000019fc03270d8"} 
[2026-08-02 11:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 11:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122803968001,"66":27767,"104":206,"27":54016,"24":34,"16":367108382550654976,"44":-4892175800724690944},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-08-02 11:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122803968001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:33:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 11:33:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367108382550654976,"km_value":367108382550655.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:33:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4892175800724690944,"description":"Unknown IO ID 44"} 
[2026-08-02 11:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122803968001,"power":27767,"unknown_104":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-4892175800724690944}} 
[2026-08-02 11:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":149096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:33:35] local.INFO: GPS data processed {"connection_id":149096,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:33:35] local.INFO: Acknowledgment sent {"connection_id":149096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:34:06] local.INFO: TCP Data received {"connection_id":149096,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc1117a80012cc330c007685958005800c527..."} 
[2026-08-02 11:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149096,"packet_length":93,"packet_hex":"00000000000000518e010000019fc1117a80012cc330c007685958005800c527..."} 
[2026-08-02 11:34:06] local.INFO: Processing buffer {"connection_id":149096,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc1117a80012cc330c007685958005800c527..."} 
[2026-08-02 11:34:06] local.INFO: Packet analysis {"connection_id":149096,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc111"} 
[2026-08-02 11:34:06] local.INFO: Extracted packet for processing {"connection_id":149096,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc111"} 
[2026-08-02 11:34:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11: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":93,"current_offset":40} 
[2026-08-02 11:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:34:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:34:06] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 11:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149096,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 11:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149096,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149096,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 11:34:06] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 11:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":149096,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 11:34:06] local.ERROR: GPS data processing failed {"connection_id":149096,"error":"No valid data to process"} 
[2026-08-02 11:34:06] local.INFO: Acknowledgment sent {"connection_id":149096,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 11:34:24] local.INFO: TCP Data received {"connection_id":146764,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:34:24] local.INFO: Processing buffer {"connection_id":146764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:34:24] local.INFO: IMEI packet received {"connection_id":146764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":146764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:34:29] local.INFO: TCP Data received {"connection_id":146764,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:34:29] local.INFO: Processing buffer {"connection_id":146764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:34:29] local.INFO: IMEI packet received {"connection_id":146764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":146764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:34:35] local.INFO: TCP Data received {"connection_id":146764,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0315798012cbcbf000772b278000a01572e..."} 
[2026-08-02 11:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0315798012cbcbf000772b278000a01572e..."} 
[2026-08-02 11:34:35] local.INFO: Processing buffer {"connection_id":146764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0315798012cbcbf000772b278000a01572e..."} 
[2026-08-02 11:34:35] local.INFO: Packet analysis {"connection_id":146764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc031"} 
[2026-08-02 11:34:35] local.INFO: Extracted packet for processing {"connection_id":146764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc031"} 
[2026-08-02 11:34:35] local.INFO: GPS Element Parsed {"raw_longitude":750567168,"raw_latitude":124957304,"longitude_deg":75.0567168,"latitude_deg":12.4957304,"altitude":10,"angle":343,"satellites":46,"speed":17,"hex_longitude":"2cbcbf00","hex_latitude":"0772b278","is_valid_coordinates":true} 
[2026-08-02 11: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-08-02 11:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122784512001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367105625181650944,"note":"Value kept but may cause issues"} 
[2026-08-02 11:34:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4845662060830197760,"note":"Value kept but may cause issues"} 
[2026-08-02 11:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785635887000,"timestamp_ms":1785635887000,"timestamp_seconds":1785635887,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0315798"} 
[2026-08-02 11:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 11:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11: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-08-02 11:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122784512001,"66":27843,"104":206,"27":54016,"24":17,"16":367105625181650944,"44":-4845662060830197760},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-08-02 11:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122784512001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:34:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-02 11:34:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367105625181650944,"km_value":367105625181650.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:34:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4845662060830197760,"description":"Unknown IO ID 44"} 
[2026-08-02 11:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122784512001,"power":27843,"unknown_104":206,"unknown_27":54016,"ignition":17,"odometer":null,"unknown_44":-4845662060830197760}} 
[2026-08-02 11:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":146764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:34:35] local.INFO: GPS data processed {"connection_id":146764,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:34:35] local.INFO: Acknowledgment sent {"connection_id":146764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:35:07] local.INFO: TCP Data received {"connection_id":146764,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02fe480012cbc7f400771ecb8000d003830..."} 
[2026-08-02 11:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02fe480012cbc7f400771ecb8000d003830..."} 
[2026-08-02 11:35:07] local.INFO: Processing buffer {"connection_id":146764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02fe480012cbc7f400771ecb8000d003830..."} 
[2026-08-02 11:35:07] local.INFO: Packet analysis {"connection_id":146764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02f"} 
[2026-08-02 11:35:07] local.INFO: Extracted packet for processing {"connection_id":146764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02f"} 
[2026-08-02 11:35:07] local.INFO: GPS Element Parsed {"raw_longitude":750550848,"raw_latitude":124906680,"longitude_deg":75.0550848,"latitude_deg":12.490668,"altitude":13,"angle":56,"satellites":48,"speed":41,"hex_longitude":"2cbc7f40","hex_latitude":"0771ecb8","is_valid_coordinates":true} 
[2026-08-02 11:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122761984001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367102910762319872,"note":"Value kept but may cause issues"} 
[2026-08-02 11:35:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4866702315351607296,"note":"Value kept but may cause issues"} 
[2026-08-02 11:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785635792000,"timestamp_ms":1785635792000,"timestamp_seconds":1785635792,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02fe480"} 
[2026-08-02 11:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11: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-08-02 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-02 11:35: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-08-02 11:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122761984001,"66":27908,"105":206,"27":54016,"24":41,"16":367102910762319872,"44":-4866702315351607296},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 11:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122761984001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:35:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 11:35:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367102910762319872,"km_value":367102910762319.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:35:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4866702315351607296,"description":"Unknown IO ID 44"} 
[2026-08-02 11:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122761984001,"power":27908,"unknown_105":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-4866702315351607296}} 
[2026-08-02 11:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":146764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:35:07] local.INFO: GPS data processed {"connection_id":146764,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:35:07] local.INFO: Acknowledgment sent {"connection_id":146764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:35:24] local.INFO: TCP Data received {"connection_id":147783,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:35:24] local.INFO: Processing buffer {"connection_id":147783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:35:24] local.INFO: IMEI packet received {"connection_id":147783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":147783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:35:30] local.INFO: TCP Data received {"connection_id":147783,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:35:30] local.INFO: Processing buffer {"connection_id":147783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:35:30] local.INFO: IMEI packet received {"connection_id":147783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":147783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:35:36] local.INFO: TCP Data received {"connection_id":147783,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02f8aa8012cbc8d000771ab600019010f2b..."} 
[2026-08-02 11:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02f8aa8012cbc8d000771ab600019010f2b..."} 
[2026-08-02 11:35:36] local.INFO: Processing buffer {"connection_id":147783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02f8aa8012cbc8d000771ab600019010f2b..."} 
[2026-08-02 11:35:36] local.INFO: Packet analysis {"connection_id":147783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02f"} 
[2026-08-02 11:35:36] local.INFO: Extracted packet for processing {"connection_id":147783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02f"} 
[2026-08-02 11:35:36] local.INFO: GPS Element Parsed {"raw_longitude":750554368,"raw_latitude":124889952,"longitude_deg":75.0554368,"latitude_deg":12.4889952,"altitude":25,"angle":271,"satellites":43,"speed":39,"hex_longitude":"2cbc8d00","hex_latitude":"0771ab60","is_valid_coordinates":true} 
[2026-08-02 11:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122755328001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367101806955724800,"note":"Value kept but may cause issues"} 
[2026-08-02 11:35:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4853684097682186240,"note":"Value kept but may cause issues"} 
[2026-08-02 11:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785635769000,"timestamp_ms":1785635769000,"timestamp_seconds":1785635769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02f8aa8"} 
[2026-08-02 11:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 11:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122755328001,"66":27800,"105":206,"27":54016,"24":39,"16":367101806955724800,"44":-4853684097682186240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 11:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122755328001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:35:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 11:35:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367101806955724800,"km_value":367101806955724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:35:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4853684097682186240,"description":"Unknown IO ID 44"} 
[2026-08-02 11:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122755328001,"power":27800,"unknown_105":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-4853684097682186240}} 
[2026-08-02 11:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":147783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:35:36] local.INFO: GPS data processed {"connection_id":147783,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:35:36] local.INFO: Acknowledgment sent {"connection_id":147783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:36:07] local.INFO: TCP Data received {"connection_id":147783,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc02f8aa8012cbc8d000771ab600019010f2b..."} 
[2026-08-02 11:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147783,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc02f8aa8012cbc8d000771ab600019010f2b..."} 
[2026-08-02 11:36:07] local.INFO: Processing buffer {"connection_id":147783,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc02f8aa8012cbc8d000771ab600019010f2b..."} 
[2026-08-02 11:36:07] local.INFO: Packet analysis {"connection_id":147783,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc02f"} 
[2026-08-02 11:36:07] local.INFO: Extracted packet for processing {"connection_id":147783,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc02f"} 
[2026-08-02 11:36:07] local.INFO: GPS Element Parsed {"raw_longitude":750554368,"raw_latitude":124889952,"longitude_deg":75.0554368,"latitude_deg":12.4889952,"altitude":25,"angle":271,"satellites":43,"speed":39,"hex_longitude":"2cbc8d00","hex_latitude":"0771ab60","is_valid_coordinates":true} 
[2026-08-02 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":327,"current_offset":40} 
[2026-08-02 11:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122755328001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367101806955724800,"note":"Value kept but may cause issues"} 
[2026-08-02 11:36:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4853684097682186240,"note":"Value kept but may cause issues"} 
[2026-08-02 11:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785635769000,"timestamp_ms":1785635769000,"timestamp_seconds":1785635769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02f8aa8"} 
[2026-08-02 11:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11: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-08-02 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":108,"n8_eight_byte":228,"data_length":327,"current_offset":136} 
[2026-08-02 11:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:36:07] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147783,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 11:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122755328001,"66":27800,"105":206,"27":54016,"24":39,"16":367101806955724800,"44":-4853684097682186240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 11:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122755328001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:36:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 11:36:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367101806955724800,"km_value":367101806955724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:36:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4853684097682186240,"description":"Unknown IO ID 44"} 
[2026-08-02 11:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122755328001,"power":27800,"unknown_105":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-4853684097682186240}} 
[2026-08-02 11:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":147783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:36:07] local.INFO: GPS data processed {"connection_id":147783,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:36:07] local.INFO: Acknowledgment sent {"connection_id":147783,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:36:29] local.INFO: TCP Data received {"connection_id":146547,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:36:29] local.INFO: Processing buffer {"connection_id":146547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:36:29] local.INFO: IMEI packet received {"connection_id":146547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":146547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:36:34] local.INFO: TCP Data received {"connection_id":146547,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:36:34] local.INFO: Processing buffer {"connection_id":146547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:36:34] local.INFO: IMEI packet received {"connection_id":146547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":146547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:36:40] local.INFO: TCP Data received {"connection_id":146547,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02edae0012cbd1180077155a8003a000b2c..."} 
[2026-08-02 11:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02edae0012cbd1180077155a8003a000b2c..."} 
[2026-08-02 11:36:40] local.INFO: Processing buffer {"connection_id":146547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02edae0012cbd1180077155a8003a000b2c..."} 
[2026-08-02 11:36:40] local.INFO: Packet analysis {"connection_id":146547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02e"} 
[2026-08-02 11:36:40] local.INFO: Extracted packet for processing {"connection_id":146547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02e"} 
[2026-08-02 11:36:40] local.INFO: GPS Element Parsed {"raw_longitude":750588288,"raw_latitude":124868008,"longitude_deg":75.0588288,"latitude_deg":12.4868008,"altitude":58,"angle":11,"satellites":44,"speed":26,"hex_longitude":"2cbd1180","hex_latitude":"077155a8","is_valid_coordinates":true} 
[2026-08-02 11:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122744832001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367099522033123328,"note":"Value kept but may cause issues"} 
[2026-08-02 11:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4823355168947912704,"note":"Value kept but may cause issues"} 
[2026-08-02 11:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785635724000,"timestamp_ms":1785635724000,"timestamp_seconds":1785635724,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02edae0"} 
[2026-08-02 11:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-02 11:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122744832001,"66":27713,"105":206,"27":54016,"24":26,"16":367099522033123328,"44":-4823355168947912704},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 11:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122744832001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:36:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 11:36:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367099522033123328,"km_value":367099522033123.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4823355168947912704,"description":"Unknown IO ID 44"} 
[2026-08-02 11:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122744832001,"power":27713,"unknown_105":206,"unknown_27":54016,"ignition":26,"odometer":null,"unknown_44":-4823355168947912704}} 
[2026-08-02 11:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":146547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:36:40] local.INFO: GPS data processed {"connection_id":146547,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:36:40] local.INFO: Acknowledgment sent {"connection_id":146547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:36:50] local.INFO: TCP Data received {"connection_id":146547,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02e6d80012cbce44007714f300041005c2d..."} 
[2026-08-02 11:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02e6d80012cbce44007714f300041005c2d..."} 
[2026-08-02 11:36:50] local.INFO: Processing buffer {"connection_id":146547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02e6d80012cbce44007714f300041005c2d..."} 
[2026-08-02 11:36:50] local.INFO: Packet analysis {"connection_id":146547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02e"} 
[2026-08-02 11:36:50] local.INFO: Extracted packet for processing {"connection_id":146547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02e"} 
[2026-08-02 11:36:50] local.INFO: GPS Element Parsed {"raw_longitude":750576704,"raw_latitude":124866352,"longitude_deg":75.0576704,"latitude_deg":12.4866352,"altitude":65,"angle":92,"satellites":45,"speed":27,"hex_longitude":"2cbce440","hex_latitude":"07714f30","is_valid_coordinates":true} 
[2026-08-02 11:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122737664001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367098834838355968,"note":"Value kept but may cause issues"} 
[2026-08-02 11:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4837358549039394816,"note":"Value kept but may cause issues"} 
[2026-08-02 11:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785635696000,"timestamp_ms":1785635696000,"timestamp_seconds":1785635696,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02e6d80"} 
[2026-08-02 11:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-02 11:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122737664001,"66":27832,"105":206,"27":54016,"24":27,"16":367098834838355968,"44":-4837358549039394816},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-08-02 11:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122737664001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:36:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 11:36:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367098834838355968,"km_value":367098834838355.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:36:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4837358549039394816,"description":"Unknown IO ID 44"} 
[2026-08-02 11:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122737664001,"power":27832,"unknown_105":206,"unknown_27":54016,"ignition":27,"odometer":null,"unknown_44":-4837358549039394816}} 
[2026-08-02 11:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":146547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:36:50] local.INFO: GPS data processed {"connection_id":146547,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:36:50] local.INFO: Acknowledgment sent {"connection_id":146547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:37:24] local.INFO: TCP Data received {"connection_id":149097,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:37:24] local.INFO: Processing buffer {"connection_id":149097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:37:24] local.INFO: IMEI packet received {"connection_id":149097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":149097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:37:29] local.INFO: TCP Data received {"connection_id":149097,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:37:29] local.INFO: Processing buffer {"connection_id":149097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:37:29] local.INFO: IMEI packet received {"connection_id":149097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":149097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:37:36] local.INFO: TCP Data received {"connection_id":149097,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02dbdb8012cbcdb0007709828005701542e..."} 
[2026-08-02 11:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02dbdb8012cbcdb0007709828005701542e..."} 
[2026-08-02 11:37:36] local.INFO: Processing buffer {"connection_id":149097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02dbdb8012cbcdb0007709828005701542e..."} 
[2026-08-02 11:37:36] local.INFO: Packet analysis {"connection_id":149097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02d"} 
[2026-08-02 11:37:36] local.INFO: Extracted packet for processing {"connection_id":149097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02d"} 
[2026-08-02 11:37:36] local.INFO: GPS Element Parsed {"raw_longitude":750574336,"raw_latitude":124819496,"longitude_deg":75.0574336,"latitude_deg":12.4819496,"altitude":87,"angle":340,"satellites":46,"speed":49,"hex_longitude":"2cbcdb00","hex_latitude":"07709828","is_valid_coordinates":true} 
[2026-08-02 11:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122724608001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367096348052291584,"note":"Value kept but may cause issues"} 
[2026-08-02 11:37:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835177117984092160,"note":"Value kept but may cause issues"} 
[2026-08-02 11:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785635651000,"timestamp_ms":1785635651000,"timestamp_seconds":1785635651,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02dbdb8"} 
[2026-08-02 11:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-02 11:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122724608001,"66":27800,"194":206,"27":54016,"24":49,"16":367096348052291584,"44":-4835177117984092160},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-08-02 11:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122724608001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:37:36] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-02 11:37:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367096348052291584,"km_value":367096348052291.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:37:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835177117984092160,"description":"Unknown IO ID 44"} 
[2026-08-02 11:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122724608001,"power":27800,"unknown_194":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4835177117984092160}} 
[2026-08-02 11:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":149097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:37:36] local.INFO: GPS data processed {"connection_id":149097,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:37:36] local.INFO: Acknowledgment sent {"connection_id":149097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:38:07] local.INFO: TCP Data received {"connection_id":149097,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc02dbdb8012cbcdb0007709828005701542e..."} 
[2026-08-02 11:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149097,"packet_length":405,"packet_hex":"00000000000001898e050000019fc02dbdb8012cbcdb0007709828005701542e..."} 
[2026-08-02 11:38:07] local.INFO: Processing buffer {"connection_id":149097,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc02dbdb8012cbcdb0007709828005701542e..."} 
[2026-08-02 11:38:07] local.INFO: Packet analysis {"connection_id":149097,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc02d"} 
[2026-08-02 11:38:07] local.INFO: Extracted packet for processing {"connection_id":149097,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc02d"} 
[2026-08-02 11:38:07] local.INFO: GPS Element Parsed {"raw_longitude":750574336,"raw_latitude":124819496,"longitude_deg":75.0574336,"latitude_deg":12.4819496,"altitude":87,"angle":340,"satellites":46,"speed":49,"hex_longitude":"2cbcdb00","hex_latitude":"07709828","is_valid_coordinates":true} 
[2026-08-02 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":405,"current_offset":40} 
[2026-08-02 11:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122724608001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367096348052291584,"note":"Value kept but may cause issues"} 
[2026-08-02 11:38:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835177117984092160,"note":"Value kept but may cause issues"} 
[2026-08-02 11:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785635651000,"timestamp_ms":1785635651000,"timestamp_seconds":1785635651,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02dbdb8"} 
[2026-08-02 11:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":109,"n8_eight_byte":91,"data_length":405,"current_offset":136} 
[2026-08-02 11:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:38:07] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149097,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 11:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122724608001,"66":27800,"194":206,"27":54016,"24":49,"16":367096348052291584,"44":-4835177117984092160},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-08-02 11:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122724608001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:38:07] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-02 11:38:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367096348052291584,"km_value":367096348052291.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:38:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835177117984092160,"description":"Unknown IO ID 44"} 
[2026-08-02 11:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122724608001,"power":27800,"unknown_194":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4835177117984092160}} 
[2026-08-02 11:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":149097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:38:07] local.INFO: GPS data processed {"connection_id":149097,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:38:07] local.INFO: Acknowledgment sent {"connection_id":149097,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:38:24] local.INFO: TCP Data received {"connection_id":146548,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:38:24] local.INFO: Processing buffer {"connection_id":146548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:38:24] local.INFO: IMEI packet received {"connection_id":146548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":146548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:38:29] local.INFO: TCP Data received {"connection_id":146548,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:38:29] local.INFO: Processing buffer {"connection_id":146548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:38:29] local.INFO: IMEI packet received {"connection_id":146548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":146548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:38:30] local.INFO: TCP Data received {"connection_id":146548,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc02dbdb8012cbcdb0007709828005701542e..."} 
[2026-08-02 11:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146548,"packet_length":93,"packet_hex":"00000000000000518e010000019fc02dbdb8012cbcdb0007709828005701542e..."} 
[2026-08-02 11:38:30] local.INFO: Processing buffer {"connection_id":146548,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc02dbdb8012cbcdb0007709828005701542e..."} 
[2026-08-02 11:38:30] local.INFO: Packet analysis {"connection_id":146548,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc02d"} 
[2026-08-02 11:38:30] local.INFO: Extracted packet for processing {"connection_id":146548,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc02d"} 
[2026-08-02 11:38:30] local.INFO: GPS Element Parsed {"raw_longitude":750574336,"raw_latitude":124819496,"longitude_deg":75.0574336,"latitude_deg":12.4819496,"altitude":87,"angle":340,"satellites":46,"speed":49,"hex_longitude":"2cbcdb00","hex_latitude":"07709828","is_valid_coordinates":true} 
[2026-08-02 11: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":93,"current_offset":40} 
[2026-08-02 11:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:38:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:38:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 11:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146548,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 11:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146548,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146548,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 11:38:30] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 11:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":146548,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 11:38:30] local.ERROR: GPS data processing failed {"connection_id":146548,"error":"No valid data to process"} 
[2026-08-02 11:38:30] local.INFO: Acknowledgment sent {"connection_id":146548,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 11:39:01] local.INFO: TCP Data received {"connection_id":146548,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc1161248012cc330c007685958005800c526..."} 
[2026-08-02 11:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146548,"packet_length":93,"packet_hex":"00000000000000518e010000019fc1161248012cc330c007685958005800c526..."} 
[2026-08-02 11:39:01] local.INFO: Processing buffer {"connection_id":146548,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc1161248012cc330c007685958005800c526..."} 
[2026-08-02 11:39:01] local.INFO: Packet analysis {"connection_id":146548,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc116"} 
[2026-08-02 11:39:01] local.INFO: Extracted packet for processing {"connection_id":146548,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc116"} 
[2026-08-02 11:39:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11: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":93,"current_offset":40} 
[2026-08-02 11:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:39:01] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:39:01] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 11:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146548,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 11:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146548,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146548,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 11:39:01] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 11:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":146548,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 11:39:01] local.ERROR: GPS data processing failed {"connection_id":146548,"error":"No valid data to process"} 
[2026-08-02 11:39:01] local.INFO: Acknowledgment sent {"connection_id":146548,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 11:39:24] local.INFO: TCP Data received {"connection_id":146549,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:39:24] local.INFO: Processing buffer {"connection_id":146549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:39:24] local.INFO: IMEI packet received {"connection_id":146549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":146549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:39:30] local.INFO: TCP Data received {"connection_id":146549,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:39:30] local.INFO: Processing buffer {"connection_id":146549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:39:30] local.INFO: IMEI packet received {"connection_id":146549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":146549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:39:35] local.INFO: TCP Data received {"connection_id":146549,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 11:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 11:39:35] local.INFO: Processing buffer {"connection_id":146549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 11:39:35] local.INFO: Packet analysis {"connection_id":146549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02c"} 
[2026-08-02 11:39:35] local.INFO: Extracted packet for processing {"connection_id":146549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02c"} 
[2026-08-02 11:39:35] local.INFO: GPS Element Parsed {"raw_longitude":750592640,"raw_latitude":124741840,"longitude_deg":75.059264,"latitude_deg":12.474184,"altitude":90,"angle":344,"satellites":45,"speed":35,"hex_longitude":"2cbd2280","hex_latitude":"076f68d0","is_valid_coordinates":true} 
[2026-08-02 11:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122702592001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367092448221986816,"note":"Value kept but may cause issues"} 
[2026-08-02 11:39:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4817655300702160896,"note":"Value kept but may cause issues"} 
[2026-08-02 11:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785635560000,"timestamp_ms":1785635560000,"timestamp_seconds":1785635560,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02c5a40"} 
[2026-08-02 11:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 11:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122702592001,"66":27843,"195":206,"27":54016,"24":35,"16":367092448221986816,"44":-4817655300702160896},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-08-02 11:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122702592001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:39:35] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-02 11:39:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367092448221986816,"km_value":367092448221986.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:39:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4817655300702160896,"description":"Unknown IO ID 44"} 
[2026-08-02 11:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122702592001,"power":27843,"unknown_195":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4817655300702160896}} 
[2026-08-02 11:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":146549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:39:35] local.INFO: GPS data processed {"connection_id":146549,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:39:35] local.INFO: Acknowledgment sent {"connection_id":146549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:40:07] local.INFO: TCP Data received {"connection_id":146549,"ip":"117.224.14.1","data_length":483,"data_hex":"00000000000001d78e060000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 11:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146549,"packet_length":483,"packet_hex":"00000000000001d78e060000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 11:40:07] local.INFO: Processing buffer {"connection_id":146549,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 11:40:07] local.INFO: Packet analysis {"connection_id":146549,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019fc02c"} 
[2026-08-02 11:40:07] local.INFO: Extracted packet for processing {"connection_id":146549,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019fc02c"} 
[2026-08-02 11:40:07] local.INFO: GPS Element Parsed {"raw_longitude":750592640,"raw_latitude":124741840,"longitude_deg":75.059264,"latitude_deg":12.474184,"altitude":90,"angle":344,"satellites":45,"speed":35,"hex_longitude":"2cbd2280","hex_latitude":"076f68d0","is_valid_coordinates":true} 
[2026-08-02 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":483,"current_offset":40} 
[2026-08-02 11:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122702592001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367092448221986816,"note":"Value kept but may cause issues"} 
[2026-08-02 11:40:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4817655300702160896,"note":"Value kept but may cause issues"} 
[2026-08-02 11:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785635560000,"timestamp_ms":1785635560000,"timestamp_seconds":1785635560,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02c5a40"} 
[2026-08-02 11:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":108,"n8_eight_byte":217,"data_length":483,"current_offset":136} 
[2026-08-02 11:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:40:07] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146549,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-02 11:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122702592001,"66":27843,"195":206,"27":54016,"24":35,"16":367092448221986816,"44":-4817655300702160896},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-08-02 11:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122702592001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:40:07] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-02 11:40:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367092448221986816,"km_value":367092448221986.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:40:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4817655300702160896,"description":"Unknown IO ID 44"} 
[2026-08-02 11:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122702592001,"power":27843,"unknown_195":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4817655300702160896}} 
[2026-08-02 11:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":146549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:40:07] local.INFO: GPS data processed {"connection_id":146549,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:40:07] local.INFO: Acknowledgment sent {"connection_id":146549,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:40:29] local.INFO: TCP Data received {"connection_id":146550,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:40:29] local.INFO: Processing buffer {"connection_id":146550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:40:29] local.INFO: IMEI packet received {"connection_id":146550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":146550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:40:34] local.INFO: TCP Data received {"connection_id":146550,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:40:34] local.INFO: Processing buffer {"connection_id":146550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:40:34] local.INFO: IMEI packet received {"connection_id":146550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":146550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:40:35] local.INFO: TCP Data received {"connection_id":146550,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 11:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146550,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 11:40:35] local.INFO: Processing buffer {"connection_id":146550,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 11:40:35] local.INFO: Packet analysis {"connection_id":146550,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc02c"} 
[2026-08-02 11:40:35] local.INFO: Extracted packet for processing {"connection_id":146550,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc02c"} 
[2026-08-02 11:40:35] local.INFO: GPS Element Parsed {"raw_longitude":750592640,"raw_latitude":124741840,"longitude_deg":75.059264,"latitude_deg":12.474184,"altitude":90,"angle":344,"satellites":45,"speed":35,"hex_longitude":"2cbd2280","hex_latitude":"076f68d0","is_valid_coordinates":true} 
[2026-08-02 11: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":327,"current_offset":40} 
[2026-08-02 11:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122702592001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367092448221986816,"note":"Value kept but may cause issues"} 
[2026-08-02 11:40:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4817655300702160896,"note":"Value kept but may cause issues"} 
[2026-08-02 11:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785635560000,"timestamp_ms":1785635560000,"timestamp_seconds":1785635560,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02c5a40"} 
[2026-08-02 11:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":217,"data_length":327,"current_offset":136} 
[2026-08-02 11:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:40:35] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146550,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 11:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122702592001,"66":27843,"195":206,"27":54016,"24":35,"16":367092448221986816,"44":-4817655300702160896},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-08-02 11:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122702592001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:40:35] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-02 11:40:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367092448221986816,"km_value":367092448221986.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:40:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4817655300702160896,"description":"Unknown IO ID 44"} 
[2026-08-02 11:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122702592001,"power":27843,"unknown_195":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4817655300702160896}} 
[2026-08-02 11:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":146550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:40:35] local.INFO: GPS data processed {"connection_id":146550,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:40:35] local.INFO: Acknowledgment sent {"connection_id":146550,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:40:40] local.INFO: TCP Data received {"connection_id":146550,"ip":"117.224.14.1","data_length":171,"data_hex":"000000000000009f8e020000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 11:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146550,"packet_length":171,"packet_hex":"000000000000009f8e020000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 11:40:40] local.INFO: Processing buffer {"connection_id":146550,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fc02c5a40012cbd2280076f68d0005a01582d..."} 
[2026-08-02 11:40:40] local.INFO: Packet analysis {"connection_id":146550,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fc02c"} 
[2026-08-02 11:40:40] local.INFO: Extracted packet for processing {"connection_id":146550,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fc02c"} 
[2026-08-02 11:40:40] local.INFO: GPS Element Parsed {"raw_longitude":750592640,"raw_latitude":124741840,"longitude_deg":75.059264,"latitude_deg":12.474184,"altitude":90,"angle":344,"satellites":45,"speed":35,"hex_longitude":"2cbd2280","hex_latitude":"076f68d0","is_valid_coordinates":true} 
[2026-08-02 11:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-08-02 11:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122702592001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367092448221986816,"note":"Value kept but may cause issues"} 
[2026-08-02 11:40:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4817655300702160896,"note":"Value kept but may cause issues"} 
[2026-08-02 11:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785635560000,"timestamp_ms":1785635560000,"timestamp_seconds":1785635560,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02c5a40"} 
[2026-08-02 11:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":171,"current_offset":136} 
[2026-08-02 11:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:40:40] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146550,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 11:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122702592001,"66":27843,"195":206,"27":54016,"24":35,"16":367092448221986816,"44":-4817655300702160896},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-08-02 11:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122702592001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:40:40] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-02 11:40:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367092448221986816,"km_value":367092448221986.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:40:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4817655300702160896,"description":"Unknown IO ID 44"} 
[2026-08-02 11:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122702592001,"power":27843,"unknown_195":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4817655300702160896}} 
[2026-08-02 11:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":146550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:40:40] local.INFO: GPS data processed {"connection_id":146550,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:40:40] local.INFO: Acknowledgment sent {"connection_id":146550,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:41:24] local.INFO: TCP Data received {"connection_id":146765,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:41:24] local.INFO: Processing buffer {"connection_id":146765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:41:24] local.INFO: IMEI packet received {"connection_id":146765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":146765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:41:29] local.INFO: TCP Data received {"connection_id":146765,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:41:29] local.INFO: Processing buffer {"connection_id":146765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:41:29] local.INFO: IMEI packet received {"connection_id":146765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":146765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:41:35] local.INFO: TCP Data received {"connection_id":146765,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02b77b0012cbce5c0076ebc20004e01662f..."} 
[2026-08-02 11:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02b77b0012cbce5c0076ebc20004e01662f..."} 
[2026-08-02 11:41:35] local.INFO: Processing buffer {"connection_id":146765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02b77b0012cbce5c0076ebc20004e01662f..."} 
[2026-08-02 11:41:35] local.INFO: Packet analysis {"connection_id":146765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc02b"} 
[2026-08-02 11:41:35] local.INFO: Extracted packet for processing {"connection_id":146765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc02b"} 
[2026-08-02 11:41:35] local.INFO: GPS Element Parsed {"raw_longitude":750577088,"raw_latitude":124697632,"longitude_deg":75.0577088,"latitude_deg":12.4697632,"altitude":78,"angle":358,"satellites":47,"speed":32,"hex_longitude":"2cbce5c0","hex_latitude":"076ebc20","is_valid_coordinates":true} 
[2026-08-02 11:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122685440001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367090107464810496,"note":"Value kept but may cause issues"} 
[2026-08-02 11:41:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4834051218108639232,"note":"Value kept but may cause issues"} 
[2026-08-02 11:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785635502000,"timestamp_ms":1785635502000,"timestamp_seconds":1785635502,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02b77b0"} 
[2026-08-02 11:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 11:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122685440001,"66":27919,"74":206,"27":54016,"24":32,"16":367090107464810496,"44":-4834051218108639232},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,44]} 
[2026-08-02 11:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122685440001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:41:35] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-02 11:41:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367090107464810496,"km_value":367090107464810.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:41:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4834051218108639232,"description":"Unknown IO ID 44"} 
[2026-08-02 11:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122685440001,"power":27919,"unknown_74":206,"unknown_27":54016,"ignition":32,"odometer":null,"unknown_44":-4834051218108639232}} 
[2026-08-02 11:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":146765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:41:35] local.INFO: GPS data processed {"connection_id":146765,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:41:35] local.INFO: Acknowledgment sent {"connection_id":146765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:42:07] local.INFO: TCP Data received {"connection_id":146765,"ip":"117.224.14.1","data_length":639,"data_hex":"00000000000002738e080000019fc02b77b0012cbce5c0076ebc20004e01662f..."} 
[2026-08-02 11:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146765,"packet_length":639,"packet_hex":"00000000000002738e080000019fc02b77b0012cbce5c0076ebc20004e01662f..."} 
[2026-08-02 11:42:07] local.INFO: Processing buffer {"connection_id":146765,"buffer_length":639,"buffer_hex":"00000000000002738e080000019fc02b77b0012cbce5c0076ebc20004e01662f..."} 
[2026-08-02 11:42:07] local.INFO: Packet analysis {"connection_id":146765,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019fc02b"} 
[2026-08-02 11:42:07] local.INFO: Extracted packet for processing {"connection_id":146765,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019fc02b"} 
[2026-08-02 11:42:07] local.INFO: GPS Element Parsed {"raw_longitude":750577088,"raw_latitude":124697632,"longitude_deg":75.0577088,"latitude_deg":12.4697632,"altitude":78,"angle":358,"satellites":47,"speed":32,"hex_longitude":"2cbce5c0","hex_latitude":"076ebc20","is_valid_coordinates":true} 
[2026-08-02 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":639,"current_offset":40} 
[2026-08-02 11:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122685440001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367090107464810496,"note":"Value kept but may cause issues"} 
[2026-08-02 11:42:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4834051218108639232,"note":"Value kept but may cause issues"} 
[2026-08-02 11:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785635502000,"timestamp_ms":1785635502000,"timestamp_seconds":1785635502,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02b77b0"} 
[2026-08-02 11:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11: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-08-02 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":108,"n8_eight_byte":195,"data_length":639,"current_offset":136} 
[2026-08-02 11:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:42:07] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146765,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-02 11:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122685440001,"66":27919,"74":206,"27":54016,"24":32,"16":367090107464810496,"44":-4834051218108639232},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,44]} 
[2026-08-02 11:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122685440001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:42:07] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-02 11:42:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367090107464810496,"km_value":367090107464810.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:42:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4834051218108639232,"description":"Unknown IO ID 44"} 
[2026-08-02 11:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122685440001,"power":27919,"unknown_74":206,"unknown_27":54016,"ignition":32,"odometer":null,"unknown_44":-4834051218108639232}} 
[2026-08-02 11:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":146765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:42:07] local.INFO: GPS data processed {"connection_id":146765,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:42:07] local.INFO: Acknowledgment sent {"connection_id":146765,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:42:24] local.INFO: TCP Data received {"connection_id":146551,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:42:24] local.INFO: Processing buffer {"connection_id":146551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:42:24] local.INFO: IMEI packet received {"connection_id":146551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":146551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:42:29] local.INFO: TCP Data received {"connection_id":146551,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:42:29] local.INFO: Processing buffer {"connection_id":146551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:42:29] local.INFO: IMEI packet received {"connection_id":146551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":146551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:42:35] local.INFO: TCP Data received {"connection_id":146551,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc029f4f8012cbcf680076d51580043015c2f..."} 
[2026-08-02 11:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc029f4f8012cbcf680076d51580043015c2f..."} 
[2026-08-02 11:42:35] local.INFO: Processing buffer {"connection_id":146551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc029f4f8012cbcf680076d51580043015c2f..."} 
[2026-08-02 11:42:35] local.INFO: Packet analysis {"connection_id":146551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc029"} 
[2026-08-02 11:42:35] local.INFO: Extracted packet for processing {"connection_id":146551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc029"} 
[2026-08-02 11:42:35] local.INFO: GPS Element Parsed {"raw_longitude":750581376,"raw_latitude":124604760,"longitude_deg":75.0581376,"latitude_deg":12.460476,"altitude":67,"angle":348,"satellites":47,"speed":33,"hex_longitude":"2cbcf680","hex_latitude":"076d5158","is_valid_coordinates":true} 
[2026-08-02 11:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122660864001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367085559094444032,"note":"Value kept but may cause issues"} 
[2026-08-02 11:42:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4827788399900555264,"note":"Value kept but may cause issues"} 
[2026-08-02 11:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785635403000,"timestamp_ms":1785635403000,"timestamp_seconds":1785635403,"priority":1,"record_length":96,"hex_timestamp":"0000019fc029f4f8"} 
[2026-08-02 11:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 11:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122660864001,"66":27745,"75":206,"27":54016,"24":33,"16":367085559094444032,"44":-4827788399900555264},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-08-02 11:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122660864001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:42:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-02 11:42:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367085559094444032,"km_value":367085559094444.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:42:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4827788399900555264,"description":"Unknown IO ID 44"} 
[2026-08-02 11:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122660864001,"power":27745,"unknown_75":206,"unknown_27":54016,"ignition":33,"odometer":null,"unknown_44":-4827788399900555264}} 
[2026-08-02 11:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":146551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:42:35] local.INFO: GPS data processed {"connection_id":146551,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:42:35] local.INFO: Acknowledgment sent {"connection_id":146551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:43:07] local.INFO: TCP Data received {"connection_id":146551,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc028cc18012cbd4340076be500003c01522f..."} 
[2026-08-02 11:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc028cc18012cbd4340076be500003c01522f..."} 
[2026-08-02 11:43:07] local.INFO: Processing buffer {"connection_id":146551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc028cc18012cbd4340076be500003c01522f..."} 
[2026-08-02 11:43:07] local.INFO: Packet analysis {"connection_id":146551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc028"} 
[2026-08-02 11:43:07] local.INFO: Extracted packet for processing {"connection_id":146551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc028"} 
[2026-08-02 11:43:07] local.INFO: GPS Element Parsed {"raw_longitude":750601024,"raw_latitude":124511488,"longitude_deg":75.0601024,"latitude_deg":12.4511488,"altitude":60,"angle":338,"satellites":47,"speed":53,"hex_longitude":"2cbd4340","hex_latitude":"076be500","is_valid_coordinates":true} 
[2026-08-02 11:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122642176001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367080937709633536,"note":"Value kept but may cause issues"} 
[2026-08-02 11:43:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4804988926810288128,"note":"Value kept but may cause issues"} 
[2026-08-02 11:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785635327000,"timestamp_ms":1785635327000,"timestamp_seconds":1785635327,"priority":1,"record_length":96,"hex_timestamp":"0000019fc028cc18"} 
[2026-08-02 11:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-02 11:43: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-08-02 11:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122642176001,"66":27517,"75":206,"27":54016,"24":53,"16":367080937709633536,"44":-4804988926810288128},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-08-02 11:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122642176001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:43:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-02 11:43:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367080937709633536,"km_value":367080937709633.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:43:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4804988926810288128,"description":"Unknown IO ID 44"} 
[2026-08-02 11:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122642176001,"power":27517,"unknown_75":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4804988926810288128}} 
[2026-08-02 11:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":146551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:43:07] local.INFO: GPS data processed {"connection_id":146551,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:43:07] local.INFO: Acknowledgment sent {"connection_id":146551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:43:29] local.INFO: TCP Data received {"connection_id":147784,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:43:29] local.INFO: Processing buffer {"connection_id":147784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:43:29] local.INFO: IMEI packet received {"connection_id":147784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":147784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:43:35] local.INFO: TCP Data received {"connection_id":147784,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:43:35] local.INFO: Processing buffer {"connection_id":147784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:43:35] local.INFO: IMEI packet received {"connection_id":147784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":147784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:43:37] local.INFO: TCP Data received {"connection_id":147784,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc11aaa10012cc330c007685958005800c525..."} 
[2026-08-02 11:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc11aaa10012cc330c007685958005800c525..."} 
[2026-08-02 11:43:37] local.INFO: Processing buffer {"connection_id":147784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc11aaa10012cc330c007685958005800c525..."} 
[2026-08-02 11:43:37] local.INFO: Packet analysis {"connection_id":147784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc11a"} 
[2026-08-02 11:43:37] local.INFO: Extracted packet for processing {"connection_id":147784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc11a"} 
[2026-08-02 11:43:37] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122628608001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 11:43:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4771985985804926976,"note":"Value kept but may cause issues"} 
[2026-08-02 11:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785651178000,"timestamp_ms":1785651178000,"timestamp_seconds":1785651178,"priority":1,"record_length":96,"hex_timestamp":"0000019fc11aaa10"} 
[2026-08-02 11:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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-08-02 11: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-08-02 11:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122628608001,"66":25647,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4771985985804926976},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 11:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122628608001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:43:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 11:43:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:43:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4771985985804926976,"description":"Unknown IO ID 44"} 
[2026-08-02 11:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122628608001,"power":25647,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4771985985804926976}} 
[2026-08-02 11:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":147784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:43:37] local.INFO: GPS data processed {"connection_id":147784,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:43:37] local.INFO: Acknowledgment sent {"connection_id":147784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:43:45] local.INFO: TCP Data received {"connection_id":147784,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc026d430012cbde8400769ade00041015b30..."} 
[2026-08-02 11:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc026d430012cbde8400769ade00041015b30..."} 
[2026-08-02 11:43:45] local.INFO: Processing buffer {"connection_id":147784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc026d430012cbde8400769ade00041015b30..."} 
[2026-08-02 11:43:45] local.INFO: Packet analysis {"connection_id":147784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc026"} 
[2026-08-02 11:43:45] local.INFO: Extracted packet for processing {"connection_id":147784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc026"} 
[2026-08-02 11:43:45] local.INFO: GPS Element Parsed {"raw_longitude":750643264,"raw_latitude":124366304,"longitude_deg":75.0643264,"latitude_deg":12.4366304,"altitude":65,"angle":347,"satellites":48,"speed":47,"hex_longitude":"2cbde840","hex_latitude":"0769ade0","is_valid_coordinates":true} 
[2026-08-02 11:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122608640001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367073339912486912,"note":"Value kept but may cause issues"} 
[2026-08-02 11:43:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4759952930574368768,"note":"Value kept but may cause issues"} 
[2026-08-02 11:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785635198000,"timestamp_ms":1785635198000,"timestamp_seconds":1785635198,"priority":1,"record_length":96,"hex_timestamp":"0000019fc026d430"} 
[2026-08-02 11:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 11:43: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-08-02 11:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":147784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":147784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":147784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122608640001,"66":27800,"122":206,"27":54016,"24":47,"16":367073339912486912,"44":-4759952930574368768},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-08-02 11:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122608640001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:43:45] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-02 11:43:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367073339912486912,"km_value":367073339912486.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:43:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4759952930574368768,"description":"Unknown IO ID 44"} 
[2026-08-02 11:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122608640001,"power":27800,"unknown_122":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-4759952930574368768}} 
[2026-08-02 11:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":147784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:43:45] local.INFO: GPS data processed {"connection_id":147784,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:43:45] local.INFO: Acknowledgment sent {"connection_id":147784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:44:25] local.INFO: TCP Data received {"connection_id":146552,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:44:25] local.INFO: Processing buffer {"connection_id":146552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:44:25] local.INFO: IMEI packet received {"connection_id":146552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":146552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:44:29] local.INFO: TCP Data received {"connection_id":146552,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:44:29] local.INFO: Processing buffer {"connection_id":146552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:44:29] local.INFO: IMEI packet received {"connection_id":146552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":146552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:44:31] local.INFO: TCP Data received {"connection_id":146552,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc026d430012cbde8400769ade00041015b30..."} 
[2026-08-02 11:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146552,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc026d430012cbde8400769ade00041015b30..."} 
[2026-08-02 11:44:31] local.INFO: Processing buffer {"connection_id":146552,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc026d430012cbde8400769ade00041015b30..."} 
[2026-08-02 11:44:31] local.INFO: Packet analysis {"connection_id":146552,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc026"} 
[2026-08-02 11:44:31] local.INFO: Extracted packet for processing {"connection_id":146552,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc026"} 
[2026-08-02 11:44:31] local.INFO: GPS Element Parsed {"raw_longitude":750643264,"raw_latitude":124366304,"longitude_deg":75.0643264,"latitude_deg":12.4366304,"altitude":65,"angle":347,"satellites":48,"speed":47,"hex_longitude":"2cbde840","hex_latitude":"0769ade0","is_valid_coordinates":true} 
[2026-08-02 11: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":327,"current_offset":40} 
[2026-08-02 11:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122608640001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367073339912486912,"note":"Value kept but may cause issues"} 
[2026-08-02 11:44:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4759952930574368768,"note":"Value kept but may cause issues"} 
[2026-08-02 11:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785635198000,"timestamp_ms":1785635198000,"timestamp_seconds":1785635198,"priority":1,"record_length":96,"hex_timestamp":"0000019fc026d430"} 
[2026-08-02 11:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":327,"current_offset":136} 
[2026-08-02 11:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:44:31] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146552,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 11:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122608640001,"66":27800,"122":206,"27":54016,"24":47,"16":367073339912486912,"44":-4759952930574368768},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-08-02 11:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122608640001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:44:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-02 11:44:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367073339912486912,"km_value":367073339912486.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:44:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4759952930574368768,"description":"Unknown IO ID 44"} 
[2026-08-02 11:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122608640001,"power":27800,"unknown_122":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-4759952930574368768}} 
[2026-08-02 11:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":146552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:44:31] local.INFO: GPS data processed {"connection_id":146552,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:44:31] local.INFO: Acknowledgment sent {"connection_id":146552,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:45:03] local.INFO: TCP Data received {"connection_id":146552,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc025e200012cbeaf400768c1e8004501262e..."} 
[2026-08-02 11:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc025e200012cbeaf400768c1e8004501262e..."} 
[2026-08-02 11:45:03] local.INFO: Processing buffer {"connection_id":146552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc025e200012cbeaf400768c1e8004501262e..."} 
[2026-08-02 11:45:03] local.INFO: Packet analysis {"connection_id":146552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc025"} 
[2026-08-02 11:45:03] local.INFO: Extracted packet for processing {"connection_id":146552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc025"} 
[2026-08-02 11:45:03] local.INFO: GPS Element Parsed {"raw_longitude":750694208,"raw_latitude":124305896,"longitude_deg":75.0694208,"latitude_deg":12.4305896,"altitude":69,"angle":294,"satellites":46,"speed":58,"hex_longitude":"2cbeaf40","hex_latitude":"0768c1e8","is_valid_coordinates":true} 
[2026-08-02 11:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122593280001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367069457262051328,"note":"Value kept but may cause issues"} 
[2026-08-02 11:45:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4697184010781626368,"note":"Value kept but may cause issues"} 
[2026-08-02 11:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785635136000,"timestamp_ms":1785635136000,"timestamp_seconds":1785635136,"priority":1,"record_length":96,"hex_timestamp":"0000019fc025e200"} 
[2026-08-02 11:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-02 11:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122593280001,"66":27843,"121":206,"27":54016,"24":58,"16":367069457262051328,"44":-4697184010781626368},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-08-02 11:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122593280001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:45:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-02 11:45:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367069457262051328,"km_value":367069457262051.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:45:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4697184010781626368,"description":"Unknown IO ID 44"} 
[2026-08-02 11:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122593280001,"power":27843,"unknown_121":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-4697184010781626368}} 
[2026-08-02 11:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":146552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:45:03] local.INFO: GPS data processed {"connection_id":146552,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:45:03] local.INFO: Acknowledgment sent {"connection_id":146552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:45:24] local.INFO: TCP Data received {"connection_id":146766,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:45:24] local.INFO: Processing buffer {"connection_id":146766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:45:24] local.INFO: IMEI packet received {"connection_id":146766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":146766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:45:29] local.INFO: TCP Data received {"connection_id":146766,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:45:29] local.INFO: Processing buffer {"connection_id":146766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:45:29] local.INFO: IMEI packet received {"connection_id":146766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":146766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:45:35] local.INFO: TCP Data received {"connection_id":146766,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc024cca8012cbfe940076802d0004c01402f..."} 
[2026-08-02 11:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc024cca8012cbfe940076802d0004c01402f..."} 
[2026-08-02 11:45:35] local.INFO: Processing buffer {"connection_id":146766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc024cca8012cbfe940076802d0004c01402f..."} 
[2026-08-02 11:45:35] local.INFO: Packet analysis {"connection_id":146766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc024"} 
[2026-08-02 11:45:35] local.INFO: Extracted packet for processing {"connection_id":146766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc024"} 
[2026-08-02 11:45:35] local.INFO: GPS Element Parsed {"raw_longitude":750774592,"raw_latitude":124256976,"longitude_deg":75.0774592,"latitude_deg":12.4256976,"altitude":76,"angle":320,"satellites":47,"speed":45,"hex_longitude":"2cbfe940","hex_latitude":"076802d0","is_valid_coordinates":true} 
[2026-08-02 11:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122574336001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367064848762142720,"note":"Value kept but may cause issues"} 
[2026-08-02 11:45:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4611052667922003968,"note":"Value kept but may cause issues"} 
[2026-08-02 11:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785635065000,"timestamp_ms":1785635065000,"timestamp_seconds":1785635065,"priority":1,"record_length":96,"hex_timestamp":"0000019fc024cca8"} 
[2026-08-02 11:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 11:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122574336001,"66":27865,"121":206,"27":54016,"24":45,"16":367064848762142720,"44":-4611052667922003968},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-08-02 11:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122574336001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:45:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-02 11:45:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367064848762142720,"km_value":367064848762142.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:45:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4611052667922003968,"description":"Unknown IO ID 44"} 
[2026-08-02 11:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122574336001,"power":27865,"unknown_121":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-4611052667922003968}} 
[2026-08-02 11:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":146766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:45:35] local.INFO: GPS data processed {"connection_id":146766,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:45:35] local.INFO: Acknowledgment sent {"connection_id":146766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:46:07] local.INFO: TCP Data received {"connection_id":146766,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc023a3c8012cc0cc4007670d00004701302d..."} 
[2026-08-02 11:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc023a3c8012cc0cc4007670d00004701302d..."} 
[2026-08-02 11:46:07] local.INFO: Processing buffer {"connection_id":146766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc023a3c8012cc0cc4007670d00004701302d..."} 
[2026-08-02 11:46:07] local.INFO: Packet analysis {"connection_id":146766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc023"} 
[2026-08-02 11:46:07] local.INFO: Extracted packet for processing {"connection_id":146766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc023"} 
[2026-08-02 11:46:07] local.INFO: GPS Element Parsed {"raw_longitude":750832704,"raw_latitude":124194048,"longitude_deg":75.0832704,"latitude_deg":12.4194048,"altitude":71,"angle":304,"satellites":45,"speed":56,"hex_longitude":"2cc0cc40","hex_latitude":"07670d00","is_valid_coordinates":true} 
[2026-08-02 11:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122555392001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367060678348898304,"note":"Value kept but may cause issues"} 
[2026-08-02 11:46:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4544694942177904640,"note":"Value kept but may cause issues"} 
[2026-08-02 11:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785634989000,"timestamp_ms":1785634989000,"timestamp_seconds":1785634989,"priority":1,"record_length":96,"hex_timestamp":"0000019fc023a3c8"} 
[2026-08-02 11:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-02 11:46: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-08-02 11:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122555392001,"66":27821,"39":206,"27":54016,"24":56,"16":367060678348898304,"44":-4544694942177904640},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 11:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122555392001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:46:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 11:46:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367060678348898304,"km_value":367060678348898.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:46:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4544694942177904640,"description":"Unknown IO ID 44"} 
[2026-08-02 11:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122555392001,"power":27821,"unknown_39":206,"unknown_27":54016,"ignition":56,"odometer":null,"unknown_44":-4544694942177904640}} 
[2026-08-02 11:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":146766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:46:07] local.INFO: GPS data processed {"connection_id":146766,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:46:07] local.INFO: Acknowledgment sent {"connection_id":146766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:46:29] local.INFO: TCP Data received {"connection_id":149098,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:46:29] local.INFO: Processing buffer {"connection_id":149098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:46:29] local.INFO: IMEI packet received {"connection_id":149098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":149098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:46:34] local.INFO: TCP Data received {"connection_id":149098,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:46:34] local.INFO: Processing buffer {"connection_id":149098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:46:34] local.INFO: IMEI packet received {"connection_id":149098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":149098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:46:40] local.INFO: TCP Data received {"connection_id":149098,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc02286a0012cc20480076632780052014d2d..."} 
[2026-08-02 11:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc02286a0012cc20480076632780052014d2d..."} 
[2026-08-02 11:46:40] local.INFO: Processing buffer {"connection_id":149098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc02286a0012cc20480076632780052014d2d..."} 
[2026-08-02 11:46:40] local.INFO: Packet analysis {"connection_id":149098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc022"} 
[2026-08-02 11:46:40] local.INFO: Extracted packet for processing {"connection_id":149098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc022"} 
[2026-08-02 11:46:40] local.INFO: GPS Element Parsed {"raw_longitude":750912640,"raw_latitude":124138104,"longitude_deg":75.091264,"latitude_deg":12.4138104,"altitude":82,"angle":333,"satellites":45,"speed":48,"hex_longitude":"2cc20480","hex_latitude":"07663278","is_valid_coordinates":true} 
[2026-08-02 11:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122536448001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367055940999970816,"note":"Value kept but may cause issues"} 
[2026-08-02 11:46:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4461589455319369728,"note":"Value kept but may cause issues"} 
[2026-08-02 11:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785634916000,"timestamp_ms":1785634916000,"timestamp_seconds":1785634916,"priority":1,"record_length":96,"hex_timestamp":"0000019fc02286a0"} 
[2026-08-02 11:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 11:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122536448001,"66":27767,"39":206,"27":54016,"24":48,"16":367055940999970816,"44":-4461589455319369728},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 11:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122536448001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:46:40] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 11:46:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367055940999970816,"km_value":367055940999970.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:46:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4461589455319369728,"description":"Unknown IO ID 44"} 
[2026-08-02 11:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122536448001,"power":27767,"unknown_39":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-4461589455319369728}} 
[2026-08-02 11:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":149098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:46:40] local.INFO: GPS data processed {"connection_id":149098,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:46:40] local.INFO: Acknowledgment sent {"connection_id":149098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:47:31] local.INFO: TCP Data received {"connection_id":146553,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:47:31] local.INFO: Processing buffer {"connection_id":146553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:47:31] local.INFO: IMEI packet received {"connection_id":146553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":146553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:47:42] local.INFO: TCP Data received {"connection_id":146553,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:47:42] local.INFO: Processing buffer {"connection_id":146553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:47:42] local.INFO: IMEI packet received {"connection_id":146553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":146553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:47:48] local.INFO: TCP Data received {"connection_id":146553,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0217530012cc2cb4007651a00005101522d..."} 
[2026-08-02 11:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0217530012cc2cb4007651a00005101522d..."} 
[2026-08-02 11:47:48] local.INFO: Processing buffer {"connection_id":146553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0217530012cc2cb4007651a00005101522d..."} 
[2026-08-02 11:47:48] local.INFO: Packet analysis {"connection_id":146553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc021"} 
[2026-08-02 11:47:48] local.INFO: Extracted packet for processing {"connection_id":146553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc021"} 
[2026-08-02 11:47:48] local.INFO: GPS Element Parsed {"raw_longitude":750963520,"raw_latitude":124066304,"longitude_deg":75.096352,"latitude_deg":12.4066304,"altitude":81,"angle":338,"satellites":45,"speed":51,"hex_longitude":"2cc2cb40","hex_latitude":"07651a00","is_valid_coordinates":true} 
[2026-08-02 11:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122519552001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367051663212544000,"note":"Value kept but may cause issues"} 
[2026-08-02 11:47:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4408883265947686912,"note":"Value kept but may cause issues"} 
[2026-08-02 11:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785634846000,"timestamp_ms":1785634846000,"timestamp_seconds":1785634846,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0217530"} 
[2026-08-02 11:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 11:47: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-08-02 11:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122519552001,"66":27767,"37":206,"27":54016,"24":51,"16":367051663212544000,"44":-4408883265947686912},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 11:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122519552001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:47:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 11:47:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367051663212544000,"km_value":367051663212544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:47:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4408883265947686912,"description":"Unknown IO ID 44"} 
[2026-08-02 11:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122519552001,"power":27767,"unknown_37":206,"unknown_27":54016,"ignition":51,"odometer":null,"unknown_44":-4408883265947686912}} 
[2026-08-02 11:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":146553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:47:48] local.INFO: GPS data processed {"connection_id":146553,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:47:48] local.INFO: Acknowledgment sent {"connection_id":146553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:47:50] local.INFO: TCP Data received {"connection_id":146553,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc020aa10012cc2f240076415e0005100042d..."} 
[2026-08-02 11:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc020aa10012cc2f240076415e0005100042d..."} 
[2026-08-02 11:47:50] local.INFO: Processing buffer {"connection_id":146553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc020aa10012cc2f240076415e0005100042d..."} 
[2026-08-02 11:47:50] local.INFO: Packet analysis {"connection_id":146553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc020"} 
[2026-08-02 11:47:50] local.INFO: Extracted packet for processing {"connection_id":146553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc020"} 
[2026-08-02 11:47:50] local.INFO: GPS Element Parsed {"raw_longitude":750973504,"raw_latitude":123999712,"longitude_deg":75.0973504,"latitude_deg":12.3999712,"altitude":81,"angle":4,"satellites":45,"speed":50,"hex_longitude":"2cc2f240","hex_latitude":"076415e0","is_valid_coordinates":true} 
[2026-08-02 11:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122505472001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367048364677660672,"note":"Value kept but may cause issues"} 
[2026-08-02 11:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4401213072850374656,"note":"Value kept but may cause issues"} 
[2026-08-02 11:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785634794000,"timestamp_ms":1785634794000,"timestamp_seconds":1785634794,"priority":1,"record_length":96,"hex_timestamp":"0000019fc020aa10"} 
[2026-08-02 11:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 11:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122505472001,"66":27865,"228":206,"27":54016,"24":50,"16":367048364677660672,"44":-4401213072850374656},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 11:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122505472001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:47:50] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 11:47:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367048364677660672,"km_value":367048364677660.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4401213072850374656,"description":"Unknown IO ID 44"} 
[2026-08-02 11:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122505472001,"power":27865,"unknown_228":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-4401213072850374656}} 
[2026-08-02 11:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":146553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:47:50] local.INFO: GPS data processed {"connection_id":146553,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:47:50] local.INFO: Acknowledgment sent {"connection_id":146553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:48:24] local.INFO: TCP Data received {"connection_id":146767,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:48:24] local.INFO: Processing buffer {"connection_id":146767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:48:24] local.INFO: IMEI packet received {"connection_id":146767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":146767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:48:31] local.INFO: TCP Data received {"connection_id":146767,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:48:31] local.INFO: Processing buffer {"connection_id":146767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:48:31] local.INFO: IMEI packet received {"connection_id":146767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":146767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:48:35] local.INFO: TCP Data received {"connection_id":146767,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01fac28012cc2ef40076315000053013a2a..."} 
[2026-08-02 11:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01fac28012cc2ef40076315000053013a2a..."} 
[2026-08-02 11:48:35] local.INFO: Processing buffer {"connection_id":146767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01fac28012cc2ef40076315000053013a2a..."} 
[2026-08-02 11:48:35] local.INFO: Packet analysis {"connection_id":146767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01f"} 
[2026-08-02 11:48:35] local.INFO: Extracted packet for processing {"connection_id":146767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01f"} 
[2026-08-02 11:48:35] local.INFO: GPS Element Parsed {"raw_longitude":750972736,"raw_latitude":123933952,"longitude_deg":75.0972736,"latitude_deg":12.3933952,"altitude":83,"angle":314,"satellites":42,"speed":35,"hex_longitude":"2cc2ef40","hex_latitude":"07631500","is_valid_coordinates":true} 
[2026-08-02 11:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122489344001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367045048962908160,"note":"Value kept but may cause issues"} 
[2026-08-02 11:48:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4396357629517283328,"note":"Value kept but may cause issues"} 
[2026-08-02 11:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785634729000,"timestamp_ms":1785634729000,"timestamp_seconds":1785634729,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01fac28"} 
[2026-08-02 11:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 11:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122489344001,"66":27800,"227":206,"27":54016,"24":35,"16":367045048962908160,"44":-4396357629517283328},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 11:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122489344001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:48:35] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 11:48:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367045048962908160,"km_value":367045048962908.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:48:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4396357629517283328,"description":"Unknown IO ID 44"} 
[2026-08-02 11:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122489344001,"power":27800,"unknown_227":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4396357629517283328}} 
[2026-08-02 11:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":146767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:48:35] local.INFO: GPS data processed {"connection_id":146767,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:48:35] local.INFO: Acknowledgment sent {"connection_id":146767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:49:17] local.INFO: TCP Data received {"connection_id":146767,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc11f41d8012cc330c007685958005800c525..."} 
[2026-08-02 11:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146767,"packet_length":93,"packet_hex":"00000000000000518e010000019fc11f41d8012cc330c007685958005800c525..."} 
[2026-08-02 11:49:17] local.INFO: Processing buffer {"connection_id":146767,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc11f41d8012cc330c007685958005800c525..."} 
[2026-08-02 11:49:17] local.INFO: Packet analysis {"connection_id":146767,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc11f"} 
[2026-08-02 11:49:17] local.INFO: Extracted packet for processing {"connection_id":146767,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc11f"} 
[2026-08-02 11:49:17] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":37,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-02 11:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:49:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:49:17] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 11:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":146767,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 11:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":146767,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":146767,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 11:49:17] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 11:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":146767,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 11:49:17] local.ERROR: GPS data processing failed {"connection_id":146767,"error":"No valid data to process"} 
[2026-08-02 11:49:17] local.INFO: Acknowledgment sent {"connection_id":146767,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 11:49:29] local.INFO: TCP Data received {"connection_id":149099,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:49:29] local.INFO: Processing buffer {"connection_id":149099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:49:29] local.INFO: IMEI packet received {"connection_id":149099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":149099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:49:30] local.INFO: TCP Data received {"connection_id":149099,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:49:30] local.INFO: Processing buffer {"connection_id":149099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:49:30] local.INFO: IMEI packet received {"connection_id":149099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":149099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:49:35] local.INFO: TCP Data received {"connection_id":149099,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01ed938012cc38a000762b690004501512d..."} 
[2026-08-02 11:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01ed938012cc38a000762b690004501512d..."} 
[2026-08-02 11:49:35] local.INFO: Processing buffer {"connection_id":149099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01ed938012cc38a000762b690004501512d..."} 
[2026-08-02 11:49:35] local.INFO: Packet analysis {"connection_id":149099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01e"} 
[2026-08-02 11:49:35] local.INFO: Extracted packet for processing {"connection_id":149099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01e"} 
[2026-08-02 11:49:35] local.INFO: GPS Element Parsed {"raw_longitude":751012352,"raw_latitude":123909776,"longitude_deg":75.1012352,"latitude_deg":12.3909776,"altitude":69,"angle":337,"satellites":45,"speed":43,"hex_longitude":"2cc38a00","hex_latitude":"0762b690","is_valid_coordinates":true} 
[2026-08-02 11:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122474496001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367042613716451328,"note":"Value kept but may cause issues"} 
[2026-08-02 11:49:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4352658639390781440,"note":"Value kept but may cause issues"} 
[2026-08-02 11:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785634675000,"timestamp_ms":1785634675000,"timestamp_seconds":1785634675,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01ed938"} 
[2026-08-02 11:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-02 11:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122474496001,"66":27919,"227":206,"27":54016,"24":43,"16":367042613716451328,"44":-4352658639390781440},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 11:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122474496001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:49:35] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 11:49:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367042613716451328,"km_value":367042613716451.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:49:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4352658639390781440,"description":"Unknown IO ID 44"} 
[2026-08-02 11:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122474496001,"power":27919,"unknown_227":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-4352658639390781440}} 
[2026-08-02 11:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":149099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:49:35] local.INFO: GPS data processed {"connection_id":149099,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:49:35] local.INFO: Acknowledgment sent {"connection_id":149099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:50:06] local.INFO: TCP Data received {"connection_id":149099,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc01ed938012cc38a000762b690004501512d..."} 
[2026-08-02 11:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149099,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc01ed938012cc38a000762b690004501512d..."} 
[2026-08-02 11:50:06] local.INFO: Processing buffer {"connection_id":149099,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc01ed938012cc38a000762b690004501512d..."} 
[2026-08-02 11:50:06] local.INFO: Packet analysis {"connection_id":149099,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc01e"} 
[2026-08-02 11:50:06] local.INFO: Extracted packet for processing {"connection_id":149099,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc01e"} 
[2026-08-02 11:50:06] local.INFO: GPS Element Parsed {"raw_longitude":751012352,"raw_latitude":123909776,"longitude_deg":75.1012352,"latitude_deg":12.3909776,"altitude":69,"angle":337,"satellites":45,"speed":43,"hex_longitude":"2cc38a00","hex_latitude":"0762b690","is_valid_coordinates":true} 
[2026-08-02 11: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":249,"current_offset":40} 
[2026-08-02 11:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122474496001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367042613716451328,"note":"Value kept but may cause issues"} 
[2026-08-02 11:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4352658639390781440,"note":"Value kept but may cause issues"} 
[2026-08-02 11:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785634675000,"timestamp_ms":1785634675000,"timestamp_seconds":1785634675,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01ed938"} 
[2026-08-02 11:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":195,"data_length":249,"current_offset":136} 
[2026-08-02 11:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:50:06] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149099,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 11:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122474496001,"66":27919,"227":206,"27":54016,"24":43,"16":367042613716451328,"44":-4352658639390781440},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 11:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122474496001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:50:06] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 11:50:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367042613716451328,"km_value":367042613716451.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4352658639390781440,"description":"Unknown IO ID 44"} 
[2026-08-02 11:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122474496001,"power":27919,"unknown_227":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-4352658639390781440}} 
[2026-08-02 11:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":149099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:50:06] local.INFO: GPS data processed {"connection_id":149099,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:50:06] local.INFO: Acknowledgment sent {"connection_id":149099,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:50:25] local.INFO: TCP Data received {"connection_id":146554,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:50:25] local.INFO: Processing buffer {"connection_id":146554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:50:25] local.INFO: IMEI packet received {"connection_id":146554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":146554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:50:29] local.INFO: TCP Data received {"connection_id":146554,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:50:29] local.INFO: Processing buffer {"connection_id":146554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:50:29] local.INFO: IMEI packet received {"connection_id":146554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":146554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:50:36] local.INFO: TCP Data received {"connection_id":146554,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01e3528012cc39ec0076241b8004600ec2c..."} 
[2026-08-02 11:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01e3528012cc39ec0076241b8004600ec2c..."} 
[2026-08-02 11:50:36] local.INFO: Processing buffer {"connection_id":146554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01e3528012cc39ec0076241b8004600ec2c..."} 
[2026-08-02 11:50:36] local.INFO: Packet analysis {"connection_id":146554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01e"} 
[2026-08-02 11:50:36] local.INFO: Extracted packet for processing {"connection_id":146554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01e"} 
[2026-08-02 11:50:36] local.INFO: GPS Element Parsed {"raw_longitude":751017664,"raw_latitude":123879864,"longitude_deg":75.1017664,"latitude_deg":12.3879864,"altitude":70,"angle":236,"satellites":44,"speed":14,"hex_longitude":"2cc39ec0","hex_latitude":"076241b8","is_valid_coordinates":true} 
[2026-08-02 11:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122465792001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367041063233257472,"note":"Value kept but may cause issues"} 
[2026-08-02 11:50:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4350547577070776320,"note":"Value kept but may cause issues"} 
[2026-08-02 11:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785634633000,"timestamp_ms":1785634633000,"timestamp_seconds":1785634633,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01e3528"} 
[2026-08-02 11:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11: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-08-02 11:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-02 11:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122465792001,"66":27517,"227":206,"27":54016,"24":14,"16":367041063233257472,"44":-4350547577070776320},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 11:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122465792001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:50:36] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 11:50:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367041063233257472,"km_value":367041063233257.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:50:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4350547577070776320,"description":"Unknown IO ID 44"} 
[2026-08-02 11:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122465792001,"power":27517,"unknown_227":206,"unknown_27":54016,"ignition":14,"odometer":null,"unknown_44":-4350547577070776320}} 
[2026-08-02 11:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":146554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:50:36] local.INFO: GPS data processed {"connection_id":146554,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:50:36] local.INFO: Acknowledgment sent {"connection_id":146554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:51:15] local.INFO: TCP Data received {"connection_id":146554,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01d0090012cc37fc00762e0f8004a00992d..."} 
[2026-08-02 11:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01d0090012cc37fc00762e0f8004a00992d..."} 
[2026-08-02 11:51:15] local.INFO: Processing buffer {"connection_id":146554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01d0090012cc37fc00762e0f8004a00992d..."} 
[2026-08-02 11:51:15] local.INFO: Packet analysis {"connection_id":146554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01d"} 
[2026-08-02 11:51:15] local.INFO: Extracted packet for processing {"connection_id":146554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01d"} 
[2026-08-02 11:51:15] local.INFO: GPS Element Parsed {"raw_longitude":751009728,"raw_latitude":123920632,"longitude_deg":75.1009728,"latitude_deg":12.3920632,"altitude":74,"angle":153,"satellites":45,"speed":54,"hex_longitude":"2cc37fc0","hex_latitude":"0762e0f8","is_valid_coordinates":true} 
[2026-08-02 11:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122445056001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367038988764053504,"note":"Value kept but may cause issues"} 
[2026-08-02 11:51:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4361947313616297984,"note":"Value kept but may cause issues"} 
[2026-08-02 11:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785634554000,"timestamp_ms":1785634554000,"timestamp_seconds":1785634554,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01d0090"} 
[2026-08-02 11:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 11:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122445056001,"66":27821,"227":206,"27":54016,"24":54,"16":367038988764053504,"44":-4361947313616297984},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 11:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122445056001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:51:15] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 11:51:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367038988764053504,"km_value":367038988764053.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:51:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4361947313616297984,"description":"Unknown IO ID 44"} 
[2026-08-02 11:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122445056001,"power":27821,"unknown_227":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4361947313616297984}} 
[2026-08-02 11:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":146554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:51:15] local.INFO: GPS data processed {"connection_id":146554,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:51:15] local.INFO: Acknowledgment sent {"connection_id":146554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:51:24] local.INFO: TCP Data received {"connection_id":146768,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:51:24] local.INFO: Processing buffer {"connection_id":146768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:51:24] local.INFO: IMEI packet received {"connection_id":146768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":146768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:51:29] local.INFO: TCP Data received {"connection_id":146768,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:51:29] local.INFO: Processing buffer {"connection_id":146768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:51:29] local.INFO: IMEI packet received {"connection_id":146768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":146768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:51:39] local.INFO: TCP Data received {"connection_id":146768,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01c77d8012cc2e4c007632ea00053009e2e..."} 
[2026-08-02 11:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01c77d8012cc2e4c007632ea00053009e2e..."} 
[2026-08-02 11:51:39] local.INFO: Processing buffer {"connection_id":146768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01c77d8012cc2e4c007632ea00053009e2e..."} 
[2026-08-02 11:51:39] local.INFO: Packet analysis {"connection_id":146768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01c"} 
[2026-08-02 11:51:39] local.INFO: Extracted packet for processing {"connection_id":146768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01c"} 
[2026-08-02 11:51:39] local.INFO: GPS Element Parsed {"raw_longitude":750970048,"raw_latitude":123940512,"longitude_deg":75.0970048,"latitude_deg":12.3940512,"altitude":83,"angle":158,"satellites":46,"speed":50,"hex_longitude":"2cc2e4c0","hex_latitude":"07632ea0","is_valid_coordinates":true} 
[2026-08-02 11:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122435328001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367036729611255808,"note":"Value kept but may cause issues"} 
[2026-08-02 11:51:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4405153722535286784,"note":"Value kept but may cause issues"} 
[2026-08-02 11:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785634519000,"timestamp_ms":1785634519000,"timestamp_seconds":1785634519,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01c77d8"} 
[2026-08-02 11:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 11:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122435328001,"66":27104,"227":206,"27":54016,"24":50,"16":367036729611255808,"44":-4405153722535286784},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 11:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122435328001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:51:39] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 11:51:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367036729611255808,"km_value":367036729611255.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:51:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4405153722535286784,"description":"Unknown IO ID 44"} 
[2026-08-02 11:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122435328001,"power":27104,"unknown_227":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-4405153722535286784}} 
[2026-08-02 11:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":146768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:51:39] local.INFO: GPS data processed {"connection_id":146768,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:51:39] local.INFO: Acknowledgment sent {"connection_id":146768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:52:24] local.INFO: TCP Data received {"connection_id":149100,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:52:24] local.INFO: Processing buffer {"connection_id":149100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:52:24] local.INFO: IMEI packet received {"connection_id":149100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":149100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:52:29] local.INFO: TCP Data received {"connection_id":149100,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:52:29] local.INFO: Processing buffer {"connection_id":149100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:52:29] local.INFO: IMEI packet received {"connection_id":149100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":149100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:52:35] local.INFO: TCP Data received {"connection_id":149100,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc01b6a50012cc2ea40076468580054009d2b..."} 
[2026-08-02 11:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc01b6a50012cc2ea40076468580054009d2b..."} 
[2026-08-02 11:52:35] local.INFO: Processing buffer {"connection_id":149100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc01b6a50012cc2ea40076468580054009d2b..."} 
[2026-08-02 11:52:35] local.INFO: Packet analysis {"connection_id":149100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc01b"} 
[2026-08-02 11:52:35] local.INFO: Extracted packet for processing {"connection_id":149100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc01b"} 
[2026-08-02 11:52:35] local.INFO: GPS Element Parsed {"raw_longitude":750971456,"raw_latitude":124020824,"longitude_deg":75.0971456,"latitude_deg":12.4020824,"altitude":84,"angle":157,"satellites":43,"speed":37,"hex_longitude":"2cc2ea40","hex_latitude":"07646858","is_valid_coordinates":true} 
[2026-08-02 11:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122416640001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367032748176572416,"note":"Value kept but may cause issues"} 
[2026-08-02 11:52:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4405364828746833920,"note":"Value kept but may cause issues"} 
[2026-08-02 11:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785634450000,"timestamp_ms":1785634450000,"timestamp_seconds":1785634450,"priority":1,"record_length":96,"hex_timestamp":"0000019fc01b6a50"} 
[2026-08-02 11:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11: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-08-02 11:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 11:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122416640001,"66":27800,"228":206,"27":54016,"24":37,"16":367032748176572416,"44":-4405364828746833920},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 11:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122416640001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:52:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 11:52:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367032748176572416,"km_value":367032748176572.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:52:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4405364828746833920,"description":"Unknown IO ID 44"} 
[2026-08-02 11:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122416640001,"power":27800,"unknown_228":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4405364828746833920}} 
[2026-08-02 11:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":149100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:52:35] local.INFO: GPS data processed {"connection_id":149100,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:52:35] local.INFO: Acknowledgment sent {"connection_id":149100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:53:32] local.INFO: TCP Data received {"connection_id":146555,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:53:32] local.INFO: Processing buffer {"connection_id":146555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:53:32] local.INFO: IMEI packet received {"connection_id":146555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":146555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:53:34] local.INFO: TCP Data received {"connection_id":146555,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:53:34] local.INFO: Processing buffer {"connection_id":146555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:53:34] local.INFO: IMEI packet received {"connection_id":146555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":146555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:53:39] local.INFO: TCP Data received {"connection_id":146555,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc123d9a0012cc330c007685958005800c524..."} 
[2026-08-02 11:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc123d9a0012cc330c007685958005800c524..."} 
[2026-08-02 11:53:39] local.INFO: Processing buffer {"connection_id":146555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc123d9a0012cc330c007685958005800c524..."} 
[2026-08-02 11:53:39] local.INFO: Packet analysis {"connection_id":146555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc123"} 
[2026-08-02 11:53:39] local.INFO: Extracted packet for processing {"connection_id":146555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc123"} 
[2026-08-02 11:53:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 11:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122393600001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 11:53:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4436819657376391168,"note":"Value kept but may cause issues"} 
[2026-08-02 11:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785651780000,"timestamp_ms":1785651780000,"timestamp_seconds":1785651780,"priority":1,"record_length":96,"hex_timestamp":"0000019fc123d9a0"} 
[2026-08-02 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-08-02 11: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-08-02 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 11:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 11:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122393600001,"66":25604,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4436819657376391168},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 11:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122393600001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:53:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 11:53:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:53:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4436819657376391168,"description":"Unknown IO ID 44"} 
[2026-08-02 11:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122393600001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4436819657376391168}} 
[2026-08-02 11:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":146555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:53:39] local.INFO: GPS data processed {"connection_id":146555,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:53:39] local.INFO: Acknowledgment sent {"connection_id":146555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:54:39] local.INFO: TCP Data received {"connection_id":146769,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:54:39] local.INFO: Processing buffer {"connection_id":146769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:54:39] local.INFO: IMEI packet received {"connection_id":146769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":146769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:54:45] local.INFO: TCP Data received {"connection_id":146769,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:54:45] local.INFO: Processing buffer {"connection_id":146769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:54:45] local.INFO: IMEI packet received {"connection_id":146769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":146769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:54:46] local.INFO: TCP Data received {"connection_id":146769,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc123d9a0012cc330c007685958005800c524..."} 
[2026-08-02 11:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146769,"packet_length":405,"packet_hex":"00000000000001898e050000019fc123d9a0012cc330c007685958005800c524..."} 
[2026-08-02 11:54:46] local.INFO: Processing buffer {"connection_id":146769,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc123d9a0012cc330c007685958005800c524..."} 
[2026-08-02 11:54:46] local.INFO: Packet analysis {"connection_id":146769,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc123"} 
[2026-08-02 11:54:46] local.INFO: Extracted packet for processing {"connection_id":146769,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc123"} 
[2026-08-02 11:54:46] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-08-02 11:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122393600001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 11:54:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4436819657376391168,"note":"Value kept but may cause issues"} 
[2026-08-02 11:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785651780000,"timestamp_ms":1785651780000,"timestamp_seconds":1785651780,"priority":1,"record_length":96,"hex_timestamp":"0000019fc123d9a0"} 
[2026-08-02 11:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":405,"current_offset":136} 
[2026-08-02 11:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:54:46] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146769,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 11:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122393600001,"66":25604,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4436819657376391168},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 11:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122393600001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:54:46] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 11:54:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:54:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4436819657376391168,"description":"Unknown IO ID 44"} 
[2026-08-02 11:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122393600001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4436819657376391168}} 
[2026-08-02 11:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":146769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:54:46] local.INFO: GPS data processed {"connection_id":146769,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:54:46] local.INFO: Acknowledgment sent {"connection_id":146769,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:54:56] local.INFO: TCP Data received {"connection_id":146769,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0195710012cc28e8007658f58005100ee2b..."} 
[2026-08-02 11:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0195710012cc28e8007658f58005100ee2b..."} 
[2026-08-02 11:54:56] local.INFO: Processing buffer {"connection_id":146769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0195710012cc28e8007658f58005100ee2b..."} 
[2026-08-02 11:54:56] local.INFO: Packet analysis {"connection_id":146769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc019"} 
[2026-08-02 11:54:56] local.INFO: Extracted packet for processing {"connection_id":146769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc019"} 
[2026-08-02 11:54:56] local.INFO: GPS Element Parsed {"raw_longitude":750947968,"raw_latitude":124096344,"longitude_deg":75.0947968,"latitude_deg":12.4096344,"altitude":81,"angle":238,"satellites":43,"speed":10,"hex_longitude":"2cc28e80","hex_latitude":"07658f58","is_valid_coordinates":true} 
[2026-08-02 11:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122384128001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367027920633331712,"note":"Value kept but may cause issues"} 
[2026-08-02 11:54:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4427108770680662016,"note":"Value kept but may cause issues"} 
[2026-08-02 11:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785634314000,"timestamp_ms":1785634314000,"timestamp_seconds":1785634314,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0195710"} 
[2026-08-02 11:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-02 11:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122384128001,"66":27180,"37":206,"27":54016,"24":10,"16":367027920633331712,"44":-4427108770680662016},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 11:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122384128001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:54:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 11:54:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367027920633331712,"km_value":367027920633331.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:54:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4427108770680662016,"description":"Unknown IO ID 44"} 
[2026-08-02 11:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122384128001,"power":27180,"unknown_37":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-4427108770680662016}} 
[2026-08-02 11:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":146769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:54:56] local.INFO: GPS data processed {"connection_id":146769,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:54:56] local.INFO: Acknowledgment sent {"connection_id":146769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:55:27] local.INFO: TCP Data received {"connection_id":147785,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:55:27] local.INFO: Processing buffer {"connection_id":147785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:55:27] local.INFO: IMEI packet received {"connection_id":147785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":147785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:55:29] local.INFO: TCP Data received {"connection_id":147785,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:55:29] local.INFO: Processing buffer {"connection_id":147785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:55:29] local.INFO: IMEI packet received {"connection_id":147785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":147785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:55:35] local.INFO: TCP Data received {"connection_id":147785,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc018c688012cc2a7800765f4e0004b00a22b..."} 
[2026-08-02 11:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc018c688012cc2a7800765f4e0004b00a22b..."} 
[2026-08-02 11:55:35] local.INFO: Processing buffer {"connection_id":147785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc018c688012cc2a7800765f4e0004b00a22b..."} 
[2026-08-02 11:55:35] local.INFO: Packet analysis {"connection_id":147785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc018"} 
[2026-08-02 11:55:35] local.INFO: Extracted packet for processing {"connection_id":147785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc018"} 
[2026-08-02 11:55:35] local.INFO: GPS Element Parsed {"raw_longitude":750954368,"raw_latitude":124122336,"longitude_deg":75.0954368,"latitude_deg":12.4122336,"altitude":75,"angle":162,"satellites":43,"speed":37,"hex_longitude":"2cc2a780","hex_latitude":"0765f4e0","is_valid_coordinates":true} 
[2026-08-02 11:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122372608001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367026589193469952,"note":"Value kept but may cause issues"} 
[2026-08-02 11:55:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4424012545928050688,"note":"Value kept but may cause issues"} 
[2026-08-02 11:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785634277000,"timestamp_ms":1785634277000,"timestamp_seconds":1785634277,"priority":1,"record_length":96,"hex_timestamp":"0000019fc018c688"} 
[2026-08-02 11:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 11:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122372608001,"66":27974,"36":206,"27":54016,"24":37,"16":367026589193469952,"44":-4424012545928050688},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 11:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122372608001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:55:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 11:55:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367026589193469952,"km_value":367026589193469.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:55:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4424012545928050688,"description":"Unknown IO ID 44"} 
[2026-08-02 11:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122372608001,"power":27974,"unknown_36":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4424012545928050688}} 
[2026-08-02 11:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":147785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:55:35] local.INFO: GPS data processed {"connection_id":147785,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:55:35] local.INFO: Acknowledgment sent {"connection_id":147785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:56:07] local.INFO: TCP Data received {"connection_id":147785,"ip":"117.224.14.1","data_length":639,"data_hex":"00000000000002738e080000019fc018c688012cc2a7800765f4e0004b00a22b..."} 
[2026-08-02 11:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147785,"packet_length":639,"packet_hex":"00000000000002738e080000019fc018c688012cc2a7800765f4e0004b00a22b..."} 
[2026-08-02 11:56:07] local.INFO: Processing buffer {"connection_id":147785,"buffer_length":639,"buffer_hex":"00000000000002738e080000019fc018c688012cc2a7800765f4e0004b00a22b..."} 
[2026-08-02 11:56:07] local.INFO: Packet analysis {"connection_id":147785,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019fc018"} 
[2026-08-02 11:56:07] local.INFO: Extracted packet for processing {"connection_id":147785,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019fc018"} 
[2026-08-02 11:56:07] local.INFO: GPS Element Parsed {"raw_longitude":750954368,"raw_latitude":124122336,"longitude_deg":75.0954368,"latitude_deg":12.4122336,"altitude":75,"angle":162,"satellites":43,"speed":37,"hex_longitude":"2cc2a780","hex_latitude":"0765f4e0","is_valid_coordinates":true} 
[2026-08-02 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":639,"current_offset":40} 
[2026-08-02 11:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122372608001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367026589193469952,"note":"Value kept but may cause issues"} 
[2026-08-02 11:56:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4424012545928050688,"note":"Value kept but may cause issues"} 
[2026-08-02 11:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785634277000,"timestamp_ms":1785634277000,"timestamp_seconds":1785634277,"priority":1,"record_length":96,"hex_timestamp":"0000019fc018c688"} 
[2026-08-02 11:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":108,"n8_eight_byte":119,"data_length":639,"current_offset":136} 
[2026-08-02 11:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:56:07] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147785,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-02 11:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122372608001,"66":27974,"36":206,"27":54016,"24":37,"16":367026589193469952,"44":-4424012545928050688},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 11:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122372608001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:56:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 11:56:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367026589193469952,"km_value":367026589193469.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:56:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4424012545928050688,"description":"Unknown IO ID 44"} 
[2026-08-02 11:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122372608001,"power":27974,"unknown_36":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4424012545928050688}} 
[2026-08-02 11:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":147785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:56:07] local.INFO: GPS data processed {"connection_id":147785,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:56:07] local.INFO: Acknowledgment sent {"connection_id":147785,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:56:25] local.INFO: TCP Data received {"connection_id":149101,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:56:25] local.INFO: Processing buffer {"connection_id":149101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:56:25] local.INFO: IMEI packet received {"connection_id":149101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":149101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:56:29] local.INFO: TCP Data received {"connection_id":149101,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:56:29] local.INFO: Processing buffer {"connection_id":149101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:56:29] local.INFO: IMEI packet received {"connection_id":149101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":149101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:56:35] local.INFO: TCP Data received {"connection_id":149101,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc017e010012cc30fc00766b4b8004e00ee2a..."} 
[2026-08-02 11:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc017e010012cc30fc00766b4b8004e00ee2a..."} 
[2026-08-02 11:56:35] local.INFO: Processing buffer {"connection_id":149101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc017e010012cc30fc00766b4b8004e00ee2a..."} 
[2026-08-02 11:56:35] local.INFO: Packet analysis {"connection_id":149101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc017"} 
[2026-08-02 11:56:35] local.INFO: Extracted packet for processing {"connection_id":149101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc017"} 
[2026-08-02 11:56:35] local.INFO: GPS Element Parsed {"raw_longitude":750981056,"raw_latitude":124171448,"longitude_deg":75.0981056,"latitude_deg":12.4171448,"altitude":78,"angle":238,"satellites":42,"speed":43,"hex_longitude":"2cc30fc0","hex_latitude":"0766b4b8","is_valid_coordinates":true} 
[2026-08-02 11:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122359296001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367023402327736320,"note":"Value kept but may cause issues"} 
[2026-08-02 11:56:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4389250386293565440,"note":"Value kept but may cause issues"} 
[2026-08-02 11:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785634218000,"timestamp_ms":1785634218000,"timestamp_seconds":1785634218,"priority":1,"record_length":96,"hex_timestamp":"0000019fc017e010"} 
[2026-08-02 11:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 11:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122359296001,"66":27767,"36":206,"27":54016,"24":43,"16":367023402327736320,"44":-4389250386293565440},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 11:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122359296001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:56:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 11:56:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367023402327736320,"km_value":367023402327736.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:56:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4389250386293565440,"description":"Unknown IO ID 44"} 
[2026-08-02 11:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122359296001,"power":27767,"unknown_36":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-4389250386293565440}} 
[2026-08-02 11:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":149101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:56:35] local.INFO: GPS data processed {"connection_id":149101,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:56:35] local.INFO: Acknowledgment sent {"connection_id":149101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:57:07] local.INFO: TCP Data received {"connection_id":149101,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc016a790012cc38ac00767a5e8005900bc2a..."} 
[2026-08-02 11:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc016a790012cc38ac00767a5e8005900bc2a..."} 
[2026-08-02 11:57:07] local.INFO: Processing buffer {"connection_id":149101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc016a790012cc38ac00767a5e8005900bc2a..."} 
[2026-08-02 11:57:07] local.INFO: Packet analysis {"connection_id":149101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc016"} 
[2026-08-02 11:57:07] local.INFO: Extracted packet for processing {"connection_id":149101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc016"} 
[2026-08-02 11:57:07] local.INFO: GPS Element Parsed {"raw_longitude":751012544,"raw_latitude":124233192,"longitude_deg":75.1012544,"latitude_deg":12.4233192,"altitude":89,"angle":188,"satellites":42,"speed":30,"hex_longitude":"2cc38ac0","hex_latitude":"0767a5e8","is_valid_coordinates":true} 
[2026-08-02 11:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122338816001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367019979238801408,"note":"Value kept but may cause issues"} 
[2026-08-02 11:57:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356247445258350592,"note":"Value kept but may cause issues"} 
[2026-08-02 11:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785634138000,"timestamp_ms":1785634138000,"timestamp_seconds":1785634138,"priority":1,"record_length":96,"hex_timestamp":"0000019fc016a790"} 
[2026-08-02 11:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11: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-08-02 11:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-02 11:57: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-08-02 11:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122338816001,"66":27865,"36":206,"27":54016,"24":30,"16":367019979238801408,"44":-4356247445258350592},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 11:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122338816001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:57:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 11:57:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367019979238801408,"km_value":367019979238801.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:57:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356247445258350592,"description":"Unknown IO ID 44"} 
[2026-08-02 11:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122338816001,"power":27865,"unknown_36":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-4356247445258350592}} 
[2026-08-02 11:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":149101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:57:07] local.INFO: GPS data processed {"connection_id":149101,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:57:07] local.INFO: Acknowledgment sent {"connection_id":149101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:57:24] local.INFO: TCP Data received {"connection_id":146770,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:57:24] local.INFO: Processing buffer {"connection_id":146770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:57:24] local.INFO: IMEI packet received {"connection_id":146770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":146770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:57:29] local.INFO: TCP Data received {"connection_id":146770,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:57:29] local.INFO: Processing buffer {"connection_id":146770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:57:29] local.INFO: IMEI packet received {"connection_id":146770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":146770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:57:35] local.INFO: TCP Data received {"connection_id":146770,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc0156740012cc334c007685bd8005900402a..."} 
[2026-08-02 11:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc0156740012cc334c007685bd8005900402a..."} 
[2026-08-02 11:57:35] local.INFO: Processing buffer {"connection_id":146770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc0156740012cc334c007685bd8005900402a..."} 
[2026-08-02 11:57:35] local.INFO: Packet analysis {"connection_id":146770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc015"} 
[2026-08-02 11:57:35] local.INFO: Extracted packet for processing {"connection_id":146770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc015"} 
[2026-08-02 11:57:35] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124279768,"longitude_deg":75.0990528,"latitude_deg":12.4279768,"altitude":89,"angle":64,"satellites":42,"speed":2,"hex_longitude":"2cc334c0","hex_latitude":"07685bd8","is_valid_coordinates":true} 
[2026-08-02 11:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 11:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122315008001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018969921486848,"note":"Value kept but may cause issues"} 
[2026-08-02 11:57:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381157980685789184,"note":"Value kept but may cause issues"} 
[2026-08-02 11:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785634056000,"timestamp_ms":1785634056000,"timestamp_seconds":1785634056,"priority":1,"record_length":96,"hex_timestamp":"0000019fc0156740"} 
[2026-08-02 11:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 11:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122315008001,"66":27876,"36":206,"27":54016,"24":2,"16":367018969921486848,"44":-4381157980685789184},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 11:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122315008001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:57:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 11:57:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018969921486848,"km_value":367018969921486.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:57:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381157980685789184,"description":"Unknown IO ID 44"} 
[2026-08-02 11:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122315008001,"power":27876,"unknown_36":206,"unknown_27":54016,"ignition":2,"odometer":null,"unknown_44":-4381157980685789184}} 
[2026-08-02 11:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":146770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:57:35] local.INFO: GPS data processed {"connection_id":146770,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:57:35] local.INFO: Acknowledgment sent {"connection_id":146770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:58:07] local.INFO: TCP Data received {"connection_id":146770,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 11:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 11:58:07] local.INFO: Processing buffer {"connection_id":146770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc00d6860012cc330c007685b20006100cd2b..."} 
[2026-08-02 11:58:07] local.INFO: Packet analysis {"connection_id":146770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 11:58:07] local.INFO: Extracted packet for processing {"connection_id":146770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc00d"} 
[2026-08-02 11:58:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 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-08-02 11:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457122107136001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 11:58:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 11:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785633532000,"timestamp_ms":1785633532000,"timestamp_seconds":1785633532,"priority":1,"record_length":96,"hex_timestamp":"0000019fc00d6860"} 
[2026-08-02 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-08-02 11:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 11:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 11:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 11:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457122107136001,"66":25397,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 11:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457122107136001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:58:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 11:58:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:58:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 11:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457122107136001,"power":25397,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 11:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":146770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:58:07] local.INFO: GPS data processed {"connection_id":146770,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:58:07] local.INFO: Acknowledgment sent {"connection_id":146770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:58:24] local.INFO: TCP Data received {"connection_id":147786,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:58:24] local.INFO: Processing buffer {"connection_id":147786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:58:24] local.INFO: IMEI packet received {"connection_id":147786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":147786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:58:29] local.INFO: TCP Data received {"connection_id":147786,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:58:29] local.INFO: Processing buffer {"connection_id":147786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:58:29] local.INFO: IMEI packet received {"connection_id":147786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":147786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:58:35] local.INFO: TCP Data received {"connection_id":147786,"ip":"117.224.14.1","data_length":717,"data_hex":"00000000000002c18e090000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 11:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147786,"packet_length":717,"packet_hex":"00000000000002c18e090000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 11:58:35] local.INFO: Processing buffer {"connection_id":147786,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019fbfdf7a90012cc330c007685b20006100cd2e..."} 
[2026-08-02 11:58:35] local.INFO: Packet analysis {"connection_id":147786,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019fbfdf"} 
[2026-08-02 11:58:35] local.INFO: Extracted packet for processing {"connection_id":147786,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019fbfdf"} 
[2026-08-02 11:58:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":97,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-02 11:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":717,"current_offset":40} 
[2026-08-02 11:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457121336576001,"note":"Value kept but may cause issues"} 
[2026-08-02 11:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-02 11:58:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-02 11:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 11:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785630522000,"timestamp_ms":1785630522000,"timestamp_seconds":1785630522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbfdf7a90"} 
[2026-08-02 11:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 11:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 11:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":717,"current_offset":136} 
[2026-08-02 11:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:58:35] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 11:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147786,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-02 11:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 11:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 11:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 11:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 11:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457121336576001,"66":25462,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 11:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 11:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 11:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457121336576001,"description":"Unknown IO ID 0"} 
[2026-08-02 11:58:35] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 11:58:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 11:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 11:58:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-02 11:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457121336576001,"power":25462,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-02 11:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":147786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 11:58:35] local.INFO: GPS data processed {"connection_id":147786,"processed":1,"errors":0,"total":1} 
[2026-08-02 11:58:35] local.INFO: Acknowledgment sent {"connection_id":147786,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 11:59:06] local.INFO: TCP Data received {"connection_id":147786,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 11:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147786,"packet_length":93,"packet_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 11:59:06] local.INFO: Processing buffer {"connection_id":147786,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 11:59:06] local.INFO: Packet analysis {"connection_id":147786,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 11:59:06] local.INFO: Extracted packet for processing {"connection_id":147786,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 11:59:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11: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":93,"current_offset":40} 
[2026-08-02 11:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:59:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:59:06] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 11:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147786,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 11:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147786,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147786,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 11:59:06] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 11:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":147786,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 11:59:06] local.ERROR: GPS data processing failed {"connection_id":147786,"error":"No valid data to process"} 
[2026-08-02 11:59:06] local.INFO: Acknowledgment sent {"connection_id":147786,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 11:59:26] local.INFO: TCP Data received {"connection_id":149102,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:59:26] local.INFO: Processing buffer {"connection_id":149102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:59:26] local.INFO: IMEI packet received {"connection_id":149102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 11:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":149102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 11:59:29] local.INFO: TCP Data received {"connection_id":149102,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:59:29] local.INFO: Processing buffer {"connection_id":149102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 11:59:29] local.INFO: IMEI packet received {"connection_id":149102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 11:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":149102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 11:59:30] local.INFO: TCP Data received {"connection_id":149102,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 11:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149102,"packet_length":93,"packet_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 11:59:30] local.INFO: Processing buffer {"connection_id":149102,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 11:59:30] local.INFO: Packet analysis {"connection_id":149102,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 11:59:30] local.INFO: Extracted packet for processing {"connection_id":149102,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 11:59:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11: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":93,"current_offset":40} 
[2026-08-02 11:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:59:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:59:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 11:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149102,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 11:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149102,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149102,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 11:59:30] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 11:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":149102,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 11:59:30] local.ERROR: GPS data processing failed {"connection_id":149102,"error":"No valid data to process"} 
[2026-08-02 11:59:30] local.INFO: Acknowledgment sent {"connection_id":149102,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 11:59:35] local.INFO: TCP Data received {"connection_id":149102,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 11:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149102,"packet_length":93,"packet_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 11:59:35] local.INFO: Processing buffer {"connection_id":149102,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 11:59:35] local.INFO: Packet analysis {"connection_id":149102,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 11:59:35] local.INFO: Extracted packet for processing {"connection_id":149102,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 11:59:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 11:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-02 11:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 11:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 11:59:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 11:59:35] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 11:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149102,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 11:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149102,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149102,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 11:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 11:59:35] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 11:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":149102,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 11:59:35] local.ERROR: GPS data processing failed {"connection_id":149102,"error":"No valid data to process"} 
[2026-08-02 11:59:35] local.INFO: Acknowledgment sent {"connection_id":149102,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 12:00:25] local.INFO: TCP Data received {"connection_id":147787,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:00:25] local.INFO: Processing buffer {"connection_id":147787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:00:25] local.INFO: IMEI packet received {"connection_id":147787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":147787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:00:29] local.INFO: TCP Data received {"connection_id":147787,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:00:29] local.INFO: Processing buffer {"connection_id":147787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:00:29] local.INFO: IMEI packet received {"connection_id":147787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":147787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:00:30] local.INFO: TCP Data received {"connection_id":147787,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147787,"packet_length":93,"packet_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:00:30] local.INFO: Processing buffer {"connection_id":147787,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:00:30] local.INFO: Packet analysis {"connection_id":147787,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:00:30] local.INFO: Extracted packet for processing {"connection_id":147787,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:00:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-02 12:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:00:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:00:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 12:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147787,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 12:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147787,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147787,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 12:00:30] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 12:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":147787,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 12:00:30] local.ERROR: GPS data processing failed {"connection_id":147787,"error":"No valid data to process"} 
[2026-08-02 12:00:30] local.INFO: Acknowledgment sent {"connection_id":147787,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 12:01:04] local.INFO: TCP Data received {"connection_id":147787,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147787,"packet_length":93,"packet_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:01:04] local.INFO: Processing buffer {"connection_id":147787,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:01:04] local.INFO: Packet analysis {"connection_id":147787,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:01:04] local.INFO: Extracted packet for processing {"connection_id":147787,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:01:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":93,"current_offset":40} 
[2026-08-02 12:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:01:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:01:04] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 12:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147787,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 12:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147787,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147787,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 12:01:04] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 12:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":147787,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 12:01:04] local.ERROR: GPS data processing failed {"connection_id":147787,"error":"No valid data to process"} 
[2026-08-02 12:01:04] local.INFO: Acknowledgment sent {"connection_id":147787,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 12:01:24] local.INFO: TCP Data received {"connection_id":146556,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:01:24] local.INFO: Processing buffer {"connection_id":146556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:01:24] local.INFO: IMEI packet received {"connection_id":146556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":146556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:01:29] local.INFO: TCP Data received {"connection_id":146556,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:01:29] local.INFO: Processing buffer {"connection_id":146556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:01:29] local.INFO: IMEI packet received {"connection_id":146556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":146556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:01:30] local.INFO: TCP Data received {"connection_id":146556,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146556,"packet_length":93,"packet_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:01:30] local.INFO: Processing buffer {"connection_id":146556,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:01:30] local.INFO: Packet analysis {"connection_id":146556,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:01:30] local.INFO: Extracted packet for processing {"connection_id":146556,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:01:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-02 12:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:01:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:01:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 12:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146556,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 12:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146556,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146556,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 12:01:30] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 12:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":146556,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 12:01:30] local.ERROR: GPS data processing failed {"connection_id":146556,"error":"No valid data to process"} 
[2026-08-02 12:01:30] local.INFO: Acknowledgment sent {"connection_id":146556,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 12:02:05] local.INFO: TCP Data received {"connection_id":146556,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146556,"packet_length":93,"packet_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:02:05] local.INFO: Processing buffer {"connection_id":146556,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:02:05] local.INFO: Packet analysis {"connection_id":146556,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:02:05] local.INFO: Extracted packet for processing {"connection_id":146556,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:02:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":93,"current_offset":40} 
[2026-08-02 12:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:02:05] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:02:05] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 12:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146556,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 12:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146556,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146556,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 12:02:05] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 12:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":146556,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 12:02:05] local.ERROR: GPS data processing failed {"connection_id":146556,"error":"No valid data to process"} 
[2026-08-02 12:02:05] local.INFO: Acknowledgment sent {"connection_id":146556,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 12:02:29] local.INFO: TCP Data received {"connection_id":146557,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:02:29] local.INFO: Processing buffer {"connection_id":146557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:02:29] local.INFO: IMEI packet received {"connection_id":146557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":146557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:02:37] local.INFO: TCP Data received {"connection_id":146557,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:02:37] local.INFO: Processing buffer {"connection_id":146557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:02:37] local.INFO: IMEI packet received {"connection_id":146557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":146557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:02:38] local.INFO: TCP Data received {"connection_id":146557,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146557,"packet_length":93,"packet_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:02:38] local.INFO: Processing buffer {"connection_id":146557,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:02:38] local.INFO: Packet analysis {"connection_id":146557,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:02:38] local.INFO: Extracted packet for processing {"connection_id":146557,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:02:38] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":93,"current_offset":40} 
[2026-08-02 12:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:02:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:02:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 12:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146557,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 12:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146557,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146557,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 12:02:38] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 12:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":146557,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 12:02:38] local.ERROR: GPS data processing failed {"connection_id":146557,"error":"No valid data to process"} 
[2026-08-02 12:02:38] local.INFO: Acknowledgment sent {"connection_id":146557,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 12:02:39] local.INFO: TCP Data received {"connection_id":146557,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146557,"packet_length":93,"packet_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:02:39] local.INFO: Processing buffer {"connection_id":146557,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:02:39] local.INFO: Packet analysis {"connection_id":146557,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:02:39] local.INFO: Extracted packet for processing {"connection_id":146557,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:02:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":93,"current_offset":40} 
[2026-08-02 12:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:02:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:02:39] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 12:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146557,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 12:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146557,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146557,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 12:02:39] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 12:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":146557,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 12:02:39] local.ERROR: GPS data processing failed {"connection_id":146557,"error":"No valid data to process"} 
[2026-08-02 12:02:39] local.INFO: Acknowledgment sent {"connection_id":146557,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 12:03:24] local.INFO: TCP Data received {"connection_id":149103,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:03:24] local.INFO: Processing buffer {"connection_id":149103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:03:24] local.INFO: IMEI packet received {"connection_id":149103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":149103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:03:30] local.INFO: TCP Data received {"connection_id":149103,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:03:30] local.INFO: Processing buffer {"connection_id":149103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:03:30] local.INFO: IMEI packet received {"connection_id":149103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":149103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:03:30] local.INFO: TCP Data received {"connection_id":149103,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149103,"packet_length":93,"packet_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:03:30] local.INFO: Processing buffer {"connection_id":149103,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:03:30] local.INFO: Packet analysis {"connection_id":149103,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:03:30] local.INFO: Extracted packet for processing {"connection_id":149103,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:03:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":93,"current_offset":40} 
[2026-08-02 12:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:03:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:03:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 12:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149103,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 12:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149103,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149103,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 12:03:30] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 12:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":149103,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 12:03:30] local.ERROR: GPS data processing failed {"connection_id":149103,"error":"No valid data to process"} 
[2026-08-02 12:03:30] local.INFO: Acknowledgment sent {"connection_id":149103,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 12:03:34] local.INFO: TCP Data received {"connection_id":149103,"ip":"117.224.14.1","data_length":93,"data_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149103,"packet_length":93,"packet_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:03:34] local.INFO: Processing buffer {"connection_id":149103,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc1287168012cc330c007685958005800c526..."} 
[2026-08-02 12:03:34] local.INFO: Packet analysis {"connection_id":149103,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:03:34] local.INFO: Extracted packet for processing {"connection_id":149103,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc128"} 
[2026-08-02 12:03:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-02 12:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:03:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:03:34] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 12:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149103,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 12:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149103,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149103,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-02 12:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 12:03:34] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 12:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":149103,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 12:03:34] local.ERROR: GPS data processing failed {"connection_id":149103,"error":"No valid data to process"} 
[2026-08-02 12:03:34] local.INFO: Acknowledgment sent {"connection_id":149103,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 12:04:06] local.INFO: TCP Data received {"connection_id":149103,"ip":"117.224.14.1","data_length":171,"data_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149103,"packet_length":171,"packet_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:04:06] local.INFO: Processing buffer {"connection_id":149103,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:04:06] local.INFO: Packet analysis {"connection_id":149103,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:04:06] local.INFO: Extracted packet for processing {"connection_id":149103,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:04:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":171,"current_offset":40} 
[2026-08-02 12:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457126932736001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785652382000,"timestamp_ms":1785652382000,"timestamp_seconds":1785652382,"priority":1,"record_length":96,"hex_timestamp":"0000019fc12d0930"} 
[2026-08-02 12:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:04: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-08-02 12: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":100,"n8_eight_byte":25,"data_length":171,"current_offset":136} 
[2026-08-02 12:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:04:06] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149103,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 12:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457126932736001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457126932736001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:04:06] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:04:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457126932736001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":149103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:04:06] local.INFO: GPS data processed {"connection_id":149103,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:04:06] local.INFO: Acknowledgment sent {"connection_id":149103,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:04:24] local.INFO: TCP Data received {"connection_id":147788,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:04:24] local.INFO: Processing buffer {"connection_id":147788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:04:24] local.INFO: IMEI packet received {"connection_id":147788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":147788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:04:29] local.INFO: TCP Data received {"connection_id":147788,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:04:29] local.INFO: Processing buffer {"connection_id":147788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:04:29] local.INFO: IMEI packet received {"connection_id":147788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":147788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:04:30] local.INFO: TCP Data received {"connection_id":147788,"ip":"117.224.14.1","data_length":171,"data_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147788,"packet_length":171,"packet_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:04:30] local.INFO: Processing buffer {"connection_id":147788,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:04:30] local.INFO: Packet analysis {"connection_id":147788,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:04:30] local.INFO: Extracted packet for processing {"connection_id":147788,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:04:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-08-02 12:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457126932736001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785652382000,"timestamp_ms":1785652382000,"timestamp_seconds":1785652382,"priority":1,"record_length":96,"hex_timestamp":"0000019fc12d0930"} 
[2026-08-02 12:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":171,"current_offset":136} 
[2026-08-02 12:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:04:30] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147788,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 12:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457126932736001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457126932736001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:04:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:04:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457126932736001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":147788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:04:30] local.INFO: GPS data processed {"connection_id":147788,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:04:30] local.INFO: Acknowledgment sent {"connection_id":147788,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:05:07] local.INFO: TCP Data received {"connection_id":147788,"ip":"117.224.14.1","data_length":171,"data_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147788,"packet_length":171,"packet_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:05:07] local.INFO: Processing buffer {"connection_id":147788,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:05:07] local.INFO: Packet analysis {"connection_id":147788,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:05:07] local.INFO: Extracted packet for processing {"connection_id":147788,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:05:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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":171,"current_offset":40} 
[2026-08-02 12:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457126932736001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:05:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785652382000,"timestamp_ms":1785652382000,"timestamp_seconds":1785652382,"priority":1,"record_length":96,"hex_timestamp":"0000019fc12d0930"} 
[2026-08-02 12:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12: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-08-02 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":25,"data_length":171,"current_offset":136} 
[2026-08-02 12:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:05:07] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147788,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 12:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457126932736001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457126932736001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:05:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:05:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:05:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457126932736001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":147788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:05:07] local.INFO: GPS data processed {"connection_id":147788,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:05:07] local.INFO: Acknowledgment sent {"connection_id":147788,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:05:29] local.INFO: TCP Data received {"connection_id":147789,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:05:29] local.INFO: Processing buffer {"connection_id":147789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:05:29] local.INFO: IMEI packet received {"connection_id":147789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":147789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:05:34] local.INFO: TCP Data received {"connection_id":147789,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:05:34] local.INFO: Processing buffer {"connection_id":147789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:05:34] local.INFO: IMEI packet received {"connection_id":147789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":147789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:05:35] local.INFO: TCP Data received {"connection_id":147789,"ip":"117.224.14.1","data_length":171,"data_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147789,"packet_length":171,"packet_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:05:35] local.INFO: Processing buffer {"connection_id":147789,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:05:35] local.INFO: Packet analysis {"connection_id":147789,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:05:35] local.INFO: Extracted packet for processing {"connection_id":147789,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:05:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-08-02 12:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457126932736001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:05:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785652382000,"timestamp_ms":1785652382000,"timestamp_seconds":1785652382,"priority":1,"record_length":96,"hex_timestamp":"0000019fc12d0930"} 
[2026-08-02 12:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":171,"current_offset":136} 
[2026-08-02 12:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:05:35] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147789,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 12:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457126932736001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457126932736001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:05:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:05:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:05:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457126932736001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":147789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:05:35] local.INFO: GPS data processed {"connection_id":147789,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:05:35] local.INFO: Acknowledgment sent {"connection_id":147789,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:05:40] local.INFO: TCP Data received {"connection_id":147789,"ip":"117.224.14.1","data_length":171,"data_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147789,"packet_length":171,"packet_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:05:40] local.INFO: Processing buffer {"connection_id":147789,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:05:40] local.INFO: Packet analysis {"connection_id":147789,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:05:40] local.INFO: Extracted packet for processing {"connection_id":147789,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:05:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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":171,"current_offset":40} 
[2026-08-02 12:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457126932736001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:05:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785652382000,"timestamp_ms":1785652382000,"timestamp_seconds":1785652382,"priority":1,"record_length":96,"hex_timestamp":"0000019fc12d0930"} 
[2026-08-02 12:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":25,"data_length":171,"current_offset":136} 
[2026-08-02 12:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:05:40] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147789,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 12:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457126932736001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457126932736001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:05:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:05:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:05:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457126932736001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":147789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:05:40] local.INFO: GPS data processed {"connection_id":147789,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:05:40] local.INFO: Acknowledgment sent {"connection_id":147789,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:06:24] local.INFO: TCP Data received {"connection_id":149104,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:06:24] local.INFO: Processing buffer {"connection_id":149104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:06:24] local.INFO: IMEI packet received {"connection_id":149104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":149104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:06:29] local.INFO: TCP Data received {"connection_id":149104,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:06:29] local.INFO: Processing buffer {"connection_id":149104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:06:29] local.INFO: IMEI packet received {"connection_id":149104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":149104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:06:30] local.INFO: TCP Data received {"connection_id":149104,"ip":"117.224.14.1","data_length":171,"data_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149104,"packet_length":171,"packet_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:06:30] local.INFO: Processing buffer {"connection_id":149104,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:06:30] local.INFO: Packet analysis {"connection_id":149104,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:06:30] local.INFO: Extracted packet for processing {"connection_id":149104,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:06:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-08-02 12:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457126932736001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785652382000,"timestamp_ms":1785652382000,"timestamp_seconds":1785652382,"priority":1,"record_length":96,"hex_timestamp":"0000019fc12d0930"} 
[2026-08-02 12:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":171,"current_offset":136} 
[2026-08-02 12:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:06:30] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149104,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 12:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457126932736001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457126932736001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:06:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:06:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457126932736001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":149104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:06:30] local.INFO: GPS data processed {"connection_id":149104,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:06:30] local.INFO: Acknowledgment sent {"connection_id":149104,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:07:05] local.INFO: TCP Data received {"connection_id":149104,"ip":"117.224.14.1","data_length":171,"data_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149104,"packet_length":171,"packet_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:07:05] local.INFO: Processing buffer {"connection_id":149104,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:07:05] local.INFO: Packet analysis {"connection_id":149104,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:07:05] local.INFO: Extracted packet for processing {"connection_id":149104,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:07:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":171,"current_offset":40} 
[2026-08-02 12:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457126932736001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:07:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785652382000,"timestamp_ms":1785652382000,"timestamp_seconds":1785652382,"priority":1,"record_length":96,"hex_timestamp":"0000019fc12d0930"} 
[2026-08-02 12:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":25,"data_length":171,"current_offset":136} 
[2026-08-02 12:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:07:05] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149104,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 12:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457126932736001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457126932736001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:07:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:07:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:07:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457126932736001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":149104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:07:05] local.INFO: GPS data processed {"connection_id":149104,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:07:05] local.INFO: Acknowledgment sent {"connection_id":149104,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:07:24] local.INFO: TCP Data received {"connection_id":147790,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:07:24] local.INFO: Processing buffer {"connection_id":147790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:07:24] local.INFO: IMEI packet received {"connection_id":147790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":147790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:07:29] local.INFO: TCP Data received {"connection_id":147790,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:07:29] local.INFO: Processing buffer {"connection_id":147790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:07:29] local.INFO: IMEI packet received {"connection_id":147790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":147790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:07:30] local.INFO: TCP Data received {"connection_id":147790,"ip":"117.224.14.1","data_length":171,"data_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147790,"packet_length":171,"packet_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:07:30] local.INFO: Processing buffer {"connection_id":147790,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:07:30] local.INFO: Packet analysis {"connection_id":147790,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:07:30] local.INFO: Extracted packet for processing {"connection_id":147790,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:07:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-08-02 12:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457126932736001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785652382000,"timestamp_ms":1785652382000,"timestamp_seconds":1785652382,"priority":1,"record_length":96,"hex_timestamp":"0000019fc12d0930"} 
[2026-08-02 12:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":171,"current_offset":136} 
[2026-08-02 12:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:07:30] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147790,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 12:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457126932736001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457126932736001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:07:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:07:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457126932736001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":147790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:07:30] local.INFO: GPS data processed {"connection_id":147790,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:07:30] local.INFO: Acknowledgment sent {"connection_id":147790,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:08:05] local.INFO: TCP Data received {"connection_id":147790,"ip":"117.224.14.1","data_length":171,"data_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147790,"packet_length":171,"packet_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:08:05] local.INFO: Processing buffer {"connection_id":147790,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:08:05] local.INFO: Packet analysis {"connection_id":147790,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:08:05] local.INFO: Extracted packet for processing {"connection_id":147790,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:08:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":171,"current_offset":40} 
[2026-08-02 12:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457126932736001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:08:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785652382000,"timestamp_ms":1785652382000,"timestamp_seconds":1785652382,"priority":1,"record_length":96,"hex_timestamp":"0000019fc12d0930"} 
[2026-08-02 12:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":171,"current_offset":136} 
[2026-08-02 12:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:08:05] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147790,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 12:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457126932736001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457126932736001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:08:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:08:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:08:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457126932736001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":147790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:08:05] local.INFO: GPS data processed {"connection_id":147790,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:08:05] local.INFO: Acknowledgment sent {"connection_id":147790,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:08:24] local.INFO: TCP Data received {"connection_id":149105,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:08:24] local.INFO: Processing buffer {"connection_id":149105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:08:24] local.INFO: IMEI packet received {"connection_id":149105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":149105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:08:29] local.INFO: TCP Data received {"connection_id":149105,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:08:29] local.INFO: Processing buffer {"connection_id":149105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:08:29] local.INFO: IMEI packet received {"connection_id":149105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":149105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:08:30] local.INFO: TCP Data received {"connection_id":149105,"ip":"117.224.14.1","data_length":171,"data_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149105,"packet_length":171,"packet_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:08:30] local.INFO: Processing buffer {"connection_id":149105,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fc12d0930012cc330c007685958005800c527..."} 
[2026-08-02 12:08:30] local.INFO: Packet analysis {"connection_id":149105,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:08:30] local.INFO: Extracted packet for processing {"connection_id":149105,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fc12d"} 
[2026-08-02 12:08:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":171,"current_offset":40} 
[2026-08-02 12:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457126932736001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785652382000,"timestamp_ms":1785652382000,"timestamp_seconds":1785652382,"priority":1,"record_length":96,"hex_timestamp":"0000019fc12d0930"} 
[2026-08-02 12:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":25,"data_length":171,"current_offset":136} 
[2026-08-02 12:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:08:30] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149105,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-02 12:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457126932736001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457126932736001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:08:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:08:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457126932736001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":149105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:08:30] local.INFO: GPS data processed {"connection_id":149105,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:08:30] local.INFO: Acknowledgment sent {"connection_id":149105,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:09:01] local.INFO: TCP Data received {"connection_id":149105,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149105,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:09:01] local.INFO: Processing buffer {"connection_id":149105,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:09:01] local.INFO: Packet analysis {"connection_id":149105,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:09:01] local.INFO: Extracted packet for processing {"connection_id":149105,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:09:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-08-02 12:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127009792001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:09:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785652683000,"timestamp_ms":1785652683000,"timestamp_seconds":1785652683,"priority":1,"record_length":96,"hex_timestamp":"0000019fc131a0f8"} 
[2026-08-02 12:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":249,"current_offset":136} 
[2026-08-02 12:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:09:01] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149105,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 12:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127009792001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127009792001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:09:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:09:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:09:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127009792001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":149105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:09:01] local.INFO: GPS data processed {"connection_id":149105,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:09:01] local.INFO: Acknowledgment sent {"connection_id":149105,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:09:29] local.INFO: TCP Data received {"connection_id":146558,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:09:29] local.INFO: Processing buffer {"connection_id":146558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:09:29] local.INFO: IMEI packet received {"connection_id":146558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":146558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:09:34] local.INFO: TCP Data received {"connection_id":146558,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:09:34] local.INFO: Processing buffer {"connection_id":146558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:09:34] local.INFO: IMEI packet received {"connection_id":146558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":146558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:09:35] local.INFO: TCP Data received {"connection_id":146558,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146558,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:09:35] local.INFO: Processing buffer {"connection_id":146558,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:09:35] local.INFO: Packet analysis {"connection_id":146558,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:09:35] local.INFO: Extracted packet for processing {"connection_id":146558,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:09:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-08-02 12:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127009792001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:09:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785652683000,"timestamp_ms":1785652683000,"timestamp_seconds":1785652683,"priority":1,"record_length":96,"hex_timestamp":"0000019fc131a0f8"} 
[2026-08-02 12:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":249,"current_offset":136} 
[2026-08-02 12:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:09:35] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146558,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 12:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127009792001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127009792001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:09:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:09:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:09:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127009792001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":146558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:09:35] local.INFO: GPS data processed {"connection_id":146558,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:09:35] local.INFO: Acknowledgment sent {"connection_id":146558,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:09:40] local.INFO: TCP Data received {"connection_id":146558,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146558,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:09:40] local.INFO: Processing buffer {"connection_id":146558,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:09:40] local.INFO: Packet analysis {"connection_id":146558,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:09:40] local.INFO: Extracted packet for processing {"connection_id":146558,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:09:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":249,"current_offset":40} 
[2026-08-02 12:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127009792001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:09:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785652683000,"timestamp_ms":1785652683000,"timestamp_seconds":1785652683,"priority":1,"record_length":96,"hex_timestamp":"0000019fc131a0f8"} 
[2026-08-02 12:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:09: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-08-02 12: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":25,"data_length":249,"current_offset":136} 
[2026-08-02 12:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:09:40] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146558,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 12:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127009792001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127009792001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:09:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:09:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:09:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127009792001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":146558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:09:40] local.INFO: GPS data processed {"connection_id":146558,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:09:40] local.INFO: Acknowledgment sent {"connection_id":146558,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:10:25] local.INFO: TCP Data received {"connection_id":146559,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:10:25] local.INFO: Processing buffer {"connection_id":146559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:10:25] local.INFO: IMEI packet received {"connection_id":146559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":146559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:10:29] local.INFO: TCP Data received {"connection_id":146559,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:10:29] local.INFO: Processing buffer {"connection_id":146559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:10:29] local.INFO: IMEI packet received {"connection_id":146559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":146559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:10:30] local.INFO: TCP Data received {"connection_id":146559,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146559,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:10:30] local.INFO: Processing buffer {"connection_id":146559,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:10:30] local.INFO: Packet analysis {"connection_id":146559,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:10:30] local.INFO: Extracted packet for processing {"connection_id":146559,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:10:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-08-02 12:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127009792001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785652683000,"timestamp_ms":1785652683000,"timestamp_seconds":1785652683,"priority":1,"record_length":96,"hex_timestamp":"0000019fc131a0f8"} 
[2026-08-02 12:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":249,"current_offset":136} 
[2026-08-02 12:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:10:30] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146559,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 12:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127009792001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127009792001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:10:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:10:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127009792001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":146559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:10:30] local.INFO: GPS data processed {"connection_id":146559,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:10:30] local.INFO: Acknowledgment sent {"connection_id":146559,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:10:39] local.INFO: TCP Data received {"connection_id":146559,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146559,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:10:39] local.INFO: Processing buffer {"connection_id":146559,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:10:39] local.INFO: Packet analysis {"connection_id":146559,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:10:39] local.INFO: Extracted packet for processing {"connection_id":146559,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:10:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":249,"current_offset":40} 
[2026-08-02 12:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127009792001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:10:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785652683000,"timestamp_ms":1785652683000,"timestamp_seconds":1785652683,"priority":1,"record_length":96,"hex_timestamp":"0000019fc131a0f8"} 
[2026-08-02 12:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12: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-08-02 12: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":100,"n8_eight_byte":25,"data_length":249,"current_offset":136} 
[2026-08-02 12:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:10:39] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146559,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 12:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127009792001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127009792001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:10:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:10:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:10:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127009792001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":146559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:10:39] local.INFO: GPS data processed {"connection_id":146559,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:10:39] local.INFO: Acknowledgment sent {"connection_id":146559,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:11:24] local.INFO: TCP Data received {"connection_id":146771,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:11:24] local.INFO: Processing buffer {"connection_id":146771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:11:24] local.INFO: IMEI packet received {"connection_id":146771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":146771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:11:29] local.INFO: TCP Data received {"connection_id":146771,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:11:29] local.INFO: Processing buffer {"connection_id":146771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:11:29] local.INFO: IMEI packet received {"connection_id":146771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":146771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:11:30] local.INFO: TCP Data received {"connection_id":146771,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146771,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:11:30] local.INFO: Processing buffer {"connection_id":146771,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:11:30] local.INFO: Packet analysis {"connection_id":146771,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:11:30] local.INFO: Extracted packet for processing {"connection_id":146771,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:11:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-08-02 12:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127009792001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785652683000,"timestamp_ms":1785652683000,"timestamp_seconds":1785652683,"priority":1,"record_length":96,"hex_timestamp":"0000019fc131a0f8"} 
[2026-08-02 12:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":249,"current_offset":136} 
[2026-08-02 12:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:11:30] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146771,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 12:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127009792001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127009792001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:11:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:11:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127009792001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":146771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:11:30] local.INFO: GPS data processed {"connection_id":146771,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:11:30] local.INFO: Acknowledgment sent {"connection_id":146771,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:12:07] local.INFO: TCP Data received {"connection_id":146771,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146771,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:12:07] local.INFO: Processing buffer {"connection_id":146771,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:12:07] local.INFO: Packet analysis {"connection_id":146771,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:12:07] local.INFO: Extracted packet for processing {"connection_id":146771,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:12:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":249,"current_offset":40} 
[2026-08-02 12:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127009792001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:12:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785652683000,"timestamp_ms":1785652683000,"timestamp_seconds":1785652683,"priority":1,"record_length":96,"hex_timestamp":"0000019fc131a0f8"} 
[2026-08-02 12:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12: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-08-02 12: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":25,"data_length":249,"current_offset":136} 
[2026-08-02 12:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:12:07] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146771,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 12:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127009792001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127009792001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:12:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:12:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:12:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127009792001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":146771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:12:07] local.INFO: GPS data processed {"connection_id":146771,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:12:07] local.INFO: Acknowledgment sent {"connection_id":146771,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:12:24] local.INFO: TCP Data received {"connection_id":146560,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:12:24] local.INFO: Processing buffer {"connection_id":146560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:12:24] local.INFO: IMEI packet received {"connection_id":146560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":146560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:12:29] local.INFO: TCP Data received {"connection_id":146560,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:12:29] local.INFO: Processing buffer {"connection_id":146560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:12:29] local.INFO: IMEI packet received {"connection_id":146560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":146560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:12:30] local.INFO: TCP Data received {"connection_id":146560,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146560,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:12:30] local.INFO: Processing buffer {"connection_id":146560,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:12:30] local.INFO: Packet analysis {"connection_id":146560,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:12:30] local.INFO: Extracted packet for processing {"connection_id":146560,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:12:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":249,"current_offset":40} 
[2026-08-02 12:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127009792001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785652683000,"timestamp_ms":1785652683000,"timestamp_seconds":1785652683,"priority":1,"record_length":96,"hex_timestamp":"0000019fc131a0f8"} 
[2026-08-02 12:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":25,"data_length":249,"current_offset":136} 
[2026-08-02 12:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:12:30] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146560,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 12:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127009792001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127009792001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:12:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:12:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127009792001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":146560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:12:30] local.INFO: GPS data processed {"connection_id":146560,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:12:30] local.INFO: Acknowledgment sent {"connection_id":146560,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:13:05] local.INFO: TCP Data received {"connection_id":146560,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146560,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:13:05] local.INFO: Processing buffer {"connection_id":146560,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:13:05] local.INFO: Packet analysis {"connection_id":146560,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:13:05] local.INFO: Extracted packet for processing {"connection_id":146560,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:13:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":249,"current_offset":40} 
[2026-08-02 12:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127009792001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:13:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785652683000,"timestamp_ms":1785652683000,"timestamp_seconds":1785652683,"priority":1,"record_length":96,"hex_timestamp":"0000019fc131a0f8"} 
[2026-08-02 12:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":25,"data_length":249,"current_offset":136} 
[2026-08-02 12:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:13:05] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146560,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 12:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127009792001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127009792001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:13:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:13:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:13:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127009792001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":146560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:13:05] local.INFO: GPS data processed {"connection_id":146560,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:13:05] local.INFO: Acknowledgment sent {"connection_id":146560,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:13:24] local.INFO: TCP Data received {"connection_id":149106,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:13:24] local.INFO: Processing buffer {"connection_id":149106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:13:24] local.INFO: IMEI packet received {"connection_id":149106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":149106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:13:29] local.INFO: TCP Data received {"connection_id":149106,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:13:29] local.INFO: Processing buffer {"connection_id":149106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:13:29] local.INFO: IMEI packet received {"connection_id":149106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":149106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:13:32] local.INFO: TCP Data received {"connection_id":149106,"ip":"117.224.14.1","data_length":249,"data_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149106,"packet_length":249,"packet_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:13:32] local.INFO: Processing buffer {"connection_id":149106,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019fc131a0f8012cc330c007685958005800c528..."} 
[2026-08-02 12:13:32] local.INFO: Packet analysis {"connection_id":149106,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:13:32] local.INFO: Extracted packet for processing {"connection_id":149106,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019fc131"} 
[2026-08-02 12:13:32] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":249,"current_offset":40} 
[2026-08-02 12:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127009792001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:13:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785652683000,"timestamp_ms":1785652683000,"timestamp_seconds":1785652683,"priority":1,"record_length":96,"hex_timestamp":"0000019fc131a0f8"} 
[2026-08-02 12:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":249,"current_offset":136} 
[2026-08-02 12:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:13:32] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149106,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-02 12:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127009792001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127009792001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:13:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:13:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:13:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127009792001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":149106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:13:32] local.INFO: GPS data processed {"connection_id":149106,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:13:32] local.INFO: Acknowledgment sent {"connection_id":149106,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:14:05] local.INFO: TCP Data received {"connection_id":149106,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149106,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:14:05] local.INFO: Processing buffer {"connection_id":149106,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:14:05] local.INFO: Packet analysis {"connection_id":149106,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:14:05] local.INFO: Extracted packet for processing {"connection_id":149106,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:14:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":327,"current_offset":40} 
[2026-08-02 12:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127086848001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:14:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785652984000,"timestamp_ms":1785652984000,"timestamp_seconds":1785652984,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13638c0"} 
[2026-08-02 12:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":327,"current_offset":136} 
[2026-08-02 12:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:14:05] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149106,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 12:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127086848001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127086848001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:14:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:14:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:14:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127086848001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":149106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:14:06] local.INFO: GPS data processed {"connection_id":149106,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:14:06] local.INFO: Acknowledgment sent {"connection_id":149106,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:14:24] local.INFO: TCP Data received {"connection_id":147791,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:14:24] local.INFO: Processing buffer {"connection_id":147791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:14:24] local.INFO: IMEI packet received {"connection_id":147791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":147791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:14:29] local.INFO: TCP Data received {"connection_id":147791,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:14:29] local.INFO: Processing buffer {"connection_id":147791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:14:29] local.INFO: IMEI packet received {"connection_id":147791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":147791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:14:30] local.INFO: TCP Data received {"connection_id":147791,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147791,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:14:30] local.INFO: Processing buffer {"connection_id":147791,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:14:30] local.INFO: Packet analysis {"connection_id":147791,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:14:30] local.INFO: Extracted packet for processing {"connection_id":147791,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:14:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-02 12:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127086848001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785652984000,"timestamp_ms":1785652984000,"timestamp_seconds":1785652984,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13638c0"} 
[2026-08-02 12:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":327,"current_offset":136} 
[2026-08-02 12:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:14:30] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147791,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 12:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127086848001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127086848001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:14:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:14:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127086848001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":147791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:14:30] local.INFO: GPS data processed {"connection_id":147791,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:14:30] local.INFO: Acknowledgment sent {"connection_id":147791,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:15:05] local.INFO: TCP Data received {"connection_id":147791,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147791,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:15:05] local.INFO: Processing buffer {"connection_id":147791,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:15:05] local.INFO: Packet analysis {"connection_id":147791,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:15:05] local.INFO: Extracted packet for processing {"connection_id":147791,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:15:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":327,"current_offset":40} 
[2026-08-02 12:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127086848001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785652984000,"timestamp_ms":1785652984000,"timestamp_seconds":1785652984,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13638c0"} 
[2026-08-02 12:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":327,"current_offset":136} 
[2026-08-02 12:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:15:05] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147791,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 12:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127086848001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127086848001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:15:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:15:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127086848001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":147791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:15:05] local.INFO: GPS data processed {"connection_id":147791,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:15:05] local.INFO: Acknowledgment sent {"connection_id":147791,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:15:24] local.INFO: TCP Data received {"connection_id":146772,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:15:24] local.INFO: Processing buffer {"connection_id":146772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:15:24] local.INFO: IMEI packet received {"connection_id":146772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":146772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:15:29] local.INFO: TCP Data received {"connection_id":146772,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:15:29] local.INFO: Processing buffer {"connection_id":146772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:15:29] local.INFO: IMEI packet received {"connection_id":146772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":146772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:15:30] local.INFO: TCP Data received {"connection_id":146772,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146772,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:15:30] local.INFO: Processing buffer {"connection_id":146772,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:15:30] local.INFO: Packet analysis {"connection_id":146772,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:15:30] local.INFO: Extracted packet for processing {"connection_id":146772,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:15:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-02 12:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127086848001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785652984000,"timestamp_ms":1785652984000,"timestamp_seconds":1785652984,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13638c0"} 
[2026-08-02 12:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":327,"current_offset":136} 
[2026-08-02 12:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:15:30] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146772,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 12:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127086848001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127086848001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:15:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:15:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127086848001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":146772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:15:30] local.INFO: GPS data processed {"connection_id":146772,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:15:30] local.INFO: Acknowledgment sent {"connection_id":146772,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:16:06] local.INFO: TCP Data received {"connection_id":146772,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146772,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:16:06] local.INFO: Processing buffer {"connection_id":146772,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:16:06] local.INFO: Packet analysis {"connection_id":146772,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:16:06] local.INFO: Extracted packet for processing {"connection_id":146772,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:16:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":327,"current_offset":40} 
[2026-08-02 12:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127086848001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:16:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785652984000,"timestamp_ms":1785652984000,"timestamp_seconds":1785652984,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13638c0"} 
[2026-08-02 12:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12: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-08-02 12: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":100,"n8_eight_byte":47,"data_length":327,"current_offset":136} 
[2026-08-02 12:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:16:06] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146772,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 12:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127086848001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127086848001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:16:06] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:16:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:16:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127086848001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":146772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:16:06] local.INFO: GPS data processed {"connection_id":146772,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:16:06] local.INFO: Acknowledgment sent {"connection_id":146772,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:16:29] local.INFO: TCP Data received {"connection_id":146561,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:16:29] local.INFO: Processing buffer {"connection_id":146561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:16:29] local.INFO: IMEI packet received {"connection_id":146561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":146561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:16:34] local.INFO: TCP Data received {"connection_id":146561,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:16:34] local.INFO: Processing buffer {"connection_id":146561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:16:34] local.INFO: IMEI packet received {"connection_id":146561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":146561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:16:35] local.INFO: TCP Data received {"connection_id":146561,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146561,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:16:35] local.INFO: Processing buffer {"connection_id":146561,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:16:35] local.INFO: Packet analysis {"connection_id":146561,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:16:35] local.INFO: Extracted packet for processing {"connection_id":146561,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:16:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":327,"current_offset":40} 
[2026-08-02 12:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127086848001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:16:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785652984000,"timestamp_ms":1785652984000,"timestamp_seconds":1785652984,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13638c0"} 
[2026-08-02 12:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":47,"data_length":327,"current_offset":136} 
[2026-08-02 12:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:16:35] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146561,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 12:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127086848001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127086848001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:16:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:16:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:16:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127086848001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":146561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:16:35] local.INFO: GPS data processed {"connection_id":146561,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:16:35] local.INFO: Acknowledgment sent {"connection_id":146561,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:16:40] local.INFO: TCP Data received {"connection_id":146561,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146561,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:16:40] local.INFO: Processing buffer {"connection_id":146561,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:16:40] local.INFO: Packet analysis {"connection_id":146561,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:16:40] local.INFO: Extracted packet for processing {"connection_id":146561,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:16:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-02 12:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127086848001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785652984000,"timestamp_ms":1785652984000,"timestamp_seconds":1785652984,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13638c0"} 
[2026-08-02 12:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":327,"current_offset":136} 
[2026-08-02 12:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:16:40] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146561,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 12:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127086848001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127086848001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:16:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:16:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127086848001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":146561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:16:40] local.INFO: GPS data processed {"connection_id":146561,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:16:40] local.INFO: Acknowledgment sent {"connection_id":146561,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:17:24] local.INFO: TCP Data received {"connection_id":146773,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:17:24] local.INFO: Processing buffer {"connection_id":146773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:17:24] local.INFO: IMEI packet received {"connection_id":146773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":146773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:17:29] local.INFO: TCP Data received {"connection_id":146773,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:17:29] local.INFO: Processing buffer {"connection_id":146773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:17:29] local.INFO: IMEI packet received {"connection_id":146773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":146773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:17:30] local.INFO: TCP Data received {"connection_id":146773,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146773,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:17:30] local.INFO: Processing buffer {"connection_id":146773,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:17:30] local.INFO: Packet analysis {"connection_id":146773,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:17:30] local.INFO: Extracted packet for processing {"connection_id":146773,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:17:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-02 12:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127086848001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785652984000,"timestamp_ms":1785652984000,"timestamp_seconds":1785652984,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13638c0"} 
[2026-08-02 12:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":327,"current_offset":136} 
[2026-08-02 12:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:17:30] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146773,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 12:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127086848001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127086848001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:17:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:17:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127086848001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":146773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:17:30] local.INFO: GPS data processed {"connection_id":146773,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:17:30] local.INFO: Acknowledgment sent {"connection_id":146773,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:18:07] local.INFO: TCP Data received {"connection_id":146773,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146773,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:18:07] local.INFO: Processing buffer {"connection_id":146773,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:18:07] local.INFO: Packet analysis {"connection_id":146773,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:18:07] local.INFO: Extracted packet for processing {"connection_id":146773,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:18:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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":327,"current_offset":40} 
[2026-08-02 12:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127086848001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:18:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785652984000,"timestamp_ms":1785652984000,"timestamp_seconds":1785652984,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13638c0"} 
[2026-08-02 12:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":327,"current_offset":136} 
[2026-08-02 12:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:18:07] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146773,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 12:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127086848001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127086848001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:18:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:18:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:18:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127086848001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":146773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:18:07] local.INFO: GPS data processed {"connection_id":146773,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:18:07] local.INFO: Acknowledgment sent {"connection_id":146773,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:18:24] local.INFO: TCP Data received {"connection_id":147792,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:18:24] local.INFO: Processing buffer {"connection_id":147792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:18:24] local.INFO: IMEI packet received {"connection_id":147792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":147792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:18:29] local.INFO: TCP Data received {"connection_id":147792,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:18:29] local.INFO: Processing buffer {"connection_id":147792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:18:29] local.INFO: IMEI packet received {"connection_id":147792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":147792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:18:30] local.INFO: TCP Data received {"connection_id":147792,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147792,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:18:30] local.INFO: Processing buffer {"connection_id":147792,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:18:30] local.INFO: Packet analysis {"connection_id":147792,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:18:30] local.INFO: Extracted packet for processing {"connection_id":147792,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:18:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-02 12:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127086848001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785652984000,"timestamp_ms":1785652984000,"timestamp_seconds":1785652984,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13638c0"} 
[2026-08-02 12:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":327,"current_offset":136} 
[2026-08-02 12:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:18:30] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147792,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 12:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127086848001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127086848001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:18:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:18:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127086848001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":147792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:18:30] local.INFO: GPS data processed {"connection_id":147792,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:18:30] local.INFO: Acknowledgment sent {"connection_id":147792,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:18:35] local.INFO: TCP Data received {"connection_id":147792,"ip":"117.224.14.1","data_length":327,"data_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147792,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:18:35] local.INFO: Processing buffer {"connection_id":147792,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc13638c0012cc330c007685958005800c527..."} 
[2026-08-02 12:18:35] local.INFO: Packet analysis {"connection_id":147792,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:18:35] local.INFO: Extracted packet for processing {"connection_id":147792,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc136"} 
[2026-08-02 12:18:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-02 12:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127086848001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:18:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785652984000,"timestamp_ms":1785652984000,"timestamp_seconds":1785652984,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13638c0"} 
[2026-08-02 12:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":327,"current_offset":136} 
[2026-08-02 12:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:18:35] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147792,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 12:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127086848001,"66":25647,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127086848001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:18:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:18:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:18:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127086848001,"power":25647,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":147792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:18:35] local.INFO: GPS data processed {"connection_id":147792,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:18:35] local.INFO: Acknowledgment sent {"connection_id":147792,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:19:06] local.INFO: TCP Data received {"connection_id":147792,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147792,"packet_length":405,"packet_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:19:06] local.INFO: Processing buffer {"connection_id":147792,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:19:06] local.INFO: Packet analysis {"connection_id":147792,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:19:06] local.INFO: Extracted packet for processing {"connection_id":147792,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:19:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":405,"current_offset":40} 
[2026-08-02 12:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127163904001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785653285000,"timestamp_ms":1785653285000,"timestamp_seconds":1785653285,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13ad088"} 
[2026-08-02 12:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12: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-08-02 12: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":47,"data_length":405,"current_offset":136} 
[2026-08-02 12:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:19:06] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147792,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 12:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127163904001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127163904001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:19:06] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:19:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127163904001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":147792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:19:06] local.INFO: GPS data processed {"connection_id":147792,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:19:06] local.INFO: Acknowledgment sent {"connection_id":147792,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:19:29] local.INFO: TCP Data received {"connection_id":146774,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:19:29] local.INFO: Processing buffer {"connection_id":146774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:19:29] local.INFO: IMEI packet received {"connection_id":146774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":146774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:19:34] local.INFO: TCP Data received {"connection_id":146774,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:19:34] local.INFO: Processing buffer {"connection_id":146774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:19:34] local.INFO: IMEI packet received {"connection_id":146774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":146774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:19:35] local.INFO: TCP Data received {"connection_id":146774,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146774,"packet_length":405,"packet_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:19:35] local.INFO: Processing buffer {"connection_id":146774,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:19:35] local.INFO: Packet analysis {"connection_id":146774,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:19:35] local.INFO: Extracted packet for processing {"connection_id":146774,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:19:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":405,"current_offset":40} 
[2026-08-02 12:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127163904001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:19:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785653285000,"timestamp_ms":1785653285000,"timestamp_seconds":1785653285,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13ad088"} 
[2026-08-02 12:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":47,"data_length":405,"current_offset":136} 
[2026-08-02 12:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:19:35] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146774,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 12:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127163904001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127163904001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:19:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:19:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:19:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127163904001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":146774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:19:35] local.INFO: GPS data processed {"connection_id":146774,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:19:35] local.INFO: Acknowledgment sent {"connection_id":146774,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:19:40] local.INFO: TCP Data received {"connection_id":146774,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146774,"packet_length":405,"packet_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:19:40] local.INFO: Processing buffer {"connection_id":146774,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:19:40] local.INFO: Packet analysis {"connection_id":146774,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:19:40] local.INFO: Extracted packet for processing {"connection_id":146774,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:19:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":405,"current_offset":40} 
[2026-08-02 12:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127163904001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785653285000,"timestamp_ms":1785653285000,"timestamp_seconds":1785653285,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13ad088"} 
[2026-08-02 12:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":47,"data_length":405,"current_offset":136} 
[2026-08-02 12:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:19:40] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146774,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 12:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127163904001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127163904001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:19:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:19:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127163904001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":146774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:19:40] local.INFO: GPS data processed {"connection_id":146774,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:19:40] local.INFO: Acknowledgment sent {"connection_id":146774,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:20:24] local.INFO: TCP Data received {"connection_id":149107,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:20:24] local.INFO: Processing buffer {"connection_id":149107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:20:24] local.INFO: IMEI packet received {"connection_id":149107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":149107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:20:29] local.INFO: TCP Data received {"connection_id":149107,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:20:29] local.INFO: Processing buffer {"connection_id":149107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:20:29] local.INFO: IMEI packet received {"connection_id":149107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":149107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:20:30] local.INFO: TCP Data received {"connection_id":149107,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149107,"packet_length":405,"packet_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:20:30] local.INFO: Processing buffer {"connection_id":149107,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:20:30] local.INFO: Packet analysis {"connection_id":149107,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:20:30] local.INFO: Extracted packet for processing {"connection_id":149107,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:20:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-08-02 12:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127163904001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785653285000,"timestamp_ms":1785653285000,"timestamp_seconds":1785653285,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13ad088"} 
[2026-08-02 12:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":405,"current_offset":136} 
[2026-08-02 12:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:20:30] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149107,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 12:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127163904001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127163904001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:20:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:20:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127163904001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":149107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:20:30] local.INFO: GPS data processed {"connection_id":149107,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:20:30] local.INFO: Acknowledgment sent {"connection_id":149107,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:21:05] local.INFO: TCP Data received {"connection_id":149107,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149107,"packet_length":405,"packet_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:21:05] local.INFO: Processing buffer {"connection_id":149107,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:21:05] local.INFO: Packet analysis {"connection_id":149107,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:21:05] local.INFO: Extracted packet for processing {"connection_id":149107,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:21:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":405,"current_offset":40} 
[2026-08-02 12:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127163904001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:21:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785653285000,"timestamp_ms":1785653285000,"timestamp_seconds":1785653285,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13ad088"} 
[2026-08-02 12:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":47,"data_length":405,"current_offset":136} 
[2026-08-02 12:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:21:05] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149107,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 12:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127163904001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127163904001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:21:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:21:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:21:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127163904001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":149107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:21:05] local.INFO: GPS data processed {"connection_id":149107,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:21:05] local.INFO: Acknowledgment sent {"connection_id":149107,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:21:24] local.INFO: TCP Data received {"connection_id":146775,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:21:24] local.INFO: Processing buffer {"connection_id":146775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:21:24] local.INFO: IMEI packet received {"connection_id":146775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":146775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:21:30] local.INFO: TCP Data received {"connection_id":146775,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:21:30] local.INFO: Processing buffer {"connection_id":146775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:21:30] local.INFO: IMEI packet received {"connection_id":146775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":146775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:21:31] local.INFO: TCP Data received {"connection_id":146775,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146775,"packet_length":405,"packet_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:21:31] local.INFO: Processing buffer {"connection_id":146775,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:21:31] local.INFO: Packet analysis {"connection_id":146775,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:21:31] local.INFO: Extracted packet for processing {"connection_id":146775,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:21:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-08-02 12:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127163904001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:21:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785653285000,"timestamp_ms":1785653285000,"timestamp_seconds":1785653285,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13ad088"} 
[2026-08-02 12:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":405,"current_offset":136} 
[2026-08-02 12:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:21:31] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146775,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 12:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127163904001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127163904001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:21:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:21:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:21:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127163904001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":146775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:21:31] local.INFO: GPS data processed {"connection_id":146775,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:21:31] local.INFO: Acknowledgment sent {"connection_id":146775,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:22:05] local.INFO: TCP Data received {"connection_id":146775,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146775,"packet_length":405,"packet_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:22:05] local.INFO: Processing buffer {"connection_id":146775,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:22:05] local.INFO: Packet analysis {"connection_id":146775,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:22:05] local.INFO: Extracted packet for processing {"connection_id":146775,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:22:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":405,"current_offset":40} 
[2026-08-02 12:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127163904001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785653285000,"timestamp_ms":1785653285000,"timestamp_seconds":1785653285,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13ad088"} 
[2026-08-02 12:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":47,"data_length":405,"current_offset":136} 
[2026-08-02 12:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:22:05] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146775,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 12:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127163904001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127163904001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:22:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:22:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:22:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127163904001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":146775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:22:05] local.INFO: GPS data processed {"connection_id":146775,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:22:05] local.INFO: Acknowledgment sent {"connection_id":146775,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:22:24] local.INFO: TCP Data received {"connection_id":147793,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:22:24] local.INFO: Processing buffer {"connection_id":147793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:22:24] local.INFO: IMEI packet received {"connection_id":147793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":147793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:22:29] local.INFO: TCP Data received {"connection_id":147793,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:22:29] local.INFO: Processing buffer {"connection_id":147793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:22:29] local.INFO: IMEI packet received {"connection_id":147793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":147793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:22:30] local.INFO: TCP Data received {"connection_id":147793,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147793,"packet_length":405,"packet_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:22:30] local.INFO: Processing buffer {"connection_id":147793,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:22:30] local.INFO: Packet analysis {"connection_id":147793,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:22:30] local.INFO: Extracted packet for processing {"connection_id":147793,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:22:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":405,"current_offset":40} 
[2026-08-02 12:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127163904001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785653285000,"timestamp_ms":1785653285000,"timestamp_seconds":1785653285,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13ad088"} 
[2026-08-02 12:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":47,"data_length":405,"current_offset":136} 
[2026-08-02 12:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:22:30] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147793,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 12:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127163904001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127163904001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:22:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:22:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127163904001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":147793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:22:30] local.INFO: GPS data processed {"connection_id":147793,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:22:30] local.INFO: Acknowledgment sent {"connection_id":147793,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:23:05] local.INFO: TCP Data received {"connection_id":147793,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147793,"packet_length":405,"packet_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:23:05] local.INFO: Processing buffer {"connection_id":147793,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:23:05] local.INFO: Packet analysis {"connection_id":147793,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:23:05] local.INFO: Extracted packet for processing {"connection_id":147793,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:23:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":405,"current_offset":40} 
[2026-08-02 12:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127163904001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:23:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785653285000,"timestamp_ms":1785653285000,"timestamp_seconds":1785653285,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13ad088"} 
[2026-08-02 12:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":47,"data_length":405,"current_offset":136} 
[2026-08-02 12:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:23:05] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147793,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 12:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127163904001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127163904001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:23:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:23:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:23:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127163904001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":147793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:23:05] local.INFO: GPS data processed {"connection_id":147793,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:23:05] local.INFO: Acknowledgment sent {"connection_id":147793,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:23:29] local.INFO: TCP Data received {"connection_id":147794,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:23:29] local.INFO: Processing buffer {"connection_id":147794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:23:29] local.INFO: IMEI packet received {"connection_id":147794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":147794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:23:34] local.INFO: TCP Data received {"connection_id":147794,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:23:34] local.INFO: Processing buffer {"connection_id":147794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:23:34] local.INFO: IMEI packet received {"connection_id":147794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":147794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:23:35] local.INFO: TCP Data received {"connection_id":147794,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147794,"packet_length":405,"packet_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:23:35] local.INFO: Processing buffer {"connection_id":147794,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:23:35] local.INFO: Packet analysis {"connection_id":147794,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:23:35] local.INFO: Extracted packet for processing {"connection_id":147794,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:23:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-08-02 12:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127163904001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:23:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785653285000,"timestamp_ms":1785653285000,"timestamp_seconds":1785653285,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13ad088"} 
[2026-08-02 12:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":405,"current_offset":136} 
[2026-08-02 12:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:23:35] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147794,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 12:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127163904001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127163904001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:23:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:23:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:23:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127163904001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":147794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:23:35] local.INFO: GPS data processed {"connection_id":147794,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:23:35] local.INFO: Acknowledgment sent {"connection_id":147794,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:23:40] local.INFO: TCP Data received {"connection_id":147794,"ip":"117.224.14.1","data_length":405,"data_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147794,"packet_length":405,"packet_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:23:40] local.INFO: Processing buffer {"connection_id":147794,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fc13ad088012cc330c007685958005800c527..."} 
[2026-08-02 12:23:40] local.INFO: Packet analysis {"connection_id":147794,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:23:40] local.INFO: Extracted packet for processing {"connection_id":147794,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fc13a"} 
[2026-08-02 12:23:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":405,"current_offset":40} 
[2026-08-02 12:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127163904001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:23:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785653285000,"timestamp_ms":1785653285000,"timestamp_seconds":1785653285,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13ad088"} 
[2026-08-02 12:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12: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-08-02 12: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":405,"current_offset":136} 
[2026-08-02 12:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:23:40] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147794,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-02 12:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127163904001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127163904001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:23:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:23:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:23:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127163904001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":147794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:23:40] local.INFO: GPS data processed {"connection_id":147794,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:23:40] local.INFO: Acknowledgment sent {"connection_id":147794,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:24:24] local.INFO: TCP Data received {"connection_id":146562,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:24:24] local.INFO: Processing buffer {"connection_id":146562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:24:24] local.INFO: IMEI packet received {"connection_id":146562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":146562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:24:29] local.INFO: TCP Data received {"connection_id":146562,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:24:29] local.INFO: Processing buffer {"connection_id":146562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:24:29] local.INFO: IMEI packet received {"connection_id":146562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":146562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:24:30] local.INFO: TCP Data received {"connection_id":146562,"ip":"117.224.14.1","data_length":483,"data_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146562,"packet_length":483,"packet_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:24:30] local.INFO: Processing buffer {"connection_id":146562,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:24:30] local.INFO: Packet analysis {"connection_id":146562,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:24:30] local.INFO: Extracted packet for processing {"connection_id":146562,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:24:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-08-02 12:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127240960001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785653586000,"timestamp_ms":1785653586000,"timestamp_seconds":1785653586,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13f6850"} 
[2026-08-02 12:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":483,"current_offset":136} 
[2026-08-02 12:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:24:30] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146562,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-02 12:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127240960001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127240960001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:24:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:24:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127240960001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":146562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:24:30] local.INFO: GPS data processed {"connection_id":146562,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:24:30] local.INFO: Acknowledgment sent {"connection_id":146562,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:25:05] local.INFO: TCP Data received {"connection_id":146562,"ip":"117.224.14.1","data_length":483,"data_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146562,"packet_length":483,"packet_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:25:05] local.INFO: Processing buffer {"connection_id":146562,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:25:05] local.INFO: Packet analysis {"connection_id":146562,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:25:05] local.INFO: Extracted packet for processing {"connection_id":146562,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:25:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":483,"current_offset":40} 
[2026-08-02 12:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127240960001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:25:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785653586000,"timestamp_ms":1785653586000,"timestamp_seconds":1785653586,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13f6850"} 
[2026-08-02 12:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":483,"current_offset":136} 
[2026-08-02 12:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:25:05] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146562,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-02 12:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127240960001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127240960001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:25:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:25:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:25:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127240960001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":146562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:25:05] local.INFO: GPS data processed {"connection_id":146562,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:25:05] local.INFO: Acknowledgment sent {"connection_id":146562,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:25:29] local.INFO: TCP Data received {"connection_id":147795,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:25:29] local.INFO: Processing buffer {"connection_id":147795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:25:29] local.INFO: IMEI packet received {"connection_id":147795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":147795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:25:34] local.INFO: TCP Data received {"connection_id":147795,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:25:34] local.INFO: Processing buffer {"connection_id":147795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:25:34] local.INFO: IMEI packet received {"connection_id":147795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":147795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:25:35] local.INFO: TCP Data received {"connection_id":147795,"ip":"117.224.14.1","data_length":483,"data_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147795,"packet_length":483,"packet_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:25:35] local.INFO: Processing buffer {"connection_id":147795,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:25:35] local.INFO: Packet analysis {"connection_id":147795,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:25:35] local.INFO: Extracted packet for processing {"connection_id":147795,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:25:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-08-02 12:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127240960001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:25:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785653586000,"timestamp_ms":1785653586000,"timestamp_seconds":1785653586,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13f6850"} 
[2026-08-02 12:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":483,"current_offset":136} 
[2026-08-02 12:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:25:35] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147795,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-02 12:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127240960001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127240960001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:25:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:25:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:25:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127240960001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":147795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:25:35] local.INFO: GPS data processed {"connection_id":147795,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:25:35] local.INFO: Acknowledgment sent {"connection_id":147795,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:26:24] local.INFO: TCP Data received {"connection_id":149108,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:26:24] local.INFO: Processing buffer {"connection_id":149108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:26:24] local.INFO: IMEI packet received {"connection_id":149108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":149108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:26:29] local.INFO: TCP Data received {"connection_id":149108,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:26:29] local.INFO: Processing buffer {"connection_id":149108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:26:29] local.INFO: IMEI packet received {"connection_id":149108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":149108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:26:30] local.INFO: TCP Data received {"connection_id":149108,"ip":"117.224.14.1","data_length":483,"data_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149108,"packet_length":483,"packet_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:26:30] local.INFO: Processing buffer {"connection_id":149108,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:26:30] local.INFO: Packet analysis {"connection_id":149108,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:26:30] local.INFO: Extracted packet for processing {"connection_id":149108,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:26:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-08-02 12:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127240960001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785653586000,"timestamp_ms":1785653586000,"timestamp_seconds":1785653586,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13f6850"} 
[2026-08-02 12:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":483,"current_offset":136} 
[2026-08-02 12:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:26:30] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149108,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-02 12:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127240960001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127240960001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:26:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:26:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127240960001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":149108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:26:30] local.INFO: GPS data processed {"connection_id":149108,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:26:30] local.INFO: Acknowledgment sent {"connection_id":149108,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:27:05] local.INFO: TCP Data received {"connection_id":149108,"ip":"117.224.14.1","data_length":483,"data_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149108,"packet_length":483,"packet_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:27:05] local.INFO: Processing buffer {"connection_id":149108,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:27:05] local.INFO: Packet analysis {"connection_id":149108,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:27:05] local.INFO: Extracted packet for processing {"connection_id":149108,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":483,"current_offset":40} 
[2026-08-02 12:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127240960001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:27:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785653586000,"timestamp_ms":1785653586000,"timestamp_seconds":1785653586,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13f6850"} 
[2026-08-02 12:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12: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-08-02 12: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":100,"n8_eight_byte":15,"data_length":483,"current_offset":136} 
[2026-08-02 12:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:27:05] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149108,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-02 12:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127240960001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127240960001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:27:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:27:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:27:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127240960001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":149108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:27:05] local.INFO: GPS data processed {"connection_id":149108,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:27:05] local.INFO: Acknowledgment sent {"connection_id":149108,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:27:24] local.INFO: TCP Data received {"connection_id":147796,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:27:24] local.INFO: Processing buffer {"connection_id":147796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:27:24] local.INFO: IMEI packet received {"connection_id":147796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":147796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:27:30] local.INFO: TCP Data received {"connection_id":147796,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:27:30] local.INFO: Processing buffer {"connection_id":147796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:27:30] local.INFO: IMEI packet received {"connection_id":147796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":147796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:27:31] local.INFO: TCP Data received {"connection_id":147796,"ip":"117.224.14.1","data_length":483,"data_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147796,"packet_length":483,"packet_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:27:31] local.INFO: Processing buffer {"connection_id":147796,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:27:31] local.INFO: Packet analysis {"connection_id":147796,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:27:31] local.INFO: Extracted packet for processing {"connection_id":147796,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:27:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-08-02 12:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127240960001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:27:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785653586000,"timestamp_ms":1785653586000,"timestamp_seconds":1785653586,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13f6850"} 
[2026-08-02 12:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":483,"current_offset":136} 
[2026-08-02 12:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:27:31] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147796,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-02 12:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127240960001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127240960001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:27:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:27:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:27:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127240960001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":147796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:27:31] local.INFO: GPS data processed {"connection_id":147796,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:27:31] local.INFO: Acknowledgment sent {"connection_id":147796,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:28:05] local.INFO: TCP Data received {"connection_id":147796,"ip":"117.224.14.1","data_length":483,"data_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147796,"packet_length":483,"packet_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:28:05] local.INFO: Processing buffer {"connection_id":147796,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:28:05] local.INFO: Packet analysis {"connection_id":147796,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:28:05] local.INFO: Extracted packet for processing {"connection_id":147796,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:28:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":483,"current_offset":40} 
[2026-08-02 12:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127240960001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785653586000,"timestamp_ms":1785653586000,"timestamp_seconds":1785653586,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13f6850"} 
[2026-08-02 12:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12: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-08-02 12: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":100,"n8_eight_byte":15,"data_length":483,"current_offset":136} 
[2026-08-02 12:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:28:05] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147796,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-02 12:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127240960001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127240960001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:28:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:28:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:28:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127240960001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":147796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:28:05] local.INFO: GPS data processed {"connection_id":147796,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:28:05] local.INFO: Acknowledgment sent {"connection_id":147796,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:28:29] local.INFO: TCP Data received {"connection_id":149109,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:28:29] local.INFO: Processing buffer {"connection_id":149109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:28:29] local.INFO: IMEI packet received {"connection_id":149109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":149109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:28:34] local.INFO: TCP Data received {"connection_id":149109,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:28:34] local.INFO: Processing buffer {"connection_id":149109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:28:34] local.INFO: IMEI packet received {"connection_id":149109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":149109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:28:36] local.INFO: TCP Data received {"connection_id":149109,"ip":"117.224.14.1","data_length":483,"data_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149109,"packet_length":483,"packet_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:28:36] local.INFO: Processing buffer {"connection_id":149109,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019fc13f6850012cc330c007685958005800c52a..."} 
[2026-08-02 12:28:36] local.INFO: Packet analysis {"connection_id":149109,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:28:36] local.INFO: Extracted packet for processing {"connection_id":149109,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019fc13f"} 
[2026-08-02 12:28:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-08-02 12:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127240960001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:28:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785653586000,"timestamp_ms":1785653586000,"timestamp_seconds":1785653586,"priority":1,"record_length":96,"hex_timestamp":"0000019fc13f6850"} 
[2026-08-02 12:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12: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-08-02 12:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":483,"current_offset":136} 
[2026-08-02 12:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:28:36] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149109,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-02 12:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127240960001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127240960001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:28:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:28:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:28:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127240960001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":149109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:28:36] local.INFO: GPS data processed {"connection_id":149109,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:28:36] local.INFO: Acknowledgment sent {"connection_id":149109,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:29:07] local.INFO: TCP Data received {"connection_id":149109,"ip":"117.224.14.1","data_length":561,"data_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149109,"packet_length":561,"packet_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:29:07] local.INFO: Processing buffer {"connection_id":149109,"buffer_length":561,"buffer_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:29:07] local.INFO: Packet analysis {"connection_id":149109,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:29:07] local.INFO: Extracted packet for processing {"connection_id":149109,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:29:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":561,"current_offset":40} 
[2026-08-02 12:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127318016001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:29:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785653887000,"timestamp_ms":1785653887000,"timestamp_seconds":1785653887,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1440018"} 
[2026-08-02 12:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12: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-08-02 12:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":561,"current_offset":136} 
[2026-08-02 12:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:29:07] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149109,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-02 12:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127318016001,"66":25625,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127318016001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:29:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:29:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:29:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127318016001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":149109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:29:07] local.INFO: GPS data processed {"connection_id":149109,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:29:07] local.INFO: Acknowledgment sent {"connection_id":149109,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:29:35] local.INFO: TCP Data received {"connection_id":146563,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:29:35] local.INFO: Processing buffer {"connection_id":146563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:29:35] local.INFO: IMEI packet received {"connection_id":146563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":146563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:29:40] local.INFO: TCP Data received {"connection_id":146563,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:29:40] local.INFO: Processing buffer {"connection_id":146563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:29:40] local.INFO: IMEI packet received {"connection_id":146563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":146563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:29:41] local.INFO: TCP Data received {"connection_id":146563,"ip":"117.224.14.1","data_length":561,"data_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146563,"packet_length":561,"packet_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:29:41] local.INFO: Processing buffer {"connection_id":146563,"buffer_length":561,"buffer_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:29:41] local.INFO: Packet analysis {"connection_id":146563,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:29:41] local.INFO: Extracted packet for processing {"connection_id":146563,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:29:41] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":561,"current_offset":40} 
[2026-08-02 12:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127318016001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785653887000,"timestamp_ms":1785653887000,"timestamp_seconds":1785653887,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1440018"} 
[2026-08-02 12:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:29: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-08-02 12: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":100,"n8_eight_byte":15,"data_length":561,"current_offset":136} 
[2026-08-02 12:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:29:41] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146563,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-02 12:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127318016001,"66":25625,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127318016001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:29:41] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:29:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127318016001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":146563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:29:42] local.INFO: GPS data processed {"connection_id":146563,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:29:42] local.INFO: Acknowledgment sent {"connection_id":146563,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:29:45] local.INFO: TCP Data received {"connection_id":146563,"ip":"117.224.14.1","data_length":561,"data_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146563,"packet_length":561,"packet_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:29:45] local.INFO: Processing buffer {"connection_id":146563,"buffer_length":561,"buffer_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:29:45] local.INFO: Packet analysis {"connection_id":146563,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:29:45] local.INFO: Extracted packet for processing {"connection_id":146563,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:29:45] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":561,"current_offset":40} 
[2026-08-02 12:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127318016001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:29:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785653887000,"timestamp_ms":1785653887000,"timestamp_seconds":1785653887,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1440018"} 
[2026-08-02 12:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12: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-08-02 12:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":561,"current_offset":136} 
[2026-08-02 12:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:29:45] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146563,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-02 12:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127318016001,"66":25625,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127318016001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:29:45] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:29:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:29:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127318016001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":146563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:29:45] local.INFO: GPS data processed {"connection_id":146563,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:29:45] local.INFO: Acknowledgment sent {"connection_id":146563,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:29:48] local.INFO: TCP Data received {"connection_id":149110,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:29:48] local.INFO: Processing buffer {"connection_id":149110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:29:48] local.INFO: IMEI packet received {"connection_id":149110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":149110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:29:49] local.INFO: TCP Data received {"connection_id":149110,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:29:49] local.INFO: Processing buffer {"connection_id":149110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:29:49] local.INFO: IMEI packet received {"connection_id":149110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":149110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:29:53] local.INFO: TCP Data received {"connection_id":149110,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:29:53] local.INFO: Processing buffer {"connection_id":149110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:29:53] local.INFO: IMEI packet received {"connection_id":149110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":149110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:29:54] local.INFO: TCP Data received {"connection_id":149110,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-02 12:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149110,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-02 12:29:54] local.INFO: Processing buffer {"connection_id":149110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-02 12:29:54] local.INFO: Packet analysis {"connection_id":149110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-02 12:29:54] local.INFO: Extracted packet for processing {"connection_id":149110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-02 12:29: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-08-02 12:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 12:29:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,173,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 12:29:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 12:29:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 12:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149110,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 12:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 12:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 12:29:54] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 12:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":149110,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 12:29:54] local.ERROR: GPS data processing failed {"connection_id":149110,"error":"No valid data to process"} 
[2026-08-02 12:29:54] local.INFO: Acknowledgment sent {"connection_id":149110,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 12:30:24] local.INFO: TCP Data received {"connection_id":149110,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-02 12:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149110,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-02 12:30:24] local.INFO: Processing buffer {"connection_id":149110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-02 12:30:24] local.INFO: Packet analysis {"connection_id":149110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 12:30:24] local.INFO: Extracted packet for processing {"connection_id":149110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 12: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-08-02 12:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 12:30:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,173,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 12:30:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 12:30:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 12:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149110,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 12:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 12:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 12:30:24] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 12:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":149110,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 12:30:24] local.ERROR: GPS data processing failed {"connection_id":149110,"error":"No valid data to process"} 
[2026-08-02 12:30:24] local.INFO: Acknowledgment sent {"connection_id":149110,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 12:30:29] local.INFO: TCP Data received {"connection_id":146564,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:30:29] local.INFO: Processing buffer {"connection_id":146564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:30:29] local.INFO: IMEI packet received {"connection_id":146564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":146564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:30:43] local.INFO: TCP Data received {"connection_id":146564,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:30:43] local.INFO: Processing buffer {"connection_id":146564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:30:43] local.INFO: IMEI packet received {"connection_id":146564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":146564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:30:54] local.INFO: TCP Data received {"connection_id":146564,"ip":"117.224.14.1","data_length":561,"data_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146564,"packet_length":561,"packet_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:30:54] local.INFO: Processing buffer {"connection_id":146564,"buffer_length":561,"buffer_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:30:54] local.INFO: Packet analysis {"connection_id":146564,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:30:54] local.INFO: Extracted packet for processing {"connection_id":146564,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:30:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":561,"current_offset":40} 
[2026-08-02 12:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127318016001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:30:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785653887000,"timestamp_ms":1785653887000,"timestamp_seconds":1785653887,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1440018"} 
[2026-08-02 12:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":15,"data_length":561,"current_offset":136} 
[2026-08-02 12:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:30:54] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146564,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-02 12:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127318016001,"66":25625,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127318016001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:30:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:30:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:30:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127318016001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":146564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:30:54] local.INFO: GPS data processed {"connection_id":146564,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:30:54] local.INFO: Acknowledgment sent {"connection_id":146564,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:30:56] local.INFO: TCP Data received {"connection_id":149110,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-02 12:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-02 12:30:56] local.INFO: Processing buffer {"connection_id":149110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-02 12:30:56] local.INFO: Packet analysis {"connection_id":149110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 12:30:56] local.INFO: Extracted packet for processing {"connection_id":149110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 12:30:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 12:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 12:30:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,175,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 12:30:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 12:30:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 12:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149110,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 12:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 12:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 12:30:56] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 12:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":149110,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 12:30:56] local.ERROR: GPS data processing failed {"connection_id":149110,"error":"No valid data to process"} 
[2026-08-02 12:30:56] local.INFO: Acknowledgment sent {"connection_id":149110,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 12:31:24] local.INFO: TCP Data received {"connection_id":146776,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:31:24] local.INFO: Processing buffer {"connection_id":146776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:31:24] local.INFO: IMEI packet received {"connection_id":146776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":146776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:31:27] local.INFO: TCP Data received {"connection_id":149110,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-08-02 12:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149110,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-08-02 12:31:27] local.INFO: Processing buffer {"connection_id":149110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-08-02 12:31:27] local.INFO: Packet analysis {"connection_id":149110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 12:31:27] local.INFO: Extracted packet for processing {"connection_id":149110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 12:31:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 12:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 12:31:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,175,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 12:31:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 12:31:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 12:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149110,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 12:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 12:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 12:31:27] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 12:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":149110,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 12:31:27] local.ERROR: GPS data processing failed {"connection_id":149110,"error":"No valid data to process"} 
[2026-08-02 12:31:27] local.INFO: Acknowledgment sent {"connection_id":149110,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 12:31:32] local.INFO: TCP Data received {"connection_id":146776,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:31:32] local.INFO: Processing buffer {"connection_id":146776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:31:32] local.INFO: IMEI packet received {"connection_id":146776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":146776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:31:33] local.INFO: TCP Data received {"connection_id":146776,"ip":"117.224.14.1","data_length":561,"data_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146776,"packet_length":561,"packet_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:31:33] local.INFO: Processing buffer {"connection_id":146776,"buffer_length":561,"buffer_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:31:33] local.INFO: Packet analysis {"connection_id":146776,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:31:33] local.INFO: Extracted packet for processing {"connection_id":146776,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:31:33] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":561,"current_offset":40} 
[2026-08-02 12:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127318016001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:31:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785653887000,"timestamp_ms":1785653887000,"timestamp_seconds":1785653887,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1440018"} 
[2026-08-02 12:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":561,"current_offset":136} 
[2026-08-02 12:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:31:33] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146776,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-02 12:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127318016001,"66":25625,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127318016001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:31:33] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:31:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:31:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127318016001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":146776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:31:33] local.INFO: GPS data processed {"connection_id":146776,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:31:33] local.INFO: Acknowledgment sent {"connection_id":146776,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:31:58] local.INFO: TCP Data received {"connection_id":149110,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc146ced80100000000000000000000000000..."} 
[2026-08-02 12:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc146ced80100000000000000000000000000..."} 
[2026-08-02 12:31:58] local.INFO: Processing buffer {"connection_id":149110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc146ced80100000000000000000000000000..."} 
[2026-08-02 12:31:58] local.INFO: Packet analysis {"connection_id":149110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc146"} 
[2026-08-02 12:31:58] local.INFO: Extracted packet for processing {"connection_id":149110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc146"} 
[2026-08-02 12:31:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 12:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 12:31:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,175,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 12:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785654071000,"timestamp_ms":1785654071000,"timestamp_seconds":1785654071,"priority":1,"record_length":96,"hex_timestamp":"0000019fc146ced8"} 
[2026-08-02 12:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-02 12:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":149110,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 12:31:58] local.INFO: GPS data processed {"connection_id":149110,"processed":0,"errors":0,"total":1} 
[2026-08-02 12:31:58] local.INFO: Acknowledgment sent {"connection_id":149110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:32:05] local.INFO: TCP Data received {"connection_id":146776,"ip":"117.224.14.1","data_length":561,"data_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146776,"packet_length":561,"packet_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:32:05] local.INFO: Processing buffer {"connection_id":146776,"buffer_length":561,"buffer_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:32:05] local.INFO: Packet analysis {"connection_id":146776,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:32:05] local.INFO: Extracted packet for processing {"connection_id":146776,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:32:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":561,"current_offset":40} 
[2026-08-02 12:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127318016001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:32:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785653887000,"timestamp_ms":1785653887000,"timestamp_seconds":1785653887,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1440018"} 
[2026-08-02 12:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":15,"data_length":561,"current_offset":136} 
[2026-08-02 12:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:32:05] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146776,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-02 12:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127318016001,"66":25625,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127318016001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:32:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:32:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:32:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127318016001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":146776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:32:05] local.INFO: GPS data processed {"connection_id":146776,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:32:05] local.INFO: Acknowledgment sent {"connection_id":146776,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:32:24] local.INFO: TCP Data received {"connection_id":146565,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:32:24] local.INFO: Processing buffer {"connection_id":146565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:32:24] local.INFO: IMEI packet received {"connection_id":146565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":146565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:32:29] local.INFO: TCP Data received {"connection_id":146565,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:32:29] local.INFO: Processing buffer {"connection_id":146565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:32:29] local.INFO: IMEI packet received {"connection_id":146565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":146565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:32:29] local.INFO: TCP Data received {"connection_id":149110,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc14720e00100000000000000000000000000..."} 
[2026-08-02 12:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc14720e00100000000000000000000000000..."} 
[2026-08-02 12:32:29] local.INFO: Processing buffer {"connection_id":149110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc14720e00100000000000000000000000000..."} 
[2026-08-02 12:32:29] local.INFO: Packet analysis {"connection_id":149110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc147"} 
[2026-08-02 12:32:29] local.INFO: Extracted packet for processing {"connection_id":149110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc147"} 
[2026-08-02 12:32:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 12:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 12:32:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,175,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 12:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785654092000,"timestamp_ms":1785654092000,"timestamp_seconds":1785654092,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14720e0"} 
[2026-08-02 12:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:32:29] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-02 12:32: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-08-02 12:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":149110,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 12:32:29] local.INFO: GPS data processed {"connection_id":149110,"processed":0,"errors":0,"total":1} 
[2026-08-02 12:32:29] local.INFO: Acknowledgment sent {"connection_id":149110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:32:30] local.INFO: TCP Data received {"connection_id":146565,"ip":"117.224.14.1","data_length":561,"data_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146565,"packet_length":561,"packet_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:32:30] local.INFO: Processing buffer {"connection_id":146565,"buffer_length":561,"buffer_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:32:30] local.INFO: Packet analysis {"connection_id":146565,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:32:30] local.INFO: Extracted packet for processing {"connection_id":146565,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:32:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":561,"current_offset":40} 
[2026-08-02 12:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127318016001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785653887000,"timestamp_ms":1785653887000,"timestamp_seconds":1785653887,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1440018"} 
[2026-08-02 12:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":561,"current_offset":136} 
[2026-08-02 12:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:32:30] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146565,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-02 12:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127318016001,"66":25625,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127318016001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:32:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:32:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127318016001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":146565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:32:31] local.INFO: GPS data processed {"connection_id":146565,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:32:31] local.INFO: Acknowledgment sent {"connection_id":146565,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:33:01] local.INFO: TCP Data received {"connection_id":149110,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc14772e80100000000000000000000000000..."} 
[2026-08-02 12:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc14772e80100000000000000000000000000..."} 
[2026-08-02 12:33:01] local.INFO: Processing buffer {"connection_id":149110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc14772e80100000000000000000000000000..."} 
[2026-08-02 12:33:01] local.INFO: Packet analysis {"connection_id":149110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc147"} 
[2026-08-02 12:33:01] local.INFO: Extracted packet for processing {"connection_id":149110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc147"} 
[2026-08-02 12:33:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 12:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 12:33:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,175,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 12:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785654113000,"timestamp_ms":1785654113000,"timestamp_seconds":1785654113,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14772e8"} 
[2026-08-02 12:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-02 12:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":149110,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 12:33:01] local.INFO: GPS data processed {"connection_id":149110,"processed":0,"errors":0,"total":1} 
[2026-08-02 12:33:01] local.INFO: Acknowledgment sent {"connection_id":149110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:33:05] local.INFO: TCP Data received {"connection_id":146565,"ip":"117.224.14.1","data_length":561,"data_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146565,"packet_length":561,"packet_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:33:05] local.INFO: Processing buffer {"connection_id":146565,"buffer_length":561,"buffer_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:33:05] local.INFO: Packet analysis {"connection_id":146565,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:33:05] local.INFO: Extracted packet for processing {"connection_id":146565,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:33:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":561,"current_offset":40} 
[2026-08-02 12:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127318016001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:33:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785653887000,"timestamp_ms":1785653887000,"timestamp_seconds":1785653887,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1440018"} 
[2026-08-02 12:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":15,"data_length":561,"current_offset":136} 
[2026-08-02 12:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:33:05] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146565,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-02 12:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127318016001,"66":25625,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127318016001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:33:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:33:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:33:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127318016001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":146565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:33:05] local.INFO: GPS data processed {"connection_id":146565,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:33:05] local.INFO: Acknowledgment sent {"connection_id":146565,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:33:29] local.INFO: TCP Data received {"connection_id":146566,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:33:29] local.INFO: Processing buffer {"connection_id":146566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:33:29] local.INFO: IMEI packet received {"connection_id":146566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":146566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:33:32] local.INFO: TCP Data received {"connection_id":149110,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc147c4f00100000000000000000000000000..."} 
[2026-08-02 12:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc147c4f00100000000000000000000000000..."} 
[2026-08-02 12:33:32] local.INFO: Processing buffer {"connection_id":149110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc147c4f00100000000000000000000000000..."} 
[2026-08-02 12:33:32] local.INFO: Packet analysis {"connection_id":149110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc147"} 
[2026-08-02 12:33:32] local.INFO: Extracted packet for processing {"connection_id":149110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc147"} 
[2026-08-02 12:33:32] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 12:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 12:33:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,175,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 12:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785654134000,"timestamp_ms":1785654134000,"timestamp_seconds":1785654134,"priority":1,"record_length":96,"hex_timestamp":"0000019fc147c4f0"} 
[2026-08-02 12:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-02 12:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":149110,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 12:33:32] local.INFO: GPS data processed {"connection_id":149110,"processed":0,"errors":0,"total":1} 
[2026-08-02 12:33:32] local.INFO: Acknowledgment sent {"connection_id":149110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:33:34] local.INFO: TCP Data received {"connection_id":146566,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:33:34] local.INFO: Processing buffer {"connection_id":146566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:33:34] local.INFO: IMEI packet received {"connection_id":146566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":146566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:33:35] local.INFO: TCP Data received {"connection_id":146566,"ip":"117.224.14.1","data_length":561,"data_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146566,"packet_length":561,"packet_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:33:35] local.INFO: Processing buffer {"connection_id":146566,"buffer_length":561,"buffer_hex":"00000000000002258e070000019fc1440018012cc330c007685958005800c52d..."} 
[2026-08-02 12:33:35] local.INFO: Packet analysis {"connection_id":146566,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:33:35] local.INFO: Extracted packet for processing {"connection_id":146566,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019fc144"} 
[2026-08-02 12:33:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":561,"current_offset":40} 
[2026-08-02 12:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127318016001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:33:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785653887000,"timestamp_ms":1785653887000,"timestamp_seconds":1785653887,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1440018"} 
[2026-08-02 12:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":561,"current_offset":136} 
[2026-08-02 12:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:33:35] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146566,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-02 12:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127318016001,"66":25625,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127318016001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:33:35] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:33:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:33:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127318016001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":146566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:33:36] local.INFO: GPS data processed {"connection_id":146566,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:33:36] local.INFO: Acknowledgment sent {"connection_id":146566,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:34:03] local.INFO: TCP Data received {"connection_id":149110,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc14816f80100000000000000000000000000..."} 
[2026-08-02 12:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc14816f80100000000000000000000000000..."} 
[2026-08-02 12:34:03] local.INFO: Processing buffer {"connection_id":149110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc14816f80100000000000000000000000000..."} 
[2026-08-02 12:34:03] local.INFO: Packet analysis {"connection_id":149110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc148"} 
[2026-08-02 12:34:03] local.INFO: Extracted packet for processing {"connection_id":149110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc148"} 
[2026-08-02 12:34:03] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 12:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 12:34:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,175,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 12:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785654155000,"timestamp_ms":1785654155000,"timestamp_seconds":1785654155,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14816f8"} 
[2026-08-02 12:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:34:03] 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-08-02 12: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-02 12:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":149110,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 12:34:03] local.INFO: GPS data processed {"connection_id":149110,"processed":0,"errors":0,"total":1} 
[2026-08-02 12:34:03] local.INFO: Acknowledgment sent {"connection_id":149110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:34:07] local.INFO: TCP Data received {"connection_id":146566,"ip":"117.224.14.1","data_length":639,"data_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146566,"packet_length":639,"packet_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:34:07] local.INFO: Processing buffer {"connection_id":146566,"buffer_length":639,"buffer_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:34:07] local.INFO: Packet analysis {"connection_id":146566,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:34:07] local.INFO: Extracted packet for processing {"connection_id":146566,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:34:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":639,"current_offset":40} 
[2026-08-02 12:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127395072001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:34:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785654188000,"timestamp_ms":1785654188000,"timestamp_seconds":1785654188,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14897e0"} 
[2026-08-02 12:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12: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-08-02 12: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":25,"data_length":639,"current_offset":136} 
[2026-08-02 12:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:34:07] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146566,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-02 12:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127395072001,"66":25625,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 12:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127395072001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:34:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 12:34:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:34:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127395072001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":146566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:34:07] local.INFO: GPS data processed {"connection_id":146566,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:34:07] local.INFO: Acknowledgment sent {"connection_id":146566,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:34:27] local.INFO: TCP Data received {"connection_id":146777,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:34:27] local.INFO: Processing buffer {"connection_id":146777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:34:27] local.INFO: IMEI packet received {"connection_id":146777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":146777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:34:33] local.INFO: TCP Data received {"connection_id":146777,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:34:33] local.INFO: Processing buffer {"connection_id":146777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:34:33] local.INFO: IMEI packet received {"connection_id":146777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":146777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:34:34] local.INFO: TCP Data received {"connection_id":146777,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1483e08012d7a6b0005da96d00006005208..."} 
[2026-08-02 12:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1483e08012d7a6b0005da96d00006005208..."} 
[2026-08-02 12:34:34] local.INFO: Processing buffer {"connection_id":146777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1483e08012d7a6b0005da96d00006005208..."} 
[2026-08-02 12:34:34] local.INFO: Packet analysis {"connection_id":146777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc148"} 
[2026-08-02 12:34:34] local.INFO: Extracted packet for processing {"connection_id":146777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc148"} 
[2026-08-02 12:34:34] local.INFO: GPS Element Parsed {"raw_longitude":762997504,"raw_latitude":98211536,"longitude_deg":76.2997504,"latitude_deg":9.8211536,"altitude":6,"angle":82,"satellites":8,"speed":38,"hex_longitude":"2d7a6b00","hex_latitude":"05da96d0","is_valid_coordinates":true} 
[2026-08-02 12:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758453717008384,"note":"Value kept but may cause issues"} 
[2026-08-02 12:34:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 12:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785654165000,"timestamp_ms":1785654165000,"timestamp_seconds":1785654165,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1483e08"} 
[2026-08-02 12:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-02 12:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13537,"229":206,"85":15104,"24":38,"16":113758453717008384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16]} 
[2026-08-02 12:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-02 12:34:34] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 12:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758453717008384,"km_value":113758453717008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:34:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13537,"unknown_229":206,"unknown_85":15104,"ignition":38,"odometer":null}} 
[2026-08-02 12:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":146777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:34:34] local.INFO: GPS data processed {"connection_id":146777,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:34:34] local.INFO: Acknowledgment sent {"connection_id":146777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:34:34] local.INFO: TCP Data received {"connection_id":146567,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:34:34] local.INFO: Processing buffer {"connection_id":146567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:34:34] local.INFO: IMEI packet received {"connection_id":146567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":146567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:34:39] local.INFO: TCP Data received {"connection_id":146567,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:34:39] local.INFO: Processing buffer {"connection_id":146567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:34:39] local.INFO: IMEI packet received {"connection_id":146567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":146567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:34:40] local.INFO: TCP Data received {"connection_id":146567,"ip":"117.224.14.1","data_length":639,"data_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146567,"packet_length":639,"packet_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:34:40] local.INFO: Processing buffer {"connection_id":146567,"buffer_length":639,"buffer_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:34:40] local.INFO: Packet analysis {"connection_id":146567,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:34:40] local.INFO: Extracted packet for processing {"connection_id":146567,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:34:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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":639,"current_offset":40} 
[2026-08-02 12:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127395072001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785654188000,"timestamp_ms":1785654188000,"timestamp_seconds":1785654188,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14897e0"} 
[2026-08-02 12:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":25,"data_length":639,"current_offset":136} 
[2026-08-02 12:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:34:40] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146567,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-02 12:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127395072001,"66":25625,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 12:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127395072001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:34:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 12:34:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127395072001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":146567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:34:41] local.INFO: GPS data processed {"connection_id":146567,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:34:41] local.INFO: Acknowledgment sent {"connection_id":146567,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:35:05] local.INFO: TCP Data received {"connection_id":146777,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1486518012d7a88c005da9fd80010004a08..."} 
[2026-08-02 12:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1486518012d7a88c005da9fd80010004a08..."} 
[2026-08-02 12:35:05] local.INFO: Processing buffer {"connection_id":146777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1486518012d7a88c005da9fd80010004a08..."} 
[2026-08-02 12:35:05] local.INFO: Packet analysis {"connection_id":146777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc148"} 
[2026-08-02 12:35:05] local.INFO: Extracted packet for processing {"connection_id":146777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc148"} 
[2026-08-02 12:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763005120,"raw_latitude":98213848,"longitude_deg":76.300512,"latitude_deg":9.8213848,"altitude":16,"angle":74,"satellites":8,"speed":23,"hex_longitude":"2d7a88c0","hex_latitude":"05da9fd8","is_valid_coordinates":true} 
[2026-08-02 12:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127466240001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758831674130432,"note":"Value kept but may cause issues"} 
[2026-08-02 12:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821144320277401600,"note":"Value kept but may cause issues"} 
[2026-08-02 12:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785654175000,"timestamp_ms":1785654175000,"timestamp_seconds":1785654175,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1486518"} 
[2026-08-02 12:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:35: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-08-02 12: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-02 12:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127466240001,"66":13526,"229":206,"85":15104,"24":23,"16":113758831674130432,"45":8821144320277401600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 12:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127466240001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:35:05] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 12:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758831674130432,"km_value":113758831674130.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821144320277401600,"description":"Unknown IO ID 45"} 
[2026-08-02 12:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127466240001,"power":13526,"unknown_229":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8821144320277401600}} 
[2026-08-02 12:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":146777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:35:05] local.INFO: GPS data processed {"connection_id":146777,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:35:05] local.INFO: Acknowledgment sent {"connection_id":146777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:35:24] local.INFO: TCP Data received {"connection_id":149111,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:35:24] local.INFO: Processing buffer {"connection_id":149111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:35:24] local.INFO: IMEI packet received {"connection_id":149111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":149111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:35:29] local.INFO: TCP Data received {"connection_id":149111,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:35:29] local.INFO: Processing buffer {"connection_id":149111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:35:29] local.INFO: IMEI packet received {"connection_id":149111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":149111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:35:31] local.INFO: TCP Data received {"connection_id":149111,"ip":"117.224.14.1","data_length":639,"data_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149111,"packet_length":639,"packet_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:35:31] local.INFO: Processing buffer {"connection_id":149111,"buffer_length":639,"buffer_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:35:31] local.INFO: Packet analysis {"connection_id":149111,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:35:31] local.INFO: Extracted packet for processing {"connection_id":149111,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:35:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-08-02 12:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127395072001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:35:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785654188000,"timestamp_ms":1785654188000,"timestamp_seconds":1785654188,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14897e0"} 
[2026-08-02 12:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":639,"current_offset":136} 
[2026-08-02 12:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:35:31] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149111,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-02 12:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127395072001,"66":25625,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 12:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127395072001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:35:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 12:35:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:35:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127395072001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":149111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:35:31] local.INFO: GPS data processed {"connection_id":149111,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:35:31] local.INFO: Acknowledgment sent {"connection_id":149111,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:35:36] local.INFO: TCP Data received {"connection_id":146777,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc148a780012d7a964005daa428000c005808..."} 
[2026-08-02 12:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc148a780012d7a964005daa428000c005808..."} 
[2026-08-02 12:35:36] local.INFO: Processing buffer {"connection_id":146777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc148a780012d7a964005daa428000c005808..."} 
[2026-08-02 12:35:36] local.INFO: Packet analysis {"connection_id":146777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc148"} 
[2026-08-02 12:35:36] local.INFO: Extracted packet for processing {"connection_id":146777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc148"} 
[2026-08-02 12:35:36] local.INFO: GPS Element Parsed {"raw_longitude":763008576,"raw_latitude":98214952,"longitude_deg":76.3008576,"latitude_deg":9.8214952,"altitude":12,"angle":88,"satellites":8,"speed":1,"hex_longitude":"2d7a9640","hex_latitude":"05daa428","is_valid_coordinates":true} 
[2026-08-02 12:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127468800001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113759007767789568,"note":"Value kept but may cause issues"} 
[2026-08-02 12:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8829518200835135488,"note":"Value kept but may cause issues"} 
[2026-08-02 12:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785654192000,"timestamp_ms":1785654192000,"timestamp_seconds":1785654192,"priority":1,"record_length":96,"hex_timestamp":"0000019fc148a780"} 
[2026-08-02 12:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 12:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127468800001,"66":13472,"229":206,"85":15104,"24":1,"16":113759007767789568,"45":8829518200835135488},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 12:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127468800001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:35:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 12:35:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113759007767789568,"km_value":113759007767789.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8829518200835135488,"description":"Unknown IO ID 45"} 
[2026-08-02 12:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127468800001,"power":13472,"unknown_229":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8829518200835135488}} 
[2026-08-02 12:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":146777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:35:36] local.INFO: GPS data processed {"connection_id":146777,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:35:36] local.INFO: Acknowledgment sent {"connection_id":146777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:36:05] local.INFO: TCP Data received {"connection_id":149111,"ip":"117.224.14.1","data_length":639,"data_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149111,"packet_length":639,"packet_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:36:05] local.INFO: Processing buffer {"connection_id":149111,"buffer_length":639,"buffer_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:36:05] local.INFO: Packet analysis {"connection_id":149111,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:36:05] local.INFO: Extracted packet for processing {"connection_id":149111,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:36:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-08-02 12:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127395072001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785654188000,"timestamp_ms":1785654188000,"timestamp_seconds":1785654188,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14897e0"} 
[2026-08-02 12:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":639,"current_offset":136} 
[2026-08-02 12:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:36:05] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149111,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-02 12:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127395072001,"66":25625,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 12:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127395072001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:36:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 12:36:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:36:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127395072001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":149111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:36:05] local.INFO: GPS data processed {"connection_id":149111,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:36:05] local.INFO: Acknowledgment sent {"connection_id":149111,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:36:07] local.INFO: TCP Data received {"connection_id":146777,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc148f5a0012d7a96c005daa468000d008d0d..."} 
[2026-08-02 12:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc148f5a0012d7a96c005daa468000d008d0d..."} 
[2026-08-02 12:36:07] local.INFO: Processing buffer {"connection_id":146777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc148f5a0012d7a96c005daa468000d008d0d..."} 
[2026-08-02 12:36:07] local.INFO: Packet analysis {"connection_id":146777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc148"} 
[2026-08-02 12:36:07] local.INFO: Extracted packet for processing {"connection_id":146777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc148"} 
[2026-08-02 12:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763008704,"raw_latitude":98215016,"longitude_deg":76.3008704,"latitude_deg":9.8215016,"altitude":13,"angle":141,"satellites":13,"speed":1,"hex_longitude":"2d7a96c0","hex_latitude":"05daa468","is_valid_coordinates":true} 
[2026-08-02 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-08-02 12:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127473152001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113759024947658752,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833318113021011968,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785654212000,"timestamp_ms":1785654212000,"timestamp_seconds":1785654212,"priority":1,"record_length":96,"hex_timestamp":"0000019fc148f5a0"} 
[2026-08-02 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-08-02 12:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 12:36: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-08-02 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-08-02 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-08-02 12:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127473152001,"66":13559,"229":206,"85":15104,"24":1,"16":113759024947658752,"45":8833318113021011968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 12:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127473152001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:36:07] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 12:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113759024947658752,"km_value":113759024947658.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833318113021011968,"description":"Unknown IO ID 45"} 
[2026-08-02 12:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127473152001,"power":13559,"unknown_229":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8833318113021011968}} 
[2026-08-02 12:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":146777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:36:07] local.INFO: GPS data processed {"connection_id":146777,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:36:07] local.INFO: Acknowledgment sent {"connection_id":146777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:36:29] local.INFO: TCP Data received {"connection_id":146568,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:36:29] local.INFO: Processing buffer {"connection_id":146568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:36:29] local.INFO: IMEI packet received {"connection_id":146568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":146568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:36:33] local.INFO: TCP Data received {"connection_id":149112,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:36:33] local.INFO: Processing buffer {"connection_id":149112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:36:33] local.INFO: IMEI packet received {"connection_id":149112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":149112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:36:34] local.INFO: TCP Data received {"connection_id":146568,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:36:34] local.INFO: Processing buffer {"connection_id":146568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:36:34] local.INFO: IMEI packet received {"connection_id":146568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":146568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:36:38] local.INFO: TCP Data received {"connection_id":149112,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:36:38] local.INFO: Processing buffer {"connection_id":149112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:36:38] local.INFO: IMEI packet received {"connection_id":149112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":149112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:36:39] local.INFO: TCP Data received {"connection_id":149112,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc148f5a0012d7a96c005daa468000d008d0d..."} 
[2026-08-02 12:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc148f5a0012d7a96c005daa468000d008d0d..."} 
[2026-08-02 12:36:39] local.INFO: Processing buffer {"connection_id":149112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc148f5a0012d7a96c005daa468000d008d0d..."} 
[2026-08-02 12:36:39] local.INFO: Packet analysis {"connection_id":149112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc148"} 
[2026-08-02 12:36:39] local.INFO: Extracted packet for processing {"connection_id":149112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc148"} 
[2026-08-02 12:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763008704,"raw_latitude":98215016,"longitude_deg":76.3008704,"latitude_deg":9.8215016,"altitude":13,"angle":141,"satellites":13,"speed":1,"hex_longitude":"2d7a96c0","hex_latitude":"05daa468","is_valid_coordinates":true} 
[2026-08-02 12: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-08-02 12:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127478272001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113759024947658752,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833458850509383680,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785654212000,"timestamp_ms":1785654212000,"timestamp_seconds":1785654212,"priority":1,"record_length":96,"hex_timestamp":"0000019fc148f5a0"} 
[2026-08-02 12:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 12:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12: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-08-02 12:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127478272001,"66":13559,"229":206,"85":15104,"24":1,"16":113759024947658752,"45":8833458850509383680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-02 12:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127478272001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:36:39] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-02 12:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113759024947658752,"km_value":113759024947658.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833458850509383680,"description":"Unknown IO ID 45"} 
[2026-08-02 12:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127478272001,"power":13559,"unknown_229":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8833458850509383680}} 
[2026-08-02 12:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":149112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:36:39] local.INFO: GPS data processed {"connection_id":149112,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:36:39] local.INFO: Acknowledgment sent {"connection_id":149112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:36:41] local.INFO: TCP Data received {"connection_id":146568,"ip":"117.224.14.1","data_length":639,"data_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146568,"packet_length":639,"packet_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:36:41] local.INFO: Processing buffer {"connection_id":146568,"buffer_length":639,"buffer_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:36:41] local.INFO: Packet analysis {"connection_id":146568,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:36:41] local.INFO: Extracted packet for processing {"connection_id":146568,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:36:41] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-08-02 12:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127395072001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785654188000,"timestamp_ms":1785654188000,"timestamp_seconds":1785654188,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14897e0"} 
[2026-08-02 12:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:36: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-08-02 12:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":639,"current_offset":136} 
[2026-08-02 12:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:36:41] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146568,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-02 12:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127395072001,"66":25625,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 12:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127395072001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:36:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 12:36:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127395072001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":146568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:36:41] local.INFO: GPS data processed {"connection_id":146568,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:36:41] local.INFO: Acknowledgment sent {"connection_id":146568,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:36:43] local.INFO: TCP Data received {"connection_id":149112,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc14947a8012d7a96c005daa438000d008d12..."} 
[2026-08-02 12:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc14947a8012d7a96c005daa438000d008d12..."} 
[2026-08-02 12:36:43] local.INFO: Processing buffer {"connection_id":149112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc14947a8012d7a96c005daa438000d008d12..."} 
[2026-08-02 12:36:43] local.INFO: Packet analysis {"connection_id":149112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc149"} 
[2026-08-02 12:36:43] local.INFO: Extracted packet for processing {"connection_id":149112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc149"} 
[2026-08-02 12:36:43] local.INFO: GPS Element Parsed {"raw_longitude":763008704,"raw_latitude":98214968,"longitude_deg":76.3008704,"latitude_deg":9.8214968,"altitude":13,"angle":141,"satellites":18,"speed":0,"hex_longitude":"2d7a96c0","hex_latitude":"05daa438","is_valid_coordinates":true} 
[2026-08-02 12:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127478272001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113759042127527936,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833458850509383680,"note":"Value kept but may cause issues"} 
[2026-08-02 12:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785654233000,"timestamp_ms":1785654233000,"timestamp_seconds":1785654233,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14947a8"} 
[2026-08-02 12:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 12:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":149112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":149112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":149112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127478272001,"66":13917,"188":206,"85":15104,"24":0,"16":113759042127527936,"45":8833458850509383680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 12:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127478272001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:36:43] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 12:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113759042127527936,"km_value":113759042127527.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833458850509383680,"description":"Unknown IO ID 45"} 
[2026-08-02 12:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127478272001,"power":13917,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8833458850509383680}} 
[2026-08-02 12:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":149112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:36:43] local.INFO: GPS data processed {"connection_id":149112,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:36:43] local.INFO: Acknowledgment sent {"connection_id":149112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:37:24] local.INFO: TCP Data received {"connection_id":149113,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:37:24] local.INFO: Processing buffer {"connection_id":149113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:37:24] local.INFO: IMEI packet received {"connection_id":149113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":149113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:37:25] local.INFO: TCP Data received {"connection_id":146778,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:37:25] local.INFO: Processing buffer {"connection_id":146778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:37:25] local.INFO: IMEI packet received {"connection_id":146778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":146778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:37:28] local.INFO: TCP Data received {"connection_id":146778,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:37:28] local.INFO: Processing buffer {"connection_id":146778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:37:28] local.INFO: IMEI packet received {"connection_id":146778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":146778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:37:29] local.INFO: TCP Data received {"connection_id":149113,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:37:29] local.INFO: Processing buffer {"connection_id":149113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:37:29] local.INFO: IMEI packet received {"connection_id":149113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":149113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:37:31] local.INFO: TCP Data received {"connection_id":149113,"ip":"117.224.14.1","data_length":639,"data_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149113,"packet_length":639,"packet_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:37:31] local.INFO: Processing buffer {"connection_id":149113,"buffer_length":639,"buffer_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:37:31] local.INFO: Packet analysis {"connection_id":149113,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:37:31] local.INFO: Extracted packet for processing {"connection_id":149113,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:37:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":639,"current_offset":40} 
[2026-08-02 12:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127395072001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:37:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785654188000,"timestamp_ms":1785654188000,"timestamp_seconds":1785654188,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14897e0"} 
[2026-08-02 12:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":639,"current_offset":136} 
[2026-08-02 12:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:37:31] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149113,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-02 12:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127395072001,"66":25625,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 12:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127395072001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:37:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 12:37:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:37:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127395072001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":149113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:37:31] local.INFO: GPS data processed {"connection_id":149113,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:37:31] local.INFO: Acknowledgment sent {"connection_id":149113,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:37:33] local.INFO: TCP Data received {"connection_id":146778,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:37:33] local.INFO: Processing buffer {"connection_id":146778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:37:33] local.INFO: IMEI packet received {"connection_id":146778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":146778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:37:34] local.INFO: TCP Data received {"connection_id":146778,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc14999b0012d7a96c005daa468000c008d14..."} 
[2026-08-02 12:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc14999b0012d7a96c005daa468000c008d14..."} 
[2026-08-02 12:37:34] local.INFO: Processing buffer {"connection_id":146778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc14999b0012d7a96c005daa468000c008d14..."} 
[2026-08-02 12:37:34] local.INFO: Packet analysis {"connection_id":146778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc149"} 
[2026-08-02 12:37:34] local.INFO: Extracted packet for processing {"connection_id":146778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc149"} 
[2026-08-02 12:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763008704,"raw_latitude":98215016,"longitude_deg":76.3008704,"latitude_deg":9.8215016,"altitude":12,"angle":141,"satellites":20,"speed":0,"hex_longitude":"2d7a96c0","hex_latitude":"05daa468","is_valid_coordinates":true} 
[2026-08-02 12:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127483648001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113759046422495232,"note":"Value kept but may cause issues"} 
[2026-08-02 12:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833458850509371392,"note":"Value kept but may cause issues"} 
[2026-08-02 12:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785654254000,"timestamp_ms":1785654254000,"timestamp_seconds":1785654254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14999b0"} 
[2026-08-02 12:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-02 12:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127483648001,"66":13689,"188":206,"85":15104,"24":0,"16":113759046422495232,"45":8833458850509371392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 12:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127483648001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:37:34] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 12:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113759046422495232,"km_value":113759046422495.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833458850509371392,"description":"Unknown IO ID 45"} 
[2026-08-02 12:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127483648001,"power":13689,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8833458850509371392}} 
[2026-08-02 12:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":146778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:37:34] local.INFO: GPS data processed {"connection_id":146778,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:37:34] local.INFO: Acknowledgment sent {"connection_id":146778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:38:05] local.INFO: TCP Data received {"connection_id":146778,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc149ebb8012d7a968005daa4b0000c008d17..."} 
[2026-08-02 12:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc149ebb8012d7a968005daa4b0000c008d17..."} 
[2026-08-02 12:38:05] local.INFO: Processing buffer {"connection_id":146778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc149ebb8012d7a968005daa4b0000c008d17..."} 
[2026-08-02 12:38:05] local.INFO: Packet analysis {"connection_id":146778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc149"} 
[2026-08-02 12:38:05] local.INFO: Extracted packet for processing {"connection_id":146778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc149"} 
[2026-08-02 12:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763008640,"raw_latitude":98215088,"longitude_deg":76.300864,"latitude_deg":9.8215088,"altitude":12,"angle":141,"satellites":23,"speed":0,"hex_longitude":"2d7a9680","hex_latitude":"05daa4b0","is_valid_coordinates":true} 
[2026-08-02 12:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127489024001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113759055012429824,"note":"Value kept but may cause issues"} 
[2026-08-02 12:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833458850509383680,"note":"Value kept but may cause issues"} 
[2026-08-02 12:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785654275000,"timestamp_ms":1785654275000,"timestamp_seconds":1785654275,"priority":1,"record_length":96,"hex_timestamp":"0000019fc149ebb8"} 
[2026-08-02 12:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-02 12:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:38:05] local.INFO: TCP Data received {"connection_id":149113,"ip":"117.224.14.1","data_length":639,"data_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127489024001,"66":13961,"188":206,"85":15104,"24":0,"16":113759055012429824,"45":8833458850509383680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 12:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149113,"packet_length":639,"packet_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:38:05] local.INFO: Processing buffer {"connection_id":149113,"buffer_length":639,"buffer_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:38:05] local.INFO: Packet analysis {"connection_id":149113,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:38:05] local.INFO: Extracted packet for processing {"connection_id":149113,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127489024001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:38:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:38:05] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 12: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":639,"current_offset":40} 
[2026-08-02 12:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127395072001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113759055012429824,"km_value":113759055012429.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833458850509383680,"description":"Unknown IO ID 45"} 
[2026-08-02 12:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127489024001,"power":13961,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8833458850509383680}} 
[2026-08-02 12:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785654188000,"timestamp_ms":1785654188000,"timestamp_seconds":1785654188,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14897e0"} 
[2026-08-02 12:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":639,"current_offset":136} 
[2026-08-02 12:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:38:05] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149113,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-02 12:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127395072001,"66":25625,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 12:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127395072001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:38:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 12:38:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127395072001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":149113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:38:05] local.INFO: GPS data processed {"connection_id":149113,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:38:05] local.INFO: Acknowledgment sent {"connection_id":149113,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":146778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:38:05] local.INFO: GPS data processed {"connection_id":146778,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:38:05] local.INFO: Acknowledgment sent {"connection_id":146778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:38:24] local.INFO: TCP Data received {"connection_id":147797,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:38:24] local.INFO: Processing buffer {"connection_id":147797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:38:24] local.INFO: IMEI packet received {"connection_id":147797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":147797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:38:28] local.INFO: TCP Data received {"connection_id":149114,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:38:28] local.INFO: Processing buffer {"connection_id":149114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:38:28] local.INFO: IMEI packet received {"connection_id":149114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":149114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:38:28] local.INFO: TCP Data received {"connection_id":149114,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:38:28] local.INFO: Processing buffer {"connection_id":149114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:38:28] local.INFO: IMEI packet received {"connection_id":149114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":149114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:38:29] local.INFO: TCP Data received {"connection_id":147797,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:38:29] local.INFO: Processing buffer {"connection_id":147797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:38:29] local.INFO: IMEI packet received {"connection_id":147797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":147797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:38:30] local.INFO: TCP Data received {"connection_id":147797,"ip":"117.224.14.1","data_length":639,"data_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147797,"packet_length":639,"packet_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:38:30] local.INFO: Processing buffer {"connection_id":147797,"buffer_length":639,"buffer_hex":"00000000000002738e080000019fc14897e0012cc330c007685958005800c52a..."} 
[2026-08-02 12:38:30] local.INFO: Packet analysis {"connection_id":147797,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:38:30] local.INFO: Extracted packet for processing {"connection_id":147797,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019fc148"} 
[2026-08-02 12:38:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":639,"current_offset":40} 
[2026-08-02 12:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127395072001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785654188000,"timestamp_ms":1785654188000,"timestamp_seconds":1785654188,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14897e0"} 
[2026-08-02 12:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":639,"current_offset":136} 
[2026-08-02 12:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:38:30] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147797,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-02 12:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127395072001,"66":25625,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 12:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127395072001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:38:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 12:38:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127395072001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":147797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:38:30] local.INFO: GPS data processed {"connection_id":147797,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:38:30] local.INFO: Acknowledgment sent {"connection_id":147797,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:38:33] local.INFO: TCP Data received {"connection_id":149114,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:38:33] local.INFO: Processing buffer {"connection_id":149114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:38:33] local.INFO: IMEI packet received {"connection_id":149114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":149114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:38:34] local.INFO: TCP Data received {"connection_id":149114,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc14d2fa8012d7a97c005daa548000800421f..."} 
[2026-08-02 12:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc14d2fa8012d7a97c005daa548000800421f..."} 
[2026-08-02 12:38:34] local.INFO: Processing buffer {"connection_id":149114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc14d2fa8012d7a97c005daa548000800421f..."} 
[2026-08-02 12:38:34] local.INFO: Packet analysis {"connection_id":149114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc14d"} 
[2026-08-02 12:38:34] local.INFO: Extracted packet for processing {"connection_id":149114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc14d"} 
[2026-08-02 12:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763008960,"raw_latitude":98215240,"longitude_deg":76.300896,"latitude_deg":9.821524,"altitude":8,"angle":66,"satellites":31,"speed":2,"hex_longitude":"2d7a97c0","hex_latitude":"05daa548","is_valid_coordinates":true} 
[2026-08-02 12:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127548160001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113759132321841152,"note":"Value kept but may cause issues"} 
[2026-08-02 12:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833599587997777920,"note":"Value kept but may cause issues"} 
[2026-08-02 12:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785654489000,"timestamp_ms":1785654489000,"timestamp_seconds":1785654489,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14d2fa8"} 
[2026-08-02 12:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-02 12:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127548160001,"66":13406,"188":206,"85":15104,"24":2,"16":113759132321841152,"45":8833599587997777920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 12:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127548160001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:38:34] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 12:38:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113759132321841152,"km_value":113759132321841.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833599587997777920,"description":"Unknown IO ID 45"} 
[2026-08-02 12:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127548160001,"power":13406,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8833599587997777920}} 
[2026-08-02 12:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":149114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:38:34] local.INFO: GPS data processed {"connection_id":149114,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:38:34] local.INFO: Acknowledgment sent {"connection_id":149114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:39:02] local.INFO: TCP Data received {"connection_id":147797,"ip":"117.224.14.1","data_length":717,"data_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147797,"packet_length":717,"packet_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:39:02] local.INFO: Processing buffer {"connection_id":147797,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:39:02] local.INFO: Packet analysis {"connection_id":147797,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:39:02] local.INFO: Extracted packet for processing {"connection_id":147797,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:39:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":717,"current_offset":40} 
[2026-08-02 12:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127472128001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785654489000,"timestamp_ms":1785654489000,"timestamp_seconds":1785654489,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14d2fa8"} 
[2026-08-02 12:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":717,"current_offset":136} 
[2026-08-02 12:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:39:02] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147797,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-02 12:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127472128001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127472128001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:39:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:39:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:39:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127472128001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":147797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:39:02] local.INFO: GPS data processed {"connection_id":147797,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:39:02] local.INFO: Acknowledgment sent {"connection_id":147797,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:39:04] local.INFO: TCP Data received {"connection_id":149114,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc14d4718012d7a994005daa5c00009004e1f..."} 
[2026-08-02 12:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc14d4718012d7a994005daa5c00009004e1f..."} 
[2026-08-02 12:39:04] local.INFO: Processing buffer {"connection_id":149114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc14d4718012d7a994005daa5c00009004e1f..."} 
[2026-08-02 12:39:04] local.INFO: Packet analysis {"connection_id":149114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc14d"} 
[2026-08-02 12:39:04] local.INFO: Extracted packet for processing {"connection_id":149114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc14d"} 
[2026-08-02 12:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763009344,"raw_latitude":98215360,"longitude_deg":76.3009344,"latitude_deg":9.821536,"altitude":9,"angle":78,"satellites":31,"speed":2,"hex_longitude":"2d7a9940","hex_latitude":"05daa5c0","is_valid_coordinates":true} 
[2026-08-02 12:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127549184001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113759149501710336,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833740325486151680,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785654495000,"timestamp_ms":1785654495000,"timestamp_seconds":1785654495,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14d4718"} 
[2026-08-02 12:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 12:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127549184001,"66":13624,"188":206,"85":15104,"24":2,"16":113759149501710336,"45":8833740325486151680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 12:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127549184001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:39:04] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 12:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113759149501710336,"km_value":113759149501710.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833740325486151680,"description":"Unknown IO ID 45"} 
[2026-08-02 12:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127549184001,"power":13624,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8833740325486151680}} 
[2026-08-02 12:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":149114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:39:04] local.INFO: GPS data processed {"connection_id":149114,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:39:04] local.INFO: Acknowledgment sent {"connection_id":149114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:39:27] local.INFO: TCP Data received {"connection_id":146569,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:39:27] local.INFO: Processing buffer {"connection_id":146569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:39:27] local.INFO: IMEI packet received {"connection_id":146569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":146569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:39:33] local.INFO: TCP Data received {"connection_id":146569,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:39:33] local.INFO: Processing buffer {"connection_id":146569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:39:33] local.INFO: IMEI packet received {"connection_id":146569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":146569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:39:34] local.INFO: TCP Data received {"connection_id":146569,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc14d56b8012d7a9a0005daa5e80009003f1f..."} 
[2026-08-02 12:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc14d56b8012d7a9a0005daa5e80009003f1f..."} 
[2026-08-02 12:39:34] local.INFO: Processing buffer {"connection_id":146569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc14d56b8012d7a9a0005daa5e80009003f1f..."} 
[2026-08-02 12:39:34] local.INFO: Packet analysis {"connection_id":146569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc14d"} 
[2026-08-02 12:39:34] local.INFO: Extracted packet for processing {"connection_id":146569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc14d"} 
[2026-08-02 12:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763009536,"raw_latitude":98215400,"longitude_deg":76.3009536,"latitude_deg":9.82154,"altitude":9,"angle":63,"satellites":31,"speed":2,"hex_longitude":"2d7a9a00","hex_latitude":"05daa5e8","is_valid_coordinates":true} 
[2026-08-02 12:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127550720001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113759162386612224,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834162537951248384,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785654499000,"timestamp_ms":1785654499000,"timestamp_seconds":1785654499,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14d56b8"} 
[2026-08-02 12:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-02 12:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127550720001,"66":13602,"188":206,"85":15104,"24":2,"16":113759162386612224,"45":8834162537951248384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 12:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127550720001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:39:34] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 12:39:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113759162386612224,"km_value":113759162386612.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834162537951248384,"description":"Unknown IO ID 45"} 
[2026-08-02 12:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127550720001,"power":13602,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8834162537951248384}} 
[2026-08-02 12:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":146569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:39:34] local.INFO: GPS data processed {"connection_id":146569,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:39:34] local.INFO: Acknowledgment sent {"connection_id":146569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:39:34] local.INFO: TCP Data received {"connection_id":146779,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:39:34] local.INFO: Processing buffer {"connection_id":146779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:39:34] local.INFO: IMEI packet received {"connection_id":146779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":146779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:39:39] local.INFO: TCP Data received {"connection_id":146779,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:39:39] local.INFO: Processing buffer {"connection_id":146779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:39:39] local.INFO: IMEI packet received {"connection_id":146779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":146779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:39:41] local.INFO: TCP Data received {"connection_id":146779,"ip":"117.224.14.1","data_length":717,"data_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146779,"packet_length":717,"packet_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:39:41] local.INFO: Processing buffer {"connection_id":146779,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:39:41] local.INFO: Packet analysis {"connection_id":146779,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:39:41] local.INFO: Extracted packet for processing {"connection_id":146779,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:39:41] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":717,"current_offset":40} 
[2026-08-02 12:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127472128001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785654489000,"timestamp_ms":1785654489000,"timestamp_seconds":1785654489,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14d2fa8"} 
[2026-08-02 12:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":25,"data_length":717,"current_offset":136} 
[2026-08-02 12:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:39:41] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146779,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-02 12:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127472128001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127472128001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:39:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:39:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127472128001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":146779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:39:41] local.INFO: GPS data processed {"connection_id":146779,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:39:41] local.INFO: Acknowledgment sent {"connection_id":146779,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:39:45] local.INFO: TCP Data received {"connection_id":146779,"ip":"117.224.14.1","data_length":717,"data_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146779,"packet_length":717,"packet_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:39:45] local.INFO: Processing buffer {"connection_id":146779,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:39:45] local.INFO: Packet analysis {"connection_id":146779,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:39:45] local.INFO: Extracted packet for processing {"connection_id":146779,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:39:45] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":717,"current_offset":40} 
[2026-08-02 12:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127472128001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785654489000,"timestamp_ms":1785654489000,"timestamp_seconds":1785654489,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14d2fa8"} 
[2026-08-02 12:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":717,"current_offset":136} 
[2026-08-02 12:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:39:45] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146779,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-02 12:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127472128001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127472128001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:39:45] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:39:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:39:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127472128001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":146779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:39:45] local.INFO: GPS data processed {"connection_id":146779,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:39:45] local.INFO: Acknowledgment sent {"connection_id":146779,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:40:05] local.INFO: TCP Data received {"connection_id":146569,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc14d5e88012d7a9a8005daa5f80009004a1f..."} 
[2026-08-02 12:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc14d5e88012d7a9a8005daa5f80009004a1f..."} 
[2026-08-02 12:40:05] local.INFO: Processing buffer {"connection_id":146569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc14d5e88012d7a9a8005daa5f80009004a1f..."} 
[2026-08-02 12:40:05] local.INFO: Packet analysis {"connection_id":146569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc14d"} 
[2026-08-02 12:40:05] local.INFO: Extracted packet for processing {"connection_id":146569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc14d"} 
[2026-08-02 12:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763009664,"raw_latitude":98215416,"longitude_deg":76.3009664,"latitude_deg":9.8215416,"altitude":9,"angle":74,"satellites":31,"speed":2,"hex_longitude":"2d7a9a80","hex_latitude":"05daa5f8","is_valid_coordinates":true} 
[2026-08-02 12:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127551744001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113759166681579520,"note":"Value kept but may cause issues"} 
[2026-08-02 12:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834373644183791616,"note":"Value kept but may cause issues"} 
[2026-08-02 12:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785654501000,"timestamp_ms":1785654501000,"timestamp_seconds":1785654501,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14d5e88"} 
[2026-08-02 12:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-02 12:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127551744001,"66":13646,"188":206,"85":15104,"24":2,"16":113759166681579520,"45":8834373644183791616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 12:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127551744001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:40:05] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 12:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113759166681579520,"km_value":113759166681579.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834373644183791616,"description":"Unknown IO ID 45"} 
[2026-08-02 12:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127551744001,"power":13646,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8834373644183791616}} 
[2026-08-02 12:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":146569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:40:05] local.INFO: GPS data processed {"connection_id":146569,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:40:05] local.INFO: Acknowledgment sent {"connection_id":146569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:40:24] local.INFO: TCP Data received {"connection_id":146780,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:40:24] local.INFO: Processing buffer {"connection_id":146780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:40:24] local.INFO: IMEI packet received {"connection_id":146780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":146780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:40:27] local.INFO: TCP Data received {"connection_id":146781,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:40:27] local.INFO: Processing buffer {"connection_id":146781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:40:27] local.INFO: IMEI packet received {"connection_id":146781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":146781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:40:29] local.INFO: TCP Data received {"connection_id":146780,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:40:29] local.INFO: Processing buffer {"connection_id":146780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:40:29] local.INFO: IMEI packet received {"connection_id":146780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":146780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:40:31] local.INFO: TCP Data received {"connection_id":146780,"ip":"117.224.14.1","data_length":717,"data_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146780,"packet_length":717,"packet_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:40:31] local.INFO: Processing buffer {"connection_id":146780,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:40:31] local.INFO: Packet analysis {"connection_id":146780,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:40:31] local.INFO: Extracted packet for processing {"connection_id":146780,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:40:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":717,"current_offset":40} 
[2026-08-02 12:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127472128001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:40:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785654489000,"timestamp_ms":1785654489000,"timestamp_seconds":1785654489,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14d2fa8"} 
[2026-08-02 12:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":25,"data_length":717,"current_offset":136} 
[2026-08-02 12:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:40:31] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146780,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-02 12:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127472128001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127472128001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:40:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:40:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:40:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127472128001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":146780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:40:31] local.INFO: GPS data processed {"connection_id":146780,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:40:31] local.INFO: Acknowledgment sent {"connection_id":146780,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:40:33] local.INFO: TCP Data received {"connection_id":146781,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:40:33] local.INFO: Processing buffer {"connection_id":146781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:40:33] local.INFO: IMEI packet received {"connection_id":146781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":146781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:40:34] local.INFO: TCP Data received {"connection_id":146781,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc14d6658012d7a9ac005daa5e8000900621f..."} 
[2026-08-02 12:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc14d6658012d7a9ac005daa5e8000900621f..."} 
[2026-08-02 12:40:34] local.INFO: Processing buffer {"connection_id":146781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc14d6658012d7a9ac005daa5e8000900621f..."} 
[2026-08-02 12:40:34] local.INFO: Packet analysis {"connection_id":146781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc14d"} 
[2026-08-02 12:40:34] local.INFO: Extracted packet for processing {"connection_id":146781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc14d"} 
[2026-08-02 12:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763009728,"raw_latitude":98215400,"longitude_deg":76.3009728,"latitude_deg":9.82154,"altitude":9,"angle":98,"satellites":31,"speed":1,"hex_longitude":"2d7a9ac0","hex_latitude":"05daa5e8","is_valid_coordinates":true} 
[2026-08-02 12:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127552256001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113759170976546816,"note":"Value kept but may cause issues"} 
[2026-08-02 12:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834514381672151040,"note":"Value kept but may cause issues"} 
[2026-08-02 12:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785654503000,"timestamp_ms":1785654503000,"timestamp_seconds":1785654503,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14d6658"} 
[2026-08-02 12:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:40: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-08-02 12: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-02 12:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127552256001,"66":13472,"188":206,"85":15104,"24":1,"16":113759170976546816,"45":8834514381672151040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 12:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127552256001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:40:34] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 12:40:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113759170976546816,"km_value":113759170976546.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834514381672151040,"description":"Unknown IO ID 45"} 
[2026-08-02 12:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127552256001,"power":13472,"unknown_188":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8834514381672151040}} 
[2026-08-02 12:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":146781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:40:34] local.INFO: GPS data processed {"connection_id":146781,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:40:34] local.INFO: Acknowledgment sent {"connection_id":146781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:41:05] local.INFO: TCP Data received {"connection_id":146781,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc14f5e40012d7b9c0005daeaa0000200521f..."} 
[2026-08-02 12:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc14f5e40012d7b9c0005daeaa0000200521f..."} 
[2026-08-02 12:41:05] local.INFO: Processing buffer {"connection_id":146781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc14f5e40012d7b9c0005daeaa0000200521f..."} 
[2026-08-02 12:41:05] local.INFO: Packet analysis {"connection_id":146781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc14f"} 
[2026-08-02 12:41:05] local.INFO: Extracted packet for processing {"connection_id":146781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc14f"} 
[2026-08-02 12:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763075584,"raw_latitude":98232992,"longitude_deg":76.3075584,"latitude_deg":9.8232992,"altitude":2,"angle":82,"satellites":31,"speed":32,"hex_longitude":"2d7b9c00","hex_latitude":"05daeaa0","is_valid_coordinates":true} 
[2026-08-02 12: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-08-02 12:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127582720001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113762435151691776,"note":"Value kept but may cause issues"} 
[2026-08-02 12:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897212932738437120,"note":"Value kept but may cause issues"} 
[2026-08-02 12:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785654632000,"timestamp_ms":1785654632000,"timestamp_seconds":1785654632,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14f5e40"} 
[2026-08-02 12:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:41: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-08-02 12: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-02 12:41: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-08-02 12: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-08-02 12:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127582720001,"66":13787,"188":206,"85":15104,"24":32,"16":113762435151691776,"45":8897212932738437120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 12:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127582720001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:41:05] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 12:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113762435151691776,"km_value":113762435151691.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897212932738437120,"description":"Unknown IO ID 45"} 
[2026-08-02 12:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127582720001,"power":13787,"unknown_188":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8897212932738437120}} 
[2026-08-02 12:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":146781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:41:05] local.INFO: GPS data processed {"connection_id":146781,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:41:05] local.INFO: Acknowledgment sent {"connection_id":146781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:41:05] local.INFO: TCP Data received {"connection_id":146780,"ip":"117.224.14.1","data_length":717,"data_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146780,"packet_length":717,"packet_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:41:05] local.INFO: Processing buffer {"connection_id":146780,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:41:05] local.INFO: Packet analysis {"connection_id":146780,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:41:05] local.INFO: Extracted packet for processing {"connection_id":146780,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:41:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":717,"current_offset":40} 
[2026-08-02 12:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127472128001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785654489000,"timestamp_ms":1785654489000,"timestamp_seconds":1785654489,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14d2fa8"} 
[2026-08-02 12:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":25,"data_length":717,"current_offset":136} 
[2026-08-02 12:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:41:05] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146780,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-02 12:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127472128001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127472128001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:41:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:41:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127472128001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":146780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:41:05] local.INFO: GPS data processed {"connection_id":146780,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:41:05] local.INFO: Acknowledgment sent {"connection_id":146780,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:41:27] local.INFO: TCP Data received {"connection_id":147798,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:41:27] local.INFO: Processing buffer {"connection_id":147798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:41:27] local.INFO: IMEI packet received {"connection_id":147798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":147798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:41:29] local.INFO: TCP Data received {"connection_id":146570,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:41:29] local.INFO: Processing buffer {"connection_id":146570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:41:29] local.INFO: IMEI packet received {"connection_id":146570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":146570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:41:33] local.INFO: TCP Data received {"connection_id":147798,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:41:33] local.INFO: Processing buffer {"connection_id":147798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:41:33] local.INFO: IMEI packet received {"connection_id":147798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":147798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:41:34] local.INFO: TCP Data received {"connection_id":147798,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc14f8938012d7bbf8005daed38000100581f..."} 
[2026-08-02 12:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc14f8938012d7bbf8005daed38000100581f..."} 
[2026-08-02 12:41:34] local.INFO: Processing buffer {"connection_id":147798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc14f8938012d7bbf8005daed38000100581f..."} 
[2026-08-02 12:41:34] local.INFO: Packet analysis {"connection_id":147798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc14f"} 
[2026-08-02 12:41:34] local.INFO: Extracted packet for processing {"connection_id":147798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc14f"} 
[2026-08-02 12:41:34] local.INFO: GPS Element Parsed {"raw_longitude":763084672,"raw_latitude":98233656,"longitude_deg":76.3084672,"latitude_deg":9.8233656,"altitude":1,"angle":88,"satellites":31,"speed":32,"hex_longitude":"2d7bbf80","hex_latitude":"05daed38","is_valid_coordinates":true} 
[2026-08-02 12:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127585792001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113762868943388672,"note":"Value kept but may cause issues"} 
[2026-08-02 12:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906994188179644416,"note":"Value kept but may cause issues"} 
[2026-08-02 12:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785654643000,"timestamp_ms":1785654643000,"timestamp_seconds":1785654643,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14f8938"} 
[2026-08-02 12:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:41: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-08-02 12: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-02 12:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127585792001,"66":13472,"188":206,"85":15104,"24":32,"16":113762868943388672,"45":8906994188179644416},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 12:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127585792001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:41:34] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 12:41:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113762868943388672,"km_value":113762868943388.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906994188179644416,"description":"Unknown IO ID 45"} 
[2026-08-02 12:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127585792001,"power":13472,"unknown_188":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8906994188179644416}} 
[2026-08-02 12:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":147798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:41:34] local.INFO: GPS data processed {"connection_id":147798,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:41:34] local.INFO: Acknowledgment sent {"connection_id":147798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:41:34] local.INFO: TCP Data received {"connection_id":146570,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:41:34] local.INFO: Processing buffer {"connection_id":146570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:41:34] local.INFO: IMEI packet received {"connection_id":146570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":146570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:41:36] local.INFO: TCP Data received {"connection_id":146570,"ip":"117.224.14.1","data_length":717,"data_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146570,"packet_length":717,"packet_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:41:36] local.INFO: Processing buffer {"connection_id":146570,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:41:36] local.INFO: Packet analysis {"connection_id":146570,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:41:36] local.INFO: Extracted packet for processing {"connection_id":146570,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:41:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":717,"current_offset":40} 
[2026-08-02 12:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127472128001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:41:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785654489000,"timestamp_ms":1785654489000,"timestamp_seconds":1785654489,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14d2fa8"} 
[2026-08-02 12:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":717,"current_offset":136} 
[2026-08-02 12:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:41:36] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146570,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-02 12:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127472128001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127472128001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:41:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:41:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:41:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127472128001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":146570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:41:36] local.INFO: GPS data processed {"connection_id":146570,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:41:36] local.INFO: Acknowledgment sent {"connection_id":146570,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:42:05] local.INFO: TCP Data received {"connection_id":147798,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc14fb048012d7be2c005daef48000200561f..."} 
[2026-08-02 12:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc14fb048012d7be2c005daef48000200561f..."} 
[2026-08-02 12:42:05] local.INFO: Processing buffer {"connection_id":147798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc14fb048012d7be2c005daef48000200561f..."} 
[2026-08-02 12:42:05] local.INFO: Packet analysis {"connection_id":147798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc14f"} 
[2026-08-02 12:42:05] local.INFO: Extracted packet for processing {"connection_id":147798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc14f"} 
[2026-08-02 12:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763093696,"raw_latitude":98234184,"longitude_deg":76.3093696,"latitude_deg":9.8234184,"altitude":2,"angle":86,"satellites":31,"speed":33,"hex_longitude":"2d7be2c0","hex_latitude":"05daef48","is_valid_coordinates":true} 
[2026-08-02 12:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127588608001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763307030052864,"note":"Value kept but may cause issues"} 
[2026-08-02 12:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916986549853042688,"note":"Value kept but may cause issues"} 
[2026-08-02 12:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785654653000,"timestamp_ms":1785654653000,"timestamp_seconds":1785654653,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14fb048"} 
[2026-08-02 12:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 12:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127588608001,"66":13559,"188":206,"85":15104,"24":33,"16":113763307030052864,"45":8916986549853042688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 12:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127588608001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:42:05] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 12:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763307030052864,"km_value":113763307030052.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916986549853042688,"description":"Unknown IO ID 45"} 
[2026-08-02 12:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127588608001,"power":13559,"unknown_188":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8916986549853042688}} 
[2026-08-02 12:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":147798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:42:05] local.INFO: GPS data processed {"connection_id":147798,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:42:05] local.INFO: Acknowledgment sent {"connection_id":147798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:42:24] local.INFO: TCP Data received {"connection_id":149115,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:42:24] local.INFO: Processing buffer {"connection_id":149115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:42:24] local.INFO: IMEI packet received {"connection_id":149115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":149115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:42:27] local.INFO: TCP Data received {"connection_id":146571,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:42:27] local.INFO: Processing buffer {"connection_id":146571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:42:27] local.INFO: IMEI packet received {"connection_id":146571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":146571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:42:29] local.INFO: TCP Data received {"connection_id":146571,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:42:29] local.INFO: Processing buffer {"connection_id":146571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:42:29] local.INFO: IMEI packet received {"connection_id":146571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":146571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:42:29] local.INFO: TCP Data received {"connection_id":149115,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:42:29] local.INFO: Processing buffer {"connection_id":149115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:42:29] local.INFO: IMEI packet received {"connection_id":149115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":149115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:42:31] local.INFO: TCP Data received {"connection_id":149115,"ip":"117.224.14.1","data_length":717,"data_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149115,"packet_length":717,"packet_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:42:31] local.INFO: Processing buffer {"connection_id":149115,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:42:31] local.INFO: Packet analysis {"connection_id":149115,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:42:31] local.INFO: Extracted packet for processing {"connection_id":149115,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:42:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":717,"current_offset":40} 
[2026-08-02 12:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127472128001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:42:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785654489000,"timestamp_ms":1785654489000,"timestamp_seconds":1785654489,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14d2fa8"} 
[2026-08-02 12:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":717,"current_offset":136} 
[2026-08-02 12:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:42:31] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149115,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-02 12:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127472128001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127472128001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:42:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:42:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:42:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127472128001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":149115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:42:31] local.INFO: GPS data processed {"connection_id":149115,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:42:31] local.INFO: Acknowledgment sent {"connection_id":149115,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:42:33] local.INFO: TCP Data received {"connection_id":146571,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:42:33] local.INFO: Processing buffer {"connection_id":146571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:42:33] local.INFO: IMEI packet received {"connection_id":146571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":146571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:42:34] local.INFO: TCP Data received {"connection_id":146571,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc14ffe68012d7c070005daefe0000100561f..."} 
[2026-08-02 12:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc14ffe68012d7c070005daefe0000100561f..."} 
[2026-08-02 12:42:34] local.INFO: Processing buffer {"connection_id":146571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc14ffe68012d7c070005daefe0000100561f..."} 
[2026-08-02 12:42:34] local.INFO: Packet analysis {"connection_id":146571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc14f"} 
[2026-08-02 12:42:34] local.INFO: Extracted packet for processing {"connection_id":146571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc14f"} 
[2026-08-02 12:42:34] local.INFO: GPS Element Parsed {"raw_longitude":763102976,"raw_latitude":98234336,"longitude_deg":76.3102976,"latitude_deg":9.8234336,"altitude":1,"angle":86,"satellites":31,"speed":14,"hex_longitude":"2d7c0700","hex_latitude":"05daefe0","is_valid_coordinates":true} 
[2026-08-02 12:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127591168001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763745116717056,"note":"Value kept but may cause issues"} 
[2026-08-02 12:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926908542782228480,"note":"Value kept but may cause issues"} 
[2026-08-02 12:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785654673000,"timestamp_ms":1785654673000,"timestamp_seconds":1785654673,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14ffe68"} 
[2026-08-02 12:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 12:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127591168001,"66":13624,"188":206,"85":15104,"24":14,"16":113763745116717056,"45":8926908542782228480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 12:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127591168001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:42:34] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 12:42:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763745116717056,"km_value":113763745116717.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926908542782228480,"description":"Unknown IO ID 45"} 
[2026-08-02 12:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127591168001,"power":13624,"unknown_188":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8926908542782228480}} 
[2026-08-02 12:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":146571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:42:34] local.INFO: GPS data processed {"connection_id":146571,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:42:34] local.INFO: Acknowledgment sent {"connection_id":146571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:43:05] local.INFO: TCP Data received {"connection_id":149115,"ip":"117.224.14.1","data_length":717,"data_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149115,"packet_length":717,"packet_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:43:05] local.INFO: Processing buffer {"connection_id":149115,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:43:05] local.INFO: Packet analysis {"connection_id":149115,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:43:05] local.INFO: Extracted packet for processing {"connection_id":149115,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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":717,"current_offset":40} 
[2026-08-02 12:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127472128001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785654489000,"timestamp_ms":1785654489000,"timestamp_seconds":1785654489,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14d2fa8"} 
[2026-08-02 12:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":25,"data_length":717,"current_offset":136} 
[2026-08-02 12:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:43:05] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149115,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-02 12:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127472128001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127472128001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:43:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:43:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:43:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127472128001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":149115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:43:05] local.INFO: GPS data processed {"connection_id":149115,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:43:05] local.INFO: Acknowledgment sent {"connection_id":149115,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:43:06] local.INFO: TCP Data received {"connection_id":146571,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1504c88012d7c130005daf028000300561e..."} 
[2026-08-02 12:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1504c88012d7c130005daf028000300561e..."} 
[2026-08-02 12:43:06] local.INFO: Processing buffer {"connection_id":146571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1504c88012d7c130005daf028000300561e..."} 
[2026-08-02 12:43:06] local.INFO: Packet analysis {"connection_id":146571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc150"} 
[2026-08-02 12:43:06] local.INFO: Extracted packet for processing {"connection_id":146571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc150"} 
[2026-08-02 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763106048,"raw_latitude":98234408,"longitude_deg":76.3106048,"latitude_deg":9.8234408,"altitude":3,"angle":86,"satellites":30,"speed":0,"hex_longitude":"2d7c1300","hex_latitude":"05daf028","is_valid_coordinates":true} 
[2026-08-02 12:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127596288001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763899735539712,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010688028672,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785654693000,"timestamp_ms":1785654693000,"timestamp_seconds":1785654693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1504c88"} 
[2026-08-02 12:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:43: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-08-02 12: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":56,"data_length":795,"current_offset":136} 
[2026-08-02 12:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127596288001,"66":13689,"188":206,"85":15104,"24":0,"16":113763899735539712,"45":8937112010688028672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-02 12:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127596288001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:43:06] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 12:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763899735539712,"km_value":113763899735539.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010688028672,"description":"Unknown IO ID 45"} 
[2026-08-02 12:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127596288001,"power":13689,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010688028672}} 
[2026-08-02 12:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":146571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:43:06] local.INFO: GPS data processed {"connection_id":146571,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:43:06] local.INFO: Acknowledgment sent {"connection_id":146571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:43:24] local.INFO: TCP Data received {"connection_id":149116,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:43:24] local.INFO: Processing buffer {"connection_id":149116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:43:24] local.INFO: IMEI packet received {"connection_id":149116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":149116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:43:29] local.INFO: TCP Data received {"connection_id":149116,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:43:29] local.INFO: Processing buffer {"connection_id":149116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:43:29] local.INFO: IMEI packet received {"connection_id":149116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":149116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:43:31] local.INFO: TCP Data received {"connection_id":149116,"ip":"117.224.14.1","data_length":717,"data_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149116,"packet_length":717,"packet_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:43:31] local.INFO: Processing buffer {"connection_id":149116,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019fc14d2fa8012cc330c007685958005800c52b..."} 
[2026-08-02 12:43:31] local.INFO: Packet analysis {"connection_id":149116,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:43:31] local.INFO: Extracted packet for processing {"connection_id":149116,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019fc14d"} 
[2026-08-02 12:43:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":717,"current_offset":40} 
[2026-08-02 12:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127472128001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785654489000,"timestamp_ms":1785654489000,"timestamp_seconds":1785654489,"priority":1,"record_length":96,"hex_timestamp":"0000019fc14d2fa8"} 
[2026-08-02 12:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":717,"current_offset":136} 
[2026-08-02 12:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:43:31] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149116,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-02 12:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127472128001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127472128001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:43:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:43:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:43:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127472128001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":149116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:43:31] local.INFO: GPS data processed {"connection_id":149116,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:43:31] local.INFO: Acknowledgment sent {"connection_id":149116,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:43:32] local.INFO: TCP Data received {"connection_id":146572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:43:32] local.INFO: Processing buffer {"connection_id":146572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:43:32] local.INFO: IMEI packet received {"connection_id":146572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":146572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:43:32] local.INFO: TCP Data received {"connection_id":146572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:43:32] local.INFO: Processing buffer {"connection_id":146572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:43:32] local.INFO: IMEI packet received {"connection_id":146572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":146572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:43:38] local.INFO: TCP Data received {"connection_id":146572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:43:38] local.INFO: Processing buffer {"connection_id":146572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:43:38] local.INFO: IMEI packet received {"connection_id":146572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":146572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:43:39] local.INFO: TCP Data received {"connection_id":146572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc151daf8012d7bf14005dbc1200000015f1d..."} 
[2026-08-02 12:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc151daf8012d7bf14005dbc1200000015f1d..."} 
[2026-08-02 12:43:39] local.INFO: Processing buffer {"connection_id":146572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc151daf8012d7bf14005dbc1200000015f1d..."} 
[2026-08-02 12:43:39] local.INFO: Packet analysis {"connection_id":146572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:43:39] local.INFO: Extracted packet for processing {"connection_id":146572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98287904,"longitude_deg":76.3097408,"latitude_deg":9.8287904,"altitude":0,"angle":351,"satellites":29,"speed":43,"hex_longitude":"2d7bf140","hex_latitude":"05dbc120","is_valid_coordinates":true} 
[2026-08-02 12:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127625472001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113766734413955072,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933171361025538048,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43: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-08-02 12:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785654795000,"timestamp_ms":1785654795000,"timestamp_seconds":1785654795,"priority":1,"record_length":96,"hex_timestamp":"0000019fc151daf8"} 
[2026-08-02 12:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-02 12:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127625472001,"66":13656,"185":206,"85":15104,"24":43,"16":113766734413955072,"45":8933171361025538048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-02 12:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127625472001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:43:39] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-02 12:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113766734413955072,"km_value":113766734413955.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933171361025538048,"description":"Unknown IO ID 45"} 
[2026-08-02 12:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127625472001,"power":13656,"unknown_185":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8933171361025538048}} 
[2026-08-02 12:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":146572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:43:39] local.INFO: GPS data processed {"connection_id":146572,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:43:39] local.INFO: Acknowledgment sent {"connection_id":146572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:43:39] local.INFO: TCP Data received {"connection_id":146572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc151fa38012d7beb4005dbe6800000015f1b..."} 
[2026-08-02 12:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc151fa38012d7beb4005dbe6800000015f1b..."} 
[2026-08-02 12:43:39] local.INFO: Processing buffer {"connection_id":146572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc151fa38012d7beb4005dbe6800000015f1b..."} 
[2026-08-02 12:43:39] local.INFO: Packet analysis {"connection_id":146572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:43:39] local.INFO: Extracted packet for processing {"connection_id":146572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763095872,"raw_latitude":98297472,"longitude_deg":76.3095872,"latitude_deg":9.8297472,"altitude":0,"angle":351,"satellites":27,"speed":54,"hex_longitude":"2d7beb40","hex_latitude":"05dbe680","is_valid_coordinates":true} 
[2026-08-02 12:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127627520001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113767206860357632,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958285312,"note":"Value kept but may cause issues"} 
[2026-08-02 12:43: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-08-02 12:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785654803000,"timestamp_ms":1785654803000,"timestamp_seconds":1785654803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc151fa38"} 
[2026-08-02 12:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-02 12:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127627520001,"66":13646,"185":206,"85":15104,"24":54,"16":113767206860357632,"45":8930989929958285312},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-02 12:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127627520001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:43:39] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-02 12:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113767206860357632,"km_value":113767206860357.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958285312,"description":"Unknown IO ID 45"} 
[2026-08-02 12:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127627520001,"power":13646,"unknown_185":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8930989929958285312}} 
[2026-08-02 12:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":146572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:43:39] local.INFO: GPS data processed {"connection_id":146572,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:43:39] local.INFO: Acknowledgment sent {"connection_id":146572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:44:03] local.INFO: TCP Data received {"connection_id":149116,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:44:03] local.INFO: Processing buffer {"connection_id":149116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:44:03] local.INFO: Packet analysis {"connection_id":149116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:44:03] local.INFO: Extracted packet for processing {"connection_id":149116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:44:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127549184001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785654790000,"timestamp_ms":1785654790000,"timestamp_seconds":1785654790,"priority":1,"record_length":96,"hex_timestamp":"0000019fc151c770"} 
[2026-08-02 12:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127549184001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127549184001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:44:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:44:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:44:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127549184001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":149116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:44:03] local.INFO: GPS data processed {"connection_id":149116,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:44:03] local.INFO: Acknowledgment sent {"connection_id":149116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:44:13] local.INFO: TCP Data received {"connection_id":146572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1521590012d7be70005dc0bd0000001621e..."} 
[2026-08-02 12:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1521590012d7be70005dc0bd0000001621e..."} 
[2026-08-02 12:44:13] local.INFO: Processing buffer {"connection_id":146572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1521590012d7be70005dc0bd0000001621e..."} 
[2026-08-02 12:44:13] local.INFO: Packet analysis {"connection_id":146572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc152"} 
[2026-08-02 12:44:13] local.INFO: Extracted packet for processing {"connection_id":146572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc152"} 
[2026-08-02 12:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":98307024,"longitude_deg":76.3094784,"latitude_deg":9.8307024,"altitude":0,"angle":354,"satellites":30,"speed":52,"hex_longitude":"2d7be700","hex_latitude":"05dc0bd0","is_valid_coordinates":true} 
[2026-08-02 12:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127629568001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113767670716825600,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929301080100470784,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785654810000,"timestamp_ms":1785654810000,"timestamp_seconds":1785654810,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1521590"} 
[2026-08-02 12:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-02 12:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127629568001,"66":13580,"185":206,"85":15104,"24":52,"16":113767670716825600,"45":8929301080100470784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-02 12:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127629568001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:44:13] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-02 12:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113767670716825600,"km_value":113767670716825.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929301080100470784,"description":"Unknown IO ID 45"} 
[2026-08-02 12:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127629568001,"power":13580,"unknown_185":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8929301080100470784}} 
[2026-08-02 12:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":146572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:44:13] local.INFO: GPS data processed {"connection_id":146572,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:44:13] local.INFO: Acknowledgment sent {"connection_id":146572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:44:24] local.INFO: TCP Data received {"connection_id":146782,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:44:24] local.INFO: Processing buffer {"connection_id":146782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:44:24] local.INFO: IMEI packet received {"connection_id":146782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":146782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:44:27] local.INFO: TCP Data received {"connection_id":146783,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:44:27] local.INFO: Processing buffer {"connection_id":146783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:44:27] local.INFO: IMEI packet received {"connection_id":146783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":146783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:44:27] local.INFO: TCP Data received {"connection_id":146783,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:44:27] local.INFO: Processing buffer {"connection_id":146783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:44:27] local.INFO: IMEI packet received {"connection_id":146783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":146783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:44:31] local.INFO: TCP Data received {"connection_id":146782,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:44:31] local.INFO: Processing buffer {"connection_id":146782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:44:31] local.INFO: IMEI packet received {"connection_id":146782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":146782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:44:33] local.INFO: TCP Data received {"connection_id":146782,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:44:33] local.INFO: Processing buffer {"connection_id":146782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:44:33] local.INFO: Packet analysis {"connection_id":146782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:44:33] local.INFO: Extracted packet for processing {"connection_id":146782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:44:33] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127549184001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785654790000,"timestamp_ms":1785654790000,"timestamp_seconds":1785654790,"priority":1,"record_length":96,"hex_timestamp":"0000019fc151c770"} 
[2026-08-02 12:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127549184001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127549184001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:44:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:44:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:44:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127549184001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":146782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:44:33] local.INFO: GPS data processed {"connection_id":146782,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:44:33] local.INFO: Acknowledgment sent {"connection_id":146782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:44:33] local.INFO: TCP Data received {"connection_id":146783,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:44:33] local.INFO: Processing buffer {"connection_id":146783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:44:33] local.INFO: IMEI packet received {"connection_id":146783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":146783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:44:34] local.INFO: TCP Data received {"connection_id":146783,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15230e8012d7be54005dc31c0000001661b..."} 
[2026-08-02 12:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15230e8012d7be54005dc31c0000001661b..."} 
[2026-08-02 12:44:34] local.INFO: Processing buffer {"connection_id":146783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15230e8012d7be54005dc31c0000001661b..."} 
[2026-08-02 12:44:34] local.INFO: Packet analysis {"connection_id":146783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc152"} 
[2026-08-02 12:44:34] local.INFO: Extracted packet for processing {"connection_id":146783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc152"} 
[2026-08-02 12:44:34] local.INFO: GPS Element Parsed {"raw_longitude":763094336,"raw_latitude":98316736,"longitude_deg":76.3094336,"latitude_deg":9.8316736,"altitude":0,"angle":358,"satellites":27,"speed":54,"hex_longitude":"2d7be540","hex_latitude":"05dc31c0","is_valid_coordinates":true} 
[2026-08-02 12:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127631360001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113768143163228160,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928104811451895808,"note":"Value kept but may cause issues"} 
[2026-08-02 12: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-08-02 12:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785654817000,"timestamp_ms":1785654817000,"timestamp_seconds":1785654817,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15230e8"} 
[2026-08-02 12:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617068,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3243332160,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6782421086064607242,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039055547,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2147867483,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629274251152981,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3677763584,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":124,"raw_value":1963575875993600004,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:34] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-08-02 12:44:34] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,185,85,24,241,157,16,47,159,250,45,64,230,27,10,66,46,218,193,29,187,1,240,88,227,219,4,113,205,39,117,9,48,239,52,2,148,5,41,124,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2797142222,"validated":0}]} 
[2026-08-02 12:44:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":389355968659456,"timestamp_seconds":389355968659.456,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 12:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127631360001,"66":13559,"185":206,"85":15104,"24":54,"16":113768143163228160,"45":8928104811451895808},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-02 12:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127631360001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:44:34] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-02 12:44:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113768143163228160,"km_value":113768143163228.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928104811451895808,"description":"Unknown IO ID 45"} 
[2026-08-02 12:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127631360001,"power":13559,"unknown_185":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8928104811451895808}} 
[2026-08-02 12:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":146783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:44:34] local.INFO: GPS data processed {"connection_id":146783,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:44:34] local.INFO: Acknowledgment sent {"connection_id":146783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:45:05] local.INFO: TCP Data received {"connection_id":146783,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1534a28012d7bc2c005ddca200000015d1b..."} 
[2026-08-02 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1534a28012d7bc2c005ddca200000015d1b..."} 
[2026-08-02 12:45:05] local.INFO: Processing buffer {"connection_id":146783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1534a28012d7bc2c005ddca200000015d1b..."} 
[2026-08-02 12:45:05] local.INFO: Packet analysis {"connection_id":146783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc153"} 
[2026-08-02 12:45:05] local.INFO: Extracted packet for processing {"connection_id":146783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc153"} 
[2026-08-02 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763085504,"raw_latitude":98421280,"longitude_deg":76.3085504,"latitude_deg":9.842128,"altitude":0,"angle":349,"satellites":27,"speed":66,"hex_longitude":"2d7bc2c0","hex_latitude":"05ddca20","is_valid_coordinates":true} 
[2026-08-02 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127650048001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113773236994441216,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919871668409878528,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45: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-08-02 12:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785654889000,"timestamp_ms":1785654889000,"timestamp_seconds":1785654889,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1534a28"} 
[2026-08-02 12:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:45: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-08-02 12: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-02 12:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127650048001,"66":13580,"169":206,"85":15104,"24":66,"16":113773236994441216,"45":8919871668409878528},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-02 12:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127650048001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:45:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 12:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113773236994441216,"km_value":113773236994441.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919871668409878528,"description":"Unknown IO ID 45"} 
[2026-08-02 12:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127650048001,"power":13580,"unknown_169":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":8919871668409878528}} 
[2026-08-02 12:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":146783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:45:05] local.INFO: GPS data processed {"connection_id":146783,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:45:05] local.INFO: Acknowledgment sent {"connection_id":146783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:45:08] local.INFO: TCP Data received {"connection_id":146782,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:45:08] local.INFO: Processing buffer {"connection_id":146782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:45:08] local.INFO: Packet analysis {"connection_id":146782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:45:08] local.INFO: Extracted packet for processing {"connection_id":146782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:45:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127549184001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785654790000,"timestamp_ms":1785654790000,"timestamp_seconds":1785654790,"priority":1,"record_length":96,"hex_timestamp":"0000019fc151c770"} 
[2026-08-02 12:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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-08-02 12: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-08-02 12:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127549184001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127549184001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:45:08] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:45:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:45:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127549184001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":146782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:45:08] local.INFO: GPS data processed {"connection_id":146782,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:45:08] local.INFO: Acknowledgment sent {"connection_id":146782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:45:28] local.INFO: TCP Data received {"connection_id":146574,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:45:28] local.INFO: Processing buffer {"connection_id":146574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:45:28] local.INFO: IMEI packet received {"connection_id":146574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":146574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:45:28] local.INFO: TCP Data received {"connection_id":146574,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:45:28] local.INFO: Processing buffer {"connection_id":146574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:45:28] local.INFO: IMEI packet received {"connection_id":146574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":146574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:45:29] local.INFO: TCP Data received {"connection_id":146573,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:45:29] local.INFO: Processing buffer {"connection_id":146573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:45:29] local.INFO: IMEI packet received {"connection_id":146573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":146573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:45:33] local.INFO: TCP Data received {"connection_id":146574,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:45:33] local.INFO: Processing buffer {"connection_id":146574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:45:33] local.INFO: IMEI packet received {"connection_id":146574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":146574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:45:34] local.INFO: TCP Data received {"connection_id":146574,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1536198012d7bba8005ddee380000015c1c..."} 
[2026-08-02 12:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1536198012d7bba8005ddee380000015c1c..."} 
[2026-08-02 12:45:34] local.INFO: Processing buffer {"connection_id":146574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1536198012d7bba8005ddee380000015c1c..."} 
[2026-08-02 12:45:34] local.INFO: Packet analysis {"connection_id":146574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc153"} 
[2026-08-02 12:45:34] local.INFO: Extracted packet for processing {"connection_id":146574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc153"} 
[2026-08-02 12:45:34] local.INFO: GPS Element Parsed {"raw_longitude":763083392,"raw_latitude":98430520,"longitude_deg":76.3083392,"latitude_deg":9.843052,"altitude":0,"angle":348,"satellites":28,"speed":62,"hex_longitude":"2d7bba80","hex_latitude":"05ddee38","is_valid_coordinates":true} 
[2026-08-02 12:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127651584001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113773696555941888,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917901343575384064,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785654895000,"timestamp_ms":1785654895000,"timestamp_seconds":1785654895,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1536198"} 
[2026-08-02 12:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:45: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-08-02 12:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617073,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093402817966507,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3243425160,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7359163523798138890,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635442204028584,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":212,"raw_value":4160826747,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3706689536,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-2233778969315901440,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755657139224817,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:34] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,169,85,24,241,157,16,52,159,50,45,192,164,25,10,66,51,27,127,3,64,1,240,94,227,193,221,4,113,205,62,212,216,30,239,53,2,148,5,63,123,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-08-02 12:45:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":383845526536192,"timestamp_seconds":383845526536.192,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 12:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127651584001,"66":13559,"169":206,"85":15104,"24":62,"16":113773696555941888,"45":8917901343575384064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-02 12:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127651584001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:45:34] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 12:45:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113773696555941888,"km_value":113773696555941.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917901343575384064,"description":"Unknown IO ID 45"} 
[2026-08-02 12:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127651584001,"power":13559,"unknown_169":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":8917901343575384064}} 
[2026-08-02 12:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":146574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:45:34] local.INFO: GPS data processed {"connection_id":146574,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:45:34] local.INFO: Acknowledgment sent {"connection_id":146574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:45:37] local.INFO: TCP Data received {"connection_id":146573,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:45:37] local.INFO: Processing buffer {"connection_id":146573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:45:37] local.INFO: IMEI packet received {"connection_id":146573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":146573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:45:38] local.INFO: TCP Data received {"connection_id":146573,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:45:38] local.INFO: Processing buffer {"connection_id":146573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:45:38] local.INFO: Packet analysis {"connection_id":146573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:45:38] local.INFO: Extracted packet for processing {"connection_id":146573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:45:38] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 12:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127549184001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785654790000,"timestamp_ms":1785654790000,"timestamp_seconds":1785654790,"priority":1,"record_length":96,"hex_timestamp":"0000019fc151c770"} 
[2026-08-02 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-08-02 12: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-08-02 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":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 12:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127549184001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127549184001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:45:38] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:45:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:45:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127549184001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":146573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:45:38] local.INFO: GPS data processed {"connection_id":146573,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:45:38] local.INFO: Acknowledgment sent {"connection_id":146573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:45:45] local.INFO: TCP Data received {"connection_id":146573,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:45:45] local.INFO: Processing buffer {"connection_id":146573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:45:45] local.INFO: Packet analysis {"connection_id":146573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:45:45] local.INFO: Extracted packet for processing {"connection_id":146573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:45:45] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127549184001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785654790000,"timestamp_ms":1785654790000,"timestamp_seconds":1785654790,"priority":1,"record_length":96,"hex_timestamp":"0000019fc151c770"} 
[2026-08-02 12:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:45: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-08-02 12:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:45: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-08-02 12:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127549184001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127549184001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:45:45] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:45:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:45:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127549184001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":146573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:45:45] local.INFO: GPS data processed {"connection_id":146573,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:45:45] local.INFO: Acknowledgment sent {"connection_id":146573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:46:05] local.INFO: TCP Data received {"connection_id":146574,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1537908012d7bb40005de10880000015c20..."} 
[2026-08-02 12:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1537908012d7bb40005de10880000015c20..."} 
[2026-08-02 12:46:05] local.INFO: Processing buffer {"connection_id":146574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1537908012d7bb40005de10880000015c20..."} 
[2026-08-02 12:46:05] local.INFO: Packet analysis {"connection_id":146574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc153"} 
[2026-08-02 12:46:05] local.INFO: Extracted packet for processing {"connection_id":146574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc153"} 
[2026-08-02 12:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763081728,"raw_latitude":98439304,"longitude_deg":76.3081728,"latitude_deg":9.8439304,"altitude":0,"angle":348,"satellites":32,"speed":50,"hex_longitude":"2d7bb400","hex_latitude":"05de1088","is_valid_coordinates":true} 
[2026-08-02 12:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127653120001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113774130347638784,"note":"Value kept but may cause issues"} 
[2026-08-02 12:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915579175019886592,"note":"Value kept but may cause issues"} 
[2026-08-02 12:46: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-08-02 12:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785654901000,"timestamp_ms":1785654901000,"timestamp_seconds":1785654901,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1537908"} 
[2026-08-02 12:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:46: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-08-02 12:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 12:46: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-08-02 12:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127653120001,"66":13624,"169":206,"85":15104,"24":50,"16":113774130347638784,"45":8915579175019886592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-02 12:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127653120001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:46:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 12:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113774130347638784,"km_value":113774130347638.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915579175019886592,"description":"Unknown IO ID 45"} 
[2026-08-02 12:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127653120001,"power":13624,"unknown_169":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8915579175019886592}} 
[2026-08-02 12:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":146574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:46:05] local.INFO: GPS data processed {"connection_id":146574,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:46:05] local.INFO: Acknowledgment sent {"connection_id":146574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:46:24] local.INFO: TCP Data received {"connection_id":147799,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:46:24] local.INFO: Processing buffer {"connection_id":147799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:46:24] local.INFO: IMEI packet received {"connection_id":147799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":147799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:46:28] local.INFO: TCP Data received {"connection_id":147800,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:46:28] local.INFO: Processing buffer {"connection_id":147800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:46:28] local.INFO: IMEI packet received {"connection_id":147800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":147800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:46:29] local.INFO: TCP Data received {"connection_id":147799,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:46:29] local.INFO: Processing buffer {"connection_id":147799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:46:29] local.INFO: IMEI packet received {"connection_id":147799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":147799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:46:31] local.INFO: TCP Data received {"connection_id":147799,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:46:31] local.INFO: Processing buffer {"connection_id":147799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:46:31] local.INFO: Packet analysis {"connection_id":147799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:46:31] local.INFO: Extracted packet for processing {"connection_id":147799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:46:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127549184001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785654790000,"timestamp_ms":1785654790000,"timestamp_seconds":1785654790,"priority":1,"record_length":96,"hex_timestamp":"0000019fc151c770"} 
[2026-08-02 12:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127549184001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127549184001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:46:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:46:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127549184001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":147799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:46:31] local.INFO: GPS data processed {"connection_id":147799,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:46:31] local.INFO: Acknowledgment sent {"connection_id":147799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:46:32] local.INFO: TCP Data received {"connection_id":147800,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:46:32] local.INFO: Processing buffer {"connection_id":147800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:46:32] local.INFO: IMEI packet received {"connection_id":147800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":147800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:46:33] local.INFO: TCP Data received {"connection_id":147800,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15482a8012d7b858005df9d500000015f1d..."} 
[2026-08-02 12:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15482a8012d7b858005df9d500000015f1d..."} 
[2026-08-02 12:46:33] local.INFO: Processing buffer {"connection_id":147800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15482a8012d7b858005df9d500000015f1d..."} 
[2026-08-02 12:46:33] local.INFO: Packet analysis {"connection_id":147800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc154"} 
[2026-08-02 12:46:33] local.INFO: Extracted packet for processing {"connection_id":147800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc154"} 
[2026-08-02 12:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":98540880,"longitude_deg":76.3069824,"latitude_deg":9.854088,"altitude":0,"angle":351,"satellites":29,"speed":60,"hex_longitude":"2d7b8580","hex_latitude":"05df9d50","is_valid_coordinates":true} 
[2026-08-02 12:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127670528001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113779095329832960,"note":"Value kept but may cause issues"} 
[2026-08-02 12:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901998007419406336,"note":"Value kept but may cause issues"} 
[2026-08-02 12:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785654969000,"timestamp_ms":1785654969000,"timestamp_seconds":1785654969,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15482a8"} 
[2026-08-02 12:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 12:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127670528001,"66":13493,"44":206,"85":15104,"24":60,"16":113779095329832960,"45":8901998007419406336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-02 12:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127670528001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:46:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-02 12:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113779095329832960,"km_value":113779095329832.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901998007419406336,"description":"Unknown IO ID 45"} 
[2026-08-02 12:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127670528001,"power":13493,"unknown_44":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":8901998007419406336}} 
[2026-08-02 12:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":147800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:46:33] local.INFO: GPS data processed {"connection_id":147800,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:46:33] local.INFO: Acknowledgment sent {"connection_id":147800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:46:35] local.INFO: TCP Data received {"connection_id":147799,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:46:35] local.INFO: Processing buffer {"connection_id":147799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:46:35] local.INFO: Packet analysis {"connection_id":147799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:46:35] local.INFO: Extracted packet for processing {"connection_id":147799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:46:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127549184001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785654790000,"timestamp_ms":1785654790000,"timestamp_seconds":1785654790,"priority":1,"record_length":96,"hex_timestamp":"0000019fc151c770"} 
[2026-08-02 12:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127549184001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127549184001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:46:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:46:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:46:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127549184001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":147799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:46:35] local.INFO: GPS data processed {"connection_id":147799,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:46:35] local.INFO: Acknowledgment sent {"connection_id":147799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:47:04] local.INFO: TCP Data received {"connection_id":147800,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1549e00012d7b80c005dfc320000001601c..."} 
[2026-08-02 12:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1549e00012d7b80c005dfc320000001601c..."} 
[2026-08-02 12:47:04] local.INFO: Processing buffer {"connection_id":147800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1549e00012d7b80c005dfc320000001601c..."} 
[2026-08-02 12:47:04] local.INFO: Packet analysis {"connection_id":147800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc154"} 
[2026-08-02 12:47:04] local.INFO: Extracted packet for processing {"connection_id":147800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc154"} 
[2026-08-02 12:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763068608,"raw_latitude":98550560,"longitude_deg":76.3068608,"latitude_deg":9.855056,"altitude":0,"angle":352,"satellites":28,"speed":52,"hex_longitude":"2d7b80c0","hex_latitude":"05dfc320","is_valid_coordinates":true} 
[2026-08-02 12:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127672064001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113779567776235520,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001282473984,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785654976000,"timestamp_ms":1785654976000,"timestamp_seconds":1785654976,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1549e00"} 
[2026-08-02 12:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 12:47: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-08-02 12:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127672064001,"66":13678,"44":206,"85":15104,"24":52,"16":113779567776235520,"45":8900661001282473984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-02 12:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127672064001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:47:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-02 12:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113779567776235520,"km_value":113779567776235.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001282473984,"description":"Unknown IO ID 45"} 
[2026-08-02 12:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127672064001,"power":13678,"unknown_44":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8900661001282473984}} 
[2026-08-02 12:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":147800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:47:04] local.INFO: GPS data processed {"connection_id":147800,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:47:04] local.INFO: Acknowledgment sent {"connection_id":147800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:47:27] local.INFO: TCP Data received {"connection_id":146784,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:47:27] local.INFO: Processing buffer {"connection_id":146784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:47:27] local.INFO: IMEI packet received {"connection_id":146784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":146784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:47:29] local.INFO: TCP Data received {"connection_id":146784,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:47:29] local.INFO: Processing buffer {"connection_id":146784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:47:29] local.INFO: IMEI packet received {"connection_id":146784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":146784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:47:30] local.INFO: TCP Data received {"connection_id":146785,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:47:30] local.INFO: Processing buffer {"connection_id":146785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:47:30] local.INFO: IMEI packet received {"connection_id":146785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":146785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:47:31] local.INFO: TCP Data received {"connection_id":146785,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:47:31] local.INFO: Processing buffer {"connection_id":146785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:47:31] local.INFO: IMEI packet received {"connection_id":146785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":146785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:47:33] local.INFO: TCP Data received {"connection_id":146784,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:47:33] local.INFO: Processing buffer {"connection_id":146784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:47:33] local.INFO: IMEI packet received {"connection_id":146784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":146784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:47:34] local.INFO: TCP Data received {"connection_id":146784,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc154b958012d7b7b4005dfe9500000015e1e..."} 
[2026-08-02 12:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc154b958012d7b7b4005dfe9500000015e1e..."} 
[2026-08-02 12:47:34] local.INFO: Processing buffer {"connection_id":146784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc154b958012d7b7b4005dfe9500000015e1e..."} 
[2026-08-02 12:47:34] local.INFO: Packet analysis {"connection_id":146784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc154"} 
[2026-08-02 12:47:34] local.INFO: Extracted packet for processing {"connection_id":146784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc154"} 
[2026-08-02 12:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763067200,"raw_latitude":98560336,"longitude_deg":76.30672,"latitude_deg":9.8560336,"altitude":0,"angle":350,"satellites":30,"speed":56,"hex_longitude":"2d7b7b40","hex_latitude":"05dfe950","is_valid_coordinates":true} 
[2026-08-02 12:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127673856001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113780048812572672,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899323995145576448,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785654983000,"timestamp_ms":1785654983000,"timestamp_seconds":1785654983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc154b958"} 
[2026-08-02 12:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:47: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-08-02 12:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-02 12:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127673856001,"66":13689,"36":206,"85":15104,"24":56,"16":113780048812572672,"45":8899323995145576448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-08-02 12:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127673856001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:47:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 12:47:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113780048812572672,"km_value":113780048812572.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899323995145576448,"description":"Unknown IO ID 45"} 
[2026-08-02 12:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127673856001,"power":13689,"unknown_36":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8899323995145576448}} 
[2026-08-02 12:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":146784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:47:34] local.INFO: GPS data processed {"connection_id":146784,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:47:34] local.INFO: Acknowledgment sent {"connection_id":146784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:47:39] local.INFO: TCP Data received {"connection_id":146785,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:47:39] local.INFO: Processing buffer {"connection_id":146785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:47:39] local.INFO: IMEI packet received {"connection_id":146785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":146785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:47:47] local.INFO: TCP Data received {"connection_id":146785,"ip":"117.224.14.1","data_length":1360,"data_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146785,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:47:47] local.INFO: Processing buffer {"connection_id":146785,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:47:47] local.INFO: Packet analysis {"connection_id":146785,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:47:47] local.INFO: Extracted packet for processing {"connection_id":146785,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:47:47] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127549184001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785654790000,"timestamp_ms":1785654790000,"timestamp_seconds":1785654790,"priority":1,"record_length":96,"hex_timestamp":"0000019fc151c770"} 
[2026-08-02 12:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127549184001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127549184001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:47:47] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:47:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:47:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127549184001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":146785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:47:47] local.INFO: GPS data processed {"connection_id":146785,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:47:47] local.INFO: Acknowledgment sent {"connection_id":146785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:47:47] local.INFO: Packet analysis {"connection_id":146785,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:47:47] local.INFO: Incomplete packet, waiting for more data {"connection_id":146785,"needed":795,"available":565} 
[2026-08-02 12:47:48] local.INFO: TCP Data received {"connection_id":146785,"ip":"117.224.14.1","data_length":1025,"data_hex":"2cc330c007685958005800c52800000000000a000400ef0000715d00f0000045..."} 
[2026-08-02 12:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146785,"packet_length":1025,"packet_hex":"2cc330c007685958005800c52800000000000a000400ef0000715d00f0000045..."} 
[2026-08-02 12:47:48] local.INFO: Processing buffer {"connection_id":146785,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:47:48] local.INFO: Packet analysis {"connection_id":146785,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:47:48] local.INFO: Extracted packet for processing {"connection_id":146785,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:47:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127549184001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785654790000,"timestamp_ms":1785654790000,"timestamp_seconds":1785654790,"priority":1,"record_length":96,"hex_timestamp":"0000019fc151c770"} 
[2026-08-02 12:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127549184001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127549184001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:47:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:47:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:47:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127549184001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":146785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:47:48] local.INFO: GPS data processed {"connection_id":146785,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:47:48] local.INFO: Acknowledgment sent {"connection_id":146785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:47:48] local.INFO: Packet analysis {"connection_id":146785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:47:48] local.INFO: Extracted packet for processing {"connection_id":146785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:47:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127549184001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785654790000,"timestamp_ms":1785654790000,"timestamp_seconds":1785654790,"priority":1,"record_length":96,"hex_timestamp":"0000019fc151c770"} 
[2026-08-02 12:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127549184001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127549184001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:47:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:47:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:47:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127549184001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":146785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:47:48] local.INFO: GPS data processed {"connection_id":146785,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:47:48] local.INFO: Acknowledgment sent {"connection_id":146785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:48:05] local.INFO: TCP Data received {"connection_id":146784,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc154d4b0012d7b760005e00da0000001601c..."} 
[2026-08-02 12:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc154d4b0012d7b760005e00da0000001601c..."} 
[2026-08-02 12:48:05] local.INFO: Processing buffer {"connection_id":146784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc154d4b0012d7b760005e00da0000001601c..."} 
[2026-08-02 12:48:05] local.INFO: Packet analysis {"connection_id":146784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc154"} 
[2026-08-02 12:48:05] local.INFO: Extracted packet for processing {"connection_id":146784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc154"} 
[2026-08-02 12:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763065856,"raw_latitude":98569632,"longitude_deg":76.3065856,"latitude_deg":9.8569632,"altitude":0,"angle":352,"satellites":28,"speed":51,"hex_longitude":"2d7b7600","hex_latitude":"05e00da0","is_valid_coordinates":true} 
[2026-08-02 12:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127675648001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113780499784138752,"note":"Value kept but may cause issues"} 
[2026-08-02 12:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897775882776170496,"note":"Value kept but may cause issues"} 
[2026-08-02 12:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785654990000,"timestamp_ms":1785654990000,"timestamp_seconds":1785654990,"priority":1,"record_length":96,"hex_timestamp":"0000019fc154d4b0"} 
[2026-08-02 12:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-02 12:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127675648001,"66":13798,"36":206,"85":15104,"24":51,"16":113780499784138752,"45":8897775882776170496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-08-02 12:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127675648001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:48:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 12:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113780499784138752,"km_value":113780499784138.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897775882776170496,"description":"Unknown IO ID 45"} 
[2026-08-02 12:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127675648001,"power":13798,"unknown_36":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8897775882776170496}} 
[2026-08-02 12:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":146784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:48:05] local.INFO: GPS data processed {"connection_id":146784,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:48:05] local.INFO: Acknowledgment sent {"connection_id":146784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:48:24] local.INFO: TCP Data received {"connection_id":147801,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:48:24] local.INFO: Processing buffer {"connection_id":147801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:48:24] local.INFO: IMEI packet received {"connection_id":147801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":147801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:48:27] local.INFO: TCP Data received {"connection_id":149117,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:48:27] local.INFO: Processing buffer {"connection_id":149117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:48:27] local.INFO: IMEI packet received {"connection_id":149117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":149117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:48:29] local.INFO: TCP Data received {"connection_id":147801,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:48:29] local.INFO: Processing buffer {"connection_id":147801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:48:29] local.INFO: IMEI packet received {"connection_id":147801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":147801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:48:31] local.INFO: TCP Data received {"connection_id":147801,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:48:31] local.INFO: Processing buffer {"connection_id":147801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc151c770012cc330c007685958005800c52c..."} 
[2026-08-02 12:48:31] local.INFO: Packet analysis {"connection_id":147801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:48:31] local.INFO: Extracted packet for processing {"connection_id":147801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc151"} 
[2026-08-02 12:48:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127549184001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:48:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785654790000,"timestamp_ms":1785654790000,"timestamp_seconds":1785654790,"priority":1,"record_length":96,"hex_timestamp":"0000019fc151c770"} 
[2026-08-02 12:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127549184001,"66":25625,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127549184001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:48:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:48:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:48:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127549184001,"power":25625,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":147801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:48:31] local.INFO: GPS data processed {"connection_id":147801,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:48:31] local.INFO: Acknowledgment sent {"connection_id":147801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:48:33] local.INFO: TCP Data received {"connection_id":149117,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:48:33] local.INFO: Processing buffer {"connection_id":149117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:48:33] local.INFO: IMEI packet received {"connection_id":149117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":149117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:48:34] local.INFO: TCP Data received {"connection_id":149117,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc154f3f0012d7b720005e032800000016119..."} 
[2026-08-02 12:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc154f3f0012d7b720005e032800000016119..."} 
[2026-08-02 12:48:34] local.INFO: Processing buffer {"connection_id":149117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc154f3f0012d7b720005e032800000016119..."} 
[2026-08-02 12:48:34] local.INFO: Packet analysis {"connection_id":149117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc154"} 
[2026-08-02 12:48:34] local.INFO: Extracted packet for processing {"connection_id":149117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc154"} 
[2026-08-02 12:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763064832,"raw_latitude":98579072,"longitude_deg":76.3064832,"latitude_deg":9.8579072,"altitude":0,"angle":353,"satellites":25,"speed":41,"hex_longitude":"2d7b7200","hex_latitude":"05e03280","is_valid_coordinates":true} 
[2026-08-02 12:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127677440001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113780963640606720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896298139150819328,"note":"Value kept but may cause issues"} 
[2026-08-02 12:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785654998000,"timestamp_ms":1785654998000,"timestamp_seconds":1785654998,"priority":1,"record_length":96,"hex_timestamp":"0000019fc154f3f0"} 
[2026-08-02 12:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12: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-08-02 12: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-02 12:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127677440001,"66":13798,"36":206,"85":15104,"24":41,"16":113780963640606720,"45":8896298139150819328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-08-02 12:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127677440001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:48:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 12:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113780963640606720,"km_value":113780963640606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896298139150819328,"description":"Unknown IO ID 45"} 
[2026-08-02 12:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127677440001,"power":13798,"unknown_36":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8896298139150819328}} 
[2026-08-02 12:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":149117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:48:34] local.INFO: GPS data processed {"connection_id":149117,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:48:34] local.INFO: Acknowledgment sent {"connection_id":149117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:49:02] local.INFO: TCP Data received {"connection_id":147801,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:49:02] local.INFO: Processing buffer {"connection_id":147801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:49:02] local.INFO: Packet analysis {"connection_id":147801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:49:02] local.INFO: Extracted packet for processing {"connection_id":147801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:49:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127626240001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785655091000,"timestamp_ms":1785655091000,"timestamp_seconds":1785655091,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1565f38"} 
[2026-08-02 12:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127626240001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127626240001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:49:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:49:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:49:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127626240001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":147801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:49:02] local.INFO: GPS data processed {"connection_id":147801,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:49:02] local.INFO: Acknowledgment sent {"connection_id":147801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:49:05] local.INFO: TCP Data received {"connection_id":149117,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15676a8012d7b674005e08670000401601a..."} 
[2026-08-02 12:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15676a8012d7b674005e08670000401601a..."} 
[2026-08-02 12:49:05] local.INFO: Processing buffer {"connection_id":149117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15676a8012d7b674005e08670000401601a..."} 
[2026-08-02 12:49:05] local.INFO: Packet analysis {"connection_id":149117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:49:05] local.INFO: Extracted packet for processing {"connection_id":149117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:49:05] local.INFO: GPS Element Parsed {"raw_longitude":763062080,"raw_latitude":98600560,"longitude_deg":76.306208,"latitude_deg":9.860056,"altitude":4,"angle":352,"satellites":26,"speed":0,"hex_longitude":"2d7b6740","hex_latitude":"05e08670","is_valid_coordinates":true} 
[2026-08-02 12:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127699712001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113782024497528832,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892005645763887104,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49: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-08-02 12:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785655097000,"timestamp_ms":1785655097000,"timestamp_seconds":1785655097,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15676a8"} 
[2026-08-02 12:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:49: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-08-02 12: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 12:49: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-08-02 12:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127699712001,"66":13428,"35":206,"85":15104,"24":0,"16":113782024497528832,"45":8892005645763887104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-08-02 12:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127699712001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:49:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-02 12:49:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113782024497528832,"km_value":113782024497528.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892005645763887104,"description":"Unknown IO ID 45"} 
[2026-08-02 12:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127699712001,"power":13428,"unknown_35":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8892005645763887104}} 
[2026-08-02 12:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":149117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:49:05] local.INFO: GPS data processed {"connection_id":149117,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:49:05] local.INFO: Acknowledgment sent {"connection_id":149117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:49:29] local.INFO: TCP Data received {"connection_id":146575,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:49:29] local.INFO: Processing buffer {"connection_id":146575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:49:29] local.INFO: IMEI packet received {"connection_id":146575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":146575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:49:33] local.INFO: TCP Data received {"connection_id":149118,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:49:33] local.INFO: Processing buffer {"connection_id":149118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:49:33] local.INFO: IMEI packet received {"connection_id":149118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":149118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:49:34] local.INFO: TCP Data received {"connection_id":146575,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:49:34] local.INFO: Processing buffer {"connection_id":146575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:49:34] local.INFO: IMEI packet received {"connection_id":146575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":146575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:49:37] local.INFO: TCP Data received {"connection_id":146575,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:49:37] local.INFO: Processing buffer {"connection_id":146575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:49:37] local.INFO: Packet analysis {"connection_id":146575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:49:37] local.INFO: Extracted packet for processing {"connection_id":146575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127626240001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785655091000,"timestamp_ms":1785655091000,"timestamp_seconds":1785655091,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1565f38"} 
[2026-08-02 12:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127626240001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127626240001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:49:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:49:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:49:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127626240001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":146575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:49:37] local.INFO: GPS data processed {"connection_id":146575,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:49:37] local.INFO: Acknowledgment sent {"connection_id":146575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:49:38] local.INFO: TCP Data received {"connection_id":149118,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:49:38] local.INFO: Processing buffer {"connection_id":149118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:49:38] local.INFO: IMEI packet received {"connection_id":149118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":149118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:49:39] local.INFO: TCP Data received {"connection_id":149118,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc156c8b0012d7b674005e08670000401601b..."} 
[2026-08-02 12:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc156c8b0012d7b674005e08670000401601b..."} 
[2026-08-02 12:49:39] local.INFO: Processing buffer {"connection_id":149118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc156c8b0012d7b674005e08670000401601b..."} 
[2026-08-02 12:49:39] local.INFO: Packet analysis {"connection_id":149118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:49:39] local.INFO: Extracted packet for processing {"connection_id":149118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763062080,"raw_latitude":98600560,"longitude_deg":76.306208,"latitude_deg":9.860056,"altitude":4,"angle":352,"satellites":27,"speed":0,"hex_longitude":"2d7b6740","hex_latitude":"05e08670","is_valid_coordinates":true} 
[2026-08-02 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-08-02 12:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127704832001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113782024497528832,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892146383252254720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:39] 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-08-02 12:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785655118000,"timestamp_ms":1785655118000,"timestamp_seconds":1785655118,"priority":1,"record_length":96,"hex_timestamp":"0000019fc156c8b0"} 
[2026-08-02 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-08-02 12:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 12:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 12:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127704832001,"66":13319,"35":206,"85":15104,"24":0,"16":113782024497528832,"45":8892146383252254720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-08-02 12:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127704832001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:49:39] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-02 12:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113782024497528832,"km_value":113782024497528.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892146383252254720,"description":"Unknown IO ID 45"} 
[2026-08-02 12:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127704832001,"power":13319,"unknown_35":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8892146383252254720}} 
[2026-08-02 12:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":149118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:49:39] local.INFO: GPS data processed {"connection_id":149118,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:49:39] local.INFO: Acknowledgment sent {"connection_id":149118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:49:44] local.INFO: TCP Data received {"connection_id":149118,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1571ab8012d7b674005e086700004016018..."} 
[2026-08-02 12:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1571ab8012d7b674005e086700004016018..."} 
[2026-08-02 12:49:44] local.INFO: Processing buffer {"connection_id":149118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1571ab8012d7b674005e086700004016018..."} 
[2026-08-02 12:49:44] local.INFO: Packet analysis {"connection_id":149118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc157"} 
[2026-08-02 12:49:44] local.INFO: Extracted packet for processing {"connection_id":149118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc157"} 
[2026-08-02 12:49:44] local.INFO: GPS Element Parsed {"raw_longitude":763062080,"raw_latitude":98600560,"longitude_deg":76.306208,"latitude_deg":9.860056,"altitude":4,"angle":352,"satellites":24,"speed":0,"hex_longitude":"2d7b6740","hex_latitude":"05e08670","is_valid_coordinates":true} 
[2026-08-02 12:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127710208001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113782024497528832,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892146383252254720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:44] 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-08-02 12:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785655139000,"timestamp_ms":1785655139000,"timestamp_seconds":1785655139,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1571ab8"} 
[2026-08-02 12:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 12:49:44] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-2990388857718472699,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3243629160,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:44] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-8986933034920501504,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1445134542,"corrected_to":0} 
[2026-08-02 12:49:44] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147868803,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:44] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505878,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:44] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57797078563050811,"note":"Value kept but may cause issues"} 
[2026-08-02 12:49:44] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,35,85,24,241,157,16,60,159,118,45,64,134,4,26,10,66,40,192,36,1,240,51,227,193,224,113,205,5,226,103,152,30,239,50,2,148,138],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1445134542,"validated":0}]} 
[2026-08-02 12:49:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288617520208805888,"timestamp_seconds":288617520208805.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 12:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127710208001,"66":13363,"35":206,"85":15104,"24":0,"16":113782024497528832,"45":8892146383252254720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-08-02 12:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127710208001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:49:44] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-02 12:49:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113782024497528832,"km_value":113782024497528.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892146383252254720,"description":"Unknown IO ID 45"} 
[2026-08-02 12:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127710208001,"power":13363,"unknown_35":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8892146383252254720}} 
[2026-08-02 12:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":149118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:49:44] local.INFO: GPS data processed {"connection_id":149118,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:49:44] local.INFO: Acknowledgment sent {"connection_id":149118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:50:08] local.INFO: TCP Data received {"connection_id":146575,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:50:08] local.INFO: Processing buffer {"connection_id":146575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:50:08] local.INFO: Packet analysis {"connection_id":146575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:50:08] local.INFO: Extracted packet for processing {"connection_id":146575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:50:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127626240001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:50:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785655091000,"timestamp_ms":1785655091000,"timestamp_seconds":1785655091,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1565f38"} 
[2026-08-02 12:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127626240001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127626240001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:50:08] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:50:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:50:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127626240001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":146575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:50:09] local.INFO: GPS data processed {"connection_id":146575,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:50:09] local.INFO: Acknowledgment sent {"connection_id":146575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:50:24] local.INFO: TCP Data received {"connection_id":146786,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:50:24] local.INFO: Processing buffer {"connection_id":146786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:50:24] local.INFO: IMEI packet received {"connection_id":146786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":146786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:50:25] local.INFO: TCP Data received {"connection_id":146787,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:50:25] local.INFO: Processing buffer {"connection_id":146787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:50:25] local.INFO: IMEI packet received {"connection_id":146787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":146787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:50:25] local.INFO: TCP Data received {"connection_id":146787,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:50:25] local.INFO: Processing buffer {"connection_id":146787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:50:25] local.INFO: IMEI packet received {"connection_id":146787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":146787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:50:26] local.INFO: TCP Data received {"connection_id":146787,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:50:26] local.INFO: Processing buffer {"connection_id":146787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:50:26] local.INFO: IMEI packet received {"connection_id":146787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":146787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:50:28] local.INFO: TCP Data received {"connection_id":146787,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:50:28] local.INFO: Processing buffer {"connection_id":146787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:50:28] local.INFO: IMEI packet received {"connection_id":146787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":146787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:50:29] local.INFO: TCP Data received {"connection_id":146786,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:50:29] local.INFO: Processing buffer {"connection_id":146786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:50:29] local.INFO: IMEI packet received {"connection_id":146786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":146786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:50:31] local.INFO: TCP Data received {"connection_id":146786,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:50:31] local.INFO: Processing buffer {"connection_id":146786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:50:31] local.INFO: Packet analysis {"connection_id":146786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:50:31] local.INFO: Extracted packet for processing {"connection_id":146786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:50:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127626240001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:50:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785655091000,"timestamp_ms":1785655091000,"timestamp_seconds":1785655091,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1565f38"} 
[2026-08-02 12:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127626240001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127626240001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:50:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:50:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:50:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127626240001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":146786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:50:31] local.INFO: GPS data processed {"connection_id":146786,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:50:31] local.INFO: Acknowledgment sent {"connection_id":146786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:51:02] local.INFO: TCP Data received {"connection_id":146786,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:51:02] local.INFO: Processing buffer {"connection_id":146786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:51:02] local.INFO: Packet analysis {"connection_id":146786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:51:02] local.INFO: Extracted packet for processing {"connection_id":146786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:51:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127626240001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:51:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785655091000,"timestamp_ms":1785655091000,"timestamp_seconds":1785655091,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1565f38"} 
[2026-08-02 12:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127626240001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127626240001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:51:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:51:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:51:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127626240001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":146786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:51:03] local.INFO: GPS data processed {"connection_id":146786,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:51:03] local.INFO: Acknowledgment sent {"connection_id":146786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:51:29] local.INFO: TCP Data received {"connection_id":149119,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:51:29] local.INFO: Processing buffer {"connection_id":149119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:51:29] local.INFO: IMEI packet received {"connection_id":149119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":149119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:51:34] local.INFO: TCP Data received {"connection_id":149119,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:51:34] local.INFO: Processing buffer {"connection_id":149119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:51:34] local.INFO: IMEI packet received {"connection_id":149119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":149119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:51:36] local.INFO: TCP Data received {"connection_id":149119,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:51:36] local.INFO: Processing buffer {"connection_id":149119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:51:36] local.INFO: Packet analysis {"connection_id":149119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:51:36] local.INFO: Extracted packet for processing {"connection_id":149119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127626240001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:51:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785655091000,"timestamp_ms":1785655091000,"timestamp_seconds":1785655091,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1565f38"} 
[2026-08-02 12:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127626240001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127626240001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:51:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:51:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:51:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127626240001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":149119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:51:36] local.INFO: GPS data processed {"connection_id":149119,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:51:36] local.INFO: Acknowledgment sent {"connection_id":149119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:52:07] local.INFO: TCP Data received {"connection_id":149119,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:52:07] local.INFO: Processing buffer {"connection_id":149119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:52:07] local.INFO: Packet analysis {"connection_id":149119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:52:07] local.INFO: Extracted packet for processing {"connection_id":149119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127626240001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:52:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785655091000,"timestamp_ms":1785655091000,"timestamp_seconds":1785655091,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1565f38"} 
[2026-08-02 12:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:52: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-08-02 12:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127626240001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127626240001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:52:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:52:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:52:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127626240001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":149119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:52:07] local.INFO: GPS data processed {"connection_id":149119,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:52:07] local.INFO: Acknowledgment sent {"connection_id":149119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:52:24] local.INFO: TCP Data received {"connection_id":146577,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:52:24] local.INFO: Processing buffer {"connection_id":146577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:52:24] local.INFO: IMEI packet received {"connection_id":146577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":146577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:52:29] local.INFO: TCP Data received {"connection_id":146577,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:52:29] local.INFO: Processing buffer {"connection_id":146577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:52:29] local.INFO: IMEI packet received {"connection_id":146577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":146577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:52:31] local.INFO: TCP Data received {"connection_id":146577,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:52:31] local.INFO: Processing buffer {"connection_id":146577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:52:31] local.INFO: Packet analysis {"connection_id":146577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:52:31] local.INFO: Extracted packet for processing {"connection_id":146577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:52:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12: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-08-02 12:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127626240001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:52:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785655091000,"timestamp_ms":1785655091000,"timestamp_seconds":1785655091,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1565f38"} 
[2026-08-02 12:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12: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-08-02 12:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127626240001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127626240001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:52:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:52:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:52:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127626240001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":146577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:52:31] local.INFO: GPS data processed {"connection_id":146577,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:52:31] local.INFO: Acknowledgment sent {"connection_id":146577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:53:03] local.INFO: TCP Data received {"connection_id":146577,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:53:03] local.INFO: Processing buffer {"connection_id":146577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:53:03] local.INFO: Packet analysis {"connection_id":146577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:53:03] local.INFO: Extracted packet for processing {"connection_id":146577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:53:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127626240001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:53:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785655091000,"timestamp_ms":1785655091000,"timestamp_seconds":1785655091,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1565f38"} 
[2026-08-02 12:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127626240001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127626240001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:53:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:53:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:53:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127626240001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":146577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:53:03] local.INFO: GPS data processed {"connection_id":146577,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:53:03] local.INFO: Acknowledgment sent {"connection_id":146577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:53:24] local.INFO: TCP Data received {"connection_id":146788,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:53:24] local.INFO: Processing buffer {"connection_id":146788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:53:24] local.INFO: IMEI packet received {"connection_id":146788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":146788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:53:29] local.INFO: TCP Data received {"connection_id":146788,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:53:29] local.INFO: Processing buffer {"connection_id":146788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:53:29] local.INFO: IMEI packet received {"connection_id":146788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":146788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:53:31] local.INFO: TCP Data received {"connection_id":146788,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:53:31] local.INFO: Processing buffer {"connection_id":146788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1565f38012cc330c007685958005800c52c..."} 
[2026-08-02 12:53:31] local.INFO: Packet analysis {"connection_id":146788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:53:31] local.INFO: Extracted packet for processing {"connection_id":146788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc156"} 
[2026-08-02 12:53:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127626240001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:53:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785655091000,"timestamp_ms":1785655091000,"timestamp_seconds":1785655091,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1565f38"} 
[2026-08-02 12:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-02 12:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127626240001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 12:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127626240001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:53:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 12:53:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:53:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127626240001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":146788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:53:31] local.INFO: GPS data processed {"connection_id":146788,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:53:31] local.INFO: Acknowledgment sent {"connection_id":146788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:54:03] local.INFO: TCP Data received {"connection_id":146788,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:54:03] local.INFO: Processing buffer {"connection_id":146788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:54:03] local.INFO: Packet analysis {"connection_id":146788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:54:03] local.INFO: Extracted packet for processing {"connection_id":146788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:54:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127703296001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:54:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785655392000,"timestamp_ms":1785655392000,"timestamp_seconds":1785655392,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15af700"} 
[2026-08-02 12:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 12:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127703296001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127703296001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:54:03] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:54:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:54:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127703296001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":146788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:54:03] local.INFO: GPS data processed {"connection_id":146788,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:54:03] local.INFO: Acknowledgment sent {"connection_id":146788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:54:24] local.INFO: TCP Data received {"connection_id":149120,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:54:24] local.INFO: Processing buffer {"connection_id":149120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:54:24] local.INFO: IMEI packet received {"connection_id":149120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":149120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:54:29] local.INFO: TCP Data received {"connection_id":149120,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:54:29] local.INFO: Processing buffer {"connection_id":149120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:54:29] local.INFO: IMEI packet received {"connection_id":149120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":149120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:54:31] local.INFO: TCP Data received {"connection_id":149120,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:54:31] local.INFO: Processing buffer {"connection_id":149120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:54:31] local.INFO: Packet analysis {"connection_id":149120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:54:31] local.INFO: Extracted packet for processing {"connection_id":149120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:54:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127703296001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:54:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785655392000,"timestamp_ms":1785655392000,"timestamp_seconds":1785655392,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15af700"} 
[2026-08-02 12:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 12:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127703296001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127703296001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:54:31] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:54:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:54:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127703296001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":149120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:54:31] local.INFO: GPS data processed {"connection_id":149120,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:54:31] local.INFO: Acknowledgment sent {"connection_id":149120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:55:04] local.INFO: TCP Data received {"connection_id":149120,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:55:04] local.INFO: Processing buffer {"connection_id":149120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:55:04] local.INFO: Packet analysis {"connection_id":149120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:55:04] local.INFO: Extracted packet for processing {"connection_id":149120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:55:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127703296001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785655392000,"timestamp_ms":1785655392000,"timestamp_seconds":1785655392,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15af700"} 
[2026-08-02 12:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 12:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127703296001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127703296001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:55:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:55:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:55:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127703296001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":149120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:55:04] local.INFO: GPS data processed {"connection_id":149120,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:55:04] local.INFO: Acknowledgment sent {"connection_id":149120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:55:24] local.INFO: TCP Data received {"connection_id":147804,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:55:24] local.INFO: Processing buffer {"connection_id":147804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:55:24] local.INFO: IMEI packet received {"connection_id":147804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":147804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:55:29] local.INFO: TCP Data received {"connection_id":147804,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:55:29] local.INFO: Processing buffer {"connection_id":147804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:55:29] local.INFO: IMEI packet received {"connection_id":147804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":147804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:55:31] local.INFO: TCP Data received {"connection_id":147804,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:55:31] local.INFO: Processing buffer {"connection_id":147804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:55:31] local.INFO: Packet analysis {"connection_id":147804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:55:31] local.INFO: Extracted packet for processing {"connection_id":147804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:55:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127703296001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785655392000,"timestamp_ms":1785655392000,"timestamp_seconds":1785655392,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15af700"} 
[2026-08-02 12:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 12:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127703296001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127703296001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:55:31] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:55:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:55:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127703296001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":147804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:55:31] local.INFO: GPS data processed {"connection_id":147804,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:55:31] local.INFO: Acknowledgment sent {"connection_id":147804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:55:33] local.INFO: TCP Data received {"connection_id":147805,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:55:33] local.INFO: Processing buffer {"connection_id":147805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:55:33] local.INFO: IMEI packet received {"connection_id":147805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":147805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:55:33] local.INFO: TCP Data received {"connection_id":147805,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15b06a0012d7b67c005e09540000201601d..."} 
[2026-08-02 12:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15b06a0012d7b67c005e09540000201601d..."} 
[2026-08-02 12:55:33] local.INFO: Processing buffer {"connection_id":147805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15b06a0012d7b67c005e09540000201601d..."} 
[2026-08-02 12:55:33] local.INFO: Packet analysis {"connection_id":147805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15b"} 
[2026-08-02 12:55:33] local.INFO: Extracted packet for processing {"connection_id":147805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15b"} 
[2026-08-02 12:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763062208,"raw_latitude":98604352,"longitude_deg":76.3062208,"latitude_deg":9.8604352,"altitude":2,"angle":352,"satellites":29,"speed":1,"hex_longitude":"2d7b67c0","hex_latitude":"05e09540","is_valid_coordinates":true} 
[2026-08-02 12:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127781120001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113782243540860928,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892287120741578752,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55: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-08-02 12:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785655396000,"timestamp_ms":1785655396000,"timestamp_seconds":1785655396,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15b06a0"} 
[2026-08-02 12:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 12:55:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3243878160,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:33] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57886718825485627,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:33] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-8045680721388953600,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812936398,"corrected_to":0} 
[2026-08-02 12:55:33] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:33] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221610641,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:33] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480679,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3767584768,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:33] local.WARNING: Large IO value detected {"io_id":89,"raw_value":-6971570928313958395,"note":"Value kept but may cause issues"} 
[2026-08-02 12:55:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,170,85,24,241,157,16,60,159,227,45,128,147,3,19,10,66,164,145,23,82,1,240,51,193,224,4,113,205,178,103,96,30,239,48,2,148,5,89],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2812936398,"validated":0}]} 
[2026-08-02 12:55:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144485835163566080,"timestamp_seconds":144485835163566.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 12:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127781120001,"66":13319,"170":206,"85":15104,"24":1,"16":113782243540860928,"45":8892287120741578752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-02 12:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127781120001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:55:33] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-02 12:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113782243540860928,"km_value":113782243540860.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892287120741578752,"description":"Unknown IO ID 45"} 
[2026-08-02 12:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127781120001,"power":13319,"unknown_170":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8892287120741578752}} 
[2026-08-02 12:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":147805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:55:34] local.INFO: GPS data processed {"connection_id":147805,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:55:34] local.INFO: Acknowledgment sent {"connection_id":147805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:56:03] local.INFO: TCP Data received {"connection_id":147804,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:56:03] local.INFO: Processing buffer {"connection_id":147804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:56:03] local.INFO: Packet analysis {"connection_id":147804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:56:03] local.INFO: Extracted packet for processing {"connection_id":147804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:56:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127703296001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785655392000,"timestamp_ms":1785655392000,"timestamp_seconds":1785655392,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15af700"} 
[2026-08-02 12:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 12:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127703296001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127703296001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:56:03] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:56:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:56:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127703296001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":147804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:56:03] local.INFO: GPS data processed {"connection_id":147804,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:56:03] local.INFO: Acknowledgment sent {"connection_id":147804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:56:05] local.INFO: TCP Data received {"connection_id":147805,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15b1258012d7b67c005e095b8000200041f..."} 
[2026-08-02 12:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15b1258012d7b67c005e095b8000200041f..."} 
[2026-08-02 12:56:05] local.INFO: Processing buffer {"connection_id":147805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15b1258012d7b67c005e095b8000200041f..."} 
[2026-08-02 12:56:05] local.INFO: Packet analysis {"connection_id":147805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15b"} 
[2026-08-02 12:56:05] local.INFO: Extracted packet for processing {"connection_id":147805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15b"} 
[2026-08-02 12:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763062208,"raw_latitude":98604472,"longitude_deg":76.3062208,"latitude_deg":9.8604472,"altitude":2,"angle":4,"satellites":31,"speed":0,"hex_longitude":"2d7b67c0","hex_latitude":"05e095b8","is_valid_coordinates":true} 
[2026-08-02 12:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127781376001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113782247835828224,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892287120741580800,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56: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-08-02 12:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785655399000,"timestamp_ms":1785655399000,"timestamp_seconds":1785655399,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15b1258"} 
[2026-08-02 12:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 12:56:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3243881160,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":57886718825485627,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:05] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-8014155528293834752,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812936398,"corrected_to":0} 
[2026-08-02 12:56:05] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147868817,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3767623680,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:05] local.WARNING: Large IO value detected {"io_id":89,"raw_value":-6408620974892662779,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,170,85,24,241,157,16,60,159,2,45,192,149,26,10,66,227,128,147,3,19,164,1,240,116,193,224,4,113,205,103,136,239,52,148,5,89],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2812936398,"validated":0}]} 
[2026-08-02 12:56:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144502340722950144,"timestamp_seconds":144502340722950.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 12:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127781376001,"66":13493,"35":206,"85":15104,"24":0,"16":113782247835828224,"45":8892287120741580800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-08-02 12:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127781376001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:56:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-02 12:56:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113782247835828224,"km_value":113782247835828.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892287120741580800,"description":"Unknown IO ID 45"} 
[2026-08-02 12:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127781376001,"power":13493,"unknown_35":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8892287120741580800}} 
[2026-08-02 12:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":147805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:56:05] local.INFO: GPS data processed {"connection_id":147805,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:56:05] local.INFO: Acknowledgment sent {"connection_id":147805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:56:27] local.INFO: TCP Data received {"connection_id":146789,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:56:27] local.INFO: Processing buffer {"connection_id":146789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:56:27] local.INFO: IMEI packet received {"connection_id":146789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":146789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:56:30] local.INFO: TCP Data received {"connection_id":147806,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:56:30] local.INFO: Processing buffer {"connection_id":147806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:56:30] local.INFO: IMEI packet received {"connection_id":147806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":147806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:56:33] local.INFO: TCP Data received {"connection_id":146789,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:56:33] local.INFO: Processing buffer {"connection_id":146789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:56:33] local.INFO: IMEI packet received {"connection_id":146789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":146789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:56:34] local.INFO: TCP Data received {"connection_id":146789,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15b6078012d7b67c005e095b8000200041a..."} 
[2026-08-02 12:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15b6078012d7b67c005e095b8000200041a..."} 
[2026-08-02 12:56:34] local.INFO: Processing buffer {"connection_id":146789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15b6078012d7b67c005e095b8000200041a..."} 
[2026-08-02 12:56:34] local.INFO: Packet analysis {"connection_id":146789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15b"} 
[2026-08-02 12:56:34] local.INFO: Extracted packet for processing {"connection_id":146789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15b"} 
[2026-08-02 12:56:34] local.INFO: GPS Element Parsed {"raw_longitude":763062208,"raw_latitude":98604472,"longitude_deg":76.3062208,"latitude_deg":9.8604472,"altitude":2,"angle":4,"satellites":26,"speed":0,"hex_longitude":"2d7b67c0","hex_latitude":"05e095b8","is_valid_coordinates":true} 
[2026-08-02 12:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127782144001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113782247835828224,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892287120741611520,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56: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-08-02 12:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785655419000,"timestamp_ms":1785655419000,"timestamp_seconds":1785655419,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15b6078"} 
[2026-08-02 12:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 12:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127782144001,"66":13406,"35":206,"85":15104,"24":0,"16":113782247835828224,"45":8892287120741611520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-08-02 12:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127782144001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:56:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-02 12:56:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113782247835828224,"km_value":113782247835828.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892287120741611520,"description":"Unknown IO ID 45"} 
[2026-08-02 12:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127782144001,"power":13406,"unknown_35":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8892287120741611520}} 
[2026-08-02 12:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":146789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:56:34] local.INFO: GPS data processed {"connection_id":146789,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:56:34] local.INFO: Acknowledgment sent {"connection_id":146789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:56:34] local.INFO: TCP Data received {"connection_id":147806,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:56:34] local.INFO: Processing buffer {"connection_id":147806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:56:34] local.INFO: IMEI packet received {"connection_id":147806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":147806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:56:46] local.INFO: TCP Data received {"connection_id":147806,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:56:46] local.INFO: Processing buffer {"connection_id":147806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:56:46] local.INFO: Packet analysis {"connection_id":147806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:56:46] local.INFO: Extracted packet for processing {"connection_id":147806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:56:46] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127703296001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785655392000,"timestamp_ms":1785655392000,"timestamp_seconds":1785655392,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15af700"} 
[2026-08-02 12:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12: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-08-02 12:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 12:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":147806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":147806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":147806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127703296001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127703296001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:56:46] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:56:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:56:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127703296001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":147806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:56:46] local.INFO: GPS data processed {"connection_id":147806,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:56:46] local.INFO: Acknowledgment sent {"connection_id":147806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:57:05] local.INFO: TCP Data received {"connection_id":146789,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15bb280012d7b67c005e095b8000200041d..."} 
[2026-08-02 12:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15bb280012d7b67c005e095b8000200041d..."} 
[2026-08-02 12:57:05] local.INFO: Processing buffer {"connection_id":146789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15bb280012d7b67c005e095b8000200041d..."} 
[2026-08-02 12:57:05] local.INFO: Packet analysis {"connection_id":146789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15b"} 
[2026-08-02 12:57:05] local.INFO: Extracted packet for processing {"connection_id":146789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15b"} 
[2026-08-02 12:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763062208,"raw_latitude":98604472,"longitude_deg":76.3062208,"latitude_deg":9.8604472,"altitude":2,"angle":4,"satellites":29,"speed":0,"hex_longitude":"2d7b67c0","hex_latitude":"05e095b8","is_valid_coordinates":true} 
[2026-08-02 12: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-08-02 12:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127787264001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113782247835828224,"note":"Value kept but may cause issues"} 
[2026-08-02 12:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892287120741611520,"note":"Value kept but may cause issues"} 
[2026-08-02 12:57: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-08-02 12:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785655440000,"timestamp_ms":1785655440000,"timestamp_seconds":1785655440,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15bb280"} 
[2026-08-02 12:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 12:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12: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-08-02 12:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127787264001,"66":13080,"35":206,"85":15104,"24":0,"16":113782247835828224,"45":8892287120741611520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-08-02 12:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127787264001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:57:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-02 12:57:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113782247835828224,"km_value":113782247835828.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892287120741611520,"description":"Unknown IO ID 45"} 
[2026-08-02 12:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127787264001,"power":13080,"unknown_35":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8892287120741611520}} 
[2026-08-02 12:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":146789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:57:05] local.INFO: GPS data processed {"connection_id":146789,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:57:05] local.INFO: Acknowledgment sent {"connection_id":146789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:57:24] local.INFO: TCP Data received {"connection_id":147807,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:57:24] local.INFO: Processing buffer {"connection_id":147807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:57:24] local.INFO: IMEI packet received {"connection_id":147807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":147807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:57:28] local.INFO: TCP Data received {"connection_id":146579,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:57:28] local.INFO: Processing buffer {"connection_id":146579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:57:28] local.INFO: IMEI packet received {"connection_id":146579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":146579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:57:29] local.INFO: TCP Data received {"connection_id":147807,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:57:29] local.INFO: Processing buffer {"connection_id":147807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:57:29] local.INFO: IMEI packet received {"connection_id":147807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":147807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:57:31] local.INFO: TCP Data received {"connection_id":147807,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:57:31] local.INFO: Processing buffer {"connection_id":147807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:57:31] local.INFO: Packet analysis {"connection_id":147807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:57:31] local.INFO: Extracted packet for processing {"connection_id":147807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:57:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127703296001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:57:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785655392000,"timestamp_ms":1785655392000,"timestamp_seconds":1785655392,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15af700"} 
[2026-08-02 12:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 12:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127703296001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127703296001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:57:31] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:57:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:57:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127703296001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":147807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:57:32] local.INFO: GPS data processed {"connection_id":147807,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:57:32] local.INFO: Acknowledgment sent {"connection_id":147807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:57:33] local.INFO: TCP Data received {"connection_id":146579,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:57:33] local.INFO: Processing buffer {"connection_id":146579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:57:33] local.INFO: IMEI packet received {"connection_id":146579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":146579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:57:34] local.INFO: TCP Data received {"connection_id":146579,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15c0488012d7b67c005e095b8000200041d..."} 
[2026-08-02 12:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15c0488012d7b67c005e095b8000200041d..."} 
[2026-08-02 12:57:34] local.INFO: Processing buffer {"connection_id":146579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15c0488012d7b67c005e095b8000200041d..."} 
[2026-08-02 12:57:34] local.INFO: Packet analysis {"connection_id":146579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15c"} 
[2026-08-02 12:57:34] local.INFO: Extracted packet for processing {"connection_id":146579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15c"} 
[2026-08-02 12:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763062208,"raw_latitude":98604472,"longitude_deg":76.3062208,"latitude_deg":9.8604472,"altitude":2,"angle":4,"satellites":29,"speed":0,"hex_longitude":"2d7b67c0","hex_latitude":"05e095b8","is_valid_coordinates":true} 
[2026-08-02 12:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127792640001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113782247835828224,"note":"Value kept but may cause issues"} 
[2026-08-02 12:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892287120741611520,"note":"Value kept but may cause issues"} 
[2026-08-02 12:57: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-08-02 12:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785655461000,"timestamp_ms":1785655461000,"timestamp_seconds":1785655461,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15c0488"} 
[2026-08-02 12:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 12:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127792640001,"66":13374,"35":206,"85":15104,"24":0,"16":113782247835828224,"45":8892287120741611520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-08-02 12:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127792640001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:57:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-02 12:57:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113782247835828224,"km_value":113782247835828.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892287120741611520,"description":"Unknown IO ID 45"} 
[2026-08-02 12:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127792640001,"power":13374,"unknown_35":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8892287120741611520}} 
[2026-08-02 12:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":146579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:57:34] local.INFO: GPS data processed {"connection_id":146579,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:57:34] local.INFO: Acknowledgment sent {"connection_id":146579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:58:04] local.INFO: TCP Data received {"connection_id":147807,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:58:04] local.INFO: Processing buffer {"connection_id":147807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:58:04] local.INFO: Packet analysis {"connection_id":147807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:58:04] local.INFO: Extracted packet for processing {"connection_id":147807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:58:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127703296001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:58:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785655392000,"timestamp_ms":1785655392000,"timestamp_seconds":1785655392,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15af700"} 
[2026-08-02 12:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 12:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127703296001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127703296001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:58:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:58:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:58:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127703296001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":147807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:58:04] local.INFO: GPS data processed {"connection_id":147807,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:58:04] local.INFO: Acknowledgment sent {"connection_id":147807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:58:05] local.INFO: TCP Data received {"connection_id":146579,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15c5690012d7b67c005e095b80002000418..."} 
[2026-08-02 12:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15c5690012d7b67c005e095b80002000418..."} 
[2026-08-02 12:58:05] local.INFO: Processing buffer {"connection_id":146579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15c5690012d7b67c005e095b80002000418..."} 
[2026-08-02 12:58:05] local.INFO: Packet analysis {"connection_id":146579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15c"} 
[2026-08-02 12:58:05] local.INFO: Extracted packet for processing {"connection_id":146579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15c"} 
[2026-08-02 12:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763062208,"raw_latitude":98604472,"longitude_deg":76.3062208,"latitude_deg":9.8604472,"altitude":2,"angle":4,"satellites":24,"speed":0,"hex_longitude":"2d7b67c0","hex_latitude":"05e095b8","is_valid_coordinates":true} 
[2026-08-02 12:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127798016001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113782247835828224,"note":"Value kept but may cause issues"} 
[2026-08-02 12:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892287120741611520,"note":"Value kept but may cause issues"} 
[2026-08-02 12:58: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-08-02 12:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785655482000,"timestamp_ms":1785655482000,"timestamp_seconds":1785655482,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15c5690"} 
[2026-08-02 12:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 12:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127798016001,"66":13243,"35":206,"85":15104,"24":0,"16":113782247835828224,"45":8892287120741611520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-08-02 12:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127798016001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:58:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-02 12:58:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113782247835828224,"km_value":113782247835828.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892287120741611520,"description":"Unknown IO ID 45"} 
[2026-08-02 12:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127798016001,"power":13243,"unknown_35":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8892287120741611520}} 
[2026-08-02 12:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":146579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:58:05] local.INFO: GPS data processed {"connection_id":146579,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:58:05] local.INFO: Acknowledgment sent {"connection_id":146579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:58:24] local.INFO: TCP Data received {"connection_id":147808,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:58:24] local.INFO: Processing buffer {"connection_id":147808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:58:24] local.INFO: IMEI packet received {"connection_id":147808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":147808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:58:27] local.INFO: TCP Data received {"connection_id":146580,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:58:27] local.INFO: Processing buffer {"connection_id":146580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:58:27] local.INFO: IMEI packet received {"connection_id":146580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":146580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:58:27] local.INFO: TCP Data received {"connection_id":146580,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:58:27] local.INFO: Processing buffer {"connection_id":146580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:58:27] local.INFO: IMEI packet received {"connection_id":146580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":146580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:58:29] local.INFO: TCP Data received {"connection_id":147808,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:58:29] local.INFO: Processing buffer {"connection_id":147808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:58:29] local.INFO: IMEI packet received {"connection_id":147808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":147808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:58:31] local.INFO: TCP Data received {"connection_id":147808,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:58:31] local.INFO: Processing buffer {"connection_id":147808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15af700012cc330c007685958005800c52c..."} 
[2026-08-02 12:58:31] local.INFO: Packet analysis {"connection_id":147808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:58:31] local.INFO: Extracted packet for processing {"connection_id":147808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15a"} 
[2026-08-02 12:58:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127703296001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:58:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785655392000,"timestamp_ms":1785655392000,"timestamp_seconds":1785655392,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15af700"} 
[2026-08-02 12:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 12:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127703296001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127703296001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:58:31] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:58:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:58:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127703296001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":147808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:58:31] local.INFO: GPS data processed {"connection_id":147808,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:58:31] local.INFO: Acknowledgment sent {"connection_id":147808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:58:33] local.INFO: TCP Data received {"connection_id":146580,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:58:33] local.INFO: Processing buffer {"connection_id":146580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:58:33] local.INFO: IMEI packet received {"connection_id":146580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":146580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:58:34] local.INFO: TCP Data received {"connection_id":146580,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15ca898012d7b67c005e095b8000200041d..."} 
[2026-08-02 12:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15ca898012d7b67c005e095b8000200041d..."} 
[2026-08-02 12:58:34] local.INFO: Processing buffer {"connection_id":146580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15ca898012d7b67c005e095b8000200041d..."} 
[2026-08-02 12:58:34] local.INFO: Packet analysis {"connection_id":146580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15c"} 
[2026-08-02 12:58:34] local.INFO: Extracted packet for processing {"connection_id":146580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15c"} 
[2026-08-02 12:58:34] local.INFO: GPS Element Parsed {"raw_longitude":763062208,"raw_latitude":98604472,"longitude_deg":76.3062208,"latitude_deg":9.8604472,"altitude":2,"angle":4,"satellites":29,"speed":0,"hex_longitude":"2d7b67c0","hex_latitude":"05e095b8","is_valid_coordinates":true} 
[2026-08-02 12:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127803392001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113782247835828224,"note":"Value kept but may cause issues"} 
[2026-08-02 12:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892287120741611520,"note":"Value kept but may cause issues"} 
[2026-08-02 12:58: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-08-02 12:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785655503000,"timestamp_ms":1785655503000,"timestamp_seconds":1785655503,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15ca898"} 
[2026-08-02 12:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 12:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-02 12:58: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-08-02 12:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127803392001,"66":13200,"35":206,"85":15104,"24":0,"16":113782247835828224,"45":8892287120741611520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-08-02 12:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127803392001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:58:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-02 12:58:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113782247835828224,"km_value":113782247835828.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892287120741611520,"description":"Unknown IO ID 45"} 
[2026-08-02 12:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127803392001,"power":13200,"unknown_35":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8892287120741611520}} 
[2026-08-02 12:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":146580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:58:34] local.INFO: GPS data processed {"connection_id":146580,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:58:34] local.INFO: Acknowledgment sent {"connection_id":146580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:59:04] local.INFO: TCP Data received {"connection_id":147808,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 12:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 12:59:04] local.INFO: Processing buffer {"connection_id":147808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 12:59:04] local.INFO: Packet analysis {"connection_id":147808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 12:59:04] local.INFO: Extracted packet for processing {"connection_id":147808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 12:59:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127780352001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:59:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785655693000,"timestamp_ms":1785655693000,"timestamp_seconds":1785655693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15f8ec8"} 
[2026-08-02 12:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 12:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127780352001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127780352001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:59:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:59:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:59:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127780352001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":147808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:59:04] local.INFO: GPS data processed {"connection_id":147808,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:59:04] local.INFO: Acknowledgment sent {"connection_id":147808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:59:04] local.INFO: TCP Data received {"connection_id":146580,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1604278012d7b660005e0b3800000000323..."} 
[2026-08-02 12:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1604278012d7b660005e0b3800000000323..."} 
[2026-08-02 12:59:04] local.INFO: Processing buffer {"connection_id":146580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1604278012d7b660005e0b3800000000323..."} 
[2026-08-02 12:59:04] local.INFO: Packet analysis {"connection_id":146580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc160"} 
[2026-08-02 12:59:04] local.INFO: Extracted packet for processing {"connection_id":146580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc160"} 
[2026-08-02 12:59:04] local.INFO: GPS Element Parsed {"raw_longitude":763061760,"raw_latitude":98612096,"longitude_deg":76.306176,"latitude_deg":9.8612096,"altitude":0,"angle":3,"satellites":35,"speed":16,"hex_longitude":"2d7b6600","hex_latitude":"05e0b380","is_valid_coordinates":true} 
[2026-08-02 12:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127867648001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113782642972819456,"note":"Value kept but may cause issues"} 
[2026-08-02 12:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891020483347877888,"note":"Value kept but may cause issues"} 
[2026-08-02 12:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785655739000,"timestamp_ms":1785655739000,"timestamp_seconds":1785655739,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1604278"} 
[2026-08-02 12:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:59: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-08-02 12:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-02 12:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127867648001,"66":12841,"170":206,"85":15104,"24":16,"16":113782642972819456,"45":8891020483347877888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-02 12:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127867648001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:59:04] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-02 12:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113782642972819456,"km_value":113782642972819.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891020483347877888,"description":"Unknown IO ID 45"} 
[2026-08-02 12:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127867648001,"power":12841,"unknown_170":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8891020483347877888}} 
[2026-08-02 12:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":146580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:59:04] local.INFO: GPS data processed {"connection_id":146580,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:59:04] local.INFO: Acknowledgment sent {"connection_id":146580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:59:24] local.INFO: TCP Data received {"connection_id":149121,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:59:24] local.INFO: Processing buffer {"connection_id":149121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:59:24] local.INFO: IMEI packet received {"connection_id":149121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 12:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":149121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:59:27] local.INFO: TCP Data received {"connection_id":149122,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:59:27] local.INFO: Processing buffer {"connection_id":149122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:59:27] local.INFO: IMEI packet received {"connection_id":149122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 12:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":149122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 12:59:30] local.INFO: TCP Data received {"connection_id":149121,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:59:30] local.INFO: Processing buffer {"connection_id":149121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 12:59:30] local.INFO: IMEI packet received {"connection_id":149121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 12:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":149121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:59:32] local.INFO: TCP Data received {"connection_id":149121,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 12:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 12:59:32] local.INFO: Processing buffer {"connection_id":149121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 12:59:32] local.INFO: Packet analysis {"connection_id":149121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 12:59:32] local.INFO: Extracted packet for processing {"connection_id":149121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 12:59:32] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 12:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127780352001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 12:59:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 12:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 12:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785655693000,"timestamp_ms":1785655693000,"timestamp_seconds":1785655693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15f8ec8"} 
[2026-08-02 12:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 12:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 12:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 12:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 12:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 12:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127780352001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 12:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 12:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 12:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127780352001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:59:32] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 12:59:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 12:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:59:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 12:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127780352001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 12:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":149121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:59:32] local.INFO: GPS data processed {"connection_id":149121,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:59:32] local.INFO: Acknowledgment sent {"connection_id":149121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 12:59:33] local.INFO: TCP Data received {"connection_id":149122,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:59:33] local.INFO: Processing buffer {"connection_id":149122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 12:59:33] local.INFO: IMEI packet received {"connection_id":149122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 12:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":149122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 12:59:33] local.INFO: TCP Data received {"connection_id":149122,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1604a48012d7b668005e0b6180000001221..."} 
[2026-08-02 12:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1604a48012d7b668005e0b6180000001221..."} 
[2026-08-02 12:59:33] local.INFO: Processing buffer {"connection_id":149122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1604a48012d7b668005e0b6180000001221..."} 
[2026-08-02 12:59:33] local.INFO: Packet analysis {"connection_id":149122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc160"} 
[2026-08-02 12:59:33] local.INFO: Extracted packet for processing {"connection_id":149122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc160"} 
[2026-08-02 12:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763061888,"raw_latitude":98612760,"longitude_deg":76.3061888,"latitude_deg":9.861276,"altitude":0,"angle":18,"satellites":33,"speed":11,"hex_longitude":"2d7b6680","hex_latitude":"05e0b618","is_valid_coordinates":true} 
[2026-08-02 12:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 12:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127869184001,"note":"Value kept but may cause issues"} 
[2026-08-02 12:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113782677332557824,"note":"Value kept but may cause issues"} 
[2026-08-02 12:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891794539534319616,"note":"Value kept but may cause issues"} 
[2026-08-02 12:59: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-08-02 12:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785655741000,"timestamp_ms":1785655741000,"timestamp_seconds":1785655741,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1604a48"} 
[2026-08-02 12:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 12:59: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-08-02 12:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-02 12:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 12:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 12:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 12:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 12:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 12:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 12:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 12:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 12:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 12:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127869184001,"66":12939,"170":206,"85":15104,"24":11,"16":113782677332557824,"45":8891794539534319616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-02 12:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 12:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 12:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127869184001,"description":"Unknown IO ID 0"} 
[2026-08-02 12:59:34] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-02 12:59:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 12:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113782677332557824,"km_value":113782677332557.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 12:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891794539534319616,"description":"Unknown IO ID 45"} 
[2026-08-02 12:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127869184001,"power":12939,"unknown_170":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8891794539534319616}} 
[2026-08-02 12:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":149122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 12:59:34] local.INFO: GPS data processed {"connection_id":149122,"processed":1,"errors":0,"total":1} 
[2026-08-02 12:59:34] local.INFO: Acknowledgment sent {"connection_id":149122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:00:04] local.INFO: TCP Data received {"connection_id":149121,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:00:04] local.INFO: Processing buffer {"connection_id":149121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:00:04] local.INFO: Packet analysis {"connection_id":149121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:00:04] local.INFO: Extracted packet for processing {"connection_id":149121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:00:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127780352001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:00:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785655693000,"timestamp_ms":1785655693000,"timestamp_seconds":1785655693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15f8ec8"} 
[2026-08-02 13:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127780352001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 13:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127780352001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:00:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 13:00:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:00:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127780352001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":149121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:00:04] local.INFO: GPS data processed {"connection_id":149121,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:00:04] local.INFO: Acknowledgment sent {"connection_id":149121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:00:05] local.INFO: TCP Data received {"connection_id":149122,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1611950012d7ba64005e0d2580005005722..."} 
[2026-08-02 13:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1611950012d7ba64005e0d2580005005722..."} 
[2026-08-02 13:00:05] local.INFO: Processing buffer {"connection_id":149122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1611950012d7ba64005e0d2580005005722..."} 
[2026-08-02 13:00:05] local.INFO: Packet analysis {"connection_id":149122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc161"} 
[2026-08-02 13:00:05] local.INFO: Extracted packet for processing {"connection_id":149122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc161"} 
[2026-08-02 13:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763078208,"raw_latitude":98619992,"longitude_deg":76.3078208,"latitude_deg":9.8619992,"altitude":5,"angle":87,"satellites":34,"speed":10,"hex_longitude":"2d7ba640","hex_latitude":"05e0d258","is_valid_coordinates":true} 
[2026-08-02 13:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127883008001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113783682354905088,"note":"Value kept but may cause issues"} 
[2026-08-02 13:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909597831813287936,"note":"Value kept but may cause issues"} 
[2026-08-02 13:00: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-08-02 13:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785655794000,"timestamp_ms":1785655794000,"timestamp_seconds":1785655794,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1611950"} 
[2026-08-02 13:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 13:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127883008001,"66":13472,"170":206,"85":15104,"24":10,"16":113783682354905088,"45":8909597831813287936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-02 13:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127883008001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:00:05] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-02 13:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113783682354905088,"km_value":113783682354905.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909597831813287936,"description":"Unknown IO ID 45"} 
[2026-08-02 13:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127883008001,"power":13472,"unknown_170":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8909597831813287936}} 
[2026-08-02 13:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":149122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:00:05] local.INFO: GPS data processed {"connection_id":149122,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:00:05] local.INFO: Acknowledgment sent {"connection_id":149122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:00:25] local.INFO: TCP Data received {"connection_id":146790,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:00:25] local.INFO: Processing buffer {"connection_id":146790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:00:25] local.INFO: IMEI packet received {"connection_id":146790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":146790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:00:27] local.INFO: TCP Data received {"connection_id":147809,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:00:27] local.INFO: Processing buffer {"connection_id":147809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:00:27] local.INFO: IMEI packet received {"connection_id":147809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":147809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:00:29] local.INFO: TCP Data received {"connection_id":146790,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:00:29] local.INFO: Processing buffer {"connection_id":146790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:00:29] local.INFO: IMEI packet received {"connection_id":146790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":146790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:00:32] local.INFO: TCP Data received {"connection_id":146790,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:00:32] local.INFO: Processing buffer {"connection_id":146790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:00:32] local.INFO: Packet analysis {"connection_id":146790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:00:32] local.INFO: Extracted packet for processing {"connection_id":146790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:00:32] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127780352001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:00:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785655693000,"timestamp_ms":1785655693000,"timestamp_seconds":1785655693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15f8ec8"} 
[2026-08-02 13:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":146790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":146790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":146790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127780352001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 13:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127780352001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:00:32] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 13:00:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:00:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127780352001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":146790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:00:32] local.INFO: GPS data processed {"connection_id":146790,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:00:32] local.INFO: Acknowledgment sent {"connection_id":146790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:00:33] local.INFO: TCP Data received {"connection_id":147809,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:00:33] local.INFO: Processing buffer {"connection_id":147809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:00:33] local.INFO: IMEI packet received {"connection_id":147809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":147809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:00:34] local.INFO: TCP Data received {"connection_id":147809,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1611d38012d7ba74005e0d2480005006422..."} 
[2026-08-02 13:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1611d38012d7ba74005e0d2480005006422..."} 
[2026-08-02 13:00:34] local.INFO: Processing buffer {"connection_id":147809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1611d38012d7ba74005e0d2480005006422..."} 
[2026-08-02 13:00:34] local.INFO: Packet analysis {"connection_id":147809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc161"} 
[2026-08-02 13:00:34] local.INFO: Extracted packet for processing {"connection_id":147809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc161"} 
[2026-08-02 13:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763078464,"raw_latitude":98619976,"longitude_deg":76.3078464,"latitude_deg":9.8619976,"altitude":5,"angle":100,"satellites":34,"speed":8,"hex_longitude":"2d7ba740","hex_latitude":"05e0d248","is_valid_coordinates":true} 
[2026-08-02 13:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127883264001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113783695239806976,"note":"Value kept but may cause issues"} 
[2026-08-02 13:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909879306790000640,"note":"Value kept but may cause issues"} 
[2026-08-02 13:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785655795000,"timestamp_ms":1785655795000,"timestamp_seconds":1785655795,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1611d38"} 
[2026-08-02 13:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 13:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127883264001,"66":13472,"170":206,"85":15104,"24":8,"16":113783695239806976,"45":8909879306790000640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-02 13:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127883264001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:00:34] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-02 13:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113783695239806976,"km_value":113783695239806.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909879306790000640,"description":"Unknown IO ID 45"} 
[2026-08-02 13:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127883264001,"power":13472,"unknown_170":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8909879306790000640}} 
[2026-08-02 13:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":147809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:00:34] local.INFO: GPS data processed {"connection_id":147809,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:00:34] local.INFO: Acknowledgment sent {"connection_id":147809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:01:04] local.INFO: TCP Data received {"connection_id":146790,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:01:04] local.INFO: Processing buffer {"connection_id":146790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:01:04] local.INFO: Packet analysis {"connection_id":146790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:01:04] local.INFO: Extracted packet for processing {"connection_id":146790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:01:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127780352001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:01:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785655693000,"timestamp_ms":1785655693000,"timestamp_seconds":1785655693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15f8ec8"} 
[2026-08-02 13:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13: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-08-02 13:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127780352001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 13:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127780352001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:01:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 13:01:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:01:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127780352001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":146790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:01:04] local.INFO: GPS data processed {"connection_id":146790,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:01:04] local.INFO: Acknowledgment sent {"connection_id":146790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:01:04] local.INFO: TCP Data received {"connection_id":147809,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1612508012d7ba90005e0d2400005005222..."} 
[2026-08-02 13:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1612508012d7ba90005e0d2400005005222..."} 
[2026-08-02 13:01:04] local.INFO: Processing buffer {"connection_id":147809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1612508012d7ba90005e0d2400005005222..."} 
[2026-08-02 13:01:04] local.INFO: Packet analysis {"connection_id":147809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc161"} 
[2026-08-02 13:01:04] local.INFO: Extracted packet for processing {"connection_id":147809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc161"} 
[2026-08-02 13:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763078912,"raw_latitude":98619968,"longitude_deg":76.3078912,"latitude_deg":9.8619968,"altitude":5,"angle":82,"satellites":34,"speed":10,"hex_longitude":"2d7ba900","hex_latitude":"05e0d240","is_valid_coordinates":true} 
[2026-08-02 13:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127883520001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113783716714643456,"note":"Value kept but may cause issues"} 
[2026-08-02 13:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910160781766707200,"note":"Value kept but may cause issues"} 
[2026-08-02 13:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785655797000,"timestamp_ms":1785655797000,"timestamp_seconds":1785655797,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1612508"} 
[2026-08-02 13:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:01: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-08-02 13: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 13:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127883520001,"66":13406,"170":206,"85":15104,"24":10,"16":113783716714643456,"45":8910160781766707200},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-02 13:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127883520001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:01:04] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-02 13:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113783716714643456,"km_value":113783716714643.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910160781766707200,"description":"Unknown IO ID 45"} 
[2026-08-02 13:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127883520001,"power":13406,"unknown_170":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8910160781766707200}} 
[2026-08-02 13:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":147809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:01:04] local.INFO: GPS data processed {"connection_id":147809,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:01:04] local.INFO: Acknowledgment sent {"connection_id":147809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:01:24] local.INFO: TCP Data received {"connection_id":149123,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:01:24] local.INFO: Processing buffer {"connection_id":149123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:01:24] local.INFO: IMEI packet received {"connection_id":149123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":149123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:01:29] local.INFO: TCP Data received {"connection_id":149123,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:01:29] local.INFO: Processing buffer {"connection_id":149123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:01:29] local.INFO: IMEI packet received {"connection_id":149123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":149123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:01:31] local.INFO: TCP Data received {"connection_id":149123,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:01:31] local.INFO: Processing buffer {"connection_id":149123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:01:31] local.INFO: Packet analysis {"connection_id":149123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:01:31] local.INFO: Extracted packet for processing {"connection_id":149123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:01:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127780352001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:01:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785655693000,"timestamp_ms":1785655693000,"timestamp_seconds":1785655693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15f8ec8"} 
[2026-08-02 13:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127780352001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 13:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127780352001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:01:31] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 13:01:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:01:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127780352001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":149123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:01:31] local.INFO: GPS data processed {"connection_id":149123,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:01:31] local.INFO: Acknowledgment sent {"connection_id":149123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:01:32] local.INFO: TCP Data received {"connection_id":146581,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:01:32] local.INFO: Processing buffer {"connection_id":146581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:01:32] local.INFO: IMEI packet received {"connection_id":146581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":146581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:01:33] local.INFO: TCP Data received {"connection_id":146581,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:01:33] local.INFO: Processing buffer {"connection_id":146581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:01:33] local.INFO: IMEI packet received {"connection_id":146581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":146581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:01:33] local.INFO: TCP Data received {"connection_id":146581,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:01:33] local.INFO: Processing buffer {"connection_id":146581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:01:33] local.INFO: IMEI packet received {"connection_id":146581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":146581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:01:34] local.INFO: TCP Data received {"connection_id":146581,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:01:34] local.INFO: Processing buffer {"connection_id":146581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:01:34] local.INFO: IMEI packet received {"connection_id":146581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":146581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:02:03] local.INFO: TCP Data received {"connection_id":149123,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:02:03] local.INFO: Processing buffer {"connection_id":149123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:02:03] local.INFO: Packet analysis {"connection_id":149123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:02:03] local.INFO: Extracted packet for processing {"connection_id":149123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:02:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127780352001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:02:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785655693000,"timestamp_ms":1785655693000,"timestamp_seconds":1785655693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15f8ec8"} 
[2026-08-02 13:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127780352001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 13:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127780352001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:02:03] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 13:02:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:02:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127780352001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":149123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:02:03] local.INFO: GPS data processed {"connection_id":149123,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:02:03] local.INFO: Acknowledgment sent {"connection_id":149123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:02:24] local.INFO: TCP Data received {"connection_id":147810,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:02:24] local.INFO: Processing buffer {"connection_id":147810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:02:24] local.INFO: IMEI packet received {"connection_id":147810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":147810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:02:29] local.INFO: TCP Data received {"connection_id":147810,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:02:29] local.INFO: Processing buffer {"connection_id":147810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:02:29] local.INFO: IMEI packet received {"connection_id":147810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":147810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:02:31] local.INFO: TCP Data received {"connection_id":147810,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:02:31] local.INFO: Processing buffer {"connection_id":147810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:02:31] local.INFO: Packet analysis {"connection_id":147810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:02:31] local.INFO: Extracted packet for processing {"connection_id":147810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:02:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127780352001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:02:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785655693000,"timestamp_ms":1785655693000,"timestamp_seconds":1785655693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15f8ec8"} 
[2026-08-02 13:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127780352001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 13:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127780352001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:02:31] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 13:02:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:02:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127780352001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":147810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:02:31] local.INFO: GPS data processed {"connection_id":147810,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:02:31] local.INFO: Acknowledgment sent {"connection_id":147810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:03:10] local.INFO: TCP Data received {"connection_id":147810,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:03:10] local.INFO: Processing buffer {"connection_id":147810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:03:10] local.INFO: Packet analysis {"connection_id":147810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:03:10] local.INFO: Extracted packet for processing {"connection_id":147810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:03:10] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127780352001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785655693000,"timestamp_ms":1785655693000,"timestamp_seconds":1785655693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15f8ec8"} 
[2026-08-02 13:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13: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-08-02 13:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127780352001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 13:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127780352001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:03:10] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 13:03:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127780352001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":147810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:03:10] local.INFO: GPS data processed {"connection_id":147810,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:03:10] local.INFO: Acknowledgment sent {"connection_id":147810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:03:29] local.INFO: TCP Data received {"connection_id":147811,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:03:29] local.INFO: Processing buffer {"connection_id":147811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:03:29] local.INFO: IMEI packet received {"connection_id":147811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":147811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:03:34] local.INFO: TCP Data received {"connection_id":147811,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:03:34] local.INFO: Processing buffer {"connection_id":147811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:03:34] local.INFO: IMEI packet received {"connection_id":147811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":147811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:03:36] local.INFO: TCP Data received {"connection_id":147811,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:03:36] local.INFO: Processing buffer {"connection_id":147811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:03:36] local.INFO: Packet analysis {"connection_id":147811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:03:36] local.INFO: Extracted packet for processing {"connection_id":147811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:03:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127780352001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:03:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785655693000,"timestamp_ms":1785655693000,"timestamp_seconds":1785655693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15f8ec8"} 
[2026-08-02 13:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127780352001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 13:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127780352001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:03:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 13:03:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:03:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127780352001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":147811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:03:36] local.INFO: GPS data processed {"connection_id":147811,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:03:36] local.INFO: Acknowledgment sent {"connection_id":147811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:03:40] local.INFO: TCP Data received {"connection_id":147811,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:03:40] local.INFO: Processing buffer {"connection_id":147811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc15f8ec8012cc330c007685958005800c52a..."} 
[2026-08-02 13:03:40] local.INFO: Packet analysis {"connection_id":147811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:03:40] local.INFO: Extracted packet for processing {"connection_id":147811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc15f"} 
[2026-08-02 13:03:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127780352001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785655693000,"timestamp_ms":1785655693000,"timestamp_seconds":1785655693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc15f8ec8"} 
[2026-08-02 13:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:03: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-08-02 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:03: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-08-02 13:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127780352001,"66":25615,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 13:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127780352001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:03:40] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 13:03:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127780352001,"power":25615,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":147811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:03:40] local.INFO: GPS data processed {"connection_id":147811,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:03:40] local.INFO: Acknowledgment sent {"connection_id":147811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:04:24] local.INFO: TCP Data received {"connection_id":146791,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:04:24] local.INFO: Processing buffer {"connection_id":146791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:04:24] local.INFO: IMEI packet received {"connection_id":146791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":146791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:04:29] local.INFO: TCP Data received {"connection_id":146791,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:04:29] local.INFO: Processing buffer {"connection_id":146791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:04:29] local.INFO: IMEI packet received {"connection_id":146791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":146791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:04:31] local.INFO: TCP Data received {"connection_id":146791,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:04:31] local.INFO: Processing buffer {"connection_id":146791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:04:31] local.INFO: Packet analysis {"connection_id":146791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:04:31] local.INFO: Extracted packet for processing {"connection_id":146791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:04:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127857408001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:04:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785655994000,"timestamp_ms":1785655994000,"timestamp_seconds":1785655994,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1642690"} 
[2026-08-02 13:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127857408001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127857408001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:04:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:04:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:04:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127857408001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":146791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:04:31] local.INFO: GPS data processed {"connection_id":146791,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:04:31] local.INFO: Acknowledgment sent {"connection_id":146791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:05:02] local.INFO: TCP Data received {"connection_id":146791,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:05:02] local.INFO: Processing buffer {"connection_id":146791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:05:02] local.INFO: Packet analysis {"connection_id":146791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:05:02] local.INFO: Extracted packet for processing {"connection_id":146791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:05:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127857408001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:05:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785655994000,"timestamp_ms":1785655994000,"timestamp_seconds":1785655994,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1642690"} 
[2026-08-02 13:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127857408001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127857408001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:05:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:05:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:05:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127857408001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":146791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:05:02] local.INFO: GPS data processed {"connection_id":146791,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:05:02] local.INFO: Acknowledgment sent {"connection_id":146791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:05:24] local.INFO: TCP Data received {"connection_id":149124,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:05:24] local.INFO: Processing buffer {"connection_id":149124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:05:24] local.INFO: IMEI packet received {"connection_id":149124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":149124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:05:29] local.INFO: TCP Data received {"connection_id":149124,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:05:29] local.INFO: Processing buffer {"connection_id":149124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:05:29] local.INFO: IMEI packet received {"connection_id":149124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":149124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:05:31] local.INFO: TCP Data received {"connection_id":149124,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:05:31] local.INFO: Processing buffer {"connection_id":149124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:05:31] local.INFO: Packet analysis {"connection_id":149124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:05:31] local.INFO: Extracted packet for processing {"connection_id":149124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:05:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127857408001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785655994000,"timestamp_ms":1785655994000,"timestamp_seconds":1785655994,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1642690"} 
[2026-08-02 13:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127857408001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127857408001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:05:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:05:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127857408001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":149124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:05:31] local.INFO: GPS data processed {"connection_id":149124,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:05:31] local.INFO: Acknowledgment sent {"connection_id":149124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:06:02] local.INFO: TCP Data received {"connection_id":149124,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:06:02] local.INFO: Processing buffer {"connection_id":149124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:06:02] local.INFO: Packet analysis {"connection_id":149124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:06:02] local.INFO: Extracted packet for processing {"connection_id":149124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:06:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127857408001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:06:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785655994000,"timestamp_ms":1785655994000,"timestamp_seconds":1785655994,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1642690"} 
[2026-08-02 13:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127857408001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127857408001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:06:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:06:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:06:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127857408001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":149124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:06:02] local.INFO: GPS data processed {"connection_id":149124,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:06:02] local.INFO: Acknowledgment sent {"connection_id":149124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:06:29] local.INFO: TCP Data received {"connection_id":146792,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:06:29] local.INFO: Processing buffer {"connection_id":146792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:06:29] local.INFO: IMEI packet received {"connection_id":146792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":146792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:06:34] local.INFO: TCP Data received {"connection_id":146792,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:06:34] local.INFO: Processing buffer {"connection_id":146792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:06:34] local.INFO: IMEI packet received {"connection_id":146792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":146792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:06:36] local.INFO: TCP Data received {"connection_id":146792,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:06:36] local.INFO: Processing buffer {"connection_id":146792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:06:36] local.INFO: Packet analysis {"connection_id":146792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:06:36] local.INFO: Extracted packet for processing {"connection_id":146792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127857408001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:06:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785655994000,"timestamp_ms":1785655994000,"timestamp_seconds":1785655994,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1642690"} 
[2026-08-02 13:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127857408001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127857408001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:06:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:06:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:06:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127857408001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":146792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:06:36] local.INFO: GPS data processed {"connection_id":146792,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:06:36] local.INFO: Acknowledgment sent {"connection_id":146792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:06:38] local.INFO: TCP Data received {"connection_id":149126,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:06:38] local.INFO: Processing buffer {"connection_id":149126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:06:38] local.INFO: IMEI packet received {"connection_id":149126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":149126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:06:38] local.INFO: TCP Data received {"connection_id":149126,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1663200012d7c468005e19cb8000c015125..."} 
[2026-08-02 13:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1663200012d7c468005e19cb8000c015125..."} 
[2026-08-02 13:06:39] local.INFO: Processing buffer {"connection_id":149126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1663200012d7c468005e19cb8000c015125..."} 
[2026-08-02 13:06:39] local.INFO: Packet analysis {"connection_id":149126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc166"} 
[2026-08-02 13:06:39] local.INFO: Extracted packet for processing {"connection_id":149126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc166"} 
[2026-08-02 13:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763119232,"raw_latitude":98671800,"longitude_deg":76.3119232,"latitude_deg":9.86718,"altitude":12,"angle":337,"satellites":37,"speed":6,"hex_longitude":"2d7c4680","hex_latitude":"05e19cb8","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127968256001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113788844905594880,"note":"Value kept but may cause issues"} 
[2026-08-02 13:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955126409309435904,"note":"Value kept but may cause issues"} 
[2026-08-02 13:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785656128000,"timestamp_ms":1785656128000,"timestamp_seconds":1785656128,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1663200"} 
[2026-08-02 13:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 13:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13: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-08-02 13:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127968256001,"66":13406,"43":206,"85":15104,"24":6,"16":113788844905594880,"45":8955126409309435904},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-02 13:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127968256001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:06:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-02 13:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113788844905594880,"km_value":113788844905594.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955126409309435904,"description":"Unknown IO ID 45"} 
[2026-08-02 13:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127968256001,"power":13406,"unknown_43":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8955126409309435904}} 
[2026-08-02 13:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":149126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:06:39] local.INFO: GPS data processed {"connection_id":149126,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:06:39] local.INFO: Acknowledgment sent {"connection_id":149126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:06:40] local.INFO: TCP Data received {"connection_id":146792,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:06:40] local.INFO: Processing buffer {"connection_id":146792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:06:40] local.INFO: Packet analysis {"connection_id":146792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:06:40] local.INFO: Extracted packet for processing {"connection_id":146792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:06:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127857408001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785655994000,"timestamp_ms":1785655994000,"timestamp_seconds":1785655994,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1642690"} 
[2026-08-02 13:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:06: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-08-02 13: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-08-02 13:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127857408001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127857408001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:06:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:06:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127857408001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":146792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:06:40] local.INFO: GPS data processed {"connection_id":146792,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:06:40] local.INFO: Acknowledgment sent {"connection_id":146792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:07:10] local.INFO: TCP Data received {"connection_id":149126,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16785d8012d7c3bc005e1e298000b001f25..."} 
[2026-08-02 13:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16785d8012d7c3bc005e1e298000b001f25..."} 
[2026-08-02 13:07:10] local.INFO: Processing buffer {"connection_id":149126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16785d8012d7c3bc005e1e298000b001f25..."} 
[2026-08-02 13:07:10] local.INFO: Packet analysis {"connection_id":149126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc167"} 
[2026-08-02 13:07:10] local.INFO: Extracted packet for processing {"connection_id":149126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc167"} 
[2026-08-02 13:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763116480,"raw_latitude":98689688,"longitude_deg":76.311648,"latitude_deg":9.8689688,"altitude":11,"angle":31,"satellites":37,"speed":20,"hex_longitude":"2d7c3bc0","hex_latitude":"05e1e298","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127990784001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113789819863171072,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951607972105095168,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785656215000,"timestamp_ms":1785656215000,"timestamp_seconds":1785656215,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16785d8"} 
[2026-08-02 13:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 13:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13: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-08-02 13:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":149126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":149126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":149126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127990784001,"66":13472,"43":206,"85":15104,"24":20,"16":113789819863171072,"45":8951607972105095168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-02 13:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127990784001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:07:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-02 13:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113789819863171072,"km_value":113789819863171.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951607972105095168,"description":"Unknown IO ID 45"} 
[2026-08-02 13:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127990784001,"power":13472,"unknown_43":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8951607972105095168}} 
[2026-08-02 13:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":149126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:07:10] local.INFO: GPS data processed {"connection_id":149126,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:07:10] local.INFO: Acknowledgment sent {"connection_id":149126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:07:30] local.INFO: TCP Data received {"connection_id":146584,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:07:30] local.INFO: Processing buffer {"connection_id":146584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:07:30] local.INFO: IMEI packet received {"connection_id":146584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":146584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:07:33] local.INFO: TCP Data received {"connection_id":147813,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:07:33] local.INFO: Processing buffer {"connection_id":147813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:07:33] local.INFO: IMEI packet received {"connection_id":147813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":147813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:07:35] local.INFO: TCP Data received {"connection_id":146584,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:07:35] local.INFO: Processing buffer {"connection_id":146584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:07:35] local.INFO: IMEI packet received {"connection_id":146584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":146584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:07:37] local.INFO: TCP Data received {"connection_id":147813,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:07:37] local.INFO: Processing buffer {"connection_id":147813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:07:37] local.INFO: IMEI packet received {"connection_id":147813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":147813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:07:38] local.INFO: TCP Data received {"connection_id":147813,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc167a130012d7c438005e1eff8000b002c25..."} 
[2026-08-02 13:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc167a130012d7c438005e1eff8000b002c25..."} 
[2026-08-02 13:07:38] local.INFO: Processing buffer {"connection_id":147813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc167a130012d7c438005e1eff8000b002c25..."} 
[2026-08-02 13:07:38] local.INFO: Packet analysis {"connection_id":147813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc167"} 
[2026-08-02 13:07:38] local.INFO: Extracted packet for processing {"connection_id":147813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc167"} 
[2026-08-02 13:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763118464,"raw_latitude":98693112,"longitude_deg":76.3118464,"latitude_deg":9.8693112,"altitude":11,"angle":44,"satellites":37,"speed":20,"hex_longitude":"2d7c4380","hex_latitude":"05e1eff8","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127991040001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113790008841732096,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951959815826085888,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785656222000,"timestamp_ms":1785656222000,"timestamp_seconds":1785656222,"priority":1,"record_length":96,"hex_timestamp":"0000019fc167a130"} 
[2026-08-02 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-08-02 13:07: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-08-02 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 13:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 13:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127991040001,"66":13624,"43":206,"85":15104,"24":20,"16":113790008841732096,"45":8951959815826085888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-02 13:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127991040001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:07:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-02 13:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113790008841732096,"km_value":113790008841732.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951959815826085888,"description":"Unknown IO ID 45"} 
[2026-08-02 13:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127991040001,"power":13624,"unknown_43":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8951959815826085888}} 
[2026-08-02 13:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":147813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:07:38] local.INFO: GPS data processed {"connection_id":147813,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:07:38] local.INFO: Acknowledgment sent {"connection_id":147813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:07:39] local.INFO: TCP Data received {"connection_id":147813,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc167ace8012d7c488005e1f438000b003a25..."} 
[2026-08-02 13:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc167ace8012d7c488005e1f438000b003a25..."} 
[2026-08-02 13:07:39] local.INFO: Processing buffer {"connection_id":147813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc167ace8012d7c488005e1f438000b003a25..."} 
[2026-08-02 13:07:39] local.INFO: Packet analysis {"connection_id":147813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc167"} 
[2026-08-02 13:07:39] local.INFO: Extracted packet for processing {"connection_id":147813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc167"} 
[2026-08-02 13:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763119744,"raw_latitude":98694200,"longitude_deg":76.3119744,"latitude_deg":9.86942,"altitude":11,"angle":58,"satellites":37,"speed":25,"hex_longitude":"2d7c4880","hex_latitude":"05e1f438","is_valid_coordinates":true} 
[2026-08-02 13:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127992832001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113790094741078016,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954141246896470016,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785656225000,"timestamp_ms":1785656225000,"timestamp_seconds":1785656225,"priority":1,"record_length":96,"hex_timestamp":"0000019fc167ace8"} 
[2026-08-02 13:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-02 13:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127992832001,"66":13526,"43":206,"85":15104,"24":25,"16":113790094741078016,"45":8954141246896470016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-02 13:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127992832001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:07:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-02 13:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113790094741078016,"km_value":113790094741078.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954141246896470016,"description":"Unknown IO ID 45"} 
[2026-08-02 13:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127992832001,"power":13526,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8954141246896470016}} 
[2026-08-02 13:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":147813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:07:39] local.INFO: GPS data processed {"connection_id":147813,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:07:39] local.INFO: Acknowledgment sent {"connection_id":147813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:07:39] local.INFO: TCP Data received {"connection_id":146584,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:07:39] local.INFO: Processing buffer {"connection_id":146584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:07:39] local.INFO: IMEI packet received {"connection_id":146584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":146584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:07:48] local.INFO: TCP Data received {"connection_id":146584,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:07:48] local.INFO: Processing buffer {"connection_id":146584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:07:48] local.INFO: Packet analysis {"connection_id":146584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:07:48] local.INFO: Extracted packet for processing {"connection_id":146584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:07:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127857408001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785655994000,"timestamp_ms":1785655994000,"timestamp_seconds":1785655994,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1642690"} 
[2026-08-02 13:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:07: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-08-02 13:07: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-08-02 13:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127857408001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127857408001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:07:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:07:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:07:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127857408001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":146584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:07:48] local.INFO: GPS data processed {"connection_id":146584,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:07:48] local.INFO: Acknowledgment sent {"connection_id":146584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:07:49] local.INFO: TCP Data received {"connection_id":146584,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:07:49] local.INFO: Processing buffer {"connection_id":146584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:07:49] local.INFO: Packet analysis {"connection_id":146584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:07:49] local.INFO: Extracted packet for processing {"connection_id":146584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:07:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127857408001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785655994000,"timestamp_ms":1785655994000,"timestamp_seconds":1785655994,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1642690"} 
[2026-08-02 13:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127857408001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127857408001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:07:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:07:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:07:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127857408001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":146584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:07:49] local.INFO: GPS data processed {"connection_id":146584,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:07:49] local.INFO: Acknowledgment sent {"connection_id":146584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:07:50] local.INFO: TCP Data received {"connection_id":146584,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:07:50] local.INFO: Processing buffer {"connection_id":146584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:07:50] local.INFO: Packet analysis {"connection_id":146584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:07:50] local.INFO: Extracted packet for processing {"connection_id":146584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:07:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127857408001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785655994000,"timestamp_ms":1785655994000,"timestamp_seconds":1785655994,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1642690"} 
[2026-08-02 13:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127857408001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127857408001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:07:50] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:07:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:07:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127857408001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":146584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:07:50] local.INFO: GPS data processed {"connection_id":146584,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:07:50] local.INFO: Acknowledgment sent {"connection_id":146584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:08:10] local.INFO: TCP Data received {"connection_id":147813,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc167bc88012d7c518005e1fae0000b002b25..."} 
[2026-08-02 13:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc167bc88012d7c518005e1fae0000b002b25..."} 
[2026-08-02 13:08:10] local.INFO: Processing buffer {"connection_id":147813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc167bc88012d7c518005e1fae0000b002b25..."} 
[2026-08-02 13:08:10] local.INFO: Packet analysis {"connection_id":147813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc167"} 
[2026-08-02 13:08:10] local.INFO: Extracted packet for processing {"connection_id":147813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc167"} 
[2026-08-02 13:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763122048,"raw_latitude":98695904,"longitude_deg":76.3122048,"latitude_deg":9.8695904,"altitude":11,"angle":43,"satellites":37,"speed":26,"hex_longitude":"2d7c5180","hex_latitude":"05e1fae0","is_valid_coordinates":true} 
[2026-08-02 13:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127993600001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113790232180031488,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955548621780301824,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785656229000,"timestamp_ms":1785656229000,"timestamp_seconds":1785656229,"priority":1,"record_length":96,"hex_timestamp":"0000019fc167bc88"} 
[2026-08-02 13:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 13:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127993600001,"66":13319,"43":206,"85":15104,"24":26,"16":113790232180031488,"45":8955548621780301824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-02 13:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127993600001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:08:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-02 13:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113790232180031488,"km_value":113790232180031.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955548621780301824,"description":"Unknown IO ID 45"} 
[2026-08-02 13:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127993600001,"power":13319,"unknown_43":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8955548621780301824}} 
[2026-08-02 13:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":147813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:08:10] local.INFO: GPS data processed {"connection_id":147813,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:08:10] local.INFO: Acknowledgment sent {"connection_id":147813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:08:24] local.INFO: TCP Data received {"connection_id":149127,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:08:24] local.INFO: Processing buffer {"connection_id":149127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:08:24] local.INFO: IMEI packet received {"connection_id":149127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":149127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:08:28] local.INFO: TCP Data received {"connection_id":149128,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:08:28] local.INFO: Processing buffer {"connection_id":149128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:08:28] local.INFO: IMEI packet received {"connection_id":149128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":149128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:08:29] local.INFO: TCP Data received {"connection_id":149127,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:08:29] local.INFO: Processing buffer {"connection_id":149127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:08:29] local.INFO: IMEI packet received {"connection_id":149127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":149127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:08:31] local.INFO: TCP Data received {"connection_id":149127,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:08:31] local.INFO: Processing buffer {"connection_id":149127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1642690012cc330c007685958005800c52e..."} 
[2026-08-02 13:08:31] local.INFO: Packet analysis {"connection_id":149127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:08:31] local.INFO: Extracted packet for processing {"connection_id":149127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc164"} 
[2026-08-02 13:08:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127857408001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785655994000,"timestamp_ms":1785655994000,"timestamp_seconds":1785655994,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1642690"} 
[2026-08-02 13:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127857408001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127857408001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:08:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:08:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:08:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127857408001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":149127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:08:31] local.INFO: GPS data processed {"connection_id":149127,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:08:31] local.INFO: Acknowledgment sent {"connection_id":149127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:08:31] local.INFO: TCP Data received {"connection_id":149128,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:08:31] local.INFO: Processing buffer {"connection_id":149128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:08:31] local.INFO: IMEI packet received {"connection_id":149128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":149128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:08:32] local.INFO: TCP Data received {"connection_id":149128,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc167c840012d7c560005e20140000b001f25..."} 
[2026-08-02 13:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc167c840012d7c560005e20140000b001f25..."} 
[2026-08-02 13:08:32] local.INFO: Processing buffer {"connection_id":149128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc167c840012d7c560005e20140000b001f25..."} 
[2026-08-02 13:08:32] local.INFO: Packet analysis {"connection_id":149128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc167"} 
[2026-08-02 13:08:32] local.INFO: Extracted packet for processing {"connection_id":149128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc167"} 
[2026-08-02 13:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763123200,"raw_latitude":98697536,"longitude_deg":76.31232,"latitude_deg":9.8697536,"altitude":11,"angle":31,"satellites":37,"speed":26,"hex_longitude":"2d7c5600","hex_latitude":"05e20140","is_valid_coordinates":true} 
[2026-08-02 13:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127994624001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113790326669312000,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958081896571133952,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785656232000,"timestamp_ms":1785656232000,"timestamp_seconds":1785656232,"priority":1,"record_length":96,"hex_timestamp":"0000019fc167c840"} 
[2026-08-02 13:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 13:08:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3244782160,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:32] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-2542281946699651840,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-08-02 13:08:32] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2147869150,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3789393920,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:32] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57788316829766971,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:32] local.WARNING: Large IO value detected {"io_id":103,"raw_value":7955610036618985477,"note":"Value kept but may cause issues"} 
[2026-08-02 13:08:32] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,43,85,24,241,157,16,67,159,172,45,128,244,11,37,10,66,161,239,133,192,1,240,160,227,193,225,4,113,205,17,118,54,88,52,2,148,5,116,103],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-08-02 13:08:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792680972332695552,"timestamp_seconds":792680972332695.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 13:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127994624001,"66":13406,"43":206,"85":15104,"24":26,"16":113790326669312000,"45":8958081896571133952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-02 13:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127994624001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:08:32] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-02 13:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113790326669312000,"km_value":113790326669312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958081896571133952,"description":"Unknown IO ID 45"} 
[2026-08-02 13:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127994624001,"power":13406,"unknown_43":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8958081896571133952}} 
[2026-08-02 13:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":149128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:08:32] local.INFO: GPS data processed {"connection_id":149128,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:08:32] local.INFO: Acknowledgment sent {"connection_id":149128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:09:02] local.INFO: TCP Data received {"connection_id":149127,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:09:02] local.INFO: Processing buffer {"connection_id":149127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:09:02] local.INFO: Packet analysis {"connection_id":149127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:09:02] local.INFO: Extracted packet for processing {"connection_id":149127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:09:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127934464001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785656295000,"timestamp_ms":1785656295000,"timestamp_seconds":1785656295,"priority":1,"record_length":96,"hex_timestamp":"0000019fc168be58"} 
[2026-08-02 13:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127934464001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127934464001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:09:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:09:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:09:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127934464001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":149127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:09:02] local.INFO: GPS data processed {"connection_id":149127,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:09:02] local.INFO: Acknowledgment sent {"connection_id":149127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:09:03] local.INFO: TCP Data received {"connection_id":149128,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1691448012d7d4b4005e207e0000c005e26..."} 
[2026-08-02 13:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1691448012d7d4b4005e207e0000c005e26..."} 
[2026-08-02 13:09:03] local.INFO: Processing buffer {"connection_id":149128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1691448012d7d4b4005e207e0000c005e26..."} 
[2026-08-02 13:09:03] local.INFO: Packet analysis {"connection_id":149128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc169"} 
[2026-08-02 13:09:03] local.INFO: Extracted packet for processing {"connection_id":149128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc169"} 
[2026-08-02 13:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763185984,"raw_latitude":98699232,"longitude_deg":76.3185984,"latitude_deg":9.8699232,"altitude":12,"angle":94,"satellites":38,"speed":42,"hex_longitude":"2d7d4b40","hex_latitude":"05e207e0","is_valid_coordinates":true} 
[2026-08-02 13:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128015104001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113793487765241856,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458279076612096,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785656317000,"timestamp_ms":1785656317000,"timestamp_seconds":1785656317,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1691448"} 
[2026-08-02 13:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-02 13:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128015104001,"66":13580,"61":206,"85":15104,"24":42,"16":113793487765241856,"45":9018458279076612096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 13:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128015104001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:09:03] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 13:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113793487765241856,"km_value":113793487765241.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458279076612096,"description":"Unknown IO ID 45"} 
[2026-08-02 13:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128015104001,"power":13580,"unknown_61":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9018458279076612096}} 
[2026-08-02 13:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":149128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:09:03] local.INFO: GPS data processed {"connection_id":149128,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:09:03] local.INFO: Acknowledgment sent {"connection_id":149128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:09:24] local.INFO: TCP Data received {"connection_id":147814,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:09:24] local.INFO: Processing buffer {"connection_id":147814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:09:24] local.INFO: IMEI packet received {"connection_id":147814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":147814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:09:28] local.INFO: TCP Data received {"connection_id":146585,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:09:28] local.INFO: Processing buffer {"connection_id":146585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:09:28] local.INFO: IMEI packet received {"connection_id":146585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":146585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:09:31] local.INFO: TCP Data received {"connection_id":146585,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:09:31] local.INFO: Processing buffer {"connection_id":146585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:09:31] local.INFO: IMEI packet received {"connection_id":146585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":146585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:09:32] local.INFO: TCP Data received {"connection_id":146585,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1693770012d7d6f4005e204e0000a005e26..."} 
[2026-08-02 13:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1693770012d7d6f4005e204e0000a005e26..."} 
[2026-08-02 13:09:32] local.INFO: Processing buffer {"connection_id":146585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1693770012d7d6f4005e204e0000a005e26..."} 
[2026-08-02 13:09:32] local.INFO: Packet analysis {"connection_id":146585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc169"} 
[2026-08-02 13:09:32] local.INFO: Extracted packet for processing {"connection_id":146585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc169"} 
[2026-08-02 13:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763195200,"raw_latitude":98698464,"longitude_deg":76.31952,"latitude_deg":9.8698464,"altitude":10,"angle":94,"satellites":38,"speed":39,"hex_longitude":"2d7d6f40","hex_latitude":"05e204e0","is_valid_coordinates":true} 
[2026-08-02 13:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128017152001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113793930146873344,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028380272005472256,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785656326000,"timestamp_ms":1785656326000,"timestamp_seconds":1785656326,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1693770"} 
[2026-08-02 13:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617092,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3244827160,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":69,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7762929224586887168,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145773611,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2147869192,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":51,"raw_value":4060138830,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792508928,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":124,"raw_value":8178543391862161421,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504628893878111829,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755558354977009,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:32] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,61,85,24,241,157,16,70,159,245,45,10,11,37,66,43,198,64,14,9,69,163,128,1,240,29,227,193,226,4,113,205,34,73,184,80,36,239,51,2,148,5,39,124,52,59],"length":577,"final_offset":707,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-08-02 13:09:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864794645759655936,"timestamp_seconds":864794645759655.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 13:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":146585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":146585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":146585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128017152001,"66":13613,"61":206,"85":15104,"24":39,"16":113793930146873344,"45":9028380272005472256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 13:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128017152001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:09:32] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 13:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113793930146873344,"km_value":113793930146873.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028380272005472256,"description":"Unknown IO ID 45"} 
[2026-08-02 13:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128017152001,"power":13613,"unknown_61":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9028380272005472256}} 
[2026-08-02 13:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":146585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:09:32] local.INFO: GPS data processed {"connection_id":146585,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:09:32] local.INFO: Acknowledgment sent {"connection_id":146585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:09:32] local.INFO: TCP Data received {"connection_id":147814,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:09:32] local.INFO: Processing buffer {"connection_id":147814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:09:32] local.INFO: IMEI packet received {"connection_id":147814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":147814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:09:33] local.INFO: TCP Data received {"connection_id":147814,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:09:33] local.INFO: Processing buffer {"connection_id":147814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:09:33] local.INFO: Packet analysis {"connection_id":147814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:09:33] local.INFO: Extracted packet for processing {"connection_id":147814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:09:33] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127934464001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785656295000,"timestamp_ms":1785656295000,"timestamp_seconds":1785656295,"priority":1,"record_length":96,"hex_timestamp":"0000019fc168be58"} 
[2026-08-02 13:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127934464001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127934464001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:09:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:09:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:09:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127934464001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":147814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:09:33] local.INFO: GPS data processed {"connection_id":147814,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:09:33] local.INFO: Acknowledgment sent {"connection_id":147814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:10:02] local.INFO: TCP Data received {"connection_id":146585,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1695e80012d7d95c005e201b80007005f27..."} 
[2026-08-02 13:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1695e80012d7d95c005e201b80007005f27..."} 
[2026-08-02 13:10:02] local.INFO: Processing buffer {"connection_id":146585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1695e80012d7d95c005e201b80007005f27..."} 
[2026-08-02 13:10:02] local.INFO: Packet analysis {"connection_id":146585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc169"} 
[2026-08-02 13:10:02] local.INFO: Extracted packet for processing {"connection_id":146585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc169"} 
[2026-08-02 13:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763205056,"raw_latitude":98697656,"longitude_deg":76.3205056,"latitude_deg":9.8697656,"altitude":7,"angle":95,"satellites":39,"speed":33,"hex_longitude":"2d7d95c0","hex_latitude":"05e201b8","is_valid_coordinates":true} 
[2026-08-02 13:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128019456001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113794402593275904,"note":"Value kept but may cause issues"} 
[2026-08-02 13:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9038513371166859264,"note":"Value kept but may cause issues"} 
[2026-08-02 13:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785656336000,"timestamp_ms":1785656336000,"timestamp_seconds":1785656336,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1695e80"} 
[2026-08-02 13:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-02 13:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128019456001,"66":13515,"61":206,"85":15104,"24":33,"16":113794402593275904,"45":9038513371166859264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 13:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128019456001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:10:02] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 13:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113794402593275904,"km_value":113794402593275.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9038513371166859264,"description":"Unknown IO ID 45"} 
[2026-08-02 13:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128019456001,"power":13515,"unknown_61":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9038513371166859264}} 
[2026-08-02 13:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":146585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:10:02] local.INFO: GPS data processed {"connection_id":146585,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:10:02] local.INFO: Acknowledgment sent {"connection_id":146585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:10:05] local.INFO: TCP Data received {"connection_id":147814,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:10:05] local.INFO: Processing buffer {"connection_id":147814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:10:05] local.INFO: Packet analysis {"connection_id":147814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:10:05] local.INFO: Extracted packet for processing {"connection_id":147814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:10:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127934464001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:10:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785656295000,"timestamp_ms":1785656295000,"timestamp_seconds":1785656295,"priority":1,"record_length":96,"hex_timestamp":"0000019fc168be58"} 
[2026-08-02 13:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127934464001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127934464001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:10:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:10:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:10:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127934464001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":147814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:10:05] local.INFO: GPS data processed {"connection_id":147814,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:10:05] local.INFO: Acknowledgment sent {"connection_id":147814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:10:28] local.INFO: TCP Data received {"connection_id":149129,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:10:28] local.INFO: Processing buffer {"connection_id":149129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:10:28] local.INFO: IMEI packet received {"connection_id":149129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":149129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:10:29] local.INFO: TCP Data received {"connection_id":147815,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:10:29] local.INFO: Processing buffer {"connection_id":147815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:10:29] local.INFO: IMEI packet received {"connection_id":147815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":147815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:10:32] local.INFO: TCP Data received {"connection_id":149129,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:10:32] local.INFO: Processing buffer {"connection_id":149129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:10:32] local.INFO: IMEI packet received {"connection_id":149129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":149129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:10:33] local.INFO: TCP Data received {"connection_id":149129,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1699148012d7dba0005e1fdd80005006027..."} 
[2026-08-02 13:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1699148012d7dba0005e1fdd80005006027..."} 
[2026-08-02 13:10:33] local.INFO: Processing buffer {"connection_id":149129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1699148012d7dba0005e1fdd80005006027..."} 
[2026-08-02 13:10:33] local.INFO: Packet analysis {"connection_id":149129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc169"} 
[2026-08-02 13:10:33] local.INFO: Extracted packet for processing {"connection_id":149129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc169"} 
[2026-08-02 13:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763214336,"raw_latitude":98696664,"longitude_deg":76.3214336,"latitude_deg":9.8696664,"altitude":5,"angle":96,"satellites":39,"speed":30,"hex_longitude":"2d7dba00","hex_latitude":"05e1fdd8","is_valid_coordinates":true} 
[2026-08-02 13:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128022016001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113794849269874688,"note":"Value kept but may cause issues"} 
[2026-08-02 13:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9049350157770012672,"note":"Value kept but may cause issues"} 
[2026-08-02 13:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785656349000,"timestamp_ms":1785656349000,"timestamp_seconds":1785656349,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1699148"} 
[2026-08-02 13:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 13:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128022016001,"66":13602,"61":206,"85":15104,"24":30,"16":113794849269874688,"45":9049350157770012672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 13:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128022016001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:10:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 13:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113794849269874688,"km_value":113794849269874.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9049350157770012672,"description":"Unknown IO ID 45"} 
[2026-08-02 13:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128022016001,"power":13602,"unknown_61":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9049350157770012672}} 
[2026-08-02 13:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":149129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:10:33] local.INFO: GPS data processed {"connection_id":149129,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:10:33] local.INFO: Acknowledgment sent {"connection_id":149129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:10:34] local.INFO: TCP Data received {"connection_id":147815,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:10:34] local.INFO: Processing buffer {"connection_id":147815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:10:34] local.INFO: IMEI packet received {"connection_id":147815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":147815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:10:36] local.INFO: TCP Data received {"connection_id":147815,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:10:36] local.INFO: Processing buffer {"connection_id":147815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:10:36] local.INFO: Packet analysis {"connection_id":147815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:10:36] local.INFO: Extracted packet for processing {"connection_id":147815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:10:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127934464001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:10:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785656295000,"timestamp_ms":1785656295000,"timestamp_seconds":1785656295,"priority":1,"record_length":96,"hex_timestamp":"0000019fc168be58"} 
[2026-08-02 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-08-02 13:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 13:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127934464001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127934464001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:10:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:10:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127934464001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":147815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:10:36] local.INFO: GPS data processed {"connection_id":147815,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:10:36] local.INFO: Acknowledgment sent {"connection_id":147815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:11:04] local.INFO: TCP Data received {"connection_id":149129,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16b1bd0012d7e57c005e20b880006003228..."} 
[2026-08-02 13:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16b1bd0012d7e57c005e20b880006003228..."} 
[2026-08-02 13:11:04] local.INFO: Processing buffer {"connection_id":149129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16b1bd0012d7e57c005e20b880006003228..."} 
[2026-08-02 13:11:04] local.INFO: Packet analysis {"connection_id":149129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16b"} 
[2026-08-02 13:11:04] local.INFO: Extracted packet for processing {"connection_id":149129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16b"} 
[2026-08-02 13:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763254720,"raw_latitude":98700168,"longitude_deg":76.325472,"latitude_deg":9.8700168,"altitude":6,"angle":50,"satellites":40,"speed":6,"hex_longitude":"2d7e57c0","hex_latitude":"05e20b88","is_valid_coordinates":true} 
[2026-08-02 13:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128046080001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113796859314569216,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101915609671239680,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785656450000,"timestamp_ms":1785656450000,"timestamp_seconds":1785656450,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16b1bd0"} 
[2026-08-02 13:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 13:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128046080001,"66":13526,"59":206,"85":15104,"24":6,"16":113796859314569216,"45":9101915609671239680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-02 13:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128046080001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:11:04] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 13:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113796859314569216,"km_value":113796859314569.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101915609671239680,"description":"Unknown IO ID 45"} 
[2026-08-02 13:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128046080001,"power":13526,"unknown_59":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9101915609671239680}} 
[2026-08-02 13:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":149129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:11:04] local.INFO: GPS data processed {"connection_id":149129,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:11:04] local.INFO: Acknowledgment sent {"connection_id":149129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:11:10] local.INFO: TCP Data received {"connection_id":147815,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:11:10] local.INFO: Processing buffer {"connection_id":147815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:11:10] local.INFO: Packet analysis {"connection_id":147815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:11:10] local.INFO: Extracted packet for processing {"connection_id":147815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:11:10] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127934464001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785656295000,"timestamp_ms":1785656295000,"timestamp_seconds":1785656295,"priority":1,"record_length":96,"hex_timestamp":"0000019fc168be58"} 
[2026-08-02 13:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13: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-08-02 13:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127934464001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127934464001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:11:10] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:11:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127934464001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":147815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:11:10] local.INFO: GPS data processed {"connection_id":147815,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:11:10] local.INFO: Acknowledgment sent {"connection_id":147815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:11:28] local.INFO: TCP Data received {"connection_id":146587,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:11:28] local.INFO: Processing buffer {"connection_id":146587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:11:28] local.INFO: IMEI packet received {"connection_id":146587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":146587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:11:30] local.INFO: TCP Data received {"connection_id":146586,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:11:30] local.INFO: Processing buffer {"connection_id":146586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:11:30] local.INFO: IMEI packet received {"connection_id":146586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":146586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:11:33] local.INFO: TCP Data received {"connection_id":146587,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:11:33] local.INFO: Processing buffer {"connection_id":146587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:11:33] local.INFO: IMEI packet received {"connection_id":146587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":146587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:11:34] local.INFO: TCP Data received {"connection_id":146587,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16b1fb8012d7e584005e20be80006003f28..."} 
[2026-08-02 13:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16b1fb8012d7e584005e20be80006003f28..."} 
[2026-08-02 13:11:34] local.INFO: Processing buffer {"connection_id":146587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16b1fb8012d7e584005e20be80006003f28..."} 
[2026-08-02 13:11:34] local.INFO: Packet analysis {"connection_id":146587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16b"} 
[2026-08-02 13:11:34] local.INFO: Extracted packet for processing {"connection_id":146587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16b"} 
[2026-08-02 13:11:34] local.INFO: GPS Element Parsed {"raw_longitude":763254848,"raw_latitude":98700264,"longitude_deg":76.3254848,"latitude_deg":9.8700264,"altitude":6,"angle":63,"satellites":40,"speed":7,"hex_longitude":"2d7e5840","hex_latitude":"05e20be8","is_valid_coordinates":true} 
[2026-08-02 13:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128051200001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113796867904503808,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103956303252523008,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785656451000,"timestamp_ms":1785656451000,"timestamp_seconds":1785656451,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16b1fb8"} 
[2026-08-02 13:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:11: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-08-02 13: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 13:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128051200001,"66":13526,"59":206,"85":15104,"24":7,"16":113796867904503808,"45":9103956303252523008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-02 13:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128051200001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:11:34] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 13:11:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113796867904503808,"km_value":113796867904503.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103956303252523008,"description":"Unknown IO ID 45"} 
[2026-08-02 13:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128051200001,"power":13526,"unknown_59":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9103956303252523008}} 
[2026-08-02 13:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":146587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:11:34] local.INFO: GPS data processed {"connection_id":146587,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:11:34] local.INFO: Acknowledgment sent {"connection_id":146587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:11:37] local.INFO: TCP Data received {"connection_id":146586,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:11:37] local.INFO: Processing buffer {"connection_id":146586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:11:37] local.INFO: IMEI packet received {"connection_id":146586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":146586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:11:39] local.INFO: TCP Data received {"connection_id":146586,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:11:39] local.INFO: Processing buffer {"connection_id":146586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:11:39] local.INFO: IMEI packet received {"connection_id":146586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":146586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:11:49] local.INFO: TCP Data received {"connection_id":146586,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:11:49] local.INFO: Processing buffer {"connection_id":146586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:11:49] local.INFO: Packet analysis {"connection_id":146586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:11:49] local.INFO: Extracted packet for processing {"connection_id":146586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:11:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127934464001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785656295000,"timestamp_ms":1785656295000,"timestamp_seconds":1785656295,"priority":1,"record_length":96,"hex_timestamp":"0000019fc168be58"} 
[2026-08-02 13:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127934464001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127934464001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:11:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:11:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:11:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127934464001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":146586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:11:49] local.INFO: GPS data processed {"connection_id":146586,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:11:49] local.INFO: Acknowledgment sent {"connection_id":146586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:11:50] local.INFO: TCP Data received {"connection_id":146586,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:11:50] local.INFO: Processing buffer {"connection_id":146586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:11:50] local.INFO: Packet analysis {"connection_id":146586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:11:50] local.INFO: Extracted packet for processing {"connection_id":146586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:11:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127934464001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785656295000,"timestamp_ms":1785656295000,"timestamp_seconds":1785656295,"priority":1,"record_length":96,"hex_timestamp":"0000019fc168be58"} 
[2026-08-02 13:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127934464001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127934464001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:11:50] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:11:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:11:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127934464001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":146586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:11:50] local.INFO: GPS data processed {"connection_id":146586,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:11:50] local.INFO: Acknowledgment sent {"connection_id":146586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:12:05] local.INFO: TCP Data received {"connection_id":146587,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16b2788012d7e598005e20c400006004d27..."} 
[2026-08-02 13:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16b2788012d7e598005e20c400006004d27..."} 
[2026-08-02 13:12:05] local.INFO: Processing buffer {"connection_id":146587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16b2788012d7e598005e20c400006004d27..."} 
[2026-08-02 13:12:05] local.INFO: Packet analysis {"connection_id":146587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16b"} 
[2026-08-02 13:12:05] local.INFO: Extracted packet for processing {"connection_id":146587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16b"} 
[2026-08-02 13:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763255168,"raw_latitude":98700352,"longitude_deg":76.3255168,"latitude_deg":9.8700352,"altitude":6,"angle":77,"satellites":39,"speed":5,"hex_longitude":"2d7e5980","hex_latitude":"05e20c40","is_valid_coordinates":true} 
[2026-08-02 13:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128051456001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113796885084372992,"note":"Value kept but may cause issues"} 
[2026-08-02 13:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104097040740902912,"note":"Value kept but may cause issues"} 
[2026-08-02 13:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785656453000,"timestamp_ms":1785656453000,"timestamp_seconds":1785656453,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16b2788"} 
[2026-08-02 13:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:12: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-08-02 13: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 13:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128051456001,"66":13406,"59":206,"85":15104,"24":5,"16":113796885084372992,"45":9104097040740902912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-02 13:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128051456001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:12:05] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 13:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113796885084372992,"km_value":113796885084372.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104097040740902912,"description":"Unknown IO ID 45"} 
[2026-08-02 13:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128051456001,"power":13406,"unknown_59":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9104097040740902912}} 
[2026-08-02 13:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":146587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:12:05] local.INFO: GPS data processed {"connection_id":146587,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:12:05] local.INFO: Acknowledgment sent {"connection_id":146587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:12:27] local.INFO: TCP Data received {"connection_id":147816,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:12:27] local.INFO: Processing buffer {"connection_id":147816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:12:27] local.INFO: IMEI packet received {"connection_id":147816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":147816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:12:33] local.INFO: TCP Data received {"connection_id":147816,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:12:33] local.INFO: Processing buffer {"connection_id":147816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:12:33] local.INFO: IMEI packet received {"connection_id":147816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":147816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:12:34] local.INFO: TCP Data received {"connection_id":147816,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16b75a8012d7e57c005e20ca80005004d28..."} 
[2026-08-02 13:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16b75a8012d7e57c005e20ca80005004d28..."} 
[2026-08-02 13:12:34] local.INFO: Processing buffer {"connection_id":147816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16b75a8012d7e57c005e20ca80005004d28..."} 
[2026-08-02 13:12:34] local.INFO: Packet analysis {"connection_id":147816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16b"} 
[2026-08-02 13:12:34] local.INFO: Extracted packet for processing {"connection_id":147816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16b"} 
[2026-08-02 13:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763254720,"raw_latitude":98700456,"longitude_deg":76.325472,"latitude_deg":9.8700456,"altitude":5,"angle":77,"satellites":40,"speed":1,"hex_longitude":"2d7e57c0","hex_latitude":"05e20ca8","is_valid_coordinates":true} 
[2026-08-02 13:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128051968001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113796936623980544,"note":"Value kept but may cause issues"} 
[2026-08-02 13:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104448884461813760,"note":"Value kept but may cause issues"} 
[2026-08-02 13:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785656473000,"timestamp_ms":1785656473000,"timestamp_seconds":1785656473,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16b75a8"} 
[2026-08-02 13:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:12: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-08-02 13:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 13:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128051968001,"66":13461,"59":206,"85":15104,"24":1,"16":113796936623980544,"45":9104448884461813760},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-02 13:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128051968001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:12:34] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 13:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113796936623980544,"km_value":113796936623980.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104448884461813760,"description":"Unknown IO ID 45"} 
[2026-08-02 13:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128051968001,"power":13461,"unknown_59":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9104448884461813760}} 
[2026-08-02 13:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":147816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:12:34] local.INFO: GPS data processed {"connection_id":147816,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:12:34] local.INFO: Acknowledgment sent {"connection_id":147816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:12:55] local.INFO: TCP Data received {"connection_id":149130,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:12:55] local.INFO: Processing buffer {"connection_id":149130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:12:55] local.INFO: IMEI packet received {"connection_id":149130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":149130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:13:05] local.INFO: TCP Data received {"connection_id":147816,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16bc7b0012d7e57c005e20bb00005004d28..."} 
[2026-08-02 13:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16bc7b0012d7e57c005e20bb00005004d28..."} 
[2026-08-02 13:13:05] local.INFO: Processing buffer {"connection_id":147816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16bc7b0012d7e57c005e20bb00005004d28..."} 
[2026-08-02 13:13:05] local.INFO: Packet analysis {"connection_id":147816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16b"} 
[2026-08-02 13:13:05] local.INFO: Extracted packet for processing {"connection_id":147816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16b"} 
[2026-08-02 13:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763254720,"raw_latitude":98700208,"longitude_deg":76.325472,"latitude_deg":9.8700208,"altitude":5,"angle":77,"satellites":40,"speed":0,"hex_longitude":"2d7e57c0","hex_latitude":"05e20bb0","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128057088001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113796962393784320,"note":"Value kept but may cause issues"} 
[2026-08-02 13:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103956303252596736,"note":"Value kept but may cause issues"} 
[2026-08-02 13:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785656494000,"timestamp_ms":1785656494000,"timestamp_seconds":1785656494,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16bc7b0"} 
[2026-08-02 13:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:13: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-08-02 13: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-02 13:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13: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-08-02 13:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128057088001,"66":13493,"59":206,"85":15104,"24":0,"16":113796962393784320,"45":9103956303252596736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-02 13:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128057088001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:13:05] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 13:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113796962393784320,"km_value":113796962393784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103956303252596736,"description":"Unknown IO ID 45"} 
[2026-08-02 13:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128057088001,"power":13493,"unknown_59":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9103956303252596736}} 
[2026-08-02 13:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":147816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:13:05] local.INFO: GPS data processed {"connection_id":147816,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:13:05] local.INFO: Acknowledgment sent {"connection_id":147816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:13:11] local.INFO: TCP Data received {"connection_id":149130,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:13:11] local.INFO: Processing buffer {"connection_id":149130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:13:11] local.INFO: IMEI packet received {"connection_id":149130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":149130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:13:27] local.INFO: TCP Data received {"connection_id":146793,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:13:27] local.INFO: Processing buffer {"connection_id":146793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:13:27] local.INFO: IMEI packet received {"connection_id":146793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":146793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:13:29] local.INFO: TCP Data received {"connection_id":149131,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:13:29] local.INFO: Processing buffer {"connection_id":149131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:13:29] local.INFO: IMEI packet received {"connection_id":149131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":149131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:13:33] local.INFO: TCP Data received {"connection_id":146793,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:13:33] local.INFO: Processing buffer {"connection_id":146793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:13:33] local.INFO: IMEI packet received {"connection_id":146793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":146793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:13:33] local.INFO: TCP Data received {"connection_id":146793,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16c19b8012d7e554005e209000006004d29..."} 
[2026-08-02 13:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16c19b8012d7e554005e209000006004d29..."} 
[2026-08-02 13:13:33] local.INFO: Processing buffer {"connection_id":146793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16c19b8012d7e554005e209000006004d29..."} 
[2026-08-02 13:13:33] local.INFO: Packet analysis {"connection_id":146793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16c"} 
[2026-08-02 13:13:33] local.INFO: Extracted packet for processing {"connection_id":146793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16c"} 
[2026-08-02 13:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763254080,"raw_latitude":98699520,"longitude_deg":76.325408,"latitude_deg":9.869952,"altitude":6,"angle":77,"satellites":41,"speed":0,"hex_longitude":"2d7e5540","hex_latitude":"05e20900","is_valid_coordinates":true} 
[2026-08-02 13:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128062464001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113797009638424576,"note":"Value kept but may cause issues"} 
[2026-08-02 13:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103956303252533248,"note":"Value kept but may cause issues"} 
[2026-08-02 13:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785656515000,"timestamp_ms":1785656515000,"timestamp_seconds":1785656515,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16c19b8"} 
[2026-08-02 13:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 13:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128062464001,"66":13254,"59":206,"85":15104,"24":0,"16":113797009638424576,"45":9103956303252533248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-02 13:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128062464001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:13:34] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 13:13:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113797009638424576,"km_value":113797009638424.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103956303252533248,"description":"Unknown IO ID 45"} 
[2026-08-02 13:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128062464001,"power":13254,"unknown_59":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9103956303252533248}} 
[2026-08-02 13:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":146793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:13:34] local.INFO: GPS data processed {"connection_id":146793,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:13:34] local.INFO: Acknowledgment sent {"connection_id":146793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:13:35] local.INFO: TCP Data received {"connection_id":149131,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:13:35] local.INFO: Processing buffer {"connection_id":149131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:13:35] local.INFO: IMEI packet received {"connection_id":149131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":149131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:13:36] local.INFO: TCP Data received {"connection_id":149131,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:13:36] local.INFO: Processing buffer {"connection_id":149131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:13:36] local.INFO: Packet analysis {"connection_id":149131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:13:36] local.INFO: Extracted packet for processing {"connection_id":149131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:13:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127934464001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:13:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785656295000,"timestamp_ms":1785656295000,"timestamp_seconds":1785656295,"priority":1,"record_length":96,"hex_timestamp":"0000019fc168be58"} 
[2026-08-02 13:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127934464001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127934464001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:13:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:13:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:13:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127934464001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":149131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:13:36] local.INFO: GPS data processed {"connection_id":149131,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:13:36] local.INFO: Acknowledgment sent {"connection_id":149131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:13:50] local.INFO: TCP Data received {"connection_id":149131,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:13:50] local.INFO: Processing buffer {"connection_id":149131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc168be58012cc330c007685958005800c52d..."} 
[2026-08-02 13:13:50] local.INFO: Packet analysis {"connection_id":149131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:13:50] local.INFO: Extracted packet for processing {"connection_id":149131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc168"} 
[2026-08-02 13:13:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457127934464001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785656295000,"timestamp_ms":1785656295000,"timestamp_seconds":1785656295,"priority":1,"record_length":96,"hex_timestamp":"0000019fc168be58"} 
[2026-08-02 13:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457127934464001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457127934464001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:13:50] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:13:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457127934464001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":149131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:13:50] local.INFO: GPS data processed {"connection_id":149131,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:13:50] local.INFO: Acknowledgment sent {"connection_id":149131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:14:05] local.INFO: TCP Data received {"connection_id":146793,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16c6bc0012d7e554005e209000006004d29..."} 
[2026-08-02 13:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16c6bc0012d7e554005e209000006004d29..."} 
[2026-08-02 13:14:05] local.INFO: Processing buffer {"connection_id":146793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16c6bc0012d7e554005e209000006004d29..."} 
[2026-08-02 13:14:05] local.INFO: Packet analysis {"connection_id":146793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16c"} 
[2026-08-02 13:14:05] local.INFO: Extracted packet for processing {"connection_id":146793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16c"} 
[2026-08-02 13:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763254080,"raw_latitude":98699520,"longitude_deg":76.325408,"latitude_deg":9.869952,"altitude":6,"angle":77,"satellites":41,"speed":0,"hex_longitude":"2d7e5540","hex_latitude":"05e20900","is_valid_coordinates":true} 
[2026-08-02 13:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128067840001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113797009638424576,"note":"Value kept but may cause issues"} 
[2026-08-02 13:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103252615810580480,"note":"Value kept but may cause issues"} 
[2026-08-02 13:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785656536000,"timestamp_ms":1785656536000,"timestamp_seconds":1785656536,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16c6bc0"} 
[2026-08-02 13:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:14: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-08-02 13: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-02 13:14: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-08-02 13:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128067840001,"66":13330,"59":206,"85":15104,"24":0,"16":113797009638424576,"45":9103252615810580480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-02 13:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128067840001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:14:05] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 13:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113797009638424576,"km_value":113797009638424.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103252615810580480,"description":"Unknown IO ID 45"} 
[2026-08-02 13:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128067840001,"power":13330,"unknown_59":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9103252615810580480}} 
[2026-08-02 13:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":146793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:14:05] local.INFO: GPS data processed {"connection_id":146793,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:14:05] local.INFO: Acknowledgment sent {"connection_id":146793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:14:25] local.INFO: TCP Data received {"connection_id":147817,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:14:25] local.INFO: Processing buffer {"connection_id":147817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:14:25] local.INFO: IMEI packet received {"connection_id":147817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":147817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:14:29] local.INFO: TCP Data received {"connection_id":147817,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:14:29] local.INFO: Processing buffer {"connection_id":147817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:14:29] local.INFO: IMEI packet received {"connection_id":147817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":147817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:14:31] local.INFO: TCP Data received {"connection_id":146794,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:14:31] local.INFO: Processing buffer {"connection_id":146794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:14:31] local.INFO: IMEI packet received {"connection_id":146794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":146794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:14:31] local.INFO: TCP Data received {"connection_id":147817,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:14:31] local.INFO: Processing buffer {"connection_id":147817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:14:31] local.INFO: Packet analysis {"connection_id":147817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:14:31] local.INFO: Extracted packet for processing {"connection_id":147817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:14:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128011520001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:14:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785656596000,"timestamp_ms":1785656596000,"timestamp_seconds":1785656596,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16d5620"} 
[2026-08-02 13:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128011520001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128011520001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:14:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:14:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:14:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128011520001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":147817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:14:31] local.INFO: GPS data processed {"connection_id":147817,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:14:31] local.INFO: Acknowledgment sent {"connection_id":147817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:14:32] local.INFO: TCP Data received {"connection_id":146794,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:14:33] local.INFO: Processing buffer {"connection_id":146794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:14:33] local.INFO: IMEI packet received {"connection_id":146794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":146794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:14:33] local.INFO: TCP Data received {"connection_id":146794,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:14:33] local.INFO: Processing buffer {"connection_id":146794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:14:33] local.INFO: IMEI packet received {"connection_id":146794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":146794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:14:38] local.INFO: TCP Data received {"connection_id":146794,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:14:38] local.INFO: Processing buffer {"connection_id":146794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:14:38] local.INFO: IMEI packet received {"connection_id":146794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":146794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:14:38] local.INFO: TCP Data received {"connection_id":146794,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16e5020012d7deb4005e20bb8000900f928..."} 
[2026-08-02 13:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16e5020012d7deb4005e20bb8000900f928..."} 
[2026-08-02 13:14:38] local.INFO: Processing buffer {"connection_id":146794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16e5020012d7deb4005e20bb8000900f928..."} 
[2026-08-02 13:14:38] local.INFO: Packet analysis {"connection_id":146794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16e"} 
[2026-08-02 13:14:38] local.INFO: Extracted packet for processing {"connection_id":146794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16e"} 
[2026-08-02 13:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763226944,"raw_latitude":98700216,"longitude_deg":76.3226944,"latitude_deg":9.8700216,"altitude":9,"angle":249,"satellites":40,"speed":41,"hex_longitude":"2d7deb40","hex_latitude":"05e20bb8","is_valid_coordinates":true} 
[2026-08-02 13:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128103680001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113798345373253632,"note":"Value kept but may cause issues"} 
[2026-08-02 13:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9078623555348959232,"note":"Value kept but may cause issues"} 
[2026-08-02 13:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785656660000,"timestamp_ms":1785656660000,"timestamp_seconds":1785656660,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16e5020"} 
[2026-08-02 13:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 13:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128103680001,"66":13656,"59":206,"85":15104,"24":41,"16":113798345373253632,"45":9078623555348959232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-02 13:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128103680001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:14:38] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 13:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113798345373253632,"km_value":113798345373253.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9078623555348959232,"description":"Unknown IO ID 45"} 
[2026-08-02 13:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128103680001,"power":13656,"unknown_59":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9078623555348959232}} 
[2026-08-02 13:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":146794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:14:39] local.INFO: GPS data processed {"connection_id":146794,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:14:39] local.INFO: Acknowledgment sent {"connection_id":146794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:14:43] local.INFO: TCP Data received {"connection_id":146794,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16e7348012d7dc90005e1fca0000b010029..."} 
[2026-08-02 13:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16e7348012d7dc90005e1fca0000b010029..."} 
[2026-08-02 13:14:43] local.INFO: Processing buffer {"connection_id":146794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16e7348012d7dc90005e1fca0000b010029..."} 
[2026-08-02 13:14:43] local.INFO: Packet analysis {"connection_id":146794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16e"} 
[2026-08-02 13:14:43] local.INFO: Extracted packet for processing {"connection_id":146794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16e"} 
[2026-08-02 13:14:43] local.INFO: GPS Element Parsed {"raw_longitude":763218176,"raw_latitude":98696352,"longitude_deg":76.3218176,"latitude_deg":9.8696352,"altitude":11,"angle":256,"satellites":41,"speed":43,"hex_longitude":"2d7dc900","hex_latitude":"05e1fca0","is_valid_coordinates":true} 
[2026-08-02 13:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128104960001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113798809229721600,"note":"Value kept but may cause issues"} 
[2026-08-02 13:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9073416268279429120,"note":"Value kept but may cause issues"} 
[2026-08-02 13:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785656669000,"timestamp_ms":1785656669000,"timestamp_seconds":1785656669,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16e7348"} 
[2026-08-02 13:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-02 13:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128104960001,"66":13602,"61":206,"85":15104,"24":43,"16":113798809229721600,"45":9073416268279429120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 13:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128104960001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:14:43] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 13:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113798809229721600,"km_value":113798809229721.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9073416268279429120,"description":"Unknown IO ID 45"} 
[2026-08-02 13:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128104960001,"power":13602,"unknown_61":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9073416268279429120}} 
[2026-08-02 13:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":146794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:14:43] local.INFO: GPS data processed {"connection_id":146794,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:14:43] local.INFO: Acknowledgment sent {"connection_id":146794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:15:03] local.INFO: TCP Data received {"connection_id":147817,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:15:03] local.INFO: Processing buffer {"connection_id":147817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:15:03] local.INFO: Packet analysis {"connection_id":147817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:15:03] local.INFO: Extracted packet for processing {"connection_id":147817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:15:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128011520001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:15:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785656596000,"timestamp_ms":1785656596000,"timestamp_seconds":1785656596,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16d5620"} 
[2026-08-02 13:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128011520001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128011520001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:15:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:15:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:15:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128011520001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":147817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:15:03] local.INFO: GPS data processed {"connection_id":147817,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:15:03] local.INFO: Acknowledgment sent {"connection_id":147817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:15:24] local.INFO: TCP Data received {"connection_id":149132,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:15:24] local.INFO: Processing buffer {"connection_id":149132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:15:24] local.INFO: IMEI packet received {"connection_id":149132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":149132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:15:28] local.INFO: TCP Data received {"connection_id":149133,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:15:28] local.INFO: Processing buffer {"connection_id":149133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:15:28] local.INFO: IMEI packet received {"connection_id":149133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":149133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:15:29] local.INFO: TCP Data received {"connection_id":149132,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:15:29] local.INFO: Processing buffer {"connection_id":149132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:15:29] local.INFO: IMEI packet received {"connection_id":149132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":149132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:15:31] local.INFO: TCP Data received {"connection_id":149132,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:15:31] local.INFO: Processing buffer {"connection_id":149132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:15:31] local.INFO: Packet analysis {"connection_id":149132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:15:31] local.INFO: Extracted packet for processing {"connection_id":149132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:15:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128011520001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:15:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785656596000,"timestamp_ms":1785656596000,"timestamp_seconds":1785656596,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16d5620"} 
[2026-08-02 13:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128011520001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128011520001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:15:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:15:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:15:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128011520001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":149132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:15:31] local.INFO: GPS data processed {"connection_id":149132,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:15:31] local.INFO: Acknowledgment sent {"connection_id":149132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:15:32] local.INFO: TCP Data received {"connection_id":149133,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:15:32] local.INFO: Processing buffer {"connection_id":149133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:15:32] local.INFO: IMEI packet received {"connection_id":149133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":149133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:15:33] local.INFO: TCP Data received {"connection_id":149133,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16e7b18012d7dc08005e1fbd0000c010e27..."} 
[2026-08-02 13:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16e7b18012d7dc08005e1fbd0000c010e27..."} 
[2026-08-02 13:15:33] local.INFO: Processing buffer {"connection_id":149133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16e7b18012d7dc08005e1fbd0000c010e27..."} 
[2026-08-02 13:15:33] local.INFO: Packet analysis {"connection_id":149133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16e"} 
[2026-08-02 13:15:33] local.INFO: Extracted packet for processing {"connection_id":149133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16e"} 
[2026-08-02 13:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763216000,"raw_latitude":98696144,"longitude_deg":76.3216,"latitude_deg":9.8696144,"altitude":12,"angle":270,"satellites":39,"speed":42,"hex_longitude":"2d7dc080","hex_latitude":"05e1fbd0","is_valid_coordinates":true} 
[2026-08-02 13:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128107264001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113798912308936704,"note":"Value kept but may cause issues"} 
[2026-08-02 13:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063775750326099968,"note":"Value kept but may cause issues"} 
[2026-08-02 13:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785656671000,"timestamp_ms":1785656671000,"timestamp_seconds":1785656671,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16e7b18"} 
[2026-08-02 13:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-02 13:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128107264001,"66":13656,"61":206,"85":15104,"24":42,"16":113798912308936704,"45":9063775750326099968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 13:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128107264001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:15:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 13:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113798912308936704,"km_value":113798912308936.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063775750326099968,"description":"Unknown IO ID 45"} 
[2026-08-02 13:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128107264001,"power":13656,"unknown_61":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9063775750326099968}} 
[2026-08-02 13:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":149133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:15:33] local.INFO: GPS data processed {"connection_id":149133,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:15:33] local.INFO: Acknowledgment sent {"connection_id":149133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:15:34] local.INFO: TCP Data received {"connection_id":149133,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16ea228012d7d9cc005e1ffd0000e01152a..."} 
[2026-08-02 13:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16ea228012d7d9cc005e1ffd0000e01152a..."} 
[2026-08-02 13:15:34] local.INFO: Processing buffer {"connection_id":149133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16ea228012d7d9cc005e1ffd0000e01152a..."} 
[2026-08-02 13:15:34] local.INFO: Packet analysis {"connection_id":149133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16e"} 
[2026-08-02 13:15:34] local.INFO: Extracted packet for processing {"connection_id":149133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16e"} 
[2026-08-02 13:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763206848,"raw_latitude":98697168,"longitude_deg":76.3206848,"latitude_deg":9.8697168,"altitude":14,"angle":277,"satellites":42,"speed":17,"hex_longitude":"2d7d9cc0","hex_latitude":"05e1ffd0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128107776001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113799350395600896,"note":"Value kept but may cause issues"} 
[2026-08-02 13:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061383213024006144,"note":"Value kept but may cause issues"} 
[2026-08-02 13:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785656681000,"timestamp_ms":1785656681000,"timestamp_seconds":1785656681,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16ea228"} 
[2026-08-02 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-08-02 13:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-02 13:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 13:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128107776001,"66":13319,"61":206,"85":15104,"24":17,"16":113799350395600896,"45":9061383213024006144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 13:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128107776001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:15:34] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 13:15:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113799350395600896,"km_value":113799350395600.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061383213024006144,"description":"Unknown IO ID 45"} 
[2026-08-02 13:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128107776001,"power":13319,"unknown_61":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9061383213024006144}} 
[2026-08-02 13:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":149133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:15:34] local.INFO: GPS data processed {"connection_id":149133,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:15:34] local.INFO: Acknowledgment sent {"connection_id":149133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:16:05] local.INFO: TCP Data received {"connection_id":149133,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16edcc0012d7d774005e20258000f011229..."} 
[2026-08-02 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16edcc0012d7d774005e20258000f011229..."} 
[2026-08-02 13:16:05] local.INFO: Processing buffer {"connection_id":149133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16edcc0012d7d774005e20258000f011229..."} 
[2026-08-02 13:16:05] local.INFO: Packet analysis {"connection_id":149133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16e"} 
[2026-08-02 13:16:05] local.INFO: Extracted packet for processing {"connection_id":149133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16e"} 
[2026-08-02 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763197248,"raw_latitude":98697816,"longitude_deg":76.3197248,"latitude_deg":9.8697816,"altitude":15,"angle":274,"satellites":41,"speed":32,"hex_longitude":"2d7d7740","hex_latitude":"05e20258","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128110336001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113799809957101568,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9051320482606862336,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785656696000,"timestamp_ms":1785656696000,"timestamp_seconds":1785656696,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16edcc0"} 
[2026-08-02 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-08-02 13:16: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-08-02 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3245199160,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":74,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":226,"raw_value":648518376423827712,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805661902,"corrected_to":0} 
[2026-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3221611022,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376871,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792285696,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57886242084115771,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":109,"raw_value":-4640958121102147579,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,61,85,24,241,157,16,75,159,123,45,128,251,12,39,10,66,115,252,11,41,80,64,1,240,88,227,74,193,226,4,113,205,36,29,27,38,239,52,59,2,148,5,8,138,109],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2805661902,"validated":0}]} 
[2026-08-02 13:16:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009111061641625600,"timestamp_seconds":1009111061641625.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 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-08-02 13:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128110336001,"66":13428,"61":206,"85":15104,"24":32,"16":113799809957101568,"45":9051320482606862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 13:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128110336001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:16:05] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 13:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113799809957101568,"km_value":113799809957101.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9051320482606862336,"description":"Unknown IO ID 45"} 
[2026-08-02 13:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128110336001,"power":13428,"unknown_61":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9051320482606862336}} 
[2026-08-02 13:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":149133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:16:05] local.INFO: GPS data processed {"connection_id":149133,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:16:05] local.INFO: Acknowledgment sent {"connection_id":149133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:16:05] local.INFO: TCP Data received {"connection_id":149132,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:16:05] local.INFO: Processing buffer {"connection_id":149132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:16:05] local.INFO: Packet analysis {"connection_id":149132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:16:05] local.INFO: Extracted packet for processing {"connection_id":149132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128011520001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785656596000,"timestamp_ms":1785656596000,"timestamp_seconds":1785656596,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16d5620"} 
[2026-08-02 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-08-02 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 13:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128011520001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128011520001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:16:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:16:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:16:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128011520001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":149132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:16:05] local.INFO: GPS data processed {"connection_id":149132,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:16:05] local.INFO: Acknowledgment sent {"connection_id":149132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:16:24] local.INFO: TCP Data received {"connection_id":146795,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:16:24] local.INFO: Processing buffer {"connection_id":146795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:16:24] local.INFO: IMEI packet received {"connection_id":146795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":146795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:16:28] local.INFO: TCP Data received {"connection_id":146796,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:16:28] local.INFO: Processing buffer {"connection_id":146796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:16:28] local.INFO: IMEI packet received {"connection_id":146796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":146796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:16:29] local.INFO: TCP Data received {"connection_id":146795,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:16:29] local.INFO: Processing buffer {"connection_id":146795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:16:29] local.INFO: IMEI packet received {"connection_id":146795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":146795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:16:31] local.INFO: TCP Data received {"connection_id":146795,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:16:31] local.INFO: Processing buffer {"connection_id":146795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:16:31] local.INFO: Packet analysis {"connection_id":146795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:16:31] local.INFO: Extracted packet for processing {"connection_id":146795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:16:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128011520001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785656596000,"timestamp_ms":1785656596000,"timestamp_seconds":1785656596,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16d5620"} 
[2026-08-02 13:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128011520001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128011520001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:16:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:16:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:16:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128011520001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":146795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:16:31] local.INFO: GPS data processed {"connection_id":146795,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:16:31] local.INFO: Acknowledgment sent {"connection_id":146795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:16:32] local.INFO: TCP Data received {"connection_id":146796,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:16:32] local.INFO: Processing buffer {"connection_id":146796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:16:32] local.INFO: IMEI packet received {"connection_id":146796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":146796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:16:33] local.INFO: TCP Data received {"connection_id":146796,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16f0ba0012d7d534005e205180011011229..."} 
[2026-08-02 13:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16f0ba0012d7d534005e205180011011229..."} 
[2026-08-02 13:16:33] local.INFO: Processing buffer {"connection_id":146796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16f0ba0012d7d534005e205180011011229..."} 
[2026-08-02 13:16:33] local.INFO: Packet analysis {"connection_id":146796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16f"} 
[2026-08-02 13:16:33] local.INFO: Extracted packet for processing {"connection_id":146796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16f"} 
[2026-08-02 13:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763188032,"raw_latitude":98698520,"longitude_deg":76.3188032,"latitude_deg":9.869852,"altitude":17,"angle":274,"satellites":41,"speed":28,"hex_longitude":"2d7d5340","hex_latitude":"05e20518","is_valid_coordinates":true} 
[2026-08-02 13:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128114176001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113800252338733056,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9040765170980378624,"note":"Value kept but may cause issues"} 
[2026-08-02 13:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785656708000,"timestamp_ms":1785656708000,"timestamp_seconds":1785656708,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16f0ba0"} 
[2026-08-02 13:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:16: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-08-02 13:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 13:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128114176001,"66":13472,"61":206,"85":15104,"24":28,"16":113800252338733056,"45":9040765170980378624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 13:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128114176001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:16:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 13:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113800252338733056,"km_value":113800252338733.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9040765170980378624,"description":"Unknown IO ID 45"} 
[2026-08-02 13:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128114176001,"power":13472,"unknown_61":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9040765170980378624}} 
[2026-08-02 13:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":146796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:16:33] local.INFO: GPS data processed {"connection_id":146796,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:16:33] local.INFO: Acknowledgment sent {"connection_id":146796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:17:05] local.INFO: TCP Data received {"connection_id":146795,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:17:05] local.INFO: Processing buffer {"connection_id":146795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:17:05] local.INFO: Packet analysis {"connection_id":146795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:17:05] local.INFO: Extracted packet for processing {"connection_id":146795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:17:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128011520001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:17:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785656596000,"timestamp_ms":1785656596000,"timestamp_seconds":1785656596,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16d5620"} 
[2026-08-02 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-08-02 13:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 13:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128011520001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128011520001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:17:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:17:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:17:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128011520001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":146795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:17:05] local.INFO: GPS data processed {"connection_id":146795,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:17:05] local.INFO: Acknowledgment sent {"connection_id":146795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:17:06] local.INFO: TCP Data received {"connection_id":146796,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc170c120012d7c5d0005e20fd0000900eb29..."} 
[2026-08-02 13:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc170c120012d7c5d0005e20fd0000900eb29..."} 
[2026-08-02 13:17:06] local.INFO: Processing buffer {"connection_id":146796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc170c120012d7c5d0005e20fd0000900eb29..."} 
[2026-08-02 13:17:06] local.INFO: Packet analysis {"connection_id":146796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc170"} 
[2026-08-02 13:17:06] local.INFO: Extracted packet for processing {"connection_id":146796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc170"} 
[2026-08-02 13:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763124992,"raw_latitude":98701264,"longitude_deg":76.3124992,"latitude_deg":9.8701264,"altitude":9,"angle":235,"satellites":41,"speed":24,"hex_longitude":"2d7c5d00","hex_latitude":"05e20fd0","is_valid_coordinates":true} 
[2026-08-02 13:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128145408001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113803301765513216,"note":"Value kept but may cause issues"} 
[2026-08-02 13:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962515127455844352,"note":"Value kept but may cause issues"} 
[2026-08-02 13:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785656820000,"timestamp_ms":1785656820000,"timestamp_seconds":1785656820,"priority":1,"record_length":96,"hex_timestamp":"0000019fc170c120"} 
[2026-08-02 13:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:17: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-08-02 13: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":192,"data_length":795,"current_offset":136} 
[2026-08-02 13:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128145408001,"66":13406,"61":206,"85":15104,"24":24,"16":113803301765513216,"45":8962515127455844352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 13:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128145408001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:17:06] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 13:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113803301765513216,"km_value":113803301765513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962515127455844352,"description":"Unknown IO ID 45"} 
[2026-08-02 13:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128145408001,"power":13406,"unknown_61":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8962515127455844352}} 
[2026-08-02 13:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":146796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:17:06] local.INFO: GPS data processed {"connection_id":146796,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:17:06] local.INFO: Acknowledgment sent {"connection_id":146796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:17:26] local.INFO: TCP Data received {"connection_id":149134,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:17:26] local.INFO: Processing buffer {"connection_id":149134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:17:26] local.INFO: IMEI packet received {"connection_id":149134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":149134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:17:28] local.INFO: TCP Data received {"connection_id":149134,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:17:28] local.INFO: Processing buffer {"connection_id":149134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:17:28] local.INFO: IMEI packet received {"connection_id":149134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":149134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:17:33] local.INFO: TCP Data received {"connection_id":149134,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:17:33] local.INFO: Processing buffer {"connection_id":149134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:17:33] local.INFO: IMEI packet received {"connection_id":149134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":149134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:17:34] local.INFO: TCP Data received {"connection_id":149134,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc170c508012d7c5b8005e20db0000900da29..."} 
[2026-08-02 13:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc170c508012d7c5b8005e20db0000900da29..."} 
[2026-08-02 13:17:34] local.INFO: Processing buffer {"connection_id":149134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc170c508012d7c5b8005e20db0000900da29..."} 
[2026-08-02 13:17:34] local.INFO: Packet analysis {"connection_id":149134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc170"} 
[2026-08-02 13:17:34] local.INFO: Extracted packet for processing {"connection_id":149134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc170"} 
[2026-08-02 13:17:34] local.INFO: GPS Element Parsed {"raw_longitude":763124608,"raw_latitude":98700720,"longitude_deg":76.3124608,"latitude_deg":9.870072,"altitude":9,"angle":218,"satellites":41,"speed":24,"hex_longitude":"2d7c5b80","hex_latitude":"05e20db0","is_valid_coordinates":true} 
[2026-08-02 13:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128145920001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113803331830284288,"note":"Value kept but may cause issues"} 
[2026-08-02 13:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961318858804678656,"note":"Value kept but may cause issues"} 
[2026-08-02 13:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785656821000,"timestamp_ms":1785656821000,"timestamp_seconds":1785656821,"priority":1,"record_length":96,"hex_timestamp":"0000019fc170c508"} 
[2026-08-02 13:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 13:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128145920001,"66":13450,"61":206,"85":15104,"24":24,"16":113803331830284288,"45":8961318858804678656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 13:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128145920001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:17:34] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 13:17:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113803331830284288,"km_value":113803331830284.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961318858804678656,"description":"Unknown IO ID 45"} 
[2026-08-02 13:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128145920001,"power":13450,"unknown_61":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8961318858804678656}} 
[2026-08-02 13:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":149134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:17:34] local.INFO: GPS data processed {"connection_id":149134,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:17:34] local.INFO: Acknowledgment sent {"connection_id":149134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:17:35] local.INFO: TCP Data received {"connection_id":149135,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:17:35] local.INFO: Processing buffer {"connection_id":149135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:17:35] local.INFO: IMEI packet received {"connection_id":149135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":149135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:17:39] local.INFO: TCP Data received {"connection_id":149135,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:17:39] local.INFO: Processing buffer {"connection_id":149135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:17:39] local.INFO: IMEI packet received {"connection_id":149135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":149135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:17:41] local.INFO: TCP Data received {"connection_id":149135,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:17:41] local.INFO: Processing buffer {"connection_id":149135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:17:41] local.INFO: Packet analysis {"connection_id":149135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:17:41] local.INFO: Extracted packet for processing {"connection_id":149135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:17:41] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128011520001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785656596000,"timestamp_ms":1785656596000,"timestamp_seconds":1785656596,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16d5620"} 
[2026-08-02 13:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:17: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-08-02 13:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:17: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-08-02 13:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":149135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":149135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":149135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128011520001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128011520001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:17:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:17:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128011520001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":149135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:17:41] local.INFO: GPS data processed {"connection_id":149135,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:17:41] local.INFO: Acknowledgment sent {"connection_id":149135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:18:05] local.INFO: TCP Data received {"connection_id":149134,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17197f8012d7bd28005e1dce0000301012b..."} 
[2026-08-02 13:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17197f8012d7bd28005e1dce0000301012b..."} 
[2026-08-02 13:18:05] local.INFO: Processing buffer {"connection_id":149134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17197f8012d7bd28005e1dce0000301012b..."} 
[2026-08-02 13:18:05] local.INFO: Packet analysis {"connection_id":149134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:18:05] local.INFO: Extracted packet for processing {"connection_id":149134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763089536,"raw_latitude":98688224,"longitude_deg":76.3089536,"latitude_deg":9.8688224,"altitude":3,"angle":257,"satellites":43,"speed":24,"hex_longitude":"2d7bd280","hex_latitude":"05e1dce0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128160000001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113805324695109632,"note":"Value kept but may cause issues"} 
[2026-08-02 13:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922334574526914560,"note":"Value kept but may cause issues"} 
[2026-08-02 13:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785656875000,"timestamp_ms":1785656875000,"timestamp_seconds":1785656875,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17197f8"} 
[2026-08-02 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-08-02 13:18: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-08-02 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 13:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 13:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128160000001,"66":13374,"43":206,"85":15104,"24":24,"16":113805324695109632,"45":8922334574526914560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-02 13:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128160000001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:18:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-02 13:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113805324695109632,"km_value":113805324695109.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922334574526914560,"description":"Unknown IO ID 45"} 
[2026-08-02 13:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128160000001,"power":13374,"unknown_43":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8922334574526914560}} 
[2026-08-02 13:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":149134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:18:05] local.INFO: GPS data processed {"connection_id":149134,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:18:05] local.INFO: Acknowledgment sent {"connection_id":149134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:18:24] local.INFO: TCP Data received {"connection_id":147818,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:18:24] local.INFO: Processing buffer {"connection_id":147818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:18:24] local.INFO: IMEI packet received {"connection_id":147818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":147818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:18:28] local.INFO: TCP Data received {"connection_id":146797,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:18:28] local.INFO: Processing buffer {"connection_id":146797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:18:28] local.INFO: IMEI packet received {"connection_id":146797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":146797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:18:29] local.INFO: TCP Data received {"connection_id":147818,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:18:29] local.INFO: Processing buffer {"connection_id":147818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:18:29] local.INFO: IMEI packet received {"connection_id":147818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":147818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:18:31] local.INFO: TCP Data received {"connection_id":147818,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:18:31] local.INFO: Processing buffer {"connection_id":147818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc16d5620012cc330c007685958005800c52e..."} 
[2026-08-02 13:18:31] local.INFO: Packet analysis {"connection_id":147818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:18:31] local.INFO: Extracted packet for processing {"connection_id":147818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc16d"} 
[2026-08-02 13:18:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128011520001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:18:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785656596000,"timestamp_ms":1785656596000,"timestamp_seconds":1785656596,"priority":1,"record_length":96,"hex_timestamp":"0000019fc16d5620"} 
[2026-08-02 13:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128011520001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128011520001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:18:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:18:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:18:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128011520001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":147818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:18:31] local.INFO: GPS data processed {"connection_id":147818,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:18:31] local.INFO: Acknowledgment sent {"connection_id":147818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:18:33] local.INFO: TCP Data received {"connection_id":146797,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:18:33] local.INFO: Processing buffer {"connection_id":146797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:18:33] local.INFO: IMEI packet received {"connection_id":146797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":146797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:18:33] local.INFO: TCP Data received {"connection_id":146797,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1719be0012d7bd04005e1dbd8000300f12b..."} 
[2026-08-02 13:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1719be0012d7bd04005e1dbd8000300f12b..."} 
[2026-08-02 13:18:33] local.INFO: Processing buffer {"connection_id":146797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1719be0012d7bd04005e1dbd8000300f12b..."} 
[2026-08-02 13:18:33] local.INFO: Packet analysis {"connection_id":146797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:18:33] local.INFO: Extracted packet for processing {"connection_id":146797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763088960,"raw_latitude":98687960,"longitude_deg":76.308896,"latitude_deg":9.868796,"altitude":3,"angle":241,"satellites":43,"speed":22,"hex_longitude":"2d7bd040","hex_latitude":"05e1dbd8","is_valid_coordinates":true} 
[2026-08-02 13:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128160000001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113805354759880704,"note":"Value kept but may cause issues"} 
[2026-08-02 13:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922334574526914560,"note":"Value kept but may cause issues"} 
[2026-08-02 13:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785656876000,"timestamp_ms":1785656876000,"timestamp_seconds":1785656876,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1719be0"} 
[2026-08-02 13:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:18: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-08-02 13:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 13:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128160000001,"66":13374,"43":206,"85":15104,"24":22,"16":113805354759880704,"45":8922334574526914560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-02 13:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128160000001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:18:33] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-02 13:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113805354759880704,"km_value":113805354759880.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922334574526914560,"description":"Unknown IO ID 45"} 
[2026-08-02 13:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128160000001,"power":13374,"unknown_43":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8922334574526914560}} 
[2026-08-02 13:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":146797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:18:34] local.INFO: GPS data processed {"connection_id":146797,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:18:34] local.INFO: Acknowledgment sent {"connection_id":146797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:19:02] local.INFO: TCP Data received {"connection_id":147818,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:19:02] local.INFO: Processing buffer {"connection_id":147818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:19:02] local.INFO: Packet analysis {"connection_id":147818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:19:02] local.INFO: Extracted packet for processing {"connection_id":147818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:19:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128088576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785656897000,"timestamp_ms":1785656897000,"timestamp_seconds":1785656897,"priority":1,"record_length":96,"hex_timestamp":"0000019fc171ede8"} 
[2026-08-02 13:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128088576001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128088576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:19:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:19:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:19:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128088576001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":147818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:19:02] local.INFO: GPS data processed {"connection_id":147818,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:19:02] local.INFO: Acknowledgment sent {"connection_id":147818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:19:05] local.INFO: TCP Data received {"connection_id":146797,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc171a3b0012d7bcdc005e1d998000300e427..."} 
[2026-08-02 13:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc171a3b0012d7bcdc005e1d998000300e427..."} 
[2026-08-02 13:19:05] local.INFO: Processing buffer {"connection_id":146797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc171a3b0012d7bcdc005e1d998000300e427..."} 
[2026-08-02 13:19:05] local.INFO: Packet analysis {"connection_id":146797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:19:05] local.INFO: Extracted packet for processing {"connection_id":146797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763088320,"raw_latitude":98687384,"longitude_deg":76.308832,"latitude_deg":9.8687384,"altitude":3,"angle":228,"satellites":39,"speed":13,"hex_longitude":"2d7bcdc0","hex_latitude":"05e1d998","is_valid_coordinates":true} 
[2026-08-02 13:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128160256001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113805397709553664,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921701255829248000,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785656878000,"timestamp_ms":1785656878000,"timestamp_seconds":1785656878,"priority":1,"record_length":96,"hex_timestamp":"0000019fc171a3b0"} 
[2026-08-02 13:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:19: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-08-02 13: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 13:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128160256001,"66":13374,"43":206,"85":15104,"24":13,"16":113805397709553664,"45":8921701255829248000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-02 13:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128160256001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:19:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-02 13:19:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113805397709553664,"km_value":113805397709553.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921701255829248000,"description":"Unknown IO ID 45"} 
[2026-08-02 13:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128160256001,"power":13374,"unknown_43":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8921701255829248000}} 
[2026-08-02 13:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":146797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:19:05] local.INFO: GPS data processed {"connection_id":146797,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:19:05] local.INFO: Acknowledgment sent {"connection_id":146797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:19:28] local.INFO: TCP Data received {"connection_id":147820,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:19:28] local.INFO: Processing buffer {"connection_id":147820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:19:28] local.INFO: IMEI packet received {"connection_id":147820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":147820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:19:29] local.INFO: TCP Data received {"connection_id":147819,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:19:29] local.INFO: Processing buffer {"connection_id":147819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:19:29] local.INFO: IMEI packet received {"connection_id":147819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":147819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:19:33] local.INFO: TCP Data received {"connection_id":147820,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:19:33] local.INFO: Processing buffer {"connection_id":147820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:19:33] local.INFO: IMEI packet received {"connection_id":147820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":147820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:19:34] local.INFO: TCP Data received {"connection_id":147820,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc172b520012d7b40c005e1a928000e00b92b..."} 
[2026-08-02 13:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc172b520012d7b40c005e1a928000e00b92b..."} 
[2026-08-02 13:19:34] local.INFO: Processing buffer {"connection_id":147820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc172b520012d7b40c005e1a928000e00b92b..."} 
[2026-08-02 13:19:34] local.INFO: Packet analysis {"connection_id":147820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc172"} 
[2026-08-02 13:19:34] local.INFO: Extracted packet for processing {"connection_id":147820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc172"} 
[2026-08-02 13:19:34] local.INFO: GPS Element Parsed {"raw_longitude":763052224,"raw_latitude":98674984,"longitude_deg":76.3052224,"latitude_deg":9.8674984,"altitude":14,"angle":185,"satellites":43,"speed":13,"hex_longitude":"2d7b40c0","hex_latitude":"05e1a928","is_valid_coordinates":true} 
[2026-08-02 13:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128178432001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113807296085098496,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881309596668033024,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785656948000,"timestamp_ms":1785656948000,"timestamp_seconds":1785656948,"priority":1,"record_length":96,"hex_timestamp":"0000019fc172b520"} 
[2026-08-02 13:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-02 13:19: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-08-02 13:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128178432001,"66":13189,"169":206,"85":15104,"24":13,"16":113807296085098496,"45":8881309596668033024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-02 13:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128178432001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:19:34] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 13:19:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113807296085098496,"km_value":113807296085098.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881309596668033024,"description":"Unknown IO ID 45"} 
[2026-08-02 13:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128178432001,"power":13189,"unknown_169":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8881309596668033024}} 
[2026-08-02 13:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":147820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:19:34] local.INFO: GPS data processed {"connection_id":147820,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:19:34] local.INFO: Acknowledgment sent {"connection_id":147820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:19:34] local.INFO: TCP Data received {"connection_id":147819,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:19:34] local.INFO: Processing buffer {"connection_id":147819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:19:34] local.INFO: IMEI packet received {"connection_id":147819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":147819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:19:36] local.INFO: TCP Data received {"connection_id":147819,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:19:36] local.INFO: Processing buffer {"connection_id":147819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:19:36] local.INFO: Packet analysis {"connection_id":147819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:19:36] local.INFO: Extracted packet for processing {"connection_id":147819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:19:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128088576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785656897000,"timestamp_ms":1785656897000,"timestamp_seconds":1785656897,"priority":1,"record_length":96,"hex_timestamp":"0000019fc171ede8"} 
[2026-08-02 13:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128088576001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128088576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:19:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:19:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:19:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128088576001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":147819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:19:36] local.INFO: GPS data processed {"connection_id":147819,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:19:36] local.INFO: Acknowledgment sent {"connection_id":147819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:19:40] local.INFO: TCP Data received {"connection_id":147819,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:19:40] local.INFO: Processing buffer {"connection_id":147819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:19:40] local.INFO: Packet analysis {"connection_id":147819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:19:40] local.INFO: Extracted packet for processing {"connection_id":147819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:19:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128088576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785656897000,"timestamp_ms":1785656897000,"timestamp_seconds":1785656897,"priority":1,"record_length":96,"hex_timestamp":"0000019fc171ede8"} 
[2026-08-02 13:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13: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-08-02 13:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128088576001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128088576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:19:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:19:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128088576001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":147819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:19:40] local.INFO: GPS data processed {"connection_id":147819,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:19:40] local.INFO: Acknowledgment sent {"connection_id":147819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:20:05] local.INFO: TCP Data received {"connection_id":147820,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc172c0d8012d7b414005e1a3c0000f00ac2b..."} 
[2026-08-02 13:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc172c0d8012d7b414005e1a3c0000f00ac2b..."} 
[2026-08-02 13:20:05] local.INFO: Processing buffer {"connection_id":147820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc172c0d8012d7b414005e1a3c0000f00ac2b..."} 
[2026-08-02 13:20:05] local.INFO: Packet analysis {"connection_id":147820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc172"} 
[2026-08-02 13:20:05] local.INFO: Extracted packet for processing {"connection_id":147820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc172"} 
[2026-08-02 13:20:05] local.INFO: GPS Element Parsed {"raw_longitude":763052352,"raw_latitude":98673600,"longitude_deg":76.3052352,"latitude_deg":9.86736,"altitude":15,"angle":172,"satellites":43,"speed":20,"hex_longitude":"2d7b4140","hex_latitude":"05e1a3c0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128178688001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113807364804575232,"note":"Value kept but may cause issues"} 
[2026-08-02 13:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881309596667947008,"note":"Value kept but may cause issues"} 
[2026-08-02 13:20: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-08-02 13:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785656951000,"timestamp_ms":1785656951000,"timestamp_seconds":1785656951,"priority":1,"record_length":96,"hex_timestamp":"0000019fc172c0d8"} 
[2026-08-02 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-08-02 13:20: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-08-02 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":133,"data_length":795,"current_offset":136} 
[2026-08-02 13:20: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-08-02 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-08-02 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-08-02 13:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128178688001,"66":13559,"169":206,"85":15104,"24":20,"16":113807364804575232,"45":8881309596667947008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-02 13:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128178688001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:20:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 13:20:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113807364804575232,"km_value":113807364804575.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881309596667947008,"description":"Unknown IO ID 45"} 
[2026-08-02 13:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128178688001,"power":13559,"unknown_169":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8881309596667947008}} 
[2026-08-02 13:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":147820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:20:05] local.INFO: GPS data processed {"connection_id":147820,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:20:05] local.INFO: Acknowledgment sent {"connection_id":147820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:20:24] local.INFO: TCP Data received {"connection_id":147821,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:20:24] local.INFO: Processing buffer {"connection_id":147821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:20:24] local.INFO: IMEI packet received {"connection_id":147821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":147821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:20:28] local.INFO: TCP Data received {"connection_id":149136,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:20:28] local.INFO: Processing buffer {"connection_id":149136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:20:28] local.INFO: IMEI packet received {"connection_id":149136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":149136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:20:28] local.INFO: TCP Data received {"connection_id":149136,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:20:28] local.INFO: Processing buffer {"connection_id":149136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:20:28] local.INFO: IMEI packet received {"connection_id":149136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":149136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:20:29] local.INFO: TCP Data received {"connection_id":147821,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:20:29] local.INFO: Processing buffer {"connection_id":147821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:20:29] local.INFO: IMEI packet received {"connection_id":147821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":147821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:20:31] local.INFO: TCP Data received {"connection_id":147821,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:20:31] local.INFO: Processing buffer {"connection_id":147821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:20:31] local.INFO: Packet analysis {"connection_id":147821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:20:31] local.INFO: Extracted packet for processing {"connection_id":147821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128088576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785656897000,"timestamp_ms":1785656897000,"timestamp_seconds":1785656897,"priority":1,"record_length":96,"hex_timestamp":"0000019fc171ede8"} 
[2026-08-02 13:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128088576001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128088576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:20:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:20:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128088576001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":147821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:20:31] local.INFO: GPS data processed {"connection_id":147821,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:20:31] local.INFO: Acknowledgment sent {"connection_id":147821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:20:33] local.INFO: TCP Data received {"connection_id":149136,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:20:33] local.INFO: Processing buffer {"connection_id":149136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:20:33] local.INFO: IMEI packet received {"connection_id":149136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":149136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:20:34] local.INFO: TCP Data received {"connection_id":149136,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc172efb8012d7b43c005e18040001100b123..."} 
[2026-08-02 13:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc172efb8012d7b43c005e18040001100b123..."} 
[2026-08-02 13:20:34] local.INFO: Processing buffer {"connection_id":149136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc172efb8012d7b43c005e18040001100b123..."} 
[2026-08-02 13:20:34] local.INFO: Packet analysis {"connection_id":149136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc172"} 
[2026-08-02 13:20:34] local.INFO: Extracted packet for processing {"connection_id":149136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc172"} 
[2026-08-02 13:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763052992,"raw_latitude":98664512,"longitude_deg":76.3052992,"latitude_deg":9.8664512,"altitude":17,"angle":177,"satellites":35,"speed":41,"hex_longitude":"2d7b43c0","hex_latitude":"05e18040","is_valid_coordinates":true} 
[2026-08-02 13:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128179456001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113807807186206720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881450334155948032,"note":"Value kept but may cause issues"} 
[2026-08-02 13:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785656963000,"timestamp_ms":1785656963000,"timestamp_seconds":1785656963,"priority":1,"record_length":96,"hex_timestamp":"0000019fc172efb8"} 
[2026-08-02 13:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 13:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128179456001,"66":13048,"169":206,"85":15104,"24":41,"16":113807807186206720,"45":8881450334155948032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-02 13:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128179456001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:20:34] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 13:20:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113807807186206720,"km_value":113807807186206.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881450334155948032,"description":"Unknown IO ID 45"} 
[2026-08-02 13:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128179456001,"power":13048,"unknown_169":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8881450334155948032}} 
[2026-08-02 13:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":149136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:20:34] local.INFO: GPS data processed {"connection_id":149136,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:20:34] local.INFO: Acknowledgment sent {"connection_id":149136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:21:02] local.INFO: TCP Data received {"connection_id":147821,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:21:02] local.INFO: Processing buffer {"connection_id":147821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:21:02] local.INFO: Packet analysis {"connection_id":147821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:21:02] local.INFO: Extracted packet for processing {"connection_id":147821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:21:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128088576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785656897000,"timestamp_ms":1785656897000,"timestamp_seconds":1785656897,"priority":1,"record_length":96,"hex_timestamp":"0000019fc171ede8"} 
[2026-08-02 13:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128088576001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128088576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:21:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:21:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:21:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128088576001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":147821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:21:02] local.INFO: GPS data processed {"connection_id":147821,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:21:02] local.INFO: Acknowledgment sent {"connection_id":147821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:21:06] local.INFO: TCP Data received {"connection_id":149136,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1733dd8012d7b494005e15e78000b00b322..."} 
[2026-08-02 13:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1733dd8012d7b494005e15e78000b00b322..."} 
[2026-08-02 13:21:06] local.INFO: Processing buffer {"connection_id":149136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1733dd8012d7b494005e15e78000b00b322..."} 
[2026-08-02 13:21:06] local.INFO: Packet analysis {"connection_id":149136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc173"} 
[2026-08-02 13:21:06] local.INFO: Extracted packet for processing {"connection_id":149136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc173"} 
[2026-08-02 13:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":98655864,"longitude_deg":76.30544,"latitude_deg":9.8655864,"altitude":11,"angle":179,"satellites":34,"speed":0,"hex_longitude":"2d7b4940","hex_latitude":"05e15e78","is_valid_coordinates":true} 
[2026-08-02 13:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128182528001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113808232387969024,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882154021595398144,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21: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-08-02 13:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785656983000,"timestamp_ms":1785656983000,"timestamp_seconds":1785656983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1733dd8"} 
[2026-08-02 13:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:21: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-08-02 13: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-02 13:21: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-08-02 13:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128182528001,"66":13406,"169":206,"85":15104,"24":0,"16":113808232387969024,"45":8882154021595398144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-02 13:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128182528001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:21:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 13:21:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113808232387969024,"km_value":113808232387969.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882154021595398144,"description":"Unknown IO ID 45"} 
[2026-08-02 13:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128182528001,"power":13406,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8882154021595398144}} 
[2026-08-02 13:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":149136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:21:06] local.INFO: GPS data processed {"connection_id":149136,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:21:06] local.INFO: Acknowledgment sent {"connection_id":149136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:21:27] local.INFO: TCP Data received {"connection_id":149137,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:21:27] local.INFO: Processing buffer {"connection_id":149137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:21:27] local.INFO: IMEI packet received {"connection_id":149137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":149137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:21:31] local.INFO: TCP Data received {"connection_id":147822,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:21:31] local.INFO: Processing buffer {"connection_id":147822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:21:31] local.INFO: IMEI packet received {"connection_id":147822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":147822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:21:33] local.INFO: TCP Data received {"connection_id":149137,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:21:33] local.INFO: Processing buffer {"connection_id":149137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:21:33] local.INFO: IMEI packet received {"connection_id":149137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":149137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:21:34] local.INFO: TCP Data received {"connection_id":149137,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1734d78012d7b488005e15d40000b00e523..."} 
[2026-08-02 13:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1734d78012d7b488005e15d40000b00e523..."} 
[2026-08-02 13:21:34] local.INFO: Processing buffer {"connection_id":149137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1734d78012d7b488005e15d40000b00e523..."} 
[2026-08-02 13:21:34] local.INFO: Packet analysis {"connection_id":149137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc173"} 
[2026-08-02 13:21:34] local.INFO: Extracted packet for processing {"connection_id":149137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc173"} 
[2026-08-02 13:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763054208,"raw_latitude":98655552,"longitude_deg":76.3054208,"latitude_deg":9.8655552,"altitude":11,"angle":229,"satellites":35,"speed":5,"hex_longitude":"2d7b4880","hex_latitude":"05e15d40","is_valid_coordinates":true} 
[2026-08-02 13:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128187648001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113808253862805504,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883702133965092864,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785656987000,"timestamp_ms":1785656987000,"timestamp_seconds":1785656987,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1734d78"} 
[2026-08-02 13:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 13:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128187648001,"66":13243,"169":206,"85":15104,"24":5,"16":113808253862805504,"45":8883702133965092864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-02 13:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128187648001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:21:34] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 13:21:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113808253862805504,"km_value":113808253862805.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883702133965092864,"description":"Unknown IO ID 45"} 
[2026-08-02 13:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128187648001,"power":13243,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8883702133965092864}} 
[2026-08-02 13:21:34] local.INFO: TCP Data received {"connection_id":147822,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:21:34] local.INFO: Processing buffer {"connection_id":147822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:21:34] local.INFO: IMEI packet received {"connection_id":147822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":147822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":149137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:21:34] local.INFO: GPS data processed {"connection_id":149137,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:21:34] local.INFO: Acknowledgment sent {"connection_id":149137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:21:35] local.INFO: TCP Data received {"connection_id":147822,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:21:35] local.INFO: Processing buffer {"connection_id":147822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:21:35] local.INFO: Packet analysis {"connection_id":147822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:21:35] local.INFO: Extracted packet for processing {"connection_id":147822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:21:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128088576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785656897000,"timestamp_ms":1785656897000,"timestamp_seconds":1785656897,"priority":1,"record_length":96,"hex_timestamp":"0000019fc171ede8"} 
[2026-08-02 13:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128088576001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128088576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:21:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:21:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:21:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128088576001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":147822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:21:35] local.INFO: GPS data processed {"connection_id":147822,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:21:35] local.INFO: Acknowledgment sent {"connection_id":147822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:21:40] local.INFO: TCP Data received {"connection_id":147822,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:21:40] local.INFO: Processing buffer {"connection_id":147822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:21:40] local.INFO: Packet analysis {"connection_id":147822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:21:40] local.INFO: Extracted packet for processing {"connection_id":147822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:21:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128088576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785656897000,"timestamp_ms":1785656897000,"timestamp_seconds":1785656897,"priority":1,"record_length":96,"hex_timestamp":"0000019fc171ede8"} 
[2026-08-02 13:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13: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-08-02 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:21: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-08-02 13:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128088576001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128088576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:21:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:21:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128088576001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":147822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:21:40] local.INFO: GPS data processed {"connection_id":147822,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:21:40] local.INFO: Acknowledgment sent {"connection_id":147822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:22:05] local.INFO: TCP Data received {"connection_id":149137,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1736cb8012d7b468005e15cf8000b012a28..."} 
[2026-08-02 13:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1736cb8012d7b468005e15cf8000b012a28..."} 
[2026-08-02 13:22:05] local.INFO: Processing buffer {"connection_id":149137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1736cb8012d7b468005e15cf8000b012a28..."} 
[2026-08-02 13:22:05] local.INFO: Packet analysis {"connection_id":149137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc173"} 
[2026-08-02 13:22:05] local.INFO: Extracted packet for processing {"connection_id":149137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc173"} 
[2026-08-02 13:22:05] local.INFO: GPS Element Parsed {"raw_longitude":763053696,"raw_latitude":98655480,"longitude_deg":76.3053696,"latitude_deg":9.865548,"altitude":11,"angle":298,"satellites":40,"speed":3,"hex_longitude":"2d7b4680","hex_latitude":"05e15cf8","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128188672001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113808288222543872,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883491027732480000,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22: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-08-02 13:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785656995000,"timestamp_ms":1785656995000,"timestamp_seconds":1785656995,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1736cb8"} 
[2026-08-02 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-08-02 13:22: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-08-02 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-02 13:22: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-08-02 13:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 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-08-02 13:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128188672001,"66":13624,"169":206,"85":15104,"24":3,"16":113808288222543872,"45":8883491027732480000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-02 13:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128188672001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:22:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 13:22:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113808288222543872,"km_value":113808288222543.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883491027732480000,"description":"Unknown IO ID 45"} 
[2026-08-02 13:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128188672001,"power":13624,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8883491027732480000}} 
[2026-08-02 13:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":149137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:22:05] local.INFO: GPS data processed {"connection_id":149137,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:22:05] local.INFO: Acknowledgment sent {"connection_id":149137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:22:24] local.INFO: TCP Data received {"connection_id":146798,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:22:24] local.INFO: Processing buffer {"connection_id":146798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:22:24] local.INFO: IMEI packet received {"connection_id":146798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":146798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:22:30] local.INFO: TCP Data received {"connection_id":146798,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:22:30] local.INFO: Processing buffer {"connection_id":146798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:22:30] local.INFO: IMEI packet received {"connection_id":146798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":146798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:22:31] local.INFO: TCP Data received {"connection_id":146798,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:22:31] local.INFO: Processing buffer {"connection_id":146798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:22:31] local.INFO: Packet analysis {"connection_id":146798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:22:31] local.INFO: Extracted packet for processing {"connection_id":146798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:22:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128088576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785656897000,"timestamp_ms":1785656897000,"timestamp_seconds":1785656897,"priority":1,"record_length":96,"hex_timestamp":"0000019fc171ede8"} 
[2026-08-02 13:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128088576001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128088576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:22:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:22:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:22:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128088576001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":146798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:22:31] local.INFO: GPS data processed {"connection_id":146798,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:22:31] local.INFO: Acknowledgment sent {"connection_id":146798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:22:33] local.INFO: TCP Data received {"connection_id":146799,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:22:33] local.INFO: Processing buffer {"connection_id":146799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:22:33] local.INFO: IMEI packet received {"connection_id":146799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":146799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:22:34] local.INFO: TCP Data received {"connection_id":146799,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:22:34] local.INFO: Processing buffer {"connection_id":146799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:22:34] local.INFO: IMEI packet received {"connection_id":146799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":146799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:22:35] local.INFO: TCP Data received {"connection_id":146798,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:22:35] local.INFO: Processing buffer {"connection_id":146798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:22:35] local.INFO: Packet analysis {"connection_id":146798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:22:35] local.INFO: Extracted packet for processing {"connection_id":146798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:22:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128088576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785656897000,"timestamp_ms":1785656897000,"timestamp_seconds":1785656897,"priority":1,"record_length":96,"hex_timestamp":"0000019fc171ede8"} 
[2026-08-02 13:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128088576001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128088576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:22:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:22:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:22:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128088576001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":146798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:22:35] local.INFO: GPS data processed {"connection_id":146798,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:22:35] local.INFO: Acknowledgment sent {"connection_id":146798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:22:38] local.INFO: TCP Data received {"connection_id":146799,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:22:38] local.INFO: Processing buffer {"connection_id":146799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:22:38] local.INFO: IMEI packet received {"connection_id":146799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":146799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:22:39] local.INFO: TCP Data received {"connection_id":146799,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1754948012d7b390005e1a3800003015b25..."} 
[2026-08-02 13:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1754948012d7b390005e1a3800003015b25..."} 
[2026-08-02 13:22:39] local.INFO: Processing buffer {"connection_id":146799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1754948012d7b390005e1a3800003015b25..."} 
[2026-08-02 13:22:39] local.INFO: Packet analysis {"connection_id":146799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc175"} 
[2026-08-02 13:22:39] local.INFO: Extracted packet for processing {"connection_id":146799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc175"} 
[2026-08-02 13:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763050240,"raw_latitude":98673536,"longitude_deg":76.305024,"latitude_deg":9.8673536,"altitude":3,"angle":347,"satellites":37,"speed":9,"hex_longitude":"2d7b3900","hex_latitude":"05e1a380","is_valid_coordinates":true} 
[2026-08-02 13:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128216576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113809203050577920,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879620746806693888,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785657117000,"timestamp_ms":1785657117000,"timestamp_seconds":1785657117,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1754948"} 
[2026-08-02 13:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:22: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-08-02 13:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 13:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128216576001,"66":13624,"169":206,"85":15104,"24":9,"16":113809203050577920,"45":8879620746806693888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-02 13:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128216576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:22:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 13:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113809203050577920,"km_value":113809203050577.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879620746806693888,"description":"Unknown IO ID 45"} 
[2026-08-02 13:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128216576001,"power":13624,"unknown_169":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8879620746806693888}} 
[2026-08-02 13:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":146799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:22:39] local.INFO: GPS data processed {"connection_id":146799,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:22:39] local.INFO: Acknowledgment sent {"connection_id":146799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:22:43] local.INFO: TCP Data received {"connection_id":146799,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1759b50012d7b378005e1b2780006015b22..."} 
[2026-08-02 13:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1759b50012d7b378005e1b2780006015b22..."} 
[2026-08-02 13:22:43] local.INFO: Processing buffer {"connection_id":146799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1759b50012d7b378005e1b2780006015b22..."} 
[2026-08-02 13:22:43] local.INFO: Packet analysis {"connection_id":146799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc175"} 
[2026-08-02 13:22:43] local.INFO: Extracted packet for processing {"connection_id":146799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc175"} 
[2026-08-02 13:22:43] local.INFO: GPS Element Parsed {"raw_longitude":763049856,"raw_latitude":98677368,"longitude_deg":76.3049856,"latitude_deg":9.8677368,"altitude":6,"angle":347,"satellites":34,"speed":2,"hex_longitude":"2d7b3780","hex_latitude":"05e1b278","is_valid_coordinates":true} 
[2026-08-02 13:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128221952001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113809396324106240,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879128165598068736,"note":"Value kept but may cause issues"} 
[2026-08-02 13:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785657138000,"timestamp_ms":1785657138000,"timestamp_seconds":1785657138,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1759b50"} 
[2026-08-02 13:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-02 13:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128221952001,"66":13222,"169":206,"85":15104,"24":2,"16":113809396324106240,"45":8879128165598068736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-02 13:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128221952001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:22:43] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 13:22:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113809396324106240,"km_value":113809396324106.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879128165598068736,"description":"Unknown IO ID 45"} 
[2026-08-02 13:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128221952001,"power":13222,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8879128165598068736}} 
[2026-08-02 13:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":146799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:22:43] local.INFO: GPS data processed {"connection_id":146799,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:22:43] local.INFO: Acknowledgment sent {"connection_id":146799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:23:07] local.INFO: TCP Data received {"connection_id":146798,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:23:07] local.INFO: Processing buffer {"connection_id":146798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:23:07] local.INFO: Packet analysis {"connection_id":146798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:23:07] local.INFO: Extracted packet for processing {"connection_id":146798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:23:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128088576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:23:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785656897000,"timestamp_ms":1785656897000,"timestamp_seconds":1785656897,"priority":1,"record_length":96,"hex_timestamp":"0000019fc171ede8"} 
[2026-08-02 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-08-02 13:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:23: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-08-02 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-08-02 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-08-02 13:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128088576001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128088576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:23:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:23:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:23:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128088576001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":146798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:23:07] local.INFO: GPS data processed {"connection_id":146798,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:23:07] local.INFO: Acknowledgment sent {"connection_id":146798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:23:27] local.INFO: TCP Data received {"connection_id":147823,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:23:27] local.INFO: Processing buffer {"connection_id":147823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:23:27] local.INFO: IMEI packet received {"connection_id":147823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":147823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:23:28] local.INFO: TCP Data received {"connection_id":146800,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:23:28] local.INFO: Processing buffer {"connection_id":146800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:23:28] local.INFO: IMEI packet received {"connection_id":146800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":146800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:23:29] local.INFO: TCP Data received {"connection_id":147823,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:23:29] local.INFO: Processing buffer {"connection_id":147823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:23:29] local.INFO: IMEI packet received {"connection_id":147823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":147823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:23:30] local.INFO: TCP Data received {"connection_id":147823,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:23:30] local.INFO: Processing buffer {"connection_id":147823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:23:30] local.INFO: Packet analysis {"connection_id":147823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:23:30] local.INFO: Extracted packet for processing {"connection_id":147823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:23:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128088576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785656897000,"timestamp_ms":1785656897000,"timestamp_seconds":1785656897,"priority":1,"record_length":96,"hex_timestamp":"0000019fc171ede8"} 
[2026-08-02 13:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128088576001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128088576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:23:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:23:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128088576001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":147823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:23:30] local.INFO: GPS data processed {"connection_id":147823,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:23:30] local.INFO: Acknowledgment sent {"connection_id":147823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:23:33] local.INFO: TCP Data received {"connection_id":146800,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:23:33] local.INFO: Processing buffer {"connection_id":146800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:23:33] local.INFO: IMEI packet received {"connection_id":146800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":146800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:23:34] local.INFO: TCP Data received {"connection_id":146800,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc175ce18012d7b374005e1b8580007000626..."} 
[2026-08-02 13:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc175ce18012d7b374005e1b8580007000626..."} 
[2026-08-02 13:23:34] local.INFO: Processing buffer {"connection_id":146800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc175ce18012d7b374005e1b8580007000626..."} 
[2026-08-02 13:23:34] local.INFO: Packet analysis {"connection_id":146800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc175"} 
[2026-08-02 13:23:34] local.INFO: Extracted packet for processing {"connection_id":146800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc175"} 
[2026-08-02 13:23:34] local.INFO: GPS Element Parsed {"raw_longitude":763049792,"raw_latitude":98678872,"longitude_deg":76.3049792,"latitude_deg":9.8678872,"altitude":7,"angle":6,"satellites":38,"speed":2,"hex_longitude":"2d7b3740","hex_latitude":"05e1b858","is_valid_coordinates":true} 
[2026-08-02 13:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128227328001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878705953133983744,"note":"Value kept but may cause issues"} 
[2026-08-02 13:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113809473633517568,"note":"Value kept but may cause issues"} 
[2026-08-02 13:23:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 13:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785657151000,"timestamp_ms":1785657151000,"timestamp_seconds":1785657151,"priority":1,"record_length":96,"hex_timestamp":"0000019fc175ce18"} 
[2026-08-02 13:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-02 13:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128227328001,"66":13341,"45":8878705953133983744,"85":15104,"24":2,"16":113809473633517568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-02 13:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128227328001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878705953133983744,"description":"Unknown IO ID 45"} 
[2026-08-02 13:23:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113809473633517568,"km_value":113809473633517.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:23:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457128227328001,"power":13341,"unknown_45":8878705953133983744,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-08-02 13:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":146800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:23:34] local.INFO: GPS data processed {"connection_id":146800,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:23:34] local.INFO: Acknowledgment sent {"connection_id":146800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:23:35] local.INFO: TCP Data received {"connection_id":147823,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:23:35] local.INFO: Processing buffer {"connection_id":147823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc171ede8012cc330c007685958005800c52b..."} 
[2026-08-02 13:23:35] local.INFO: Packet analysis {"connection_id":147823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:23:35] local.INFO: Extracted packet for processing {"connection_id":147823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc171"} 
[2026-08-02 13:23:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128088576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:23:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785656897000,"timestamp_ms":1785656897000,"timestamp_seconds":1785656897,"priority":1,"record_length":96,"hex_timestamp":"0000019fc171ede8"} 
[2026-08-02 13:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128088576001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128088576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:23:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:23:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:23:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128088576001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":147823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:23:35] local.INFO: GPS data processed {"connection_id":147823,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:23:35] local.INFO: Acknowledgment sent {"connection_id":147823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:24:05] local.INFO: TCP Data received {"connection_id":146800,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc175f910012d7b374005e1b9b80007015e26..."} 
[2026-08-02 13:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc175f910012d7b374005e1b9b80007015e26..."} 
[2026-08-02 13:24:05] local.INFO: Processing buffer {"connection_id":146800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc175f910012d7b374005e1b9b80007015e26..."} 
[2026-08-02 13:24:05] local.INFO: Packet analysis {"connection_id":146800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc175"} 
[2026-08-02 13:24:05] local.INFO: Extracted packet for processing {"connection_id":146800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc175"} 
[2026-08-02 13:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763049792,"raw_latitude":98679224,"longitude_deg":76.3049792,"latitude_deg":9.8679224,"altitude":7,"angle":350,"satellites":38,"speed":4,"hex_longitude":"2d7b3740","hex_latitude":"05e1b9b8","is_valid_coordinates":true} 
[2026-08-02 13:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128230656001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878635584390191104,"note":"Value kept but may cause issues"} 
[2026-08-02 13:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113809490813386752,"note":"Value kept but may cause issues"} 
[2026-08-02 13:24:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 13:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785657162000,"timestamp_ms":1785657162000,"timestamp_seconds":1785657162,"priority":1,"record_length":96,"hex_timestamp":"0000019fc175f910"} 
[2026-08-02 13:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:24: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-08-02 13: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-02 13:24: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-08-02 13:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128230656001,"66":13526,"45":8878635584390191104,"85":15104,"24":4,"16":113809490813386752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-02 13:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128230656001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878635584390191104,"description":"Unknown IO ID 45"} 
[2026-08-02 13:24:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113809490813386752,"km_value":113809490813386.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:24:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457128230656001,"power":13526,"unknown_45":8878635584390191104,"unknown_85":15104,"ignition":4,"odometer":null}} 
[2026-08-02 13:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":146800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:24:05] local.INFO: GPS data processed {"connection_id":146800,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:24:05] local.INFO: Acknowledgment sent {"connection_id":146800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:24:07] local.INFO: TCP Data received {"connection_id":147823,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:24:07] local.INFO: Processing buffer {"connection_id":147823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:24:07] local.INFO: Packet analysis {"connection_id":147823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:24:07] local.INFO: Extracted packet for processing {"connection_id":147823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128165632001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:24:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785657198000,"timestamp_ms":1785657198000,"timestamp_seconds":1785657198,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17685b0"} 
[2026-08-02 13:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13: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-08-02 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:24: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-08-02 13:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128165632001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128165632001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:24:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:24:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:24:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128165632001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":147823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:24:07] local.INFO: GPS data processed {"connection_id":147823,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:24:07] local.INFO: Acknowledgment sent {"connection_id":147823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:24:24] local.INFO: TCP Data received {"connection_id":146801,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:24:24] local.INFO: Processing buffer {"connection_id":146801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:24:24] local.INFO: IMEI packet received {"connection_id":146801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":146801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:24:28] local.INFO: TCP Data received {"connection_id":149138,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:24:28] local.INFO: Processing buffer {"connection_id":149138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:24:28] local.INFO: IMEI packet received {"connection_id":149138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":149138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:24:29] local.INFO: TCP Data received {"connection_id":146801,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:24:29] local.INFO: Processing buffer {"connection_id":146801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:24:29] local.INFO: IMEI packet received {"connection_id":146801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":146801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:24:31] local.INFO: TCP Data received {"connection_id":146801,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:24:31] local.INFO: Processing buffer {"connection_id":146801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:24:31] local.INFO: Packet analysis {"connection_id":146801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:24:31] local.INFO: Extracted packet for processing {"connection_id":146801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:24:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128165632001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785657198000,"timestamp_ms":1785657198000,"timestamp_seconds":1785657198,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17685b0"} 
[2026-08-02 13:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128165632001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128165632001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:24:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:24:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128165632001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":146801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:24:31] local.INFO: GPS data processed {"connection_id":146801,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:24:31] local.INFO: Acknowledgment sent {"connection_id":146801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:24:33] local.INFO: TCP Data received {"connection_id":149138,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:24:33] local.INFO: Processing buffer {"connection_id":149138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:24:33] local.INFO: IMEI packet received {"connection_id":149138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":149138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:24:33] local.INFO: TCP Data received {"connection_id":149138,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1762bd8012d7b368005e1c2300008000125..."} 
[2026-08-02 13:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1762bd8012d7b368005e1c2300008000125..."} 
[2026-08-02 13:24:33] local.INFO: Processing buffer {"connection_id":149138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1762bd8012d7b368005e1c2300008000125..."} 
[2026-08-02 13:24:33] local.INFO: Packet analysis {"connection_id":149138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:24:33] local.INFO: Extracted packet for processing {"connection_id":149138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763049600,"raw_latitude":98681392,"longitude_deg":76.30496,"latitude_deg":9.8681392,"altitude":8,"angle":1,"satellites":37,"speed":2,"hex_longitude":"2d7b3680","hex_latitude":"05e1c230","is_valid_coordinates":true} 
[2026-08-02 13:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128233472001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878635584390281216,"note":"Value kept but may cause issues"} 
[2026-08-02 13:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113809598187569152,"note":"Value kept but may cause issues"} 
[2026-08-02 13:24:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 13:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785657175000,"timestamp_ms":1785657175000,"timestamp_seconds":1785657175,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1762bd8"} 
[2026-08-02 13:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 13:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128233472001,"66":13276,"45":8878635584390281216,"85":15104,"24":2,"16":113809598187569152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-02 13:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128233472001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878635584390281216,"description":"Unknown IO ID 45"} 
[2026-08-02 13:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113809598187569152,"km_value":113809598187569.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:24:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457128233472001,"power":13276,"unknown_45":8878635584390281216,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-08-02 13:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":149138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:24:33] local.INFO: GPS data processed {"connection_id":149138,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:24:33] local.INFO: Acknowledgment sent {"connection_id":149138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:25:05] local.INFO: TCP Data received {"connection_id":149138,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1764730012d7b364005e1c5580008015c25..."} 
[2026-08-02 13:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1764730012d7b364005e1c5580008015c25..."} 
[2026-08-02 13:25:05] local.INFO: Processing buffer {"connection_id":149138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1764730012d7b364005e1c5580008015c25..."} 
[2026-08-02 13:25:05] local.INFO: Packet analysis {"connection_id":149138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:25:05] local.INFO: Extracted packet for processing {"connection_id":149138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763049536,"raw_latitude":98682200,"longitude_deg":76.3049536,"latitude_deg":9.86822,"altitude":8,"angle":348,"satellites":37,"speed":8,"hex_longitude":"2d7b3640","hex_latitude":"05e1c558","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128236800001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878424478158303232,"note":"Value kept but may cause issues"} 
[2026-08-02 13:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113809636842274816,"note":"Value kept but may cause issues"} 
[2026-08-02 13:25:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 13:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785657182000,"timestamp_ms":1785657182000,"timestamp_seconds":1785657182,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1764730"} 
[2026-08-02 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-08-02 13:25: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-08-02 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":220,"data_length":795,"current_offset":136} 
[2026-08-02 13:25: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-08-02 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-08-02 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-08-02 13:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128236800001,"66":13537,"45":8878424478158303232,"85":15104,"24":8,"16":113809636842274816},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-02 13:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128236800001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878424478158303232,"description":"Unknown IO ID 45"} 
[2026-08-02 13:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113809636842274816,"km_value":113809636842274.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:25:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457128236800001,"power":13537,"unknown_45":8878424478158303232,"unknown_85":15104,"ignition":8,"odometer":null}} 
[2026-08-02 13:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":149138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:25:05] local.INFO: GPS data processed {"connection_id":149138,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:25:05] local.INFO: Acknowledgment sent {"connection_id":149138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:25:08] local.INFO: TCP Data received {"connection_id":146801,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:25:08] local.INFO: Processing buffer {"connection_id":146801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:25:08] local.INFO: Packet analysis {"connection_id":146801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:25:08] local.INFO: Extracted packet for processing {"connection_id":146801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:25:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128165632001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:25:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785657198000,"timestamp_ms":1785657198000,"timestamp_seconds":1785657198,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17685b0"} 
[2026-08-02 13:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13: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-08-02 13:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128165632001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128165632001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:25:08] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:25:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:25:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128165632001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":146801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:25:08] local.INFO: GPS data processed {"connection_id":146801,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:25:08] local.INFO: Acknowledgment sent {"connection_id":146801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:25:24] local.INFO: TCP Data received {"connection_id":147824,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:25:24] local.INFO: Processing buffer {"connection_id":147824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:25:24] local.INFO: IMEI packet received {"connection_id":147824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":147824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:25:28] local.INFO: TCP Data received {"connection_id":147825,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:25:28] local.INFO: Processing buffer {"connection_id":147825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:25:28] local.INFO: IMEI packet received {"connection_id":147825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":147825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:25:29] local.INFO: TCP Data received {"connection_id":147824,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:25:29] local.INFO: Processing buffer {"connection_id":147824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:25:29] local.INFO: IMEI packet received {"connection_id":147824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":147824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:25:31] local.INFO: TCP Data received {"connection_id":147824,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:25:31] local.INFO: Processing buffer {"connection_id":147824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:25:31] local.INFO: Packet analysis {"connection_id":147824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:25:31] local.INFO: Extracted packet for processing {"connection_id":147824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:25:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128165632001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:25:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785657198000,"timestamp_ms":1785657198000,"timestamp_seconds":1785657198,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17685b0"} 
[2026-08-02 13:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128165632001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128165632001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:25:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:25:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:25:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128165632001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":147824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:25:31] local.INFO: GPS data processed {"connection_id":147824,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:25:31] local.INFO: Acknowledgment sent {"connection_id":147824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:25:32] local.INFO: TCP Data received {"connection_id":147825,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:25:32] local.INFO: Processing buffer {"connection_id":147825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:25:32] local.INFO: IMEI packet received {"connection_id":147825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":147825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:25:33] local.INFO: TCP Data received {"connection_id":147825,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1769550012d7b344005e1d7280009015c23..."} 
[2026-08-02 13:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1769550012d7b344005e1d7280009015c23..."} 
[2026-08-02 13:25:33] local.INFO: Processing buffer {"connection_id":147825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1769550012d7b344005e1d7280009015c23..."} 
[2026-08-02 13:25:33] local.INFO: Packet analysis {"connection_id":147825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:25:33] local.INFO: Extracted packet for processing {"connection_id":147825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763049024,"raw_latitude":98686760,"longitude_deg":76.3049024,"latitude_deg":9.868676,"altitude":9,"angle":348,"satellites":35,"speed":8,"hex_longitude":"2d7b3440","hex_latitude":"05e1d728","is_valid_coordinates":true} 
[2026-08-02 13:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128238592001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878354109414332416,"note":"Value kept but may cause issues"} 
[2026-08-02 13:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113809860180574208,"note":"Value kept but may cause issues"} 
[2026-08-02 13:25:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 13:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785657202000,"timestamp_ms":1785657202000,"timestamp_seconds":1785657202,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1769550"} 
[2026-08-02 13:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-02 13:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128238592001,"66":13515,"45":8878354109414332416,"85":15104,"24":8,"16":113809860180574208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-02 13:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128238592001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878354109414332416,"description":"Unknown IO ID 45"} 
[2026-08-02 13:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113809860180574208,"km_value":113809860180574.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:25:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457128238592001,"power":13515,"unknown_45":8878354109414332416,"unknown_85":15104,"ignition":8,"odometer":null}} 
[2026-08-02 13:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":147825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:25:33] local.INFO: GPS data processed {"connection_id":147825,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:25:33] local.INFO: Acknowledgment sent {"connection_id":147825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:26:02] local.INFO: TCP Data received {"connection_id":147824,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:26:02] local.INFO: Processing buffer {"connection_id":147824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:26:02] local.INFO: Packet analysis {"connection_id":147824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:26:02] local.INFO: Extracted packet for processing {"connection_id":147824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:26:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128165632001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785657198000,"timestamp_ms":1785657198000,"timestamp_seconds":1785657198,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17685b0"} 
[2026-08-02 13:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128165632001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128165632001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:26:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:26:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128165632001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":147824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:26:02] local.INFO: GPS data processed {"connection_id":147824,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:26:02] local.INFO: Acknowledgment sent {"connection_id":147824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:26:04] local.INFO: TCP Data received {"connection_id":147825,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc176e758012d7b328005e1e8b80008016022..."} 
[2026-08-02 13:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc176e758012d7b328005e1e8b80008016022..."} 
[2026-08-02 13:26:04] local.INFO: Processing buffer {"connection_id":147825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc176e758012d7b328005e1e8b80008016022..."} 
[2026-08-02 13:26:04] local.INFO: Packet analysis {"connection_id":147825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:26:04] local.INFO: Extracted packet for processing {"connection_id":147825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763048576,"raw_latitude":98691256,"longitude_deg":76.3048576,"latitude_deg":9.8691256,"altitude":8,"angle":352,"satellites":34,"speed":8,"hex_longitude":"2d7b3280","hex_latitude":"05e1e8b8","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128243712001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877791159462078464,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113810087813840896,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26: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-08-02 13:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785657223000,"timestamp_ms":1785657223000,"timestamp_seconds":1785657223,"priority":1,"record_length":96,"hex_timestamp":"0000019fc176e758"} 
[2026-08-02 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-08-02 13:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":203,"data_length":795,"current_offset":136} 
[2026-08-02 13:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 13:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128243712001,"66":13580,"45":8877791159462078464,"85":15104,"24":8,"16":113810087813840896},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-02 13:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128243712001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877791159462078464,"description":"Unknown IO ID 45"} 
[2026-08-02 13:26:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113810087813840896,"km_value":113810087813840.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:26:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457128243712001,"power":13580,"unknown_45":8877791159462078464,"unknown_85":15104,"ignition":8,"odometer":null}} 
[2026-08-02 13:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":147825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:26:04] local.INFO: GPS data processed {"connection_id":147825,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:26:04] local.INFO: Acknowledgment sent {"connection_id":147825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:26:28] local.INFO: TCP Data received {"connection_id":146588,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:26:28] local.INFO: Processing buffer {"connection_id":146588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:26:28] local.INFO: IMEI packet received {"connection_id":146588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":146588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:26:28] local.INFO: TCP Data received {"connection_id":146588,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:26:28] local.INFO: Processing buffer {"connection_id":146588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:26:28] local.INFO: IMEI packet received {"connection_id":146588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":146588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:26:29] local.INFO: TCP Data received {"connection_id":146802,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:26:29] local.INFO: Processing buffer {"connection_id":146802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:26:29] local.INFO: IMEI packet received {"connection_id":146802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":146802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:26:33] local.INFO: TCP Data received {"connection_id":146588,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:26:33] local.INFO: Processing buffer {"connection_id":146588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:26:33] local.INFO: IMEI packet received {"connection_id":146588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":146588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:26:34] local.INFO: TCP Data received {"connection_id":146588,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1792590012d7b198005e2bc880000015f22..."} 
[2026-08-02 13:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1792590012d7b198005e2bc880000015f22..."} 
[2026-08-02 13:26:34] local.INFO: Processing buffer {"connection_id":146588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1792590012d7b198005e2bc880000015f22..."} 
[2026-08-02 13:26:34] local.INFO: Packet analysis {"connection_id":146588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc179"} 
[2026-08-02 13:26:34] local.INFO: Extracted packet for processing {"connection_id":146588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc179"} 
[2026-08-02 13:26:34] local.INFO: GPS Element Parsed {"raw_longitude":763042176,"raw_latitude":98745480,"longitude_deg":76.3042176,"latitude_deg":9.874548,"altitude":0,"angle":351,"satellites":34,"speed":45,"hex_longitude":"2d7b1980","hex_latitude":"05e2bc88","is_valid_coordinates":true} 
[2026-08-02 13:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128284416001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113812750693564416,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871669078731280384,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785657370000,"timestamp_ms":1785657370000,"timestamp_seconds":1785657370,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1792590"} 
[2026-08-02 13:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:26: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-08-02 13:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 13:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128284416001,"66":13515,"96":206,"85":15104,"24":45,"16":113812750693564416,"45":8871669078731280384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-02 13:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128284416001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:26:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-02 13:26:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113812750693564416,"km_value":113812750693564.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871669078731280384,"description":"Unknown IO ID 45"} 
[2026-08-02 13:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128284416001,"power":13515,"unknown_96":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8871669078731280384}} 
[2026-08-02 13:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":146588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:26:34] local.INFO: GPS data processed {"connection_id":146588,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:26:34] local.INFO: Acknowledgment sent {"connection_id":146588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:26:34] local.INFO: TCP Data received {"connection_id":146802,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:26:34] local.INFO: Processing buffer {"connection_id":146802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:26:34] local.INFO: IMEI packet received {"connection_id":146802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":146802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:26:35] local.INFO: TCP Data received {"connection_id":146802,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:26:35] local.INFO: Processing buffer {"connection_id":146802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:26:35] local.INFO: Packet analysis {"connection_id":146802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:26:35] local.INFO: Extracted packet for processing {"connection_id":146802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:26:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128165632001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785657198000,"timestamp_ms":1785657198000,"timestamp_seconds":1785657198,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17685b0"} 
[2026-08-02 13:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128165632001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128165632001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:26:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:26:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:26:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128165632001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":146802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:26:36] local.INFO: GPS data processed {"connection_id":146802,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:26:36] local.INFO: Acknowledgment sent {"connection_id":146802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:26:40] local.INFO: TCP Data received {"connection_id":146802,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:26:40] local.INFO: Processing buffer {"connection_id":146802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:26:40] local.INFO: Packet analysis {"connection_id":146802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:26:40] local.INFO: Extracted packet for processing {"connection_id":146802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:26:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128165632001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785657198000,"timestamp_ms":1785657198000,"timestamp_seconds":1785657198,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17685b0"} 
[2026-08-02 13:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:26: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-08-02 13:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128165632001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128165632001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:26:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:26:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:26:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128165632001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":146802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:26:40] local.INFO: GPS data processed {"connection_id":146802,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:26:40] local.INFO: Acknowledgment sent {"connection_id":146802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:27:05] local.INFO: TCP Data received {"connection_id":146588,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17944d0012d7b13c005e2e300000001601e..."} 
[2026-08-02 13:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17944d0012d7b13c005e2e300000001601e..."} 
[2026-08-02 13:27:05] local.INFO: Processing buffer {"connection_id":146588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17944d0012d7b13c005e2e300000001601e..."} 
[2026-08-02 13:27:05] local.INFO: Packet analysis {"connection_id":146588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc179"} 
[2026-08-02 13:27:05] local.INFO: Extracted packet for processing {"connection_id":146588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc179"} 
[2026-08-02 13:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763040704,"raw_latitude":98755328,"longitude_deg":76.3040704,"latitude_deg":9.8755328,"altitude":0,"angle":352,"satellites":30,"speed":51,"hex_longitude":"2d7b13c0","hex_latitude":"05e2e300","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128286720001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113813231729901568,"note":"Value kept but may cause issues"} 
[2026-08-02 13:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870261703850100736,"note":"Value kept but may cause issues"} 
[2026-08-02 13:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785657378000,"timestamp_ms":1785657378000,"timestamp_seconds":1785657378,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17944d0"} 
[2026-08-02 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-08-02 13:27: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-08-02 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 13:27: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-08-02 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-08-02 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-08-02 13:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128286720001,"66":13493,"96":206,"85":15104,"24":51,"16":113813231729901568,"45":8870261703850100736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-02 13:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128286720001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:27:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-02 13:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113813231729901568,"km_value":113813231729901.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870261703850100736,"description":"Unknown IO ID 45"} 
[2026-08-02 13:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128286720001,"power":13493,"unknown_96":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8870261703850100736}} 
[2026-08-02 13:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":146588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:27:05] local.INFO: GPS data processed {"connection_id":146588,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:27:05] local.INFO: Acknowledgment sent {"connection_id":146588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:27:27] local.INFO: TCP Data received {"connection_id":149139,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:27:27] local.INFO: Processing buffer {"connection_id":149139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:27:27] local.INFO: IMEI packet received {"connection_id":149139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":149139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:27:27] local.INFO: TCP Data received {"connection_id":146589,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:27:27] local.INFO: Processing buffer {"connection_id":146589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:27:27] local.INFO: IMEI packet received {"connection_id":146589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":146589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:27:33] local.INFO: TCP Data received {"connection_id":146589,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:27:33] local.INFO: Processing buffer {"connection_id":146589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:27:33] local.INFO: IMEI packet received {"connection_id":146589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":146589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:27:34] local.INFO: TCP Data received {"connection_id":146589,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1796410012d7b0f0005e306680000015f18..."} 
[2026-08-02 13:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1796410012d7b0f0005e306680000015f18..."} 
[2026-08-02 13:27:34] local.INFO: Processing buffer {"connection_id":146589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1796410012d7b0f0005e306680000015f18..."} 
[2026-08-02 13:27:34] local.INFO: Packet analysis {"connection_id":146589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc179"} 
[2026-08-02 13:27:34] local.INFO: Extracted packet for processing {"connection_id":146589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc179"} 
[2026-08-02 13:27:34] local.INFO: GPS Element Parsed {"raw_longitude":763039488,"raw_latitude":98764392,"longitude_deg":76.3039488,"latitude_deg":9.8764392,"altitude":0,"angle":351,"satellites":24,"speed":37,"hex_longitude":"2d7b0f00","hex_latitude":"05e30668","is_valid_coordinates":true} 
[2026-08-02 13:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128288768001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113813674111533056,"note":"Value kept but may cause issues"} 
[2026-08-02 13:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868643222736535552,"note":"Value kept but may cause issues"} 
[2026-08-02 13:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785657386000,"timestamp_ms":1785657386000,"timestamp_seconds":1785657386,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1796410"} 
[2026-08-02 13:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:27: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-08-02 13:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 13:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128288768001,"66":13580,"96":206,"85":15104,"24":37,"16":113813674111533056,"45":8868643222736535552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-02 13:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128288768001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:27:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-02 13:27:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113813674111533056,"km_value":113813674111533.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868643222736535552,"description":"Unknown IO ID 45"} 
[2026-08-02 13:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128288768001,"power":13580,"unknown_96":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8868643222736535552}} 
[2026-08-02 13:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":146589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:27:34] local.INFO: GPS data processed {"connection_id":146589,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:27:34] local.INFO: Acknowledgment sent {"connection_id":146589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:27:34] local.INFO: TCP Data received {"connection_id":149139,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:27:34] local.INFO: Processing buffer {"connection_id":149139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:27:34] local.INFO: IMEI packet received {"connection_id":149139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":149139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:27:35] local.INFO: TCP Data received {"connection_id":149139,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:27:35] local.INFO: Processing buffer {"connection_id":149139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:27:35] local.INFO: Packet analysis {"connection_id":149139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:27:35] local.INFO: Extracted packet for processing {"connection_id":149139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:27:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128165632001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:27:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785657198000,"timestamp_ms":1785657198000,"timestamp_seconds":1785657198,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17685b0"} 
[2026-08-02 13:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128165632001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128165632001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:27:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:27:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:27:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128165632001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":149139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:27:36] local.INFO: GPS data processed {"connection_id":149139,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:27:36] local.INFO: Acknowledgment sent {"connection_id":149139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:27:55] local.INFO: TCP Data received {"connection_id":149139,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:27:55] local.INFO: Processing buffer {"connection_id":149139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:27:55] local.INFO: Packet analysis {"connection_id":149139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:27:55] local.INFO: Extracted packet for processing {"connection_id":149139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:27:55] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128165632001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:27:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785657198000,"timestamp_ms":1785657198000,"timestamp_seconds":1785657198,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17685b0"} 
[2026-08-02 13:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128165632001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128165632001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:27:55] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:27:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:27:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128165632001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":149139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:27:55] local.INFO: GPS data processed {"connection_id":149139,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:27:55] local.INFO: Acknowledgment sent {"connection_id":149139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:28:05] local.INFO: TCP Data received {"connection_id":146589,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1798f08012d7b07c005e32a58000001621b..."} 
[2026-08-02 13:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1798f08012d7b07c005e32a58000001621b..."} 
[2026-08-02 13:28:05] local.INFO: Processing buffer {"connection_id":146589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1798f08012d7b07c005e32a58000001621b..."} 
[2026-08-02 13:28:05] local.INFO: Packet analysis {"connection_id":146589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc179"} 
[2026-08-02 13:28:05] local.INFO: Extracted packet for processing {"connection_id":146589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc179"} 
[2026-08-02 13:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98773592,"longitude_deg":76.3037632,"latitude_deg":9.8773592,"altitude":0,"angle":354,"satellites":27,"speed":33,"hex_longitude":"2d7b07c0","hex_latitude":"05e32a58","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128290816001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113814129378066432,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867306216599480320,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785657397000,"timestamp_ms":1785657397000,"timestamp_seconds":1785657397,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1798f08"} 
[2026-08-02 13:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:28: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-08-02 13: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617110,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3245891160,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7757875869145628672,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633436454299561,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":8358907028378275413,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3794792448,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3206569403697070092,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:05] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,96,85,24,241,157,16,88,159,68,45,192,227,30,10,66,37,128,188,34,2,1,240,62,87,193,226,4,113,205,172,40,80,36,239,52,169,148,5,11,6,123,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-08-02 13:28:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":386031662989312,"timestamp_seconds":386031662989.312,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 13:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128290816001,"66":13526,"96":206,"85":15104,"24":33,"16":113814129378066432,"45":8867306216599480320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-02 13:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128290816001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:28:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-02 13:28:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113814129378066432,"km_value":113814129378066.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867306216599480320,"description":"Unknown IO ID 45"} 
[2026-08-02 13:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128290816001,"power":13526,"unknown_96":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8867306216599480320}} 
[2026-08-02 13:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":146589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:28:05] local.INFO: GPS data processed {"connection_id":146589,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:28:05] local.INFO: Acknowledgment sent {"connection_id":146589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:28:24] local.INFO: TCP Data received {"connection_id":147826,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:28:24] local.INFO: Processing buffer {"connection_id":147826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:28:24] local.INFO: IMEI packet received {"connection_id":147826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":147826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:28:29] local.INFO: TCP Data received {"connection_id":147826,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:28:29] local.INFO: Processing buffer {"connection_id":147826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:28:29] local.INFO: IMEI packet received {"connection_id":147826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":147826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:28:31] local.INFO: TCP Data received {"connection_id":147826,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:28:31] local.INFO: Processing buffer {"connection_id":147826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17685b0012cc330c007685958005800c52d..."} 
[2026-08-02 13:28:31] local.INFO: Packet analysis {"connection_id":147826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:28:31] local.INFO: Extracted packet for processing {"connection_id":147826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc176"} 
[2026-08-02 13:28:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128165632001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785657198000,"timestamp_ms":1785657198000,"timestamp_seconds":1785657198,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17685b0"} 
[2026-08-02 13:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128165632001,"66":25604,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128165632001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:28:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:28:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:28:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128165632001,"power":25604,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":147826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:28:31] local.INFO: GPS data processed {"connection_id":147826,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:28:31] local.INFO: Acknowledgment sent {"connection_id":147826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:28:37] local.INFO: TCP Data received {"connection_id":149140,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:28:37] local.INFO: Processing buffer {"connection_id":149140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:28:37] local.INFO: IMEI packet received {"connection_id":149140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":149140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:28:42] local.INFO: TCP Data received {"connection_id":149140,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:28:42] local.INFO: Processing buffer {"connection_id":149140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:28:42] local.INFO: IMEI packet received {"connection_id":149140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":149140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:28:42] local.INFO: TCP Data received {"connection_id":149140,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:28:42] local.INFO: Processing buffer {"connection_id":149140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:28:42] local.INFO: IMEI packet received {"connection_id":149140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":149140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:28:43] local.INFO: TCP Data received {"connection_id":149140,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc179b230012d7b078005e34570000000071f..."} 
[2026-08-02 13:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc179b230012d7b078005e34570000000071f..."} 
[2026-08-02 13:28:43] local.INFO: Processing buffer {"connection_id":149140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc179b230012d7b078005e34570000000071f..."} 
[2026-08-02 13:28:43] local.INFO: Packet analysis {"connection_id":149140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc179"} 
[2026-08-02 13:28:43] local.INFO: Extracted packet for processing {"connection_id":149140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc179"} 
[2026-08-02 13:28:43] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":98780528,"longitude_deg":76.3037568,"latitude_deg":9.8780528,"altitude":0,"angle":7,"satellites":31,"speed":24,"hex_longitude":"2d7b0780","hex_latitude":"05e34570","is_valid_coordinates":true} 
[2026-08-02 13:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128293632001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113814468680482816,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865265523020683264,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785657406000,"timestamp_ms":1785657406000,"timestamp_seconds":1785657406,"priority":1,"record_length":96,"hex_timestamp":"0000019fc179b230"} 
[2026-08-02 13:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 13:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":149140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":149140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":149140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128293632001,"66":13374,"97":206,"85":15104,"24":24,"16":113814468680482816,"45":8865265523020683264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-02 13:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128293632001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:28:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-02 13:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113814468680482816,"km_value":113814468680482.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865265523020683264,"description":"Unknown IO ID 45"} 
[2026-08-02 13:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128293632001,"power":13374,"unknown_97":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8865265523020683264}} 
[2026-08-02 13:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":149140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:28:43] local.INFO: GPS data processed {"connection_id":149140,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:28:43] local.INFO: Acknowledgment sent {"connection_id":149140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:28:47] local.INFO: TCP Data received {"connection_id":149140,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc179ba00012d7b08c005e349c80000001420..."} 
[2026-08-02 13:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc179ba00012d7b08c005e349c80000001420..."} 
[2026-08-02 13:28:47] local.INFO: Processing buffer {"connection_id":149140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc179ba00012d7b08c005e349c80000001420..."} 
[2026-08-02 13:28:47] local.INFO: Packet analysis {"connection_id":149140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc179"} 
[2026-08-02 13:28:47] local.INFO: Extracted packet for processing {"connection_id":149140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc179"} 
[2026-08-02 13:28:47] local.INFO: GPS Element Parsed {"raw_longitude":763037888,"raw_latitude":98781640,"longitude_deg":76.3037888,"latitude_deg":9.878164,"altitude":0,"angle":20,"satellites":32,"speed":18,"hex_longitude":"2d7b08c0","hex_latitude":"05e349c8","is_valid_coordinates":true} 
[2026-08-02 13:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128295936001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113814524515057664,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154278281216,"note":"Value kept but may cause issues"} 
[2026-08-02 13:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785657408000,"timestamp_ms":1785657408000,"timestamp_seconds":1785657408,"priority":1,"record_length":96,"hex_timestamp":"0000019fc179ba00"} 
[2026-08-02 13:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 13:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128295936001,"66":13330,"97":206,"85":15104,"24":18,"16":113814524515057664,"45":8865195154278281216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-02 13:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128295936001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:28:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-02 13:28:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113814524515057664,"km_value":113814524515057.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154278281216,"description":"Unknown IO ID 45"} 
[2026-08-02 13:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128295936001,"power":13330,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8865195154278281216}} 
[2026-08-02 13:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":149140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:28:47] local.INFO: GPS data processed {"connection_id":149140,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:28:47] local.INFO: Acknowledgment sent {"connection_id":149140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:29:02] local.INFO: TCP Data received {"connection_id":147826,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:29:02] local.INFO: Processing buffer {"connection_id":147826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:29:02] local.INFO: Packet analysis {"connection_id":147826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:29:02] local.INFO: Extracted packet for processing {"connection_id":147826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:29:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128242688001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:29:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785657499000,"timestamp_ms":1785657499000,"timestamp_seconds":1785657499,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17b1d78"} 
[2026-08-02 13:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128242688001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128242688001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:29:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:29:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:29:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128242688001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":147826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:29:02] local.INFO: GPS data processed {"connection_id":147826,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:29:02] local.INFO: Acknowledgment sent {"connection_id":147826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:29:27] local.INFO: TCP Data received {"connection_id":149142,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:29:27] local.INFO: Processing buffer {"connection_id":149142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:29:27] local.INFO: IMEI packet received {"connection_id":149142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":149142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:29:29] local.INFO: TCP Data received {"connection_id":149141,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:29:29] local.INFO: Processing buffer {"connection_id":149141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:29:29] local.INFO: IMEI packet received {"connection_id":149141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":149141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:29:33] local.INFO: TCP Data received {"connection_id":149142,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:29:33] local.INFO: Processing buffer {"connection_id":149142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:29:33] local.INFO: IMEI packet received {"connection_id":149142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":149142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:29:34] local.INFO: TCP Data received {"connection_id":149142,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17bc188012d7bc48005e46288001000212f..."} 
[2026-08-02 13:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17bc188012d7bc48005e46288001000212f..."} 
[2026-08-02 13:29:34] local.INFO: Processing buffer {"connection_id":149142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17bc188012d7bc48005e46288001000212f..."} 
[2026-08-02 13:29:34] local.INFO: Packet analysis {"connection_id":149142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:29:34] local.INFO: Extracted packet for processing {"connection_id":149142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:29:34] local.INFO: GPS Element Parsed {"raw_longitude":763085952,"raw_latitude":98853512,"longitude_deg":76.3085952,"latitude_deg":9.8853512,"altitude":16,"angle":33,"satellites":47,"speed":49,"hex_longitude":"2d7bc480","hex_latitude":"05e46288","is_valid_coordinates":true} 
[2026-08-02 13:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128328448001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113818716403138560,"note":"Value kept but may cause issues"} 
[2026-08-02 13:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912412581638070272,"note":"Value kept but may cause issues"} 
[2026-08-02 13:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785657541000,"timestamp_ms":1785657541000,"timestamp_seconds":1785657541,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17bc188"} 
[2026-08-02 13:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:29: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-08-02 13:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 13:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128328448001,"66":13515,"95":206,"85":15104,"24":49,"16":113818716403138560,"45":8912412581638070272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 13:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128328448001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:29:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 13:29:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113818716403138560,"km_value":113818716403138.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912412581638070272,"description":"Unknown IO ID 45"} 
[2026-08-02 13:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128328448001,"power":13515,"unknown_95":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8912412581638070272}} 
[2026-08-02 13:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":149142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:29:34] local.INFO: GPS data processed {"connection_id":149142,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:29:34] local.INFO: Acknowledgment sent {"connection_id":149142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:29:35] local.INFO: TCP Data received {"connection_id":149141,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:29:35] local.INFO: Processing buffer {"connection_id":149141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:29:35] local.INFO: IMEI packet received {"connection_id":149141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":149141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:29:37] local.INFO: TCP Data received {"connection_id":146590,"ip":"91.238.181.94","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-02 13:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146590,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-02 13:29:37] local.INFO: Processing buffer {"connection_id":146590,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-02 13:29:37] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":146590,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-08-02 13:29:43] local.INFO: TCP Data received {"connection_id":149141,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:29:43] local.INFO: Processing buffer {"connection_id":149141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:29:43] local.INFO: Packet analysis {"connection_id":149141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:29:43] local.INFO: Extracted packet for processing {"connection_id":149141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:29:43] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128242688001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:29:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785657499000,"timestamp_ms":1785657499000,"timestamp_seconds":1785657499,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17b1d78"} 
[2026-08-02 13:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":149141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":149141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":149141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128242688001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128242688001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:29:43] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:29:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:29:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128242688001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":149141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:29:43] local.INFO: GPS data processed {"connection_id":149141,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:29:43] local.INFO: Acknowledgment sent {"connection_id":149141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:30:05] local.INFO: TCP Data received {"connection_id":149142,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17bdce0012d7bd88005e480e8000f00212f..."} 
[2026-08-02 13:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17bdce0012d7bd88005e480e8000f00212f..."} 
[2026-08-02 13:30:05] local.INFO: Processing buffer {"connection_id":149142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17bdce0012d7bd88005e480e8000f00212f..."} 
[2026-08-02 13:30:05] local.INFO: Packet analysis {"connection_id":149142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:30:05] local.INFO: Extracted packet for processing {"connection_id":149142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763091072,"raw_latitude":98861288,"longitude_deg":76.3091072,"latitude_deg":9.8861288,"altitude":15,"angle":33,"satellites":47,"speed":54,"hex_longitude":"2d7bd880","hex_latitude":"05e480e8","is_valid_coordinates":true} 
[2026-08-02 13:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128330496001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113819163079737344,"note":"Value kept but may cause issues"} 
[2026-08-02 13:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918393924895279104,"note":"Value kept but may cause issues"} 
[2026-08-02 13:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785657548000,"timestamp_ms":1785657548000,"timestamp_seconds":1785657548,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17bdce0"} 
[2026-08-02 13:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:30: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-08-02 13: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 13:30: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-08-02 13:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128330496001,"66":13450,"95":206,"85":15104,"24":54,"16":113819163079737344,"45":8918393924895279104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 13:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128330496001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:30:05] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 13:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113819163079737344,"km_value":113819163079737.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918393924895279104,"description":"Unknown IO ID 45"} 
[2026-08-02 13:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128330496001,"power":13450,"unknown_95":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8918393924895279104}} 
[2026-08-02 13:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":149142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:30:05] local.INFO: GPS data processed {"connection_id":149142,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:30:05] local.INFO: Acknowledgment sent {"connection_id":149142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:30:25] local.INFO: TCP Data received {"connection_id":147827,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:30:25] local.INFO: Processing buffer {"connection_id":147827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:30:25] local.INFO: IMEI packet received {"connection_id":147827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":147827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:30:29] local.INFO: TCP Data received {"connection_id":147827,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:30:29] local.INFO: Processing buffer {"connection_id":147827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:30:29] local.INFO: IMEI packet received {"connection_id":147827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":147827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:30:31] local.INFO: TCP Data received {"connection_id":147827,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:30:31] local.INFO: Processing buffer {"connection_id":147827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:30:31] local.INFO: Packet analysis {"connection_id":147827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:30:31] local.INFO: Extracted packet for processing {"connection_id":147827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:30:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128242688001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:30:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785657499000,"timestamp_ms":1785657499000,"timestamp_seconds":1785657499,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17b1d78"} 
[2026-08-02 13:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128242688001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128242688001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:30:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:30:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:30:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128242688001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":147827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:30:31] local.INFO: GPS data processed {"connection_id":147827,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:30:31] local.INFO: Acknowledgment sent {"connection_id":147827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:30:33] local.INFO: TCP Data received {"connection_id":147828,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:30:33] local.INFO: Processing buffer {"connection_id":147828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:30:33] local.INFO: IMEI packet received {"connection_id":147828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":147828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:30:36] local.INFO: TCP Data received {"connection_id":147828,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:30:36] local.INFO: Processing buffer {"connection_id":147828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:30:36] local.INFO: IMEI packet received {"connection_id":147828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":147828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:30:37] local.INFO: TCP Data received {"connection_id":147828,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17bf838012d7bedc005e4a198000e00212e..."} 
[2026-08-02 13:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17bf838012d7bedc005e4a198000e00212e..."} 
[2026-08-02 13:30:37] local.INFO: Processing buffer {"connection_id":147828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17bf838012d7bedc005e4a198000e00212e..."} 
[2026-08-02 13:30:37] local.INFO: Packet analysis {"connection_id":147828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:30:37] local.INFO: Extracted packet for processing {"connection_id":147828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763096512,"raw_latitude":98869656,"longitude_deg":76.3096512,"latitude_deg":9.8869656,"altitude":14,"angle":33,"satellites":46,"speed":57,"hex_longitude":"2d7bedc0","hex_latitude":"05e4a198","is_valid_coordinates":true} 
[2026-08-02 13:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128332288001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113819648411041792,"note":"Value kept but may cause issues"} 
[2026-08-02 13:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924023424431482880,"note":"Value kept but may cause issues"} 
[2026-08-02 13:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785657555000,"timestamp_ms":1785657555000,"timestamp_seconds":1785657555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17bf838"} 
[2026-08-02 13:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:30: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-08-02 13: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 13:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128332288001,"66":13526,"95":206,"85":15104,"24":57,"16":113819648411041792,"45":8924023424431482880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 13:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128332288001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:30:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 13:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113819648411041792,"km_value":113819648411041.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924023424431482880,"description":"Unknown IO ID 45"} 
[2026-08-02 13:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128332288001,"power":13526,"unknown_95":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8924023424431482880}} 
[2026-08-02 13:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":147828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:30:37] local.INFO: GPS data processed {"connection_id":147828,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:30:37] local.INFO: Acknowledgment sent {"connection_id":147828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:30:38] local.INFO: TCP Data received {"connection_id":147828,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17c1390012d7c02c005e4c168000c00212e..."} 
[2026-08-02 13:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17c1390012d7c02c005e4c168000c00212e..."} 
[2026-08-02 13:30:38] local.INFO: Processing buffer {"connection_id":147828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17c1390012d7c02c005e4c168000c00212e..."} 
[2026-08-02 13:30:38] local.INFO: Packet analysis {"connection_id":147828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17c"} 
[2026-08-02 13:30:38] local.INFO: Extracted packet for processing {"connection_id":147828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17c"} 
[2026-08-02 13:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763101888,"raw_latitude":98877800,"longitude_deg":76.3101888,"latitude_deg":9.88778,"altitude":12,"angle":33,"satellites":46,"speed":50,"hex_longitude":"2d7c02c0","hex_latitude":"05e4c168","is_valid_coordinates":true} 
[2026-08-02 13:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128334080001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113820116562477056,"note":"Value kept but may cause issues"} 
[2026-08-02 13:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930004767688726528,"note":"Value kept but may cause issues"} 
[2026-08-02 13:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785657562000,"timestamp_ms":1785657562000,"timestamp_seconds":1785657562,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17c1390"} 
[2026-08-02 13:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:30: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-08-02 13: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 13:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128334080001,"66":13406,"95":206,"85":15104,"24":50,"16":113820116562477056,"45":8930004767688726528},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 13:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128334080001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:30:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 13:30:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113820116562477056,"km_value":113820116562477.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930004767688726528,"description":"Unknown IO ID 45"} 
[2026-08-02 13:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128334080001,"power":13406,"unknown_95":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8930004767688726528}} 
[2026-08-02 13:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":147828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:30:38] local.INFO: GPS data processed {"connection_id":147828,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:30:38] local.INFO: Acknowledgment sent {"connection_id":147828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:31:02] local.INFO: TCP Data received {"connection_id":147827,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:31:02] local.INFO: Processing buffer {"connection_id":147827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:31:02] local.INFO: Packet analysis {"connection_id":147827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:31:02] local.INFO: Extracted packet for processing {"connection_id":147827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:31:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128242688001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785657499000,"timestamp_ms":1785657499000,"timestamp_seconds":1785657499,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17b1d78"} 
[2026-08-02 13:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128242688001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128242688001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:31:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:31:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:31:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128242688001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":147827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:31:02] local.INFO: GPS data processed {"connection_id":147827,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:31:02] local.INFO: Acknowledgment sent {"connection_id":147827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:31:09] local.INFO: TCP Data received {"connection_id":147828,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17c3aa0012d7c160005e4dee0000a00232e..."} 
[2026-08-02 13:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17c3aa0012d7c160005e4dee0000a00232e..."} 
[2026-08-02 13:31:09] local.INFO: Processing buffer {"connection_id":147828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17c3aa0012d7c160005e4dee0000a00232e..."} 
[2026-08-02 13:31:09] local.INFO: Packet analysis {"connection_id":147828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17c"} 
[2026-08-02 13:31:09] local.INFO: Extracted packet for processing {"connection_id":147828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17c"} 
[2026-08-02 13:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763106816,"raw_latitude":98885344,"longitude_deg":76.3106816,"latitude_deg":9.8885344,"altitude":10,"angle":35,"satellites":46,"speed":9,"hex_longitude":"2d7c1600","hex_latitude":"05e4dee0","is_valid_coordinates":true} 
[2026-08-02 13:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128335872001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113820554649141248,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935915742201735168,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785657572000,"timestamp_ms":1785657572000,"timestamp_seconds":1785657572,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17c3aa0"} 
[2026-08-02 13:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 13:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128335872001,"66":13352,"95":206,"85":15104,"24":9,"16":113820554649141248,"45":8935915742201735168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 13:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128335872001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:31:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 13:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113820554649141248,"km_value":113820554649141.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935915742201735168,"description":"Unknown IO ID 45"} 
[2026-08-02 13:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128335872001,"power":13352,"unknown_95":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8935915742201735168}} 
[2026-08-02 13:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":147828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:31:09] local.INFO: GPS data processed {"connection_id":147828,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:31:09] local.INFO: Acknowledgment sent {"connection_id":147828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:31:28] local.INFO: TCP Data received {"connection_id":149143,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:31:28] local.INFO: Processing buffer {"connection_id":149143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:31:28] local.INFO: IMEI packet received {"connection_id":149143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":149143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:31:29] local.INFO: TCP Data received {"connection_id":146803,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:31:29] local.INFO: Processing buffer {"connection_id":146803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:31:29] local.INFO: IMEI packet received {"connection_id":146803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":146803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:31:33] local.INFO: TCP Data received {"connection_id":149143,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:31:33] local.INFO: Processing buffer {"connection_id":149143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:31:33] local.INFO: IMEI packet received {"connection_id":149143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":149143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:31:34] local.INFO: TCP Data received {"connection_id":149143,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17c6d68012d7c2b4005e4fe98000800202e..."} 
[2026-08-02 13:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17c6d68012d7c2b4005e4fe98000800202e..."} 
[2026-08-02 13:31:34] local.INFO: Processing buffer {"connection_id":149143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17c6d68012d7c2b4005e4fe98000800202e..."} 
[2026-08-02 13:31:34] local.INFO: Packet analysis {"connection_id":149143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17c"} 
[2026-08-02 13:31:34] local.INFO: Extracted packet for processing {"connection_id":149143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17c"} 
[2026-08-02 13:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763112256,"raw_latitude":98893464,"longitude_deg":76.3112256,"latitude_deg":9.8893464,"altitude":8,"angle":32,"satellites":46,"speed":44,"hex_longitude":"2d7c2b40","hex_latitude":"05e4fe98","is_valid_coordinates":true} 
[2026-08-02 13:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128338432001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113821027095543808,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941334135505346560,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785657585000,"timestamp_ms":1785657585000,"timestamp_seconds":1785657585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17c6d68"} 
[2026-08-02 13:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:31: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-08-02 13: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-02 13:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128338432001,"66":13515,"95":206,"85":15104,"24":44,"16":113821027095543808,"45":8941334135505346560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 13:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128338432001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:31:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 13:31:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113821027095543808,"km_value":113821027095543.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941334135505346560,"description":"Unknown IO ID 45"} 
[2026-08-02 13:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128338432001,"power":13515,"unknown_95":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8941334135505346560}} 
[2026-08-02 13:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":149143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:31:34] local.INFO: GPS data processed {"connection_id":149143,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:31:34] local.INFO: Acknowledgment sent {"connection_id":149143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:31:34] local.INFO: TCP Data received {"connection_id":146803,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:31:34] local.INFO: Processing buffer {"connection_id":146803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:31:34] local.INFO: IMEI packet received {"connection_id":146803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":146803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:31:36] local.INFO: TCP Data received {"connection_id":146803,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:31:36] local.INFO: Processing buffer {"connection_id":146803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:31:36] local.INFO: Packet analysis {"connection_id":146803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:31:36] local.INFO: Extracted packet for processing {"connection_id":146803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:31:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128242688001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785657499000,"timestamp_ms":1785657499000,"timestamp_seconds":1785657499,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17b1d78"} 
[2026-08-02 13:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128242688001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128242688001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:31:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:31:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:31:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128242688001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":146803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:31:36] local.INFO: GPS data processed {"connection_id":146803,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:31:36] local.INFO: Acknowledgment sent {"connection_id":146803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:31:40] local.INFO: TCP Data received {"connection_id":146803,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:31:40] local.INFO: Processing buffer {"connection_id":146803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:31:40] local.INFO: Packet analysis {"connection_id":146803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:31:40] local.INFO: Extracted packet for processing {"connection_id":146803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:31:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128242688001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785657499000,"timestamp_ms":1785657499000,"timestamp_seconds":1785657499,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17b1d78"} 
[2026-08-02 13:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:31: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-08-02 13:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128242688001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128242688001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:31:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:31:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:31:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128242688001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":146803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:31:40] local.INFO: GPS data processed {"connection_id":146803,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:31:40] local.INFO: Acknowledgment sent {"connection_id":146803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:32:05] local.INFO: TCP Data received {"connection_id":149143,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17c88c0012d7c3dc005e51cd80008001f2e..."} 
[2026-08-02 13:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17c88c0012d7c3dc005e51cd80008001f2e..."} 
[2026-08-02 13:32:05] local.INFO: Processing buffer {"connection_id":149143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17c88c0012d7c3dc005e51cd80008001f2e..."} 
[2026-08-02 13:32:05] local.INFO: Packet analysis {"connection_id":149143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17c"} 
[2026-08-02 13:32:05] local.INFO: Extracted packet for processing {"connection_id":149143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17c"} 
[2026-08-02 13:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763116992,"raw_latitude":98901208,"longitude_deg":76.3116992,"latitude_deg":9.8901208,"altitude":8,"angle":31,"satellites":46,"speed":57,"hex_longitude":"2d7c3dc0","hex_latitude":"05e51cd8","is_valid_coordinates":true} 
[2026-08-02 13:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128341760001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113821465182208000,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947315478762526720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785657592000,"timestamp_ms":1785657592000,"timestamp_seconds":1785657592,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17c88c0"} 
[2026-08-02 13:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:32: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-08-02 13: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 13:32: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-08-02 13:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128341760001,"66":13537,"95":206,"85":15104,"24":57,"16":113821465182208000,"45":8947315478762526720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 13:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128341760001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:32:05] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 13:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113821465182208000,"km_value":113821465182208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947315478762526720,"description":"Unknown IO ID 45"} 
[2026-08-02 13:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128341760001,"power":13537,"unknown_95":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8947315478762526720}} 
[2026-08-02 13:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":149143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:32:05] local.INFO: GPS data processed {"connection_id":149143,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:32:05] local.INFO: Acknowledgment sent {"connection_id":149143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:32:26] local.INFO: TCP Data received {"connection_id":149144,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:32:26] local.INFO: Processing buffer {"connection_id":149144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:32:26] local.INFO: IMEI packet received {"connection_id":149144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":149144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:32:27] local.INFO: TCP Data received {"connection_id":146804,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:32:27] local.INFO: Processing buffer {"connection_id":146804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:32:27] local.INFO: IMEI packet received {"connection_id":146804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":146804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:32:30] local.INFO: TCP Data received {"connection_id":149144,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:32:30] local.INFO: Processing buffer {"connection_id":149144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:32:30] local.INFO: IMEI packet received {"connection_id":149144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":149144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:32:31] local.INFO: TCP Data received {"connection_id":149144,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:32:31] local.INFO: Processing buffer {"connection_id":149144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:32:31] local.INFO: Packet analysis {"connection_id":149144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:32:31] local.INFO: Extracted packet for processing {"connection_id":149144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:32:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128242688001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785657499000,"timestamp_ms":1785657499000,"timestamp_seconds":1785657499,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17b1d78"} 
[2026-08-02 13:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128242688001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128242688001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:32:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:32:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:32:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128242688001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":149144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:32:31] local.INFO: GPS data processed {"connection_id":149144,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:32:31] local.INFO: Acknowledgment sent {"connection_id":149144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:32:31] local.INFO: TCP Data received {"connection_id":146804,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:32:31] local.INFO: Processing buffer {"connection_id":146804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:32:31] local.INFO: IMEI packet received {"connection_id":146804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":146804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:32:33] local.INFO: TCP Data received {"connection_id":146804,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:32:33] local.INFO: Processing buffer {"connection_id":146804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:32:33] local.INFO: IMEI packet received {"connection_id":146804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":146804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:32:33] local.INFO: TCP Data received {"connection_id":146804,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17ca418012d7c520005e53fc80009001a2d..."} 
[2026-08-02 13:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17ca418012d7c520005e53fc80009001a2d..."} 
[2026-08-02 13:32:33] local.INFO: Processing buffer {"connection_id":146804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17ca418012d7c520005e53fc80009001a2d..."} 
[2026-08-02 13:32:33] local.INFO: Packet analysis {"connection_id":146804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17c"} 
[2026-08-02 13:32:33] local.INFO: Extracted packet for processing {"connection_id":146804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17c"} 
[2026-08-02 13:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763122176,"raw_latitude":98910152,"longitude_deg":76.3122176,"latitude_deg":9.8910152,"altitude":9,"angle":26,"satellites":45,"speed":62,"hex_longitude":"2d7c5200","hex_latitude":"05e53fc8","is_valid_coordinates":true} 
[2026-08-02 13:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128343552001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113821963398414336,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952522765833656320,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785657599000,"timestamp_ms":1785657599000,"timestamp_seconds":1785657599,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17ca418"} 
[2026-08-02 13:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:32: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-08-02 13:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-02 13:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128343552001,"66":13363,"95":206,"85":15104,"24":62,"16":113821963398414336,"45":8952522765833656320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 13:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128343552001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:32:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 13:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113821963398414336,"km_value":113821963398414.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952522765833656320,"description":"Unknown IO ID 45"} 
[2026-08-02 13:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128343552001,"power":13363,"unknown_95":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":8952522765833656320}} 
[2026-08-02 13:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":146804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:32:33] local.INFO: GPS data processed {"connection_id":146804,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:32:33] local.INFO: Acknowledgment sent {"connection_id":146804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:32:35] local.INFO: TCP Data received {"connection_id":149144,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:32:35] local.INFO: Processing buffer {"connection_id":149144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:32:35] local.INFO: Packet analysis {"connection_id":149144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:32:35] local.INFO: Extracted packet for processing {"connection_id":149144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:32:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128242688001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785657499000,"timestamp_ms":1785657499000,"timestamp_seconds":1785657499,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17b1d78"} 
[2026-08-02 13:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128242688001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128242688001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:32:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:32:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:32:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128242688001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":149144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:32:36] local.INFO: GPS data processed {"connection_id":149144,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:32:36] local.INFO: Acknowledgment sent {"connection_id":149144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:32:38] local.INFO: TCP Data received {"connection_id":146804,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17cbb88012d7c610005e56038000900162d..."} 
[2026-08-02 13:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17cbb88012d7c610005e56038000900162d..."} 
[2026-08-02 13:32:38] local.INFO: Processing buffer {"connection_id":146804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17cbb88012d7c610005e56038000900162d..."} 
[2026-08-02 13:32:38] local.INFO: Packet analysis {"connection_id":146804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17c"} 
[2026-08-02 13:32:38] local.INFO: Extracted packet for processing {"connection_id":146804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17c"} 
[2026-08-02 13:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763126016,"raw_latitude":98918456,"longitude_deg":76.3126016,"latitude_deg":9.8918456,"altitude":9,"angle":22,"satellites":45,"speed":54,"hex_longitude":"2d7c6100","hex_latitude":"05e56038","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128345344001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113822405780045824,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958222634114336768,"note":"Value kept but may cause issues"} 
[2026-08-02 13:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785657605000,"timestamp_ms":1785657605000,"timestamp_seconds":1785657605,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17cbb88"} 
[2026-08-02 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-08-02 13:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 13:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 13:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128345344001,"66":13406,"95":206,"85":15104,"24":54,"16":113822405780045824,"45":8958222634114336768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 13:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128345344001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:32:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 13:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 13:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113822405780045824,"km_value":113822405780045.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958222634114336768,"description":"Unknown IO ID 45"} 
[2026-08-02 13:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128345344001,"power":13406,"unknown_95":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8958222634114336768}} 
[2026-08-02 13:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":146804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:32:38] local.INFO: GPS data processed {"connection_id":146804,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:32:38] local.INFO: Acknowledgment sent {"connection_id":146804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:33:08] local.INFO: TCP Data received {"connection_id":149144,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:33:08] local.INFO: Processing buffer {"connection_id":149144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:33:08] local.INFO: Packet analysis {"connection_id":149144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:33:08] local.INFO: Extracted packet for processing {"connection_id":149144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:33:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128242688001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:33:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785657499000,"timestamp_ms":1785657499000,"timestamp_seconds":1785657499,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17b1d78"} 
[2026-08-02 13:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13: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-08-02 13:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":149144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":149144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":149144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128242688001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128242688001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:33:08] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:33:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:33:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128242688001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":149144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:33:08] local.INFO: GPS data processed {"connection_id":149144,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:33:08] local.INFO: Acknowledgment sent {"connection_id":149144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:33:10] local.INFO: TCP Data received {"connection_id":146804,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17cdeb0012d7c6d0005e582f8000800102c..."} 
[2026-08-02 13:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17cdeb0012d7c6d0005e582f8000800102c..."} 
[2026-08-02 13:33:10] local.INFO: Processing buffer {"connection_id":146804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17cdeb0012d7c6d0005e582f8000800102c..."} 
[2026-08-02 13:33:10] local.INFO: Packet analysis {"connection_id":146804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17c"} 
[2026-08-02 13:33:10] local.INFO: Extracted packet for processing {"connection_id":146804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17c"} 
[2026-08-02 13:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763129088,"raw_latitude":98927352,"longitude_deg":76.3129088,"latitude_deg":9.8927352,"altitude":8,"angle":16,"satellites":44,"speed":26,"hex_longitude":"2d7c6d00","hex_latitude":"05e582f8","is_valid_coordinates":true} 
[2026-08-02 13:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128346880001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113822861046579200,"note":"Value kept but may cause issues"} 
[2026-08-02 13:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962444758767122432,"note":"Value kept but may cause issues"} 
[2026-08-02 13:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785657614000,"timestamp_ms":1785657614000,"timestamp_seconds":1785657614,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17cdeb0"} 
[2026-08-02 13:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 13:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128346880001,"66":13341,"90":206,"87":13824,"24":26,"16":113822861046579200,"45":8962444758767122432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-08-02 13:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128346880001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:33:10] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-02 13:33:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113822861046579200,"km_value":113822861046579.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962444758767122432,"description":"Unknown IO ID 45"} 
[2026-08-02 13:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128346880001,"power":13341,"unknown_90":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8962444758767122432}} 
[2026-08-02 13:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":146804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:33:10] local.INFO: GPS data processed {"connection_id":146804,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:33:10] local.INFO: Acknowledgment sent {"connection_id":146804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:33:24] local.INFO: TCP Data received {"connection_id":146591,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:33:24] local.INFO: Processing buffer {"connection_id":146591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:33:24] local.INFO: IMEI packet received {"connection_id":146591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":146591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:33:27] local.INFO: TCP Data received {"connection_id":149145,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:33:27] local.INFO: Processing buffer {"connection_id":149145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:33:27] local.INFO: IMEI packet received {"connection_id":149145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":149145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:33:29] local.INFO: TCP Data received {"connection_id":146591,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:33:29] local.INFO: Processing buffer {"connection_id":146591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:33:29] local.INFO: IMEI packet received {"connection_id":146591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":146591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:33:31] local.INFO: TCP Data received {"connection_id":146591,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:33:31] local.INFO: Processing buffer {"connection_id":146591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17b1d78012cc330c007685958005800c52c..."} 
[2026-08-02 13:33:31] local.INFO: Packet analysis {"connection_id":146591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:33:31] local.INFO: Extracted packet for processing {"connection_id":146591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17b"} 
[2026-08-02 13:33:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128242688001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:33:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785657499000,"timestamp_ms":1785657499000,"timestamp_seconds":1785657499,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17b1d78"} 
[2026-08-02 13:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128242688001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128242688001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:33:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:33:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:33:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128242688001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":146591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:33:31] local.INFO: GPS data processed {"connection_id":146591,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:33:31] local.INFO: Acknowledgment sent {"connection_id":146591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:33:33] local.INFO: TCP Data received {"connection_id":149145,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:33:33] local.INFO: Processing buffer {"connection_id":149145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:33:33] local.INFO: IMEI packet received {"connection_id":149145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":149145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:33:34] local.INFO: TCP Data received {"connection_id":149145,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17d2cd0012d7c72c005e597d80008000e2c..."} 
[2026-08-02 13:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17d2cd0012d7c72c005e597d80008000e2c..."} 
[2026-08-02 13:33:34] local.INFO: Processing buffer {"connection_id":149145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17d2cd0012d7c72c005e597d80008000e2c..."} 
[2026-08-02 13:33:34] local.INFO: Packet analysis {"connection_id":149145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17d"} 
[2026-08-02 13:33:34] local.INFO: Extracted packet for processing {"connection_id":149145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17d"} 
[2026-08-02 13:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763130560,"raw_latitude":98932696,"longitude_deg":76.313056,"latitude_deg":9.8932696,"altitude":8,"angle":14,"satellites":44,"speed":5,"hex_longitude":"2d7c72c0","hex_latitude":"05e597d8","is_valid_coordinates":true} 
[2026-08-02 13:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128349184001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113823131629518848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965822458489927680,"note":"Value kept but may cause issues"} 
[2026-08-02 13:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785657634000,"timestamp_ms":1785657634000,"timestamp_seconds":1785657634,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17d2cd0"} 
[2026-08-02 13:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:33: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-08-02 13:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-02 13:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128349184001,"66":13396,"90":206,"87":13824,"24":5,"16":113823131629518848,"45":8965822458489927680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-08-02 13:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128349184001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:33:34] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-02 13:33:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113823131629518848,"km_value":113823131629518.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965822458489927680,"description":"Unknown IO ID 45"} 
[2026-08-02 13:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128349184001,"power":13396,"unknown_90":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8965822458489927680}} 
[2026-08-02 13:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":149145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:33:34] local.INFO: GPS data processed {"connection_id":149145,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:33:34] local.INFO: Acknowledgment sent {"connection_id":149145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:34:05] local.INFO: TCP Data received {"connection_id":149145,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17d7ed8012d7c73c005e59b600009000d2e..."} 
[2026-08-02 13:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17d7ed8012d7c73c005e59b600009000d2e..."} 
[2026-08-02 13:34:05] local.INFO: Processing buffer {"connection_id":149145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17d7ed8012d7c73c005e59b600009000d2e..."} 
[2026-08-02 13:34:05] local.INFO: Packet analysis {"connection_id":149145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17d"} 
[2026-08-02 13:34:05] local.INFO: Extracted packet for processing {"connection_id":149145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17d"} 
[2026-08-02 13:34:05] local.INFO: GPS Element Parsed {"raw_longitude":763130816,"raw_latitude":98933600,"longitude_deg":76.3130816,"latitude_deg":9.89336,"altitude":9,"angle":13,"satellites":46,"speed":0,"hex_longitude":"2d7c73c0","hex_latitude":"05e59b60","is_valid_coordinates":true} 
[2026-08-02 13:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128354304001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113823178874159104,"note":"Value kept but may cause issues"} 
[2026-08-02 13:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967440939607382016,"note":"Value kept but may cause issues"} 
[2026-08-02 13:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785657655000,"timestamp_ms":1785657655000,"timestamp_seconds":1785657655,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17d7ed8"} 
[2026-08-02 13:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:34: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-08-02 13:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-02 13:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128354304001,"66":13254,"90":206,"87":13824,"24":0,"16":113823178874159104,"45":8967440939607382016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-08-02 13:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128354304001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:34:05] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-02 13:34:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113823178874159104,"km_value":113823178874159.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967440939607382016,"description":"Unknown IO ID 45"} 
[2026-08-02 13:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128354304001,"power":13254,"unknown_90":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8967440939607382016}} 
[2026-08-02 13:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":149145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:34:05] local.INFO: GPS data processed {"connection_id":149145,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:34:05] local.INFO: Acknowledgment sent {"connection_id":149145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:34:05] local.INFO: TCP Data received {"connection_id":146591,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:34:05] local.INFO: Processing buffer {"connection_id":146591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:34:05] local.INFO: Packet analysis {"connection_id":146591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:34:05] local.INFO: Extracted packet for processing {"connection_id":146591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:34:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:34:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785657800000,"timestamp_ms":1785657800000,"timestamp_seconds":1785657800,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17fb540"} 
[2026-08-02 13:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128319744001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:34:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:34:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:34:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128319744001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":146591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:34:05] local.INFO: GPS data processed {"connection_id":146591,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:34:05] local.INFO: Acknowledgment sent {"connection_id":146591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:34:24] local.INFO: TCP Data received {"connection_id":146592,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:34:24] local.INFO: Processing buffer {"connection_id":146592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:34:24] local.INFO: IMEI packet received {"connection_id":146592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":146592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:34:27] local.INFO: TCP Data received {"connection_id":146593,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:34:27] local.INFO: Processing buffer {"connection_id":146593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:34:27] local.INFO: IMEI packet received {"connection_id":146593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":146593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:34:33] local.INFO: TCP Data received {"connection_id":146593,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:34:33] local.INFO: Processing buffer {"connection_id":146593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:34:33] local.INFO: IMEI packet received {"connection_id":146593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":146593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:34:34] local.INFO: TCP Data received {"connection_id":146593,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1809fa0012d7c7ec005e5e560000c000423..."} 
[2026-08-02 13:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1809fa0012d7c7ec005e5e560000c000423..."} 
[2026-08-02 13:34:34] local.INFO: Processing buffer {"connection_id":146593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1809fa0012d7c7ec005e5e560000c000423..."} 
[2026-08-02 13:34:34] local.INFO: Packet analysis {"connection_id":146593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc180"} 
[2026-08-02 13:34:34] local.INFO: Extracted packet for processing {"connection_id":146593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc180"} 
[2026-08-02 13:34:34] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":98952544,"longitude_deg":76.3133632,"latitude_deg":9.8952544,"altitude":12,"angle":4,"satellites":35,"speed":3,"hex_longitude":"2d7c7ec0","hex_latitude":"05e5e560","is_valid_coordinates":true} 
[2026-08-02 13:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128406784001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113824136651866112,"note":"Value kept but may cause issues"} 
[2026-08-02 13:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970607533100181504,"note":"Value kept but may cause issues"} 
[2026-08-02 13:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785657860000,"timestamp_ms":1785657860000,"timestamp_seconds":1785657860,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1809fa0"} 
[2026-08-02 13:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:34: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-08-02 13:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 13:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128406784001,"66":13222,"38":206,"87":13824,"24":3,"16":113824136651866112,"45":8970607533100181504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-02 13:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128406784001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:34:34] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-02 13:34:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113824136651866112,"km_value":113824136651866.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970607533100181504,"description":"Unknown IO ID 45"} 
[2026-08-02 13:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128406784001,"power":13222,"unknown_38":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8970607533100181504}} 
[2026-08-02 13:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":146593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:34:34] local.INFO: GPS data processed {"connection_id":146593,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:34:34] local.INFO: Acknowledgment sent {"connection_id":146593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:34:35] local.INFO: TCP Data received {"connection_id":146592,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:34:35] local.INFO: Processing buffer {"connection_id":146592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:34:35] local.INFO: IMEI packet received {"connection_id":146592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":146592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:34:36] local.INFO: TCP Data received {"connection_id":146592,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:34:36] local.INFO: Processing buffer {"connection_id":146592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:34:36] local.INFO: Packet analysis {"connection_id":146592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:34:36] local.INFO: Extracted packet for processing {"connection_id":146592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:34:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:34:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785657800000,"timestamp_ms":1785657800000,"timestamp_seconds":1785657800,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17fb540"} 
[2026-08-02 13:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128319744001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:34:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:34:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:34:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128319744001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":146592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:34:36] local.INFO: GPS data processed {"connection_id":146592,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:34:36] local.INFO: Acknowledgment sent {"connection_id":146592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:35:05] local.INFO: TCP Data received {"connection_id":146593,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc180a770012d7c7f4005e5e610000c002224..."} 
[2026-08-02 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc180a770012d7c7f4005e5e610000c002224..."} 
[2026-08-02 13:35:05] local.INFO: Processing buffer {"connection_id":146593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc180a770012d7c7f4005e5e610000c002224..."} 
[2026-08-02 13:35:05] local.INFO: Packet analysis {"connection_id":146593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc180"} 
[2026-08-02 13:35:05] local.INFO: Extracted packet for processing {"connection_id":146593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc180"} 
[2026-08-02 13:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763133760,"raw_latitude":98952720,"longitude_deg":76.313376,"latitude_deg":9.895272,"altitude":12,"angle":34,"satellites":36,"speed":6,"hex_longitude":"2d7c7f40","hex_latitude":"05e5e610","is_valid_coordinates":true} 
[2026-08-02 13:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128412160001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113824149536768000,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818639332990976,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785657862000,"timestamp_ms":1785657862000,"timestamp_seconds":1785657862,"priority":1,"record_length":96,"hex_timestamp":"0000019fc180a770"} 
[2026-08-02 13:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:35: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-08-02 13: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-02 13:35: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-08-02 13:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128412160001,"66":13319,"38":206,"87":13824,"24":6,"16":113824149536768000,"45":8970818639332990976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-02 13:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128412160001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:35:05] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-02 13:35:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113824149536768000,"km_value":113824149536768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818639332990976,"description":"Unknown IO ID 45"} 
[2026-08-02 13:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128412160001,"power":13319,"unknown_38":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8970818639332990976}} 
[2026-08-02 13:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":146593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:35:05] local.INFO: GPS data processed {"connection_id":146593,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:35:05] local.INFO: Acknowledgment sent {"connection_id":146593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:35:08] local.INFO: TCP Data received {"connection_id":146592,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:35:08] local.INFO: Processing buffer {"connection_id":146592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:35:08] local.INFO: Packet analysis {"connection_id":146592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:35:08] local.INFO: Extracted packet for processing {"connection_id":146592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:35:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785657800000,"timestamp_ms":1785657800000,"timestamp_seconds":1785657800,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17fb540"} 
[2026-08-02 13:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:35: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-08-02 13: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-08-02 13:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128319744001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:35:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:35:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:35:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128319744001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":146592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:35:08] local.INFO: GPS data processed {"connection_id":146592,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:35:08] local.INFO: Acknowledgment sent {"connection_id":146592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:35:29] local.INFO: TCP Data received {"connection_id":147829,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:35:29] local.INFO: Processing buffer {"connection_id":147829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:35:29] local.INFO: IMEI packet received {"connection_id":147829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":147829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:35:33] local.INFO: TCP Data received {"connection_id":146805,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:35:33] local.INFO: Processing buffer {"connection_id":146805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:35:33] local.INFO: IMEI packet received {"connection_id":146805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":146805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:35:33] local.INFO: TCP Data received {"connection_id":146805,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:35:33] local.INFO: Processing buffer {"connection_id":146805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:35:33] local.INFO: IMEI packet received {"connection_id":146805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":146805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:35:34] local.INFO: TCP Data received {"connection_id":147829,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:35:34] local.INFO: Processing buffer {"connection_id":147829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:35:34] local.INFO: IMEI packet received {"connection_id":147829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":147829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:35:36] local.INFO: TCP Data received {"connection_id":147829,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:35:36] local.INFO: Processing buffer {"connection_id":147829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:35:36] local.INFO: Packet analysis {"connection_id":147829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:35:36] local.INFO: Extracted packet for processing {"connection_id":147829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:35:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785657800000,"timestamp_ms":1785657800000,"timestamp_seconds":1785657800,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17fb540"} 
[2026-08-02 13:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128319744001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:35:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:35:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:35:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128319744001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":147829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:35:36] local.INFO: GPS data processed {"connection_id":147829,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:35:36] local.INFO: Acknowledgment sent {"connection_id":147829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:35:37] local.INFO: TCP Data received {"connection_id":146805,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:35:37] local.INFO: Processing buffer {"connection_id":146805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:35:37] local.INFO: IMEI packet received {"connection_id":146805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":146805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:35:38] local.INFO: TCP Data received {"connection_id":146805,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc180af40012d7c7f8005e5e898000c000c27..."} 
[2026-08-02 13:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc180af40012d7c7f8005e5e898000c000c27..."} 
[2026-08-02 13:35:38] local.INFO: Processing buffer {"connection_id":146805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc180af40012d7c7f8005e5e898000c000c27..."} 
[2026-08-02 13:35:38] local.INFO: Packet analysis {"connection_id":146805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc180"} 
[2026-08-02 13:35:38] local.INFO: Extracted packet for processing {"connection_id":146805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc180"} 
[2026-08-02 13:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763133824,"raw_latitude":98953368,"longitude_deg":76.3133824,"latitude_deg":9.8953368,"altitude":12,"angle":12,"satellites":39,"speed":13,"hex_longitude":"2d7c7f80","hex_latitude":"05e5e898","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128412672001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113824183896506368,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970959376821391360,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785657864000,"timestamp_ms":1785657864000,"timestamp_seconds":1785657864,"priority":1,"record_length":96,"hex_timestamp":"0000019fc180af40"} 
[2026-08-02 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-08-02 13:35: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-08-02 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 13:35:38] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2147560828,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3246328160,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:38] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-4634203947844751872,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478885582,"corrected_to":0} 
[2026-08-02 13:35:38] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2147870157,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:38] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728664,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3855190016,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:38] local.WARNING: Large IO value detected {"io_id":127,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:38] local.WARNING: Large IO value detected {"io_id":126,"raw_value":-1294783597995491323,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,38,87,24,241,157,16,98,159,45,192,229,12,35,10,66,77,225,251,1,240,51,227,193,4,113,205,123,239,52,2,148,5,15,17,127,126],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1478885582,"validated":0}]} 
[2026-08-02 13:35:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864728666469695488,"timestamp_seconds":864728666469695.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 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-08-02 13:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128412672001,"66":12809,"38":206,"87":13824,"24":13,"16":113824183896506368,"45":8970959376821391360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-02 13:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128412672001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:35:38] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-02 13:35:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113824183896506368,"km_value":113824183896506.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970959376821391360,"description":"Unknown IO ID 45"} 
[2026-08-02 13:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128412672001,"power":12809,"unknown_38":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8970959376821391360}} 
[2026-08-02 13:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":146805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:35:38] local.INFO: GPS data processed {"connection_id":146805,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:35:38] local.INFO: Acknowledgment sent {"connection_id":146805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:35:40] local.INFO: TCP Data received {"connection_id":147829,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:35:40] local.INFO: Processing buffer {"connection_id":147829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:35:40] local.INFO: Packet analysis {"connection_id":147829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:35:40] local.INFO: Extracted packet for processing {"connection_id":147829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:35:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785657800000,"timestamp_ms":1785657800000,"timestamp_seconds":1785657800,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17fb540"} 
[2026-08-02 13:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:35: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-08-02 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:35: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-08-02 13:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128319744001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:35:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:35:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:35:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128319744001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":147829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:35:40] local.INFO: GPS data processed {"connection_id":147829,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:35:40] local.INFO: Acknowledgment sent {"connection_id":147829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:35:43] local.INFO: TCP Data received {"connection_id":146805,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc180da38012d7c89c005e609c0000d00102b..."} 
[2026-08-02 13:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc180da38012d7c89c005e609c0000d00102b..."} 
[2026-08-02 13:35:43] local.INFO: Processing buffer {"connection_id":146805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc180da38012d7c89c005e609c0000d00102b..."} 
[2026-08-02 13:35:43] local.INFO: Packet analysis {"connection_id":146805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc180"} 
[2026-08-02 13:35:43] local.INFO: Extracted packet for processing {"connection_id":146805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc180"} 
[2026-08-02 13:35:43] local.INFO: GPS Element Parsed {"raw_longitude":763136448,"raw_latitude":98961856,"longitude_deg":76.3136448,"latitude_deg":9.8961856,"altitude":13,"angle":16,"satellites":43,"speed":42,"hex_longitude":"2d7c89c0","hex_latitude":"05e609c0","is_valid_coordinates":true} 
[2026-08-02 13:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128413184001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113824613393235968,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971029745565734912,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785657875000,"timestamp_ms":1785657875000,"timestamp_seconds":1785657875,"priority":1,"record_length":96,"hex_timestamp":"0000019fc180da38"} 
[2026-08-02 13:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-02 13:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1224979098812548096,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3246348160,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:43] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3651665931,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:43] local.WARNING: Large IO value detected {"io_id":193,"raw_value":9153953275781610112,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478885582,"corrected_to":0} 
[2026-08-02 13:35:43] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2281778556,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:43] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093774366192041,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1888829034872173778,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:43] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-02 13:35:43] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,38,87,24,241,157,16,98,159,167,45,64,230,12,36,10,66,192,229,35,77,1,240,214,227,193,4,113,205,169,124,46,239,52,2,148,5,14,54,41],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1478885582,"validated":0}]} 
[2026-08-02 13:35:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864704490099245056,"timestamp_seconds":864704490099245.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 13:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128413184001,"66":13189,"38":206,"87":13824,"24":42,"16":113824613393235968,"45":8971029745565734912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-02 13:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128413184001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:35:43] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-02 13:35:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113824613393235968,"km_value":113824613393235.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971029745565734912,"description":"Unknown IO ID 45"} 
[2026-08-02 13:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128413184001,"power":13189,"unknown_38":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8971029745565734912}} 
[2026-08-02 13:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":146805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:35:43] local.INFO: GPS data processed {"connection_id":146805,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:35:43] local.INFO: Acknowledgment sent {"connection_id":146805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:36:24] local.INFO: TCP Data received {"connection_id":149146,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:36:24] local.INFO: Processing buffer {"connection_id":149146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:36:24] local.INFO: IMEI packet received {"connection_id":149146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":149146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:36:24] local.INFO: TCP Data received {"connection_id":149147,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:36:24] local.INFO: Processing buffer {"connection_id":149147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:36:24] local.INFO: IMEI packet received {"connection_id":149147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":149147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:36:28] local.INFO: TCP Data received {"connection_id":149147,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:36:28] local.INFO: Processing buffer {"connection_id":149147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:36:28] local.INFO: IMEI packet received {"connection_id":149147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":149147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:36:30] local.INFO: TCP Data received {"connection_id":149146,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:36:30] local.INFO: Processing buffer {"connection_id":149146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:36:30] local.INFO: IMEI packet received {"connection_id":149146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":149146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:36:32] local.INFO: TCP Data received {"connection_id":149146,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:36:32] local.INFO: Processing buffer {"connection_id":149146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:36:32] local.INFO: Packet analysis {"connection_id":149146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:36:32] local.INFO: Extracted packet for processing {"connection_id":149146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:36:32] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:36:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785657800000,"timestamp_ms":1785657800000,"timestamp_seconds":1785657800,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17fb540"} 
[2026-08-02 13:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128319744001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:36:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:36:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:36:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128319744001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":149146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:36:32] local.INFO: GPS data processed {"connection_id":149146,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:36:32] local.INFO: Acknowledgment sent {"connection_id":149146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:36:32] local.INFO: TCP Data received {"connection_id":149147,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:36:32] local.INFO: Processing buffer {"connection_id":149147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:36:32] local.INFO: IMEI packet received {"connection_id":149147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":149147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:36:33] local.INFO: TCP Data received {"connection_id":149147,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18235e0012d7ce40005e7a020000d000d2e..."} 
[2026-08-02 13:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18235e0012d7ce40005e7a020000d000d2e..."} 
[2026-08-02 13:36:33] local.INFO: Processing buffer {"connection_id":149147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18235e0012d7ce40005e7a020000d000d2e..."} 
[2026-08-02 13:36:33] local.INFO: Packet analysis {"connection_id":149147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc182"} 
[2026-08-02 13:36:33] local.INFO: Extracted packet for processing {"connection_id":149147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc182"} 
[2026-08-02 13:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763159552,"raw_latitude":99065888,"longitude_deg":76.3159552,"latitude_deg":9.9065888,"altitude":13,"angle":13,"satellites":46,"speed":43,"hex_longitude":"2d7ce400","hex_latitude":"05e7a020","is_valid_coordinates":true} 
[2026-08-02 13:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128435712001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113829780238893056,"note":"Value kept but may cause issues"} 
[2026-08-02 13:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996784705961125888,"note":"Value kept but may cause issues"} 
[2026-08-02 13:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785657964000,"timestamp_ms":1785657964000,"timestamp_seconds":1785657964,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18235e0"} 
[2026-08-02 13:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:36: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-08-02 13: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-02 13:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128435712001,"66":13559,"31":206,"87":13824,"24":43,"16":113829780238893056,"45":8996784705961125888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-02 13:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128435712001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:36:33] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-02 13:36:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113829780238893056,"km_value":113829780238893.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996784705961125888,"description":"Unknown IO ID 45"} 
[2026-08-02 13:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128435712001,"power":13559,"unknown_31":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8996784705961125888}} 
[2026-08-02 13:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":149147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:36:33] local.INFO: GPS data processed {"connection_id":149147,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:36:33] local.INFO: Acknowledgment sent {"connection_id":149147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:37:03] local.INFO: TCP Data received {"connection_id":149146,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:37:03] local.INFO: Processing buffer {"connection_id":149146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:37:03] local.INFO: Packet analysis {"connection_id":149146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:37:03] local.INFO: Extracted packet for processing {"connection_id":149146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:37:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:37:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785657800000,"timestamp_ms":1785657800000,"timestamp_seconds":1785657800,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17fb540"} 
[2026-08-02 13:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128319744001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:37:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:37:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:37:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128319744001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":149146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:37:03] local.INFO: GPS data processed {"connection_id":149146,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:37:03] local.INFO: Acknowledgment sent {"connection_id":149146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:37:04] local.INFO: TCP Data received {"connection_id":149147,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1825138012d7cea8005e7c358000c000a2e..."} 
[2026-08-02 13:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1825138012d7cea8005e7c358000c000a2e..."} 
[2026-08-02 13:37:04] local.INFO: Processing buffer {"connection_id":149147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1825138012d7cea8005e7c358000c000a2e..."} 
[2026-08-02 13:37:04] local.INFO: Packet analysis {"connection_id":149147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc182"} 
[2026-08-02 13:37:04] local.INFO: Extracted packet for processing {"connection_id":149147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc182"} 
[2026-08-02 13:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763161216,"raw_latitude":99074904,"longitude_deg":76.3161216,"latitude_deg":9.9074904,"altitude":12,"angle":10,"satellites":46,"speed":59,"hex_longitude":"2d7cea80","hex_latitude":"05e7c358","is_valid_coordinates":true} 
[2026-08-02 13:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128438784001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113830222620524544,"note":"Value kept but may cause issues"} 
[2026-08-02 13:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999317980753960960,"note":"Value kept but may cause issues"} 
[2026-08-02 13:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785657971000,"timestamp_ms":1785657971000,"timestamp_seconds":1785657971,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1825138"} 
[2026-08-02 13:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 13:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128438784001,"66":13439,"31":206,"87":13824,"24":59,"16":113830222620524544,"45":8999317980753960960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-02 13:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128438784001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:37:04] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-02 13:37:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113830222620524544,"km_value":113830222620524.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999317980753960960,"description":"Unknown IO ID 45"} 
[2026-08-02 13:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128438784001,"power":13439,"unknown_31":206,"unknown_87":13824,"ignition":59,"odometer":null,"unknown_45":8999317980753960960}} 
[2026-08-02 13:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":149147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:37:04] local.INFO: GPS data processed {"connection_id":149147,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:37:04] local.INFO: Acknowledgment sent {"connection_id":149147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:37:24] local.INFO: TCP Data received {"connection_id":147830,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:37:24] local.INFO: Processing buffer {"connection_id":147830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:37:24] local.INFO: IMEI packet received {"connection_id":147830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":147830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:37:28] local.INFO: TCP Data received {"connection_id":149148,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:37:28] local.INFO: Processing buffer {"connection_id":149148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:37:28] local.INFO: IMEI packet received {"connection_id":149148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":149148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:37:28] local.INFO: TCP Data received {"connection_id":149148,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:37:28] local.INFO: Processing buffer {"connection_id":149148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:37:28] local.INFO: IMEI packet received {"connection_id":149148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":149148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:37:30] local.INFO: TCP Data received {"connection_id":147830,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:37:30] local.INFO: Processing buffer {"connection_id":147830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:37:30] local.INFO: IMEI packet received {"connection_id":147830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":147830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:37:32] local.INFO: TCP Data received {"connection_id":147830,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:37:32] local.INFO: Processing buffer {"connection_id":147830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:37:32] local.INFO: Packet analysis {"connection_id":147830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:37:32] local.INFO: Extracted packet for processing {"connection_id":147830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:37:32] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:37:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785657800000,"timestamp_ms":1785657800000,"timestamp_seconds":1785657800,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17fb540"} 
[2026-08-02 13:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":147830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":147830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":147830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128319744001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:37:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:37:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:37:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128319744001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":147830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:37:32] local.INFO: GPS data processed {"connection_id":147830,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:37:32] local.INFO: Acknowledgment sent {"connection_id":147830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:37:33] local.INFO: TCP Data received {"connection_id":149148,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:37:33] local.INFO: Processing buffer {"connection_id":149148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:37:33] local.INFO: IMEI packet received {"connection_id":149148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":149148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:37:34] local.INFO: TCP Data received {"connection_id":149148,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18268a8012d7cf1c005e7e7e00009000b2d..."} 
[2026-08-02 13:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18268a8012d7cf1c005e7e7e00009000b2d..."} 
[2026-08-02 13:37:34] local.INFO: Processing buffer {"connection_id":149148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18268a8012d7cf1c005e7e7e00009000b2d..."} 
[2026-08-02 13:37:34] local.INFO: Packet analysis {"connection_id":149148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc182"} 
[2026-08-02 13:37:34] local.INFO: Extracted packet for processing {"connection_id":149148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc182"} 
[2026-08-02 13:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763163072,"raw_latitude":99084256,"longitude_deg":76.3163072,"latitude_deg":9.9084256,"altitude":9,"angle":11,"satellites":45,"speed":65,"hex_longitude":"2d7cf1c0","hex_latitude":"05e7e7e0","is_valid_coordinates":true} 
[2026-08-02 13:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128440576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113830686476992512,"note":"Value kept but may cause issues"} 
[2026-08-02 13:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001147568104888320,"note":"Value kept but may cause issues"} 
[2026-08-02 13:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785657977000,"timestamp_ms":1785657977000,"timestamp_seconds":1785657977,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18268a8"} 
[2026-08-02 13:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-02 13:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128440576001,"66":13515,"31":206,"87":13824,"24":65,"16":113830686476992512,"45":9001147568104888320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-02 13:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128440576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:37:34] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-02 13:37:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113830686476992512,"km_value":113830686476992.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001147568104888320,"description":"Unknown IO ID 45"} 
[2026-08-02 13:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128440576001,"power":13515,"unknown_31":206,"unknown_87":13824,"ignition":65,"odometer":null,"unknown_45":9001147568104888320}} 
[2026-08-02 13:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":149148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:37:34] local.INFO: GPS data processed {"connection_id":149148,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:37:34] local.INFO: Acknowledgment sent {"connection_id":149148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:38:06] local.INFO: TCP Data received {"connection_id":149148,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1828018012d7cf94005e80c680008000a2e..."} 
[2026-08-02 13:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1828018012d7cf94005e80c680008000a2e..."} 
[2026-08-02 13:38:06] local.INFO: Processing buffer {"connection_id":149148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1828018012d7cf94005e80c680008000a2e..."} 
[2026-08-02 13:38:06] local.INFO: Packet analysis {"connection_id":149148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc182"} 
[2026-08-02 13:38:06] local.INFO: Extracted packet for processing {"connection_id":149148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc182"} 
[2026-08-02 13:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763164992,"raw_latitude":99093608,"longitude_deg":76.3164992,"latitude_deg":9.9093608,"altitude":8,"angle":10,"satellites":46,"speed":61,"hex_longitude":"2d7cf940","hex_latitude":"05e80c68","is_valid_coordinates":true} 
[2026-08-02 13:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128442112001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113831146038493184,"note":"Value kept but may cause issues"} 
[2026-08-02 13:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003188261688434688,"note":"Value kept but may cause issues"} 
[2026-08-02 13:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785657983000,"timestamp_ms":1785657983000,"timestamp_seconds":1785657983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1828018"} 
[2026-08-02 13:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:38: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-08-02 13: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 13:38: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-08-02 13:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128442112001,"66":13461,"31":206,"87":13824,"24":61,"16":113831146038493184,"45":9003188261688434688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-02 13:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128442112001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:38:06] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-02 13:38:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113831146038493184,"km_value":113831146038493.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003188261688434688,"description":"Unknown IO ID 45"} 
[2026-08-02 13:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128442112001,"power":13461,"unknown_31":206,"unknown_87":13824,"ignition":61,"odometer":null,"unknown_45":9003188261688434688}} 
[2026-08-02 13:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":149148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:38:06] local.INFO: GPS data processed {"connection_id":149148,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:38:06] local.INFO: Acknowledgment sent {"connection_id":149148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:38:09] local.INFO: TCP Data received {"connection_id":147830,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:38:09] local.INFO: Processing buffer {"connection_id":147830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:38:09] local.INFO: Packet analysis {"connection_id":147830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:38:09] local.INFO: Extracted packet for processing {"connection_id":147830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:38:09] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:38:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785657800000,"timestamp_ms":1785657800000,"timestamp_seconds":1785657800,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17fb540"} 
[2026-08-02 13:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:38: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-08-02 13:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128319744001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:38:09] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:38:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:38:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128319744001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":147830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:38:10] local.INFO: GPS data processed {"connection_id":147830,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:38:10] local.INFO: Acknowledgment sent {"connection_id":147830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:38:27] local.INFO: TCP Data received {"connection_id":146594,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:38:27] local.INFO: Processing buffer {"connection_id":146594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:38:27] local.INFO: IMEI packet received {"connection_id":146594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":146594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:38:29] local.INFO: TCP Data received {"connection_id":147831,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:38:29] local.INFO: Processing buffer {"connection_id":147831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:38:29] local.INFO: IMEI packet received {"connection_id":147831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":147831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:38:31] local.INFO: TCP Data received {"connection_id":146594,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:38:31] local.INFO: Processing buffer {"connection_id":146594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:38:31] local.INFO: IMEI packet received {"connection_id":146594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":146594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:38:32] local.INFO: TCP Data received {"connection_id":146594,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1829b70012d7cfe8005e830c8000700052c..."} 
[2026-08-02 13:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1829b70012d7cfe8005e830c8000700052c..."} 
[2026-08-02 13:38:32] local.INFO: Processing buffer {"connection_id":146594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1829b70012d7cfe8005e830c8000700052c..."} 
[2026-08-02 13:38:32] local.INFO: Packet analysis {"connection_id":146594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc182"} 
[2026-08-02 13:38:32] local.INFO: Extracted packet for processing {"connection_id":146594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc182"} 
[2026-08-02 13:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763166336,"raw_latitude":99102920,"longitude_deg":76.3166336,"latitude_deg":9.910292,"altitude":7,"angle":5,"satellites":44,"speed":42,"hex_longitude":"2d7cfe80","hex_latitude":"05e830c8","is_valid_coordinates":true} 
[2026-08-02 13:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128443648001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113831605599993856,"note":"Value kept but may cause issues"} 
[2026-08-02 13:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005299324016158720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785657990000,"timestamp_ms":1785657990000,"timestamp_seconds":1785657990,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1829b70"} 
[2026-08-02 13:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:38: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-08-02 13:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-02 13:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":146594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":146594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":146594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128443648001,"66":13461,"31":206,"87":13824,"24":42,"16":113831605599993856,"45":9005299324016158720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-02 13:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128443648001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:38:32] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-02 13:38:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113831605599993856,"km_value":113831605599993.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005299324016158720,"description":"Unknown IO ID 45"} 
[2026-08-02 13:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128443648001,"power":13461,"unknown_31":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":9005299324016158720}} 
[2026-08-02 13:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":146594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:38:32] local.INFO: GPS data processed {"connection_id":146594,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:38:32] local.INFO: Acknowledgment sent {"connection_id":146594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:38:34] local.INFO: TCP Data received {"connection_id":147831,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:38:34] local.INFO: Processing buffer {"connection_id":147831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:38:34] local.INFO: IMEI packet received {"connection_id":147831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":147831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:38:36] local.INFO: TCP Data received {"connection_id":147831,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:38:36] local.INFO: Processing buffer {"connection_id":147831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc17fb540012cc330c007685958005800c52d..."} 
[2026-08-02 13:38:36] local.INFO: Packet analysis {"connection_id":147831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:38:36] local.INFO: Extracted packet for processing {"connection_id":147831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc17f"} 
[2026-08-02 13:38:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128319744001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:38:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785657800000,"timestamp_ms":1785657800000,"timestamp_seconds":1785657800,"priority":1,"record_length":96,"hex_timestamp":"0000019fc17fb540"} 
[2026-08-02 13:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128319744001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128319744001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:38:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:38:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:38:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128319744001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":147831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:38:36] local.INFO: GPS data processed {"connection_id":147831,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:38:36] local.INFO: Acknowledgment sent {"connection_id":147831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:39:04] local.INFO: TCP Data received {"connection_id":146594,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc184a2f8012d7d1c0005ea11b8000c00032d..."} 
[2026-08-02 13:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc184a2f8012d7d1c0005ea11b8000c00032d..."} 
[2026-08-02 13:39:04] local.INFO: Processing buffer {"connection_id":146594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc184a2f8012d7d1c0005ea11b8000c00032d..."} 
[2026-08-02 13:39:04] local.INFO: Packet analysis {"connection_id":146594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:39:04] local.INFO: Extracted packet for processing {"connection_id":146594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99226040,"longitude_deg":76.3173888,"latitude_deg":9.922604,"altitude":12,"angle":3,"satellites":45,"speed":54,"hex_longitude":"2d7d1c00","hex_latitude":"05ea11b8","is_valid_coordinates":true} 
[2026-08-02 13:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128477696001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113837588489437184,"note":"Value kept but may cause issues"} 
[2026-08-02 13:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014376892046383104,"note":"Value kept but may cause issues"} 
[2026-08-02 13:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785658123000,"timestamp_ms":1785658123000,"timestamp_seconds":1785658123,"priority":1,"record_length":96,"hex_timestamp":"0000019fc184a2f8"} 
[2026-08-02 13:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 13:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128477696001,"66":12961,"192":206,"87":13824,"24":54,"16":113837588489437184,"45":9014376892046383104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-02 13:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128477696001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:39:04] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-02 13:39:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113837588489437184,"km_value":113837588489437.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014376892046383104,"description":"Unknown IO ID 45"} 
[2026-08-02 13:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128477696001,"power":12961,"unknown_192":206,"unknown_87":13824,"ignition":54,"odometer":null,"unknown_45":9014376892046383104}} 
[2026-08-02 13:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":146594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:39:04] local.INFO: GPS data processed {"connection_id":146594,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:39:04] local.INFO: Acknowledgment sent {"connection_id":146594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:39:07] local.INFO: TCP Data received {"connection_id":147831,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:39:07] local.INFO: Processing buffer {"connection_id":147831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:39:07] local.INFO: Packet analysis {"connection_id":147831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:39:07] local.INFO: Extracted packet for processing {"connection_id":147831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:39:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128396800001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:39:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785658101000,"timestamp_ms":1785658101000,"timestamp_seconds":1785658101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1844d08"} 
[2026-08-02 13:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13: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-08-02 13: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":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:39: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-08-02 13:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128396800001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128396800001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:39:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:39:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128396800001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":147831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:39:07] local.INFO: GPS data processed {"connection_id":147831,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:39:07] local.INFO: Acknowledgment sent {"connection_id":147831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:39:24] local.INFO: TCP Data received {"connection_id":147832,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:39:24] local.INFO: Processing buffer {"connection_id":147832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:39:24] local.INFO: IMEI packet received {"connection_id":147832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":147832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:39:27] local.INFO: TCP Data received {"connection_id":147833,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:39:27] local.INFO: Processing buffer {"connection_id":147833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:39:27] local.INFO: IMEI packet received {"connection_id":147833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":147833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:39:29] local.INFO: TCP Data received {"connection_id":147833,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:39:29] local.INFO: Processing buffer {"connection_id":147833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:39:29] local.INFO: IMEI packet received {"connection_id":147833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":147833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:39:29] local.INFO: TCP Data received {"connection_id":147832,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:39:29] local.INFO: Processing buffer {"connection_id":147832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:39:29] local.INFO: IMEI packet received {"connection_id":147832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":147832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:39:31] local.INFO: TCP Data received {"connection_id":147832,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:39:31] local.INFO: Processing buffer {"connection_id":147832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:39:31] local.INFO: Packet analysis {"connection_id":147832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:39:31] local.INFO: Extracted packet for processing {"connection_id":147832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:39:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128396800001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:39:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785658101000,"timestamp_ms":1785658101000,"timestamp_seconds":1785658101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1844d08"} 
[2026-08-02 13:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128396800001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128396800001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:39:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:39:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:39:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128396800001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":147832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:39:31] local.INFO: GPS data processed {"connection_id":147832,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:39:31] local.INFO: Acknowledgment sent {"connection_id":147832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:39:33] local.INFO: TCP Data received {"connection_id":147833,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:39:33] local.INFO: Processing buffer {"connection_id":147833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:39:33] local.INFO: IMEI packet received {"connection_id":147833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":147833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:39:34] local.INFO: TCP Data received {"connection_id":147833,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc184be50012d7d1d8005ea38e8000d00022c..."} 
[2026-08-02 13:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc184be50012d7d1d8005ea38e8000d00022c..."} 
[2026-08-02 13:39:34] local.INFO: Processing buffer {"connection_id":147833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc184be50012d7d1d8005ea38e8000d00022c..."} 
[2026-08-02 13:39:34] local.INFO: Packet analysis {"connection_id":147833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:39:34] local.INFO: Extracted packet for processing {"connection_id":147833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99236072,"longitude_deg":76.3174272,"latitude_deg":9.9236072,"altitude":13,"angle":2,"satellites":44,"speed":58,"hex_longitude":"2d7d1d80","hex_latitude":"05ea38e8","is_valid_coordinates":true} 
[2026-08-02 13:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128479488001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113838073820741632,"note":"Value kept but may cause issues"} 
[2026-08-02 13:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579490756608,"note":"Value kept but may cause issues"} 
[2026-08-02 13:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785658130000,"timestamp_ms":1785658130000,"timestamp_seconds":1785658130,"priority":1,"record_length":96,"hex_timestamp":"0000019fc184be50"} 
[2026-08-02 13:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-02 13:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128479488001,"66":13428,"192":206,"87":13824,"24":58,"16":113838073820741632,"45":9015080579490756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-02 13:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128479488001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:39:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-02 13:39:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113838073820741632,"km_value":113838073820741.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579490756608,"description":"Unknown IO ID 45"} 
[2026-08-02 13:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128479488001,"power":13428,"unknown_192":206,"unknown_87":13824,"ignition":58,"odometer":null,"unknown_45":9015080579490756608}} 
[2026-08-02 13:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":147833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:39:34] local.INFO: GPS data processed {"connection_id":147833,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:39:34] local.INFO: Acknowledgment sent {"connection_id":147833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:40:02] local.INFO: TCP Data received {"connection_id":147832,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:40:02] local.INFO: Processing buffer {"connection_id":147832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:40:02] local.INFO: Packet analysis {"connection_id":147832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:40:02] local.INFO: Extracted packet for processing {"connection_id":147832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:40:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128396800001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:40:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785658101000,"timestamp_ms":1785658101000,"timestamp_seconds":1785658101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1844d08"} 
[2026-08-02 13:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128396800001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128396800001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:40:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:40:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:40:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128396800001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":147832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:40:02] local.INFO: GPS data processed {"connection_id":147832,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:40:02] local.INFO: Acknowledgment sent {"connection_id":147832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:40:06] local.INFO: TCP Data received {"connection_id":147833,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc184d9a8012d7d1fc005ea6130000d00032d..."} 
[2026-08-02 13:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc184d9a8012d7d1fc005ea6130000d00032d..."} 
[2026-08-02 13:40:06] local.INFO: Processing buffer {"connection_id":147833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc184d9a8012d7d1fc005ea6130000d00032d..."} 
[2026-08-02 13:40:06] local.INFO: Packet analysis {"connection_id":147833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:40:06] local.INFO: Extracted packet for processing {"connection_id":147833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763174848,"raw_latitude":99246384,"longitude_deg":76.3174848,"latitude_deg":9.9246384,"altitude":13,"angle":3,"satellites":45,"speed":58,"hex_longitude":"2d7d1fc0","hex_latitude":"05ea6130","is_valid_coordinates":true} 
[2026-08-02 13:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128481280001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113838576331915264,"note":"Value kept but may cause issues"} 
[2026-08-02 13:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791958390784,"note":"Value kept but may cause issues"} 
[2026-08-02 13:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785658137000,"timestamp_ms":1785658137000,"timestamp_seconds":1785658137,"priority":1,"record_length":96,"hex_timestamp":"0000019fc184d9a8"} 
[2026-08-02 13:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:40: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-08-02 13: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":116,"data_length":795,"current_offset":136} 
[2026-08-02 13:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128481280001,"66":13428,"154":206,"87":13824,"24":58,"16":113838576331915264,"45":9015502791958390784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-02 13:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128481280001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:40:06] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-02 13:40:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113838576331915264,"km_value":113838576331915.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791958390784,"description":"Unknown IO ID 45"} 
[2026-08-02 13:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128481280001,"power":13428,"unknown_154":206,"unknown_87":13824,"ignition":58,"odometer":null,"unknown_45":9015502791958390784}} 
[2026-08-02 13:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":147833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:40:06] local.INFO: GPS data processed {"connection_id":147833,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:40:06] local.INFO: Acknowledgment sent {"connection_id":147833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:40:24] local.INFO: TCP Data received {"connection_id":146595,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:40:24] local.INFO: Processing buffer {"connection_id":146595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:40:24] local.INFO: IMEI packet received {"connection_id":146595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":146595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:40:27] local.INFO: TCP Data received {"connection_id":147834,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:40:27] local.INFO: Processing buffer {"connection_id":147834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:40:27] local.INFO: IMEI packet received {"connection_id":147834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":147834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:40:30] local.INFO: TCP Data received {"connection_id":146595,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:40:30] local.INFO: Processing buffer {"connection_id":146595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:40:30] local.INFO: IMEI packet received {"connection_id":146595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":146595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:40:32] local.INFO: TCP Data received {"connection_id":146595,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:40:32] local.INFO: Processing buffer {"connection_id":146595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:40:32] local.INFO: Packet analysis {"connection_id":146595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:40:32] local.INFO: Extracted packet for processing {"connection_id":146595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:40:32] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128396800001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:40:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785658101000,"timestamp_ms":1785658101000,"timestamp_seconds":1785658101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1844d08"} 
[2026-08-02 13:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":146595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":146595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":146595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128396800001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128396800001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:40:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:40:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:40:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128396800001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":146595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:40:32] local.INFO: GPS data processed {"connection_id":146595,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:40:32] local.INFO: Acknowledgment sent {"connection_id":146595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:40:33] local.INFO: TCP Data received {"connection_id":147834,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:40:33] local.INFO: Processing buffer {"connection_id":147834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:40:33] local.INFO: IMEI packet received {"connection_id":147834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":147834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:40:34] local.INFO: TCP Data received {"connection_id":147834,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1861228012d7d298005ebbaa0000f01612f..."} 
[2026-08-02 13:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1861228012d7d298005ebbaa0000f01612f..."} 
[2026-08-02 13:40:34] local.INFO: Processing buffer {"connection_id":147834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1861228012d7d298005ebbaa0000f01612f..."} 
[2026-08-02 13:40:34] local.INFO: Packet analysis {"connection_id":147834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc186"} 
[2026-08-02 13:40:34] local.INFO: Extracted packet for processing {"connection_id":147834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc186"} 
[2026-08-02 13:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":99334816,"longitude_deg":76.3177344,"latitude_deg":9.9334816,"altitude":15,"angle":353,"satellites":47,"speed":30,"hex_longitude":"2d7d2980","hex_latitude":"05ebbaa0","is_valid_coordinates":true} 
[2026-08-02 13:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128502272001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113842875594178560,"note":"Value kept but may cause issues"} 
[2026-08-02 13:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019936022866061312,"note":"Value kept but may cause issues"} 
[2026-08-02 13:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785658217000,"timestamp_ms":1785658217000,"timestamp_seconds":1785658217,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1861228"} 
[2026-08-02 13:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-02 13:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128502272001,"66":13515,"197":206,"87":13824,"24":30,"16":113842875594178560,"45":9019936022866061312},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-02 13:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128502272001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:40:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 13:40:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113842875594178560,"km_value":113842875594178.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019936022866061312,"description":"Unknown IO ID 45"} 
[2026-08-02 13:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128502272001,"power":13515,"unknown_197":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":9019936022866061312}} 
[2026-08-02 13:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":147834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:40:34] local.INFO: GPS data processed {"connection_id":147834,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:40:34] local.INFO: Acknowledgment sent {"connection_id":147834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:41:05] local.INFO: TCP Data received {"connection_id":147834,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18621c8012d7d29c005ebc910000d00032e..."} 
[2026-08-02 13:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18621c8012d7d29c005ebc910000d00032e..."} 
[2026-08-02 13:41:05] local.INFO: Processing buffer {"connection_id":147834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18621c8012d7d29c005ebc910000d00032e..."} 
[2026-08-02 13:41:05] local.INFO: Packet analysis {"connection_id":147834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc186"} 
[2026-08-02 13:41:05] local.INFO: Extracted packet for processing {"connection_id":147834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc186"} 
[2026-08-02 13:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763177408,"raw_latitude":99338512,"longitude_deg":76.3177408,"latitude_deg":9.9338512,"altitude":13,"angle":3,"satellites":46,"speed":40,"hex_longitude":"2d7d29c0","hex_latitude":"05ebc910","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128503552001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113843055982804992,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491704197120,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785658221000,"timestamp_ms":1785658221000,"timestamp_seconds":1785658221,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18621c8"} 
[2026-08-02 13:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:41: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-08-02 13: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 13:41: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-08-02 13: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-08-02 13:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128503552001,"66":13450,"197":206,"87":13824,"24":40,"16":113843055982804992,"45":9018880491704197120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-02 13:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128503552001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:41:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 13:41:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113843055982804992,"km_value":113843055982804.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491704197120,"description":"Unknown IO ID 45"} 
[2026-08-02 13:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128503552001,"power":13450,"unknown_197":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":9018880491704197120}} 
[2026-08-02 13:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":147834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:41:05] local.INFO: GPS data processed {"connection_id":147834,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:41:05] local.INFO: Acknowledgment sent {"connection_id":147834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:41:09] local.INFO: TCP Data received {"connection_id":146595,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:41:09] local.INFO: Processing buffer {"connection_id":146595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:41:09] local.INFO: Packet analysis {"connection_id":146595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:41:09] local.INFO: Extracted packet for processing {"connection_id":146595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:41:09] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128396800001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785658101000,"timestamp_ms":1785658101000,"timestamp_seconds":1785658101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1844d08"} 
[2026-08-02 13:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13: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-08-02 13: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":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128396800001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128396800001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:41:09] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:41:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:41:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128396800001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":146595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:41:09] local.INFO: GPS data processed {"connection_id":146595,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:41:09] local.INFO: Acknowledgment sent {"connection_id":146595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:41:29] local.INFO: TCP Data received {"connection_id":146596,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:41:29] local.INFO: Processing buffer {"connection_id":146596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:41:29] local.INFO: IMEI packet received {"connection_id":146596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":146596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:41:33] local.INFO: TCP Data received {"connection_id":147835,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:41:33] local.INFO: Processing buffer {"connection_id":147835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:41:33] local.INFO: IMEI packet received {"connection_id":147835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":147835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:41:35] local.INFO: TCP Data received {"connection_id":147835,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:41:35] local.INFO: Processing buffer {"connection_id":147835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:41:35] local.INFO: IMEI packet received {"connection_id":147835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":147835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:41:36] local.INFO: TCP Data received {"connection_id":146596,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:41:36] local.INFO: Processing buffer {"connection_id":146596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:41:36] local.INFO: IMEI packet received {"connection_id":146596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":146596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:41:36] local.INFO: TCP Data received {"connection_id":147835,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18648d8012d7d2bc005ebec08000900032b..."} 
[2026-08-02 13:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18648d8012d7d2bc005ebec08000900032b..."} 
[2026-08-02 13:41:36] local.INFO: Processing buffer {"connection_id":147835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18648d8012d7d2bc005ebec08000900032b..."} 
[2026-08-02 13:41:36] local.INFO: Packet analysis {"connection_id":147835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc186"} 
[2026-08-02 13:41:36] local.INFO: Extracted packet for processing {"connection_id":147835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc186"} 
[2026-08-02 13:41:36] local.INFO: GPS Element Parsed {"raw_longitude":763177920,"raw_latitude":99347464,"longitude_deg":76.317792,"latitude_deg":9.9347464,"altitude":9,"angle":3,"satellites":43,"speed":17,"hex_longitude":"2d7d2bc0","hex_latitude":"05ebec08","is_valid_coordinates":true} 
[2026-08-02 13:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128504576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113843489774501888,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018950860449320960,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785658231000,"timestamp_ms":1785658231000,"timestamp_seconds":1785658231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18648d8"} 
[2026-08-02 13:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:41: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-08-02 13: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 13:41: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-08-02 13:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128504576001,"66":13537,"197":206,"87":13824,"24":17,"16":113843489774501888,"45":9018950860449320960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-02 13:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128504576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:41:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 13:41:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113843489774501888,"km_value":113843489774501.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018950860449320960,"description":"Unknown IO ID 45"} 
[2026-08-02 13:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128504576001,"power":13537,"unknown_197":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9018950860449320960}} 
[2026-08-02 13:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":147835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:41:36] local.INFO: GPS data processed {"connection_id":147835,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:41:36] local.INFO: Acknowledgment sent {"connection_id":147835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:41:37] local.INFO: TCP Data received {"connection_id":146596,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:41:37] local.INFO: Processing buffer {"connection_id":146596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:41:37] local.INFO: Packet analysis {"connection_id":146596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:41:37] local.INFO: Extracted packet for processing {"connection_id":146596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:41:37] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128396800001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785658101000,"timestamp_ms":1785658101000,"timestamp_seconds":1785658101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1844d08"} 
[2026-08-02 13:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128396800001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128396800001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:41:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:41:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:41:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128396800001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":146596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:41:37] local.INFO: GPS data processed {"connection_id":146596,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:41:37] local.INFO: Acknowledgment sent {"connection_id":146596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:41:38] local.INFO: TCP Data received {"connection_id":147835,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1867ba0012d7d2e0005ec0ef00007000322..."} 
[2026-08-02 13:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1867ba0012d7d2e0005ec0ef00007000322..."} 
[2026-08-02 13:41:38] local.INFO: Processing buffer {"connection_id":147835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1867ba0012d7d2e0005ec0ef00007000322..."} 
[2026-08-02 13:41:38] local.INFO: Packet analysis {"connection_id":147835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc186"} 
[2026-08-02 13:41:38] local.INFO: Extracted packet for processing {"connection_id":147835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc186"} 
[2026-08-02 13:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763178496,"raw_latitude":99356400,"longitude_deg":76.3178496,"latitude_deg":9.93564,"altitude":7,"angle":3,"satellites":34,"speed":27,"hex_longitude":"2d7d2e00","hex_latitude":"05ec0ef0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128507136001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113843927861166080,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019513810405033984,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785658244000,"timestamp_ms":1785658244000,"timestamp_seconds":1785658244,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1867ba0"} 
[2026-08-02 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-08-02 13:41: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-08-02 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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-02 13:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 13:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128507136001,"66":13417,"197":206,"87":13824,"24":27,"16":113843927861166080,"45":9019513810405033984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-02 13:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128507136001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:41:38] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 13:41:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113843927861166080,"km_value":113843927861166.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019513810405033984,"description":"Unknown IO ID 45"} 
[2026-08-02 13:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128507136001,"power":13417,"unknown_197":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":9019513810405033984}} 
[2026-08-02 13:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":147835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:41:38] local.INFO: GPS data processed {"connection_id":147835,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:41:38] local.INFO: Acknowledgment sent {"connection_id":147835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:41:40] local.INFO: TCP Data received {"connection_id":146596,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:41:40] local.INFO: Processing buffer {"connection_id":146596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:41:40] local.INFO: Packet analysis {"connection_id":146596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:41:40] local.INFO: Extracted packet for processing {"connection_id":146596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:41:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128396800001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785658101000,"timestamp_ms":1785658101000,"timestamp_seconds":1785658101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1844d08"} 
[2026-08-02 13:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:41: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-08-02 13: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":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:41: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-08-02 13:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128396800001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128396800001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:41:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:41:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:41:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128396800001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":146596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:41:40] local.INFO: GPS data processed {"connection_id":146596,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:41:40] local.INFO: Acknowledgment sent {"connection_id":146596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:42:09] local.INFO: TCP Data received {"connection_id":147835,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc186ae68012d7d2f8005ec3280000700022a..."} 
[2026-08-02 13:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc186ae68012d7d2f8005ec3280000700022a..."} 
[2026-08-02 13:42:09] local.INFO: Processing buffer {"connection_id":147835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc186ae68012d7d2f8005ec3280000700022a..."} 
[2026-08-02 13:42:09] local.INFO: Packet analysis {"connection_id":147835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc186"} 
[2026-08-02 13:42:09] local.INFO: Extracted packet for processing {"connection_id":147835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc186"} 
[2026-08-02 13:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":99365504,"longitude_deg":76.317888,"latitude_deg":9.9365504,"altitude":7,"angle":2,"satellites":42,"speed":17,"hex_longitude":"2d7d2f80","hex_latitude":"05ec3280","is_valid_coordinates":true} 
[2026-08-02 13:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128510464001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113844370242797568,"note":"Value kept but may cause issues"} 
[2026-08-02 13:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020147129104920576,"note":"Value kept but may cause issues"} 
[2026-08-02 13:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785658257000,"timestamp_ms":1785658257000,"timestamp_seconds":1785658257,"priority":1,"record_length":96,"hex_timestamp":"0000019fc186ae68"} 
[2026-08-02 13:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-02 13:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128510464001,"66":13374,"197":206,"87":13824,"24":17,"16":113844370242797568,"45":9020147129104920576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-02 13:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128510464001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:42:09] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 13:42:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113844370242797568,"km_value":113844370242797.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020147129104920576,"description":"Unknown IO ID 45"} 
[2026-08-02 13:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128510464001,"power":13374,"unknown_197":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9020147129104920576}} 
[2026-08-02 13:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":147835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:42:10] local.INFO: GPS data processed {"connection_id":147835,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:42:10] local.INFO: Acknowledgment sent {"connection_id":147835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:42:24] local.INFO: TCP Data received {"connection_id":149149,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:42:24] local.INFO: Processing buffer {"connection_id":149149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:42:24] local.INFO: IMEI packet received {"connection_id":149149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":149149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:42:27] local.INFO: TCP Data received {"connection_id":149150,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:42:27] local.INFO: Processing buffer {"connection_id":149150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:42:27] local.INFO: IMEI packet received {"connection_id":149150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":149150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:42:28] local.INFO: TCP Data received {"connection_id":149150,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:42:28] local.INFO: Processing buffer {"connection_id":149150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:42:28] local.INFO: IMEI packet received {"connection_id":149150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":149150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:42:29] local.INFO: TCP Data received {"connection_id":149149,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:42:29] local.INFO: Processing buffer {"connection_id":149149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:42:29] local.INFO: IMEI packet received {"connection_id":149149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":149149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:42:30] local.INFO: TCP Data received {"connection_id":149149,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:42:30] local.INFO: Processing buffer {"connection_id":149149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:42:30] local.INFO: Packet analysis {"connection_id":149149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:42:30] local.INFO: Extracted packet for processing {"connection_id":149149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:42:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128396800001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785658101000,"timestamp_ms":1785658101000,"timestamp_seconds":1785658101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1844d08"} 
[2026-08-02 13:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128396800001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128396800001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:42:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:42:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128396800001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":149149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:42:30] local.INFO: GPS data processed {"connection_id":149149,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:42:30] local.INFO: Acknowledgment sent {"connection_id":149149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:42:33] local.INFO: TCP Data received {"connection_id":149150,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:42:33] local.INFO: Processing buffer {"connection_id":149150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:42:33] local.INFO: IMEI packet received {"connection_id":149150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":149150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:42:35] local.INFO: TCP Data received {"connection_id":149150,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc186fc88012d7d2ec005ec3bc80007016629..."} 
[2026-08-02 13:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc186fc88012d7d2ec005ec3bc80007016629..."} 
[2026-08-02 13:42:35] local.INFO: Processing buffer {"connection_id":149150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc186fc88012d7d2ec005ec3bc80007016629..."} 
[2026-08-02 13:42:35] local.INFO: Packet analysis {"connection_id":149150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc186"} 
[2026-08-02 13:42:35] local.INFO: Extracted packet for processing {"connection_id":149150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc186"} 
[2026-08-02 13:42:35] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99367880,"longitude_deg":76.3178688,"latitude_deg":9.936788,"altitude":7,"angle":358,"satellites":41,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec3bc8","is_valid_coordinates":true} 
[2026-08-02 13:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128513792001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113844486206914560,"note":"Value kept but may cause issues"} 
[2026-08-02 13:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020569341572317184,"note":"Value kept but may cause issues"} 
[2026-08-02 13:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785658277000,"timestamp_ms":1785658277000,"timestamp_seconds":1785658277,"priority":1,"record_length":96,"hex_timestamp":"0000019fc186fc88"} 
[2026-08-02 13:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":62,"data_length":795,"current_offset":136} 
[2026-08-02 13:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128513792001,"66":12982,"110":206,"87":13824,"24":0,"16":113844486206914560,"45":9020569341572317184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-02 13:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128513792001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:42:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 13:42:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113844486206914560,"km_value":113844486206914.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020569341572317184,"description":"Unknown IO ID 45"} 
[2026-08-02 13:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128513792001,"power":12982,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020569341572317184}} 
[2026-08-02 13:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":149150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:42:35] local.INFO: GPS data processed {"connection_id":149150,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:42:35] local.INFO: Acknowledgment sent {"connection_id":149150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:42:38] local.INFO: TCP Data received {"connection_id":149150,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1873b08012d7d2ec005ec3ce0000700142a..."} 
[2026-08-02 13:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1873b08012d7d2ec005ec3ce0000700142a..."} 
[2026-08-02 13:42:38] local.INFO: Processing buffer {"connection_id":149150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1873b08012d7d2ec005ec3ce0000700142a..."} 
[2026-08-02 13:42:38] local.INFO: Packet analysis {"connection_id":149150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc187"} 
[2026-08-02 13:42:38] local.INFO: Extracted packet for processing {"connection_id":149150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc187"} 
[2026-08-02 13:42:38] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99368160,"longitude_deg":76.3178688,"latitude_deg":9.936816,"altitude":7,"angle":20,"satellites":42,"speed":3,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec3ce0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128518912001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113844499091816448,"note":"Value kept but may cause issues"} 
[2026-08-02 13:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235340392448,"note":"Value kept but may cause issues"} 
[2026-08-02 13:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785658293000,"timestamp_ms":1785658293000,"timestamp_seconds":1785658293,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1873b08"} 
[2026-08-02 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-08-02 13:42: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-08-02 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-02 13:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 13:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":149150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":149150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":149150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128518912001,"66":13135,"110":206,"87":13824,"24":3,"16":113844499091816448,"45":9020358235340392448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-02 13:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128518912001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:42:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 13:42:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113844499091816448,"km_value":113844499091816.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235340392448,"description":"Unknown IO ID 45"} 
[2026-08-02 13:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128518912001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9020358235340392448}} 
[2026-08-02 13:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":149150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:42:38] local.INFO: GPS data processed {"connection_id":149150,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:42:38] local.INFO: Acknowledgment sent {"connection_id":149150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:43:02] local.INFO: TCP Data received {"connection_id":149149,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:43:02] local.INFO: Processing buffer {"connection_id":149149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:43:02] local.INFO: Packet analysis {"connection_id":149149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:43:02] local.INFO: Extracted packet for processing {"connection_id":149149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:43:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128396800001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:43:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785658101000,"timestamp_ms":1785658101000,"timestamp_seconds":1785658101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1844d08"} 
[2026-08-02 13:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128396800001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128396800001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:43:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:43:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:43:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128396800001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":149149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:43:02] local.INFO: GPS data processed {"connection_id":149149,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:43:02] local.INFO: Acknowledgment sent {"connection_id":149149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:43:09] local.INFO: TCP Data received {"connection_id":149150,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1874e90012d7d2fc005ec3e300007003429..."} 
[2026-08-02 13:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1874e90012d7d2fc005ec3e300007003429..."} 
[2026-08-02 13:43:09] local.INFO: Processing buffer {"connection_id":149150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1874e90012d7d2fc005ec3e300007003429..."} 
[2026-08-02 13:43:09] local.INFO: Packet analysis {"connection_id":149150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc187"} 
[2026-08-02 13:43:09] local.INFO: Extracted packet for processing {"connection_id":149150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc187"} 
[2026-08-02 13:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763178944,"raw_latitude":99368496,"longitude_deg":76.3178944,"latitude_deg":9.9368496,"altitude":7,"angle":52,"satellites":41,"speed":3,"hex_longitude":"2d7d2fc0","hex_latitude":"05ec3e30","is_valid_coordinates":true} 
[2026-08-02 13:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128523008001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113844520566652928,"note":"Value kept but may cause issues"} 
[2026-08-02 13:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235340464128,"note":"Value kept but may cause issues"} 
[2026-08-02 13:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785658298000,"timestamp_ms":1785658298000,"timestamp_seconds":1785658298,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1874e90"} 
[2026-08-02 13:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-02 13:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128523008001,"66":13037,"110":206,"87":13824,"24":3,"16":113844520566652928,"45":9020358235340464128},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-02 13:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128523008001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:43:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 13:43:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113844520566652928,"km_value":113844520566652.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235340464128,"description":"Unknown IO ID 45"} 
[2026-08-02 13:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128523008001,"power":13037,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9020358235340464128}} 
[2026-08-02 13:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":149150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:43:09] local.INFO: GPS data processed {"connection_id":149150,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:43:09] local.INFO: Acknowledgment sent {"connection_id":149150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:43:24] local.INFO: TCP Data received {"connection_id":149151,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:43:24] local.INFO: Processing buffer {"connection_id":149151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:43:24] local.INFO: IMEI packet received {"connection_id":149151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":149151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:43:28] local.INFO: TCP Data received {"connection_id":147836,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:43:28] local.INFO: Processing buffer {"connection_id":147836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:43:28] local.INFO: IMEI packet received {"connection_id":147836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":147836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:43:29] local.INFO: TCP Data received {"connection_id":149151,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:43:29] local.INFO: Processing buffer {"connection_id":149151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:43:29] local.INFO: IMEI packet received {"connection_id":149151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":149151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:43:31] local.INFO: TCP Data received {"connection_id":149151,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:43:31] local.INFO: Processing buffer {"connection_id":149151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1844d08012cc330c007685958005800c52b..."} 
[2026-08-02 13:43:31] local.INFO: Packet analysis {"connection_id":149151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:43:31] local.INFO: Extracted packet for processing {"connection_id":149151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc184"} 
[2026-08-02 13:43:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128396800001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:43:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785658101000,"timestamp_ms":1785658101000,"timestamp_seconds":1785658101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1844d08"} 
[2026-08-02 13:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128396800001,"66":25604,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128396800001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:43:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:43:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:43:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128396800001,"power":25604,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":149151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:43:31] local.INFO: GPS data processed {"connection_id":149151,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:43:31] local.INFO: Acknowledgment sent {"connection_id":149151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:43:33] local.INFO: TCP Data received {"connection_id":147836,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:43:33] local.INFO: Processing buffer {"connection_id":147836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:43:33] local.INFO: IMEI packet received {"connection_id":147836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":147836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:43:35] local.INFO: TCP Data received {"connection_id":147836,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1876600012d7d30c005ec3ef8000700412c..."} 
[2026-08-02 13:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1876600012d7d30c005ec3ef8000700412c..."} 
[2026-08-02 13:43:35] local.INFO: Processing buffer {"connection_id":147836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1876600012d7d30c005ec3ef8000700412c..."} 
[2026-08-02 13:43:35] local.INFO: Packet analysis {"connection_id":147836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc187"} 
[2026-08-02 13:43:35] local.INFO: Extracted packet for processing {"connection_id":147836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc187"} 
[2026-08-02 13:43:35] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99368696,"longitude_deg":76.31792,"latitude_deg":9.9368696,"altitude":7,"angle":65,"satellites":44,"speed":1,"hex_longitude":"2d7d30c0","hex_latitude":"05ec3ef8","is_valid_coordinates":true} 
[2026-08-02 13:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128524288001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113844537746522112,"note":"Value kept but may cause issues"} 
[2026-08-02 13:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020639710317260800,"note":"Value kept but may cause issues"} 
[2026-08-02 13:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785658304000,"timestamp_ms":1785658304000,"timestamp_seconds":1785658304,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1876600"} 
[2026-08-02 13:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-02 13:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128524288001,"66":13048,"110":206,"87":13824,"24":1,"16":113844537746522112,"45":9020639710317260800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-02 13:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128524288001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:43:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 13:43:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113844537746522112,"km_value":113844537746522.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020639710317260800,"description":"Unknown IO ID 45"} 
[2026-08-02 13:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128524288001,"power":13048,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9020639710317260800}} 
[2026-08-02 13:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":147836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:43:35] local.INFO: GPS data processed {"connection_id":147836,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:43:35] local.INFO: Acknowledgment sent {"connection_id":147836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:44:04] local.INFO: TCP Data received {"connection_id":149151,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:44:04] local.INFO: Processing buffer {"connection_id":149151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:44:04] local.INFO: Packet analysis {"connection_id":149151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:44:04] local.INFO: Extracted packet for processing {"connection_id":149151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:44:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128473856001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785658402000,"timestamp_ms":1785658402000,"timestamp_seconds":1785658402,"priority":1,"record_length":96,"hex_timestamp":"0000019fc188e4d0"} 
[2026-08-02 13:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128473856001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128473856001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:44:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:44:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128473856001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":149151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:44:04] local.INFO: GPS data processed {"connection_id":149151,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:44:04] local.INFO: Acknowledgment sent {"connection_id":149151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:44:06] local.INFO: TCP Data received {"connection_id":147836,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18913b0012d7e064005ec7c20000b004a2c..."} 
[2026-08-02 13:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18913b0012d7e064005ec7c20000b004a2c..."} 
[2026-08-02 13:44:06] local.INFO: Processing buffer {"connection_id":147836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18913b0012d7e064005ec7c20000b004a2c..."} 
[2026-08-02 13:44:06] local.INFO: Packet analysis {"connection_id":147836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc189"} 
[2026-08-02 13:44:06] local.INFO: Extracted packet for processing {"connection_id":147836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc189"} 
[2026-08-02 13:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763233856,"raw_latitude":99384352,"longitude_deg":76.3233856,"latitude_deg":9.9384352,"altitude":11,"angle":74,"satellites":44,"speed":35,"hex_longitude":"2d7e0640","hex_latitude":"05ec7c20","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128550912001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113847286525591552,"note":"Value kept but may cause issues"} 
[2026-08-02 13:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070953362407542784,"note":"Value kept but may cause issues"} 
[2026-08-02 13:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785658414000,"timestamp_ms":1785658414000,"timestamp_seconds":1785658414,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18913b0"} 
[2026-08-02 13:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:44: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-08-02 13: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-08-02 13: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-08-02 13: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-08-02 13:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128550912001,"66":13472,"108":206,"87":13824,"24":35,"16":113847286525591552,"45":9070953362407542784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-08-02 13:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128550912001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:44:06] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-02 13:44:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113847286525591552,"km_value":113847286525591.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070953362407542784,"description":"Unknown IO ID 45"} 
[2026-08-02 13:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128550912001,"power":13472,"unknown_108":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":9070953362407542784}} 
[2026-08-02 13:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":147836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:44:06] local.INFO: GPS data processed {"connection_id":147836,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:44:06] local.INFO: Acknowledgment sent {"connection_id":147836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:44:27] local.INFO: TCP Data received {"connection_id":146597,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:44:27] local.INFO: Processing buffer {"connection_id":146597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:44:27] local.INFO: IMEI packet received {"connection_id":146597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":146597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:44:27] local.INFO: TCP Data received {"connection_id":146597,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:44:27] local.INFO: Processing buffer {"connection_id":146597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:44:27] local.INFO: IMEI packet received {"connection_id":146597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":146597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:44:33] local.INFO: TCP Data received {"connection_id":146597,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:44:33] local.INFO: Processing buffer {"connection_id":146597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:44:33] local.INFO: IMEI packet received {"connection_id":146597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":146597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:44:35] local.INFO: TCP Data received {"connection_id":146597,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1894290012d7e284005ec8750000c004629..."} 
[2026-08-02 13:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1894290012d7e284005ec8750000c004629..."} 
[2026-08-02 13:44:35] local.INFO: Processing buffer {"connection_id":146597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1894290012d7e284005ec8750000c004629..."} 
[2026-08-02 13:44:35] local.INFO: Packet analysis {"connection_id":146597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc189"} 
[2026-08-02 13:44:35] local.INFO: Extracted packet for processing {"connection_id":146597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc189"} 
[2026-08-02 13:44:35] local.INFO: GPS Element Parsed {"raw_longitude":763242560,"raw_latitude":99387216,"longitude_deg":76.324256,"latitude_deg":9.9387216,"altitude":12,"angle":70,"satellites":41,"speed":26,"hex_longitude":"2d7e2840","hex_latitude":"05ec8750","is_valid_coordinates":true} 
[2026-08-02 13:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128553984001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113847724612255744,"note":"Value kept but may cause issues"} 
[2026-08-02 13:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9081016092825755648,"note":"Value kept but may cause issues"} 
[2026-08-02 13:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785658426000,"timestamp_ms":1785658426000,"timestamp_seconds":1785658426,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1894290"} 
[2026-08-02 13:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 13:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128553984001,"66":13559,"108":206,"87":13824,"24":26,"16":113847724612255744,"45":9081016092825755648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-08-02 13:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128553984001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:44:35] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-02 13:44:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113847724612255744,"km_value":113847724612255.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9081016092825755648,"description":"Unknown IO ID 45"} 
[2026-08-02 13:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128553984001,"power":13559,"unknown_108":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9081016092825755648}} 
[2026-08-02 13:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":146597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:44:35] local.INFO: GPS data processed {"connection_id":146597,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:44:35] local.INFO: Acknowledgment sent {"connection_id":146597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:44:40] local.INFO: TCP Data received {"connection_id":146598,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:44:40] local.INFO: Processing buffer {"connection_id":146598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:44:40] local.INFO: IMEI packet received {"connection_id":146598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":146598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:44:44] local.INFO: TCP Data received {"connection_id":146598,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:44:44] local.INFO: Processing buffer {"connection_id":146598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:44:44] local.INFO: IMEI packet received {"connection_id":146598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":146598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:44:54] local.INFO: TCP Data received {"connection_id":146598,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:44:54] local.INFO: Processing buffer {"connection_id":146598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:44:54] local.INFO: Packet analysis {"connection_id":146598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:44:54] local.INFO: Extracted packet for processing {"connection_id":146598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:44:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128473856001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:44:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785658402000,"timestamp_ms":1785658402000,"timestamp_seconds":1785658402,"priority":1,"record_length":96,"hex_timestamp":"0000019fc188e4d0"} 
[2026-08-02 13:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128473856001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128473856001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:44:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:44:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:44:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128473856001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":146598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:44:55] local.INFO: GPS data processed {"connection_id":146598,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:44:55] local.INFO: Acknowledgment sent {"connection_id":146598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:45:06] local.INFO: TCP Data received {"connection_id":146597,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1896d88012d7e418005ec9068000b00522b..."} 
[2026-08-02 13:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1896d88012d7e418005ec9068000b00522b..."} 
[2026-08-02 13:45:06] local.INFO: Processing buffer {"connection_id":146597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1896d88012d7e418005ec9068000b00522b..."} 
[2026-08-02 13:45:06] local.INFO: Packet analysis {"connection_id":146597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc189"} 
[2026-08-02 13:45:06] local.INFO: Extracted packet for processing {"connection_id":146597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc189"} 
[2026-08-02 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763249024,"raw_latitude":99389544,"longitude_deg":76.3249024,"latitude_deg":9.9389544,"altitude":11,"angle":82,"satellites":43,"speed":11,"hex_longitude":"2d7e4180","hex_latitude":"05ec9068","is_valid_coordinates":true} 
[2026-08-02 13:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128557056001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113848055324737536,"note":"Value kept but may cause issues"} 
[2026-08-02 13:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090586242034651136,"note":"Value kept but may cause issues"} 
[2026-08-02 13:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785658437000,"timestamp_ms":1785658437000,"timestamp_seconds":1785658437,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1896d88"} 
[2026-08-02 13:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:45: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-08-02 13:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 13:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128557056001,"66":13493,"108":206,"87":13824,"24":11,"16":113848055324737536,"45":9090586242034651136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-08-02 13:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128557056001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:45:06] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-02 13:45:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113848055324737536,"km_value":113848055324737.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090586242034651136,"description":"Unknown IO ID 45"} 
[2026-08-02 13:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128557056001,"power":13493,"unknown_108":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9090586242034651136}} 
[2026-08-02 13:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":146597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:45:06] local.INFO: GPS data processed {"connection_id":146597,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:45:06] local.INFO: Acknowledgment sent {"connection_id":146597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:45:27] local.INFO: TCP Data received {"connection_id":146806,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:45:27] local.INFO: Processing buffer {"connection_id":146806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:45:27] local.INFO: IMEI packet received {"connection_id":146806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":146806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:45:30] local.INFO: TCP Data received {"connection_id":146599,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:45:30] local.INFO: Processing buffer {"connection_id":146599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:45:30] local.INFO: IMEI packet received {"connection_id":146599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":146599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:45:33] local.INFO: TCP Data received {"connection_id":146806,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:45:33] local.INFO: Processing buffer {"connection_id":146806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:45:33] local.INFO: IMEI packet received {"connection_id":146806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":146806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:45:34] local.INFO: TCP Data received {"connection_id":146806,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc189a438012d7e678005ec93f0000b00562b..."} 
[2026-08-02 13:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc189a438012d7e678005ec93f0000b00562b..."} 
[2026-08-02 13:45:34] local.INFO: Processing buffer {"connection_id":146806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc189a438012d7e678005ec93f0000b00562b..."} 
[2026-08-02 13:45:34] local.INFO: Packet analysis {"connection_id":146806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc189"} 
[2026-08-02 13:45:34] local.INFO: Extracted packet for processing {"connection_id":146806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc189"} 
[2026-08-02 13:45:34] local.INFO: GPS Element Parsed {"raw_longitude":763258752,"raw_latitude":99390448,"longitude_deg":76.3258752,"latitude_deg":9.9390448,"altitude":11,"angle":86,"satellites":43,"speed":35,"hex_longitude":"2d7e6780","hex_latitude":"05ec93f0","is_valid_coordinates":true} 
[2026-08-02 13:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128559872001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113848519181205504,"note":"Value kept but may cause issues"} 
[2026-08-02 13:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097693485197191168,"note":"Value kept but may cause issues"} 
[2026-08-02 13:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785658451000,"timestamp_ms":1785658451000,"timestamp_seconds":1785658451,"priority":1,"record_length":96,"hex_timestamp":"0000019fc189a438"} 
[2026-08-02 13:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 13:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128559872001,"66":13319,"108":206,"87":13824,"24":35,"16":113848519181205504,"45":9097693485197191168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-08-02 13:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128559872001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:45:34] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-02 13:45:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113848519181205504,"km_value":113848519181205.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097693485197191168,"description":"Unknown IO ID 45"} 
[2026-08-02 13:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128559872001,"power":13319,"unknown_108":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":9097693485197191168}} 
[2026-08-02 13:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":146806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:45:34] local.INFO: GPS data processed {"connection_id":146806,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:45:34] local.INFO: Acknowledgment sent {"connection_id":146806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:45:34] local.INFO: TCP Data received {"connection_id":146599,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:45:34] local.INFO: Processing buffer {"connection_id":146599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:45:34] local.INFO: IMEI packet received {"connection_id":146599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":146599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:45:36] local.INFO: TCP Data received {"connection_id":146599,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:45:36] local.INFO: Processing buffer {"connection_id":146599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:45:36] local.INFO: Packet analysis {"connection_id":146599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:45:36] local.INFO: Extracted packet for processing {"connection_id":146599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:45:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128473856001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:45:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785658402000,"timestamp_ms":1785658402000,"timestamp_seconds":1785658402,"priority":1,"record_length":96,"hex_timestamp":"0000019fc188e4d0"} 
[2026-08-02 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-08-02 13:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 13:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128473856001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128473856001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:45:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:45:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:45:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128473856001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":146599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:45:36] local.INFO: GPS data processed {"connection_id":146599,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:45:36] local.INFO: Acknowledgment sent {"connection_id":146599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:45:45] local.INFO: TCP Data received {"connection_id":146599,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:45:45] local.INFO: Processing buffer {"connection_id":146599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:45:45] local.INFO: Packet analysis {"connection_id":146599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:45:45] local.INFO: Extracted packet for processing {"connection_id":146599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:45:45] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128473856001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:45:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785658402000,"timestamp_ms":1785658402000,"timestamp_seconds":1785658402,"priority":1,"record_length":96,"hex_timestamp":"0000019fc188e4d0"} 
[2026-08-02 13:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:45: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-08-02 13:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128473856001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128473856001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:45:45] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:45:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:45:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128473856001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":146599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:45:45] local.INFO: GPS data processed {"connection_id":146599,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:45:45] local.INFO: Acknowledgment sent {"connection_id":146599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:46:25] local.INFO: TCP Data received {"connection_id":146807,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:46:25] local.INFO: Processing buffer {"connection_id":146807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:46:25] local.INFO: IMEI packet received {"connection_id":146807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":146807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:46:32] local.INFO: TCP Data received {"connection_id":146807,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:46:33] local.INFO: Processing buffer {"connection_id":146807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:46:33] local.INFO: IMEI packet received {"connection_id":146807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":146807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:46:35] local.INFO: TCP Data received {"connection_id":146807,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:46:35] local.INFO: Processing buffer {"connection_id":146807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:46:35] local.INFO: Packet analysis {"connection_id":146807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:46:35] local.INFO: Extracted packet for processing {"connection_id":146807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:46:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128473856001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785658402000,"timestamp_ms":1785658402000,"timestamp_seconds":1785658402,"priority":1,"record_length":96,"hex_timestamp":"0000019fc188e4d0"} 
[2026-08-02 13:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128473856001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128473856001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:46:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:46:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:46:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128473856001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":146807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:46:35] local.INFO: GPS data processed {"connection_id":146807,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:46:35] local.INFO: Acknowledgment sent {"connection_id":146807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:46:49] local.INFO: TCP Data received {"connection_id":146806,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18ae488012d7f49c005ecd4480008002e2c..."} 
[2026-08-02 13:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18ae488012d7f49c005ecd4480008002e2c..."} 
[2026-08-02 13:46:49] local.INFO: Processing buffer {"connection_id":146806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18ae488012d7f49c005ecd4480008002e2c..."} 
[2026-08-02 13:46:49] local.INFO: Packet analysis {"connection_id":146806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18a"} 
[2026-08-02 13:46:49] local.INFO: Extracted packet for processing {"connection_id":146806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18a"} 
[2026-08-02 13:46:49] local.INFO: GPS Element Parsed {"raw_longitude":763316672,"raw_latitude":99406920,"longitude_deg":76.3316672,"latitude_deg":9.940692,"altitude":8,"angle":46,"satellites":44,"speed":37,"hex_longitude":"2d7f49c0","hex_latitude":"05ecd448","is_valid_coordinates":true} 
[2026-08-02 13:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128581632001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113851637327462400,"note":"Value kept but may cause issues"} 
[2026-08-02 13:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164051210959452160,"note":"Value kept but may cause issues"} 
[2026-08-02 13:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785658533000,"timestamp_ms":1785658533000,"timestamp_seconds":1785658533,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18ae488"} 
[2026-08-02 13:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 13:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128581632001,"66":13298,"220":206,"87":13824,"24":37,"16":113851637327462400,"45":9164051210959452160},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,87,24,16,45]} 
[2026-08-02 13:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128581632001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:46:49] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-02 13:46:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113851637327462400,"km_value":113851637327462.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164051210959452160,"description":"Unknown IO ID 45"} 
[2026-08-02 13:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128581632001,"power":13298,"unknown_220":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":9164051210959452160}} 
[2026-08-02 13:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":146806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:46:49] local.INFO: GPS data processed {"connection_id":146806,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:46:49] local.INFO: Acknowledgment sent {"connection_id":146806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:47:01] local.INFO: TCP Data received {"connection_id":147837,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:01] local.INFO: Processing buffer {"connection_id":147837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:01] local.INFO: IMEI packet received {"connection_id":147837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":147837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:47:02] local.INFO: TCP Data received {"connection_id":147837,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:02] local.INFO: Processing buffer {"connection_id":147837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:02] local.INFO: IMEI packet received {"connection_id":147837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":147837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:47:07] local.INFO: TCP Data received {"connection_id":146807,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:47:07] local.INFO: Processing buffer {"connection_id":146807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:47:07] local.INFO: Packet analysis {"connection_id":146807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:47:07] local.INFO: Extracted packet for processing {"connection_id":146807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:47:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128473856001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785658402000,"timestamp_ms":1785658402000,"timestamp_seconds":1785658402,"priority":1,"record_length":96,"hex_timestamp":"0000019fc188e4d0"} 
[2026-08-02 13:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13: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-08-02 13:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:47: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-08-02 13:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128473856001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128473856001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:47:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:47:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:47:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128473856001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":146807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:47:07] local.INFO: GPS data processed {"connection_id":146807,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:47:07] local.INFO: Acknowledgment sent {"connection_id":146807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:47:09] local.INFO: TCP Data received {"connection_id":147837,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:09] local.INFO: Processing buffer {"connection_id":147837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:09] local.INFO: IMEI packet received {"connection_id":147837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":147837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:47:11] local.INFO: TCP Data received {"connection_id":147837,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18be270012d7fda4005ed2738000700782c..."} 
[2026-08-02 13:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18be270012d7fda4005ed2738000700782c..."} 
[2026-08-02 13:47:11] local.INFO: Processing buffer {"connection_id":147837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18be270012d7fda4005ed2738000700782c..."} 
[2026-08-02 13:47:11] local.INFO: Packet analysis {"connection_id":147837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18b"} 
[2026-08-02 13:47:11] local.INFO: Extracted packet for processing {"connection_id":147837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18b"} 
[2026-08-02 13:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763353664,"raw_latitude":99428152,"longitude_deg":76.3353664,"latitude_deg":9.9428152,"altitude":7,"angle":120,"satellites":44,"speed":16,"hex_longitude":"2d7fda40","hex_latitude":"05ed2738","is_valid_coordinates":true} 
[2026-08-02 13:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128600832001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113853728976535552,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212394538216699904,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785658598000,"timestamp_ms":1785658598000,"timestamp_seconds":1785658598,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18be270"} 
[2026-08-02 13:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:47: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-08-02 13: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-02 13:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937424,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:11] local.WARNING: Large IO value detected {"io_id":216,"raw_value":58079734643818522,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3247150160,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:11] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2343288833,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1356333262,"corrected_to":0} 
[2026-08-02 13:47:11] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2147872029,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3977922560,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:11] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,216,87,24,241,157,16,125,159,218,45,192,39,6,44,10,66,214,206,64,1,240,3,227,193,237,4,113,205,17,160,201,152,43,239,52,2,148,5,7,26],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1356333262,"validated":0}]} 
[2026-08-02 13:47:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432461201927897088,"timestamp_seconds":432461201927897.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 13:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128600832001,"66":13374,"216":206,"87":13824,"24":16,"16":113853728976535552,"45":9212394538216699904},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-08-02 13:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128600832001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:47:11] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-02 13:47:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113853728976535552,"km_value":113853728976535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212394538216699904,"description":"Unknown IO ID 45"} 
[2026-08-02 13:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128600832001,"power":13374,"unknown_216":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9212394538216699904}} 
[2026-08-02 13:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":147837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:47:11] local.INFO: GPS data processed {"connection_id":147837,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:47:11] local.INFO: Acknowledgment sent {"connection_id":147837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:47:24] local.INFO: TCP Data received {"connection_id":149152,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:47:24] local.INFO: Processing buffer {"connection_id":149152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:47:24] local.INFO: IMEI packet received {"connection_id":149152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":149152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:47:29] local.INFO: TCP Data received {"connection_id":149152,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:47:29] local.INFO: Processing buffer {"connection_id":149152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:47:29] local.INFO: IMEI packet received {"connection_id":149152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":149152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:47:31] local.INFO: TCP Data received {"connection_id":149152,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:47:31] local.INFO: Processing buffer {"connection_id":149152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:47:31] local.INFO: Packet analysis {"connection_id":149152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:47:31] local.INFO: Extracted packet for processing {"connection_id":149152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:47:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128473856001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785658402000,"timestamp_ms":1785658402000,"timestamp_seconds":1785658402,"priority":1,"record_length":96,"hex_timestamp":"0000019fc188e4d0"} 
[2026-08-02 13:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128473856001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128473856001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:47:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:47:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:47:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128473856001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":149152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:47:31] local.INFO: GPS data processed {"connection_id":149152,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:47:31] local.INFO: Acknowledgment sent {"connection_id":149152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:47:33] local.INFO: TCP Data received {"connection_id":147838,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:33] local.INFO: Processing buffer {"connection_id":147838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:33] local.INFO: IMEI packet received {"connection_id":147838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":147838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:47:33] local.INFO: TCP Data received {"connection_id":147838,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:33] local.INFO: Processing buffer {"connection_id":147838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:33] local.INFO: IMEI packet received {"connection_id":147838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":147838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:47:46] local.INFO: TCP Data received {"connection_id":147838,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:46] local.INFO: Processing buffer {"connection_id":147838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:47:46] local.INFO: IMEI packet received {"connection_id":147838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":147838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:47:48] local.INFO: TCP Data received {"connection_id":147838,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18c1538012d7ff78005ed1218000600802b..."} 
[2026-08-02 13:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18c1538012d7ff78005ed1218000600802b..."} 
[2026-08-02 13:47:48] local.INFO: Processing buffer {"connection_id":147838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18c1538012d7ff78005ed1218000600802b..."} 
[2026-08-02 13:47:48] local.INFO: Packet analysis {"connection_id":147838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18c"} 
[2026-08-02 13:47:48] local.INFO: Extracted packet for processing {"connection_id":147838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18c"} 
[2026-08-02 13:47:48] local.INFO: GPS Element Parsed {"raw_longitude":763361152,"raw_latitude":99422744,"longitude_deg":76.3361152,"latitude_deg":9.9422744,"altitude":6,"angle":128,"satellites":43,"speed":29,"hex_longitude":"2d7ff780","hex_latitude":"05ed1218","is_valid_coordinates":true} 
[2026-08-02 13:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128601088001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113854175653134336,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212746381937555456,"note":"Value kept but may cause issues"} 
[2026-08-02 13:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785658611000,"timestamp_ms":1785658611000,"timestamp_seconds":1785658611,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18c1538"} 
[2026-08-02 13:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 13:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128601088001,"66":12961,"179":206,"87":13824,"24":29,"16":113854175653134336,"45":9212746381937555456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,87,24,16,45]} 
[2026-08-02 13:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128601088001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:47:48] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-02 13:47:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113854175653134336,"km_value":113854175653134.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212746381937555456,"description":"Unknown IO ID 45"} 
[2026-08-02 13:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128601088001,"power":12961,"unknown_179":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":9212746381937555456}} 
[2026-08-02 13:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":147838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:47:48] local.INFO: GPS data processed {"connection_id":147838,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:47:48] local.INFO: Acknowledgment sent {"connection_id":147838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:48:02] local.INFO: TCP Data received {"connection_id":149152,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:48:02] local.INFO: Processing buffer {"connection_id":149152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:48:02] local.INFO: Packet analysis {"connection_id":149152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:48:02] local.INFO: Extracted packet for processing {"connection_id":149152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:48:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128473856001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:48:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785658402000,"timestamp_ms":1785658402000,"timestamp_seconds":1785658402,"priority":1,"record_length":96,"hex_timestamp":"0000019fc188e4d0"} 
[2026-08-02 13:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128473856001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128473856001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:48:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:48:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:48:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128473856001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":149152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:48:02] local.INFO: GPS data processed {"connection_id":149152,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:48:02] local.INFO: Acknowledgment sent {"connection_id":149152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:48:27] local.INFO: TCP Data received {"connection_id":149154,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:48:27] local.INFO: Processing buffer {"connection_id":149154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:48:27] local.INFO: IMEI packet received {"connection_id":149154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":149154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:48:29] local.INFO: TCP Data received {"connection_id":149153,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:48:29] local.INFO: Processing buffer {"connection_id":149153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:48:29] local.INFO: IMEI packet received {"connection_id":149153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":149153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:48:33] local.INFO: TCP Data received {"connection_id":149154,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:48:33] local.INFO: Processing buffer {"connection_id":149154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:48:33] local.INFO: IMEI packet received {"connection_id":149154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":149154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:48:34] local.INFO: TCP Data received {"connection_id":149154,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18c3478012d800b0005ecffb80006008b29..."} 
[2026-08-02 13:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18c3478012d800b0005ecffb80006008b29..."} 
[2026-08-02 13:48:34] local.INFO: Processing buffer {"connection_id":149154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18c3478012d800b0005ecffb80006008b29..."} 
[2026-08-02 13:48:34] local.INFO: Packet analysis {"connection_id":149154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18c"} 
[2026-08-02 13:48:34] local.INFO: Extracted packet for processing {"connection_id":149154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18c"} 
[2026-08-02 13:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763366144,"raw_latitude":99418040,"longitude_deg":76.3366144,"latitude_deg":9.941804,"altitude":6,"angle":139,"satellites":41,"speed":37,"hex_longitude":"2d800b00","hex_latitude":"05ecffb8","is_valid_coordinates":true} 
[2026-08-02 13:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128604416001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113854506365616128,"note":"Value kept but may cause issues"} 
[2026-08-02 13:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220979525004957696,"note":"Value kept but may cause issues"} 
[2026-08-02 13:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785658619000,"timestamp_ms":1785658619000,"timestamp_seconds":1785658619,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18c3478"} 
[2026-08-02 13:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-02 13:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128604416001,"66":13526,"179":206,"87":13824,"24":37,"16":113854506365616128,"45":9220979525004957696},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,87,24,16,45]} 
[2026-08-02 13:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128604416001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:48:34] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-02 13:48:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 13:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113854506365616128,"km_value":113854506365616.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220979525004957696,"description":"Unknown IO ID 45"} 
[2026-08-02 13:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128604416001,"power":13526,"unknown_179":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":9220979525004957696}} 
[2026-08-02 13:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":149154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:48:34] local.INFO: GPS data processed {"connection_id":149154,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:48:34] local.INFO: Acknowledgment sent {"connection_id":149154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:48:34] local.INFO: TCP Data received {"connection_id":149153,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:48:34] local.INFO: Processing buffer {"connection_id":149153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:48:34] local.INFO: IMEI packet received {"connection_id":149153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":149153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:48:37] local.INFO: TCP Data received {"connection_id":149153,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:48:37] local.INFO: Processing buffer {"connection_id":149153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:48:37] local.INFO: Packet analysis {"connection_id":149153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:48:37] local.INFO: Extracted packet for processing {"connection_id":149153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128473856001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:48:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785658402000,"timestamp_ms":1785658402000,"timestamp_seconds":1785658402,"priority":1,"record_length":96,"hex_timestamp":"0000019fc188e4d0"} 
[2026-08-02 13:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13: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-08-02 13: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":4,"data_length":795,"current_offset":136} 
[2026-08-02 13:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128473856001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128473856001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:48:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:48:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:48:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128473856001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":149153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:48:37] local.INFO: GPS data processed {"connection_id":149153,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:48:37] local.INFO: Acknowledgment sent {"connection_id":149153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:48:39] local.INFO: TCP Data received {"connection_id":149153,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:48:39] local.INFO: Processing buffer {"connection_id":149153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc188e4d0012cc330c007685958005800c531..."} 
[2026-08-02 13:48:39] local.INFO: Packet analysis {"connection_id":149153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:48:39] local.INFO: Extracted packet for processing {"connection_id":149153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc188"} 
[2026-08-02 13:48:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128473856001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:48:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785658402000,"timestamp_ms":1785658402000,"timestamp_seconds":1785658402,"priority":1,"record_length":96,"hex_timestamp":"0000019fc188e4d0"} 
[2026-08-02 13:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13: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-08-02 13: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-08-02 13: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-08-02 13:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128473856001,"66":25615,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128473856001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:48:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:48:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:48:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128473856001,"power":25615,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":149153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:48:39] local.INFO: GPS data processed {"connection_id":149153,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:48:39] local.INFO: Acknowledgment sent {"connection_id":149153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:49:06] local.INFO: TCP Data received {"connection_id":149154,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18df998012d813f4005ed18480006007528..."} 
[2026-08-02 13:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18df998012d813f4005ed18480006007528..."} 
[2026-08-02 13:49:06] local.INFO: Processing buffer {"connection_id":149154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18df998012d813f4005ed18480006007528..."} 
[2026-08-02 13:49:06] local.INFO: Packet analysis {"connection_id":149154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:49:06] local.INFO: Extracted packet for processing {"connection_id":149154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763445056,"raw_latitude":99424328,"longitude_deg":76.3445056,"latitude_deg":9.9424328,"altitude":6,"angle":117,"satellites":40,"speed":18,"hex_longitude":"2d813f40","hex_latitude":"05ed1848","is_valid_coordinates":true} 
[2026-08-02 13:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128635904001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858462030495744,"note":"Value kept but may cause issues"} 
[2026-08-02 13:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134003706296467456,"note":"Value kept but may cause issues"} 
[2026-08-02 13:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785658735000,"timestamp_ms":1785658735000,"timestamp_seconds":1785658735,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18df998"} 
[2026-08-02 13:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13: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-08-02 13: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 13:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128635904001,"66":13526,"188":206,"87":11264,"24":18,"16":113858462030495744,"45":-9134003706296467456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-08-02 13:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128635904001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:49:06] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 13:49:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858462030495744,"km_value":113858462030495.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134003706296467456,"description":"Unknown IO ID 45"} 
[2026-08-02 13:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128635904001,"power":13526,"unknown_188":206,"unknown_87":11264,"ignition":18,"odometer":null,"unknown_45":-9134003706296467456}} 
[2026-08-02 13:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":149154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:49:06] local.INFO: GPS data processed {"connection_id":149154,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:49:06] local.INFO: Acknowledgment sent {"connection_id":149154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:49:28] local.INFO: TCP Data received {"connection_id":146600,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:49:28] local.INFO: Processing buffer {"connection_id":146600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:49:28] local.INFO: IMEI packet received {"connection_id":146600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":146600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:49:28] local.INFO: TCP Data received {"connection_id":146808,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:49:28] local.INFO: Processing buffer {"connection_id":146808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:49:28] local.INFO: IMEI packet received {"connection_id":146808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":146808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:49:29] local.INFO: TCP Data received {"connection_id":146600,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:49:29] local.INFO: Processing buffer {"connection_id":146600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:49:29] local.INFO: IMEI packet received {"connection_id":146600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":146600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:49:29] local.INFO: TCP Data received {"connection_id":146808,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:49:29] local.INFO: Processing buffer {"connection_id":146808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:49:29] local.INFO: IMEI packet received {"connection_id":146808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":146808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:49:33] local.INFO: TCP Data received {"connection_id":146808,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:49:33] local.INFO: Processing buffer {"connection_id":146808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:49:33] local.INFO: IMEI packet received {"connection_id":146808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":146808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:49:35] local.INFO: TCP Data received {"connection_id":146600,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:49:35] local.INFO: Processing buffer {"connection_id":146600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:49:35] local.INFO: IMEI packet received {"connection_id":146600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":146600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:49:36] local.INFO: TCP Data received {"connection_id":146808,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18dfd80012d81408005ed16e00007008d27..."} 
[2026-08-02 13:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18dfd80012d81408005ed16e00007008d27..."} 
[2026-08-02 13:49:36] local.INFO: Processing buffer {"connection_id":146808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18dfd80012d81408005ed16e00007008d27..."} 
[2026-08-02 13:49:36] local.INFO: Packet analysis {"connection_id":146808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:49:36] local.INFO: Extracted packet for processing {"connection_id":146808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:49:36] local.INFO: GPS Element Parsed {"raw_longitude":763445376,"raw_latitude":99423968,"longitude_deg":76.3445376,"latitude_deg":9.9423968,"altitude":7,"angle":141,"satellites":39,"speed":19,"hex_longitude":"2d814080","hex_latitude":"05ed16e0","is_valid_coordinates":true} 
[2026-08-02 13:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128636160001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858483505332224,"note":"Value kept but may cause issues"} 
[2026-08-02 13:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9133511125087270912,"note":"Value kept but may cause issues"} 
[2026-08-02 13:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785658736000,"timestamp_ms":1785658736000,"timestamp_seconds":1785658736,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18dfd80"} 
[2026-08-02 13:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:49: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-08-02 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 13:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128636160001,"66":13602,"188":206,"87":11264,"24":19,"16":113858483505332224,"45":-9133511125087270912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-08-02 13:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128636160001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:49:36] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 13:49:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858483505332224,"km_value":113858483505332.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9133511125087270912,"description":"Unknown IO ID 45"} 
[2026-08-02 13:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128636160001,"power":13602,"unknown_188":206,"unknown_87":11264,"ignition":19,"odometer":null,"unknown_45":-9133511125087270912}} 
[2026-08-02 13:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":146808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:49:36] local.INFO: GPS data processed {"connection_id":146808,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:49:36] local.INFO: Acknowledgment sent {"connection_id":146808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:49:43] local.INFO: TCP Data received {"connection_id":146600,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:49:43] local.INFO: Processing buffer {"connection_id":146600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:49:43] local.INFO: Packet analysis {"connection_id":146600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:49:43] local.INFO: Extracted packet for processing {"connection_id":146600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:49:43] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128550912001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:49:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785658703000,"timestamp_ms":1785658703000,"timestamp_seconds":1785658703,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18d7c98"} 
[2026-08-02 13:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:49: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-08-02 13:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128550912001,"66":25582,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128550912001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:49:43] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:49:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:49:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128550912001,"power":25582,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":146600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:49:43] local.INFO: GPS data processed {"connection_id":146600,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:49:43] local.INFO: Acknowledgment sent {"connection_id":146600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:50:08] local.INFO: TCP Data received {"connection_id":146808,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18ebce8012d81918005ed0e48000b00af29..."} 
[2026-08-02 13:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18ebce8012d81918005ed0e48000b00af29..."} 
[2026-08-02 13:50:08] local.INFO: Processing buffer {"connection_id":146808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18ebce8012d81918005ed0e48000b00af29..."} 
[2026-08-02 13:50:08] local.INFO: Packet analysis {"connection_id":146808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18e"} 
[2026-08-02 13:50:08] local.INFO: Extracted packet for processing {"connection_id":146808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18e"} 
[2026-08-02 13:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763466112,"raw_latitude":99421768,"longitude_deg":76.3466112,"latitude_deg":9.9421768,"altitude":11,"angle":175,"satellites":41,"speed":13,"hex_longitude":"2d819180","hex_latitude":"05ed0e48","is_valid_coordinates":true} 
[2026-08-02 13:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128648448001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113859711865978880,"note":"Value kept but may cause issues"} 
[2026-08-02 13:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9110430176997533696,"note":"Value kept but may cause issues"} 
[2026-08-02 13:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785658785000,"timestamp_ms":1785658785000,"timestamp_seconds":1785658785,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18ebce8"} 
[2026-08-02 13:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-02 13:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128648448001,"66":13504,"188":206,"87":11264,"24":13,"16":113859711865978880,"45":-9110430176997533696},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-08-02 13:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128648448001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:50:08] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 13:50:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113859711865978880,"km_value":113859711865978.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9110430176997533696,"description":"Unknown IO ID 45"} 
[2026-08-02 13:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128648448001,"power":13504,"unknown_188":206,"unknown_87":11264,"ignition":13,"odometer":null,"unknown_45":-9110430176997533696}} 
[2026-08-02 13:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":146808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:50:08] local.INFO: GPS data processed {"connection_id":146808,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:50:08] local.INFO: Acknowledgment sent {"connection_id":146808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:50:24] local.INFO: TCP Data received {"connection_id":147839,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:50:24] local.INFO: Processing buffer {"connection_id":147839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:50:24] local.INFO: IMEI packet received {"connection_id":147839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":147839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:50:29] local.INFO: TCP Data received {"connection_id":147839,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:50:29] local.INFO: Processing buffer {"connection_id":147839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:50:29] local.INFO: IMEI packet received {"connection_id":147839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":147839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:50:31] local.INFO: TCP Data received {"connection_id":147839,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:50:31] local.INFO: Processing buffer {"connection_id":147839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:50:31] local.INFO: Packet analysis {"connection_id":147839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:50:31] local.INFO: Extracted packet for processing {"connection_id":147839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:50:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128550912001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:50:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785658703000,"timestamp_ms":1785658703000,"timestamp_seconds":1785658703,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18d7c98"} 
[2026-08-02 13:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128550912001,"66":25582,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128550912001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:50:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:50:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:50:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128550912001,"power":25582,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":147839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:50:31] local.INFO: GPS data processed {"connection_id":147839,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:50:31] local.INFO: Acknowledgment sent {"connection_id":147839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:50:33] local.INFO: TCP Data received {"connection_id":146601,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:50:33] local.INFO: Processing buffer {"connection_id":146601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:50:33] local.INFO: IMEI packet received {"connection_id":146601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":146601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:50:35] local.INFO: TCP Data received {"connection_id":146601,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:50:35] local.INFO: Processing buffer {"connection_id":146601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:50:35] local.INFO: IMEI packet received {"connection_id":146601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":146601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:50:36] local.INFO: TCP Data received {"connection_id":146601,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18ec0d0012d8191c005ed0cf0000c00a42a..."} 
[2026-08-02 13:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18ec0d0012d8191c005ed0cf0000c00a42a..."} 
[2026-08-02 13:50:36] local.INFO: Processing buffer {"connection_id":146601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18ec0d0012d8191c005ed0cf0000c00a42a..."} 
[2026-08-02 13:50:36] local.INFO: Packet analysis {"connection_id":146601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18e"} 
[2026-08-02 13:50:36] local.INFO: Extracted packet for processing {"connection_id":146601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18e"} 
[2026-08-02 13:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763466176,"raw_latitude":99421424,"longitude_deg":76.3466176,"latitude_deg":9.9421424,"altitude":12,"angle":164,"satellites":42,"speed":14,"hex_longitude":"2d8191c0","hex_latitude":"05ed0cf0","is_valid_coordinates":true} 
[2026-08-02 13:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128648960001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113859729045848064,"note":"Value kept but may cause issues"} 
[2026-08-02 13:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9110359808253474816,"note":"Value kept but may cause issues"} 
[2026-08-02 13:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785658786000,"timestamp_ms":1785658786000,"timestamp_seconds":1785658786,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18ec0d0"} 
[2026-08-02 13:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:50: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-08-02 13:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 13:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128648960001,"66":13341,"135":206,"87":11264,"24":14,"16":113859729045848064,"45":-9110359808253474816},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 13:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128648960001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:50:36] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 13:50:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113859729045848064,"km_value":113859729045848.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9110359808253474816,"description":"Unknown IO ID 45"} 
[2026-08-02 13:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128648960001,"power":13341,"unknown_135":206,"unknown_87":11264,"ignition":14,"odometer":null,"unknown_45":-9110359808253474816}} 
[2026-08-02 13:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":146601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:50:36] local.INFO: GPS data processed {"connection_id":146601,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:50:36] local.INFO: Acknowledgment sent {"connection_id":146601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:50:38] local.INFO: TCP Data received {"connection_id":146601,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18eff50012d819e4005ecea30001000a22a..."} 
[2026-08-02 13:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18eff50012d819e4005ecea30001000a22a..."} 
[2026-08-02 13:50:38] local.INFO: Processing buffer {"connection_id":146601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18eff50012d819e4005ecea30001000a22a..."} 
[2026-08-02 13:50:38] local.INFO: Packet analysis {"connection_id":146601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18e"} 
[2026-08-02 13:50:38] local.INFO: Extracted packet for processing {"connection_id":146601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18e"} 
[2026-08-02 13:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763469376,"raw_latitude":99412528,"longitude_deg":76.3469376,"latitude_deg":9.9412528,"altitude":16,"angle":162,"satellites":42,"speed":26,"hex_longitude":"2d819e40","hex_latitude":"05ecea30","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128649216001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113860184312381440,"note":"Value kept but may cause issues"} 
[2026-08-02 13:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9110289439509385216,"note":"Value kept but may cause issues"} 
[2026-08-02 13:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785658802000,"timestamp_ms":1785658802000,"timestamp_seconds":1785658802,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18eff50"} 
[2026-08-02 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-08-02 13:50: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-08-02 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-02 13:50: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-08-02 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-08-02 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-08-02 13:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128649216001,"66":13515,"135":206,"87":11264,"24":26,"16":113860184312381440,"45":-9110289439509385216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 13:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128649216001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:50:38] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 13:50:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113860184312381440,"km_value":113860184312381.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9110289439509385216,"description":"Unknown IO ID 45"} 
[2026-08-02 13:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128649216001,"power":13515,"unknown_135":206,"unknown_87":11264,"ignition":26,"odometer":null,"unknown_45":-9110289439509385216}} 
[2026-08-02 13:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":146601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:50:38] local.INFO: GPS data processed {"connection_id":146601,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:50:38] local.INFO: Acknowledgment sent {"connection_id":146601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:51:03] local.INFO: TCP Data received {"connection_id":147839,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:51:03] local.INFO: Processing buffer {"connection_id":147839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:51:03] local.INFO: Packet analysis {"connection_id":147839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:51:03] local.INFO: Extracted packet for processing {"connection_id":147839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:51:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128550912001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785658703000,"timestamp_ms":1785658703000,"timestamp_seconds":1785658703,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18d7c98"} 
[2026-08-02 13:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128550912001,"66":25582,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128550912001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:51:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:51:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:51:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128550912001,"power":25582,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":147839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:51:03] local.INFO: GPS data processed {"connection_id":147839,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:51:03] local.INFO: Acknowledgment sent {"connection_id":147839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:51:10] local.INFO: TCP Data received {"connection_id":146601,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18fe5c8012d81f80005ec7868000a007e28..."} 
[2026-08-02 13:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18fe5c8012d81f80005ec7868000a007e28..."} 
[2026-08-02 13:51:10] local.INFO: Processing buffer {"connection_id":146601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18fe5c8012d81f80005ec7868000a007e28..."} 
[2026-08-02 13:51:10] local.INFO: Packet analysis {"connection_id":146601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18f"} 
[2026-08-02 13:51:10] local.INFO: Extracted packet for processing {"connection_id":146601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18f"} 
[2026-08-02 13:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763492352,"raw_latitude":99383400,"longitude_deg":76.3492352,"latitude_deg":9.93834,"altitude":10,"angle":126,"satellites":40,"speed":17,"hex_longitude":"2d81f800","hex_latitude":"05ec7868","is_valid_coordinates":true} 
[2026-08-02 13:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128668160001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113862297436291072,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9081930835615444992,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785658861000,"timestamp_ms":1785658861000,"timestamp_seconds":1785658861,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18fe5c8"} 
[2026-08-02 13:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:51: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-08-02 13: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":181,"data_length":795,"current_offset":136} 
[2026-08-02 13:51: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-08-02 13: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-08-02 13:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128668160001,"66":13493,"135":206,"87":11264,"24":17,"16":113862297436291072,"45":-9081930835615444992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 13:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128668160001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:51:10] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 13:51:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113862297436291072,"km_value":113862297436291.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9081930835615444992,"description":"Unknown IO ID 45"} 
[2026-08-02 13:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128668160001,"power":13493,"unknown_135":206,"unknown_87":11264,"ignition":17,"odometer":null,"unknown_45":-9081930835615444992}} 
[2026-08-02 13:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":146601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:51:10] local.INFO: GPS data processed {"connection_id":146601,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:51:10] local.INFO: Acknowledgment sent {"connection_id":146601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:51:24] local.INFO: TCP Data received {"connection_id":146602,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:51:24] local.INFO: Processing buffer {"connection_id":146602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:51:24] local.INFO: IMEI packet received {"connection_id":146602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":146602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:51:29] local.INFO: TCP Data received {"connection_id":146602,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:51:29] local.INFO: Processing buffer {"connection_id":146602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:51:29] local.INFO: IMEI packet received {"connection_id":146602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":146602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:51:30] local.INFO: TCP Data received {"connection_id":149155,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:51:30] local.INFO: Processing buffer {"connection_id":149155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:51:30] local.INFO: IMEI packet received {"connection_id":149155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":149155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:51:31] local.INFO: TCP Data received {"connection_id":146602,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:51:31] local.INFO: Processing buffer {"connection_id":146602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:51:31] local.INFO: Packet analysis {"connection_id":146602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:51:31] local.INFO: Extracted packet for processing {"connection_id":146602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:51:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128550912001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785658703000,"timestamp_ms":1785658703000,"timestamp_seconds":1785658703,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18d7c98"} 
[2026-08-02 13:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128550912001,"66":25582,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128550912001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:51:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:51:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:51:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128550912001,"power":25582,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":146602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:51:31] local.INFO: GPS data processed {"connection_id":146602,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:51:31] local.INFO: Acknowledgment sent {"connection_id":146602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:51:34] local.INFO: TCP Data received {"connection_id":149155,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:51:34] local.INFO: Processing buffer {"connection_id":149155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:51:34] local.INFO: IMEI packet received {"connection_id":149155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":149155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:51:35] local.INFO: TCP Data received {"connection_id":149155,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18fe9b0012d81f9c005ec77b80009006d29..."} 
[2026-08-02 13:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18fe9b0012d81f9c005ec77b80009006d29..."} 
[2026-08-02 13:51:35] local.INFO: Processing buffer {"connection_id":149155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18fe9b0012d81f9c005ec77b80009006d29..."} 
[2026-08-02 13:51:35] local.INFO: Packet analysis {"connection_id":149155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18f"} 
[2026-08-02 13:51:35] local.INFO: Extracted packet for processing {"connection_id":149155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18f"} 
[2026-08-02 13:51:35] local.INFO: GPS Element Parsed {"raw_longitude":763492800,"raw_latitude":99383224,"longitude_deg":76.34928,"latitude_deg":9.9383224,"altitude":9,"angle":109,"satellites":41,"speed":20,"hex_longitude":"2d81f9c0","hex_latitude":"05ec77b8","is_valid_coordinates":true} 
[2026-08-02 13:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128668416001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113862323206094848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9081508623150454784,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785658862000,"timestamp_ms":1785658862000,"timestamp_seconds":1785658862,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18fe9b0"} 
[2026-08-02 13:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":181,"data_length":795,"current_offset":136} 
[2026-08-02 13:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128668416001,"66":12906,"135":206,"87":11264,"24":20,"16":113862323206094848,"45":-9081508623150454784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 13:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128668416001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:51:35] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 13:51:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113862323206094848,"km_value":113862323206094.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9081508623150454784,"description":"Unknown IO ID 45"} 
[2026-08-02 13:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128668416001,"power":12906,"unknown_135":206,"unknown_87":11264,"ignition":20,"odometer":null,"unknown_45":-9081508623150454784}} 
[2026-08-02 13:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":149155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:51:35] local.INFO: GPS data processed {"connection_id":149155,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:51:35] local.INFO: Acknowledgment sent {"connection_id":149155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:51:36] local.INFO: TCP Data received {"connection_id":149155,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18fed98012d81fc8005ec77880009005d28..."} 
[2026-08-02 13:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18fed98012d81fc8005ec77880009005d28..."} 
[2026-08-02 13:51:36] local.INFO: Processing buffer {"connection_id":149155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18fed98012d81fc8005ec77880009005d28..."} 
[2026-08-02 13:51:36] local.INFO: Packet analysis {"connection_id":149155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18f"} 
[2026-08-02 13:51:36] local.INFO: Extracted packet for processing {"connection_id":149155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18f"} 
[2026-08-02 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763493504,"raw_latitude":99383176,"longitude_deg":76.3493504,"latitude_deg":9.9383176,"altitude":9,"angle":93,"satellites":40,"speed":23,"hex_longitude":"2d81fc80","hex_latitude":"05ec7788","is_valid_coordinates":true} 
[2026-08-02 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128668672001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113862353270865920,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9081016041941256192,"note":"Value kept but may cause issues"} 
[2026-08-02 13:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785658863000,"timestamp_ms":1785658863000,"timestamp_seconds":1785658863,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18fed98"} 
[2026-08-02 13:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:51: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-08-02 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-02 13:51: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-08-02 13:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128668672001,"66":13493,"135":206,"87":11264,"24":23,"16":113862353270865920,"45":-9081016041941256192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 13:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128668672001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:51:36] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 13:51:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113862353270865920,"km_value":113862353270865.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9081016041941256192,"description":"Unknown IO ID 45"} 
[2026-08-02 13:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128668672001,"power":13493,"unknown_135":206,"unknown_87":11264,"ignition":23,"odometer":null,"unknown_45":-9081016041941256192}} 
[2026-08-02 13:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":149155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:51:36] local.INFO: GPS data processed {"connection_id":149155,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:51:36] local.INFO: Acknowledgment sent {"connection_id":149155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:52:02] local.INFO: TCP Data received {"connection_id":146602,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:52:02] local.INFO: Processing buffer {"connection_id":146602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:52:02] local.INFO: Packet analysis {"connection_id":146602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:52:02] local.INFO: Extracted packet for processing {"connection_id":146602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:52:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128550912001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785658703000,"timestamp_ms":1785658703000,"timestamp_seconds":1785658703,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18d7c98"} 
[2026-08-02 13:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128550912001,"66":25582,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128550912001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:52:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:52:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:52:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128550912001,"power":25582,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":146602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:52:02] local.INFO: GPS data processed {"connection_id":146602,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:52:02] local.INFO: Acknowledgment sent {"connection_id":146602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:52:08] local.INFO: TCP Data received {"connection_id":149155,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1901890012d82204005ec7930000a005529..."} 
[2026-08-02 13:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1901890012d82204005ec7930000a005529..."} 
[2026-08-02 13:52:08] local.INFO: Processing buffer {"connection_id":149155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1901890012d82204005ec7930000a005529..."} 
[2026-08-02 13:52:08] local.INFO: Packet analysis {"connection_id":149155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc190"} 
[2026-08-02 13:52:08] local.INFO: Extracted packet for processing {"connection_id":149155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc190"} 
[2026-08-02 13:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763502656,"raw_latitude":99383600,"longitude_deg":76.3502656,"latitude_deg":9.93836,"altitude":10,"angle":85,"satellites":41,"speed":38,"hex_longitude":"2d822040","hex_latitude":"05ec7930","is_valid_coordinates":true} 
[2026-08-02 13:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128668928001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113862791357530112,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080241985755314176,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785658874000,"timestamp_ms":1785658874000,"timestamp_seconds":1785658874,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1901890"} 
[2026-08-02 13:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:52: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-08-02 13: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":181,"data_length":795,"current_offset":136} 
[2026-08-02 13:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":149155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":149155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":149155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128668928001,"66":13428,"135":206,"87":11264,"24":38,"16":113862791357530112,"45":-9080241985755314176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 13:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128668928001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:52:08] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 13:52:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113862791357530112,"km_value":113862791357530.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080241985755314176,"description":"Unknown IO ID 45"} 
[2026-08-02 13:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128668928001,"power":13428,"unknown_135":206,"unknown_87":11264,"ignition":38,"odometer":null,"unknown_45":-9080241985755314176}} 
[2026-08-02 13:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":149155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:52:08] local.INFO: GPS data processed {"connection_id":149155,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:52:08] local.INFO: Acknowledgment sent {"connection_id":149155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:52:26] local.INFO: TCP Data received {"connection_id":147840,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:52:26] local.INFO: Processing buffer {"connection_id":147840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:52:26] local.INFO: IMEI packet received {"connection_id":147840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":147840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:52:28] local.INFO: TCP Data received {"connection_id":147840,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:52:28] local.INFO: Processing buffer {"connection_id":147840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:52:28] local.INFO: IMEI packet received {"connection_id":147840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":147840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:52:29] local.INFO: TCP Data received {"connection_id":146809,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:52:29] local.INFO: Processing buffer {"connection_id":146809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:52:29] local.INFO: IMEI packet received {"connection_id":146809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":146809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:52:33] local.INFO: TCP Data received {"connection_id":147840,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:52:33] local.INFO: Processing buffer {"connection_id":147840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:52:33] local.INFO: IMEI packet received {"connection_id":147840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":147840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:52:34] local.INFO: TCP Data received {"connection_id":146809,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:52:34] local.INFO: Processing buffer {"connection_id":146809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:52:34] local.INFO: IMEI packet received {"connection_id":146809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":146809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:52:34] local.INFO: TCP Data received {"connection_id":147840,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19033e8012d823b0005ec7db80009004927..."} 
[2026-08-02 13:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19033e8012d823b0005ec7db80009004927..."} 
[2026-08-02 13:52:34] local.INFO: Processing buffer {"connection_id":147840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19033e8012d823b0005ec7db80009004927..."} 
[2026-08-02 13:52:34] local.INFO: Packet analysis {"connection_id":147840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc190"} 
[2026-08-02 13:52:34] local.INFO: Extracted packet for processing {"connection_id":147840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc190"} 
[2026-08-02 13:52:34] local.INFO: GPS Element Parsed {"raw_longitude":763509504,"raw_latitude":99384760,"longitude_deg":76.3509504,"latitude_deg":9.938476,"altitude":9,"angle":73,"satellites":39,"speed":36,"hex_longitude":"2d823b00","hex_latitude":"05ec7db8","is_valid_coordinates":true} 
[2026-08-02 13:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128671744001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113863126364979200,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070179255337799680,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785658881000,"timestamp_ms":1785658881000,"timestamp_seconds":1785658881,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19033e8"} 
[2026-08-02 13:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 13:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128671744001,"66":13254,"135":206,"87":11264,"24":36,"16":113863126364979200,"45":-9070179255337799680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 13:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128671744001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:52:34] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 13:52:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113863126364979200,"km_value":113863126364979.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070179255337799680,"description":"Unknown IO ID 45"} 
[2026-08-02 13:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128671744001,"power":13254,"unknown_135":206,"unknown_87":11264,"ignition":36,"odometer":null,"unknown_45":-9070179255337799680}} 
[2026-08-02 13:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":147840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:52:34] local.INFO: GPS data processed {"connection_id":147840,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:52:34] local.INFO: Acknowledgment sent {"connection_id":147840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:52:35] local.INFO: TCP Data received {"connection_id":146809,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:52:35] local.INFO: Processing buffer {"connection_id":146809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:52:35] local.INFO: Packet analysis {"connection_id":146809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:52:35] local.INFO: Extracted packet for processing {"connection_id":146809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:52:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128550912001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785658703000,"timestamp_ms":1785658703000,"timestamp_seconds":1785658703,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18d7c98"} 
[2026-08-02 13:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128550912001,"66":25582,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128550912001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:52:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:52:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:52:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128550912001,"power":25582,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":146809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:52:35] local.INFO: GPS data processed {"connection_id":146809,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:52:35] local.INFO: Acknowledgment sent {"connection_id":146809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:52:40] local.INFO: TCP Data received {"connection_id":146809,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:52:40] local.INFO: Processing buffer {"connection_id":146809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:52:40] local.INFO: Packet analysis {"connection_id":146809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:52:40] local.INFO: Extracted packet for processing {"connection_id":146809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:52:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128550912001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785658703000,"timestamp_ms":1785658703000,"timestamp_seconds":1785658703,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18d7c98"} 
[2026-08-02 13:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:52: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-08-02 13:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128550912001,"66":25582,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128550912001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:52:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:52:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:52:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128550912001,"power":25582,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":146809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:52:40] local.INFO: GPS data processed {"connection_id":146809,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:52:40] local.INFO: Acknowledgment sent {"connection_id":146809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:53:05] local.INFO: TCP Data received {"connection_id":147840,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19062c8012d824d4005ec84700008003c2b..."} 
[2026-08-02 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19062c8012d824d4005ec84700008003c2b..."} 
[2026-08-02 13:53:05] local.INFO: Processing buffer {"connection_id":147840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19062c8012d824d4005ec84700008003c2b..."} 
[2026-08-02 13:53:05] local.INFO: Packet analysis {"connection_id":147840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc190"} 
[2026-08-02 13:53:05] local.INFO: Extracted packet for processing {"connection_id":147840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc190"} 
[2026-08-02 13:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763514176,"raw_latitude":99386480,"longitude_deg":76.3514176,"latitude_deg":9.938648,"altitude":8,"angle":60,"satellites":43,"speed":9,"hex_longitude":"2d824d40","hex_latitude":"05ec8470","is_valid_coordinates":true} 
[2026-08-02 13:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128673536001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113863362588180480,"note":"Value kept but may cause issues"} 
[2026-08-02 13:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062649799710492672,"note":"Value kept but may cause issues"} 
[2026-08-02 13:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785658893000,"timestamp_ms":1785658893000,"timestamp_seconds":1785658893,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19062c8"} 
[2026-08-02 13:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-02 13:53: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-08-02 13:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128673536001,"66":12765,"135":206,"87":11264,"24":9,"16":113863362588180480,"45":-9062649799710492672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 13:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128673536001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:53:05] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 13:53:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113863362588180480,"km_value":113863362588180.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062649799710492672,"description":"Unknown IO ID 45"} 
[2026-08-02 13:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128673536001,"power":12765,"unknown_135":206,"unknown_87":11264,"ignition":9,"odometer":null,"unknown_45":-9062649799710492672}} 
[2026-08-02 13:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":147840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:53:05] local.INFO: GPS data processed {"connection_id":147840,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:53:05] local.INFO: Acknowledgment sent {"connection_id":147840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:53:24] local.INFO: TCP Data received {"connection_id":147841,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:53:24] local.INFO: Processing buffer {"connection_id":147841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:53:24] local.INFO: IMEI packet received {"connection_id":147841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":147841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:53:28] local.INFO: TCP Data received {"connection_id":146810,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:53:28] local.INFO: Processing buffer {"connection_id":146810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:53:28] local.INFO: IMEI packet received {"connection_id":146810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":146810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:53:29] local.INFO: TCP Data received {"connection_id":147841,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:53:29] local.INFO: Processing buffer {"connection_id":147841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:53:29] local.INFO: IMEI packet received {"connection_id":147841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":147841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:53:31] local.INFO: TCP Data received {"connection_id":147841,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:53:31] local.INFO: Processing buffer {"connection_id":147841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:53:31] local.INFO: Packet analysis {"connection_id":147841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:53:31] local.INFO: Extracted packet for processing {"connection_id":147841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:53:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128550912001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:53:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785658703000,"timestamp_ms":1785658703000,"timestamp_seconds":1785658703,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18d7c98"} 
[2026-08-02 13:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128550912001,"66":25582,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128550912001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:53:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:53:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:53:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128550912001,"power":25582,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":147841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:53:31] local.INFO: GPS data processed {"connection_id":147841,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:53:31] local.INFO: Acknowledgment sent {"connection_id":147841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:53:33] local.INFO: TCP Data received {"connection_id":146810,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:53:33] local.INFO: Processing buffer {"connection_id":146810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:53:33] local.INFO: IMEI packet received {"connection_id":146810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":146810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:53:34] local.INFO: TCP Data received {"connection_id":146810,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc190a530012d82534005ec8538000900722b..."} 
[2026-08-02 13:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc190a530012d82534005ec8538000900722b..."} 
[2026-08-02 13:53:34] local.INFO: Processing buffer {"connection_id":146810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc190a530012d82534005ec8538000900722b..."} 
[2026-08-02 13:53:34] local.INFO: Packet analysis {"connection_id":146810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc190"} 
[2026-08-02 13:53:34] local.INFO: Extracted packet for processing {"connection_id":146810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc190"} 
[2026-08-02 13:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763515712,"raw_latitude":99386680,"longitude_deg":76.3515712,"latitude_deg":9.938668,"altitude":9,"angle":114,"satellites":43,"speed":7,"hex_longitude":"2d825340","hex_latitude":"05ec8538","is_valid_coordinates":true} 
[2026-08-02 13:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128676608001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113863439897591808,"note":"Value kept but may cause issues"} 
[2026-08-02 13:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9057512881385082880,"note":"Value kept but may cause issues"} 
[2026-08-02 13:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785658910000,"timestamp_ms":1785658910000,"timestamp_seconds":1785658910,"priority":1,"record_length":96,"hex_timestamp":"0000019fc190a530"} 
[2026-08-02 13:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-02 13:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128676608001,"66":13135,"135":206,"87":11264,"24":7,"16":113863439897591808,"45":-9057512881385082880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 13:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128676608001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:53:34] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 13:53:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113863439897591808,"km_value":113863439897591.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9057512881385082880,"description":"Unknown IO ID 45"} 
[2026-08-02 13:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128676608001,"power":13135,"unknown_135":206,"unknown_87":11264,"ignition":7,"odometer":null,"unknown_45":-9057512881385082880}} 
[2026-08-02 13:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":146810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:53:34] local.INFO: GPS data processed {"connection_id":146810,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:53:34] local.INFO: Acknowledgment sent {"connection_id":146810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:54:02] local.INFO: TCP Data received {"connection_id":147841,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:54:02] local.INFO: Processing buffer {"connection_id":147841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc18d7c98012cc330c007685958005800c52c..."} 
[2026-08-02 13:54:02] local.INFO: Packet analysis {"connection_id":147841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:54:02] local.INFO: Extracted packet for processing {"connection_id":147841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc18d"} 
[2026-08-02 13:54:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128550912001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785658703000,"timestamp_ms":1785658703000,"timestamp_seconds":1785658703,"priority":1,"record_length":96,"hex_timestamp":"0000019fc18d7c98"} 
[2026-08-02 13:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128550912001,"66":25582,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 13:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128550912001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:54:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 13:54:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:54:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128550912001,"power":25582,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":147841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:54:02] local.INFO: GPS data processed {"connection_id":147841,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:54:02] local.INFO: Acknowledgment sent {"connection_id":147841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:54:05] local.INFO: TCP Data received {"connection_id":146810,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1923788012d82ca0005eb5558000e009c29..."} 
[2026-08-02 13:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1923788012d82ca0005eb5558000e009c29..."} 
[2026-08-02 13:54:05] local.INFO: Processing buffer {"connection_id":146810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1923788012d82ca0005eb5558000e009c29..."} 
[2026-08-02 13:54:05] local.INFO: Packet analysis {"connection_id":146810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:54:05] local.INFO: Extracted packet for processing {"connection_id":146810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763546112,"raw_latitude":99308888,"longitude_deg":76.3546112,"latitude_deg":9.9308888,"altitude":14,"angle":156,"satellites":41,"speed":37,"hex_longitude":"2d82ca00","hex_latitude":"05eb5558","is_valid_coordinates":true} 
[2026-08-02 13:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128705024001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113867490051751936,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198790243768320,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785659013000,"timestamp_ms":1785659013000,"timestamp_seconds":1785659013,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1923788"} 
[2026-08-02 13:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 13:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128705024001,"66":13374,"231":206,"87":11264,"24":37,"16":113867490051751936,"45":-9026198790243768320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,87,24,16,45]} 
[2026-08-02 13:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128705024001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:54:05] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-02 13:54:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113867490051751936,"km_value":113867490051751.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198790243768320,"description":"Unknown IO ID 45"} 
[2026-08-02 13:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128705024001,"power":13374,"unknown_231":206,"unknown_87":11264,"ignition":37,"odometer":null,"unknown_45":-9026198790243768320}} 
[2026-08-02 13:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":146810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:54:05] local.INFO: GPS data processed {"connection_id":146810,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:54:05] local.INFO: Acknowledgment sent {"connection_id":146810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:54:28] local.INFO: TCP Data received {"connection_id":147843,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:54:28] local.INFO: Processing buffer {"connection_id":147843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:54:28] local.INFO: IMEI packet received {"connection_id":147843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":147843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:54:28] local.INFO: TCP Data received {"connection_id":147843,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:54:28] local.INFO: Processing buffer {"connection_id":147843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:54:28] local.INFO: IMEI packet received {"connection_id":147843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":147843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:54:29] local.INFO: TCP Data received {"connection_id":147842,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:54:29] local.INFO: Processing buffer {"connection_id":147842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:54:29] local.INFO: IMEI packet received {"connection_id":147842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":147842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:54:33] local.INFO: TCP Data received {"connection_id":147843,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:54:33] local.INFO: Processing buffer {"connection_id":147843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:54:33] local.INFO: IMEI packet received {"connection_id":147843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":147843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:54:34] local.INFO: TCP Data received {"connection_id":147842,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:54:34] local.INFO: Processing buffer {"connection_id":147842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:54:34] local.INFO: IMEI packet received {"connection_id":147842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":147842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:54:35] local.INFO: TCP Data received {"connection_id":147843,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1926e38012d82d90005eb33c0000f009c29..."} 
[2026-08-02 13:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1926e38012d82d90005eb33c0000f009c29..."} 
[2026-08-02 13:54:35] local.INFO: Processing buffer {"connection_id":147843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1926e38012d82d90005eb33c0000f009c29..."} 
[2026-08-02 13:54:35] local.INFO: Packet analysis {"connection_id":147843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:54:35] local.INFO: Extracted packet for processing {"connection_id":147843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:54:35] local.INFO: GPS Element Parsed {"raw_longitude":763549952,"raw_latitude":99300288,"longitude_deg":76.3549952,"latitude_deg":9.9300288,"altitude":15,"angle":156,"satellites":41,"speed":21,"hex_longitude":"2d82d900","hex_latitude":"05eb33c0","is_valid_coordinates":true} 
[2026-08-02 13:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128707328001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113867945318285312,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9022398878060292096,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785659027000,"timestamp_ms":1785659027000,"timestamp_seconds":1785659027,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1926e38"} 
[2026-08-02 13:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 13:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128707328001,"66":13515,"231":206,"87":11264,"24":21,"16":113867945318285312,"45":-9022398878060292096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,87,24,16,45]} 
[2026-08-02 13:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128707328001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:54:35] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-02 13:54:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113867945318285312,"km_value":113867945318285.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9022398878060292096,"description":"Unknown IO ID 45"} 
[2026-08-02 13:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128707328001,"power":13515,"unknown_231":206,"unknown_87":11264,"ignition":21,"odometer":null,"unknown_45":-9022398878060292096}} 
[2026-08-02 13:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":147843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:54:35] local.INFO: GPS data processed {"connection_id":147843,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:54:35] local.INFO: Acknowledgment sent {"connection_id":147843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:54:35] local.INFO: TCP Data received {"connection_id":147842,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:54:35] local.INFO: Processing buffer {"connection_id":147842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:54:35] local.INFO: Packet analysis {"connection_id":147842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:54:35] local.INFO: Extracted packet for processing {"connection_id":147842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:54:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128627968001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785659004000,"timestamp_ms":1785659004000,"timestamp_seconds":1785659004,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1921460"} 
[2026-08-02 13:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 13:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128627968001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128627968001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:54:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:54:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128627968001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":147842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:54:35] local.INFO: GPS data processed {"connection_id":147842,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:54:35] local.INFO: Acknowledgment sent {"connection_id":147842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:54:40] local.INFO: TCP Data received {"connection_id":147842,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:54:40] local.INFO: Processing buffer {"connection_id":147842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:54:40] local.INFO: Packet analysis {"connection_id":147842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:54:40] local.INFO: Extracted packet for processing {"connection_id":147842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:54:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128627968001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785659004000,"timestamp_ms":1785659004000,"timestamp_seconds":1785659004,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1921460"} 
[2026-08-02 13:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:54: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-08-02 13: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-08-02 13: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-08-02 13: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-08-02 13:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128627968001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128627968001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:54:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:54:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:54:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128627968001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":147842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:54:40] local.INFO: GPS data processed {"connection_id":147842,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:54:40] local.INFO: Acknowledgment sent {"connection_id":147842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:55:11] local.INFO: TCP Data received {"connection_id":147843,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1929d18012d82e80005eb1110000e00a02a..."} 
[2026-08-02 13:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1929d18012d82e80005eb1110000e00a02a..."} 
[2026-08-02 13:55:11] local.INFO: Processing buffer {"connection_id":147843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1929d18012d82e80005eb1110000e00a02a..."} 
[2026-08-02 13:55:11] local.INFO: Packet analysis {"connection_id":147843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:55:11] local.INFO: Extracted packet for processing {"connection_id":147843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763553792,"raw_latitude":99291408,"longitude_deg":76.3553792,"latitude_deg":9.9291408,"altitude":14,"angle":160,"satellites":42,"speed":33,"hex_longitude":"2d82e800","hex_latitude":"05eb1110","is_valid_coordinates":true} 
[2026-08-02 13:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128710912001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113868413469720576,"note":"Value kept but may cause issues"} 
[2026-08-02 13:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9018176753411833856,"note":"Value kept but may cause issues"} 
[2026-08-02 13:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785659039000,"timestamp_ms":1785659039000,"timestamp_seconds":1785659039,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1929d18"} 
[2026-08-02 13:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 13:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128710912001,"66":13363,"171":206,"87":11264,"24":33,"16":113868413469720576,"45":-9018176753411833856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,87,24,16,45]} 
[2026-08-02 13:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128710912001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:55:11] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-02 13:55:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113868413469720576,"km_value":113868413469720.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9018176753411833856,"description":"Unknown IO ID 45"} 
[2026-08-02 13:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128710912001,"power":13363,"unknown_171":206,"unknown_87":11264,"ignition":33,"odometer":null,"unknown_45":-9018176753411833856}} 
[2026-08-02 13:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":147843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:55:11] local.INFO: GPS data processed {"connection_id":147843,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:55:11] local.INFO: Acknowledgment sent {"connection_id":147843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:55:24] local.INFO: TCP Data received {"connection_id":149156,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:55:24] local.INFO: Processing buffer {"connection_id":149156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:55:24] local.INFO: IMEI packet received {"connection_id":149156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":149156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:55:27] local.INFO: TCP Data received {"connection_id":149157,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:55:27] local.INFO: Processing buffer {"connection_id":149157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:55:27] local.INFO: IMEI packet received {"connection_id":149157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":149157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:55:29] local.INFO: TCP Data received {"connection_id":149156,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:55:29] local.INFO: Processing buffer {"connection_id":149156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:55:29] local.INFO: IMEI packet received {"connection_id":149156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":149156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:55:31] local.INFO: TCP Data received {"connection_id":149156,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:55:31] local.INFO: Processing buffer {"connection_id":149156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:55:31] local.INFO: Packet analysis {"connection_id":149156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:55:31] local.INFO: Extracted packet for processing {"connection_id":149156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:55:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128627968001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:55:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785659004000,"timestamp_ms":1785659004000,"timestamp_seconds":1785659004,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1921460"} 
[2026-08-02 13:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 13:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128627968001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128627968001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:55:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:55:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:55:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128627968001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":149156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:55:31] local.INFO: GPS data processed {"connection_id":149156,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:55:31] local.INFO: Acknowledgment sent {"connection_id":149156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:55:33] local.INFO: TCP Data received {"connection_id":149157,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:55:33] local.INFO: Processing buffer {"connection_id":149157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:55:33] local.INFO: IMEI packet received {"connection_id":149157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":149157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:55:34] local.INFO: TCP Data received {"connection_id":149157,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc193d980012d83264005ea3c780006006426..."} 
[2026-08-02 13:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc193d980012d83264005ea3c780006006426..."} 
[2026-08-02 13:55:34] local.INFO: Processing buffer {"connection_id":149157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc193d980012d83264005ea3c780006006426..."} 
[2026-08-02 13:55:34] local.INFO: Packet analysis {"connection_id":149157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc193"} 
[2026-08-02 13:55:34] local.INFO: Extracted packet for processing {"connection_id":149157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc193"} 
[2026-08-02 13:55:34] local.INFO: GPS Element Parsed {"raw_longitude":763569728,"raw_latitude":99236984,"longitude_deg":76.3569728,"latitude_deg":9.9236984,"altitude":6,"angle":100,"satellites":38,"speed":22,"hex_longitude":"2d832640","hex_latitude":"05ea3c78","is_valid_coordinates":true} 
[2026-08-02 13:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128734208001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113871222378332160,"note":"Value kept but may cause issues"} 
[2026-08-02 13:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8997699448872253440,"note":"Value kept but may cause issues"} 
[2026-08-02 13:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785659120000,"timestamp_ms":1785659120000,"timestamp_seconds":1785659120,"priority":1,"record_length":96,"hex_timestamp":"0000019fc193d980"} 
[2026-08-02 13:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 13:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128734208001,"66":12722,"169":206,"87":11264,"24":22,"16":113871222378332160,"45":-8997699448872253440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,87,24,16,45]} 
[2026-08-02 13:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128734208001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:55:34] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 13:55:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113871222378332160,"km_value":113871222378332.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8997699448872253440,"description":"Unknown IO ID 45"} 
[2026-08-02 13:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128734208001,"power":12722,"unknown_169":206,"unknown_87":11264,"ignition":22,"odometer":null,"unknown_45":-8997699448872253440}} 
[2026-08-02 13:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":149157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:55:34] local.INFO: GPS data processed {"connection_id":149157,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:55:34] local.INFO: Acknowledgment sent {"connection_id":149157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:56:02] local.INFO: TCP Data received {"connection_id":149156,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:56:02] local.INFO: Processing buffer {"connection_id":149156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:56:02] local.INFO: Packet analysis {"connection_id":149156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:56:02] local.INFO: Extracted packet for processing {"connection_id":149156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:56:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128627968001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785659004000,"timestamp_ms":1785659004000,"timestamp_seconds":1785659004,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1921460"} 
[2026-08-02 13:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 13:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128627968001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128627968001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:56:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:56:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:56:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128627968001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":149156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:56:02] local.INFO: GPS data processed {"connection_id":149156,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:56:02] local.INFO: Acknowledgment sent {"connection_id":149156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:56:05] local.INFO: TCP Data received {"connection_id":149157,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc193dd68012d83288005ea3c680006005726..."} 
[2026-08-02 13:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc193dd68012d83288005ea3c680006005726..."} 
[2026-08-02 13:56:05] local.INFO: Processing buffer {"connection_id":149157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc193dd68012d83288005ea3c680006005726..."} 
[2026-08-02 13:56:05] local.INFO: Packet analysis {"connection_id":149157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc193"} 
[2026-08-02 13:56:05] local.INFO: Extracted packet for processing {"connection_id":149157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc193"} 
[2026-08-02 13:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763570304,"raw_latitude":99236968,"longitude_deg":76.3570304,"latitude_deg":9.9236968,"altitude":6,"angle":87,"satellites":38,"speed":22,"hex_longitude":"2d832880","hex_latitude":"05ea3c68","is_valid_coordinates":true} 
[2026-08-02 13:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128734720001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113871252443103232,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8996432811477141504,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785659121000,"timestamp_ms":1785659121000,"timestamp_seconds":1785659121,"priority":1,"record_length":96,"hex_timestamp":"0000019fc193dd68"} 
[2026-08-02 13:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 13:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128734720001,"66":13428,"169":206,"87":11264,"24":22,"16":113871252443103232,"45":-8996432811477141504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,87,24,16,45]} 
[2026-08-02 13:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128734720001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:56:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 13:56:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113871252443103232,"km_value":113871252443103.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8996432811477141504,"description":"Unknown IO ID 45"} 
[2026-08-02 13:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128734720001,"power":13428,"unknown_169":206,"unknown_87":11264,"ignition":22,"odometer":null,"unknown_45":-8996432811477141504}} 
[2026-08-02 13:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":149157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:56:05] local.INFO: GPS data processed {"connection_id":149157,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:56:05] local.INFO: Acknowledgment sent {"connection_id":149157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:56:25] local.INFO: TCP Data received {"connection_id":146811,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:56:25] local.INFO: Processing buffer {"connection_id":146811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:56:25] local.INFO: IMEI packet received {"connection_id":146811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":146811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:56:28] local.INFO: TCP Data received {"connection_id":146603,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:56:28] local.INFO: Processing buffer {"connection_id":146603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:56:28] local.INFO: IMEI packet received {"connection_id":146603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":146603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:56:32] local.INFO: TCP Data received {"connection_id":146603,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:56:32] local.INFO: Processing buffer {"connection_id":146603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:56:32] local.INFO: IMEI packet received {"connection_id":146603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":146603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:56:32] local.INFO: TCP Data received {"connection_id":146811,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:56:32] local.INFO: Processing buffer {"connection_id":146811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:56:32] local.INFO: IMEI packet received {"connection_id":146811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":146811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:56:32] local.INFO: TCP Data received {"connection_id":146603,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:56:32] local.INFO: Processing buffer {"connection_id":146603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:56:32] local.INFO: IMEI packet received {"connection_id":146603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":146603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:56:33] local.INFO: TCP Data received {"connection_id":146811,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:56:33] local.INFO: Processing buffer {"connection_id":146811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:56:33] local.INFO: Packet analysis {"connection_id":146811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:56:33] local.INFO: Extracted packet for processing {"connection_id":146811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:56:33] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128627968001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785659004000,"timestamp_ms":1785659004000,"timestamp_seconds":1785659004,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1921460"} 
[2026-08-02 13:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 13:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128627968001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128627968001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:56:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:56:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:56:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128627968001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":146811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:56:33] local.INFO: GPS data processed {"connection_id":146811,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:56:33] local.INFO: Acknowledgment sent {"connection_id":146811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:56:38] local.INFO: TCP Data received {"connection_id":146603,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:56:38] local.INFO: Processing buffer {"connection_id":146603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:56:38] local.INFO: IMEI packet received {"connection_id":146603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":146603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:56:39] local.INFO: TCP Data received {"connection_id":146603,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1940478012d83430005ea41900005004824..."} 
[2026-08-02 13:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1940478012d83430005ea41900005004824..."} 
[2026-08-02 13:56:39] local.INFO: Processing buffer {"connection_id":146603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1940478012d83430005ea41900005004824..."} 
[2026-08-02 13:56:39] local.INFO: Packet analysis {"connection_id":146603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc194"} 
[2026-08-02 13:56:39] local.INFO: Extracted packet for processing {"connection_id":146603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc194"} 
[2026-08-02 13:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763577088,"raw_latitude":99238288,"longitude_deg":76.3577088,"latitude_deg":9.9238288,"altitude":5,"angle":72,"satellites":36,"speed":26,"hex_longitude":"2d834300","hex_latitude":"05ea4190","is_valid_coordinates":true} 
[2026-08-02 13:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128734976001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113871583155585024,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8995799492779546624,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785659131000,"timestamp_ms":1785659131000,"timestamp_seconds":1785659131,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1940478"} 
[2026-08-02 13:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 13:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128734976001,"66":13526,"169":206,"87":11264,"24":26,"16":113871583155585024,"45":-8995799492779546624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,87,24,16,45]} 
[2026-08-02 13:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128734976001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:56:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 13:56:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113871583155585024,"km_value":113871583155585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8995799492779546624,"description":"Unknown IO ID 45"} 
[2026-08-02 13:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128734976001,"power":13526,"unknown_169":206,"unknown_87":11264,"ignition":26,"odometer":null,"unknown_45":-8995799492779546624}} 
[2026-08-02 13:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":146603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:56:39] local.INFO: GPS data processed {"connection_id":146603,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:56:39] local.INFO: Acknowledgment sent {"connection_id":146603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:56:43] local.INFO: TCP Data received {"connection_id":146603,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1941800012d83500005ea46480004003c26..."} 
[2026-08-02 13:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1941800012d83500005ea46480004003c26..."} 
[2026-08-02 13:56:43] local.INFO: Processing buffer {"connection_id":146603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1941800012d83500005ea46480004003c26..."} 
[2026-08-02 13:56:43] local.INFO: Packet analysis {"connection_id":146603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc194"} 
[2026-08-02 13:56:43] local.INFO: Extracted packet for processing {"connection_id":146603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc194"} 
[2026-08-02 13:56:43] local.INFO: GPS Element Parsed {"raw_longitude":763580416,"raw_latitude":99239496,"longitude_deg":76.3580416,"latitude_deg":9.9239496,"altitude":4,"angle":60,"satellites":38,"speed":25,"hex_longitude":"2d835000","hex_latitude":"05ea4648","is_valid_coordinates":true} 
[2026-08-02 13:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128737536001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113871750659309568,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8988340405896376320,"note":"Value kept but may cause issues"} 
[2026-08-02 13:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785659136000,"timestamp_ms":1785659136000,"timestamp_seconds":1785659136,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1941800"} 
[2026-08-02 13:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 13:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128737536001,"66":13472,"169":206,"87":11264,"24":25,"16":113871750659309568,"45":-8988340405896376320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,87,24,16,45]} 
[2026-08-02 13:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128737536001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:56:43] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 13:56:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113871750659309568,"km_value":113871750659309.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8988340405896376320,"description":"Unknown IO ID 45"} 
[2026-08-02 13:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128737536001,"power":13472,"unknown_169":206,"unknown_87":11264,"ignition":25,"odometer":null,"unknown_45":-8988340405896376320}} 
[2026-08-02 13:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":146603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:56:43] local.INFO: GPS data processed {"connection_id":146603,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:56:43] local.INFO: Acknowledgment sent {"connection_id":146603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:57:05] local.INFO: TCP Data received {"connection_id":146811,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:57:05] local.INFO: Processing buffer {"connection_id":146811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:57:05] local.INFO: Packet analysis {"connection_id":146811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:57:05] local.INFO: Extracted packet for processing {"connection_id":146811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:57:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128627968001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:57:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785659004000,"timestamp_ms":1785659004000,"timestamp_seconds":1785659004,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1921460"} 
[2026-08-02 13:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 13:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13: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-08-02 13:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128627968001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128627968001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:57:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:57:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:57:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128627968001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":146811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:57:05] local.INFO: GPS data processed {"connection_id":146811,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:57:05] local.INFO: Acknowledgment sent {"connection_id":146811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:57:28] local.INFO: TCP Data received {"connection_id":146604,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:57:28] local.INFO: Processing buffer {"connection_id":146604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:57:28] local.INFO: IMEI packet received {"connection_id":146604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":146604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:57:29] local.INFO: TCP Data received {"connection_id":146812,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:57:29] local.INFO: Processing buffer {"connection_id":146812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:57:29] local.INFO: IMEI packet received {"connection_id":146812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":146812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:57:30] local.INFO: TCP Data received {"connection_id":146604,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:57:30] local.INFO: Processing buffer {"connection_id":146604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:57:30] local.INFO: IMEI packet received {"connection_id":146604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":146604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:57:36] local.INFO: TCP Data received {"connection_id":146604,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1951db8012d83b98005ea10100011008e2a..."} 
[2026-08-02 13:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1951db8012d83b98005ea10100011008e2a..."} 
[2026-08-02 13:57:36] local.INFO: Processing buffer {"connection_id":146604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1951db8012d83b98005ea10100011008e2a..."} 
[2026-08-02 13:57:36] local.INFO: Packet analysis {"connection_id":146604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc195"} 
[2026-08-02 13:57:36] local.INFO: Extracted packet for processing {"connection_id":146604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc195"} 
[2026-08-02 13:57:36] local.INFO: GPS Element Parsed {"raw_longitude":763607424,"raw_latitude":99225616,"longitude_deg":76.3607424,"latitude_deg":9.9225616,"altitude":17,"angle":142,"satellites":42,"speed":18,"hex_longitude":"2d83b980","hex_latitude":"05ea1010","is_valid_coordinates":true} 
[2026-08-02 13:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128752640001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113873764998971392,"note":"Value kept but may cause issues"} 
[2026-08-02 13:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8959278114552692736,"note":"Value kept but may cause issues"} 
[2026-08-02 13:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785659203000,"timestamp_ms":1785659203000,"timestamp_seconds":1785659203,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1951db8"} 
[2026-08-02 13:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-02 13:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128752640001,"66":13526,"76":206,"87":11264,"24":18,"16":113873764998971392,"45":-8959278114552692736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,87,24,16,45]} 
[2026-08-02 13:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128752640001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:57:36] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-02 13:57:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113873764998971392,"km_value":113873764998971.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8959278114552692736,"description":"Unknown IO ID 45"} 
[2026-08-02 13:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128752640001,"power":13526,"unknown_76":206,"unknown_87":11264,"ignition":18,"odometer":null,"unknown_45":-8959278114552692736}} 
[2026-08-02 13:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":146604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:57:36] local.INFO: GPS data processed {"connection_id":146604,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:57:36] local.INFO: Acknowledgment sent {"connection_id":146604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:57:36] local.INFO: TCP Data received {"connection_id":146812,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:57:36] local.INFO: Processing buffer {"connection_id":146812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:57:36] local.INFO: IMEI packet received {"connection_id":146812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":146812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:57:38] local.INFO: TCP Data received {"connection_id":146812,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:57:38] local.INFO: Processing buffer {"connection_id":146812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:57:38] local.INFO: Packet analysis {"connection_id":146812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:57:38] local.INFO: Extracted packet for processing {"connection_id":146812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:57:38] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128627968001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:57:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785659004000,"timestamp_ms":1785659004000,"timestamp_seconds":1785659004,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1921460"} 
[2026-08-02 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-08-02 13:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 13:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 13:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128627968001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128627968001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:57:38] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:57:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:57:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128627968001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":146812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:57:38] local.INFO: GPS data processed {"connection_id":146812,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:57:38] local.INFO: Acknowledgment sent {"connection_id":146812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:58:07] local.INFO: TCP Data received {"connection_id":146604,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1955080012d83d14005e9f328000c008e2b..."} 
[2026-08-02 13:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1955080012d83d14005e9f328000c008e2b..."} 
[2026-08-02 13:58:07] local.INFO: Processing buffer {"connection_id":146604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1955080012d83d14005e9f328000c008e2b..."} 
[2026-08-02 13:58:07] local.INFO: Packet analysis {"connection_id":146604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc195"} 
[2026-08-02 13:58:07] local.INFO: Extracted packet for processing {"connection_id":146604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc195"} 
[2026-08-02 13:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763613504,"raw_latitude":99218216,"longitude_deg":76.3613504,"latitude_deg":9.9218216,"altitude":12,"angle":142,"satellites":43,"speed":34,"hex_longitude":"2d83d140","hex_latitude":"05e9f328","is_valid_coordinates":true} 
[2026-08-02 13:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128755968001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113874228855439360,"note":"Value kept but may cause issues"} 
[2026-08-02 13:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8954985621159407616,"note":"Value kept but may cause issues"} 
[2026-08-02 13:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785659216000,"timestamp_ms":1785659216000,"timestamp_seconds":1785659216,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1955080"} 
[2026-08-02 13:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 13:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128755968001,"66":13406,"76":206,"87":11264,"24":34,"16":113874228855439360,"45":-8954985621159407616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,87,24,16,45]} 
[2026-08-02 13:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128755968001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:58:07] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-02 13:58:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113874228855439360,"km_value":113874228855439.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8954985621159407616,"description":"Unknown IO ID 45"} 
[2026-08-02 13:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128755968001,"power":13406,"unknown_76":206,"unknown_87":11264,"ignition":34,"odometer":null,"unknown_45":-8954985621159407616}} 
[2026-08-02 13:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":146604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:58:07] local.INFO: GPS data processed {"connection_id":146604,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:58:07] local.INFO: Acknowledgment sent {"connection_id":146604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:58:09] local.INFO: TCP Data received {"connection_id":146812,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:58:09] local.INFO: Processing buffer {"connection_id":146812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:58:09] local.INFO: Packet analysis {"connection_id":146812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:58:09] local.INFO: Extracted packet for processing {"connection_id":146812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:58:09] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128627968001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:58:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785659004000,"timestamp_ms":1785659004000,"timestamp_seconds":1785659004,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1921460"} 
[2026-08-02 13:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:58: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-08-02 13:58: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-08-02 13:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128627968001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128627968001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:58:09] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:58:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:58:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128627968001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":146812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:58:09] local.INFO: GPS data processed {"connection_id":146812,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:58:09] local.INFO: Acknowledgment sent {"connection_id":146812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:58:24] local.INFO: TCP Data received {"connection_id":146813,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:58:24] local.INFO: Processing buffer {"connection_id":146813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:58:24] local.INFO: IMEI packet received {"connection_id":146813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":146813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:58:27] local.INFO: TCP Data received {"connection_id":147844,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:58:27] local.INFO: Processing buffer {"connection_id":147844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:58:27] local.INFO: IMEI packet received {"connection_id":147844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":147844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:58:29] local.INFO: TCP Data received {"connection_id":146813,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:58:29] local.INFO: Processing buffer {"connection_id":146813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:58:29] local.INFO: IMEI packet received {"connection_id":146813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":146813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:58:30] local.INFO: TCP Data received {"connection_id":146813,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:58:30] local.INFO: Processing buffer {"connection_id":146813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:58:30] local.INFO: Packet analysis {"connection_id":146813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:58:30] local.INFO: Extracted packet for processing {"connection_id":146813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:58:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128627968001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785659004000,"timestamp_ms":1785659004000,"timestamp_seconds":1785659004,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1921460"} 
[2026-08-02 13:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 13:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128627968001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128627968001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:58:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:58:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128627968001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":146813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:58:30] local.INFO: GPS data processed {"connection_id":146813,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:58:30] local.INFO: Acknowledgment sent {"connection_id":146813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:58:33] local.INFO: TCP Data received {"connection_id":147844,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:58:33] local.INFO: Processing buffer {"connection_id":147844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:58:33] local.INFO: IMEI packet received {"connection_id":147844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":147844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:58:33] local.INFO: TCP Data received {"connection_id":147844,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1956408012d83d94005e9e560000e009c2a..."} 
[2026-08-02 13:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1956408012d83d94005e9e560000e009c2a..."} 
[2026-08-02 13:58:33] local.INFO: Processing buffer {"connection_id":147844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1956408012d83d94005e9e560000e009c2a..."} 
[2026-08-02 13:58:33] local.INFO: Packet analysis {"connection_id":147844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc195"} 
[2026-08-02 13:58:33] local.INFO: Extracted packet for processing {"connection_id":147844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc195"} 
[2026-08-02 13:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763615552,"raw_latitude":99214688,"longitude_deg":76.3615552,"latitude_deg":9.9214688,"altitude":14,"angle":156,"satellites":42,"speed":30,"hex_longitude":"2d83d940","hex_latitude":"05e9e560","is_valid_coordinates":true} 
[2026-08-02 13:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128759296001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113874426423934976,"note":"Value kept but may cause issues"} 
[2026-08-02 13:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8948300590464423936,"note":"Value kept but may cause issues"} 
[2026-08-02 13:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785659221000,"timestamp_ms":1785659221000,"timestamp_seconds":1785659221,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1956408"} 
[2026-08-02 13:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 13:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128759296001,"66":13319,"76":206,"87":11264,"24":30,"16":113874426423934976,"45":-8948300590464423936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,87,24,16,45]} 
[2026-08-02 13:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128759296001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:58:33] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-02 13:58:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113874426423934976,"km_value":113874426423934.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8948300590464423936,"description":"Unknown IO ID 45"} 
[2026-08-02 13:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128759296001,"power":13319,"unknown_76":206,"unknown_87":11264,"ignition":30,"odometer":null,"unknown_45":-8948300590464423936}} 
[2026-08-02 13:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":147844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:58:33] local.INFO: GPS data processed {"connection_id":147844,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:58:33] local.INFO: Acknowledgment sent {"connection_id":147844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:59:02] local.INFO: TCP Data received {"connection_id":146813,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:59:02] local.INFO: Processing buffer {"connection_id":146813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1921460012cc330c007685958005800c52c..."} 
[2026-08-02 13:59:02] local.INFO: Packet analysis {"connection_id":146813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:59:02] local.INFO: Extracted packet for processing {"connection_id":146813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc192"} 
[2026-08-02 13:59:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128627968001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785659004000,"timestamp_ms":1785659004000,"timestamp_seconds":1785659004,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1921460"} 
[2026-08-02 13:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 13:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13: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-08-02 13:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128627968001,"66":25615,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128627968001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:59:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:59:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:59:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128627968001,"power":25615,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":146813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:59:02] local.INFO: GPS data processed {"connection_id":146813,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:59:02] local.INFO: Acknowledgment sent {"connection_id":146813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:59:05] local.INFO: TCP Data received {"connection_id":147844,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1958f00012d83e68005e9c410001000a128..."} 
[2026-08-02 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1958f00012d83e68005e9c410001000a128..."} 
[2026-08-02 13:59:05] local.INFO: Processing buffer {"connection_id":147844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1958f00012d83e68005e9c410001000a128..."} 
[2026-08-02 13:59:05] local.INFO: Packet analysis {"connection_id":147844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc195"} 
[2026-08-02 13:59:05] local.INFO: Extracted packet for processing {"connection_id":147844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc195"} 
[2026-08-02 13:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763618944,"raw_latitude":99206160,"longitude_deg":76.3618944,"latitude_deg":9.920616,"altitude":16,"angle":161,"satellites":40,"speed":39,"hex_longitude":"2d83e680","hex_latitude":"05e9c410","is_valid_coordinates":true} 
[2026-08-02 13: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-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128760576001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113874868805566464,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8946048790651641856,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785659232000,"timestamp_ms":1785659232000,"timestamp_seconds":1785659232,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1958f00"} 
[2026-08-02 13:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3247750160,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2208776197,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":234,"raw_value":6028068169964661504,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2497656833,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":273547470,"corrected_to":0} 
[2026-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":34,"raw_value":57720297432700716,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3758173571,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147871303,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407056,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":148,"raw_value":-5458361453379387387,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3930974208,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,76,87,24,241,157,16,144,159,80,45,64,243,12,43,10,66,29,128,17,42,143,234,1,240,88,227,193,4,113,205,34,195,165,176,239,52,78,2,148,5,31],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":273547470,"validated":0}]} 
[2026-08-02 13:59:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008978020735516672,"timestamp_seconds":1008978020735516.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 13:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128760576001,"66":13493,"76":206,"87":11264,"24":39,"16":113874868805566464,"45":-8946048790651641856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,87,24,16,45]} 
[2026-08-02 13:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128760576001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:59:05] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-02 13:59:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 13:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113874868805566464,"km_value":113874868805566.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8946048790651641856,"description":"Unknown IO ID 45"} 
[2026-08-02 13:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128760576001,"power":13493,"unknown_76":206,"unknown_87":11264,"ignition":39,"odometer":null,"unknown_45":-8946048790651641856}} 
[2026-08-02 13:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":147844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:59:05] local.INFO: GPS data processed {"connection_id":147844,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:59:05] local.INFO: Acknowledgment sent {"connection_id":147844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:59:27] local.INFO: TCP Data received {"connection_id":146605,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:59:27] local.INFO: Processing buffer {"connection_id":146605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:59:27] local.INFO: IMEI packet received {"connection_id":146605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 13:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":146605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:59:30] local.INFO: TCP Data received {"connection_id":149158,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:59:30] local.INFO: Processing buffer {"connection_id":149158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:59:30] local.INFO: IMEI packet received {"connection_id":149158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 13:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":149158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 13:59:31] local.INFO: TCP Data received {"connection_id":146605,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:59:31] local.INFO: Processing buffer {"connection_id":146605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:59:31] local.INFO: IMEI packet received {"connection_id":146605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":146605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:59:33] local.INFO: TCP Data received {"connection_id":146605,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:59:33] local.INFO: Processing buffer {"connection_id":146605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 13:59:33] local.INFO: IMEI packet received {"connection_id":146605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 13:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":146605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:59:33] local.INFO: TCP Data received {"connection_id":146605,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1975808012d845a4005e851a8000d009c2a..."} 
[2026-08-02 13:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1975808012d845a4005e851a8000d009c2a..."} 
[2026-08-02 13:59:33] local.INFO: Processing buffer {"connection_id":146605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1975808012d845a4005e851a8000d009c2a..."} 
[2026-08-02 13:59:33] local.INFO: Packet analysis {"connection_id":146605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc197"} 
[2026-08-02 13:59:33] local.INFO: Extracted packet for processing {"connection_id":146605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc197"} 
[2026-08-02 13:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763648576,"raw_latitude":99111336,"longitude_deg":76.3648576,"latitude_deg":9.9111336,"altitude":13,"angle":156,"satellites":42,"speed":38,"hex_longitude":"2d845a40","hex_latitude":"05e851a8","is_valid_coordinates":true} 
[2026-08-02 13:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128791040001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113879713528676352,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8914382855795982336,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785659349000,"timestamp_ms":1785659349000,"timestamp_seconds":1785659349,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1975808"} 
[2026-08-02 13:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 13:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 13:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 13:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 13:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 13:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 13:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128791040001,"66":13472,"19":206,"88":20224,"24":38,"16":113879713528676352,"45":-8914382855795982336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-08-02 13:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 13:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 13:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128791040001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:59:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-02 13:59:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 13:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113879713528676352,"km_value":113879713528676.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8914382855795982336,"description":"Unknown IO ID 45"} 
[2026-08-02 13:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128791040001,"power":13472,"unknown_19":206,"unknown_88":20224,"ignition":38,"odometer":null,"unknown_45":-8914382855795982336}} 
[2026-08-02 13:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":146605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:59:34] local.INFO: GPS data processed {"connection_id":146605,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:59:34] local.INFO: Acknowledgment sent {"connection_id":146605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:59:37] local.INFO: TCP Data received {"connection_id":149158,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:59:37] local.INFO: Processing buffer {"connection_id":149158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 13:59:37] local.INFO: IMEI packet received {"connection_id":149158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 13:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":149158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 13:59:38] local.INFO: TCP Data received {"connection_id":149158,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 13:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 13:59:38] local.INFO: Processing buffer {"connection_id":149158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 13:59:38] local.INFO: Packet analysis {"connection_id":149158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 13:59:38] local.INFO: Extracted packet for processing {"connection_id":149158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 13:59:38] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 13:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128705024001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785659305000,"timestamp_ms":1785659305000,"timestamp_seconds":1785659305,"priority":1,"record_length":96,"hex_timestamp":"0000019fc196ac28"} 
[2026-08-02 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-08-02 13: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-08-02 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 13:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":149158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":149158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":149158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128705024001,"66":25093,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128705024001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:59:38] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:59:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:59:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128705024001,"power":25093,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":149158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:59:38] local.INFO: GPS data processed {"connection_id":149158,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:59:38] local.INFO: Acknowledgment sent {"connection_id":149158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 13:59:39] local.INFO: TCP Data received {"connection_id":149158,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 13:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 13:59:39] local.INFO: Processing buffer {"connection_id":149158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 13:59:39] local.INFO: Packet analysis {"connection_id":149158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 13:59:39] local.INFO: Extracted packet for processing {"connection_id":149158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 13:59:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 13:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 13:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128705024001,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 13:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 13:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785659305000,"timestamp_ms":1785659305000,"timestamp_seconds":1785659305,"priority":1,"record_length":96,"hex_timestamp":"0000019fc196ac28"} 
[2026-08-02 13:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 13:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 13:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 13:59: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-08-02 13:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 13:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 13:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 13:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 13:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 13:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 13:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 13:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 13:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128705024001,"66":25093,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 13:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 13:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 13:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128705024001,"description":"Unknown IO ID 0"} 
[2026-08-02 13:59:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 13:59:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 13:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 13:59:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 13:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128705024001,"power":25093,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 13:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":149158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 13:59:39] local.INFO: GPS data processed {"connection_id":149158,"processed":1,"errors":0,"total":1} 
[2026-08-02 13:59:39] local.INFO: Acknowledgment sent {"connection_id":149158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:00:05] local.INFO: TCP Data received {"connection_id":146605,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1977f18012d84694005e831b0000d009a25..."} 
[2026-08-02 14:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1977f18012d84694005e831b0000d009a25..."} 
[2026-08-02 14:00:05] local.INFO: Processing buffer {"connection_id":146605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1977f18012d84694005e831b0000d009a25..."} 
[2026-08-02 14:00:05] local.INFO: Packet analysis {"connection_id":146605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc197"} 
[2026-08-02 14:00:05] local.INFO: Extracted packet for processing {"connection_id":146605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc197"} 
[2026-08-02 14:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763652416,"raw_latitude":99103152,"longitude_deg":76.3652416,"latitude_deg":9.9103152,"altitude":13,"angle":154,"satellites":37,"speed":31,"hex_longitude":"2d846940","hex_latitude":"05e831b0","is_valid_coordinates":true} 
[2026-08-02 14:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128793344001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113880147320373248,"note":"Value kept but may cause issues"} 
[2026-08-02 14:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8909738518682425344,"note":"Value kept but may cause issues"} 
[2026-08-02 14:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785659359000,"timestamp_ms":1785659359000,"timestamp_seconds":1785659359,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1977f18"} 
[2026-08-02 14:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 14:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128793344001,"66":13102,"19":206,"88":20224,"24":31,"16":113880147320373248,"45":-8909738518682425344},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-08-02 14:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128793344001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:00:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-02 14:00:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113880147320373248,"km_value":113880147320373.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8909738518682425344,"description":"Unknown IO ID 45"} 
[2026-08-02 14:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128793344001,"power":13102,"unknown_19":206,"unknown_88":20224,"ignition":31,"odometer":null,"unknown_45":-8909738518682425344}} 
[2026-08-02 14:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":146605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:00:05] local.INFO: GPS data processed {"connection_id":146605,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:00:05] local.INFO: Acknowledgment sent {"connection_id":146605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:00:24] local.INFO: TCP Data received {"connection_id":146814,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:00:24] local.INFO: Processing buffer {"connection_id":146814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:00:24] local.INFO: IMEI packet received {"connection_id":146814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":146814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:00:30] local.INFO: TCP Data received {"connection_id":146814,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:00:30] local.INFO: Processing buffer {"connection_id":146814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:00:30] local.INFO: IMEI packet received {"connection_id":146814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":146814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:00:32] local.INFO: TCP Data received {"connection_id":146814,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:00:32] local.INFO: Processing buffer {"connection_id":146814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:00:32] local.INFO: Packet analysis {"connection_id":146814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:00:32] local.INFO: Extracted packet for processing {"connection_id":146814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:00:32] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128705024001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:00:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785659305000,"timestamp_ms":1785659305000,"timestamp_seconds":1785659305,"priority":1,"record_length":96,"hex_timestamp":"0000019fc196ac28"} 
[2026-08-02 14:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 14:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":146814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":146814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":146814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128705024001,"66":25093,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128705024001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:00:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:00:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:00:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128705024001,"power":25093,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":146814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:00:32] local.INFO: GPS data processed {"connection_id":146814,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:00:32] local.INFO: Acknowledgment sent {"connection_id":146814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:01:03] local.INFO: TCP Data received {"connection_id":146814,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:01:03] local.INFO: Processing buffer {"connection_id":146814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:01:03] local.INFO: Packet analysis {"connection_id":146814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:01:03] local.INFO: Extracted packet for processing {"connection_id":146814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:01:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128705024001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785659305000,"timestamp_ms":1785659305000,"timestamp_seconds":1785659305,"priority":1,"record_length":96,"hex_timestamp":"0000019fc196ac28"} 
[2026-08-02 14:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 14:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128705024001,"66":25093,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128705024001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:01:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:01:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:01:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128705024001,"power":25093,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":146814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:01:03] local.INFO: GPS data processed {"connection_id":146814,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:01:03] local.INFO: Acknowledgment sent {"connection_id":146814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:01:08] local.INFO: TCP Data received {"connection_id":149159,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:01:08] local.INFO: Processing buffer {"connection_id":149159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:01:08] local.INFO: IMEI packet received {"connection_id":149159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":149159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:01:24] local.INFO: TCP Data received {"connection_id":147845,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:01:24] local.INFO: Processing buffer {"connection_id":147845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:01:24] local.INFO: IMEI packet received {"connection_id":147845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":147845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:01:29] local.INFO: TCP Data received {"connection_id":147845,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:01:29] local.INFO: Processing buffer {"connection_id":147845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:01:29] local.INFO: IMEI packet received {"connection_id":147845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":147845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:01:30] local.INFO: TCP Data received {"connection_id":147845,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:01:30] local.INFO: Processing buffer {"connection_id":147845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:01:30] local.INFO: Packet analysis {"connection_id":147845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:01:30] local.INFO: Extracted packet for processing {"connection_id":147845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:01:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128705024001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785659305000,"timestamp_ms":1785659305000,"timestamp_seconds":1785659305,"priority":1,"record_length":96,"hex_timestamp":"0000019fc196ac28"} 
[2026-08-02 14:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 14:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128705024001,"66":25093,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128705024001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:01:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:01:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128705024001,"power":25093,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":147845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:01:30] local.INFO: GPS data processed {"connection_id":147845,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:01:30] local.INFO: Acknowledgment sent {"connection_id":147845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:01:37] local.INFO: TCP Data received {"connection_id":147845,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:01:37] local.INFO: Processing buffer {"connection_id":147845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:01:37] local.INFO: Packet analysis {"connection_id":147845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:01:37] local.INFO: Extracted packet for processing {"connection_id":147845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:01:37] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128705024001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785659305000,"timestamp_ms":1785659305000,"timestamp_seconds":1785659305,"priority":1,"record_length":96,"hex_timestamp":"0000019fc196ac28"} 
[2026-08-02 14:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 14:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128705024001,"66":25093,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128705024001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:01:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:01:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128705024001,"power":25093,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":147845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:01:37] local.INFO: GPS data processed {"connection_id":147845,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:01:37] local.INFO: Acknowledgment sent {"connection_id":147845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:01:38] local.INFO: TCP Data received {"connection_id":147846,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:01:38] local.INFO: Processing buffer {"connection_id":147846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:01:38] local.INFO: IMEI packet received {"connection_id":147846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":147846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:01:41] local.INFO: TCP Data received {"connection_id":147846,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:01:41] local.INFO: Processing buffer {"connection_id":147846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:01:41] local.INFO: IMEI packet received {"connection_id":147846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":147846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:01:41] local.INFO: TCP Data received {"connection_id":147846,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc197a628012d8479c005e80fe0000e009b2a..."} 
[2026-08-02 14:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc197a628012d8479c005e80fe0000e009b2a..."} 
[2026-08-02 14:01:41] local.INFO: Processing buffer {"connection_id":147846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc197a628012d8479c005e80fe0000e009b2a..."} 
[2026-08-02 14:01:41] local.INFO: Packet analysis {"connection_id":147846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc197"} 
[2026-08-02 14:01:41] local.INFO: Extracted packet for processing {"connection_id":147846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc197"} 
[2026-08-02 14:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763656640,"raw_latitude":99094496,"longitude_deg":76.365664,"latitude_deg":9.9094496,"altitude":14,"angle":155,"satellites":42,"speed":39,"hex_longitude":"2d8479c0","hex_latitude":"05e80fe0","is_valid_coordinates":true} 
[2026-08-02 14:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128795904001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113880615471808512,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8905516394033860608,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785659369000,"timestamp_ms":1785659369000,"timestamp_seconds":1785659369,"priority":1,"record_length":96,"hex_timestamp":"0000019fc197a628"} 
[2026-08-02 14:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-02 14:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128795904001,"66":13537,"17":206,"88":20224,"24":39,"16":113880615471808512,"45":-8905516394033860608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,88,24,16,45]} 
[2026-08-02 14:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128795904001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:01:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113880615471808512,"km_value":113880615471808.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8905516394033860608,"description":"Unknown IO ID 45"} 
[2026-08-02 14:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128795904001,"power":13537,"axis_x":206,"unknown_88":20224,"ignition":39,"odometer":null,"unknown_45":-8905516394033860608}} 
[2026-08-02 14:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":147846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:01:42] local.INFO: GPS data processed {"connection_id":147846,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:01:42] local.INFO: Acknowledgment sent {"connection_id":147846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:01:43] local.INFO: TCP Data received {"connection_id":147846,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc197cd38012d84888005e7ef48000d009a29..."} 
[2026-08-02 14:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc197cd38012d84888005e7ef48000d009a29..."} 
[2026-08-02 14:01:43] local.INFO: Processing buffer {"connection_id":147846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc197cd38012d84888005e7ef48000d009a29..."} 
[2026-08-02 14:01:43] local.INFO: Packet analysis {"connection_id":147846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc197"} 
[2026-08-02 14:01:43] local.INFO: Extracted packet for processing {"connection_id":147846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc197"} 
[2026-08-02 14:01:43] local.INFO: GPS Element Parsed {"raw_longitude":763660416,"raw_latitude":99086152,"longitude_deg":76.3660416,"latitude_deg":9.9086152,"altitude":13,"angle":154,"satellites":41,"speed":20,"hex_longitude":"2d848880","hex_latitude":"05e7ef48","is_valid_coordinates":true} 
[2026-08-02 14:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128798464001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113881057853440000,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8900872056920350720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785659379000,"timestamp_ms":1785659379000,"timestamp_seconds":1785659379,"priority":1,"record_length":96,"hex_timestamp":"0000019fc197cd38"} 
[2026-08-02 14:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-02 14:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128798464001,"66":13428,"17":206,"88":20224,"24":20,"16":113881057853440000,"45":-8900872056920350720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,88,24,16,45]} 
[2026-08-02 14:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128798464001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:01:43] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113881057853440000,"km_value":113881057853440,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8900872056920350720,"description":"Unknown IO ID 45"} 
[2026-08-02 14:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128798464001,"power":13428,"axis_x":206,"unknown_88":20224,"ignition":20,"odometer":null,"unknown_45":-8900872056920350720}} 
[2026-08-02 14:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":147846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:01:43] local.INFO: GPS data processed {"connection_id":147846,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:01:43] local.INFO: Acknowledgment sent {"connection_id":147846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:02:09] local.INFO: TCP Data received {"connection_id":147845,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:02:09] local.INFO: Processing buffer {"connection_id":147845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:02:09] local.INFO: Packet analysis {"connection_id":147845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:02:09] local.INFO: Extracted packet for processing {"connection_id":147845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:02:09] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128705024001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:02:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785659305000,"timestamp_ms":1785659305000,"timestamp_seconds":1785659305,"priority":1,"record_length":96,"hex_timestamp":"0000019fc196ac28"} 
[2026-08-02 14:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 14:02: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-08-02 14:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128705024001,"66":25093,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128705024001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:02:09] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:02:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:02:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128705024001,"power":25093,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":147845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:02:09] local.INFO: GPS data processed {"connection_id":147845,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:02:09] local.INFO: Acknowledgment sent {"connection_id":147845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:02:24] local.INFO: TCP Data received {"connection_id":149160,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:02:24] local.INFO: Processing buffer {"connection_id":149160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:02:24] local.INFO: IMEI packet received {"connection_id":149160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":149160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:02:28] local.INFO: TCP Data received {"connection_id":147847,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:02:28] local.INFO: Processing buffer {"connection_id":147847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:02:28] local.INFO: IMEI packet received {"connection_id":147847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":147847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:02:29] local.INFO: TCP Data received {"connection_id":149160,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:02:29] local.INFO: Processing buffer {"connection_id":149160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:02:29] local.INFO: IMEI packet received {"connection_id":149160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":149160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:02:31] local.INFO: TCP Data received {"connection_id":149160,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:02:31] local.INFO: Processing buffer {"connection_id":149160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:02:31] local.INFO: Packet analysis {"connection_id":149160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:02:31] local.INFO: Extracted packet for processing {"connection_id":149160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:02:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128705024001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:02:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785659305000,"timestamp_ms":1785659305000,"timestamp_seconds":1785659305,"priority":1,"record_length":96,"hex_timestamp":"0000019fc196ac28"} 
[2026-08-02 14:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 14:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128705024001,"66":25093,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128705024001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:02:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:02:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:02:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128705024001,"power":25093,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":149160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:02:31] local.INFO: GPS data processed {"connection_id":149160,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:02:31] local.INFO: Acknowledgment sent {"connection_id":149160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:02:33] local.INFO: TCP Data received {"connection_id":147847,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:02:33] local.INFO: Processing buffer {"connection_id":147847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:02:33] local.INFO: IMEI packet received {"connection_id":147847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":147847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:02:33] local.INFO: TCP Data received {"connection_id":147847,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc197f830012d84994005e7cca8000d009929..."} 
[2026-08-02 14:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc197f830012d84994005e7cca8000d009929..."} 
[2026-08-02 14:02:33] local.INFO: Processing buffer {"connection_id":147847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc197f830012d84994005e7cca8000d009929..."} 
[2026-08-02 14:02:33] local.INFO: Packet analysis {"connection_id":147847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc197"} 
[2026-08-02 14:02:33] local.INFO: Extracted packet for processing {"connection_id":147847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc197"} 
[2026-08-02 14:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763664704,"raw_latitude":99077288,"longitude_deg":76.3664704,"latitude_deg":9.9077288,"altitude":13,"angle":153,"satellites":41,"speed":44,"hex_longitude":"2d849940","hex_latitude":"05e7cca8","is_valid_coordinates":true} 
[2026-08-02 14:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128801024001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113881534594809856,"note":"Value kept but may cause issues"} 
[2026-08-02 14:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8896720301016004608,"note":"Value kept but may cause issues"} 
[2026-08-02 14:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785659390000,"timestamp_ms":1785659390000,"timestamp_seconds":1785659390,"priority":1,"record_length":96,"hex_timestamp":"0000019fc197f830"} 
[2026-08-02 14:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 14:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128801024001,"66":13559,"17":206,"88":20224,"24":44,"16":113881534594809856,"45":-8896720301016004608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,88,24,16,45]} 
[2026-08-02 14:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128801024001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:02:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113881534594809856,"km_value":113881534594809.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8896720301016004608,"description":"Unknown IO ID 45"} 
[2026-08-02 14:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128801024001,"power":13559,"axis_x":206,"unknown_88":20224,"ignition":44,"odometer":null,"unknown_45":-8896720301016004608}} 
[2026-08-02 14:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":147847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:02:33] local.INFO: GPS data processed {"connection_id":147847,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:02:33] local.INFO: Acknowledgment sent {"connection_id":147847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:03:02] local.INFO: TCP Data received {"connection_id":149160,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:03:02] local.INFO: Processing buffer {"connection_id":149160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:03:02] local.INFO: Packet analysis {"connection_id":149160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:03:02] local.INFO: Extracted packet for processing {"connection_id":149160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:03:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128705024001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785659305000,"timestamp_ms":1785659305000,"timestamp_seconds":1785659305,"priority":1,"record_length":96,"hex_timestamp":"0000019fc196ac28"} 
[2026-08-02 14:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 14:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128705024001,"66":25093,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128705024001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:03:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:03:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:03:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128705024001,"power":25093,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":149160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:03:02] local.INFO: GPS data processed {"connection_id":149160,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:03:02] local.INFO: Acknowledgment sent {"connection_id":149160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:03:04] local.INFO: TCP Data received {"connection_id":147847,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1981770012d84a9c005e7ac90000c00982a..."} 
[2026-08-02 14:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1981770012d84a9c005e7ac90000c00982a..."} 
[2026-08-02 14:03:04] local.INFO: Processing buffer {"connection_id":147847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1981770012d84a9c005e7ac90000c00982a..."} 
[2026-08-02 14:03:04] local.INFO: Packet analysis {"connection_id":147847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc198"} 
[2026-08-02 14:03:04] local.INFO: Extracted packet for processing {"connection_id":147847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc198"} 
[2026-08-02 14:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763668928,"raw_latitude":99069072,"longitude_deg":76.3668928,"latitude_deg":9.9069072,"altitude":12,"angle":152,"satellites":42,"speed":42,"hex_longitude":"2d84a9c0","hex_latitude":"05e7ac90","is_valid_coordinates":true} 
[2026-08-02 14:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128803840001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113881981271408640,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8892005595158370304,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785659398000,"timestamp_ms":1785659398000,"timestamp_seconds":1785659398,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1981770"} 
[2026-08-02 14:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 14:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128803840001,"66":13428,"17":206,"88":20224,"24":42,"16":113881981271408640,"45":-8892005595158370304},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,88,24,16,45]} 
[2026-08-02 14:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128803840001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:03:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113881981271408640,"km_value":113881981271408.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8892005595158370304,"description":"Unknown IO ID 45"} 
[2026-08-02 14:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128803840001,"power":13428,"axis_x":206,"unknown_88":20224,"ignition":42,"odometer":null,"unknown_45":-8892005595158370304}} 
[2026-08-02 14:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":147847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:03:04] local.INFO: GPS data processed {"connection_id":147847,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:03:04] local.INFO: Acknowledgment sent {"connection_id":147847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:03:25] local.INFO: TCP Data received {"connection_id":146815,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:03:25] local.INFO: Processing buffer {"connection_id":146815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:03:25] local.INFO: IMEI packet received {"connection_id":146815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":146815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:03:28] local.INFO: TCP Data received {"connection_id":146815,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:03:28] local.INFO: Processing buffer {"connection_id":146815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:03:28] local.INFO: IMEI packet received {"connection_id":146815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":146815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:03:33] local.INFO: TCP Data received {"connection_id":146815,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:03:33] local.INFO: Processing buffer {"connection_id":146815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:03:33] local.INFO: IMEI packet received {"connection_id":146815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":146815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:03:34] local.INFO: TCP Data received {"connection_id":146815,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19836b0012d84b9c005e78cb8000e009c2a..."} 
[2026-08-02 14:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19836b0012d84b9c005e78cb8000e009c2a..."} 
[2026-08-02 14:03:34] local.INFO: Processing buffer {"connection_id":146815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19836b0012d84b9c005e78cb8000e009c2a..."} 
[2026-08-02 14:03:34] local.INFO: Packet analysis {"connection_id":146815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc198"} 
[2026-08-02 14:03:34] local.INFO: Extracted packet for processing {"connection_id":146815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc198"} 
[2026-08-02 14:03:34] local.INFO: GPS Element Parsed {"raw_longitude":763673024,"raw_latitude":99060920,"longitude_deg":76.3673024,"latitude_deg":9.906092,"altitude":14,"angle":156,"satellites":42,"speed":44,"hex_longitude":"2d84b9c0","hex_latitude":"05e78cb8","is_valid_coordinates":true} 
[2026-08-02 14:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128805888001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113882423653040128,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8887361258044747776,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785659406000,"timestamp_ms":1785659406000,"timestamp_seconds":1785659406,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19836b0"} 
[2026-08-02 14:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 14:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128805888001,"66":13580,"17":206,"88":20224,"24":44,"16":113882423653040128,"45":-8887361258044747776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,88,24,16,45]} 
[2026-08-02 14:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128805888001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:03:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113882423653040128,"km_value":113882423653040.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8887361258044747776,"description":"Unknown IO ID 45"} 
[2026-08-02 14:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128805888001,"power":13580,"axis_x":206,"unknown_88":20224,"ignition":44,"odometer":null,"unknown_45":-8887361258044747776}} 
[2026-08-02 14:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":146815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:03:34] local.INFO: GPS data processed {"connection_id":146815,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:03:34] local.INFO: Acknowledgment sent {"connection_id":146815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:03:34] local.INFO: TCP Data received {"connection_id":146606,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:03:34] local.INFO: Processing buffer {"connection_id":146606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:03:34] local.INFO: IMEI packet received {"connection_id":146606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":146606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:03:39] local.INFO: TCP Data received {"connection_id":146606,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:03:39] local.INFO: Processing buffer {"connection_id":146606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:03:39] local.INFO: IMEI packet received {"connection_id":146606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":146606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:03:41] local.INFO: TCP Data received {"connection_id":146606,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:03:41] local.INFO: Processing buffer {"connection_id":146606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:03:41] local.INFO: Packet analysis {"connection_id":146606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:03:41] local.INFO: Extracted packet for processing {"connection_id":146606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:03:41] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128705024001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785659305000,"timestamp_ms":1785659305000,"timestamp_seconds":1785659305,"priority":1,"record_length":96,"hex_timestamp":"0000019fc196ac28"} 
[2026-08-02 14:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 14:03: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-08-02 14:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128705024001,"66":25093,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128705024001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:03:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:03:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128705024001,"power":25093,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":146606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:03:41] local.INFO: GPS data processed {"connection_id":146606,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:03:41] local.INFO: Acknowledgment sent {"connection_id":146606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:03:45] local.INFO: TCP Data received {"connection_id":146606,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:03:45] local.INFO: Processing buffer {"connection_id":146606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc196ac28012cc330c007685958005800c52d..."} 
[2026-08-02 14:03:45] local.INFO: Packet analysis {"connection_id":146606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:03:45] local.INFO: Extracted packet for processing {"connection_id":146606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc196"} 
[2026-08-02 14:03:45] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128705024001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785659305000,"timestamp_ms":1785659305000,"timestamp_seconds":1785659305,"priority":1,"record_length":96,"hex_timestamp":"0000019fc196ac28"} 
[2026-08-02 14:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-02 14:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14: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-08-02 14:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128705024001,"66":25093,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128705024001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:03:45] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:03:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:03:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128705024001,"power":25093,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":146606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:03:45] local.INFO: GPS data processed {"connection_id":146606,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:03:45] local.INFO: Acknowledgment sent {"connection_id":146606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:04:05] local.INFO: TCP Data received {"connection_id":146815,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19859d8012d84c5c005e76b68000d00a32a..."} 
[2026-08-02 14:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19859d8012d84c5c005e76b68000d00a32a..."} 
[2026-08-02 14:04:05] local.INFO: Processing buffer {"connection_id":146815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19859d8012d84c5c005e76b68000d00a32a..."} 
[2026-08-02 14:04:05] local.INFO: Packet analysis {"connection_id":146815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc198"} 
[2026-08-02 14:04:05] local.INFO: Extracted packet for processing {"connection_id":146815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc198"} 
[2026-08-02 14:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763676096,"raw_latitude":99052392,"longitude_deg":76.3676096,"latitude_deg":9.9052392,"altitude":13,"angle":163,"satellites":42,"speed":21,"hex_longitude":"2d84c5c0","hex_latitude":"05e76b68","is_valid_coordinates":true} 
[2026-08-02 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-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128807936001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113882861739704320,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8882857658419464192,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785659415000,"timestamp_ms":1785659415000,"timestamp_seconds":1785659415,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19859d8"} 
[2026-08-02 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-08-02 14:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617172,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3247921160,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2222571525,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1913716942,"corrected_to":0} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7740281484077957120,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2544248833,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275779091,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2506358784,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3897665536,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":132,"raw_value":5314254056212922381,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303137812296104,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.WARNING: Large IO value detected {"io_id":79,"raw_value":6755558354977009,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:05] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,17,88,24,241,157,16,151,159,23,45,192,172,12,42,10,66,248,64,204,13,41,150,205,128,1,240,116,227,193,232,4,113,39,127,105,176,37,239,51,19,2,148,5,38,132,52,79],"length":577,"final_offset":707,"validated_count":48,"validation_warnings":[{"io_id":205,"original":1913716942,"validated":0}]} 
[2026-08-02 14:04:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008978020736434176,"timestamp_seconds":1008978020736434.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 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-08-02 14:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128807936001,"66":13319,"17":206,"88":20224,"24":21,"16":113882861739704320,"45":-8882857658419464192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,88,24,16,45]} 
[2026-08-02 14:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128807936001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:04:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113882861739704320,"km_value":113882861739704.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8882857658419464192,"description":"Unknown IO ID 45"} 
[2026-08-02 14:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128807936001,"power":13319,"axis_x":206,"unknown_88":20224,"ignition":21,"odometer":null,"unknown_45":-8882857658419464192}} 
[2026-08-02 14:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":146815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:04:05] local.INFO: GPS data processed {"connection_id":146815,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:04:05] local.INFO: Acknowledgment sent {"connection_id":146815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:04:28] local.INFO: TCP Data received {"connection_id":149162,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:04:28] local.INFO: Processing buffer {"connection_id":149162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:04:28] local.INFO: IMEI packet received {"connection_id":149162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":149162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:04:28] local.INFO: TCP Data received {"connection_id":149162,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:04:28] local.INFO: Processing buffer {"connection_id":149162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:04:28] local.INFO: IMEI packet received {"connection_id":149162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":149162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:04:31] local.INFO: TCP Data received {"connection_id":149161,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:04:31] local.INFO: Processing buffer {"connection_id":149161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:04:31] local.INFO: IMEI packet received {"connection_id":149161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":149161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:04:33] local.INFO: TCP Data received {"connection_id":149162,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:04:33] local.INFO: Processing buffer {"connection_id":149162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:04:33] local.INFO: IMEI packet received {"connection_id":149162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":149162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:04:34] local.INFO: TCP Data received {"connection_id":149162,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19b8e28012d84dd4005e70308000800a82e..."} 
[2026-08-02 14:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19b8e28012d84dd4005e70308000800a82e..."} 
[2026-08-02 14:04:34] local.INFO: Processing buffer {"connection_id":149162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19b8e28012d84dd4005e70308000800a82e..."} 
[2026-08-02 14:04:34] local.INFO: Packet analysis {"connection_id":149162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:04:34] local.INFO: Extracted packet for processing {"connection_id":149162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:04:34] local.INFO: GPS Element Parsed {"raw_longitude":763682112,"raw_latitude":99025672,"longitude_deg":76.3682112,"latitude_deg":9.9025672,"altitude":8,"angle":168,"satellites":46,"speed":0,"hex_longitude":"2d84dd40","hex_latitude":"05e70308","is_valid_coordinates":true} 
[2026-08-02 14:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128858624001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113884193179566080,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8872865296755259392,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785659625000,"timestamp_ms":1785659625000,"timestamp_seconds":1785659625,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19b8e28"} 
[2026-08-02 14:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-02 14:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128858624001,"66":13091,"35":206,"88":20224,"24":0,"16":113884193179566080,"45":-8872865296755259392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,88,24,16,45]} 
[2026-08-02 14:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128858624001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:04:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-02 14:04:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113884193179566080,"km_value":113884193179566.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8872865296755259392,"description":"Unknown IO ID 45"} 
[2026-08-02 14:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128858624001,"power":13091,"unknown_35":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8872865296755259392}} 
[2026-08-02 14:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":149162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:04:34] local.INFO: GPS data processed {"connection_id":149162,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:04:34] local.INFO: Acknowledgment sent {"connection_id":149162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:04:37] local.INFO: TCP Data received {"connection_id":149161,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:04:37] local.INFO: Processing buffer {"connection_id":149161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:04:37] local.INFO: IMEI packet received {"connection_id":149161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":149161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:04:39] local.INFO: TCP Data received {"connection_id":149161,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:04:39] local.INFO: Processing buffer {"connection_id":149161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:04:39] local.INFO: Packet analysis {"connection_id":149161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:04:39] local.INFO: Extracted packet for processing {"connection_id":149161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:04:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128782080001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785659606000,"timestamp_ms":1785659606000,"timestamp_seconds":1785659606,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19b43f0"} 
[2026-08-02 14:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":5,"data_length":795,"current_offset":136} 
[2026-08-02 14:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128782080001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128782080001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:04:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:04:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:04:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128782080001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":149161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:04:39] local.INFO: GPS data processed {"connection_id":149161,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:04:39] local.INFO: Acknowledgment sent {"connection_id":149161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:04:43] local.INFO: TCP Data received {"connection_id":149161,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:04:43] local.INFO: Processing buffer {"connection_id":149161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:04:43] local.INFO: Packet analysis {"connection_id":149161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:04:43] local.INFO: Extracted packet for processing {"connection_id":149161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:04:43] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128782080001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785659606000,"timestamp_ms":1785659606000,"timestamp_seconds":1785659606,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19b43f0"} 
[2026-08-02 14:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 14:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":149161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":149161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":149161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128782080001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128782080001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:04:43] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:04:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128782080001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":149161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:04:43] local.INFO: GPS data processed {"connection_id":149161,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:04:43] local.INFO: Acknowledgment sent {"connection_id":149161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:05:05] local.INFO: TCP Data received {"connection_id":149162,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19be030012d84dd4005e70308000800a82b..."} 
[2026-08-02 14:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19be030012d84dd4005e70308000800a82b..."} 
[2026-08-02 14:05:05] local.INFO: Processing buffer {"connection_id":149162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19be030012d84dd4005e70308000800a82b..."} 
[2026-08-02 14:05:05] local.INFO: Packet analysis {"connection_id":149162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:05:05] local.INFO: Extracted packet for processing {"connection_id":149162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763682112,"raw_latitude":99025672,"longitude_deg":76.3682112,"latitude_deg":9.9025672,"altitude":8,"angle":168,"satellites":43,"speed":0,"hex_longitude":"2d84dd40","hex_latitude":"05e70308","is_valid_coordinates":true} 
[2026-08-02 14:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128864000001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113884193179566080,"note":"Value kept but may cause issues"} 
[2026-08-02 14:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8872865296755259392,"note":"Value kept but may cause issues"} 
[2026-08-02 14:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785659646000,"timestamp_ms":1785659646000,"timestamp_seconds":1785659646,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19be030"} 
[2026-08-02 14:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14: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":35,"data_length":795,"current_offset":136} 
[2026-08-02 14:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128864000001,"66":13515,"35":206,"88":20224,"24":0,"16":113884193179566080,"45":-8872865296755259392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,88,24,16,45]} 
[2026-08-02 14:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128864000001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:05:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-02 14:05:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113884193179566080,"km_value":113884193179566.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8872865296755259392,"description":"Unknown IO ID 45"} 
[2026-08-02 14:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128864000001,"power":13515,"unknown_35":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8872865296755259392}} 
[2026-08-02 14:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":149162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:05:05] local.INFO: GPS data processed {"connection_id":149162,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:05:05] local.INFO: Acknowledgment sent {"connection_id":149162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:05:24] local.INFO: TCP Data received {"connection_id":146816,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:05:24] local.INFO: Processing buffer {"connection_id":146816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:05:24] local.INFO: IMEI packet received {"connection_id":146816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":146816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:05:26] local.INFO: TCP Data received {"connection_id":149163,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:05:26] local.INFO: Processing buffer {"connection_id":149163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:05:26] local.INFO: IMEI packet received {"connection_id":149163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":149163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:05:27] local.INFO: TCP Data received {"connection_id":149163,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:05:27] local.INFO: Processing buffer {"connection_id":149163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:05:27] local.INFO: IMEI packet received {"connection_id":149163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":149163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:05:29] local.INFO: TCP Data received {"connection_id":146816,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:05:29] local.INFO: Processing buffer {"connection_id":146816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:05:29] local.INFO: IMEI packet received {"connection_id":146816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":146816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:05:33] local.INFO: TCP Data received {"connection_id":149163,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:05:33] local.INFO: Processing buffer {"connection_id":149163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:05:33] local.INFO: IMEI packet received {"connection_id":149163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":149163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:05:33] local.INFO: TCP Data received {"connection_id":146816,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:05:33] local.INFO: Processing buffer {"connection_id":146816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:05:33] local.INFO: Packet analysis {"connection_id":146816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:05:33] local.INFO: Extracted packet for processing {"connection_id":146816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:05:33] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128782080001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:05:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785659606000,"timestamp_ms":1785659606000,"timestamp_seconds":1785659606,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19b43f0"} 
[2026-08-02 14:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 14:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128782080001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128782080001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:05:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:05:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:05:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128782080001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":146816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:05:33] local.INFO: GPS data processed {"connection_id":146816,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:05:33] local.INFO: Acknowledgment sent {"connection_id":146816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:05:34] local.INFO: TCP Data received {"connection_id":149163,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19c3238012d84dd4005e70308000800a82c..."} 
[2026-08-02 14:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19c3238012d84dd4005e70308000800a82c..."} 
[2026-08-02 14:05:34] local.INFO: Processing buffer {"connection_id":149163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19c3238012d84dd4005e70308000800a82c..."} 
[2026-08-02 14:05:34] local.INFO: Packet analysis {"connection_id":149163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19c"} 
[2026-08-02 14:05:34] local.INFO: Extracted packet for processing {"connection_id":149163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19c"} 
[2026-08-02 14:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763682112,"raw_latitude":99025672,"longitude_deg":76.3682112,"latitude_deg":9.9025672,"altitude":8,"angle":168,"satellites":44,"speed":0,"hex_longitude":"2d84dd40","hex_latitude":"05e70308","is_valid_coordinates":true} 
[2026-08-02 14:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128869376001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113884193179566080,"note":"Value kept but may cause issues"} 
[2026-08-02 14:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8872865296755259392,"note":"Value kept but may cause issues"} 
[2026-08-02 14:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785659667000,"timestamp_ms":1785659667000,"timestamp_seconds":1785659667,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19c3238"} 
[2026-08-02 14:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 14:05: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-08-02 14:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128869376001,"66":13091,"35":206,"88":20224,"24":0,"16":113884193179566080,"45":-8872865296755259392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,88,24,16,45]} 
[2026-08-02 14:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128869376001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:05:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-02 14:05:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113884193179566080,"km_value":113884193179566.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8872865296755259392,"description":"Unknown IO ID 45"} 
[2026-08-02 14:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128869376001,"power":13091,"unknown_35":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8872865296755259392}} 
[2026-08-02 14:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":149163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:05:34] local.INFO: GPS data processed {"connection_id":149163,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:05:34] local.INFO: Acknowledgment sent {"connection_id":149163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:06:05] local.INFO: TCP Data received {"connection_id":149163,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19c8440012d84e04005e6f6d8000a00a82b..."} 
[2026-08-02 14:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19c8440012d84e04005e6f6d8000a00a82b..."} 
[2026-08-02 14:06:05] local.INFO: Processing buffer {"connection_id":149163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19c8440012d84e04005e6f6d8000a00a82b..."} 
[2026-08-02 14:06:05] local.INFO: Packet analysis {"connection_id":149163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19c"} 
[2026-08-02 14:06:05] local.INFO: Extracted packet for processing {"connection_id":149163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19c"} 
[2026-08-02 14:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763682880,"raw_latitude":99022552,"longitude_deg":76.368288,"latitude_deg":9.9022552,"altitude":10,"angle":168,"satellites":43,"speed":21,"hex_longitude":"2d84e040","hex_latitude":"05e6f6d8","is_valid_coordinates":true} 
[2026-08-02 14:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128874752001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113884352093356032,"note":"Value kept but may cause issues"} 
[2026-08-02 14:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8872865296755259392,"note":"Value kept but may cause issues"} 
[2026-08-02 14:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785659688000,"timestamp_ms":1785659688000,"timestamp_seconds":1785659688,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19c8440"} 
[2026-08-02 14:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14: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":35,"data_length":795,"current_offset":136} 
[2026-08-02 14:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128874752001,"66":13515,"35":206,"88":20224,"24":21,"16":113884352093356032,"45":-8872865296755259392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,88,24,16,45]} 
[2026-08-02 14:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128874752001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:06:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-02 14:06:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113884352093356032,"km_value":113884352093356.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8872865296755259392,"description":"Unknown IO ID 45"} 
[2026-08-02 14:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128874752001,"power":13515,"unknown_35":206,"unknown_88":20224,"ignition":21,"odometer":null,"unknown_45":-8872865296755259392}} 
[2026-08-02 14:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":149163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:06:05] local.INFO: GPS data processed {"connection_id":149163,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:06:05] local.INFO: Acknowledgment sent {"connection_id":149163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:06:06] local.INFO: TCP Data received {"connection_id":146816,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:06:06] local.INFO: Processing buffer {"connection_id":146816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:06:06] local.INFO: Packet analysis {"connection_id":146816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:06:06] local.INFO: Extracted packet for processing {"connection_id":146816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128782080001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785659606000,"timestamp_ms":1785659606000,"timestamp_seconds":1785659606,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19b43f0"} 
[2026-08-02 14:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14: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-08-02 14: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 14:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128782080001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128782080001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:06:06] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:06:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128782080001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":146816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:06:06] local.INFO: GPS data processed {"connection_id":146816,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:06:06] local.INFO: Acknowledgment sent {"connection_id":146816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:06:27] local.INFO: TCP Data received {"connection_id":147848,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:06:27] local.INFO: Processing buffer {"connection_id":147848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:06:27] local.INFO: IMEI packet received {"connection_id":147848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":147848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:06:33] local.INFO: TCP Data received {"connection_id":147848,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:06:33] local.INFO: Processing buffer {"connection_id":147848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:06:33] local.INFO: IMEI packet received {"connection_id":147848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":147848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:06:33] local.INFO: TCP Data received {"connection_id":147848,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19cb320012d84e74005e6d360000c00a82a..."} 
[2026-08-02 14:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19cb320012d84e74005e6d360000c00a82a..."} 
[2026-08-02 14:06:33] local.INFO: Processing buffer {"connection_id":147848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19cb320012d84e74005e6d360000c00a82a..."} 
[2026-08-02 14:06:33] local.INFO: Packet analysis {"connection_id":147848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19c"} 
[2026-08-02 14:06:33] local.INFO: Extracted packet for processing {"connection_id":147848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19c"} 
[2026-08-02 14:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763684672,"raw_latitude":99013472,"longitude_deg":76.3684672,"latitude_deg":9.9013472,"altitude":12,"angle":168,"satellites":42,"speed":39,"hex_longitude":"2d84e740","hex_latitude":"05e6d360","is_valid_coordinates":true} 
[2026-08-02 14:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128880128001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113884798769954816,"note":"Value kept but may cause issues"} 
[2026-08-02 14:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8872020871825926144,"note":"Value kept but may cause issues"} 
[2026-08-02 14:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785659700000,"timestamp_ms":1785659700000,"timestamp_seconds":1785659700,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19cb320"} 
[2026-08-02 14:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 14:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128880128001,"66":13559,"35":206,"88":20224,"24":39,"16":113884798769954816,"45":-8872020871825926144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,88,24,16,45]} 
[2026-08-02 14:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128880128001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:06:33] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-02 14:06:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113884798769954816,"km_value":113884798769954.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8872020871825926144,"description":"Unknown IO ID 45"} 
[2026-08-02 14:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128880128001,"power":13559,"unknown_35":206,"unknown_88":20224,"ignition":39,"odometer":null,"unknown_45":-8872020871825926144}} 
[2026-08-02 14:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":147848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:06:33] local.INFO: GPS data processed {"connection_id":147848,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:06:33] local.INFO: Acknowledgment sent {"connection_id":147848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:06:41] local.INFO: TCP Data received {"connection_id":146817,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:06:41] local.INFO: Processing buffer {"connection_id":146817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:06:41] local.INFO: IMEI packet received {"connection_id":146817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":146817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:06:43] local.INFO: TCP Data received {"connection_id":146817,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:06:43] local.INFO: Processing buffer {"connection_id":146817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:06:43] local.INFO: IMEI packet received {"connection_id":146817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":146817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:07:05] local.INFO: TCP Data received {"connection_id":146817,"ip":"117.224.14.1","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 14:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146817,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 14:07:05] local.INFO: Processing buffer {"connection_id":146817,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 14:07:05] local.INFO: IMEI packet received {"connection_id":146817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":146817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:07:05] local.INFO: TCP Data received {"connection_id":147848,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19e4578012d856ec005e558e0000f009f29..."} 
[2026-08-02 14:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19e4578012d856ec005e558e0000f009f29..."} 
[2026-08-02 14:07:05] local.INFO: Processing buffer {"connection_id":147848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19e4578012d856ec005e558e0000f009f29..."} 
[2026-08-02 14:07:05] local.INFO: Packet analysis {"connection_id":147848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19e"} 
[2026-08-02 14:07:05] local.INFO: Extracted packet for processing {"connection_id":147848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19e"} 
[2026-08-02 14:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763719360,"raw_latitude":98916576,"longitude_deg":76.371936,"latitude_deg":9.8916576,"altitude":15,"angle":159,"satellites":41,"speed":42,"hex_longitude":"2d856ec0","hex_latitude":"05e558e0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 14:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128907264001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113889802406854656,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8835640231110991872,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785659803000,"timestamp_ms":1785659803000,"timestamp_seconds":1785659803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19e4578"} 
[2026-08-02 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-08-02 14:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":160,"data_length":795,"current_offset":136} 
[2026-08-02 14:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14: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-08-02 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-08-02 14:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128907264001,"66":13374,"34":206,"88":20224,"24":42,"16":113889802406854656,"45":-8835640231110991872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,88,24,16,45]} 
[2026-08-02 14:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128907264001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:07:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-02 14:07:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113889802406854656,"km_value":113889802406854.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8835640231110991872,"description":"Unknown IO ID 45"} 
[2026-08-02 14:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128907264001,"power":13374,"unknown_34":206,"unknown_88":20224,"ignition":42,"odometer":null,"unknown_45":-8835640231110991872}} 
[2026-08-02 14:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":147848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:07:05] local.INFO: GPS data processed {"connection_id":147848,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:07:05] local.INFO: Acknowledgment sent {"connection_id":147848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:07:07] local.INFO: TCP Data received {"connection_id":146817,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:07:08] local.INFO: Processing buffer {"connection_id":146817,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fc1..."} 
[2026-08-02 14:07:08] local.INFO: IMEI packet received {"connection_id":146817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":146817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:07:09] local.INFO: TCP Data received {"connection_id":146817,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:07:09] local.INFO: Processing buffer {"connection_id":146817,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:07:09] local.INFO: Packet analysis {"connection_id":146817,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:07:09] local.INFO: Extracted packet for processing {"connection_id":146817,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:07:09] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128782080001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785659606000,"timestamp_ms":1785659606000,"timestamp_seconds":1785659606,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19b43f0"} 
[2026-08-02 14:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 14:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128782080001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128782080001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:07:09] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:07:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:07:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128782080001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":146817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:07:09] local.INFO: GPS data processed {"connection_id":146817,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:07:09] local.INFO: Acknowledgment sent {"connection_id":146817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:07:09] local.INFO: Packet analysis {"connection_id":146817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:07:09] local.INFO: Extracted packet for processing {"connection_id":146817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:07:09] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128782080001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785659606000,"timestamp_ms":1785659606000,"timestamp_seconds":1785659606,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19b43f0"} 
[2026-08-02 14:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 14:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128782080001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128782080001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:07:09] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:07:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:07:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128782080001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":146817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:07:09] local.INFO: GPS data processed {"connection_id":146817,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:07:09] local.INFO: Acknowledgment sent {"connection_id":146817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:07:10] local.INFO: TCP Data received {"connection_id":146817,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:07:10] local.INFO: Processing buffer {"connection_id":146817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:07:10] local.INFO: Packet analysis {"connection_id":146817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:07:10] local.INFO: Extracted packet for processing {"connection_id":146817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:07:10] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14: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-08-02 14:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128782080001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785659606000,"timestamp_ms":1785659606000,"timestamp_seconds":1785659606,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19b43f0"} 
[2026-08-02 14:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":5,"data_length":795,"current_offset":136} 
[2026-08-02 14:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14: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-08-02 14:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128782080001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128782080001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:07:10] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:07:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128782080001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":146817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:07:10] local.INFO: GPS data processed {"connection_id":146817,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:07:10] local.INFO: Acknowledgment sent {"connection_id":146817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:07:33] local.INFO: TCP Data received {"connection_id":146607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:07:33] local.INFO: Processing buffer {"connection_id":146607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:07:33] local.INFO: IMEI packet received {"connection_id":146607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":146607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:07:33] local.INFO: TCP Data received {"connection_id":146607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:07:33] local.INFO: Processing buffer {"connection_id":146607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:07:33] local.INFO: IMEI packet received {"connection_id":146607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":146607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:07:34] local.INFO: TCP Data received {"connection_id":146607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19e6c88012d857c4005e53530000d009f2a..."} 
[2026-08-02 14:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19e6c88012d857c4005e53530000d009f2a..."} 
[2026-08-02 14:07:34] local.INFO: Processing buffer {"connection_id":146607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19e6c88012d857c4005e53530000d009f2a..."} 
[2026-08-02 14:07:34] local.INFO: Packet analysis {"connection_id":146607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19e"} 
[2026-08-02 14:07:34] local.INFO: Extracted packet for processing {"connection_id":146607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19e"} 
[2026-08-02 14:07:34] local.INFO: GPS Element Parsed {"raw_longitude":763722816,"raw_latitude":98907440,"longitude_deg":76.3722816,"latitude_deg":9.890744,"altitude":13,"angle":159,"satellites":42,"speed":41,"hex_longitude":"2d857c40","hex_latitude":"05e53530","is_valid_coordinates":true} 
[2026-08-02 14:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128909568001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113890274853257216,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8831910687671787520,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785659813000,"timestamp_ms":1785659813000,"timestamp_seconds":1785659813,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19e6c88"} 
[2026-08-02 14:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 14:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128909568001,"66":13515,"34":206,"88":20224,"24":41,"16":113890274853257216,"45":-8831910687671787520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,88,24,16,45]} 
[2026-08-02 14:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128909568001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:07:34] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-02 14:07:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113890274853257216,"km_value":113890274853257.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8831910687671787520,"description":"Unknown IO ID 45"} 
[2026-08-02 14:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128909568001,"power":13515,"unknown_34":206,"unknown_88":20224,"ignition":41,"odometer":null,"unknown_45":-8831910687671787520}} 
[2026-08-02 14:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":146607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:07:34] local.INFO: GPS data processed {"connection_id":146607,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:07:34] local.INFO: Acknowledgment sent {"connection_id":146607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:07:38] local.INFO: TCP Data received {"connection_id":146607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19e8fb0012d858ac005e51238000a009a2a..."} 
[2026-08-02 14:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19e8fb0012d858ac005e51238000a009a2a..."} 
[2026-08-02 14:07:38] local.INFO: Processing buffer {"connection_id":146607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19e8fb0012d858ac005e51238000a009a2a..."} 
[2026-08-02 14:07:38] local.INFO: Packet analysis {"connection_id":146607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19e"} 
[2026-08-02 14:07:38] local.INFO: Extracted packet for processing {"connection_id":146607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19e"} 
[2026-08-02 14:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763726528,"raw_latitude":98898488,"longitude_deg":76.3726528,"latitude_deg":9.8898488,"altitude":10,"angle":154,"satellites":42,"speed":35,"hex_longitude":"2d858ac0","hex_latitude":"05e51238","is_valid_coordinates":true} 
[2026-08-02 14:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128912128001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113890743004692480,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8828110775488532480,"note":"Value kept but may cause issues"} 
[2026-08-02 14:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785659822000,"timestamp_ms":1785659822000,"timestamp_seconds":1785659822,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19e8fb0"} 
[2026-08-02 14:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 14:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128912128001,"66":13493,"34":206,"88":20224,"24":35,"16":113890743004692480,"45":-8828110775488532480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,88,24,16,45]} 
[2026-08-02 14:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128912128001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:07:38] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-02 14:07:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113890743004692480,"km_value":113890743004692.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8828110775488532480,"description":"Unknown IO ID 45"} 
[2026-08-02 14:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128912128001,"power":13493,"unknown_34":206,"unknown_88":20224,"ignition":35,"odometer":null,"unknown_45":-8828110775488532480}} 
[2026-08-02 14:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":146607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:07:38] local.INFO: GPS data processed {"connection_id":146607,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:07:38] local.INFO: Acknowledgment sent {"connection_id":146607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:08:10] local.INFO: TCP Data received {"connection_id":146607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19ea338012d85934005e503100009008e2b..."} 
[2026-08-02 14:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19ea338012d85934005e503100009008e2b..."} 
[2026-08-02 14:08:10] local.INFO: Processing buffer {"connection_id":146607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19ea338012d85934005e503100009008e2b..."} 
[2026-08-02 14:08:10] local.INFO: Packet analysis {"connection_id":146607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19e"} 
[2026-08-02 14:08:10] local.INFO: Extracted packet for processing {"connection_id":146607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19e"} 
[2026-08-02 14:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763728704,"raw_latitude":98894608,"longitude_deg":76.3728704,"latitude_deg":9.8894608,"altitude":9,"angle":142,"satellites":43,"speed":37,"hex_longitude":"2d859340","hex_latitude":"05e50310","is_valid_coordinates":true} 
[2026-08-02 14:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128914432001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113890962048024576,"note":"Value kept but may cause issues"} 
[2026-08-02 14:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8824029388328519680,"note":"Value kept but may cause issues"} 
[2026-08-02 14:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785659827000,"timestamp_ms":1785659827000,"timestamp_seconds":1785659827,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19ea338"} 
[2026-08-02 14:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 14:08: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-08-02 14:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128914432001,"66":13200,"34":206,"88":20224,"24":37,"16":113890962048024576,"45":-8824029388328519680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,88,24,16,45]} 
[2026-08-02 14:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128914432001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:08:10] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-02 14:08:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113890962048024576,"km_value":113890962048024.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8824029388328519680,"description":"Unknown IO ID 45"} 
[2026-08-02 14:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128914432001,"power":13200,"unknown_34":206,"unknown_88":20224,"ignition":37,"odometer":null,"unknown_45":-8824029388328519680}} 
[2026-08-02 14:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":146607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:08:10] local.INFO: GPS data processed {"connection_id":146607,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:08:10] local.INFO: Acknowledgment sent {"connection_id":146607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:08:24] local.INFO: TCP Data received {"connection_id":147849,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:08:24] local.INFO: Processing buffer {"connection_id":147849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:08:24] local.INFO: IMEI packet received {"connection_id":147849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":147849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:08:28] local.INFO: TCP Data received {"connection_id":147849,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:08:28] local.INFO: Processing buffer {"connection_id":147849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:08:28] local.INFO: IMEI packet received {"connection_id":147849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":147849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:08:29] local.INFO: TCP Data received {"connection_id":146818,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:08:29] local.INFO: Processing buffer {"connection_id":146818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:08:29] local.INFO: IMEI packet received {"connection_id":146818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":146818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:08:32] local.INFO: TCP Data received {"connection_id":147849,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:08:32] local.INFO: Processing buffer {"connection_id":147849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:08:32] local.INFO: IMEI packet received {"connection_id":147849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":147849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:08:34] local.INFO: TCP Data received {"connection_id":147849,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19ed218012d85ac0005e4ea10000c008c2c..."} 
[2026-08-02 14:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19ed218012d85ac0005e4ea10000c008c2c..."} 
[2026-08-02 14:08:34] local.INFO: Processing buffer {"connection_id":147849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19ed218012d85ac0005e4ea10000c008c2c..."} 
[2026-08-02 14:08:34] local.INFO: Packet analysis {"connection_id":147849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19e"} 
[2026-08-02 14:08:34] local.INFO: Extracted packet for processing {"connection_id":147849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19e"} 
[2026-08-02 14:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763735040,"raw_latitude":98888208,"longitude_deg":76.373504,"latitude_deg":9.8888208,"altitude":12,"angle":140,"satellites":44,"speed":34,"hex_longitude":"2d85ac00","hex_latitude":"05e4ea10","is_valid_coordinates":true} 
[2026-08-02 14:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128915712001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113891395839721472,"note":"Value kept but may cause issues"} 
[2026-08-02 14:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8821636851027472384,"note":"Value kept but may cause issues"} 
[2026-08-02 14:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785659839000,"timestamp_ms":1785659839000,"timestamp_seconds":1785659839,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19ed218"} 
[2026-08-02 14:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-02 14:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128915712001,"66":13526,"23":206,"88":20224,"24":34,"16":113891395839721472,"45":-8821636851027472384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,88,24,16,45]} 
[2026-08-02 14:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128915712001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:08:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-02 14:08:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113891395839721472,"km_value":113891395839721.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8821636851027472384,"description":"Unknown IO ID 45"} 
[2026-08-02 14:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128915712001,"power":13526,"unknown_23":206,"unknown_88":20224,"ignition":34,"odometer":null,"unknown_45":-8821636851027472384}} 
[2026-08-02 14:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":147849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:08:34] local.INFO: GPS data processed {"connection_id":147849,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:08:34] local.INFO: Acknowledgment sent {"connection_id":147849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:08:36] local.INFO: TCP Data received {"connection_id":146818,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:08:36] local.INFO: Processing buffer {"connection_id":146818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:08:36] local.INFO: IMEI packet received {"connection_id":146818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":146818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:08:41] local.INFO: TCP Data received {"connection_id":146818,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:08:41] local.INFO: Processing buffer {"connection_id":146818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:08:41] local.INFO: IMEI packet received {"connection_id":146818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":146818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:08:45] local.INFO: TCP Data received {"connection_id":146818,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:08:45] local.INFO: Processing buffer {"connection_id":146818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:08:45] local.INFO: IMEI packet received {"connection_id":146818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":146818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:08:46] local.INFO: TCP Data received {"connection_id":146818,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:08:46] local.INFO: Processing buffer {"connection_id":146818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:08:46] local.INFO: Packet analysis {"connection_id":146818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:08:46] local.INFO: Extracted packet for processing {"connection_id":146818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:08:46] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128782080001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:08:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785659606000,"timestamp_ms":1785659606000,"timestamp_seconds":1785659606,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19b43f0"} 
[2026-08-02 14:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 14:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128782080001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128782080001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:08:46] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:08:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:08:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128782080001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":146818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:08:46] local.INFO: GPS data processed {"connection_id":146818,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:08:46] local.INFO: Acknowledgment sent {"connection_id":146818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:08:55] local.INFO: TCP Data received {"connection_id":146818,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:08:55] local.INFO: Processing buffer {"connection_id":146818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19b43f0012cc330c007685958005800c52d..."} 
[2026-08-02 14:08:55] local.INFO: Packet analysis {"connection_id":146818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:08:55] local.INFO: Extracted packet for processing {"connection_id":146818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19b"} 
[2026-08-02 14:08:55] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128782080001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:08:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785659606000,"timestamp_ms":1785659606000,"timestamp_seconds":1785659606,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19b43f0"} 
[2026-08-02 14:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 14:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128782080001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128782080001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:08:55] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:08:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:08:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128782080001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":146818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:08:55] local.INFO: GPS data processed {"connection_id":146818,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:08:55] local.INFO: Acknowledgment sent {"connection_id":146818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:09:05] local.INFO: TCP Data received {"connection_id":147849,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a02208012d86328005e35748000600a12a..."} 
[2026-08-02 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a02208012d86328005e35748000600a12a..."} 
[2026-08-02 14:09:05] local.INFO: Processing buffer {"connection_id":147849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a02208012d86328005e35748000600a12a..."} 
[2026-08-02 14:09:05] local.INFO: Packet analysis {"connection_id":147849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a0"} 
[2026-08-02 14:09:05] local.INFO: Extracted packet for processing {"connection_id":147849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a0"} 
[2026-08-02 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763769472,"raw_latitude":98785096,"longitude_deg":76.3769472,"latitude_deg":9.8785096,"altitude":6,"angle":161,"satellites":42,"speed":45,"hex_longitude":"2d863280","hex_latitude":"05e35748","is_valid_coordinates":true} 
[2026-08-02 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-08-02 14:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128938752001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113896674354528256,"note":"Value kept but may cause issues"} 
[2026-08-02 14:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8780119291988520960,"note":"Value kept but may cause issues"} 
[2026-08-02 14:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785659925000,"timestamp_ms":1785659925000,"timestamp_seconds":1785659925,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a02208"} 
[2026-08-02 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-08-02 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":181,"data_length":795,"current_offset":136} 
[2026-08-02 14:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 14:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128938752001,"66":12906,"140":206,"88":20224,"24":45,"16":113896674354528256,"45":-8780119291988520960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,88,24,16,45]} 
[2026-08-02 14:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128938752001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:09:05] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-02 14:09:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113896674354528256,"km_value":113896674354528.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8780119291988520960,"description":"Unknown IO ID 45"} 
[2026-08-02 14:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128938752001,"power":12906,"unknown_140":206,"unknown_88":20224,"ignition":45,"odometer":null,"unknown_45":-8780119291988520960}} 
[2026-08-02 14:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":147849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:09:05] local.INFO: GPS data processed {"connection_id":147849,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:09:05] local.INFO: Acknowledgment sent {"connection_id":147849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:09:24] local.INFO: TCP Data received {"connection_id":146608,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:09:24] local.INFO: Processing buffer {"connection_id":146608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:09:24] local.INFO: IMEI packet received {"connection_id":146608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":146608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:09:25] local.INFO: TCP Data received {"connection_id":149164,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:09:25] local.INFO: Processing buffer {"connection_id":149164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:09:25] local.INFO: IMEI packet received {"connection_id":149164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":149164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:09:28] local.INFO: TCP Data received {"connection_id":149164,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:09:28] local.INFO: Processing buffer {"connection_id":149164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:09:28] local.INFO: IMEI packet received {"connection_id":149164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":149164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:09:29] local.INFO: TCP Data received {"connection_id":146608,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:09:29] local.INFO: Processing buffer {"connection_id":146608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:09:29] local.INFO: IMEI packet received {"connection_id":146608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":146608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:09:30] local.INFO: TCP Data received {"connection_id":146608,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:09:30] local.INFO: Processing buffer {"connection_id":146608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:09:30] local.INFO: Packet analysis {"connection_id":146608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:09:30] local.INFO: Extracted packet for processing {"connection_id":146608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:09:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128859136001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785659907000,"timestamp_ms":1785659907000,"timestamp_seconds":1785659907,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19fdbb8"} 
[2026-08-02 14:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128859136001,"66":25549,"120":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,27,24,16,44]} 
[2026-08-02 14:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128859136001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:09:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-02 14:09:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128859136001,"power":25549,"unknown_120":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":146608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:09:30] local.INFO: GPS data processed {"connection_id":146608,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:09:30] local.INFO: Acknowledgment sent {"connection_id":146608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:09:31] local.INFO: TCP Data received {"connection_id":149164,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:09:31] local.INFO: Processing buffer {"connection_id":149164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:09:31] local.INFO: IMEI packet received {"connection_id":149164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":149164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:09:32] local.INFO: TCP Data received {"connection_id":149164,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a04530012d863ec005e33280000800a32d..."} 
[2026-08-02 14:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a04530012d863ec005e33280000800a32d..."} 
[2026-08-02 14:09:32] local.INFO: Processing buffer {"connection_id":149164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a04530012d863ec005e33280000800a32d..."} 
[2026-08-02 14:09:32] local.INFO: Packet analysis {"connection_id":149164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a0"} 
[2026-08-02 14:09:32] local.INFO: Extracted packet for processing {"connection_id":149164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a0"} 
[2026-08-02 14:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763772608,"raw_latitude":98775680,"longitude_deg":76.3772608,"latitude_deg":9.877568,"altitude":8,"angle":163,"satellites":45,"speed":43,"hex_longitude":"2d863ec0","hex_latitude":"05e33280","is_valid_coordinates":true} 
[2026-08-02 14:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128940800001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113897151095898112,"note":"Value kept but may cause issues"} 
[2026-08-02 14:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8776811961014335488,"note":"Value kept but may cause issues"} 
[2026-08-02 14:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785659934000,"timestamp_ms":1785659934000,"timestamp_seconds":1785659934,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a04530"} 
[2026-08-02 14:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-02 14:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128940800001,"66":13472,"140":206,"88":20224,"24":43,"16":113897151095898112,"45":-8776811961014335488},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,88,24,16,45]} 
[2026-08-02 14:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128940800001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:09:32] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-02 14:09:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113897151095898112,"km_value":113897151095898.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8776811961014335488,"description":"Unknown IO ID 45"} 
[2026-08-02 14:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128940800001,"power":13472,"unknown_140":206,"unknown_88":20224,"ignition":43,"odometer":null,"unknown_45":-8776811961014335488}} 
[2026-08-02 14:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":149164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:09:32] local.INFO: GPS data processed {"connection_id":149164,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:09:32] local.INFO: Acknowledgment sent {"connection_id":149164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:10:03] local.INFO: TCP Data received {"connection_id":146608,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:10:03] local.INFO: Processing buffer {"connection_id":146608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:10:03] local.INFO: Packet analysis {"connection_id":146608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:10:03] local.INFO: Extracted packet for processing {"connection_id":146608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:10:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128859136001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:10:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785659907000,"timestamp_ms":1785659907000,"timestamp_seconds":1785659907,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19fdbb8"} 
[2026-08-02 14:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128859136001,"66":25549,"120":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,27,24,16,44]} 
[2026-08-02 14:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128859136001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:10:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-02 14:10:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:10:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128859136001,"power":25549,"unknown_120":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":146608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:10:03] local.INFO: GPS data processed {"connection_id":146608,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:10:03] local.INFO: Acknowledgment sent {"connection_id":146608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:10:03] local.INFO: TCP Data received {"connection_id":149164,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a06470012d86488005e30ff0000900a02a..."} 
[2026-08-02 14:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a06470012d86488005e30ff0000900a02a..."} 
[2026-08-02 14:10:03] local.INFO: Processing buffer {"connection_id":149164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a06470012d86488005e30ff0000900a02a..."} 
[2026-08-02 14:10:03] local.INFO: Packet analysis {"connection_id":149164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a0"} 
[2026-08-02 14:10:03] local.INFO: Extracted packet for processing {"connection_id":149164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a0"} 
[2026-08-02 14:10:03] local.INFO: GPS Element Parsed {"raw_longitude":763775104,"raw_latitude":98766832,"longitude_deg":76.3775104,"latitude_deg":9.8766832,"altitude":9,"angle":160,"satellites":42,"speed":51,"hex_longitude":"2d864880","hex_latitude":"05e30ff0","is_valid_coordinates":true} 
[2026-08-02 14:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128943104001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113897597772496896,"note":"Value kept but may cause issues"} 
[2026-08-02 14:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8773363892552040448,"note":"Value kept but may cause issues"} 
[2026-08-02 14:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785659942000,"timestamp_ms":1785659942000,"timestamp_seconds":1785659942,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a06470"} 
[2026-08-02 14:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 14:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128943104001,"66":13450,"111":206,"88":20224,"24":51,"16":113897597772496896,"45":-8773363892552040448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,88,24,16,45]} 
[2026-08-02 14:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128943104001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:10:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-02 14:10:03] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113897597772496896,"km_value":113897597772496.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8773363892552040448,"description":"Unknown IO ID 45"} 
[2026-08-02 14:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128943104001,"power":13450,"unknown_111":206,"unknown_88":20224,"ignition":51,"odometer":null,"unknown_45":-8773363892552040448}} 
[2026-08-02 14:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":149164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:10:03] local.INFO: GPS data processed {"connection_id":149164,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:10:03] local.INFO: Acknowledgment sent {"connection_id":149164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:10:24] local.INFO: TCP Data received {"connection_id":146819,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:10:24] local.INFO: Processing buffer {"connection_id":146819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:10:24] local.INFO: IMEI packet received {"connection_id":146819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":146819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:10:28] local.INFO: TCP Data received {"connection_id":146820,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:10:28] local.INFO: Processing buffer {"connection_id":146820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:10:28] local.INFO: IMEI packet received {"connection_id":146820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":146820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:10:28] local.INFO: TCP Data received {"connection_id":146820,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:10:28] local.INFO: Processing buffer {"connection_id":146820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:10:28] local.INFO: IMEI packet received {"connection_id":146820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":146820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:10:29] local.INFO: TCP Data received {"connection_id":146819,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:10:29] local.INFO: Processing buffer {"connection_id":146819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:10:29] local.INFO: IMEI packet received {"connection_id":146819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":146819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:10:30] local.INFO: TCP Data received {"connection_id":146819,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:10:30] local.INFO: Processing buffer {"connection_id":146819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:10:30] local.INFO: Packet analysis {"connection_id":146819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:10:30] local.INFO: Extracted packet for processing {"connection_id":146819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:10:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128859136001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785659907000,"timestamp_ms":1785659907000,"timestamp_seconds":1785659907,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19fdbb8"} 
[2026-08-02 14:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128859136001,"66":25549,"120":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,27,24,16,44]} 
[2026-08-02 14:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128859136001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:10:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-02 14:10:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128859136001,"power":25549,"unknown_120":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":146819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:10:30] local.INFO: GPS data processed {"connection_id":146819,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:10:30] local.INFO: Acknowledgment sent {"connection_id":146819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:10:33] local.INFO: TCP Data received {"connection_id":146820,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:10:33] local.INFO: Processing buffer {"connection_id":146820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:10:33] local.INFO: IMEI packet received {"connection_id":146820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":146820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:10:34] local.INFO: TCP Data received {"connection_id":146820,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a07fc8012d86538005e2ec38000900a32b..."} 
[2026-08-02 14:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a07fc8012d86538005e2ec38000900a32b..."} 
[2026-08-02 14:10:34] local.INFO: Processing buffer {"connection_id":146820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a07fc8012d86538005e2ec38000900a32b..."} 
[2026-08-02 14:10:34] local.INFO: Packet analysis {"connection_id":146820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a0"} 
[2026-08-02 14:10:34] local.INFO: Extracted packet for processing {"connection_id":146820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a0"} 
[2026-08-02 14:10:34] local.INFO: GPS Element Parsed {"raw_longitude":763777920,"raw_latitude":98757688,"longitude_deg":76.377792,"latitude_deg":9.8757688,"altitude":9,"angle":163,"satellites":43,"speed":56,"hex_longitude":"2d865380","hex_latitude":"05e2ec38","is_valid_coordinates":true} 
[2026-08-02 14:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128945152001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113898061628964864,"note":"Value kept but may cause issues"} 
[2026-08-02 14:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8770619511531376640,"note":"Value kept but may cause issues"} 
[2026-08-02 14:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785659949000,"timestamp_ms":1785659949000,"timestamp_seconds":1785659949,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a07fc8"} 
[2026-08-02 14:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 14:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128945152001,"66":13374,"111":206,"88":20224,"24":56,"16":113898061628964864,"45":-8770619511531376640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,88,24,16,45]} 
[2026-08-02 14:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128945152001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:10:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-02 14:10:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113898061628964864,"km_value":113898061628964.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8770619511531376640,"description":"Unknown IO ID 45"} 
[2026-08-02 14:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128945152001,"power":13374,"unknown_111":206,"unknown_88":20224,"ignition":56,"odometer":null,"unknown_45":-8770619511531376640}} 
[2026-08-02 14:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":146820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:10:34] local.INFO: GPS data processed {"connection_id":146820,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:10:34] local.INFO: Acknowledgment sent {"connection_id":146820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:11:02] local.INFO: TCP Data received {"connection_id":146819,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:11:02] local.INFO: Processing buffer {"connection_id":146819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:11:02] local.INFO: Packet analysis {"connection_id":146819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:11:02] local.INFO: Extracted packet for processing {"connection_id":146819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:11:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128859136001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785659907000,"timestamp_ms":1785659907000,"timestamp_seconds":1785659907,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19fdbb8"} 
[2026-08-02 14:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128859136001,"66":25549,"120":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,27,24,16,44]} 
[2026-08-02 14:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128859136001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:11:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-02 14:11:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:11:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128859136001,"power":25549,"unknown_120":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":146819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:11:02] local.INFO: GPS data processed {"connection_id":146819,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:11:02] local.INFO: Acknowledgment sent {"connection_id":146819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:11:05] local.INFO: TCP Data received {"connection_id":146820,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a1cbd0012d86f14005e144b0000800ac2e..."} 
[2026-08-02 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a1cbd0012d86f14005e144b0000800ac2e..."} 
[2026-08-02 14:11:05] local.INFO: Processing buffer {"connection_id":146820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a1cbd0012d86f14005e144b0000800ac2e..."} 
[2026-08-02 14:11:05] local.INFO: Packet analysis {"connection_id":146820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a1"} 
[2026-08-02 14:11:05] local.INFO: Extracted packet for processing {"connection_id":146820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a1"} 
[2026-08-02 14:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763818304,"raw_latitude":98649264,"longitude_deg":76.3818304,"latitude_deg":9.8649264,"altitude":8,"angle":172,"satellites":46,"speed":49,"hex_longitude":"2d86f140","hex_latitude":"05e144b0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 14:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128966656001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113903713805926400,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8724809459099310080,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785660034000,"timestamp_ms":1785660034000,"timestamp_seconds":1785660034,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a1cbd0"} 
[2026-08-02 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-08-02 14:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 14:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 14:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128966656001,"66":12939,"15":206,"88":20224,"24":49,"16":113903713805926400,"45":-8724809459099310080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,88,24,16,45]} 
[2026-08-02 14:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128966656001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:11:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-02 14:11:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113903713805926400,"km_value":113903713805926.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8724809459099310080,"description":"Unknown IO ID 45"} 
[2026-08-02 14:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128966656001,"power":12939,"unknown_15":206,"unknown_88":20224,"ignition":49,"odometer":null,"unknown_45":-8724809459099310080}} 
[2026-08-02 14:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":146820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:11:05] local.INFO: GPS data processed {"connection_id":146820,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:11:05] local.INFO: Acknowledgment sent {"connection_id":146820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:11:28] local.INFO: TCP Data received {"connection_id":146822,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:11:28] local.INFO: Processing buffer {"connection_id":146822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:11:28] local.INFO: IMEI packet received {"connection_id":146822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":146822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:11:29] local.INFO: TCP Data received {"connection_id":146821,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:11:29] local.INFO: Processing buffer {"connection_id":146821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:11:29] local.INFO: IMEI packet received {"connection_id":146821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":146821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:11:31] local.INFO: TCP Data received {"connection_id":146822,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:11:31] local.INFO: Processing buffer {"connection_id":146822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:11:31] local.INFO: IMEI packet received {"connection_id":146822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":146822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:11:32] local.INFO: TCP Data received {"connection_id":146822,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a1eb10012d86f78005e11fc8000900a82c..."} 
[2026-08-02 14:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a1eb10012d86f78005e11fc8000900a82c..."} 
[2026-08-02 14:11:32] local.INFO: Processing buffer {"connection_id":146822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a1eb10012d86f78005e11fc8000900a82c..."} 
[2026-08-02 14:11:32] local.INFO: Packet analysis {"connection_id":146822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a1"} 
[2026-08-02 14:11:32] local.INFO: Extracted packet for processing {"connection_id":146822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a1"} 
[2026-08-02 14:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763819904,"raw_latitude":98639816,"longitude_deg":76.3819904,"latitude_deg":9.8639816,"altitude":9,"angle":168,"satellites":44,"speed":34,"hex_longitude":"2d86f780","hex_latitude":"05e11fc8","is_valid_coordinates":true} 
[2026-08-02 14:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128968704001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113904181957361664,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8723120609241550848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785660042000,"timestamp_ms":1785660042000,"timestamp_seconds":1785660042,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a1eb10"} 
[2026-08-02 14:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-02 14:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":146822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":146822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":146822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128968704001,"66":13472,"15":206,"88":20224,"24":34,"16":113904181957361664,"45":-8723120609241550848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,88,24,16,45]} 
[2026-08-02 14:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128968704001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:11:32] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-02 14:11:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113904181957361664,"km_value":113904181957361.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8723120609241550848,"description":"Unknown IO ID 45"} 
[2026-08-02 14:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128968704001,"power":13472,"unknown_15":206,"unknown_88":20224,"ignition":34,"odometer":null,"unknown_45":-8723120609241550848}} 
[2026-08-02 14:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":146822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:11:32] local.INFO: GPS data processed {"connection_id":146822,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:11:32] local.INFO: Acknowledgment sent {"connection_id":146822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:11:34] local.INFO: TCP Data received {"connection_id":146821,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:11:34] local.INFO: Processing buffer {"connection_id":146821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:11:34] local.INFO: IMEI packet received {"connection_id":146821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":146821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:11:35] local.INFO: TCP Data received {"connection_id":146821,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:11:35] local.INFO: Processing buffer {"connection_id":146821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:11:35] local.INFO: Packet analysis {"connection_id":146821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:11:35] local.INFO: Extracted packet for processing {"connection_id":146821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:11:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128859136001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785659907000,"timestamp_ms":1785659907000,"timestamp_seconds":1785659907,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19fdbb8"} 
[2026-08-02 14:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128859136001,"66":25549,"120":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,27,24,16,44]} 
[2026-08-02 14:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128859136001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:11:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-02 14:11:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:11:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128859136001,"power":25549,"unknown_120":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":146821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:11:35] local.INFO: GPS data processed {"connection_id":146821,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:11:35] local.INFO: Acknowledgment sent {"connection_id":146821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:11:40] local.INFO: TCP Data received {"connection_id":146821,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:11:40] local.INFO: Processing buffer {"connection_id":146821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:11:40] local.INFO: Packet analysis {"connection_id":146821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:11:40] local.INFO: Extracted packet for processing {"connection_id":146821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:11:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14: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-08-02 14:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128859136001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785659907000,"timestamp_ms":1785659907000,"timestamp_seconds":1785659907,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19fdbb8"} 
[2026-08-02 14:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:11: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-08-02 14: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128859136001,"66":25549,"120":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,27,24,16,44]} 
[2026-08-02 14:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128859136001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:11:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-02 14:11:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:11:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128859136001,"power":25549,"unknown_120":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":146821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:11:40] local.INFO: GPS data processed {"connection_id":146821,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:11:40] local.INFO: Acknowledgment sent {"connection_id":146821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:12:03] local.INFO: TCP Data received {"connection_id":146822,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a221c0012d86fdc005e0fcb0000d00aa2c..."} 
[2026-08-02 14:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a221c0012d86fdc005e0fcb0000d00aa2c..."} 
[2026-08-02 14:12:03] local.INFO: Processing buffer {"connection_id":146822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a221c0012d86fdc005e0fcb0000d00aa2c..."} 
[2026-08-02 14:12:03] local.INFO: Packet analysis {"connection_id":146822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a2"} 
[2026-08-02 14:12:03] local.INFO: Extracted packet for processing {"connection_id":146822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a2"} 
[2026-08-02 14:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763821504,"raw_latitude":98630832,"longitude_deg":76.3821504,"latitude_deg":9.8630832,"altitude":13,"angle":170,"satellites":44,"speed":16,"hex_longitude":"2d86fdc0","hex_latitude":"05e0fcb0","is_valid_coordinates":true} 
[2026-08-02 14:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128970752001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113904624338993152,"note":"Value kept but may cause issues"} 
[2026-08-02 14:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8721361390639527936,"note":"Value kept but may cause issues"} 
[2026-08-02 14:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785660056000,"timestamp_ms":1785660056000,"timestamp_seconds":1785660056,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a221c0"} 
[2026-08-02 14:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 14:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128970752001,"66":13222,"15":206,"88":20224,"24":16,"16":113904624338993152,"45":-8721361390639527936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,88,24,16,45]} 
[2026-08-02 14:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128970752001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:12:03] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-02 14:12:03] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113904624338993152,"km_value":113904624338993.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8721361390639527936,"description":"Unknown IO ID 45"} 
[2026-08-02 14:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128970752001,"power":13222,"unknown_15":206,"unknown_88":20224,"ignition":16,"odometer":null,"unknown_45":-8721361390639527936}} 
[2026-08-02 14:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":146822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:12:03] local.INFO: GPS data processed {"connection_id":146822,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:12:03] local.INFO: Acknowledgment sent {"connection_id":146822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:12:25] local.INFO: TCP Data received {"connection_id":147850,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:12:25] local.INFO: Processing buffer {"connection_id":147850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:12:25] local.INFO: IMEI packet received {"connection_id":147850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":147850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:12:28] local.INFO: TCP Data received {"connection_id":146823,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:12:28] local.INFO: Processing buffer {"connection_id":146823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:12:28] local.INFO: IMEI packet received {"connection_id":146823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":146823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:12:29] local.INFO: TCP Data received {"connection_id":147850,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:12:29] local.INFO: Processing buffer {"connection_id":147850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:12:29] local.INFO: IMEI packet received {"connection_id":147850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":147850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:12:30] local.INFO: TCP Data received {"connection_id":147850,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:12:30] local.INFO: Processing buffer {"connection_id":147850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:12:30] local.INFO: Packet analysis {"connection_id":147850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:12:30] local.INFO: Extracted packet for processing {"connection_id":147850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:12:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128859136001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785659907000,"timestamp_ms":1785659907000,"timestamp_seconds":1785659907,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19fdbb8"} 
[2026-08-02 14:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128859136001,"66":25549,"120":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,27,24,16,44]} 
[2026-08-02 14:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128859136001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:12:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-02 14:12:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128859136001,"power":25549,"unknown_120":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":147850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:12:30] local.INFO: GPS data processed {"connection_id":147850,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:12:30] local.INFO: Acknowledgment sent {"connection_id":147850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:12:31] local.INFO: TCP Data received {"connection_id":146823,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:12:31] local.INFO: Processing buffer {"connection_id":146823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:12:31] local.INFO: IMEI packet received {"connection_id":146823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":146823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:12:32] local.INFO: TCP Data received {"connection_id":146823,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:12:32] local.INFO: Processing buffer {"connection_id":146823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:12:32] local.INFO: IMEI packet received {"connection_id":146823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":146823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:12:33] local.INFO: TCP Data received {"connection_id":146823,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a26fe0012d8701c005e0e690000e00aa2d..."} 
[2026-08-02 14:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a26fe0012d8701c005e0e690000e00aa2d..."} 
[2026-08-02 14:12:33] local.INFO: Processing buffer {"connection_id":146823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a26fe0012d8701c005e0e690000e00aa2d..."} 
[2026-08-02 14:12:33] local.INFO: Packet analysis {"connection_id":146823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a2"} 
[2026-08-02 14:12:33] local.INFO: Extracted packet for processing {"connection_id":146823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a2"} 
[2026-08-02 14:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763822528,"raw_latitude":98625168,"longitude_deg":76.3822528,"latitude_deg":9.8625168,"altitude":14,"angle":170,"satellites":45,"speed":23,"hex_longitude":"2d8701c0","hex_latitude":"05e0e690","is_valid_coordinates":true} 
[2026-08-02 14:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128974336001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113904903511867392,"note":"Value kept but may cause issues"} 
[2026-08-02 14:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8719602172037386240,"note":"Value kept but may cause issues"} 
[2026-08-02 14:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785660076000,"timestamp_ms":1785660076000,"timestamp_seconds":1785660076,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a26fe0"} 
[2026-08-02 14:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-02 14:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128974336001,"66":13243,"15":206,"88":20224,"24":23,"16":113904903511867392,"45":-8719602172037386240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,88,24,16,45]} 
[2026-08-02 14:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128974336001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:12:33] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-02 14:12:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113904903511867392,"km_value":113904903511867.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8719602172037386240,"description":"Unknown IO ID 45"} 
[2026-08-02 14:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128974336001,"power":13243,"unknown_15":206,"unknown_88":20224,"ignition":23,"odometer":null,"unknown_45":-8719602172037386240}} 
[2026-08-02 14:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":146823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:12:33] local.INFO: GPS data processed {"connection_id":146823,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:12:33] local.INFO: Acknowledgment sent {"connection_id":146823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:12:38] local.INFO: TCP Data received {"connection_id":146823,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a2a2a8012d8707c005e0c238000d00ac2d..."} 
[2026-08-02 14:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a2a2a8012d8707c005e0c238000d00ac2d..."} 
[2026-08-02 14:12:38] local.INFO: Processing buffer {"connection_id":146823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a2a2a8012d8707c005e0c238000d00ac2d..."} 
[2026-08-02 14:12:38] local.INFO: Packet analysis {"connection_id":146823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a2"} 
[2026-08-02 14:12:38] local.INFO: Extracted packet for processing {"connection_id":146823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a2"} 
[2026-08-02 14:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763824064,"raw_latitude":98615864,"longitude_deg":76.3824064,"latitude_deg":9.8615864,"altitude":13,"angle":172,"satellites":45,"speed":35,"hex_longitude":"2d8707c0","hex_latitude":"05e0c238","is_valid_coordinates":true} 
[2026-08-02 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-08-02 14:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128979456001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113905363073368064,"note":"Value kept but may cause issues"} 
[2026-08-02 14:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8718476272131993600,"note":"Value kept but may cause issues"} 
[2026-08-02 14:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785660089000,"timestamp_ms":1785660089000,"timestamp_seconds":1785660089,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a2a2a8"} 
[2026-08-02 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-08-02 14:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":187,"data_length":795,"current_offset":136} 
[2026-08-02 14:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 14:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128979456001,"66":13493,"15":206,"88":20224,"24":35,"16":113905363073368064,"45":-8718476272131993600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,88,24,16,45]} 
[2026-08-02 14:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128979456001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:12:38] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-02 14:12:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113905363073368064,"km_value":113905363073368.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8718476272131993600,"description":"Unknown IO ID 45"} 
[2026-08-02 14:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128979456001,"power":13493,"unknown_15":206,"unknown_88":20224,"ignition":35,"odometer":null,"unknown_45":-8718476272131993600}} 
[2026-08-02 14:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":146823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:12:38] local.INFO: GPS data processed {"connection_id":146823,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:12:38] local.INFO: Acknowledgment sent {"connection_id":146823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:13:02] local.INFO: TCP Data received {"connection_id":147850,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:13:02] local.INFO: Processing buffer {"connection_id":147850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:13:02] local.INFO: Packet analysis {"connection_id":147850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:13:02] local.INFO: Extracted packet for processing {"connection_id":147850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:13:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128859136001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:13:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785659907000,"timestamp_ms":1785659907000,"timestamp_seconds":1785659907,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19fdbb8"} 
[2026-08-02 14:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128859136001,"66":25549,"120":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,27,24,16,44]} 
[2026-08-02 14:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128859136001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:13:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-02 14:13:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:13:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128859136001,"power":25549,"unknown_120":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":147850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:13:02] local.INFO: GPS data processed {"connection_id":147850,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:13:02] local.INFO: Acknowledgment sent {"connection_id":147850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:13:09] local.INFO: TCP Data received {"connection_id":146823,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a41d90012d877a4005df4308000a008a2b..."} 
[2026-08-02 14:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a41d90012d877a4005df4308000a008a2b..."} 
[2026-08-02 14:13:09] local.INFO: Processing buffer {"connection_id":146823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a41d90012d877a4005df4308000a008a2b..."} 
[2026-08-02 14:13:09] local.INFO: Packet analysis {"connection_id":146823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:13:09] local.INFO: Extracted packet for processing {"connection_id":146823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:13:09] local.INFO: GPS Element Parsed {"raw_longitude":763853376,"raw_latitude":98517768,"longitude_deg":76.3853376,"latitude_deg":9.8517768,"altitude":10,"angle":138,"satellites":43,"speed":11,"hex_longitude":"2d877a40","hex_latitude":"05df4308","is_valid_coordinates":true} 
[2026-08-02 14:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129003520001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113910328055562240,"note":"Value kept but may cause issues"} 
[2026-08-02 14:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8687654762207522816,"note":"Value kept but may cause issues"} 
[2026-08-02 14:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785660186000,"timestamp_ms":1785660186000,"timestamp_seconds":1785660186,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a41d90"} 
[2026-08-02 14:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 14:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129003520001,"66":13015,"152":206,"88":20224,"24":11,"16":113910328055562240,"45":-8687654762207522816},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,88,24,16,45]} 
[2026-08-02 14:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129003520001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:13:09] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-02 14:13:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113910328055562240,"km_value":113910328055562.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8687654762207522816,"description":"Unknown IO ID 45"} 
[2026-08-02 14:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129003520001,"power":13015,"unknown_152":206,"unknown_88":20224,"ignition":11,"odometer":null,"unknown_45":-8687654762207522816}} 
[2026-08-02 14:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":146823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:13:09] local.INFO: GPS data processed {"connection_id":146823,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:13:09] local.INFO: Acknowledgment sent {"connection_id":146823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:13:24] local.INFO: TCP Data received {"connection_id":149165,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:13:24] local.INFO: Processing buffer {"connection_id":149165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:13:24] local.INFO: IMEI packet received {"connection_id":149165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":149165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:13:27] local.INFO: TCP Data received {"connection_id":146609,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:13:27] local.INFO: Processing buffer {"connection_id":146609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:13:27] local.INFO: IMEI packet received {"connection_id":146609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":146609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:13:29] local.INFO: TCP Data received {"connection_id":149165,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:13:29] local.INFO: Processing buffer {"connection_id":149165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:13:29] local.INFO: IMEI packet received {"connection_id":149165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":149165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:13:30] local.INFO: TCP Data received {"connection_id":149165,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:13:30] local.INFO: Processing buffer {"connection_id":149165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:13:30] local.INFO: Packet analysis {"connection_id":149165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:13:30] local.INFO: Extracted packet for processing {"connection_id":149165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:13:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128859136001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785659907000,"timestamp_ms":1785659907000,"timestamp_seconds":1785659907,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19fdbb8"} 
[2026-08-02 14:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128859136001,"66":25549,"120":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,27,24,16,44]} 
[2026-08-02 14:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128859136001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:13:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-02 14:13:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128859136001,"power":25549,"unknown_120":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":149165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:13:30] local.INFO: GPS data processed {"connection_id":149165,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:13:30] local.INFO: Acknowledgment sent {"connection_id":149165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:13:33] local.INFO: TCP Data received {"connection_id":146609,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:13:33] local.INFO: Processing buffer {"connection_id":146609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:13:33] local.INFO: IMEI packet received {"connection_id":146609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":146609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:13:34] local.INFO: TCP Data received {"connection_id":146609,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a41d90012d877a4005df4308000a008a2b..."} 
[2026-08-02 14:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a41d90012d877a4005df4308000a008a2b..."} 
[2026-08-02 14:13:34] local.INFO: Processing buffer {"connection_id":146609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a41d90012d877a4005df4308000a008a2b..."} 
[2026-08-02 14:13:34] local.INFO: Packet analysis {"connection_id":146609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:13:34] local.INFO: Extracted packet for processing {"connection_id":146609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:13:34] local.INFO: GPS Element Parsed {"raw_longitude":763853376,"raw_latitude":98517768,"longitude_deg":76.3853376,"latitude_deg":9.8517768,"altitude":10,"angle":138,"satellites":43,"speed":11,"hex_longitude":"2d877a40","hex_latitude":"05df4308","is_valid_coordinates":true} 
[2026-08-02 14:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129007616001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113910328055562240,"note":"Value kept but may cause issues"} 
[2026-08-02 14:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8684558537465853952,"note":"Value kept but may cause issues"} 
[2026-08-02 14:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785660186000,"timestamp_ms":1785660186000,"timestamp_seconds":1785660186,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a41d90"} 
[2026-08-02 14:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-02 14:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129007616001,"66":13015,"152":206,"88":20224,"24":11,"16":113910328055562240,"45":-8684558537465853952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,88,24,16,45]} 
[2026-08-02 14:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129007616001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:13:34] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-02 14:13:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113910328055562240,"km_value":113910328055562.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8684558537465853952,"description":"Unknown IO ID 45"} 
[2026-08-02 14:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129007616001,"power":13015,"unknown_152":206,"unknown_88":20224,"ignition":11,"odometer":null,"unknown_45":-8684558537465853952}} 
[2026-08-02 14:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":146609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:13:34] local.INFO: GPS data processed {"connection_id":146609,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:13:34] local.INFO: Acknowledgment sent {"connection_id":146609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:14:02] local.INFO: TCP Data received {"connection_id":149165,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:14:02] local.INFO: Processing buffer {"connection_id":149165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc19fdbb8012cc330c007685958005800c52d..."} 
[2026-08-02 14:14:02] local.INFO: Packet analysis {"connection_id":149165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:14:02] local.INFO: Extracted packet for processing {"connection_id":149165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc19f"} 
[2026-08-02 14:14:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14: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-08-02 14:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128859136001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:14:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785659907000,"timestamp_ms":1785659907000,"timestamp_seconds":1785659907,"priority":1,"record_length":96,"hex_timestamp":"0000019fc19fdbb8"} 
[2026-08-02 14:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14: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-08-02 14:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128859136001,"66":25549,"120":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,27,24,16,44]} 
[2026-08-02 14:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128859136001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:14:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-02 14:14:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:14:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128859136001,"power":25549,"unknown_120":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":149165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:14:02] local.INFO: GPS data processed {"connection_id":149165,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:14:02] local.INFO: Acknowledgment sent {"connection_id":149165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:14:17] local.INFO: TCP Data received {"connection_id":146609,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a42178012d877b4005df4268000b00792c..."} 
[2026-08-02 14:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a42178012d877b4005df4268000b00792c..."} 
[2026-08-02 14:14:17] local.INFO: Processing buffer {"connection_id":146609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a42178012d877b4005df4268000b00792c..."} 
[2026-08-02 14:14:17] local.INFO: Packet analysis {"connection_id":146609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:14:17] local.INFO: Extracted packet for processing {"connection_id":146609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:14:17] local.INFO: GPS Element Parsed {"raw_longitude":763853632,"raw_latitude":98517608,"longitude_deg":76.3853632,"latitude_deg":9.8517608,"altitude":11,"angle":121,"satellites":44,"speed":11,"hex_longitude":"2d877b40","hex_latitude":"05df4268","is_valid_coordinates":true} 
[2026-08-02 14:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129007616001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113910340940464128,"note":"Value kept but may cause issues"} 
[2026-08-02 14:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8684558537465853952,"note":"Value kept but may cause issues"} 
[2026-08-02 14:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785660187000,"timestamp_ms":1785660187000,"timestamp_seconds":1785660187,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a42178"} 
[2026-08-02 14:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-02 14:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":146609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":146609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":146609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129007616001,"66":12765,"152":206,"88":20224,"24":11,"16":113910340940464128,"45":-8684558537465853952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,88,24,16,45]} 
[2026-08-02 14:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129007616001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:14:17] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-02 14:14:17] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113910340940464128,"km_value":113910340940464.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8684558537465853952,"description":"Unknown IO ID 45"} 
[2026-08-02 14:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129007616001,"power":12765,"unknown_152":206,"unknown_88":20224,"ignition":11,"odometer":null,"unknown_45":-8684558537465853952}} 
[2026-08-02 14:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":146609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:14:18] local.INFO: GPS data processed {"connection_id":146609,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:14:18] local.INFO: Acknowledgment sent {"connection_id":146609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:14:24] local.INFO: TCP Data received {"connection_id":146824,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:14:24] local.INFO: Processing buffer {"connection_id":146824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:14:24] local.INFO: IMEI packet received {"connection_id":146824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":146824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:14:27] local.INFO: TCP Data received {"connection_id":146825,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:14:27] local.INFO: Processing buffer {"connection_id":146825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:14:27] local.INFO: IMEI packet received {"connection_id":146825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":146825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:14:29] local.INFO: TCP Data received {"connection_id":146824,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:14:29] local.INFO: Processing buffer {"connection_id":146824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:14:29] local.INFO: IMEI packet received {"connection_id":146824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":146824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:14:30] local.INFO: TCP Data received {"connection_id":146824,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:14:30] local.INFO: Processing buffer {"connection_id":146824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:14:30] local.INFO: Packet analysis {"connection_id":146824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:14:30] local.INFO: Extracted packet for processing {"connection_id":146824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:14:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128936192001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785660208000,"timestamp_ms":1785660208000,"timestamp_seconds":1785660208,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a47380"} 
[2026-08-02 14:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128936192001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128936192001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:14:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:14:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128936192001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":146824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:14:30] local.INFO: GPS data processed {"connection_id":146824,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:14:30] local.INFO: Acknowledgment sent {"connection_id":146824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:14:31] local.INFO: TCP Data received {"connection_id":146825,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:14:31] local.INFO: Processing buffer {"connection_id":146825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:14:31] local.INFO: IMEI packet received {"connection_id":146825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":146825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:14:32] local.INFO: TCP Data received {"connection_id":146825,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:14:32] local.INFO: Processing buffer {"connection_id":146825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:14:32] local.INFO: IMEI packet received {"connection_id":146825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":146825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:14:33] local.INFO: TCP Data received {"connection_id":146825,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a50fc0012d88724005df2f280004006527..."} 
[2026-08-02 14:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a50fc0012d88724005df2f280004006527..."} 
[2026-08-02 14:14:33] local.INFO: Processing buffer {"connection_id":146825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a50fc0012d88724005df2f280004006527..."} 
[2026-08-02 14:14:33] local.INFO: Packet analysis {"connection_id":146825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a5"} 
[2026-08-02 14:14:33] local.INFO: Extracted packet for processing {"connection_id":146825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a5"} 
[2026-08-02 14:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763916864,"raw_latitude":98512680,"longitude_deg":76.3916864,"latitude_deg":9.851268,"altitude":4,"angle":101,"satellites":39,"speed":46,"hex_longitude":"2d887240","hex_latitude":"05df2f28","is_valid_coordinates":true} 
[2026-08-02 14:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129021696001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113913514921295872,"note":"Value kept but may cause issues"} 
[2026-08-02 14:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8624674736171264000,"note":"Value kept but may cause issues"} 
[2026-08-02 14:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785660248000,"timestamp_ms":1785660248000,"timestamp_seconds":1785660248,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a50fc0"} 
[2026-08-02 14:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 14:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129021696001,"66":13493,"151":206,"88":20224,"24":46,"16":113913514921295872,"45":-8624674736171264000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,88,24,16,45]} 
[2026-08-02 14:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129021696001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:14:33] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-02 14:14:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113913514921295872,"km_value":113913514921295.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8624674736171264000,"description":"Unknown IO ID 45"} 
[2026-08-02 14:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129021696001,"power":13493,"unknown_151":206,"unknown_88":20224,"ignition":46,"odometer":null,"unknown_45":-8624674736171264000}} 
[2026-08-02 14:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":146825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:14:33] local.INFO: GPS data processed {"connection_id":146825,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:14:33] local.INFO: Acknowledgment sent {"connection_id":146825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:15:03] local.INFO: TCP Data received {"connection_id":146824,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:15:03] local.INFO: Processing buffer {"connection_id":146824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:15:03] local.INFO: Packet analysis {"connection_id":146824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:15:03] local.INFO: Extracted packet for processing {"connection_id":146824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:15:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128936192001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785660208000,"timestamp_ms":1785660208000,"timestamp_seconds":1785660208,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a47380"} 
[2026-08-02 14:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128936192001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128936192001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:15:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:15:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:15:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128936192001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":146824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:15:03] local.INFO: GPS data processed {"connection_id":146824,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:15:03] local.INFO: Acknowledgment sent {"connection_id":146824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:15:04] local.INFO: TCP Data received {"connection_id":146825,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a51790012d887b4005df2e88000400582a..."} 
[2026-08-02 14:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a51790012d887b4005df2e88000400582a..."} 
[2026-08-02 14:15:04] local.INFO: Processing buffer {"connection_id":146825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a51790012d887b4005df2e88000400582a..."} 
[2026-08-02 14:15:04] local.INFO: Packet analysis {"connection_id":146825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a5"} 
[2026-08-02 14:15:04] local.INFO: Extracted packet for processing {"connection_id":146825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a5"} 
[2026-08-02 14:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763919168,"raw_latitude":98512520,"longitude_deg":76.3919168,"latitude_deg":9.851252,"altitude":4,"angle":88,"satellites":42,"speed":45,"hex_longitude":"2d887b40","hex_latitude":"05df2e88","is_valid_coordinates":true} 
[2026-08-02 14:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129023488001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113913626590445568,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8614752743242913792,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785660250000,"timestamp_ms":1785660250000,"timestamp_seconds":1785660250,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a51790"} 
[2026-08-02 14:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 14:15: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-08-02 14:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129023488001,"66":13580,"151":206,"88":20224,"24":45,"16":113913626590445568,"45":-8614752743242913792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,88,24,16,45]} 
[2026-08-02 14:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129023488001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:15:04] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-02 14:15:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113913626590445568,"km_value":113913626590445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8614752743242913792,"description":"Unknown IO ID 45"} 
[2026-08-02 14:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129023488001,"power":13580,"unknown_151":206,"unknown_88":20224,"ignition":45,"odometer":null,"unknown_45":-8614752743242913792}} 
[2026-08-02 14:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":146825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:15:04] local.INFO: GPS data processed {"connection_id":146825,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:15:04] local.INFO: Acknowledgment sent {"connection_id":146825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:15:29] local.INFO: TCP Data received {"connection_id":146610,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:15:29] local.INFO: Processing buffer {"connection_id":146610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:15:29] local.INFO: IMEI packet received {"connection_id":146610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":146610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:15:32] local.INFO: TCP Data received {"connection_id":147851,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:15:32] local.INFO: Processing buffer {"connection_id":147851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:15:32] local.INFO: IMEI packet received {"connection_id":147851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":147851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:15:34] local.INFO: TCP Data received {"connection_id":146610,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:15:34] local.INFO: Processing buffer {"connection_id":146610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:15:34] local.INFO: IMEI packet received {"connection_id":146610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":146610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:15:35] local.INFO: TCP Data received {"connection_id":147851,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:15:35] local.INFO: Processing buffer {"connection_id":147851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:15:35] local.INFO: IMEI packet received {"connection_id":147851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":147851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:15:35] local.INFO: TCP Data received {"connection_id":146610,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:15:35] local.INFO: Processing buffer {"connection_id":146610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:15:35] local.INFO: Packet analysis {"connection_id":146610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:15:35] local.INFO: Extracted packet for processing {"connection_id":146610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:15:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128936192001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785660208000,"timestamp_ms":1785660208000,"timestamp_seconds":1785660208,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a47380"} 
[2026-08-02 14:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128936192001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128936192001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:15:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:15:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:15:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128936192001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":146610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:15:35] local.INFO: GPS data processed {"connection_id":146610,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:15:35] local.INFO: Acknowledgment sent {"connection_id":146610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:15:36] local.INFO: TCP Data received {"connection_id":147851,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a51f60012d88848005df30700004004c29..."} 
[2026-08-02 14:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a51f60012d88848005df30700004004c29..."} 
[2026-08-02 14:15:36] local.INFO: Processing buffer {"connection_id":147851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a51f60012d88848005df30700004004c29..."} 
[2026-08-02 14:15:36] local.INFO: Packet analysis {"connection_id":147851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a5"} 
[2026-08-02 14:15:36] local.INFO: Extracted packet for processing {"connection_id":147851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a5"} 
[2026-08-02 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763921536,"raw_latitude":98513008,"longitude_deg":76.3921536,"latitude_deg":9.8513008,"altitude":4,"angle":76,"satellites":41,"speed":49,"hex_longitude":"2d888480","hex_latitude":"05df3070","is_valid_coordinates":true} 
[2026-08-02 14:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129024000001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113913742554562560,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8612219468452558848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785660252000,"timestamp_ms":1785660252000,"timestamp_seconds":1785660252,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a51f60"} 
[2026-08-02 14:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617202,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3248796160,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2282487813,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145766552,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3747393536,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7732032947846381568,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":178,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2764152833,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":848822478,"corrected_to":0} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3489738120,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504628775447744088,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2993094656,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":135,"raw_value":-1441145423889694710,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.WARNING: Large IO value detected {"io_id":79,"raw_value":6755605599617265,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:36] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,151,88,24,241,157,16,179,159,15,45,64,47,4,39,10,66,244,57,5,40,220,1,240,34,227,178,193,223,113,205,49,185,3,48,44,239,52,152,2,148,8,46,135,79],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":848822478,"validated":0}]} 
[2026-08-02 14:15:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288327313566531584,"timestamp_seconds":288327313566531.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 14:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129024000001,"66":13450,"151":206,"88":20224,"24":49,"16":113913742554562560,"45":-8612219468452558848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,88,24,16,45]} 
[2026-08-02 14:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129024000001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:15:36] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-02 14:15:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113913742554562560,"km_value":113913742554562.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8612219468452558848,"description":"Unknown IO ID 45"} 
[2026-08-02 14:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129024000001,"power":13450,"unknown_151":206,"unknown_88":20224,"ignition":49,"odometer":null,"unknown_45":-8612219468452558848}} 
[2026-08-02 14:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":147851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:15:36] local.INFO: GPS data processed {"connection_id":147851,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:15:36] local.INFO: Acknowledgment sent {"connection_id":147851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:15:38] local.INFO: TCP Data received {"connection_id":147851,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a53ea0012d88a6c005df3a78000400492b..."} 
[2026-08-02 14:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a53ea0012d88a6c005df3a78000400492b..."} 
[2026-08-02 14:15:38] local.INFO: Processing buffer {"connection_id":147851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a53ea0012d88a6c005df3a78000400492b..."} 
[2026-08-02 14:15:38] local.INFO: Packet analysis {"connection_id":147851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a5"} 
[2026-08-02 14:15:38] local.INFO: Extracted packet for processing {"connection_id":147851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a5"} 
[2026-08-02 14:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763930304,"raw_latitude":98515576,"longitude_deg":76.3930304,"latitude_deg":9.8515576,"altitude":4,"angle":73,"satellites":43,"speed":34,"hex_longitude":"2d88a6c0","hex_latitude":"05df3a78","is_valid_coordinates":true} 
[2026-08-02 14:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129024512001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914176346259456,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8609615824917860352,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,88,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 14:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785660260000,"timestamp_ms":1785660260000,"timestamp_seconds":1785660260,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a53ea0"} 
[2026-08-02 14:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 14:15: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-08-02 14:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129024512001,"66":13580,"88":20224,"24":34,"16":113914176346259456,"45":-8609615824917860352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,24,16,45]} 
[2026-08-02 14:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129024512001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:15:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914176346259456,"km_value":113914176346259.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8609615824917860352,"description":"Unknown IO ID 45"} 
[2026-08-02 14:15:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457129024512001,"power":13580,"unknown_88":20224,"ignition":34,"odometer":null,"unknown_45":-8609615824917860352}} 
[2026-08-02 14:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":147851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:15:38] local.INFO: GPS data processed {"connection_id":147851,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:15:38] local.INFO: Acknowledgment sent {"connection_id":147851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:15:40] local.INFO: TCP Data received {"connection_id":146610,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:15:40] local.INFO: Processing buffer {"connection_id":146610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:15:40] local.INFO: Packet analysis {"connection_id":146610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:15:40] local.INFO: Extracted packet for processing {"connection_id":146610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:15:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128936192001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785660208000,"timestamp_ms":1785660208000,"timestamp_seconds":1785660208,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a47380"} 
[2026-08-02 14:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:15: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-08-02 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128936192001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128936192001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:15:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:15:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:15:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128936192001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":146610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:15:40] local.INFO: GPS data processed {"connection_id":146610,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:15:40] local.INFO: Acknowledgment sent {"connection_id":146610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:16:09] local.INFO: TCP Data received {"connection_id":147851,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a68e90012d8a0a4005df91c80007008027..."} 
[2026-08-02 14:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a68e90012d8a0a4005df91c80007008027..."} 
[2026-08-02 14:16:09] local.INFO: Processing buffer {"connection_id":147851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a68e90012d8a0a4005df91c80007008027..."} 
[2026-08-02 14:16:09] local.INFO: Packet analysis {"connection_id":147851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a6"} 
[2026-08-02 14:16:09] local.INFO: Extracted packet for processing {"connection_id":147851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a6"} 
[2026-08-02 14:16:09] local.INFO: GPS Element Parsed {"raw_longitude":764021312,"raw_latitude":98537928,"longitude_deg":76.4021312,"latitude_deg":9.8537928,"altitude":7,"angle":128,"satellites":39,"speed":10,"hex_longitude":"2d8a0a40","hex_latitude":"05df91c8","is_valid_coordinates":true} 
[2026-08-02 14:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129048064001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113918668882051072,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8500403533947674624,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,88,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 14:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785660346000,"timestamp_ms":1785660346000,"timestamp_seconds":1785660346,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a68e90"} 
[2026-08-02 14:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-02 14:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129048064001,"66":13406,"88":20224,"24":10,"16":113918668882051072,"45":-8500403533947674624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,24,16,45]} 
[2026-08-02 14:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129048064001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:16:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113918668882051072,"km_value":113918668882051.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8500403533947674624,"description":"Unknown IO ID 45"} 
[2026-08-02 14:16:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457129048064001,"power":13406,"unknown_88":20224,"ignition":10,"odometer":null,"unknown_45":-8500403533947674624}} 
[2026-08-02 14:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":147851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:16:09] local.INFO: GPS data processed {"connection_id":147851,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:16:09] local.INFO: Acknowledgment sent {"connection_id":147851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:16:24] local.INFO: TCP Data received {"connection_id":146826,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:16:24] local.INFO: Processing buffer {"connection_id":146826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:16:24] local.INFO: IMEI packet received {"connection_id":146826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":146826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:16:26] local.INFO: TCP Data received {"connection_id":149166,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:16:26] local.INFO: Processing buffer {"connection_id":149166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:16:26] local.INFO: IMEI packet received {"connection_id":149166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":149166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:16:27] local.INFO: TCP Data received {"connection_id":149166,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:16:27] local.INFO: Processing buffer {"connection_id":149166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:16:27] local.INFO: IMEI packet received {"connection_id":149166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":149166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:16:28] local.INFO: TCP Data received {"connection_id":149166,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:16:28] local.INFO: Processing buffer {"connection_id":149166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:16:28] local.INFO: IMEI packet received {"connection_id":149166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":149166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:16:29] local.INFO: TCP Data received {"connection_id":146826,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:16:29] local.INFO: Processing buffer {"connection_id":146826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:16:29] local.INFO: IMEI packet received {"connection_id":146826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":146826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:16:30] local.INFO: TCP Data received {"connection_id":146826,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:16:30] local.INFO: Processing buffer {"connection_id":146826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:16:30] local.INFO: Packet analysis {"connection_id":146826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:16:30] local.INFO: Extracted packet for processing {"connection_id":146826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:16:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128936192001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785660208000,"timestamp_ms":1785660208000,"timestamp_seconds":1785660208,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a47380"} 
[2026-08-02 14:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128936192001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128936192001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:16:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:16:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:16:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128936192001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":146826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:16:30] local.INFO: GPS data processed {"connection_id":146826,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:16:30] local.INFO: Acknowledgment sent {"connection_id":146826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:16:32] local.INFO: TCP Data received {"connection_id":149166,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:16:32] local.INFO: Processing buffer {"connection_id":149166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:16:32] local.INFO: IMEI packet received {"connection_id":149166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":149166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:16:33] local.INFO: TCP Data received {"connection_id":149166,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a69660012d8a0c0005df8f680007009326..."} 
[2026-08-02 14:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a69660012d8a0c0005df8f680007009326..."} 
[2026-08-02 14:16:33] local.INFO: Processing buffer {"connection_id":149166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a69660012d8a0c0005df8f680007009326..."} 
[2026-08-02 14:16:33] local.INFO: Packet analysis {"connection_id":149166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a6"} 
[2026-08-02 14:16:33] local.INFO: Extracted packet for processing {"connection_id":149166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a6"} 
[2026-08-02 14:16:33] local.INFO: GPS Element Parsed {"raw_longitude":764021760,"raw_latitude":98537320,"longitude_deg":76.402176,"latitude_deg":9.853732,"altitude":7,"angle":147,"satellites":38,"speed":19,"hex_longitude":"2d8a0c00","hex_latitude":"05df8f68","is_valid_coordinates":true} 
[2026-08-02 14:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129048576001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113918707536756736,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8499910952738502656,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,88,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 14:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785660348000,"timestamp_ms":1785660348000,"timestamp_seconds":1785660348,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a69660"} 
[2026-08-02 14:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 14:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129048576001,"66":13276,"88":20224,"24":19,"16":113918707536756736,"45":-8499910952738502656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,24,16,45]} 
[2026-08-02 14:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129048576001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:16:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113918707536756736,"km_value":113918707536756.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8499910952738502656,"description":"Unknown IO ID 45"} 
[2026-08-02 14:16:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457129048576001,"power":13276,"unknown_88":20224,"ignition":19,"odometer":null,"unknown_45":-8499910952738502656}} 
[2026-08-02 14:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":149166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:16:33] local.INFO: GPS data processed {"connection_id":149166,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:16:33] local.INFO: Acknowledgment sent {"connection_id":149166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:16:33] local.INFO: TCP Data received {"connection_id":149166,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a6bd70012d8a180005df71b8000900a129..."} 
[2026-08-02 14:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a6bd70012d8a180005df71b8000900a129..."} 
[2026-08-02 14:16:33] local.INFO: Processing buffer {"connection_id":149166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a6bd70012d8a180005df71b8000900a129..."} 
[2026-08-02 14:16:33] local.INFO: Packet analysis {"connection_id":149166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a6"} 
[2026-08-02 14:16:33] local.INFO: Extracted packet for processing {"connection_id":149166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a6"} 
[2026-08-02 14:16:33] local.INFO: GPS Element Parsed {"raw_longitude":764024832,"raw_latitude":98529720,"longitude_deg":76.4024832,"latitude_deg":9.852972,"altitude":9,"angle":161,"satellites":41,"speed":37,"hex_longitude":"2d8a1800","hex_latitude":"05df71b8","is_valid_coordinates":true} 
[2026-08-02 14:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129049088001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113919102673747968,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8499418371529414656,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,88,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 14:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785660358000,"timestamp_ms":1785660358000,"timestamp_seconds":1785660358,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a6bd70"} 
[2026-08-02 14:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-02 14:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129049088001,"66":13537,"88":20224,"24":37,"16":113919102673747968,"45":-8499418371529414656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,24,16,45]} 
[2026-08-02 14:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129049088001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:16:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113919102673747968,"km_value":113919102673747.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8499418371529414656,"description":"Unknown IO ID 45"} 
[2026-08-02 14:16:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457129049088001,"power":13537,"unknown_88":20224,"ignition":37,"odometer":null,"unknown_45":-8499418371529414656}} 
[2026-08-02 14:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":149166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:16:33] local.INFO: GPS data processed {"connection_id":149166,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:16:33] local.INFO: Acknowledgment sent {"connection_id":149166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:16:35] local.INFO: TCP Data received {"connection_id":146826,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:16:35] local.INFO: Processing buffer {"connection_id":146826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:16:35] local.INFO: Packet analysis {"connection_id":146826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:16:35] local.INFO: Extracted packet for processing {"connection_id":146826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:16:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128936192001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785660208000,"timestamp_ms":1785660208000,"timestamp_seconds":1785660208,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a47380"} 
[2026-08-02 14:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128936192001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128936192001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:16:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:16:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:16:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128936192001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":146826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:16:35] local.INFO: GPS data processed {"connection_id":146826,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:16:35] local.INFO: Acknowledgment sent {"connection_id":146826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:17:05] local.INFO: TCP Data received {"connection_id":149166,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a77cd8012d8abbc005df0bf8000d007c29..."} 
[2026-08-02 14:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a77cd8012d8abbc005df0bf8000d007c29..."} 
[2026-08-02 14:17:05] local.INFO: Processing buffer {"connection_id":149166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a77cd8012d8abbc005df0bf8000d007c29..."} 
[2026-08-02 14:17:05] local.INFO: Packet analysis {"connection_id":149166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a7"} 
[2026-08-02 14:17:05] local.INFO: Extracted packet for processing {"connection_id":149166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a7"} 
[2026-08-02 14:17:05] local.INFO: GPS Element Parsed {"raw_longitude":764066752,"raw_latitude":98503672,"longitude_deg":76.4066752,"latitude_deg":9.8503672,"altitude":13,"angle":124,"satellites":41,"speed":40,"hex_longitude":"2d8abbc0","hex_latitude":"05df0bf8","is_valid_coordinates":true} 
[2026-08-02 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-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129063680001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113921860042752000,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8451989837962008576,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785660407000,"timestamp_ms":1785660407000,"timestamp_seconds":1785660407,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a77cd8"} 
[2026-08-02 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-08-02 14:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":7,"data_length":795,"current_offset":136} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3248956160,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2322694149,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2805624833,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2461217252201473024,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1962868942,"corrected_to":0} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3489738122,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3221610251,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3125149696,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3742324736,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57831008804689999,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.WARNING: Large IO value detected {"io_id":167,"raw_value":833167226168164357,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:05] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,255,88,24,241,157,16,187,159,109,45,192,18,14,41,10,66,101,128,15,40,70,1,240,56,227,186,193,223,4,113,205,43,42,95,39,239,53,2,148,5,50,181,167],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1962868942,"validated":0}]} 
[2026-08-02 14:17:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008927438906654720,"timestamp_seconds":1008927438906654.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 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-08-02 14:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129063680001,"66":13319,"255":206,"88":20224,"24":40,"16":113921860042752000,"45":-8451989837962008576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,88,24,16,45]} 
[2026-08-02 14:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129063680001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:17:05] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-02 14:17:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113921860042752000,"km_value":113921860042752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8451989837962008576,"description":"Unknown IO ID 45"} 
[2026-08-02 14:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129063680001,"power":13319,"unknown_255":206,"unknown_88":20224,"ignition":40,"odometer":null,"unknown_45":-8451989837962008576}} 
[2026-08-02 14:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":149166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:17:05] local.INFO: GPS data processed {"connection_id":149166,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:17:05] local.INFO: Acknowledgment sent {"connection_id":149166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:17:06] local.INFO: TCP Data received {"connection_id":146826,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:17:06] local.INFO: Processing buffer {"connection_id":146826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:17:06] local.INFO: Packet analysis {"connection_id":146826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:17:06] local.INFO: Extracted packet for processing {"connection_id":146826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:17:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128936192001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785660208000,"timestamp_ms":1785660208000,"timestamp_seconds":1785660208,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a47380"} 
[2026-08-02 14:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:17: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-08-02 14:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128936192001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128936192001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:17:06] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:17:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128936192001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":146826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:17:06] local.INFO: GPS data processed {"connection_id":146826,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:17:06] local.INFO: Acknowledgment sent {"connection_id":146826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:17:24] local.INFO: TCP Data received {"connection_id":147852,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:17:24] local.INFO: Processing buffer {"connection_id":147852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:17:24] local.INFO: IMEI packet received {"connection_id":147852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":147852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:17:27] local.INFO: TCP Data received {"connection_id":147853,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:17:27] local.INFO: Processing buffer {"connection_id":147853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:17:27] local.INFO: IMEI packet received {"connection_id":147853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":147853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:17:29] local.INFO: TCP Data received {"connection_id":147852,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:17:29] local.INFO: Processing buffer {"connection_id":147852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:17:29] local.INFO: IMEI packet received {"connection_id":147852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":147852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:17:30] local.INFO: TCP Data received {"connection_id":147852,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:17:30] local.INFO: Processing buffer {"connection_id":147852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:17:30] local.INFO: Packet analysis {"connection_id":147852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:17:30] local.INFO: Extracted packet for processing {"connection_id":147852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:17:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128936192001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785660208000,"timestamp_ms":1785660208000,"timestamp_seconds":1785660208,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a47380"} 
[2026-08-02 14:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128936192001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128936192001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:17:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:17:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128936192001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":147852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:17:30] local.INFO: GPS data processed {"connection_id":147852,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:17:30] local.INFO: Acknowledgment sent {"connection_id":147852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:17:31] local.INFO: TCP Data received {"connection_id":147853,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:17:31] local.INFO: Processing buffer {"connection_id":147853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:17:31] local.INFO: IMEI packet received {"connection_id":147853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":147853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:17:32] local.INFO: TCP Data received {"connection_id":147853,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a784a8012d8ac10005df0798000e008727..."} 
[2026-08-02 14:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a784a8012d8ac10005df0798000e008727..."} 
[2026-08-02 14:17:32] local.INFO: Processing buffer {"connection_id":147853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a784a8012d8ac10005df0798000e008727..."} 
[2026-08-02 14:17:32] local.INFO: Packet analysis {"connection_id":147853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a7"} 
[2026-08-02 14:17:32] local.INFO: Extracted packet for processing {"connection_id":147853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a7"} 
[2026-08-02 14:17:32] local.INFO: GPS Element Parsed {"raw_longitude":764068096,"raw_latitude":98502552,"longitude_deg":76.4068096,"latitude_deg":9.8502552,"altitude":14,"angle":135,"satellites":39,"speed":27,"hex_longitude":"2d8ac100","hex_latitude":"05df0798","is_valid_coordinates":true} 
[2026-08-02 14:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129064192001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113921945942097920,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8449949144381130752,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785660409000,"timestamp_ms":1785660409000,"timestamp_seconds":1785660409,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a784a8"} 
[2026-08-02 14:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3248958160,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2323562501,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2806392833,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":223,"raw_value":1105633768656873216,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2147868424,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1962868942,"corrected_to":0} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2499857780,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3128557568,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3742072832,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57831008804689999,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2522017086433574917,"note":"Value kept but may cause issues"} 
[2026-08-02 14:17:32] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,255,88,24,241,157,16,187,159,117,45,128,14,41,10,66,109,192,18,101,1,240,7,227,193,223,4,113,205,46,58,56,40,239,52,2,148,5,15,48,12,167],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1962868942,"validated":0}]} 
[2026-08-02 14:17:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936885238031187968,"timestamp_seconds":936885238031188.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 14:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":147853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":147853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":147853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129064192001,"66":13243,"255":206,"88":20224,"24":27,"16":113921945942097920,"45":-8449949144381130752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,88,24,16,45]} 
[2026-08-02 14:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129064192001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:17:32] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-02 14:17:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113921945942097920,"km_value":113921945942097.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8449949144381130752,"description":"Unknown IO ID 45"} 
[2026-08-02 14:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129064192001,"power":13243,"unknown_255":206,"unknown_88":20224,"ignition":27,"odometer":null,"unknown_45":-8449949144381130752}} 
[2026-08-02 14:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":147853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:17:32] local.INFO: GPS data processed {"connection_id":147853,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:17:32] local.INFO: Acknowledgment sent {"connection_id":147853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:18:06] local.INFO: TCP Data received {"connection_id":147852,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:18:06] local.INFO: Processing buffer {"connection_id":147852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:18:06] local.INFO: Packet analysis {"connection_id":147852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:18:06] local.INFO: Extracted packet for processing {"connection_id":147852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:18:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14: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-08-02 14:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128936192001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:18:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785660208000,"timestamp_ms":1785660208000,"timestamp_seconds":1785660208,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a47380"} 
[2026-08-02 14:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14: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-08-02 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:18: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-08-02 14: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-08-02 14:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128936192001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128936192001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:18:06] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:18:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:18:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128936192001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":147852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:18:06] local.INFO: GPS data processed {"connection_id":147852,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:18:06] local.INFO: Acknowledgment sent {"connection_id":147852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:18:08] local.INFO: TCP Data received {"connection_id":147853,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a79830012d8ac68005deffe8000e009427..."} 
[2026-08-02 14:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a79830012d8ac68005deffe8000e009427..."} 
[2026-08-02 14:18:08] local.INFO: Processing buffer {"connection_id":147853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a79830012d8ac68005deffe8000e009427..."} 
[2026-08-02 14:18:08] local.INFO: Packet analysis {"connection_id":147853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a7"} 
[2026-08-02 14:18:08] local.INFO: Extracted packet for processing {"connection_id":147853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a7"} 
[2026-08-02 14:18:08] local.INFO: GPS Element Parsed {"raw_longitude":764069504,"raw_latitude":98500584,"longitude_deg":76.4069504,"latitude_deg":9.8500584,"altitude":14,"angle":148,"satellites":39,"speed":16,"hex_longitude":"2d8ac680","hex_latitude":"05deffe8","is_valid_coordinates":true} 
[2026-08-02 14:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129064704001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113922061906214912,"note":"Value kept but may cause issues"} 
[2026-08-02 14:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8448471400753686528,"note":"Value kept but may cause issues"} 
[2026-08-02 14:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785660414000,"timestamp_ms":1785660414000,"timestamp_seconds":1785660414,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a79830"} 
[2026-08-02 14:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-02 14:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129064704001,"66":13363,"255":206,"88":20224,"24":16,"16":113922061906214912,"45":-8448471400753686528},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,88,24,16,45]} 
[2026-08-02 14:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129064704001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:18:08] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-02 14:18:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113922061906214912,"km_value":113922061906214.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8448471400753686528,"description":"Unknown IO ID 45"} 
[2026-08-02 14:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129064704001,"power":13363,"unknown_255":206,"unknown_88":20224,"ignition":16,"odometer":null,"unknown_45":-8448471400753686528}} 
[2026-08-02 14:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":147853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:18:08] local.INFO: GPS data processed {"connection_id":147853,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:18:08] local.INFO: Acknowledgment sent {"connection_id":147853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:18:24] local.INFO: TCP Data received {"connection_id":149167,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:18:24] local.INFO: Processing buffer {"connection_id":149167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:18:24] local.INFO: IMEI packet received {"connection_id":149167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":149167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:18:29] local.INFO: TCP Data received {"connection_id":149167,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:18:29] local.INFO: Processing buffer {"connection_id":149167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:18:29] local.INFO: IMEI packet received {"connection_id":149167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":149167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:18:30] local.INFO: TCP Data received {"connection_id":149167,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:18:30] local.INFO: Processing buffer {"connection_id":149167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:18:30] local.INFO: Packet analysis {"connection_id":149167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:18:30] local.INFO: Extracted packet for processing {"connection_id":149167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:18:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128936192001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785660208000,"timestamp_ms":1785660208000,"timestamp_seconds":1785660208,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a47380"} 
[2026-08-02 14:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128936192001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128936192001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:18:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:18:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128936192001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":149167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:18:30] local.INFO: GPS data processed {"connection_id":149167,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:18:30] local.INFO: Acknowledgment sent {"connection_id":149167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:18:33] local.INFO: TCP Data received {"connection_id":146611,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:18:33] local.INFO: Processing buffer {"connection_id":146611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:18:33] local.INFO: IMEI packet received {"connection_id":146611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":146611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:18:34] local.INFO: TCP Data received {"connection_id":146611,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:18:34] local.INFO: Processing buffer {"connection_id":146611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:18:34] local.INFO: IMEI packet received {"connection_id":146611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":146611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:18:39] local.INFO: TCP Data received {"connection_id":146611,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:18:39] local.INFO: Processing buffer {"connection_id":146611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:18:39] local.INFO: IMEI packet received {"connection_id":146611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":146611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:18:41] local.INFO: TCP Data received {"connection_id":146611,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a8b170012d8b9cc005de77200014009526..."} 
[2026-08-02 14:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a8b170012d8b9cc005de77200014009526..."} 
[2026-08-02 14:18:41] local.INFO: Processing buffer {"connection_id":146611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a8b170012d8b9cc005de77200014009526..."} 
[2026-08-02 14:18:41] local.INFO: Packet analysis {"connection_id":146611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a8"} 
[2026-08-02 14:18:41] local.INFO: Extracted packet for processing {"connection_id":146611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a8"} 
[2026-08-02 14:18:41] local.INFO: GPS Element Parsed {"raw_longitude":764124352,"raw_latitude":98465568,"longitude_deg":76.4124352,"latitude_deg":9.8465568,"altitude":20,"angle":149,"satellites":38,"speed":38,"hex_longitude":"2d8b9cc0","hex_latitude":"05de7720","is_valid_coordinates":true} 
[2026-08-02 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-08-02 14:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129083904001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113925296016588800,"note":"Value kept but may cause issues"} 
[2026-08-02 14:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8387883912025800704,"note":"Value kept but may cause issues"} 
[2026-08-02 14:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785660486000,"timestamp_ms":1785660486000,"timestamp_seconds":1785660486,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a8b170"} 
[2026-08-02 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-08-02 14:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":62,"data_length":795,"current_offset":136} 
[2026-08-02 14:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14: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-08-02 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-08-02 14:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129083904001,"66":13417,"255":206,"88":20224,"24":38,"16":113925296016588800,"45":-8387883912025800704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,88,24,16,45]} 
[2026-08-02 14:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129083904001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:18:41] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-02 14:18:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113925296016588800,"km_value":113925296016588.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8387883912025800704,"description":"Unknown IO ID 45"} 
[2026-08-02 14:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129083904001,"power":13417,"unknown_255":206,"unknown_88":20224,"ignition":38,"odometer":null,"unknown_45":-8387883912025800704}} 
[2026-08-02 14:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":146611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:18:41] local.INFO: GPS data processed {"connection_id":146611,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:18:41] local.INFO: Acknowledgment sent {"connection_id":146611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:19:02] local.INFO: TCP Data received {"connection_id":149167,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:19:02] local.INFO: Processing buffer {"connection_id":149167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a47380012cc330c007685958005800c52c..."} 
[2026-08-02 14:19:02] local.INFO: Packet analysis {"connection_id":149167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:19:02] local.INFO: Extracted packet for processing {"connection_id":149167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a4"} 
[2026-08-02 14:19:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457128936192001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:19:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785660208000,"timestamp_ms":1785660208000,"timestamp_seconds":1785660208,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a47380"} 
[2026-08-02 14:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457128936192001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457128936192001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:19:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:19:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:19:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457128936192001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":149167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:19:02] local.INFO: GPS data processed {"connection_id":149167,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:19:02] local.INFO: Acknowledgment sent {"connection_id":149167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:19:30] local.INFO: TCP Data received {"connection_id":146611,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a8d498012d8bab4005de54d80014009b25..."} 
[2026-08-02 14:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a8d498012d8bab4005de54d80014009b25..."} 
[2026-08-02 14:19:30] local.INFO: Processing buffer {"connection_id":146611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a8d498012d8bab4005de54d80014009b25..."} 
[2026-08-02 14:19:30] local.INFO: Packet analysis {"connection_id":146611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a8"} 
[2026-08-02 14:19:30] local.INFO: Extracted packet for processing {"connection_id":146611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a8"} 
[2026-08-02 14:19:30] local.INFO: GPS Element Parsed {"raw_longitude":764128064,"raw_latitude":98456792,"longitude_deg":76.4128064,"latitude_deg":9.8456792,"altitude":20,"angle":155,"satellites":37,"speed":43,"hex_longitude":"2d8bab40","hex_latitude":"05de54d8","is_valid_coordinates":true} 
[2026-08-02 14:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129084416001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113925755578089472,"note":"Value kept but may cause issues"} 
[2026-08-02 14:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8386617274630987776,"note":"Value kept but may cause issues"} 
[2026-08-02 14:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785660495000,"timestamp_ms":1785660495000,"timestamp_seconds":1785660495,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a8d498"} 
[2026-08-02 14:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-02 14:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129084416001,"66":13602,"255":206,"88":20224,"24":43,"16":113925755578089472,"45":-8386617274630987776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,88,24,16,45]} 
[2026-08-02 14:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129084416001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:19:30] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-02 14:19:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113925755578089472,"km_value":113925755578089.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8386617274630987776,"description":"Unknown IO ID 45"} 
[2026-08-02 14:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129084416001,"power":13602,"unknown_255":206,"unknown_88":20224,"ignition":43,"odometer":null,"unknown_45":-8386617274630987776}} 
[2026-08-02 14:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":146611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:19:30] local.INFO: GPS data processed {"connection_id":146611,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:19:30] local.INFO: Acknowledgment sent {"connection_id":146611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:19:32] local.INFO: TCP Data received {"connection_id":149168,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:19:32] local.INFO: Processing buffer {"connection_id":149168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:19:32] local.INFO: IMEI packet received {"connection_id":149168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":149168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:19:34] local.INFO: TCP Data received {"connection_id":149168,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:19:34] local.INFO: Processing buffer {"connection_id":149168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:19:34] local.INFO: IMEI packet received {"connection_id":149168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":149168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:19:35] local.INFO: TCP Data received {"connection_id":149168,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:19:35] local.INFO: Processing buffer {"connection_id":149168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:19:35] local.INFO: Packet analysis {"connection_id":149168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:19:35] local.INFO: Extracted packet for processing {"connection_id":149168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:19:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129013248001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:19:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785660509000,"timestamp_ms":1785660509000,"timestamp_seconds":1785660509,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a90b48"} 
[2026-08-02 14:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129013248001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129013248001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:19:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:19:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:19:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129013248001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":149168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:19:35] local.INFO: GPS data processed {"connection_id":149168,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:19:35] local.INFO: Acknowledgment sent {"connection_id":149168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:19:41] local.INFO: TCP Data received {"connection_id":146612,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:19:41] local.INFO: Processing buffer {"connection_id":146612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:19:41] local.INFO: IMEI packet received {"connection_id":146612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":146612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:19:43] local.INFO: TCP Data received {"connection_id":146612,"ip":"42.106.6.37","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 14:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146612,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 14:19:43] local.INFO: Processing buffer {"connection_id":146612,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 14:19:43] local.INFO: IMEI packet received {"connection_id":146612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":146612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:19:44] local.INFO: TCP Data received {"connection_id":149168,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:19:44] local.INFO: Processing buffer {"connection_id":149168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:19:44] local.INFO: Packet analysis {"connection_id":149168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:19:44] local.INFO: Extracted packet for processing {"connection_id":149168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:19:44] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14: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-08-02 14:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129013248001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:19:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785660509000,"timestamp_ms":1785660509000,"timestamp_seconds":1785660509,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a90b48"} 
[2026-08-02 14:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14: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-08-02 14:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129013248001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129013248001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:19:44] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:19:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:19:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129013248001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":149168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:19:44] local.INFO: GPS data processed {"connection_id":149168,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:19:44] local.INFO: Acknowledgment sent {"connection_id":149168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:20:24] local.INFO: TCP Data received {"connection_id":146613,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:20:24] local.INFO: Processing buffer {"connection_id":146613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:20:24] local.INFO: IMEI packet received {"connection_id":146613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":146613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:20:29] local.INFO: TCP Data received {"connection_id":146613,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:20:29] local.INFO: Processing buffer {"connection_id":146613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:20:29] local.INFO: IMEI packet received {"connection_id":146613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":146613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:20:30] local.INFO: TCP Data received {"connection_id":146613,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:20:31] local.INFO: Processing buffer {"connection_id":146613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:20:31] local.INFO: Packet analysis {"connection_id":146613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:20:31] local.INFO: Extracted packet for processing {"connection_id":146613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:20:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129013248001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785660509000,"timestamp_ms":1785660509000,"timestamp_seconds":1785660509,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a90b48"} 
[2026-08-02 14:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129013248001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129013248001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:20:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:20:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129013248001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":146613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:20:31] local.INFO: GPS data processed {"connection_id":146613,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:20:31] local.INFO: Acknowledgment sent {"connection_id":146613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:21:03] local.INFO: TCP Data received {"connection_id":146613,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:21:03] local.INFO: Processing buffer {"connection_id":146613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:21:03] local.INFO: Packet analysis {"connection_id":146613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:21:03] local.INFO: Extracted packet for processing {"connection_id":146613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:21:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129013248001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785660509000,"timestamp_ms":1785660509000,"timestamp_seconds":1785660509,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a90b48"} 
[2026-08-02 14:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129013248001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129013248001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:21:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:21:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:21:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129013248001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":146613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:21:03] local.INFO: GPS data processed {"connection_id":146613,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:21:03] local.INFO: Acknowledgment sent {"connection_id":146613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:21:29] local.INFO: TCP Data received {"connection_id":149169,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:21:29] local.INFO: Processing buffer {"connection_id":149169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:21:29] local.INFO: IMEI packet received {"connection_id":149169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":149169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:21:34] local.INFO: TCP Data received {"connection_id":149169,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:21:34] local.INFO: Processing buffer {"connection_id":149169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:21:34] local.INFO: IMEI packet received {"connection_id":149169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":149169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:21:36] local.INFO: TCP Data received {"connection_id":149169,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:21:36] local.INFO: Processing buffer {"connection_id":149169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:21:36] local.INFO: Packet analysis {"connection_id":149169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:21:36] local.INFO: Extracted packet for processing {"connection_id":149169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129013248001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785660509000,"timestamp_ms":1785660509000,"timestamp_seconds":1785660509,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a90b48"} 
[2026-08-02 14:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129013248001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129013248001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:21:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:21:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:21:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129013248001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":149169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:21:36] local.INFO: GPS data processed {"connection_id":149169,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:21:36] local.INFO: Acknowledgment sent {"connection_id":149169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:21:40] local.INFO: TCP Data received {"connection_id":149169,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:21:40] local.INFO: Processing buffer {"connection_id":149169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:21:40] local.INFO: Packet analysis {"connection_id":149169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:21:40] local.INFO: Extracted packet for processing {"connection_id":149169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:21:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129013248001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785660509000,"timestamp_ms":1785660509000,"timestamp_seconds":1785660509,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a90b48"} 
[2026-08-02 14:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:21: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-08-02 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:21: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-08-02 14:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129013248001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129013248001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:21:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:21:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129013248001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":149169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:21:40] local.INFO: GPS data processed {"connection_id":149169,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:21:40] local.INFO: Acknowledgment sent {"connection_id":149169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:22:24] local.INFO: TCP Data received {"connection_id":146614,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:22:24] local.INFO: Processing buffer {"connection_id":146614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:22:24] local.INFO: IMEI packet received {"connection_id":146614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":146614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:22:29] local.INFO: TCP Data received {"connection_id":146614,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:22:29] local.INFO: Processing buffer {"connection_id":146614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:22:29] local.INFO: IMEI packet received {"connection_id":146614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":146614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:22:30] local.INFO: TCP Data received {"connection_id":146614,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:22:30] local.INFO: Processing buffer {"connection_id":146614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:22:30] local.INFO: Packet analysis {"connection_id":146614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:22:30] local.INFO: Extracted packet for processing {"connection_id":146614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:22:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129013248001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785660509000,"timestamp_ms":1785660509000,"timestamp_seconds":1785660509,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a90b48"} 
[2026-08-02 14:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129013248001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129013248001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:22:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:22:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129013248001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":146614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:22:30] local.INFO: GPS data processed {"connection_id":146614,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:22:30] local.INFO: Acknowledgment sent {"connection_id":146614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:23:02] local.INFO: TCP Data received {"connection_id":146614,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:23:02] local.INFO: Processing buffer {"connection_id":146614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:23:02] local.INFO: Packet analysis {"connection_id":146614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:23:02] local.INFO: Extracted packet for processing {"connection_id":146614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:23:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129013248001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:23:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785660509000,"timestamp_ms":1785660509000,"timestamp_seconds":1785660509,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a90b48"} 
[2026-08-02 14:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129013248001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129013248001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:23:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:23:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:23:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129013248001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":146614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:23:02] local.INFO: GPS data processed {"connection_id":146614,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:23:02] local.INFO: Acknowledgment sent {"connection_id":146614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:23:24] local.INFO: TCP Data received {"connection_id":146828,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:23:24] local.INFO: Processing buffer {"connection_id":146828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:23:24] local.INFO: IMEI packet received {"connection_id":146828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":146828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:23:35] local.INFO: TCP Data received {"connection_id":146828,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:23:35] local.INFO: Processing buffer {"connection_id":146828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:23:35] local.INFO: IMEI packet received {"connection_id":146828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":146828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:23:36] local.INFO: TCP Data received {"connection_id":146828,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:23:36] local.INFO: Processing buffer {"connection_id":146828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:23:36] local.INFO: Packet analysis {"connection_id":146828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:23:36] local.INFO: Extracted packet for processing {"connection_id":146828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129013248001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:23:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785660509000,"timestamp_ms":1785660509000,"timestamp_seconds":1785660509,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a90b48"} 
[2026-08-02 14:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129013248001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129013248001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:23:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:23:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129013248001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":146828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:23:36] local.INFO: GPS data processed {"connection_id":146828,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:23:36] local.INFO: Acknowledgment sent {"connection_id":146828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:24:08] local.INFO: TCP Data received {"connection_id":146828,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:24:08] local.INFO: Processing buffer {"connection_id":146828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1a90b48012cc330c007685958005800c52b..."} 
[2026-08-02 14:24:08] local.INFO: Packet analysis {"connection_id":146828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:24:08] local.INFO: Extracted packet for processing {"connection_id":146828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1a9"} 
[2026-08-02 14:24:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129013248001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:24:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785660509000,"timestamp_ms":1785660509000,"timestamp_seconds":1785660509,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1a90b48"} 
[2026-08-02 14:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:24: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-08-02 14:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129013248001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129013248001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:24:08] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:24:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:24:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129013248001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":146828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:24:08] local.INFO: GPS data processed {"connection_id":146828,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:24:08] local.INFO: Acknowledgment sent {"connection_id":146828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:24:30] local.INFO: TCP Data received {"connection_id":146830,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:24:30] local.INFO: Processing buffer {"connection_id":146830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:24:30] local.INFO: IMEI packet received {"connection_id":146830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":146830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:24:34] local.INFO: TCP Data received {"connection_id":146830,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:24:34] local.INFO: Processing buffer {"connection_id":146830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:24:34] local.INFO: IMEI packet received {"connection_id":146830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":146830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:24:36] local.INFO: TCP Data received {"connection_id":146830,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:24:36] local.INFO: Processing buffer {"connection_id":146830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:24:36] local.INFO: Packet analysis {"connection_id":146830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:24:36] local.INFO: Extracted packet for processing {"connection_id":146830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:24:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129090304001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:24:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785660810000,"timestamp_ms":1785660810000,"timestamp_seconds":1785660810,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ada310"} 
[2026-08-02 14:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129090304001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129090304001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:24:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:24:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:24:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129090304001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":146830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:24:36] local.INFO: GPS data processed {"connection_id":146830,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:24:36] local.INFO: Acknowledgment sent {"connection_id":146830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:24:40] local.INFO: TCP Data received {"connection_id":146830,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:24:40] local.INFO: Processing buffer {"connection_id":146830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:24:40] local.INFO: Packet analysis {"connection_id":146830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:24:40] local.INFO: Extracted packet for processing {"connection_id":146830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:24:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129090304001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:24:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785660810000,"timestamp_ms":1785660810000,"timestamp_seconds":1785660810,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ada310"} 
[2026-08-02 14:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:24: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-08-02 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:24: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-08-02 14:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129090304001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129090304001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:24:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:24:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:24:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129090304001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":146830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:24:40] local.INFO: GPS data processed {"connection_id":146830,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:24:40] local.INFO: Acknowledgment sent {"connection_id":146830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:24:43] local.INFO: TCP Data received {"connection_id":146831,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:24:43] local.INFO: Processing buffer {"connection_id":146831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:24:43] local.INFO: IMEI packet received {"connection_id":146831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":146831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:24:44] local.INFO: TCP Data received {"connection_id":146831,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1acc468012d8db9c005dc14a00032006b2c..."} 
[2026-08-02 14:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1acc468012d8db9c005dc14a00032006b2c..."} 
[2026-08-02 14:24:44] local.INFO: Processing buffer {"connection_id":146831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1acc468012d8db9c005dc14a00032006b2c..."} 
[2026-08-02 14:24:44] local.INFO: Packet analysis {"connection_id":146831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ac"} 
[2026-08-02 14:24:44] local.INFO: Extracted packet for processing {"connection_id":146831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ac"} 
[2026-08-02 14:24:44] local.INFO: GPS Element Parsed {"raw_longitude":764262848,"raw_latitude":98309280,"longitude_deg":76.4262848,"latitude_deg":9.830928,"altitude":50,"angle":107,"satellites":44,"speed":12,"hex_longitude":"2d8db9c0","hex_latitude":"05dc14a0","is_valid_coordinates":true} 
[2026-08-02 14: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-08-02 14:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129152256001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113936153693913088,"note":"Value kept but may cause issues"} 
[2026-08-02 14:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8234902262223890432,"note":"Value kept but may cause issues"} 
[2026-08-02 14:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785660753000,"timestamp_ms":1785660753000,"timestamp_seconds":1785660753,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1acc468"} 
[2026-08-02 14:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 14:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14: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-08-02 14:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129152256001,"66":13102,"219":206,"88":20224,"24":12,"16":113936153693913088,"45":-8234902262223890432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,88,24,16,45]} 
[2026-08-02 14:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129152256001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:24:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-02 14:24:44] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113936153693913088,"km_value":113936153693913.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8234902262223890432,"description":"Unknown IO ID 45"} 
[2026-08-02 14:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129152256001,"power":13102,"unknown_219":206,"unknown_88":20224,"ignition":12,"odometer":null,"unknown_45":-8234902262223890432}} 
[2026-08-02 14:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":146831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:24:44] local.INFO: GPS data processed {"connection_id":146831,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:24:44] local.INFO: Acknowledgment sent {"connection_id":146831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:25:24] local.INFO: TCP Data received {"connection_id":146615,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:25:24] local.INFO: Processing buffer {"connection_id":146615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:25:24] local.INFO: IMEI packet received {"connection_id":146615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":146615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:25:27] local.INFO: TCP Data received {"connection_id":149170,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:25:27] local.INFO: Processing buffer {"connection_id":149170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:25:27] local.INFO: IMEI packet received {"connection_id":149170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":149170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:25:29] local.INFO: TCP Data received {"connection_id":146615,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:25:29] local.INFO: Processing buffer {"connection_id":146615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:25:29] local.INFO: IMEI packet received {"connection_id":146615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":146615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:25:30] local.INFO: TCP Data received {"connection_id":146615,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:25:30] local.INFO: Processing buffer {"connection_id":146615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:25:30] local.INFO: Packet analysis {"connection_id":146615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:25:30] local.INFO: Extracted packet for processing {"connection_id":146615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:25:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129090304001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785660810000,"timestamp_ms":1785660810000,"timestamp_seconds":1785660810,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ada310"} 
[2026-08-02 14:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129090304001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129090304001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:25:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:25:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129090304001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":146615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:25:30] local.INFO: GPS data processed {"connection_id":146615,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:25:30] local.INFO: Acknowledgment sent {"connection_id":146615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:25:31] local.INFO: TCP Data received {"connection_id":149170,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:25:31] local.INFO: Processing buffer {"connection_id":149170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:25:31] local.INFO: IMEI packet received {"connection_id":149170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":149170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:25:32] local.INFO: TCP Data received {"connection_id":149170,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:25:32] local.INFO: Processing buffer {"connection_id":149170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:25:32] local.INFO: IMEI packet received {"connection_id":149170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":149170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:25:33] local.INFO: TCP Data received {"connection_id":149170,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1aee360012d8ec94005dc0e30002400322a..."} 
[2026-08-02 14:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1aee360012d8ec94005dc0e30002400322a..."} 
[2026-08-02 14:25:33] local.INFO: Processing buffer {"connection_id":149170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1aee360012d8ec94005dc0e30002400322a..."} 
[2026-08-02 14:25:33] local.INFO: Packet analysis {"connection_id":149170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ae"} 
[2026-08-02 14:25:33] local.INFO: Extracted packet for processing {"connection_id":149170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ae"} 
[2026-08-02 14:25:33] local.INFO: GPS Element Parsed {"raw_longitude":764332352,"raw_latitude":98307632,"longitude_deg":76.4332352,"latitude_deg":9.8307632,"altitude":36,"angle":50,"satellites":42,"speed":18,"hex_longitude":"2d8ec940","hex_latitude":"05dc0e30","is_valid_coordinates":true} 
[2026-08-02 14:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129186816001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939568192913408,"note":"Value kept but may cause issues"} 
[2026-08-02 14:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8160592868373168128,"note":"Value kept but may cause issues"} 
[2026-08-02 14:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785660892000,"timestamp_ms":1785660892000,"timestamp_seconds":1785660892,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1aee360"} 
[2026-08-02 14:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-02 14:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129186816001,"66":13580,"60":206,"88":20224,"24":18,"16":113939568192913408,"45":-8160592868373168128},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,88,24,16,45]} 
[2026-08-02 14:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129186816001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:25:33] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-02 14:25:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939568192913408,"km_value":113939568192913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8160592868373168128,"description":"Unknown IO ID 45"} 
[2026-08-02 14:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129186816001,"power":13580,"unknown_60":206,"unknown_88":20224,"ignition":18,"odometer":null,"unknown_45":-8160592868373168128}} 
[2026-08-02 14:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":149170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:25:33] local.INFO: GPS data processed {"connection_id":149170,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:25:33] local.INFO: Acknowledgment sent {"connection_id":149170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:26:02] local.INFO: TCP Data received {"connection_id":146615,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:26:02] local.INFO: Processing buffer {"connection_id":146615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:26:02] local.INFO: Packet analysis {"connection_id":146615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:26:02] local.INFO: Extracted packet for processing {"connection_id":146615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:26:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129090304001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785660810000,"timestamp_ms":1785660810000,"timestamp_seconds":1785660810,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ada310"} 
[2026-08-02 14:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129090304001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129090304001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:26:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:26:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129090304001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":146615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:26:02] local.INFO: GPS data processed {"connection_id":146615,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:26:02] local.INFO: Acknowledgment sent {"connection_id":146615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:26:04] local.INFO: TCP Data received {"connection_id":149170,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1af1240012d8edb8005dc1bc00023004029..."} 
[2026-08-02 14:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1af1240012d8edb8005dc1bc00023004029..."} 
[2026-08-02 14:26:04] local.INFO: Processing buffer {"connection_id":149170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1af1240012d8edb8005dc1bc00023004029..."} 
[2026-08-02 14:26:04] local.INFO: Packet analysis {"connection_id":149170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1af"} 
[2026-08-02 14:26:04] local.INFO: Extracted packet for processing {"connection_id":149170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1af"} 
[2026-08-02 14:26:04] local.INFO: GPS Element Parsed {"raw_longitude":764337024,"raw_latitude":98311104,"longitude_deg":76.4337024,"latitude_deg":9.8311104,"altitude":35,"angle":64,"satellites":41,"speed":20,"hex_longitude":"2d8edb80","hex_latitude":"05dc1bc0","is_valid_coordinates":true} 
[2026-08-02 14:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129188352001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939851660754944,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8157918856094011392,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785660904000,"timestamp_ms":1785660904000,"timestamp_seconds":1785660904,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1af1240"} 
[2026-08-02 14:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617225,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":20224,"corrected_to":0} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3249376160,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2388885509,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":536948110,"corrected_to":0} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7725504047800647680,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2920824833,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110791643,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":836436174,"corrected_to":0} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-7709936948046934440,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3387162624,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3691143168,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":141,"raw_value":-270209535131516883,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.WARNING: Large IO value detected {"io_id":79,"raw_value":6755476750598385,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:04] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,60,88,24,241,157,16,203,159,45,192,8,36,41,10,66,149,252,35,44,202,94,1,240,181,227,193,219,4,113,205,23,67,136,43,239,52,2,148,5,40,28,141,79],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":203,"original":20224,"validated":0},{"io_id":202,"original":536948110,"validated":0},{"io_id":205,"original":836436174,"validated":0}]} 
[2026-08-02 14:26:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2594128541336600576,"timestamp_seconds":2594128541336600.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 14:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129188352001,"66":13450,"60":206,"88":20224,"24":20,"16":113939851660754944,"45":-8157918856094011392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,88,24,16,45]} 
[2026-08-02 14:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129188352001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:26:04] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-02 14:26:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939851660754944,"km_value":113939851660754.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8157918856094011392,"description":"Unknown IO ID 45"} 
[2026-08-02 14:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129188352001,"power":13450,"unknown_60":206,"unknown_88":20224,"ignition":20,"odometer":null,"unknown_45":-8157918856094011392}} 
[2026-08-02 14:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":149170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:26:04] local.INFO: GPS data processed {"connection_id":149170,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:26:04] local.INFO: Acknowledgment sent {"connection_id":149170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:26:24] local.INFO: TCP Data received {"connection_id":146832,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:26:24] local.INFO: Processing buffer {"connection_id":146832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:26:24] local.INFO: IMEI packet received {"connection_id":146832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":146832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:26:29] local.INFO: TCP Data received {"connection_id":146832,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:26:29] local.INFO: Processing buffer {"connection_id":146832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:26:29] local.INFO: IMEI packet received {"connection_id":146832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":146832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:26:30] local.INFO: TCP Data received {"connection_id":146616,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:26:30] local.INFO: Processing buffer {"connection_id":146616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:26:30] local.INFO: IMEI packet received {"connection_id":146616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":146616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:26:30] local.INFO: TCP Data received {"connection_id":146832,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:26:30] local.INFO: Processing buffer {"connection_id":146832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:26:30] local.INFO: Packet analysis {"connection_id":146832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:26:30] local.INFO: Extracted packet for processing {"connection_id":146832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:26:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129090304001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785660810000,"timestamp_ms":1785660810000,"timestamp_seconds":1785660810,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ada310"} 
[2026-08-02 14:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129090304001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129090304001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:26:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:26:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129090304001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":146832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:26:30] local.INFO: GPS data processed {"connection_id":146832,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:26:30] local.INFO: Acknowledgment sent {"connection_id":146832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:26:33] local.INFO: TCP Data received {"connection_id":146616,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:26:33] local.INFO: Processing buffer {"connection_id":146616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:26:33] local.INFO: IMEI packet received {"connection_id":146616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":146616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:26:33] local.INFO: TCP Data received {"connection_id":146616,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:26:33] local.INFO: Processing buffer {"connection_id":146616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:26:33] local.INFO: IMEI packet received {"connection_id":146616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":146616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:26:38] local.INFO: TCP Data received {"connection_id":146616,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:26:38] local.INFO: Processing buffer {"connection_id":146616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:26:38] local.INFO: IMEI packet received {"connection_id":146616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":146616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:26:38] local.INFO: TCP Data received {"connection_id":146616,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b046d8012d8f4f0005dc24b00019006326..."} 
[2026-08-02 14:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b046d8012d8f4f0005dc24b00019006326..."} 
[2026-08-02 14:26:38] local.INFO: Processing buffer {"connection_id":146616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b046d8012d8f4f0005dc24b00019006326..."} 
[2026-08-02 14:26:38] local.INFO: Packet analysis {"connection_id":146616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b0"} 
[2026-08-02 14:26:38] local.INFO: Extracted packet for processing {"connection_id":146616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b0"} 
[2026-08-02 14:26:38] local.INFO: GPS Element Parsed {"raw_longitude":764366592,"raw_latitude":98313392,"longitude_deg":76.4366592,"latitude_deg":9.8313392,"altitude":25,"angle":99,"satellites":38,"speed":15,"hex_longitude":"2d8f4f00","hex_latitude":"05dc24b0","is_valid_coordinates":true} 
[2026-08-02 14:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129210112001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113941410733883392,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8122945590235992064,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785660983000,"timestamp_ms":1785660983000,"timestamp_seconds":1785660983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b046d8"} 
[2026-08-02 14:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 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-08-02 14:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 14:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129210112001,"66":13624,"59":206,"88":20224,"24":15,"16":113941410733883392,"45":-8122945590235992064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,88,24,16,45]} 
[2026-08-02 14:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129210112001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:26:38] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 14:26:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113941410733883392,"km_value":113941410733883.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8122945590235992064,"description":"Unknown IO ID 45"} 
[2026-08-02 14:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129210112001,"power":13624,"unknown_59":206,"unknown_88":20224,"ignition":15,"odometer":null,"unknown_45":-8122945590235992064}} 
[2026-08-02 14:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":146616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:26:38] local.INFO: GPS data processed {"connection_id":146616,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:26:38] local.INFO: Acknowledgment sent {"connection_id":146616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:26:42] local.INFO: TCP Data received {"connection_id":146616,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b05a60012d8f560005dc23400018006e27..."} 
[2026-08-02 14:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b05a60012d8f560005dc23400018006e27..."} 
[2026-08-02 14:26:42] local.INFO: Processing buffer {"connection_id":146616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b05a60012d8f560005dc23400018006e27..."} 
[2026-08-02 14:26:42] local.INFO: Packet analysis {"connection_id":146616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b0"} 
[2026-08-02 14:26:42] local.INFO: Extracted packet for processing {"connection_id":146616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b0"} 
[2026-08-02 14:26:42] local.INFO: GPS Element Parsed {"raw_longitude":764368384,"raw_latitude":98313024,"longitude_deg":76.4368384,"latitude_deg":9.8313024,"altitude":24,"angle":110,"satellites":39,"speed":13,"hex_longitude":"2d8f5600","hex_latitude":"05dc2340","is_valid_coordinates":true} 
[2026-08-02 14: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-08-02 14:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129211648001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113941496633229312,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8120271577957486592,"note":"Value kept but may cause issues"} 
[2026-08-02 14:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785660988000,"timestamp_ms":1785660988000,"timestamp_seconds":1785660988,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b05a60"} 
[2026-08-02 14:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:26: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-08-02 14: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-02 14:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14: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-08-02 14:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129211648001,"66":13559,"59":206,"88":20224,"24":13,"16":113941496633229312,"45":-8120271577957486592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,88,24,16,45]} 
[2026-08-02 14:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129211648001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:26:42] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 14:26:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113941496633229312,"km_value":113941496633229.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8120271577957486592,"description":"Unknown IO ID 45"} 
[2026-08-02 14:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129211648001,"power":13559,"unknown_59":206,"unknown_88":20224,"ignition":13,"odometer":null,"unknown_45":-8120271577957486592}} 
[2026-08-02 14:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":146616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:26:42] local.INFO: GPS data processed {"connection_id":146616,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:26:42] local.INFO: Acknowledgment sent {"connection_id":146616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:27:02] local.INFO: TCP Data received {"connection_id":146832,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:27:02] local.INFO: Processing buffer {"connection_id":146832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:27:02] local.INFO: Packet analysis {"connection_id":146832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:27:02] local.INFO: Extracted packet for processing {"connection_id":146832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:27:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129090304001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:27:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785660810000,"timestamp_ms":1785660810000,"timestamp_seconds":1785660810,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ada310"} 
[2026-08-02 14:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129090304001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129090304001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:27:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:27:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:27:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129090304001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":146832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:27:02] local.INFO: GPS data processed {"connection_id":146832,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:27:02] local.INFO: Acknowledgment sent {"connection_id":146832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:27:24] local.INFO: TCP Data received {"connection_id":147856,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:27:24] local.INFO: Processing buffer {"connection_id":147856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:27:24] local.INFO: IMEI packet received {"connection_id":147856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":147856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:27:27] local.INFO: TCP Data received {"connection_id":147857,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:27:27] local.INFO: Processing buffer {"connection_id":147857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:27:27] local.INFO: IMEI packet received {"connection_id":147857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":147857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:27:28] local.INFO: TCP Data received {"connection_id":147857,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:27:28] local.INFO: Processing buffer {"connection_id":147857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:27:28] local.INFO: IMEI packet received {"connection_id":147857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":147857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:27:29] local.INFO: TCP Data received {"connection_id":147856,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:27:29] local.INFO: Processing buffer {"connection_id":147856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:27:29] local.INFO: IMEI packet received {"connection_id":147856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":147856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:27:31] local.INFO: TCP Data received {"connection_id":147856,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:27:31] local.INFO: Processing buffer {"connection_id":147856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:27:31] local.INFO: Packet analysis {"connection_id":147856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:27:31] local.INFO: Extracted packet for processing {"connection_id":147856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:27:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129090304001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:27:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785660810000,"timestamp_ms":1785660810000,"timestamp_seconds":1785660810,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ada310"} 
[2026-08-02 14:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129090304001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129090304001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:27:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:27:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:27:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129090304001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":147856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:27:31] local.INFO: GPS data processed {"connection_id":147856,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:27:31] local.INFO: Acknowledgment sent {"connection_id":147856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:27:33] local.INFO: TCP Data received {"connection_id":147857,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:27:33] local.INFO: Processing buffer {"connection_id":147857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:27:33] local.INFO: IMEI packet received {"connection_id":147857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":147857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:27:33] local.INFO: TCP Data received {"connection_id":147857,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b06618012d8f5a8005dc22100017005f28..."} 
[2026-08-02 14:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b06618012d8f5a8005dc22100017005f28..."} 
[2026-08-02 14:27:33] local.INFO: Processing buffer {"connection_id":147857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b06618012d8f5a8005dc22100017005f28..."} 
[2026-08-02 14:27:33] local.INFO: Packet analysis {"connection_id":147857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b0"} 
[2026-08-02 14:27:33] local.INFO: Extracted packet for processing {"connection_id":147857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b0"} 
[2026-08-02 14:27:33] local.INFO: GPS Element Parsed {"raw_longitude":764369536,"raw_latitude":98312720,"longitude_deg":76.4369536,"latitude_deg":9.831272,"altitude":23,"angle":95,"satellites":40,"speed":14,"hex_longitude":"2d8f5a80","hex_latitude":"05dc2210","is_valid_coordinates":true} 
[2026-08-02 14:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129212928001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113941552467804160,"note":"Value kept but may cause issues"} 
[2026-08-02 14:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8118301253120606208,"note":"Value kept but may cause issues"} 
[2026-08-02 14:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785660991000,"timestamp_ms":1785660991000,"timestamp_seconds":1785660991,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b06618"} 
[2026-08-02 14:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 14:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129212928001,"66":13374,"59":206,"88":20224,"24":14,"16":113941552467804160,"45":-8118301253120606208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,88,24,16,45]} 
[2026-08-02 14:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129212928001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:27:33] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 14:27:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113941552467804160,"km_value":113941552467804.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8118301253120606208,"description":"Unknown IO ID 45"} 
[2026-08-02 14:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129212928001,"power":13374,"unknown_59":206,"unknown_88":20224,"ignition":14,"odometer":null,"unknown_45":-8118301253120606208}} 
[2026-08-02 14:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":147857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:27:33] local.INFO: GPS data processed {"connection_id":147857,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:27:33] local.INFO: Acknowledgment sent {"connection_id":147857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:27:36] local.INFO: TCP Data received {"connection_id":147857,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b08940012d8f658005dc20380019006b2d..."} 
[2026-08-02 14:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b08940012d8f658005dc20380019006b2d..."} 
[2026-08-02 14:27:36] local.INFO: Processing buffer {"connection_id":147857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b08940012d8f658005dc20380019006b2d..."} 
[2026-08-02 14:27:36] local.INFO: Packet analysis {"connection_id":147857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b0"} 
[2026-08-02 14:27:36] local.INFO: Extracted packet for processing {"connection_id":147857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b0"} 
[2026-08-02 14:27:36] local.INFO: GPS Element Parsed {"raw_longitude":764372352,"raw_latitude":98312248,"longitude_deg":76.4372352,"latitude_deg":9.8312248,"altitude":25,"angle":107,"satellites":45,"speed":10,"hex_longitude":"2d8f6580","hex_latitude":"05dc2038","is_valid_coordinates":true} 
[2026-08-02 14:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129213696001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113941689906757632,"note":"Value kept but may cause issues"} 
[2026-08-02 14:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8117034615725486080,"note":"Value kept but may cause issues"} 
[2026-08-02 14:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785661000000,"timestamp_ms":1785661000000,"timestamp_seconds":1785661000,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b08940"} 
[2026-08-02 14:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 14:27: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-08-02 14:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129213696001,"66":13319,"59":206,"88":20224,"24":10,"16":113941689906757632,"45":-8117034615725486080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,88,24,16,45]} 
[2026-08-02 14:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129213696001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:27:36] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 14:27:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113941689906757632,"km_value":113941689906757.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8117034615725486080,"description":"Unknown IO ID 45"} 
[2026-08-02 14:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129213696001,"power":13319,"unknown_59":206,"unknown_88":20224,"ignition":10,"odometer":null,"unknown_45":-8117034615725486080}} 
[2026-08-02 14:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":147857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:27:36] local.INFO: GPS data processed {"connection_id":147857,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:27:36] local.INFO: Acknowledgment sent {"connection_id":147857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:28:02] local.INFO: TCP Data received {"connection_id":147856,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:28:02] local.INFO: Processing buffer {"connection_id":147856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:28:02] local.INFO: Packet analysis {"connection_id":147856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:28:02] local.INFO: Extracted packet for processing {"connection_id":147856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:28:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129090304001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785660810000,"timestamp_ms":1785660810000,"timestamp_seconds":1785660810,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ada310"} 
[2026-08-02 14:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129090304001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129090304001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:28:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:28:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129090304001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":147856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:28:02] local.INFO: GPS data processed {"connection_id":147856,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:28:02] local.INFO: Acknowledgment sent {"connection_id":147856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:28:07] local.INFO: TCP Data received {"connection_id":147857,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b0b438012d8f6c4005dc1f10001b005e2e..."} 
[2026-08-02 14:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b0b438012d8f6c4005dc1f10001b005e2e..."} 
[2026-08-02 14:28:07] local.INFO: Processing buffer {"connection_id":147857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b0b438012d8f6c4005dc1f10001b005e2e..."} 
[2026-08-02 14:28:07] local.INFO: Packet analysis {"connection_id":147857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b0"} 
[2026-08-02 14:28:07] local.INFO: Extracted packet for processing {"connection_id":147857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b0"} 
[2026-08-02 14:28:07] local.INFO: GPS Element Parsed {"raw_longitude":764374080,"raw_latitude":98311952,"longitude_deg":76.437408,"latitude_deg":9.8311952,"altitude":27,"angle":94,"satellites":46,"speed":6,"hex_longitude":"2d8f6c40","hex_latitude":"05dc1f10","is_valid_coordinates":true} 
[2026-08-02 14:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129216000001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113941775806103552,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8113938390981789696,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785661011000,"timestamp_ms":1785661011000,"timestamp_seconds":1785661011,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b0b438"} 
[2026-08-02 14:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:28: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-08-02 14:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 14:28:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2973434062,"corrected_to":0} 
[2026-08-02 14:28:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3249530160,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2403696645,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:07] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2955896833,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:07] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3933894424838744064,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:07] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3433627648,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3694206976,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:07] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57897237200394319,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:07] local.WARNING: Large IO value detected {"io_id":175,"raw_value":-4465317735352090619,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,59,88,24,241,157,16,205,159,102,45,128,34,23,40,10,66,90,35,39,70,1,240,56,227,193,220,4,113,15,237,41,32,239,52,2,148,5,14,12,175],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2973434062,"validated":0}]} 
[2026-08-02 14:28:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801557691966554112,"timestamp_seconds":1801557691966554.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 14:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129216000001,"66":13493,"59":206,"88":20224,"24":6,"16":113941775806103552,"45":-8113938390981789696},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,88,24,16,45]} 
[2026-08-02 14:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129216000001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:28:07] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 14:28:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113941775806103552,"km_value":113941775806103.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8113938390981789696,"description":"Unknown IO ID 45"} 
[2026-08-02 14:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129216000001,"power":13493,"unknown_59":206,"unknown_88":20224,"ignition":6,"odometer":null,"unknown_45":-8113938390981789696}} 
[2026-08-02 14:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":147857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:28:07] local.INFO: GPS data processed {"connection_id":147857,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:28:07] local.INFO: Acknowledgment sent {"connection_id":147857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:28:28] local.INFO: TCP Data received {"connection_id":146617,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:28:28] local.INFO: Processing buffer {"connection_id":146617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:28:28] local.INFO: IMEI packet received {"connection_id":146617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":146617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:28:29] local.INFO: TCP Data received {"connection_id":149171,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:28:29] local.INFO: Processing buffer {"connection_id":149171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:28:29] local.INFO: IMEI packet received {"connection_id":149171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":149171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:28:33] local.INFO: TCP Data received {"connection_id":146617,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:28:33] local.INFO: Processing buffer {"connection_id":146617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:28:33] local.INFO: IMEI packet received {"connection_id":146617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":146617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:28:33] local.INFO: TCP Data received {"connection_id":146617,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b1e8d0012d8f97c005dc1c08001b00532b..."} 
[2026-08-02 14:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b1e8d0012d8f97c005dc1c08001b00532b..."} 
[2026-08-02 14:28:33] local.INFO: Processing buffer {"connection_id":146617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b1e8d0012d8f97c005dc1c08001b00532b..."} 
[2026-08-02 14:28:33] local.INFO: Packet analysis {"connection_id":146617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b1"} 
[2026-08-02 14:28:33] local.INFO: Extracted packet for processing {"connection_id":146617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b1"} 
[2026-08-02 14:28:33] local.INFO: GPS Element Parsed {"raw_longitude":764385216,"raw_latitude":98311176,"longitude_deg":76.4385216,"latitude_deg":9.8311176,"altitude":27,"angle":83,"satellites":43,"speed":9,"hex_longitude":"2d8f97c0","hex_latitude":"05dc1c08","is_valid_coordinates":true} 
[2026-08-02 14:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129238528001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113942312677015552,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8100286854611599360,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785661090000,"timestamp_ms":1785661090000,"timestamp_seconds":1785661090,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b1e8d0"} 
[2026-08-02 14:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-02 14:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129238528001,"66":13352,"59":206,"88":20224,"24":9,"16":113942312677015552,"45":-8100286854611599360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,88,24,16,45]} 
[2026-08-02 14:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129238528001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:28:33] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 14:28:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113942312677015552,"km_value":113942312677015.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8100286854611599360,"description":"Unknown IO ID 45"} 
[2026-08-02 14:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129238528001,"power":13352,"unknown_59":206,"unknown_88":20224,"ignition":9,"odometer":null,"unknown_45":-8100286854611599360}} 
[2026-08-02 14:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":146617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:28:33] local.INFO: GPS data processed {"connection_id":146617,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:28:33] local.INFO: Acknowledgment sent {"connection_id":146617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:28:34] local.INFO: TCP Data received {"connection_id":149171,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:28:34] local.INFO: Processing buffer {"connection_id":149171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:28:34] local.INFO: IMEI packet received {"connection_id":149171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":149171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:28:35] local.INFO: TCP Data received {"connection_id":149171,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:28:35] local.INFO: Processing buffer {"connection_id":149171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:28:35] local.INFO: Packet analysis {"connection_id":149171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:28:35] local.INFO: Extracted packet for processing {"connection_id":149171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:28:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129090304001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785660810000,"timestamp_ms":1785660810000,"timestamp_seconds":1785660810,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ada310"} 
[2026-08-02 14:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129090304001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129090304001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:28:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:28:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:28:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129090304001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":149171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:28:35] local.INFO: GPS data processed {"connection_id":149171,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:28:35] local.INFO: Acknowledgment sent {"connection_id":149171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:29:05] local.INFO: TCP Data received {"connection_id":146617,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b20040012d8f9f0005dc1d28001b00472a..."} 
[2026-08-02 14:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b20040012d8f9f0005dc1d28001b00472a..."} 
[2026-08-02 14:29:05] local.INFO: Processing buffer {"connection_id":146617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b20040012d8f9f0005dc1d28001b00472a..."} 
[2026-08-02 14:29:05] local.INFO: Packet analysis {"connection_id":146617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:29:05] local.INFO: Extracted packet for processing {"connection_id":146617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:29:05] local.INFO: GPS Element Parsed {"raw_longitude":764387072,"raw_latitude":98311464,"longitude_deg":76.4387072,"latitude_deg":9.8311464,"altitude":27,"angle":71,"satellites":42,"speed":11,"hex_longitude":"2d8f9f00","hex_latitude":"05dc1d28","is_valid_coordinates":true} 
[2026-08-02 14:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129239040001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113942402871328768,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8099794273402353664,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785661096000,"timestamp_ms":1785661096000,"timestamp_seconds":1785661096,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b20040"} 
[2026-08-02 14:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:29: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-08-02 14: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-02 14:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129239040001,"66":12667,"59":206,"88":20224,"24":11,"16":113942402871328768,"45":-8099794273402353664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,88,24,16,45]} 
[2026-08-02 14:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129239040001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:29:05] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 14:29:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113942402871328768,"km_value":113942402871328.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8099794273402353664,"description":"Unknown IO ID 45"} 
[2026-08-02 14:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129239040001,"power":12667,"unknown_59":206,"unknown_88":20224,"ignition":11,"odometer":null,"unknown_45":-8099794273402353664}} 
[2026-08-02 14:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":146617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:29:05] local.INFO: GPS data processed {"connection_id":146617,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:29:05] local.INFO: Acknowledgment sent {"connection_id":146617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:29:07] local.INFO: TCP Data received {"connection_id":149171,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:29:07] local.INFO: Processing buffer {"connection_id":149171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ada310012cc330c007685958005800c52b..."} 
[2026-08-02 14:29:07] local.INFO: Packet analysis {"connection_id":149171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:29:07] local.INFO: Extracted packet for processing {"connection_id":149171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ad"} 
[2026-08-02 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129090304001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785660810000,"timestamp_ms":1785660810000,"timestamp_seconds":1785660810,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ada310"} 
[2026-08-02 14:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14: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-08-02 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129090304001,"66":25538,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129090304001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:29:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:29:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:29:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129090304001,"power":25538,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":149171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:29:07] local.INFO: GPS data processed {"connection_id":149171,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:29:07] local.INFO: Acknowledgment sent {"connection_id":149171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:29:27] local.INFO: TCP Data received {"connection_id":147858,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:29:27] local.INFO: Processing buffer {"connection_id":147858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:29:27] local.INFO: IMEI packet received {"connection_id":147858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":147858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:29:29] local.INFO: TCP Data received {"connection_id":146618,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:29:29] local.INFO: Processing buffer {"connection_id":146618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:29:29] local.INFO: IMEI packet received {"connection_id":146618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":146618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:29:33] local.INFO: TCP Data received {"connection_id":147858,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:29:33] local.INFO: Processing buffer {"connection_id":147858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:29:33] local.INFO: IMEI packet received {"connection_id":147858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":147858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:29:33] local.INFO: TCP Data received {"connection_id":147858,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b20fe0012d8fa2c005dc1ed0001c003a2b..."} 
[2026-08-02 14:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b20fe0012d8fa2c005dc1ed0001c003a2b..."} 
[2026-08-02 14:29:33] local.INFO: Processing buffer {"connection_id":147858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b20fe0012d8fa2c005dc1ed0001c003a2b..."} 
[2026-08-02 14:29:33] local.INFO: Packet analysis {"connection_id":147858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:29:33] local.INFO: Extracted packet for processing {"connection_id":147858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:29:33] local.INFO: GPS Element Parsed {"raw_longitude":764388032,"raw_latitude":98311888,"longitude_deg":76.4388032,"latitude_deg":9.8311888,"altitude":28,"angle":58,"satellites":43,"speed":9,"hex_longitude":"2d8fa2c0","hex_latitude":"05dc1ed0","is_valid_coordinates":true} 
[2026-08-02 14:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129240576001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113942454410936320,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8097753579821127680,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785661100000,"timestamp_ms":1785661100000,"timestamp_seconds":1785661100,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b20fe0"} 
[2026-08-02 14:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-02 14:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129240576001,"66":13352,"59":206,"88":20224,"24":9,"16":113942454410936320,"45":-8097753579821127680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,88,24,16,45]} 
[2026-08-02 14:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129240576001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:29:33] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 14:29:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113942454410936320,"km_value":113942454410936.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8097753579821127680,"description":"Unknown IO ID 45"} 
[2026-08-02 14:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129240576001,"power":13352,"unknown_59":206,"unknown_88":20224,"ignition":9,"odometer":null,"unknown_45":-8097753579821127680}} 
[2026-08-02 14:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":147858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:29:33] local.INFO: GPS data processed {"connection_id":147858,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:29:33] local.INFO: Acknowledgment sent {"connection_id":147858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:29:34] local.INFO: TCP Data received {"connection_id":146618,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:29:34] local.INFO: Processing buffer {"connection_id":146618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:29:34] local.INFO: IMEI packet received {"connection_id":146618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":146618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:29:35] local.INFO: TCP Data received {"connection_id":146618,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:29:35] local.INFO: Processing buffer {"connection_id":146618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:29:35] local.INFO: Packet analysis {"connection_id":146618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:29:35] local.INFO: Extracted packet for processing {"connection_id":146618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:29:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129167360001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785661111000,"timestamp_ms":1785661111000,"timestamp_seconds":1785661111,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b23ad8"} 
[2026-08-02 14:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129167360001,"66":25223,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129167360001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:29:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:29:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:29:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129167360001,"power":25223,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":146618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:29:35] local.INFO: GPS data processed {"connection_id":146618,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:29:35] local.INFO: Acknowledgment sent {"connection_id":146618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:29:40] local.INFO: TCP Data received {"connection_id":146618,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:29:40] local.INFO: Processing buffer {"connection_id":146618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:29:40] local.INFO: Packet analysis {"connection_id":146618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:29:40] local.INFO: Extracted packet for processing {"connection_id":146618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:29:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 14:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129167360001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785661111000,"timestamp_ms":1785661111000,"timestamp_seconds":1785661111,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b23ad8"} 
[2026-08-02 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-08-02 14:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 14:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129167360001,"66":25223,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129167360001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:29:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:29:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:29:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129167360001,"power":25223,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":146618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:29:40] local.INFO: GPS data processed {"connection_id":146618,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:29:40] local.INFO: Acknowledgment sent {"connection_id":146618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:30:04] local.INFO: TCP Data received {"connection_id":147858,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b217b0012d8fa40005dc1fc8001c002b2a..."} 
[2026-08-02 14:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b217b0012d8fa40005dc1fc8001c002b2a..."} 
[2026-08-02 14:30:04] local.INFO: Processing buffer {"connection_id":147858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b217b0012d8fa40005dc1fc8001c002b2a..."} 
[2026-08-02 14:30:04] local.INFO: Packet analysis {"connection_id":147858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:30:04] local.INFO: Extracted packet for processing {"connection_id":147858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:30:04] local.INFO: GPS Element Parsed {"raw_longitude":764388352,"raw_latitude":98312136,"longitude_deg":76.4388352,"latitude_deg":9.8312136,"altitude":28,"angle":43,"satellites":42,"speed":6,"hex_longitude":"2d8fa400","hex_latitude":"05dc1fc8","is_valid_coordinates":true} 
[2026-08-02 14:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129241600001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113942471590805504,"note":"Value kept but may cause issues"} 
[2026-08-02 14:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8096698048658354176,"note":"Value kept but may cause issues"} 
[2026-08-02 14:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785661102000,"timestamp_ms":1785661102000,"timestamp_seconds":1785661102,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b217b0"} 
[2026-08-02 14:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-02 14:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129241600001,"66":12863,"59":206,"88":20224,"24":6,"16":113942471590805504,"45":-8096698048658354176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,88,24,16,45]} 
[2026-08-02 14:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129241600001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:30:04] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 14:30:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113942471590805504,"km_value":113942471590805.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8096698048658354176,"description":"Unknown IO ID 45"} 
[2026-08-02 14:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129241600001,"power":12863,"unknown_59":206,"unknown_88":20224,"ignition":6,"odometer":null,"unknown_45":-8096698048658354176}} 
[2026-08-02 14:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":147858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:30:05] local.INFO: GPS data processed {"connection_id":147858,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:30:05] local.INFO: Acknowledgment sent {"connection_id":147858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:30:24] local.INFO: TCP Data received {"connection_id":147859,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:30:24] local.INFO: Processing buffer {"connection_id":147859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:30:24] local.INFO: IMEI packet received {"connection_id":147859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":147859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:30:29] local.INFO: TCP Data received {"connection_id":147859,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:30:29] local.INFO: Processing buffer {"connection_id":147859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:30:29] local.INFO: IMEI packet received {"connection_id":147859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":147859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:30:30] local.INFO: TCP Data received {"connection_id":147859,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:30:30] local.INFO: Processing buffer {"connection_id":147859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:30:30] local.INFO: Packet analysis {"connection_id":147859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:30:30] local.INFO: Extracted packet for processing {"connection_id":147859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:30:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129167360001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785661111000,"timestamp_ms":1785661111000,"timestamp_seconds":1785661111,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b23ad8"} 
[2026-08-02 14:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129167360001,"66":25223,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129167360001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:30:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:30:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129167360001,"power":25223,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":147859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:30:30] local.INFO: GPS data processed {"connection_id":147859,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:30:30] local.INFO: Acknowledgment sent {"connection_id":147859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:30:34] local.INFO: TCP Data received {"connection_id":149172,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:30:34] local.INFO: Processing buffer {"connection_id":149172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:30:34] local.INFO: IMEI packet received {"connection_id":149172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":149172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:30:35] local.INFO: TCP Data received {"connection_id":149172,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:30:35] local.INFO: Processing buffer {"connection_id":149172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:30:35] local.INFO: IMEI packet received {"connection_id":149172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":149172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:30:35] local.INFO: TCP Data received {"connection_id":149172,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b24690012d8fa58005dc2218001c001b2c..."} 
[2026-08-02 14:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b24690012d8fa58005dc2218001c001b2c..."} 
[2026-08-02 14:30:35] local.INFO: Processing buffer {"connection_id":149172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b24690012d8fa58005dc2218001c001b2c..."} 
[2026-08-02 14:30:35] local.INFO: Packet analysis {"connection_id":149172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:30:35] local.INFO: Extracted packet for processing {"connection_id":149172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:30:35] local.INFO: GPS Element Parsed {"raw_longitude":764388736,"raw_latitude":98312728,"longitude_deg":76.4388736,"latitude_deg":9.8312728,"altitude":28,"angle":27,"satellites":44,"speed":3,"hex_longitude":"2d8fa580","hex_latitude":"05dc2218","is_valid_coordinates":true} 
[2026-08-02 14:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129242112001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113942510245511168,"note":"Value kept but may cause issues"} 
[2026-08-02 14:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8096346204937402368,"note":"Value kept but may cause issues"} 
[2026-08-02 14:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785661114000,"timestamp_ms":1785661114000,"timestamp_seconds":1785661114,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b24690"} 
[2026-08-02 14:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14: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":63,"data_length":795,"current_offset":136} 
[2026-08-02 14:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129242112001,"66":12798,"59":206,"88":20224,"24":3,"16":113942510245511168,"45":-8096346204937402368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,88,24,16,45]} 
[2026-08-02 14:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129242112001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:30:35] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 14:30:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113942510245511168,"km_value":113942510245511.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8096346204937402368,"description":"Unknown IO ID 45"} 
[2026-08-02 14:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129242112001,"power":12798,"unknown_59":206,"unknown_88":20224,"ignition":3,"odometer":null,"unknown_45":-8096346204937402368}} 
[2026-08-02 14:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":149172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:30:35] local.INFO: GPS data processed {"connection_id":149172,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:30:35] local.INFO: Acknowledgment sent {"connection_id":149172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:30:52] local.INFO: TCP Data received {"connection_id":149172,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b24e60012d8fa60005dc22d8001b00292b..."} 
[2026-08-02 14:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b24e60012d8fa60005dc22d8001b00292b..."} 
[2026-08-02 14:30:52] local.INFO: Processing buffer {"connection_id":149172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b24e60012d8fa60005dc22d8001b00292b..."} 
[2026-08-02 14:30:52] local.INFO: Packet analysis {"connection_id":149172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:30:52] local.INFO: Extracted packet for processing {"connection_id":149172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:30:52] local.INFO: GPS Element Parsed {"raw_longitude":764388864,"raw_latitude":98312920,"longitude_deg":76.4388864,"latitude_deg":9.831292,"altitude":27,"angle":41,"satellites":43,"speed":3,"hex_longitude":"2d8fa600","hex_latitude":"05dc22d8","is_valid_coordinates":true} 
[2026-08-02 14:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129245184001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113942523130413056,"note":"Value kept but may cause issues"} 
[2026-08-02 14:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8095923992472184832,"note":"Value kept but may cause issues"} 
[2026-08-02 14:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785661116000,"timestamp_ms":1785661116000,"timestamp_seconds":1785661116,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b24e60"} 
[2026-08-02 14:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-02 14:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129245184001,"66":13102,"59":206,"88":20224,"24":3,"16":113942523130413056,"45":-8095923992472184832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,88,24,16,45]} 
[2026-08-02 14:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129245184001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:30:52] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 14:30:52] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113942523130413056,"km_value":113942523130413.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8095923992472184832,"description":"Unknown IO ID 45"} 
[2026-08-02 14:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129245184001,"power":13102,"unknown_59":206,"unknown_88":20224,"ignition":3,"odometer":null,"unknown_45":-8095923992472184832}} 
[2026-08-02 14:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":149172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:30:52] local.INFO: GPS data processed {"connection_id":149172,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:30:52] local.INFO: Acknowledgment sent {"connection_id":149172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:31:02] local.INFO: TCP Data received {"connection_id":147859,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:31:02] local.INFO: Processing buffer {"connection_id":147859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:31:02] local.INFO: Packet analysis {"connection_id":147859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:31:02] local.INFO: Extracted packet for processing {"connection_id":147859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:31:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129167360001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:31:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785661111000,"timestamp_ms":1785661111000,"timestamp_seconds":1785661111,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b23ad8"} 
[2026-08-02 14:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129167360001,"66":25223,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129167360001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:31:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:31:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:31:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129167360001,"power":25223,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":147859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:31:02] local.INFO: GPS data processed {"connection_id":147859,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:31:02] local.INFO: Acknowledgment sent {"connection_id":147859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:31:24] local.INFO: TCP Data received {"connection_id":146619,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:31:24] local.INFO: Processing buffer {"connection_id":146619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:31:24] local.INFO: IMEI packet received {"connection_id":146619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":146619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:31:27] local.INFO: TCP Data received {"connection_id":149173,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:31:27] local.INFO: Processing buffer {"connection_id":149173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:31:27] local.INFO: IMEI packet received {"connection_id":149173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":149173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:31:29] local.INFO: TCP Data received {"connection_id":146619,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:31:29] local.INFO: Processing buffer {"connection_id":146619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:31:29] local.INFO: IMEI packet received {"connection_id":146619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":146619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:31:30] local.INFO: TCP Data received {"connection_id":149173,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:31:30] local.INFO: Processing buffer {"connection_id":149173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:31:30] local.INFO: IMEI packet received {"connection_id":149173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":149173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:31:30] local.INFO: TCP Data received {"connection_id":146619,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:31:30] local.INFO: Processing buffer {"connection_id":146619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:31:30] local.INFO: Packet analysis {"connection_id":146619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:31:30] local.INFO: Extracted packet for processing {"connection_id":146619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:31:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129167360001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785661111000,"timestamp_ms":1785661111000,"timestamp_seconds":1785661111,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b23ad8"} 
[2026-08-02 14:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129167360001,"66":25223,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129167360001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:31:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:31:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129167360001,"power":25223,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":146619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:31:30] local.INFO: GPS data processed {"connection_id":146619,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:31:30] local.INFO: Acknowledgment sent {"connection_id":146619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:31:33] local.INFO: TCP Data received {"connection_id":149173,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:31:33] local.INFO: Processing buffer {"connection_id":149173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:31:33] local.INFO: IMEI packet received {"connection_id":149173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":149173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:31:33] local.INFO: TCP Data received {"connection_id":149173,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b43a90012d8fca4005dc39100013004a2b..."} 
[2026-08-02 14:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b43a90012d8fca4005dc39100013004a2b..."} 
[2026-08-02 14:31:34] local.INFO: Processing buffer {"connection_id":149173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b43a90012d8fca4005dc39100013004a2b..."} 
[2026-08-02 14:31:34] local.INFO: Packet analysis {"connection_id":149173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b4"} 
[2026-08-02 14:31:34] local.INFO: Extracted packet for processing {"connection_id":149173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b4"} 
[2026-08-02 14:31:34] local.INFO: GPS Element Parsed {"raw_longitude":764398144,"raw_latitude":98318608,"longitude_deg":76.4398144,"latitude_deg":9.8318608,"altitude":19,"angle":74,"satellites":43,"speed":0,"hex_longitude":"2d8fca40","hex_latitude":"05dc3910","is_valid_coordinates":true} 
[2026-08-02 14:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129272832001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113943077181194240,"note":"Value kept but may cause issues"} 
[2026-08-02 14:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8088816749309038592,"note":"Value kept but may cause issues"} 
[2026-08-02 14:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785661242000,"timestamp_ms":1785661242000,"timestamp_seconds":1785661242,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b43a90"} 
[2026-08-02 14:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 14:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129272832001,"66":13352,"59":206,"88":20224,"24":0,"16":113943077181194240,"45":-8088816749309038592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,88,24,16,45]} 
[2026-08-02 14:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129272832001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:31:34] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 14:31:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113943077181194240,"km_value":113943077181194.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8088816749309038592,"description":"Unknown IO ID 45"} 
[2026-08-02 14:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129272832001,"power":13352,"unknown_59":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8088816749309038592}} 
[2026-08-02 14:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":149173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:31:34] local.INFO: GPS data processed {"connection_id":149173,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:31:34] local.INFO: Acknowledgment sent {"connection_id":149173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:32:02] local.INFO: TCP Data received {"connection_id":146619,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:32:02] local.INFO: Processing buffer {"connection_id":146619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:32:02] local.INFO: Packet analysis {"connection_id":146619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:32:02] local.INFO: Extracted packet for processing {"connection_id":146619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:32:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129167360001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:32:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785661111000,"timestamp_ms":1785661111000,"timestamp_seconds":1785661111,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b23ad8"} 
[2026-08-02 14:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129167360001,"66":25223,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129167360001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:32:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:32:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:32:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129167360001,"power":25223,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":146619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:32:02] local.INFO: GPS data processed {"connection_id":146619,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:32:02] local.INFO: Acknowledgment sent {"connection_id":146619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:32:29] local.INFO: TCP Data received {"connection_id":146620,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:32:29] local.INFO: Processing buffer {"connection_id":146620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:32:29] local.INFO: IMEI packet received {"connection_id":146620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":146620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:32:34] local.INFO: TCP Data received {"connection_id":149173,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b48c98012d8fda0005dc3df00011004d2a..."} 
[2026-08-02 14:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b48c98012d8fda0005dc3df00011004d2a..."} 
[2026-08-02 14:32:34] local.INFO: Processing buffer {"connection_id":149173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b48c98012d8fda0005dc3df00011004d2a..."} 
[2026-08-02 14:32:34] local.INFO: Packet analysis {"connection_id":149173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b4"} 
[2026-08-02 14:32:34] local.INFO: Extracted packet for processing {"connection_id":149173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b4"} 
[2026-08-02 14:32:34] local.INFO: GPS Element Parsed {"raw_longitude":764402176,"raw_latitude":98319856,"longitude_deg":76.4402176,"latitude_deg":9.8319856,"altitude":17,"angle":77,"satellites":42,"speed":9,"hex_longitude":"2d8fda00","hex_latitude":"05dc3df0","is_valid_coordinates":true} 
[2026-08-02 14:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129277952001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113943283339624448,"note":"Value kept but may cause issues"} 
[2026-08-02 14:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8085579787076562944,"note":"Value kept but may cause issues"} 
[2026-08-02 14:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785661263000,"timestamp_ms":1785661263000,"timestamp_seconds":1785661263,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b48c98"} 
[2026-08-02 14:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-02 14:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129277952001,"66":13580,"77":206,"85":13824,"24":9,"16":113943283339624448,"45":-8085579787076562944},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,85,24,16,45]} 
[2026-08-02 14:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129277952001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:32:34] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-02 14:32:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-02 14:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113943283339624448,"km_value":113943283339624.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8085579787076562944,"description":"Unknown IO ID 45"} 
[2026-08-02 14:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129277952001,"power":13580,"unknown_77":206,"unknown_85":13824,"ignition":9,"odometer":null,"unknown_45":-8085579787076562944}} 
[2026-08-02 14:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":149173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:32:34] local.INFO: GPS data processed {"connection_id":149173,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:32:34] local.INFO: Acknowledgment sent {"connection_id":149173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:32:34] local.INFO: TCP Data received {"connection_id":146620,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:32:34] local.INFO: Processing buffer {"connection_id":146620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:32:34] local.INFO: IMEI packet received {"connection_id":146620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":146620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:32:35] local.INFO: TCP Data received {"connection_id":146620,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:32:35] local.INFO: Processing buffer {"connection_id":146620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:32:35] local.INFO: Packet analysis {"connection_id":146620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:32:35] local.INFO: Extracted packet for processing {"connection_id":146620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:32:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129167360001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:32:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785661111000,"timestamp_ms":1785661111000,"timestamp_seconds":1785661111,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b23ad8"} 
[2026-08-02 14:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129167360001,"66":25223,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129167360001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:32:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:32:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:32:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129167360001,"power":25223,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":146620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:32:35] local.INFO: GPS data processed {"connection_id":146620,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:32:35] local.INFO: Acknowledgment sent {"connection_id":146620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:32:37] local.INFO: TCP Data received {"connection_id":149174,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:32:37] local.INFO: Processing buffer {"connection_id":149174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:32:37] local.INFO: IMEI packet received {"connection_id":149174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":149174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:32:38] local.INFO: TCP Data received {"connection_id":149174,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:32:38] local.INFO: Processing buffer {"connection_id":149174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:32:38] local.INFO: IMEI packet received {"connection_id":149174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":149174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:32:38] local.INFO: TCP Data received {"connection_id":149174,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:32:38] local.INFO: Processing buffer {"connection_id":149174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:32:38] local.INFO: IMEI packet received {"connection_id":149174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":149174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:32:43] local.INFO: TCP Data received {"connection_id":149174,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:32:43] local.INFO: Processing buffer {"connection_id":149174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:32:43] local.INFO: IMEI packet received {"connection_id":149174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":149174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:32:43] local.INFO: TCP Data received {"connection_id":149174,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b5d0d0012d90028005dc4718000700e528..."} 
[2026-08-02 14:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b5d0d0012d90028005dc4718000700e528..."} 
[2026-08-02 14:32:43] local.INFO: Processing buffer {"connection_id":149174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b5d0d0012d90028005dc4718000700e528..."} 
[2026-08-02 14:32:43] local.INFO: Packet analysis {"connection_id":149174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b5"} 
[2026-08-02 14:32:43] local.INFO: Extracted packet for processing {"connection_id":149174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b5"} 
[2026-08-02 14:32:43] local.INFO: GPS Element Parsed {"raw_longitude":764412544,"raw_latitude":98322200,"longitude_deg":76.4412544,"latitude_deg":9.83222,"altitude":7,"angle":229,"satellites":40,"speed":3,"hex_longitude":"2d900280","hex_latitude":"05dc4718","is_valid_coordinates":true} 
[2026-08-02 14:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129304064001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113943858865242112,"note":"Value kept but may cause issues"} 
[2026-08-02 14:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8069606082147287040,"note":"Value kept but may cause issues"} 
[2026-08-02 14:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785661346000,"timestamp_ms":1785661346000,"timestamp_seconds":1785661346,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b5d0d0"} 
[2026-08-02 14:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 14:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":149174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":149174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":149174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129304064001,"66":13450,"32":206,"88":20224,"24":3,"16":113943858865242112,"45":-8069606082147287040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,88,24,16,45]} 
[2026-08-02 14:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129304064001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:32:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-02 14:32:43] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113943858865242112,"km_value":113943858865242.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8069606082147287040,"description":"Unknown IO ID 45"} 
[2026-08-02 14:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129304064001,"power":13450,"unknown_32":206,"unknown_88":20224,"ignition":3,"odometer":null,"unknown_45":-8069606082147287040}} 
[2026-08-02 14:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":149174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:32:44] local.INFO: GPS data processed {"connection_id":149174,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:32:44] local.INFO: Acknowledgment sent {"connection_id":149174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:33:07] local.INFO: TCP Data received {"connection_id":146620,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:33:07] local.INFO: Processing buffer {"connection_id":146620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:33:07] local.INFO: Packet analysis {"connection_id":146620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:33:07] local.INFO: Extracted packet for processing {"connection_id":146620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129167360001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:33:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785661111000,"timestamp_ms":1785661111000,"timestamp_seconds":1785661111,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b23ad8"} 
[2026-08-02 14:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:33: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-08-02 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 14:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129167360001,"66":25223,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129167360001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:33:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:33:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:33:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129167360001,"power":25223,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":146620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:33:07] local.INFO: GPS data processed {"connection_id":146620,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:33:07] local.INFO: Acknowledgment sent {"connection_id":146620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:33:24] local.INFO: TCP Data received {"connection_id":146833,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:33:24] local.INFO: Processing buffer {"connection_id":146833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:33:24] local.INFO: IMEI packet received {"connection_id":146833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":146833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:33:27] local.INFO: TCP Data received {"connection_id":146834,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:33:27] local.INFO: Processing buffer {"connection_id":146834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:33:27] local.INFO: IMEI packet received {"connection_id":146834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":146834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:33:28] local.INFO: TCP Data received {"connection_id":146834,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:33:28] local.INFO: Processing buffer {"connection_id":146834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:33:28] local.INFO: IMEI packet received {"connection_id":146834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":146834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:33:30] local.INFO: TCP Data received {"connection_id":146833,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:33:30] local.INFO: Processing buffer {"connection_id":146833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:33:30] local.INFO: IMEI packet received {"connection_id":146833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":146833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:33:31] local.INFO: TCP Data received {"connection_id":146833,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:33:31] local.INFO: Processing buffer {"connection_id":146833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:33:31] local.INFO: Packet analysis {"connection_id":146833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:33:31] local.INFO: Extracted packet for processing {"connection_id":146833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:33:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129167360001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:33:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785661111000,"timestamp_ms":1785661111000,"timestamp_seconds":1785661111,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b23ad8"} 
[2026-08-02 14:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129167360001,"66":25223,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129167360001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:33:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:33:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:33:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129167360001,"power":25223,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":146833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:33:31] local.INFO: GPS data processed {"connection_id":146833,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:33:31] local.INFO: Acknowledgment sent {"connection_id":146833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:33:44] local.INFO: TCP Data received {"connection_id":146834,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:33:44] local.INFO: Processing buffer {"connection_id":146834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:33:44] local.INFO: IMEI packet received {"connection_id":146834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":146834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:34:01] local.INFO: TCP Data received {"connection_id":146834,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:34:01] local.INFO: Processing buffer {"connection_id":146834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:34:01] local.INFO: IMEI packet received {"connection_id":146834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":146834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:34:02] local.INFO: TCP Data received {"connection_id":146834,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b5e840012d90024005dc46900007003a29..."} 
[2026-08-02 14:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b5e840012d90024005dc46900007003a29..."} 
[2026-08-02 14:34:02] local.INFO: Processing buffer {"connection_id":146834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b5e840012d90024005dc46900007003a29..."} 
[2026-08-02 14:34:02] local.INFO: Packet analysis {"connection_id":146834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b5"} 
[2026-08-02 14:34:02] local.INFO: Extracted packet for processing {"connection_id":146834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b5"} 
[2026-08-02 14:34:02] local.INFO: GPS Element Parsed {"raw_longitude":764412480,"raw_latitude":98322064,"longitude_deg":76.441248,"latitude_deg":9.8322064,"altitude":7,"angle":58,"satellites":41,"speed":0,"hex_longitude":"2d900240","hex_latitude":"05dc4690","is_valid_coordinates":true} 
[2026-08-02 14:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129304576001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113943871750144000,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8069746819635668992,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785661352000,"timestamp_ms":1785661352000,"timestamp_seconds":1785661352,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b5e840"} 
[2026-08-02 14:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 14:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129304576001,"66":13319,"77":206,"85":13824,"24":0,"16":113943871750144000,"45":-8069746819635668992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,85,24,16,45]} 
[2026-08-02 14:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129304576001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:34:02] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-02 14:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-02 14:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113943871750144000,"km_value":113943871750144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8069746819635668992,"description":"Unknown IO ID 45"} 
[2026-08-02 14:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129304576001,"power":13319,"unknown_77":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8069746819635668992}} 
[2026-08-02 14:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":146834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:34:02] local.INFO: GPS data processed {"connection_id":146834,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:34:02] local.INFO: Acknowledgment sent {"connection_id":146834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:34:03] local.INFO: TCP Data received {"connection_id":146834,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b5f7e0012d90034005dc47380007004a29..."} 
[2026-08-02 14:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b5f7e0012d90034005dc47380007004a29..."} 
[2026-08-02 14:34:03] local.INFO: Processing buffer {"connection_id":146834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b5f7e0012d90034005dc47380007004a29..."} 
[2026-08-02 14:34:03] local.INFO: Packet analysis {"connection_id":146834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b5"} 
[2026-08-02 14:34:03] local.INFO: Extracted packet for processing {"connection_id":146834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b5"} 
[2026-08-02 14:34:03] local.INFO: GPS Element Parsed {"raw_longitude":764412736,"raw_latitude":98322232,"longitude_deg":76.4412736,"latitude_deg":9.8322232,"altitude":7,"angle":74,"satellites":41,"speed":4,"hex_longitude":"2d900340","hex_latitude":"05dc4738","is_valid_coordinates":true} 
[2026-08-02 14:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129306112001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113943888930013184,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8069817188379881472,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785661356000,"timestamp_ms":1785661356000,"timestamp_seconds":1785661356,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b5f7e0"} 
[2026-08-02 14:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3249879160,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2416132101,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":181,"raw_value":1535728768133758981,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3043448833,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":220,"raw_value":4699506254115121664,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2973434062,"corrected_to":0} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3489738128,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3477405696,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3695515648,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57897237200394319,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,77,85,24,241,157,16,207,159,208,45,128,71,7,40,10,66,32,88,201,181,64,1,240,84,227,193,220,4,113,205,3,83,43,239,52,59,2,148,5,8,94],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2973434062,"validated":0}]} 
[2026-08-02 14:34:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504467106033565696,"timestamp_seconds":504467106033565.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 14:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129306112001,"66":13276,"77":206,"85":13824,"24":4,"16":113943888930013184,"45":-8069817188379881472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,85,24,16,45]} 
[2026-08-02 14:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129306112001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:34:03] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-02 14:34:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-02 14:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113943888930013184,"km_value":113943888930013.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8069817188379881472,"description":"Unknown IO ID 45"} 
[2026-08-02 14:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129306112001,"power":13276,"unknown_77":206,"unknown_85":13824,"ignition":4,"odometer":null,"unknown_45":-8069817188379881472}} 
[2026-08-02 14:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":146834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:34:03] local.INFO: GPS data processed {"connection_id":146834,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:34:03] local.INFO: Acknowledgment sent {"connection_id":146834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:34:03] local.INFO: TCP Data received {"connection_id":146833,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:34:03] local.INFO: Processing buffer {"connection_id":146833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b23ad8012cc330c007685958005800c52c..."} 
[2026-08-02 14:34:03] local.INFO: Packet analysis {"connection_id":146833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:34:03] local.INFO: Extracted packet for processing {"connection_id":146833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b2"} 
[2026-08-02 14:34:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129167360001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785661111000,"timestamp_ms":1785661111000,"timestamp_seconds":1785661111,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b23ad8"} 
[2026-08-02 14:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 14:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129167360001,"66":25223,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129167360001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:34:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:34:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129167360001,"power":25223,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":146833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:34:03] local.INFO: GPS data processed {"connection_id":146833,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:34:03] local.INFO: Acknowledgment sent {"connection_id":146833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:34:24] local.INFO: TCP Data received {"connection_id":149175,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:34:24] local.INFO: Processing buffer {"connection_id":149175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:34:24] local.INFO: IMEI packet received {"connection_id":149175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":149175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:34:29] local.INFO: TCP Data received {"connection_id":149175,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:34:29] local.INFO: Processing buffer {"connection_id":149175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:34:29] local.INFO: IMEI packet received {"connection_id":149175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":149175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:34:31] local.INFO: TCP Data received {"connection_id":149175,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:34:31] local.INFO: Processing buffer {"connection_id":149175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:34:31] local.INFO: Packet analysis {"connection_id":149175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:34:31] local.INFO: Extracted packet for processing {"connection_id":149175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:34:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129244416001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785661412000,"timestamp_ms":1785661412000,"timestamp_seconds":1785661412,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b6d2a0"} 
[2026-08-02 14:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-02 14:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129244416001,"66":25549,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129244416001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:34:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:34:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:34:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129244416001,"power":25549,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":149175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:34:31] local.INFO: GPS data processed {"connection_id":149175,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:34:31] local.INFO: Acknowledgment sent {"connection_id":149175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:34:34] local.INFO: TCP Data received {"connection_id":147860,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:34:34] local.INFO: Processing buffer {"connection_id":147860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:34:34] local.INFO: IMEI packet received {"connection_id":147860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":147860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:34:37] local.INFO: TCP Data received {"connection_id":147860,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:34:37] local.INFO: Processing buffer {"connection_id":147860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:34:37] local.INFO: IMEI packet received {"connection_id":147860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":147860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:34:42] local.INFO: TCP Data received {"connection_id":147860,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:34:42] local.INFO: Processing buffer {"connection_id":147860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:34:42] local.INFO: IMEI packet received {"connection_id":147860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":147860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:34:43] local.INFO: TCP Data received {"connection_id":147860,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b5fbc8012d9003c005dc4738000800322a..."} 
[2026-08-02 14:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b5fbc8012d9003c005dc4738000800322a..."} 
[2026-08-02 14:34:43] local.INFO: Processing buffer {"connection_id":147860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b5fbc8012d9003c005dc4738000800322a..."} 
[2026-08-02 14:34:43] local.INFO: Packet analysis {"connection_id":147860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b5"} 
[2026-08-02 14:34:43] local.INFO: Extracted packet for processing {"connection_id":147860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b5"} 
[2026-08-02 14:34:43] local.INFO: GPS Element Parsed {"raw_longitude":764412864,"raw_latitude":98322232,"longitude_deg":76.4412864,"latitude_deg":9.8322232,"altitude":8,"angle":50,"satellites":42,"speed":0,"hex_longitude":"2d9003c0","hex_latitude":"05dc4738","is_valid_coordinates":true} 
[2026-08-02 14:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129307136001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113943888930013184,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8069535713403127808,"note":"Value kept but may cause issues"} 
[2026-08-02 14:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785661357000,"timestamp_ms":1785661357000,"timestamp_seconds":1785661357,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b5fbc8"} 
[2026-08-02 14:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-02 14:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129307136001,"66":13276,"77":206,"85":13824,"24":0,"16":113943888930013184,"45":-8069535713403127808},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,85,24,16,45]} 
[2026-08-02 14:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129307136001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:34:43] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-02 14:34:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-02 14:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113943888930013184,"km_value":113943888930013.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8069535713403127808,"description":"Unknown IO ID 45"} 
[2026-08-02 14:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129307136001,"power":13276,"unknown_77":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8069535713403127808}} 
[2026-08-02 14:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":147860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:34:43] local.INFO: GPS data processed {"connection_id":147860,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:34:43] local.INFO: Acknowledgment sent {"connection_id":147860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:35:02] local.INFO: TCP Data received {"connection_id":149175,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:35:02] local.INFO: Processing buffer {"connection_id":149175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:35:02] local.INFO: Packet analysis {"connection_id":149175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:35:02] local.INFO: Extracted packet for processing {"connection_id":149175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:35:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14: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-08-02 14:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129244416001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:35:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785661412000,"timestamp_ms":1785661412000,"timestamp_seconds":1785661412,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b6d2a0"} 
[2026-08-02 14:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-02 14:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14: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-08-02 14:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129244416001,"66":25549,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129244416001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:35:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:35:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:35:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129244416001,"power":25549,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":149175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:35:02] local.INFO: GPS data processed {"connection_id":149175,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:35:02] local.INFO: Acknowledgment sent {"connection_id":149175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:35:24] local.INFO: TCP Data received {"connection_id":149176,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:35:24] local.INFO: Processing buffer {"connection_id":149176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:35:24] local.INFO: IMEI packet received {"connection_id":149176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":149176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:35:28] local.INFO: TCP Data received {"connection_id":146621,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:35:28] local.INFO: Processing buffer {"connection_id":146621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:35:28] local.INFO: IMEI packet received {"connection_id":146621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":146621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:35:28] local.INFO: TCP Data received {"connection_id":146621,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:35:28] local.INFO: Processing buffer {"connection_id":146621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:35:28] local.INFO: IMEI packet received {"connection_id":146621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":146621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:35:29] local.INFO: TCP Data received {"connection_id":149176,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:35:29] local.INFO: Processing buffer {"connection_id":149176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:35:29] local.INFO: IMEI packet received {"connection_id":149176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":149176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:35:30] local.INFO: TCP Data received {"connection_id":149176,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:35:30] local.INFO: Processing buffer {"connection_id":149176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:35:30] local.INFO: Packet analysis {"connection_id":149176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:35:30] local.INFO: Extracted packet for processing {"connection_id":149176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:35:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129244416001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785661412000,"timestamp_ms":1785661412000,"timestamp_seconds":1785661412,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b6d2a0"} 
[2026-08-02 14:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-02 14:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129244416001,"66":25549,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129244416001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:35:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:35:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129244416001,"power":25549,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":149176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:35:30] local.INFO: GPS data processed {"connection_id":149176,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:35:30] local.INFO: Acknowledgment sent {"connection_id":149176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:35:33] local.INFO: TCP Data received {"connection_id":146621,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:35:33] local.INFO: Processing buffer {"connection_id":146621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:35:33] local.INFO: IMEI packet received {"connection_id":146621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":146621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:35:35] local.INFO: TCP Data received {"connection_id":146621,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b60f50012d9002c005dc46d0000700fe2b..."} 
[2026-08-02 14:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b60f50012d9002c005dc46d0000700fe2b..."} 
[2026-08-02 14:35:35] local.INFO: Processing buffer {"connection_id":146621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b60f50012d9002c005dc46d0000700fe2b..."} 
[2026-08-02 14:35:35] local.INFO: Packet analysis {"connection_id":146621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:35:35] local.INFO: Extracted packet for processing {"connection_id":146621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:35:35] local.INFO: GPS Element Parsed {"raw_longitude":764412608,"raw_latitude":98322128,"longitude_deg":76.4412608,"latitude_deg":9.8322128,"altitude":7,"angle":254,"satellites":43,"speed":3,"hex_longitude":"2d9002c0","hex_latitude":"05dc46d0","is_valid_coordinates":true} 
[2026-08-02 14:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129307392001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113943901814915072,"note":"Value kept but may cause issues"} 
[2026-08-02 14:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8069394975914772480,"note":"Value kept but may cause issues"} 
[2026-08-02 14:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785661362000,"timestamp_ms":1785661362000,"timestamp_seconds":1785661362,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b60f50"} 
[2026-08-02 14:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-02 14:35: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-08-02 14:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129307392001,"66":13472,"77":206,"85":13824,"24":3,"16":113943901814915072,"45":-8069394975914772480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,85,24,16,45]} 
[2026-08-02 14:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129307392001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:35:35] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-02 14:35:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-02 14:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113943901814915072,"km_value":113943901814915.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8069394975914772480,"description":"Unknown IO ID 45"} 
[2026-08-02 14:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129307392001,"power":13472,"unknown_77":206,"unknown_85":13824,"ignition":3,"odometer":null,"unknown_45":-8069394975914772480}} 
[2026-08-02 14:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":146621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:35:35] local.INFO: GPS data processed {"connection_id":146621,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:35:35] local.INFO: Acknowledgment sent {"connection_id":146621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:36:02] local.INFO: TCP Data received {"connection_id":149176,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:36:02] local.INFO: Processing buffer {"connection_id":149176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:36:02] local.INFO: Packet analysis {"connection_id":149176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:36:02] local.INFO: Extracted packet for processing {"connection_id":149176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:36:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129244416001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785661412000,"timestamp_ms":1785661412000,"timestamp_seconds":1785661412,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b6d2a0"} 
[2026-08-02 14:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-02 14:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129244416001,"66":25549,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129244416001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:36:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:36:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:36:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129244416001,"power":25549,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":149176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:36:02] local.INFO: GPS data processed {"connection_id":149176,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:36:02] local.INFO: Acknowledgment sent {"connection_id":149176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:36:06] local.INFO: TCP Data received {"connection_id":146621,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b61b08012d90020005dc4690000800f32b..."} 
[2026-08-02 14:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b61b08012d90020005dc4690000800f32b..."} 
[2026-08-02 14:36:06] local.INFO: Processing buffer {"connection_id":146621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b61b08012d90020005dc4690000800f32b..."} 
[2026-08-02 14:36:06] local.INFO: Packet analysis {"connection_id":146621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:36:06] local.INFO: Extracted packet for processing {"connection_id":146621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:36:06] local.INFO: GPS Element Parsed {"raw_longitude":764412416,"raw_latitude":98322064,"longitude_deg":76.4412416,"latitude_deg":9.8322064,"altitude":8,"angle":243,"satellites":43,"speed":2,"hex_longitude":"2d900200","hex_latitude":"05dc4690","is_valid_coordinates":true} 
[2026-08-02 14:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129308672001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113943914699816960,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8069676450891509760,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785661365000,"timestamp_ms":1785661365000,"timestamp_seconds":1785661365,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b61b08"} 
[2026-08-02 14:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14: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":160,"data_length":795,"current_offset":136} 
[2026-08-02 14:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129308672001,"66":13406,"77":206,"85":13824,"24":2,"16":113943914699816960,"45":-8069676450891509760},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,85,24,16,45]} 
[2026-08-02 14:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129308672001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:36:06] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-02 14:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-02 14:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113943914699816960,"km_value":113943914699816.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8069676450891509760,"description":"Unknown IO ID 45"} 
[2026-08-02 14:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129308672001,"power":13406,"unknown_77":206,"unknown_85":13824,"ignition":2,"odometer":null,"unknown_45":-8069676450891509760}} 
[2026-08-02 14:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":146621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:36:06] local.INFO: GPS data processed {"connection_id":146621,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:36:06] local.INFO: Acknowledgment sent {"connection_id":146621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:36:24] local.INFO: TCP Data received {"connection_id":146835,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:36:24] local.INFO: Processing buffer {"connection_id":146835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:36:24] local.INFO: IMEI packet received {"connection_id":146835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":146835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:36:29] local.INFO: TCP Data received {"connection_id":146835,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:36:29] local.INFO: Processing buffer {"connection_id":146835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:36:29] local.INFO: IMEI packet received {"connection_id":146835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":146835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:36:30] local.INFO: TCP Data received {"connection_id":146835,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:36:30] local.INFO: Processing buffer {"connection_id":146835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:36:30] local.INFO: Packet analysis {"connection_id":146835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:36:30] local.INFO: Extracted packet for processing {"connection_id":146835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:36:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129244416001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785661412000,"timestamp_ms":1785661412000,"timestamp_seconds":1785661412,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b6d2a0"} 
[2026-08-02 14:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-02 14:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129244416001,"66":25549,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129244416001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:36:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:36:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129244416001,"power":25549,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":146835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:36:30] local.INFO: GPS data processed {"connection_id":146835,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:36:30] local.INFO: Acknowledgment sent {"connection_id":146835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:36:33] local.INFO: TCP Data received {"connection_id":146836,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:36:33] local.INFO: Processing buffer {"connection_id":146836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:36:33] local.INFO: IMEI packet received {"connection_id":146836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":146836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:36:38] local.INFO: TCP Data received {"connection_id":146836,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:36:38] local.INFO: Processing buffer {"connection_id":146836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:36:38] local.INFO: IMEI packet received {"connection_id":146836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":146836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:36:38] local.INFO: TCP Data received {"connection_id":146836,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b93400012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b93400012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:36:38] local.INFO: Processing buffer {"connection_id":146836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b93400012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:36:38] local.INFO: Packet analysis {"connection_id":146836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:36:38] local.INFO: Extracted packet for processing {"connection_id":146836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:36:38] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320640,"longitude_deg":76.4409152,"latitude_deg":9.832064,"altitude":13,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4100","is_valid_coordinates":true} 
[2026-08-02 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-08-02 14:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129356032001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785661568000,"timestamp_ms":1785661568000,"timestamp_seconds":1785661568,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b93400"} 
[2026-08-02 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-08-02 14: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-08-02 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 14:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 14:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129356032001,"66":13189,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129356032001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:36:38] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:36:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129356032001,"power":13189,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":146836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:36:38] local.INFO: GPS data processed {"connection_id":146836,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:36:38] local.INFO: Acknowledgment sent {"connection_id":146836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:36:43] local.INFO: TCP Data received {"connection_id":146836,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b966c8012d8ff54005dc4100000d00e727..."} 
[2026-08-02 14:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b966c8012d8ff54005dc4100000d00e727..."} 
[2026-08-02 14:36:43] local.INFO: Processing buffer {"connection_id":146836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b966c8012d8ff54005dc4100000d00e727..."} 
[2026-08-02 14:36:43] local.INFO: Packet analysis {"connection_id":146836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:36:43] local.INFO: Extracted packet for processing {"connection_id":146836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:36:43] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320640,"longitude_deg":76.4409152,"latitude_deg":9.832064,"altitude":13,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4100","is_valid_coordinates":true} 
[2026-08-02 14:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129361408001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785661581000,"timestamp_ms":1785661581000,"timestamp_seconds":1785661581,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b966c8"} 
[2026-08-02 14:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 14: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-02 14:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129361408001,"66":13298,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129361408001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:36:43] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:36:43] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129361408001,"power":13298,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":146836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:36:43] local.INFO: GPS data processed {"connection_id":146836,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:36:43] local.INFO: Acknowledgment sent {"connection_id":146836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:37:02] local.INFO: TCP Data received {"connection_id":146835,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:37:02] local.INFO: Processing buffer {"connection_id":146835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:37:02] local.INFO: Packet analysis {"connection_id":146835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:37:02] local.INFO: Extracted packet for processing {"connection_id":146835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:37:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129244416001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:37:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785661412000,"timestamp_ms":1785661412000,"timestamp_seconds":1785661412,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b6d2a0"} 
[2026-08-02 14:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-02 14:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129244416001,"66":25549,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129244416001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:37:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:37:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:37:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129244416001,"power":25549,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":146835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:37:02] local.INFO: GPS data processed {"connection_id":146835,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:37:02] local.INFO: Acknowledgment sent {"connection_id":146835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:37:27] local.INFO: TCP Data received {"connection_id":146837,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:37:27] local.INFO: Processing buffer {"connection_id":146837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:37:27] local.INFO: IMEI packet received {"connection_id":146837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":146837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:37:29] local.INFO: TCP Data received {"connection_id":146622,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:37:29] local.INFO: Processing buffer {"connection_id":146622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:37:29] local.INFO: IMEI packet received {"connection_id":146622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":146622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:37:33] local.INFO: TCP Data received {"connection_id":146837,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:37:33] local.INFO: Processing buffer {"connection_id":146837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:37:33] local.INFO: IMEI packet received {"connection_id":146837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":146837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:37:33] local.INFO: TCP Data received {"connection_id":146837,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b966c8012d8ff54005dc4100000d00e727..."} 
[2026-08-02 14:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b966c8012d8ff54005dc4100000d00e727..."} 
[2026-08-02 14:37:33] local.INFO: Processing buffer {"connection_id":146837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b966c8012d8ff54005dc4100000d00e727..."} 
[2026-08-02 14:37:33] local.INFO: Packet analysis {"connection_id":146837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:37:33] local.INFO: Extracted packet for processing {"connection_id":146837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:37:33] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320640,"longitude_deg":76.4409152,"latitude_deg":9.832064,"altitude":13,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4100","is_valid_coordinates":true} 
[2026-08-02 14:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129364736001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785661581000,"timestamp_ms":1785661581000,"timestamp_seconds":1785661581,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b966c8"} 
[2026-08-02 14:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-02 14:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129364736001,"66":13298,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129364736001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:37:33] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:37:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129364736001,"power":13298,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":146837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:37:33] local.INFO: GPS data processed {"connection_id":146837,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:37:33] local.INFO: Acknowledgment sent {"connection_id":146837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:37:34] local.INFO: TCP Data received {"connection_id":146622,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:37:34] local.INFO: Processing buffer {"connection_id":146622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:37:34] local.INFO: IMEI packet received {"connection_id":146622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":146622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:37:35] local.INFO: TCP Data received {"connection_id":146622,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:37:35] local.INFO: Processing buffer {"connection_id":146622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:37:35] local.INFO: Packet analysis {"connection_id":146622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:37:35] local.INFO: Extracted packet for processing {"connection_id":146622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:37:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129244416001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785661412000,"timestamp_ms":1785661412000,"timestamp_seconds":1785661412,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b6d2a0"} 
[2026-08-02 14:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-02 14:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129244416001,"66":25549,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129244416001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:37:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:37:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129244416001,"power":25549,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":146622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:37:36] local.INFO: GPS data processed {"connection_id":146622,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:37:36] local.INFO: Acknowledgment sent {"connection_id":146622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:37:40] local.INFO: TCP Data received {"connection_id":146622,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:37:40] local.INFO: Processing buffer {"connection_id":146622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:37:40] local.INFO: Packet analysis {"connection_id":146622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:37:40] local.INFO: Extracted packet for processing {"connection_id":146622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:37:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129244416001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:37:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785661412000,"timestamp_ms":1785661412000,"timestamp_seconds":1785661412,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b6d2a0"} 
[2026-08-02 14:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-02 14:37: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-08-02 14:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129244416001,"66":25549,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129244416001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:37:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:37:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:37:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129244416001,"power":25549,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":146622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:37:40] local.INFO: GPS data processed {"connection_id":146622,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:37:40] local.INFO: Acknowledgment sent {"connection_id":146622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:38:08] local.INFO: TCP Data received {"connection_id":146837,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b97280012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b97280012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:38:08] local.INFO: Processing buffer {"connection_id":146837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b97280012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:38:08] local.INFO: Packet analysis {"connection_id":146837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:38:08] local.INFO: Extracted packet for processing {"connection_id":146837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:38:08] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320640,"longitude_deg":76.4409152,"latitude_deg":9.832064,"altitude":13,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4100","is_valid_coordinates":true} 
[2026-08-02 14:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129364736001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785661584000,"timestamp_ms":1785661584000,"timestamp_seconds":1785661584,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b97280"} 
[2026-08-02 14:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-02 14:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129364736001,"66":13091,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129364736001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:38:08] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:38:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129364736001,"power":13091,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":146837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:38:08] local.INFO: GPS data processed {"connection_id":146837,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:38:08] local.INFO: Acknowledgment sent {"connection_id":146837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:38:24] local.INFO: TCP Data received {"connection_id":146623,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:38:24] local.INFO: Processing buffer {"connection_id":146623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:38:24] local.INFO: IMEI packet received {"connection_id":146623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":146623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:38:27] local.INFO: TCP Data received {"connection_id":147861,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:38:27] local.INFO: Processing buffer {"connection_id":147861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:38:27] local.INFO: IMEI packet received {"connection_id":147861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":147861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:38:32] local.INFO: TCP Data received {"connection_id":146623,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:38:32] local.INFO: Processing buffer {"connection_id":146623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:38:32] local.INFO: IMEI packet received {"connection_id":146623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":146623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:38:33] local.INFO: TCP Data received {"connection_id":147861,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:38:33] local.INFO: Processing buffer {"connection_id":147861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:38:33] local.INFO: IMEI packet received {"connection_id":147861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":147861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:38:33] local.INFO: TCP Data received {"connection_id":146623,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:38:33] local.INFO: Processing buffer {"connection_id":146623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:38:33] local.INFO: Packet analysis {"connection_id":146623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:38:33] local.INFO: Extracted packet for processing {"connection_id":146623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:38:33] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129244416001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:38:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785661412000,"timestamp_ms":1785661412000,"timestamp_seconds":1785661412,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b6d2a0"} 
[2026-08-02 14:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-02 14:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129244416001,"66":25549,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129244416001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:38:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:38:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:38:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129244416001,"power":25549,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":146623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:38:33] local.INFO: GPS data processed {"connection_id":146623,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:38:33] local.INFO: Acknowledgment sent {"connection_id":146623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:38:34] local.INFO: TCP Data received {"connection_id":147861,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:38:34] local.INFO: Processing buffer {"connection_id":147861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:38:34] local.INFO: Packet analysis {"connection_id":147861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:38:34] local.INFO: Extracted packet for processing {"connection_id":147861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:38:34] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320640,"longitude_deg":76.4409152,"latitude_deg":9.832064,"altitude":13,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4100","is_valid_coordinates":true} 
[2026-08-02 14:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365504001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785661585000,"timestamp_ms":1785661585000,"timestamp_seconds":1785661585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b97668"} 
[2026-08-02 14:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 14:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365504001,"66":5242,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365504001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:38:34] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:38:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365504001,"power":5242,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":147861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:38:34] local.INFO: GPS data processed {"connection_id":147861,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:38:34] local.INFO: Acknowledgment sent {"connection_id":147861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:39:05] local.INFO: TCP Data received {"connection_id":146623,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:39:05] local.INFO: Processing buffer {"connection_id":146623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b6d2a0012cc330c007685958005800c52a..."} 
[2026-08-02 14:39:05] local.INFO: Packet analysis {"connection_id":146623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:39:05] local.INFO: Extracted packet for processing {"connection_id":146623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b6"} 
[2026-08-02 14:39:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 14:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129244416001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785661412000,"timestamp_ms":1785661412000,"timestamp_seconds":1785661412,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b6d2a0"} 
[2026-08-02 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-08-02 14:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-02 14:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 14:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129244416001,"66":25549,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129244416001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:39:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:39:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:39:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129244416001,"power":25549,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":146623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:39:05] local.INFO: GPS data processed {"connection_id":146623,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:39:05] local.INFO: Acknowledgment sent {"connection_id":146623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:39:05] local.INFO: TCP Data received {"connection_id":147861,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:39:05] local.INFO: Processing buffer {"connection_id":147861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:39:05] local.INFO: Packet analysis {"connection_id":147861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:39:05] local.INFO: Extracted packet for processing {"connection_id":147861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:39:05] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320640,"longitude_deg":76.4409152,"latitude_deg":9.832064,"altitude":13,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4100","is_valid_coordinates":true} 
[2026-08-02 14:39: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-08-02 14:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365504001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785661585000,"timestamp_ms":1785661585000,"timestamp_seconds":1785661585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b97668"} 
[2026-08-02 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-08-02 14:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 14:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 14:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365504001,"66":5242,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365504001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:39:05] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:39:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365504001,"power":5242,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":147861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:39:05] local.INFO: GPS data processed {"connection_id":147861,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:39:05] local.INFO: Acknowledgment sent {"connection_id":147861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:39:24] local.INFO: TCP Data received {"connection_id":146838,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:39:24] local.INFO: Processing buffer {"connection_id":146838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:39:24] local.INFO: IMEI packet received {"connection_id":146838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":146838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:39:30] local.INFO: TCP Data received {"connection_id":146838,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:39:30] local.INFO: Processing buffer {"connection_id":146838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:39:30] local.INFO: IMEI packet received {"connection_id":146838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":146838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:39:31] local.INFO: TCP Data received {"connection_id":146838,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:39:31] local.INFO: Processing buffer {"connection_id":146838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:39:31] local.INFO: Packet analysis {"connection_id":146838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:39:31] local.INFO: Extracted packet for processing {"connection_id":146838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:39:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129321472001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785661713000,"timestamp_ms":1785661713000,"timestamp_seconds":1785661713,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1bb6a68"} 
[2026-08-02 14:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129321472001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129321472001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:39:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:39:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:39:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129321472001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":146838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:39:31] local.INFO: GPS data processed {"connection_id":146838,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:39:31] local.INFO: Acknowledgment sent {"connection_id":146838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:39:33] local.INFO: TCP Data received {"connection_id":146839,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:39:33] local.INFO: Processing buffer {"connection_id":146839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:39:33] local.INFO: IMEI packet received {"connection_id":146839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":146839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:39:38] local.INFO: TCP Data received {"connection_id":146839,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:39:38] local.INFO: Processing buffer {"connection_id":146839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:39:38] local.INFO: IMEI packet received {"connection_id":146839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":146839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:39:38] local.INFO: TCP Data received {"connection_id":146839,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:39:38] local.INFO: Processing buffer {"connection_id":146839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:39:38] local.INFO: Packet analysis {"connection_id":146839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:39:38] local.INFO: Extracted packet for processing {"connection_id":146839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:39:38] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320640,"longitude_deg":76.4409152,"latitude_deg":9.832064,"altitude":13,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4100","is_valid_coordinates":true} 
[2026-08-02 14:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365504001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785661585000,"timestamp_ms":1785661585000,"timestamp_seconds":1785661585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b97668"} 
[2026-08-02 14:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 14:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365504001,"66":5242,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365504001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:39:38] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:39:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365504001,"power":5242,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":146839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:39:39] local.INFO: GPS data processed {"connection_id":146839,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:39:39] local.INFO: Acknowledgment sent {"connection_id":146839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:39:43] local.INFO: TCP Data received {"connection_id":146839,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:39:43] local.INFO: Processing buffer {"connection_id":146839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:39:43] local.INFO: Packet analysis {"connection_id":146839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:39:43] local.INFO: Extracted packet for processing {"connection_id":146839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:39:43] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320640,"longitude_deg":76.4409152,"latitude_deg":9.832064,"altitude":13,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4100","is_valid_coordinates":true} 
[2026-08-02 14:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365504001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785661585000,"timestamp_ms":1785661585000,"timestamp_seconds":1785661585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b97668"} 
[2026-08-02 14:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 14:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365504001,"66":5242,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365504001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:39:43] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:39:43] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365504001,"power":5242,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":146839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:39:43] local.INFO: GPS data processed {"connection_id":146839,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:39:43] local.INFO: Acknowledgment sent {"connection_id":146839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:40:02] local.INFO: TCP Data received {"connection_id":146838,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:40:03] local.INFO: Processing buffer {"connection_id":146838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:40:03] local.INFO: Packet analysis {"connection_id":146838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:40:03] local.INFO: Extracted packet for processing {"connection_id":146838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129321472001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:40:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785661713000,"timestamp_ms":1785661713000,"timestamp_seconds":1785661713,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1bb6a68"} 
[2026-08-02 14:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129321472001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129321472001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:40:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:40:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:40:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129321472001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":146838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:40:03] local.INFO: GPS data processed {"connection_id":146838,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:40:03] local.INFO: Acknowledgment sent {"connection_id":146838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:40:24] local.INFO: TCP Data received {"connection_id":146840,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:40:24] local.INFO: Processing buffer {"connection_id":146840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:40:24] local.INFO: IMEI packet received {"connection_id":146840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":146840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:40:27] local.INFO: TCP Data received {"connection_id":146841,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:40:27] local.INFO: Processing buffer {"connection_id":146841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:40:27] local.INFO: IMEI packet received {"connection_id":146841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":146841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:40:29] local.INFO: TCP Data received {"connection_id":146840,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:40:29] local.INFO: Processing buffer {"connection_id":146840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:40:29] local.INFO: IMEI packet received {"connection_id":146840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":146840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:40:30] local.INFO: TCP Data received {"connection_id":146840,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:40:30] local.INFO: Processing buffer {"connection_id":146840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:40:30] local.INFO: Packet analysis {"connection_id":146840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:40:30] local.INFO: Extracted packet for processing {"connection_id":146840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:40:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129321472001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785661713000,"timestamp_ms":1785661713000,"timestamp_seconds":1785661713,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1bb6a68"} 
[2026-08-02 14:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129321472001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129321472001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:40:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:40:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129321472001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":146840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:40:30] local.INFO: GPS data processed {"connection_id":146840,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:40:30] local.INFO: Acknowledgment sent {"connection_id":146840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:40:33] local.INFO: TCP Data received {"connection_id":146841,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:40:33] local.INFO: Processing buffer {"connection_id":146841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:40:33] local.INFO: IMEI packet received {"connection_id":146841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":146841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:40:34] local.INFO: TCP Data received {"connection_id":146841,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:40:34] local.INFO: Processing buffer {"connection_id":146841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:40:34] local.INFO: Packet analysis {"connection_id":146841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:40:34] local.INFO: Extracted packet for processing {"connection_id":146841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:40:34] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320640,"longitude_deg":76.4409152,"latitude_deg":9.832064,"altitude":13,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4100","is_valid_coordinates":true} 
[2026-08-02 14:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365504001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785661585000,"timestamp_ms":1785661585000,"timestamp_seconds":1785661585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b97668"} 
[2026-08-02 14:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 14:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365504001,"66":5242,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365504001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:40:34] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:40:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365504001,"power":5242,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":146841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:40:34] local.INFO: GPS data processed {"connection_id":146841,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:40:34] local.INFO: Acknowledgment sent {"connection_id":146841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:41:03] local.INFO: TCP Data received {"connection_id":146840,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:41:03] local.INFO: Processing buffer {"connection_id":146840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:41:03] local.INFO: Packet analysis {"connection_id":146840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:41:03] local.INFO: Extracted packet for processing {"connection_id":146840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:41:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129321472001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:41:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785661713000,"timestamp_ms":1785661713000,"timestamp_seconds":1785661713,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1bb6a68"} 
[2026-08-02 14:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129321472001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129321472001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:41:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:41:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:41:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129321472001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":146840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:41:03] local.INFO: GPS data processed {"connection_id":146840,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:41:03] local.INFO: Acknowledgment sent {"connection_id":146840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:41:05] local.INFO: TCP Data received {"connection_id":146841,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:41:05] local.INFO: Processing buffer {"connection_id":146841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1b97668012d8ff54005dc4100000d00e728..."} 
[2026-08-02 14:41:05] local.INFO: Packet analysis {"connection_id":146841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:41:05] local.INFO: Extracted packet for processing {"connection_id":146841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1b9"} 
[2026-08-02 14:41:05] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320640,"longitude_deg":76.4409152,"latitude_deg":9.832064,"altitude":13,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4100","is_valid_coordinates":true} 
[2026-08-02 14: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-08-02 14:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365504001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785661585000,"timestamp_ms":1785661585000,"timestamp_seconds":1785661585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1b97668"} 
[2026-08-02 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-08-02 14:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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-08-02 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-08-02 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-08-02 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-08-02 14:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365504001,"66":5242,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365504001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:41:05] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:41:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365504001,"power":5242,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":146841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:41:05] local.INFO: GPS data processed {"connection_id":146841,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:41:05] local.INFO: Acknowledgment sent {"connection_id":146841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:41:24] local.INFO: TCP Data received {"connection_id":147862,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:41:24] local.INFO: Processing buffer {"connection_id":147862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:41:24] local.INFO: IMEI packet received {"connection_id":147862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":147862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:41:28] local.INFO: TCP Data received {"connection_id":146842,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:41:28] local.INFO: Processing buffer {"connection_id":146842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:41:28] local.INFO: IMEI packet received {"connection_id":146842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":146842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:41:28] local.INFO: TCP Data received {"connection_id":146842,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:41:28] local.INFO: Processing buffer {"connection_id":146842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:41:28] local.INFO: IMEI packet received {"connection_id":146842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":146842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:41:30] local.INFO: TCP Data received {"connection_id":147862,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:41:30] local.INFO: Processing buffer {"connection_id":147862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:41:30] local.INFO: IMEI packet received {"connection_id":147862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":147862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:41:31] local.INFO: TCP Data received {"connection_id":147862,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:41:31] local.INFO: Processing buffer {"connection_id":147862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:41:31] local.INFO: Packet analysis {"connection_id":147862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:41:31] local.INFO: Extracted packet for processing {"connection_id":147862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:41:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129321472001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:41:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785661713000,"timestamp_ms":1785661713000,"timestamp_seconds":1785661713,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1bb6a68"} 
[2026-08-02 14:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129321472001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129321472001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:41:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:41:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:41:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129321472001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":147862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:41:31] local.INFO: GPS data processed {"connection_id":147862,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:41:31] local.INFO: Acknowledgment sent {"connection_id":147862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:41:33] local.INFO: TCP Data received {"connection_id":146842,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:41:33] local.INFO: Processing buffer {"connection_id":146842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:41:33] local.INFO: IMEI packet received {"connection_id":146842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":146842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:41:33] local.INFO: TCP Data received {"connection_id":146842,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:41:33] local.INFO: Processing buffer {"connection_id":146842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:41:33] local.INFO: Packet analysis {"connection_id":146842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:41:33] local.INFO: Extracted packet for processing {"connection_id":146842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:41:33] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320656,"longitude_deg":76.4409152,"latitude_deg":9.8320656,"altitude":13,"angle":231,"satellites":44,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4110","is_valid_coordinates":true} 
[2026-08-02 14:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365760001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785661886000,"timestamp_ms":1785661886000,"timestamp_seconds":1785661886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1be0e30"} 
[2026-08-02 14:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-02 14:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365760001,"66":2264,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365760001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:41:33] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:41:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365760001,"power":2264,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":146842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:41:33] local.INFO: GPS data processed {"connection_id":146842,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:41:33] local.INFO: Acknowledgment sent {"connection_id":146842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:42:03] local.INFO: TCP Data received {"connection_id":147862,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:42:03] local.INFO: Processing buffer {"connection_id":147862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:42:03] local.INFO: Packet analysis {"connection_id":147862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:42:03] local.INFO: Extracted packet for processing {"connection_id":147862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:42:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129321472001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785661713000,"timestamp_ms":1785661713000,"timestamp_seconds":1785661713,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1bb6a68"} 
[2026-08-02 14:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129321472001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129321472001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:42:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:42:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:42:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129321472001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":147862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:42:03] local.INFO: GPS data processed {"connection_id":147862,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:42:03] local.INFO: Acknowledgment sent {"connection_id":147862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:42:11] local.INFO: TCP Data received {"connection_id":146842,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:42:11] local.INFO: Processing buffer {"connection_id":146842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:42:11] local.INFO: Packet analysis {"connection_id":146842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:42:11] local.INFO: Extracted packet for processing {"connection_id":146842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320656,"longitude_deg":76.4409152,"latitude_deg":9.8320656,"altitude":13,"angle":231,"satellites":44,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4110","is_valid_coordinates":true} 
[2026-08-02 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-08-02 14:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365760001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785661886000,"timestamp_ms":1785661886000,"timestamp_seconds":1785661886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1be0e30"} 
[2026-08-02 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-08-02 14:42: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-08-02 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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-02 14:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 14:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365760001,"66":2264,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365760001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:42:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:42:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365760001,"power":2264,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":146842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:42:11] local.INFO: GPS data processed {"connection_id":146842,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:42:11] local.INFO: Acknowledgment sent {"connection_id":146842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:42:29] local.INFO: TCP Data received {"connection_id":149177,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:42:29] local.INFO: Processing buffer {"connection_id":149177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:42:29] local.INFO: IMEI packet received {"connection_id":149177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":149177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:42:34] local.INFO: TCP Data received {"connection_id":149177,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:42:34] local.INFO: Processing buffer {"connection_id":149177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:42:34] local.INFO: IMEI packet received {"connection_id":149177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":149177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:42:35] local.INFO: TCP Data received {"connection_id":149177,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:42:35] local.INFO: Processing buffer {"connection_id":149177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:42:35] local.INFO: Packet analysis {"connection_id":149177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:42:35] local.INFO: Extracted packet for processing {"connection_id":149177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:42:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129321472001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785661713000,"timestamp_ms":1785661713000,"timestamp_seconds":1785661713,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1bb6a68"} 
[2026-08-02 14:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129321472001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129321472001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:42:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:42:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:42:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129321472001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":149177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:42:35] local.INFO: GPS data processed {"connection_id":149177,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:42:35] local.INFO: Acknowledgment sent {"connection_id":149177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:42:40] local.INFO: TCP Data received {"connection_id":149177,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:42:40] local.INFO: Processing buffer {"connection_id":149177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:42:40] local.INFO: Packet analysis {"connection_id":149177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:42:40] local.INFO: Extracted packet for processing {"connection_id":149177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:42:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129321472001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785661713000,"timestamp_ms":1785661713000,"timestamp_seconds":1785661713,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1bb6a68"} 
[2026-08-02 14:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129321472001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129321472001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:42:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:42:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129321472001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":149177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:42:40] local.INFO: GPS data processed {"connection_id":149177,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:42:40] local.INFO: Acknowledgment sent {"connection_id":149177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:42:42] local.INFO: TCP Data received {"connection_id":146624,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:42:42] local.INFO: Processing buffer {"connection_id":146624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:42:42] local.INFO: IMEI packet received {"connection_id":146624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":146624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:42:57] local.INFO: TCP Data received {"connection_id":146624,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:42:57] local.INFO: Processing buffer {"connection_id":146624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:42:57] local.INFO: IMEI packet received {"connection_id":146624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":146624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:42:59] local.INFO: TCP Data received {"connection_id":146624,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:42:59] local.INFO: Processing buffer {"connection_id":146624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:42:59] local.INFO: Packet analysis {"connection_id":146624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:42:59] local.INFO: Extracted packet for processing {"connection_id":146624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:42:59] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320656,"longitude_deg":76.4409152,"latitude_deg":9.8320656,"altitude":13,"angle":231,"satellites":44,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4110","is_valid_coordinates":true} 
[2026-08-02 14:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365760001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785661886000,"timestamp_ms":1785661886000,"timestamp_seconds":1785661886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1be0e30"} 
[2026-08-02 14:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-02 14:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365760001,"66":2264,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365760001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:42:59] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:42:59] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365760001,"power":2264,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":146624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:42:59] local.INFO: GPS data processed {"connection_id":146624,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:42:59] local.INFO: Acknowledgment sent {"connection_id":146624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:43:26] local.INFO: TCP Data received {"connection_id":146843,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:43:26] local.INFO: Processing buffer {"connection_id":146843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:43:26] local.INFO: IMEI packet received {"connection_id":146843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":146843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:43:28] local.INFO: TCP Data received {"connection_id":146844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:43:28] local.INFO: Processing buffer {"connection_id":146844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:43:28] local.INFO: IMEI packet received {"connection_id":146844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":146844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:43:29] local.INFO: TCP Data received {"connection_id":146843,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:43:29] local.INFO: Processing buffer {"connection_id":146843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:43:29] local.INFO: IMEI packet received {"connection_id":146843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":146843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:43:31] local.INFO: TCP Data received {"connection_id":146843,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:43:31] local.INFO: Processing buffer {"connection_id":146843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:43:31] local.INFO: Packet analysis {"connection_id":146843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:43:31] local.INFO: Extracted packet for processing {"connection_id":146843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:43:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129321472001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:43:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785661713000,"timestamp_ms":1785661713000,"timestamp_seconds":1785661713,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1bb6a68"} 
[2026-08-02 14:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129321472001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129321472001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:43:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:43:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:43:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129321472001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":146843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:43:31] local.INFO: GPS data processed {"connection_id":146843,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:43:31] local.INFO: Acknowledgment sent {"connection_id":146843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:43:33] local.INFO: TCP Data received {"connection_id":146844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:43:33] local.INFO: Processing buffer {"connection_id":146844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:43:33] local.INFO: IMEI packet received {"connection_id":146844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":146844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:43:34] local.INFO: TCP Data received {"connection_id":146844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:43:34] local.INFO: Processing buffer {"connection_id":146844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:43:34] local.INFO: Packet analysis {"connection_id":146844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:43:34] local.INFO: Extracted packet for processing {"connection_id":146844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:43:34] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320656,"longitude_deg":76.4409152,"latitude_deg":9.8320656,"altitude":13,"angle":231,"satellites":44,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4110","is_valid_coordinates":true} 
[2026-08-02 14:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365760001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785661886000,"timestamp_ms":1785661886000,"timestamp_seconds":1785661886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1be0e30"} 
[2026-08-02 14:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-02 14:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365760001,"66":2264,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365760001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:43:34] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:43:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365760001,"power":2264,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":146844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:43:34] local.INFO: GPS data processed {"connection_id":146844,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:43:34] local.INFO: Acknowledgment sent {"connection_id":146844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:43:34] local.INFO: TCP Data received {"connection_id":146843,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:43:34] local.INFO: Processing buffer {"connection_id":146843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:43:34] local.INFO: Packet analysis {"connection_id":146843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:43:34] local.INFO: Extracted packet for processing {"connection_id":146843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:43:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129321472001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:43:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785661713000,"timestamp_ms":1785661713000,"timestamp_seconds":1785661713,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1bb6a68"} 
[2026-08-02 14:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129321472001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129321472001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:43:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:43:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:43:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129321472001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":146843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:43:34] local.INFO: GPS data processed {"connection_id":146843,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:43:34] local.INFO: Acknowledgment sent {"connection_id":146843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:44:05] local.INFO: TCP Data received {"connection_id":146844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:44:05] local.INFO: Processing buffer {"connection_id":146844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:44:05] local.INFO: Packet analysis {"connection_id":146844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:44:05] local.INFO: Extracted packet for processing {"connection_id":146844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:44:05] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320656,"longitude_deg":76.4409152,"latitude_deg":9.8320656,"altitude":13,"angle":231,"satellites":44,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4110","is_valid_coordinates":true} 
[2026-08-02 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-08-02 14:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365760001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785661886000,"timestamp_ms":1785661886000,"timestamp_seconds":1785661886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1be0e30"} 
[2026-08-02 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-08-02 14:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-02 14:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 14:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365760001,"66":2264,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365760001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:44:05] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:44:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365760001,"power":2264,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":146844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:44:05] local.INFO: GPS data processed {"connection_id":146844,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:44:05] local.INFO: Acknowledgment sent {"connection_id":146844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:44:07] local.INFO: TCP Data received {"connection_id":146843,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:44:07] local.INFO: Processing buffer {"connection_id":146843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1bb6a68012cc330c007685958005800c52d..."} 
[2026-08-02 14:44:07] local.INFO: Packet analysis {"connection_id":146843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:44:07] local.INFO: Extracted packet for processing {"connection_id":146843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1bb"} 
[2026-08-02 14:44:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 14:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129321472001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:44:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785661713000,"timestamp_ms":1785661713000,"timestamp_seconds":1785661713,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1bb6a68"} 
[2026-08-02 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-08-02 14: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-08-02 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 14:44: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-08-02 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-08-02 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-08-02 14:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129321472001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129321472001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:44:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:44:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:44:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129321472001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":146843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:44:07] local.INFO: GPS data processed {"connection_id":146843,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:44:07] local.INFO: Acknowledgment sent {"connection_id":146843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:44:24] local.INFO: TCP Data received {"connection_id":147863,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:44:24] local.INFO: Processing buffer {"connection_id":147863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:44:24] local.INFO: IMEI packet received {"connection_id":147863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":147863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:44:27] local.INFO: TCP Data received {"connection_id":146845,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:44:27] local.INFO: Processing buffer {"connection_id":146845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:44:27] local.INFO: IMEI packet received {"connection_id":146845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":146845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:44:29] local.INFO: TCP Data received {"connection_id":147863,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:44:29] local.INFO: Processing buffer {"connection_id":147863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:44:29] local.INFO: IMEI packet received {"connection_id":147863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":147863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:44:30] local.INFO: TCP Data received {"connection_id":147863,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:44:30] local.INFO: Processing buffer {"connection_id":147863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:44:30] local.INFO: Packet analysis {"connection_id":147863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:44:30] local.INFO: Extracted packet for processing {"connection_id":147863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:44:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129398528001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785662014000,"timestamp_ms":1785662014000,"timestamp_seconds":1785662014,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c00230"} 
[2026-08-02 14:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129398528001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129398528001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:44:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:44:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129398528001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":147863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:44:30] local.INFO: GPS data processed {"connection_id":147863,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:44:30] local.INFO: Acknowledgment sent {"connection_id":147863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:44:33] local.INFO: TCP Data received {"connection_id":146845,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:44:33] local.INFO: Processing buffer {"connection_id":146845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:44:33] local.INFO: IMEI packet received {"connection_id":146845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":146845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:44:34] local.INFO: TCP Data received {"connection_id":146845,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:44:34] local.INFO: Processing buffer {"connection_id":146845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:44:34] local.INFO: Packet analysis {"connection_id":146845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:44:34] local.INFO: Extracted packet for processing {"connection_id":146845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:44:34] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320656,"longitude_deg":76.4409152,"latitude_deg":9.8320656,"altitude":13,"angle":231,"satellites":44,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4110","is_valid_coordinates":true} 
[2026-08-02 14:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365760001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785661886000,"timestamp_ms":1785661886000,"timestamp_seconds":1785661886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1be0e30"} 
[2026-08-02 14:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-02 14:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365760001,"66":2264,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365760001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:44:34] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:44:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365760001,"power":2264,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":146845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:44:34] local.INFO: GPS data processed {"connection_id":146845,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:44:34] local.INFO: Acknowledgment sent {"connection_id":146845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:45:02] local.INFO: TCP Data received {"connection_id":147863,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:45:02] local.INFO: Processing buffer {"connection_id":147863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:45:02] local.INFO: Packet analysis {"connection_id":147863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:45:02] local.INFO: Extracted packet for processing {"connection_id":147863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:45:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129398528001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785662014000,"timestamp_ms":1785662014000,"timestamp_seconds":1785662014,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c00230"} 
[2026-08-02 14:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129398528001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129398528001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:45:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:45:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:45:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129398528001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":147863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:45:02] local.INFO: GPS data processed {"connection_id":147863,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:45:02] local.INFO: Acknowledgment sent {"connection_id":147863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:45:05] local.INFO: TCP Data received {"connection_id":146845,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:45:05] local.INFO: Processing buffer {"connection_id":146845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:45:05] local.INFO: Packet analysis {"connection_id":146845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:45:05] local.INFO: Extracted packet for processing {"connection_id":146845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:45:05] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320656,"longitude_deg":76.4409152,"latitude_deg":9.8320656,"altitude":13,"angle":231,"satellites":44,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4110","is_valid_coordinates":true} 
[2026-08-02 14:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365760001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785661886000,"timestamp_ms":1785661886000,"timestamp_seconds":1785661886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1be0e30"} 
[2026-08-02 14:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-02 14:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365760001,"66":2264,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365760001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:45:05] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:45:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365760001,"power":2264,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":146845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:45:05] local.INFO: GPS data processed {"connection_id":146845,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:45:05] local.INFO: Acknowledgment sent {"connection_id":146845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:45:29] local.INFO: TCP Data received {"connection_id":149178,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:45:29] local.INFO: Processing buffer {"connection_id":149178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:45:29] local.INFO: IMEI packet received {"connection_id":149178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":149178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:45:33] local.INFO: TCP Data received {"connection_id":149179,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:45:33] local.INFO: Processing buffer {"connection_id":149179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:45:33] local.INFO: IMEI packet received {"connection_id":149179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":149179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:45:34] local.INFO: TCP Data received {"connection_id":149178,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:45:34] local.INFO: Processing buffer {"connection_id":149178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:45:34] local.INFO: IMEI packet received {"connection_id":149178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":149178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:45:35] local.INFO: TCP Data received {"connection_id":149178,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:45:35] local.INFO: Processing buffer {"connection_id":149178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:45:35] local.INFO: Packet analysis {"connection_id":149178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:45:35] local.INFO: Extracted packet for processing {"connection_id":149178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:45:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 14:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129398528001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785662014000,"timestamp_ms":1785662014000,"timestamp_seconds":1785662014,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c00230"} 
[2026-08-02 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-08-02 14:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 14:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129398528001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129398528001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:45:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:45:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:45:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129398528001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":149178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:45:35] local.INFO: GPS data processed {"connection_id":149178,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:45:35] local.INFO: Acknowledgment sent {"connection_id":149178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:45:40] local.INFO: TCP Data received {"connection_id":149178,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:45:40] local.INFO: Processing buffer {"connection_id":149178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:45:40] local.INFO: Packet analysis {"connection_id":149178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:45:40] local.INFO: Extracted packet for processing {"connection_id":149178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:45:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129398528001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785662014000,"timestamp_ms":1785662014000,"timestamp_seconds":1785662014,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c00230"} 
[2026-08-02 14:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:45: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-08-02 14:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129398528001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129398528001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:45:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:45:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:45:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129398528001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":149178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:45:40] local.INFO: GPS data processed {"connection_id":149178,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:45:40] local.INFO: Acknowledgment sent {"connection_id":149178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:45:53] local.INFO: TCP Data received {"connection_id":149179,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:45:53] local.INFO: Processing buffer {"connection_id":149179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:45:53] local.INFO: IMEI packet received {"connection_id":149179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":149179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:45:55] local.INFO: TCP Data received {"connection_id":149179,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:45:55] local.INFO: Processing buffer {"connection_id":149179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:45:55] local.INFO: Packet analysis {"connection_id":149179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:45:55] local.INFO: Extracted packet for processing {"connection_id":149179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:45:55] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320656,"longitude_deg":76.4409152,"latitude_deg":9.8320656,"altitude":13,"angle":231,"satellites":44,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4110","is_valid_coordinates":true} 
[2026-08-02 14:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365760001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785661886000,"timestamp_ms":1785661886000,"timestamp_seconds":1785661886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1be0e30"} 
[2026-08-02 14:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-02 14:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365760001,"66":2264,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365760001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:45:55] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:45:55] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365760001,"power":2264,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":149179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:45:55] local.INFO: GPS data processed {"connection_id":149179,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:45:55] local.INFO: Acknowledgment sent {"connection_id":149179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:45:56] local.INFO: TCP Data received {"connection_id":149179,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:45:56] local.INFO: Processing buffer {"connection_id":149179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1be0e30012d8ff54005dc4110000d00e72c..."} 
[2026-08-02 14:45:56] local.INFO: Packet analysis {"connection_id":149179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:45:56] local.INFO: Extracted packet for processing {"connection_id":149179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1be"} 
[2026-08-02 14:45:56] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320656,"longitude_deg":76.4409152,"latitude_deg":9.8320656,"altitude":13,"angle":231,"satellites":44,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4110","is_valid_coordinates":true} 
[2026-08-02 14:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129365760001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 14:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785661886000,"timestamp_ms":1785661886000,"timestamp_seconds":1785661886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1be0e30"} 
[2026-08-02 14:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-02 14:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129365760001,"66":2264,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077484544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129365760001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:45:56] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:45:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 14:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129365760001,"power":2264,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 14:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":149179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:45:56] local.INFO: GPS data processed {"connection_id":149179,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:45:56] local.INFO: Acknowledgment sent {"connection_id":149179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:46:24] local.INFO: TCP Data received {"connection_id":146846,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:46:24] local.INFO: Processing buffer {"connection_id":146846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:46:24] local.INFO: IMEI packet received {"connection_id":146846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":146846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:46:29] local.INFO: TCP Data received {"connection_id":146846,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:46:29] local.INFO: Processing buffer {"connection_id":146846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:46:29] local.INFO: IMEI packet received {"connection_id":146846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":146846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:46:31] local.INFO: TCP Data received {"connection_id":146846,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:46:31] local.INFO: Processing buffer {"connection_id":146846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:46:31] local.INFO: Packet analysis {"connection_id":146846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:46:31] local.INFO: Extracted packet for processing {"connection_id":146846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:46:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129398528001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785662014000,"timestamp_ms":1785662014000,"timestamp_seconds":1785662014,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c00230"} 
[2026-08-02 14:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129398528001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129398528001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:46:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:46:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129398528001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":146846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:46:31] local.INFO: GPS data processed {"connection_id":146846,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:46:31] local.INFO: Acknowledgment sent {"connection_id":146846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:46:32] local.INFO: TCP Data received {"connection_id":146625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:46:32] local.INFO: Processing buffer {"connection_id":146625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:46:32] local.INFO: IMEI packet received {"connection_id":146625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":146625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:46:38] local.INFO: TCP Data received {"connection_id":146625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:46:38] local.INFO: Processing buffer {"connection_id":146625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:46:38] local.INFO: IMEI packet received {"connection_id":146625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":146625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:46:38] local.INFO: TCP Data received {"connection_id":146625,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c2a5f8012d8ff54005dc4110000d00e72a..."} 
[2026-08-02 14:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c2a5f8012d8ff54005dc4110000d00e72a..."} 
[2026-08-02 14:46:38] local.INFO: Processing buffer {"connection_id":146625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c2a5f8012d8ff54005dc4110000d00e72a..."} 
[2026-08-02 14:46:38] local.INFO: Packet analysis {"connection_id":146625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c2"} 
[2026-08-02 14:46:38] local.INFO: Extracted packet for processing {"connection_id":146625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c2"} 
[2026-08-02 14:46:38] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320656,"longitude_deg":76.4409152,"latitude_deg":9.8320656,"altitude":13,"angle":231,"satellites":42,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4110","is_valid_coordinates":true} 
[2026-08-02 14:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129442816001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077480448,"note":"Value kept but may cause issues"} 
[2026-08-02 14:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785662187000,"timestamp_ms":1785662187000,"timestamp_seconds":1785662187,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c2a5f8"} 
[2026-08-02 14:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 14:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129442816001,"66":2253,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077480448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129442816001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:46:38] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:46:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077480448,"description":"Unknown IO ID 45"} 
[2026-08-02 14:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129442816001,"power":2253,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077480448}} 
[2026-08-02 14:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":146625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:46:39] local.INFO: GPS data processed {"connection_id":146625,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:46:39] local.INFO: Acknowledgment sent {"connection_id":146625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:47:02] local.INFO: TCP Data received {"connection_id":146846,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:47:03] local.INFO: Processing buffer {"connection_id":146846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:47:03] local.INFO: Packet analysis {"connection_id":146846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:47:03] local.INFO: Extracted packet for processing {"connection_id":146846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:47:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129398528001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785662014000,"timestamp_ms":1785662014000,"timestamp_seconds":1785662014,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c00230"} 
[2026-08-02 14:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129398528001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129398528001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:47:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:47:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129398528001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":146846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:47:03] local.INFO: GPS data processed {"connection_id":146846,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:47:03] local.INFO: Acknowledgment sent {"connection_id":146846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:47:20] local.INFO: TCP Data received {"connection_id":146625,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c2a5f8012d8ff54005dc4110000d00e72a..."} 
[2026-08-02 14:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c2a5f8012d8ff54005dc4110000d00e72a..."} 
[2026-08-02 14:47:20] local.INFO: Processing buffer {"connection_id":146625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c2a5f8012d8ff54005dc4110000d00e72a..."} 
[2026-08-02 14:47:20] local.INFO: Packet analysis {"connection_id":146625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c2"} 
[2026-08-02 14:47:20] local.INFO: Extracted packet for processing {"connection_id":146625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c2"} 
[2026-08-02 14:47:20] local.INFO: GPS Element Parsed {"raw_longitude":764409152,"raw_latitude":98320656,"longitude_deg":76.4409152,"latitude_deg":9.8320656,"altitude":13,"angle":231,"satellites":42,"speed":0,"hex_longitude":"2d8ff540","hex_latitude":"05dc4110","is_valid_coordinates":true} 
[2026-08-02 14:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129442816001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944090793476096,"note":"Value kept but may cause issues"} 
[2026-08-02 14:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077480448,"note":"Value kept but may cause issues"} 
[2026-08-02 14:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785662187000,"timestamp_ms":1785662187000,"timestamp_seconds":1785662187,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c2a5f8"} 
[2026-08-02 14:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 14:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 14:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 14:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 14:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129442816001,"66":2253,"53":206,"88":20224,"24":0,"16":113944090793476096,"45":-8073476363077480448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,88,24,16,45]} 
[2026-08-02 14:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 14:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 14:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129442816001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:47:20] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-02 14:47:20] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 14:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944090793476096,"km_value":113944090793476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077480448,"description":"Unknown IO ID 45"} 
[2026-08-02 14:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129442816001,"power":2253,"unknown_53":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8073476363077480448}} 
[2026-08-02 14:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":146625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:47:20] local.INFO: GPS data processed {"connection_id":146625,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:47:20] local.INFO: Acknowledgment sent {"connection_id":146625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:47:24] local.INFO: TCP Data received {"connection_id":146626,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:47:24] local.INFO: Processing buffer {"connection_id":146626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:47:24] local.INFO: IMEI packet received {"connection_id":146626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":146626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:47:29] local.INFO: TCP Data received {"connection_id":146626,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:47:29] local.INFO: Processing buffer {"connection_id":146626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:47:29] local.INFO: IMEI packet received {"connection_id":146626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":146626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:47:30] local.INFO: TCP Data received {"connection_id":146626,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:47:30] local.INFO: Processing buffer {"connection_id":146626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:47:30] local.INFO: Packet analysis {"connection_id":146626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:47:30] local.INFO: Extracted packet for processing {"connection_id":146626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:47:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129398528001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785662014000,"timestamp_ms":1785662014000,"timestamp_seconds":1785662014,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c00230"} 
[2026-08-02 14:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129398528001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129398528001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:47:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:47:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129398528001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":146626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:47:30] local.INFO: GPS data processed {"connection_id":146626,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:47:30] local.INFO: Acknowledgment sent {"connection_id":146626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:47:33] local.INFO: TCP Data received {"connection_id":147864,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:47:33] local.INFO: Processing buffer {"connection_id":147864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:47:33] local.INFO: IMEI packet received {"connection_id":147864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 14:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":147864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:47:40] local.INFO: TCP Data received {"connection_id":147864,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:47:40] local.INFO: Processing buffer {"connection_id":147864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 14:47:40] local.INFO: IMEI packet received {"connection_id":147864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 14:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":147864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:48:02] local.INFO: TCP Data received {"connection_id":146626,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:48:02] local.INFO: Processing buffer {"connection_id":146626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:48:02] local.INFO: Packet analysis {"connection_id":146626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:48:02] local.INFO: Extracted packet for processing {"connection_id":146626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:48:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129398528001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:48:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785662014000,"timestamp_ms":1785662014000,"timestamp_seconds":1785662014,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c00230"} 
[2026-08-02 14:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129398528001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129398528001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:48:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:48:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:48:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129398528001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":146626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:48:02] local.INFO: GPS data processed {"connection_id":146626,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:48:02] local.INFO: Acknowledgment sent {"connection_id":146626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:48:29] local.INFO: TCP Data received {"connection_id":147865,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:48:29] local.INFO: Processing buffer {"connection_id":147865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:48:29] local.INFO: IMEI packet received {"connection_id":147865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":147865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:48:34] local.INFO: TCP Data received {"connection_id":147865,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:48:34] local.INFO: Processing buffer {"connection_id":147865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:48:34] local.INFO: IMEI packet received {"connection_id":147865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":147865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:48:39] local.INFO: TCP Data received {"connection_id":147865,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:48:39] local.INFO: Processing buffer {"connection_id":147865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c00230012cc330c007685958005800c52b..."} 
[2026-08-02 14:48:39] local.INFO: Packet analysis {"connection_id":147865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:48:39] local.INFO: Extracted packet for processing {"connection_id":147865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c0"} 
[2026-08-02 14:48:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129398528001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:48:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785662014000,"timestamp_ms":1785662014000,"timestamp_seconds":1785662014,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c00230"} 
[2026-08-02 14:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:48: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-08-02 14:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 14:48: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-08-02 14:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129398528001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 14:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129398528001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:48:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 14:48:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:48:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129398528001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":147865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:48:39] local.INFO: GPS data processed {"connection_id":147865,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:48:39] local.INFO: Acknowledgment sent {"connection_id":147865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:49:31] local.INFO: TCP Data received {"connection_id":147866,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:49:31] local.INFO: Processing buffer {"connection_id":147866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:49:31] local.INFO: IMEI packet received {"connection_id":147866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":147866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:49:34] local.INFO: TCP Data received {"connection_id":147866,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:49:34] local.INFO: Processing buffer {"connection_id":147866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:49:34] local.INFO: IMEI packet received {"connection_id":147866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":147866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:49:36] local.INFO: TCP Data received {"connection_id":147866,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:49:36] local.INFO: Processing buffer {"connection_id":147866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:49:36] local.INFO: Packet analysis {"connection_id":147866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:49:36] local.INFO: Extracted packet for processing {"connection_id":147866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:49:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129475584001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:49:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785662315000,"timestamp_ms":1785662315000,"timestamp_seconds":1785662315,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c499f8"} 
[2026-08-02 14:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129475584001,"66":25473,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129475584001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:49:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:49:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:49:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129475584001,"power":25473,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":147866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:49:36] local.INFO: GPS data processed {"connection_id":147866,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:49:36] local.INFO: Acknowledgment sent {"connection_id":147866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:50:05] local.INFO: TCP Data received {"connection_id":147866,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:50:05] local.INFO: Processing buffer {"connection_id":147866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:50:05] local.INFO: Packet analysis {"connection_id":147866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:50:05] local.INFO: Extracted packet for processing {"connection_id":147866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:50:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129475584001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:50:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785662315000,"timestamp_ms":1785662315000,"timestamp_seconds":1785662315,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c499f8"} 
[2026-08-02 14:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129475584001,"66":25473,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129475584001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:50:05] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:50:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:50:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129475584001,"power":25473,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":147866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:50:06] local.INFO: GPS data processed {"connection_id":147866,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:50:06] local.INFO: Acknowledgment sent {"connection_id":147866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:50:33] local.INFO: TCP Data received {"connection_id":149180,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:50:33] local.INFO: Processing buffer {"connection_id":149180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:50:33] local.INFO: IMEI packet received {"connection_id":149180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":149180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:50:34] local.INFO: TCP Data received {"connection_id":149180,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:50:34] local.INFO: Processing buffer {"connection_id":149180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:50:34] local.INFO: IMEI packet received {"connection_id":149180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":149180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:50:39] local.INFO: TCP Data received {"connection_id":149180,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:50:39] local.INFO: Processing buffer {"connection_id":149180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:50:39] local.INFO: IMEI packet received {"connection_id":149180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":149180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:50:40] local.INFO: TCP Data received {"connection_id":149180,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:50:40] local.INFO: Processing buffer {"connection_id":149180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:50:40] local.INFO: Packet analysis {"connection_id":149180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:50:40] local.INFO: Extracted packet for processing {"connection_id":149180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:50:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129475584001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:50:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785662315000,"timestamp_ms":1785662315000,"timestamp_seconds":1785662315,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c499f8"} 
[2026-08-02 14:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:50: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-08-02 14:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129475584001,"66":25473,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129475584001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:50:40] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:50:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:50:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129475584001,"power":25473,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":149180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:50:40] local.INFO: GPS data processed {"connection_id":149180,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:50:40] local.INFO: Acknowledgment sent {"connection_id":149180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:51:31] local.INFO: TCP Data received {"connection_id":147867,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:51:31] local.INFO: Processing buffer {"connection_id":147867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:51:31] local.INFO: IMEI packet received {"connection_id":147867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":147867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:51:32] local.INFO: TCP Data received {"connection_id":147867,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:51:32] local.INFO: Processing buffer {"connection_id":147867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:51:32] local.INFO: IMEI packet received {"connection_id":147867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":147867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:51:34] local.INFO: TCP Data received {"connection_id":147867,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:51:34] local.INFO: Processing buffer {"connection_id":147867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:51:34] local.INFO: Packet analysis {"connection_id":147867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:51:34] local.INFO: Extracted packet for processing {"connection_id":147867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:51:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129475584001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:51:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785662315000,"timestamp_ms":1785662315000,"timestamp_seconds":1785662315,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c499f8"} 
[2026-08-02 14:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129475584001,"66":25473,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129475584001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:51:34] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:51:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:51:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129475584001,"power":25473,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":147867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:51:34] local.INFO: GPS data processed {"connection_id":147867,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:51:34] local.INFO: Acknowledgment sent {"connection_id":147867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:51:36] local.INFO: TCP Data received {"connection_id":147867,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:51:36] local.INFO: Processing buffer {"connection_id":147867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:51:36] local.INFO: Packet analysis {"connection_id":147867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:51:36] local.INFO: Extracted packet for processing {"connection_id":147867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:51:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129475584001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:51:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785662315000,"timestamp_ms":1785662315000,"timestamp_seconds":1785662315,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c499f8"} 
[2026-08-02 14:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129475584001,"66":25473,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129475584001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:51:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:51:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:51:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129475584001,"power":25473,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":147867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:51:36] local.INFO: GPS data processed {"connection_id":147867,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:51:36] local.INFO: Acknowledgment sent {"connection_id":147867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:52:10] local.INFO: TCP Data received {"connection_id":147867,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:52:10] local.INFO: Processing buffer {"connection_id":147867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:52:10] local.INFO: Packet analysis {"connection_id":147867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:52:10] local.INFO: Extracted packet for processing {"connection_id":147867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:52:10] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14: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-08-02 14:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129475584001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785662315000,"timestamp_ms":1785662315000,"timestamp_seconds":1785662315,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c499f8"} 
[2026-08-02 14:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14: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-08-02 14:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129475584001,"66":25473,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129475584001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:52:10] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:52:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129475584001,"power":25473,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":147867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:52:10] local.INFO: GPS data processed {"connection_id":147867,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:52:10] local.INFO: Acknowledgment sent {"connection_id":147867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:52:29] local.INFO: TCP Data received {"connection_id":146847,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:52:29] local.INFO: Processing buffer {"connection_id":146847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:52:29] local.INFO: IMEI packet received {"connection_id":146847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":146847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:52:34] local.INFO: TCP Data received {"connection_id":146847,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:52:34] local.INFO: Processing buffer {"connection_id":146847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:52:34] local.INFO: IMEI packet received {"connection_id":146847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":146847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:52:35] local.INFO: TCP Data received {"connection_id":146847,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:52:35] local.INFO: Processing buffer {"connection_id":146847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:52:35] local.INFO: Packet analysis {"connection_id":146847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:52:35] local.INFO: Extracted packet for processing {"connection_id":146847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:52:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129475584001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:52:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785662315000,"timestamp_ms":1785662315000,"timestamp_seconds":1785662315,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c499f8"} 
[2026-08-02 14:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129475584001,"66":25473,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129475584001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:52:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:52:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:52:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129475584001,"power":25473,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":146847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:52:35] local.INFO: GPS data processed {"connection_id":146847,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:52:35] local.INFO: Acknowledgment sent {"connection_id":146847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:52:41] local.INFO: TCP Data received {"connection_id":146847,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:52:41] local.INFO: Processing buffer {"connection_id":146847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:52:41] local.INFO: Packet analysis {"connection_id":146847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:52:41] local.INFO: Extracted packet for processing {"connection_id":146847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:52:41] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129475584001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785662315000,"timestamp_ms":1785662315000,"timestamp_seconds":1785662315,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c499f8"} 
[2026-08-02 14:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14: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":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:52: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-08-02 14:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129475584001,"66":25473,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129475584001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:52:41] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:52:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129475584001,"power":25473,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":146847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:52:41] local.INFO: GPS data processed {"connection_id":146847,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:52:41] local.INFO: Acknowledgment sent {"connection_id":146847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:53:24] local.INFO: TCP Data received {"connection_id":146848,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:53:24] local.INFO: Processing buffer {"connection_id":146848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:53:24] local.INFO: IMEI packet received {"connection_id":146848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":146848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:53:50] local.INFO: TCP Data received {"connection_id":146848,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:53:50] local.INFO: Processing buffer {"connection_id":146848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:53:50] local.INFO: IMEI packet received {"connection_id":146848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":146848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:53:55] local.INFO: TCP Data received {"connection_id":146848,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:53:55] local.INFO: Processing buffer {"connection_id":146848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:53:55] local.INFO: Packet analysis {"connection_id":146848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:53:55] local.INFO: Extracted packet for processing {"connection_id":146848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:53:55] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129475584001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:53:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785662315000,"timestamp_ms":1785662315000,"timestamp_seconds":1785662315,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c499f8"} 
[2026-08-02 14:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129475584001,"66":25473,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129475584001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:53:55] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:53:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:53:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129475584001,"power":25473,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":146848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:53:55] local.INFO: GPS data processed {"connection_id":146848,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:53:55] local.INFO: Acknowledgment sent {"connection_id":146848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:54:03] local.INFO: TCP Data received {"connection_id":146848,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:54:03] local.INFO: Processing buffer {"connection_id":146848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c499f8012cc330c007685958005800c52f..."} 
[2026-08-02 14:54:03] local.INFO: Packet analysis {"connection_id":146848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:54:03] local.INFO: Extracted packet for processing {"connection_id":146848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c4"} 
[2026-08-02 14:54:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129475584001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:54:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785662315000,"timestamp_ms":1785662315000,"timestamp_seconds":1785662315,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c499f8"} 
[2026-08-02 14:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129475584001,"66":25473,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129475584001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:54:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:54:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:54:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129475584001,"power":25473,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":146848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:54:03] local.INFO: GPS data processed {"connection_id":146848,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:54:03] local.INFO: Acknowledgment sent {"connection_id":146848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:55:04] local.INFO: TCP Data received {"connection_id":147868,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:55:04] local.INFO: Processing buffer {"connection_id":147868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:55:04] local.INFO: IMEI packet received {"connection_id":147868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":147868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:56:14] local.INFO: TCP Data received {"connection_id":149181,"ip":"117.224.14.1","data_length":18,"data_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-02 14:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149181,"packet_length":18,"packet_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-02 14:56:14] local.INFO: Processing buffer {"connection_id":149181,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-02 14:56:14] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":149181,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800c16387b"} 
[2026-08-02 14:56:19] local.INFO: TCP Data received {"connection_id":149181,"ip":"117.224.14.1","data_length":18,"data_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-02 14:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149181,"packet_length":18,"packet_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-02 14:56:19] local.INFO: Processing buffer {"connection_id":149181,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-02 14:56:19] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":149181,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800c16387b"} 
[2026-08-02 14:56:27] local.INFO: TCP Data received {"connection_id":147869,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:56:27] local.INFO: Processing buffer {"connection_id":147869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:56:27] local.INFO: IMEI packet received {"connection_id":147869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":147869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:56:32] local.INFO: TCP Data received {"connection_id":147869,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:56:32] local.INFO: Processing buffer {"connection_id":147869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:56:32] local.INFO: IMEI packet received {"connection_id":147869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":147869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:56:34] local.INFO: TCP Data received {"connection_id":147869,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:56:34] local.INFO: Processing buffer {"connection_id":147869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:56:34] local.INFO: Packet analysis {"connection_id":147869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c9"} 
[2026-08-02 14:56:34] local.INFO: Extracted packet for processing {"connection_id":147869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c9"} 
[2026-08-02 14:56:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129552640001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:56:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785662616000,"timestamp_ms":1785662616000,"timestamp_seconds":1785662616,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c931c0"} 
[2026-08-02 14:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129552640001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129552640001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:56:34] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:56:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:56:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129552640001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":147869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:56:34] local.INFO: GPS data processed {"connection_id":147869,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:56:34] local.INFO: Acknowledgment sent {"connection_id":147869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:56:35] local.INFO: TCP Data received {"connection_id":147869,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:56:35] local.INFO: Processing buffer {"connection_id":147869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:56:35] local.INFO: Packet analysis {"connection_id":147869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c9"} 
[2026-08-02 14:56:35] local.INFO: Extracted packet for processing {"connection_id":147869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c9"} 
[2026-08-02 14:56:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129552640001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:56:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785662616000,"timestamp_ms":1785662616000,"timestamp_seconds":1785662616,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c931c0"} 
[2026-08-02 14:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129552640001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129552640001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:56:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:56:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:56:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129552640001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":147869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:56:35] local.INFO: GPS data processed {"connection_id":147869,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:56:35] local.INFO: Acknowledgment sent {"connection_id":147869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:56:49] local.INFO: TCP Data received {"connection_id":149181,"ip":"117.224.14.1","data_length":18,"data_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-02 14:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149181,"packet_length":18,"packet_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-02 14:56:49] local.INFO: Processing buffer {"connection_id":149181,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-02 14:56:49] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":149181,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800c16387b"} 
[2026-08-02 14:57:09] local.INFO: TCP Data received {"connection_id":147869,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:57:09] local.INFO: Processing buffer {"connection_id":147869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:57:09] local.INFO: Packet analysis {"connection_id":147869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c9"} 
[2026-08-02 14:57:09] local.INFO: Extracted packet for processing {"connection_id":147869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c9"} 
[2026-08-02 14:57:09] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129552640001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:57:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785662616000,"timestamp_ms":1785662616000,"timestamp_seconds":1785662616,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c931c0"} 
[2026-08-02 14:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:57: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-08-02 14:57: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-08-02 14:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129552640001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129552640001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:57:09] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:57:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:57:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129552640001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":147869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:57:09] local.INFO: GPS data processed {"connection_id":147869,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:57:09] local.INFO: Acknowledgment sent {"connection_id":147869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:57:19] local.INFO: TCP Data received {"connection_id":149181,"ip":"117.224.14.1","data_length":18,"data_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-02 14:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149181,"packet_length":18,"packet_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-02 14:57:19] local.INFO: Processing buffer {"connection_id":149181,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-02 14:57:19] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":149181,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800c16387b"} 
[2026-08-02 14:57:24] local.INFO: TCP Data received {"connection_id":146849,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:57:24] local.INFO: Processing buffer {"connection_id":146849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:57:24] local.INFO: IMEI packet received {"connection_id":146849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":146849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:57:29] local.INFO: TCP Data received {"connection_id":146849,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:57:29] local.INFO: Processing buffer {"connection_id":146849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:57:29] local.INFO: IMEI packet received {"connection_id":146849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":146849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:57:30] local.INFO: TCP Data received {"connection_id":146849,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:57:30] local.INFO: Processing buffer {"connection_id":146849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:57:30] local.INFO: Packet analysis {"connection_id":146849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c9"} 
[2026-08-02 14:57:30] local.INFO: Extracted packet for processing {"connection_id":146849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c9"} 
[2026-08-02 14:57:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129552640001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785662616000,"timestamp_ms":1785662616000,"timestamp_seconds":1785662616,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c931c0"} 
[2026-08-02 14:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129552640001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129552640001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:57:30] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:57:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129552640001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":146849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:57:30] local.INFO: GPS data processed {"connection_id":146849,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:57:30] local.INFO: Acknowledgment sent {"connection_id":146849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:58:02] local.INFO: TCP Data received {"connection_id":146849,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:58:02] local.INFO: Processing buffer {"connection_id":146849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:58:02] local.INFO: Packet analysis {"connection_id":146849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c9"} 
[2026-08-02 14:58:02] local.INFO: Extracted packet for processing {"connection_id":146849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c9"} 
[2026-08-02 14:58:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129552640001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:58:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785662616000,"timestamp_ms":1785662616000,"timestamp_seconds":1785662616,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c931c0"} 
[2026-08-02 14:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 14:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 14:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129552640001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129552640001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:58:02] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:58:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:58:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129552640001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":146849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:58:02] local.INFO: GPS data processed {"connection_id":146849,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:58:02] local.INFO: Acknowledgment sent {"connection_id":146849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:58:29] local.INFO: TCP Data received {"connection_id":146850,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:58:29] local.INFO: Processing buffer {"connection_id":146850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:58:29] local.INFO: IMEI packet received {"connection_id":146850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":146850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 14:58:35] local.INFO: TCP Data received {"connection_id":146850,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:58:35] local.INFO: Processing buffer {"connection_id":146850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:58:35] local.INFO: IMEI packet received {"connection_id":146850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 14:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":146850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 14:58:36] local.INFO: TCP Data received {"connection_id":146850,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:58:36] local.INFO: Processing buffer {"connection_id":146850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:58:36] local.INFO: Packet analysis {"connection_id":146850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c9"} 
[2026-08-02 14:58:36] local.INFO: Extracted packet for processing {"connection_id":146850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c9"} 
[2026-08-02 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 14:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129552640001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:58:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785662616000,"timestamp_ms":1785662616000,"timestamp_seconds":1785662616,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c931c0"} 
[2026-08-02 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-08-02 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 14:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 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-08-02 14:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129552640001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129552640001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:58:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:58:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:58:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129552640001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":146850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:58:36] local.INFO: GPS data processed {"connection_id":146850,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:58:36] local.INFO: Acknowledgment sent {"connection_id":146850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:58:39] local.INFO: TCP Data received {"connection_id":146850,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:58:39] local.INFO: Processing buffer {"connection_id":146850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1c931c0012cc330c007685958005800c52c..."} 
[2026-08-02 14:58:39] local.INFO: Packet analysis {"connection_id":146850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1c9"} 
[2026-08-02 14:58:39] local.INFO: Extracted packet for processing {"connection_id":146850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1c9"} 
[2026-08-02 14:58:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 14: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-08-02 14:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129552640001,"note":"Value kept but may cause issues"} 
[2026-08-02 14:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 14:58:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 14:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 14:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785662616000,"timestamp_ms":1785662616000,"timestamp_seconds":1785662616,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1c931c0"} 
[2026-08-02 14:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 14:58: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-08-02 14: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":129,"data_length":795,"current_offset":136} 
[2026-08-02 14:58: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-08-02 14: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-08-02 14:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 14:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 14:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 14:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 14:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 14:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 14:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 14:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129552640001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 14:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 14:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 14:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129552640001,"description":"Unknown IO ID 0"} 
[2026-08-02 14:58:39] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 14:58:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 14:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 14:58:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 14:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129552640001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 14:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":146850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 14:58:39] local.INFO: GPS data processed {"connection_id":146850,"processed":1,"errors":0,"total":1} 
[2026-08-02 14:58:39] local.INFO: Acknowledgment sent {"connection_id":146850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 14:59:59] local.INFO: TCP Data received {"connection_id":149182,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:59:59] local.INFO: Processing buffer {"connection_id":149182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 14:59:59] local.INFO: IMEI packet received {"connection_id":149182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 14:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":149182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:00:05] local.INFO: TCP Data received {"connection_id":149182,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:00:05] local.INFO: Processing buffer {"connection_id":149182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:00:05] local.INFO: IMEI packet received {"connection_id":149182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":149182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:00:07] local.INFO: TCP Data received {"connection_id":149182,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:00:07] local.INFO: Processing buffer {"connection_id":149182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:00:07] local.INFO: Packet analysis {"connection_id":149182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:00:07] local.INFO: Extracted packet for processing {"connection_id":149182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129629696001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:00:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785662917000,"timestamp_ms":1785662917000,"timestamp_seconds":1785662917,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1cdc988"} 
[2026-08-02 15:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:00: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-08-02 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 15:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129629696001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129629696001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:00:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:00:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:00:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129629696001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":149182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:00:07] local.INFO: GPS data processed {"connection_id":149182,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:00:07] local.INFO: Acknowledgment sent {"connection_id":149182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:00:29] local.INFO: TCP Data received {"connection_id":147870,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:00:29] local.INFO: Processing buffer {"connection_id":147870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:00:29] local.INFO: IMEI packet received {"connection_id":147870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":147870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:00:34] local.INFO: TCP Data received {"connection_id":147870,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:00:34] local.INFO: Processing buffer {"connection_id":147870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:00:34] local.INFO: IMEI packet received {"connection_id":147870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":147870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:01:06] local.INFO: TCP Data received {"connection_id":147870,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:01:06] local.INFO: Processing buffer {"connection_id":147870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:01:06] local.INFO: IMEI packet received {"connection_id":147870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":147870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:01:08] local.INFO: TCP Data received {"connection_id":147870,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:01:08] local.INFO: Processing buffer {"connection_id":147870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:01:08] local.INFO: Packet analysis {"connection_id":147870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:01:08] local.INFO: Extracted packet for processing {"connection_id":147870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:01:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129629696001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:01:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785662917000,"timestamp_ms":1785662917000,"timestamp_seconds":1785662917,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1cdc988"} 
[2026-08-02 15:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:01: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-08-02 15: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":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:01: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-08-02 15:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129629696001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129629696001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:01:08] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:01:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:01:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129629696001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":147870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:01:08] local.INFO: GPS data processed {"connection_id":147870,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:01:08] local.INFO: Acknowledgment sent {"connection_id":147870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:01:11] local.INFO: TCP Data received {"connection_id":147870,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:01:11] local.INFO: Processing buffer {"connection_id":147870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:01:11] local.INFO: Packet analysis {"connection_id":147870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:01:11] local.INFO: Extracted packet for processing {"connection_id":147870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:01:11] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129629696001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785662917000,"timestamp_ms":1785662917000,"timestamp_seconds":1785662917,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1cdc988"} 
[2026-08-02 15:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15: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-08-02 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:01: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-08-02 15:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129629696001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129629696001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:01:11] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:01:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129629696001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":147870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:01:11] local.INFO: GPS data processed {"connection_id":147870,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:01:11] local.INFO: Acknowledgment sent {"connection_id":147870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:01:24] local.INFO: TCP Data received {"connection_id":147871,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:01:24] local.INFO: Processing buffer {"connection_id":147871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:01:24] local.INFO: IMEI packet received {"connection_id":147871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":147871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:01:29] local.INFO: TCP Data received {"connection_id":147871,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:01:29] local.INFO: Processing buffer {"connection_id":147871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:01:29] local.INFO: IMEI packet received {"connection_id":147871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":147871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:01:30] local.INFO: TCP Data received {"connection_id":147871,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:01:30] local.INFO: Processing buffer {"connection_id":147871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:01:30] local.INFO: Packet analysis {"connection_id":147871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:01:30] local.INFO: Extracted packet for processing {"connection_id":147871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:01:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129629696001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785662917000,"timestamp_ms":1785662917000,"timestamp_seconds":1785662917,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1cdc988"} 
[2026-08-02 15:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129629696001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129629696001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:01:30] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:01:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129629696001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":147871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:01:30] local.INFO: GPS data processed {"connection_id":147871,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:01:30] local.INFO: Acknowledgment sent {"connection_id":147871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:02:05] local.INFO: TCP Data received {"connection_id":147871,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:02:05] local.INFO: Processing buffer {"connection_id":147871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:02:05] local.INFO: Packet analysis {"connection_id":147871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:02:05] local.INFO: Extracted packet for processing {"connection_id":147871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:02:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129629696001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:02:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785662917000,"timestamp_ms":1785662917000,"timestamp_seconds":1785662917,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1cdc988"} 
[2026-08-02 15:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15: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-08-02 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129629696001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129629696001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:02:05] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:02:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:02:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129629696001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":147871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:02:05] local.INFO: GPS data processed {"connection_id":147871,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:02:05] local.INFO: Acknowledgment sent {"connection_id":147871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:02:29] local.INFO: TCP Data received {"connection_id":146851,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:02:29] local.INFO: Processing buffer {"connection_id":146851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:02:29] local.INFO: IMEI packet received {"connection_id":146851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":146851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:02:34] local.INFO: TCP Data received {"connection_id":146851,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:02:34] local.INFO: Processing buffer {"connection_id":146851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:02:34] local.INFO: IMEI packet received {"connection_id":146851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":146851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:02:35] local.INFO: TCP Data received {"connection_id":146851,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:02:35] local.INFO: Processing buffer {"connection_id":146851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:02:35] local.INFO: Packet analysis {"connection_id":146851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:02:35] local.INFO: Extracted packet for processing {"connection_id":146851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:02:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129629696001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:02:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785662917000,"timestamp_ms":1785662917000,"timestamp_seconds":1785662917,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1cdc988"} 
[2026-08-02 15:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129629696001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129629696001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:02:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:02:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:02:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129629696001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":146851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:02:35] local.INFO: GPS data processed {"connection_id":146851,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:02:35] local.INFO: Acknowledgment sent {"connection_id":146851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:02:43] local.INFO: TCP Data received {"connection_id":146851,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:02:43] local.INFO: Processing buffer {"connection_id":146851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:02:43] local.INFO: Packet analysis {"connection_id":146851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:02:43] local.INFO: Extracted packet for processing {"connection_id":146851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:02:43] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129629696001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:02:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785662917000,"timestamp_ms":1785662917000,"timestamp_seconds":1785662917,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1cdc988"} 
[2026-08-02 15:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:02: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-08-02 15:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129629696001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129629696001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:02:43] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:02:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:02:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129629696001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":146851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:02:43] local.INFO: GPS data processed {"connection_id":146851,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:02:43] local.INFO: Acknowledgment sent {"connection_id":146851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:03:34] local.INFO: TCP Data received {"connection_id":147872,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:03:34] local.INFO: Processing buffer {"connection_id":147872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:03:34] local.INFO: IMEI packet received {"connection_id":147872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":147872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:03:40] local.INFO: TCP Data received {"connection_id":147872,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:03:40] local.INFO: Processing buffer {"connection_id":147872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:03:40] local.INFO: IMEI packet received {"connection_id":147872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":147872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:03:46] local.INFO: TCP Data received {"connection_id":147872,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:03:46] local.INFO: Processing buffer {"connection_id":147872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1cdc988012cc330c007685958005800c52c..."} 
[2026-08-02 15:03:46] local.INFO: Packet analysis {"connection_id":147872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:03:46] local.INFO: Extracted packet for processing {"connection_id":147872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1cd"} 
[2026-08-02 15:03:46] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129629696001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:03:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785662917000,"timestamp_ms":1785662917000,"timestamp_seconds":1785662917,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1cdc988"} 
[2026-08-02 15:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":147872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":147872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":147872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129629696001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129629696001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:03:46] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:03:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:03:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129629696001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":147872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:03:46] local.INFO: GPS data processed {"connection_id":147872,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:03:46] local.INFO: Acknowledgment sent {"connection_id":147872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:04:34] local.INFO: TCP Data received {"connection_id":146852,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:04:34] local.INFO: Processing buffer {"connection_id":146852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:04:34] local.INFO: IMEI packet received {"connection_id":146852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":146852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:04:42] local.INFO: TCP Data received {"connection_id":146852,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:04:42] local.INFO: Processing buffer {"connection_id":146852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:04:42] local.INFO: IMEI packet received {"connection_id":146852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":146852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:05:14] local.INFO: TCP Data received {"connection_id":146852,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:05:14] local.INFO: Processing buffer {"connection_id":146852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:05:14] local.INFO: IMEI packet received {"connection_id":146852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:05:14] local.ERROR: TCP Connection error {"connection_id":146852,"code":2,"message":"client closed"} 
[2026-08-02 15:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":146852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:05:49] local.INFO: TCP Data received {"connection_id":149183,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:05:49] local.INFO: Processing buffer {"connection_id":149183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:05:49] local.INFO: IMEI packet received {"connection_id":149183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":149183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:10:52] local.INFO: TCP Data received {"connection_id":149186,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:10:52] local.INFO: Processing buffer {"connection_id":149186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:10:52] local.INFO: IMEI packet received {"connection_id":149186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":149186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:10:57] local.INFO: TCP Data received {"connection_id":149186,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1d26150012cc330c007685958005800c52d..."} 
[2026-08-02 15:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1d26150012cc330c007685958005800c52d..."} 
[2026-08-02 15:10:57] local.INFO: Processing buffer {"connection_id":149186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1d26150012cc330c007685958005800c52d..."} 
[2026-08-02 15:10:57] local.INFO: Packet analysis {"connection_id":149186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1d2"} 
[2026-08-02 15:10:57] local.INFO: Extracted packet for processing {"connection_id":149186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1d2"} 
[2026-08-02 15:10:57] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15: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-08-02 15:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129706752001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:10:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785663218000,"timestamp_ms":1785663218000,"timestamp_seconds":1785663218,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1d26150"} 
[2026-08-02 15:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15: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-08-02 15:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129706752001,"66":25473,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129706752001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:10:57] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:10:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:10:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129706752001,"power":25473,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":149186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:10:57] local.INFO: GPS data processed {"connection_id":149186,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:10:57] local.INFO: Acknowledgment sent {"connection_id":149186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:11:24] local.INFO: TCP Data received {"connection_id":147875,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:11:24] local.INFO: Processing buffer {"connection_id":147875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:11:24] local.INFO: IMEI packet received {"connection_id":147875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":147875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:11:29] local.INFO: TCP Data received {"connection_id":147875,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:11:29] local.INFO: Processing buffer {"connection_id":147875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:11:29] local.INFO: IMEI packet received {"connection_id":147875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":147875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:11:39] local.INFO: TCP Data received {"connection_id":147875,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:11:39] local.INFO: Processing buffer {"connection_id":147875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:11:39] local.INFO: Packet analysis {"connection_id":147875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1d6"} 
[2026-08-02 15:11:39] local.INFO: Extracted packet for processing {"connection_id":147875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1d6"} 
[2026-08-02 15:11:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129783808001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:11:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785663519000,"timestamp_ms":1785663519000,"timestamp_seconds":1785663519,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1d6f918"} 
[2026-08-02 15:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":129,"data_length":795,"current_offset":136} 
[2026-08-02 15:11: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-08-02 15:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129783808001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129783808001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:11:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:11:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:11:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129783808001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":147875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:11:39] local.INFO: GPS data processed {"connection_id":147875,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:11:39] local.INFO: Acknowledgment sent {"connection_id":147875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:12:29] local.INFO: TCP Data received {"connection_id":146853,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:12:29] local.INFO: Processing buffer {"connection_id":146853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:12:29] local.INFO: IMEI packet received {"connection_id":146853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":146853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:12:34] local.INFO: TCP Data received {"connection_id":146853,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:12:34] local.INFO: Processing buffer {"connection_id":146853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:12:34] local.INFO: IMEI packet received {"connection_id":146853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":146853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:12:36] local.INFO: TCP Data received {"connection_id":146853,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:12:36] local.INFO: Processing buffer {"connection_id":146853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:12:36] local.INFO: Packet analysis {"connection_id":146853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1d6"} 
[2026-08-02 15:12:36] local.INFO: Extracted packet for processing {"connection_id":146853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1d6"} 
[2026-08-02 15:12:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129783808001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:12:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785663519000,"timestamp_ms":1785663519000,"timestamp_seconds":1785663519,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1d6f918"} 
[2026-08-02 15:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:12: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-08-02 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 15:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129783808001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129783808001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:12:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:12:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:12:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129783808001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":146853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:12:36] local.INFO: GPS data processed {"connection_id":146853,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:12:36] local.INFO: Acknowledgment sent {"connection_id":146853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:13:07] local.INFO: TCP Data received {"connection_id":146853,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:13:07] local.INFO: Processing buffer {"connection_id":146853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:13:07] local.INFO: Packet analysis {"connection_id":146853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1d6"} 
[2026-08-02 15:13:07] local.INFO: Extracted packet for processing {"connection_id":146853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1d6"} 
[2026-08-02 15:13:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129783808001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:13:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785663519000,"timestamp_ms":1785663519000,"timestamp_seconds":1785663519,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1d6f918"} 
[2026-08-02 15:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15: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-08-02 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 15:13: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-08-02 15:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129783808001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129783808001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:13:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:13:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:13:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129783808001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":146853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:13:07] local.INFO: GPS data processed {"connection_id":146853,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:13:07] local.INFO: Acknowledgment sent {"connection_id":146853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:13:25] local.INFO: TCP Data received {"connection_id":147876,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:13:25] local.INFO: Processing buffer {"connection_id":147876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:13:25] local.INFO: IMEI packet received {"connection_id":147876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":147876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:13:29] local.INFO: TCP Data received {"connection_id":147876,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:13:29] local.INFO: Processing buffer {"connection_id":147876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:13:29] local.INFO: IMEI packet received {"connection_id":147876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":147876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:13:30] local.INFO: TCP Data received {"connection_id":147876,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:13:30] local.INFO: Processing buffer {"connection_id":147876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:13:30] local.INFO: Packet analysis {"connection_id":147876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1d6"} 
[2026-08-02 15:13:30] local.INFO: Extracted packet for processing {"connection_id":147876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1d6"} 
[2026-08-02 15:13:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129783808001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785663519000,"timestamp_ms":1785663519000,"timestamp_seconds":1785663519,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1d6f918"} 
[2026-08-02 15:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 15:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129783808001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129783808001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:13:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:13:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129783808001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":147876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:13:30] local.INFO: GPS data processed {"connection_id":147876,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:13:30] local.INFO: Acknowledgment sent {"connection_id":147876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:14:02] local.INFO: TCP Data received {"connection_id":147876,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:14:02] local.INFO: Processing buffer {"connection_id":147876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1d6f918012cc330c007685958005800c52d..."} 
[2026-08-02 15:14:02] local.INFO: Packet analysis {"connection_id":147876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1d6"} 
[2026-08-02 15:14:02] local.INFO: Extracted packet for processing {"connection_id":147876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1d6"} 
[2026-08-02 15:14:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15: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-08-02 15:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129783808001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:14:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785663519000,"timestamp_ms":1785663519000,"timestamp_seconds":1785663519,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1d6f918"} 
[2026-08-02 15:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 15:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15: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-08-02 15:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129783808001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129783808001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:14:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:14:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:14:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129783808001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":147876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:14:02] local.INFO: GPS data processed {"connection_id":147876,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:14:02] local.INFO: Acknowledgment sent {"connection_id":147876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:14:24] local.INFO: TCP Data received {"connection_id":149187,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:14:24] local.INFO: Processing buffer {"connection_id":149187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:14:24] local.INFO: IMEI packet received {"connection_id":149187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":149187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:14:29] local.INFO: TCP Data received {"connection_id":149187,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:14:29] local.INFO: Processing buffer {"connection_id":149187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:14:29] local.INFO: IMEI packet received {"connection_id":149187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":149187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:14:30] local.INFO: TCP Data received {"connection_id":149187,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:14:30] local.INFO: Processing buffer {"connection_id":149187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:14:30] local.INFO: Packet analysis {"connection_id":149187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:14:30] local.INFO: Extracted packet for processing {"connection_id":149187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:14:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129860864001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785663820000,"timestamp_ms":1785663820000,"timestamp_seconds":1785663820,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1db90e0"} 
[2026-08-02 15:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129860864001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129860864001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:14:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:14:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129860864001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":149187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:14:30] local.INFO: GPS data processed {"connection_id":149187,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:14:30] local.INFO: Acknowledgment sent {"connection_id":149187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:15:02] local.INFO: TCP Data received {"connection_id":149187,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:15:02] local.INFO: Processing buffer {"connection_id":149187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:15:02] local.INFO: Packet analysis {"connection_id":149187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:15:02] local.INFO: Extracted packet for processing {"connection_id":149187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:15:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15: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-08-02 15:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129860864001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:15:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785663820000,"timestamp_ms":1785663820000,"timestamp_seconds":1785663820,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1db90e0"} 
[2026-08-02 15:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15: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-08-02 15:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129860864001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129860864001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:15:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:15:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:15:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129860864001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":149187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:15:02] local.INFO: GPS data processed {"connection_id":149187,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:15:02] local.INFO: Acknowledgment sent {"connection_id":149187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:15:24] local.INFO: TCP Data received {"connection_id":149188,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:15:24] local.INFO: Processing buffer {"connection_id":149188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:15:24] local.INFO: IMEI packet received {"connection_id":149188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":149188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:15:29] local.INFO: TCP Data received {"connection_id":149188,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:15:29] local.INFO: Processing buffer {"connection_id":149188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:15:29] local.INFO: IMEI packet received {"connection_id":149188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":149188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:15:30] local.INFO: TCP Data received {"connection_id":149188,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:15:30] local.INFO: Processing buffer {"connection_id":149188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:15:30] local.INFO: Packet analysis {"connection_id":149188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:15:30] local.INFO: Extracted packet for processing {"connection_id":149188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:15:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129860864001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785663820000,"timestamp_ms":1785663820000,"timestamp_seconds":1785663820,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1db90e0"} 
[2026-08-02 15:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129860864001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129860864001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:15:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:15:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129860864001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":149188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:15:31] local.INFO: GPS data processed {"connection_id":149188,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:15:31] local.INFO: Acknowledgment sent {"connection_id":149188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:16:02] local.INFO: TCP Data received {"connection_id":149188,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:16:02] local.INFO: Processing buffer {"connection_id":149188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:16:02] local.INFO: Packet analysis {"connection_id":149188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:16:02] local.INFO: Extracted packet for processing {"connection_id":149188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:16:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129860864001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:16:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785663820000,"timestamp_ms":1785663820000,"timestamp_seconds":1785663820,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1db90e0"} 
[2026-08-02 15:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129860864001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129860864001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:16:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:16:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:16:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129860864001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":149188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:16:02] local.INFO: GPS data processed {"connection_id":149188,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:16:02] local.INFO: Acknowledgment sent {"connection_id":149188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:16:27] local.INFO: TCP Data received {"connection_id":147877,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:16:27] local.INFO: Processing buffer {"connection_id":147877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:16:27] local.INFO: IMEI packet received {"connection_id":147877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":147877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:16:29] local.INFO: TCP Data received {"connection_id":147877,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:16:29] local.INFO: Processing buffer {"connection_id":147877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:16:29] local.INFO: IMEI packet received {"connection_id":147877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":147877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:16:30] local.INFO: TCP Data received {"connection_id":147877,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:16:30] local.INFO: Processing buffer {"connection_id":147877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:16:30] local.INFO: Packet analysis {"connection_id":147877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:16:30] local.INFO: Extracted packet for processing {"connection_id":147877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:16:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129860864001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:16:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785663820000,"timestamp_ms":1785663820000,"timestamp_seconds":1785663820,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1db90e0"} 
[2026-08-02 15:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129860864001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129860864001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:16:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:16:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:16:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129860864001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":147877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:16:30] local.INFO: GPS data processed {"connection_id":147877,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:16:30] local.INFO: Acknowledgment sent {"connection_id":147877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:16:35] local.INFO: TCP Data received {"connection_id":147877,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:16:35] local.INFO: Processing buffer {"connection_id":147877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:16:35] local.INFO: Packet analysis {"connection_id":147877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:16:35] local.INFO: Extracted packet for processing {"connection_id":147877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:16:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129860864001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:16:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785663820000,"timestamp_ms":1785663820000,"timestamp_seconds":1785663820,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1db90e0"} 
[2026-08-02 15:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129860864001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129860864001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:16:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:16:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:16:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129860864001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":147877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:16:35] local.INFO: GPS data processed {"connection_id":147877,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:16:35] local.INFO: Acknowledgment sent {"connection_id":147877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:17:08] local.INFO: TCP Data received {"connection_id":147877,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:17:08] local.INFO: Processing buffer {"connection_id":147877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:17:08] local.INFO: Packet analysis {"connection_id":147877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:17:08] local.INFO: Extracted packet for processing {"connection_id":147877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:17:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129860864001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:17:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785663820000,"timestamp_ms":1785663820000,"timestamp_seconds":1785663820,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1db90e0"} 
[2026-08-02 15:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15: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-08-02 15: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":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:17: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-08-02 15:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129860864001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129860864001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:17:08] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:17:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:17:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129860864001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":147877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:17:08] local.INFO: GPS data processed {"connection_id":147877,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:17:08] local.INFO: Acknowledgment sent {"connection_id":147877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:17:24] local.INFO: TCP Data received {"connection_id":149189,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:17:24] local.INFO: Processing buffer {"connection_id":149189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:17:24] local.INFO: IMEI packet received {"connection_id":149189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":149189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:17:38] local.INFO: TCP Data received {"connection_id":149189,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:17:38] local.INFO: Processing buffer {"connection_id":149189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:17:38] local.INFO: IMEI packet received {"connection_id":149189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":149189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:17:46] local.INFO: TCP Data received {"connection_id":149189,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:17:46] local.INFO: Processing buffer {"connection_id":149189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:17:46] local.INFO: Packet analysis {"connection_id":149189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:17:46] local.INFO: Extracted packet for processing {"connection_id":149189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:17:46] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129860864001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:17:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785663820000,"timestamp_ms":1785663820000,"timestamp_seconds":1785663820,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1db90e0"} 
[2026-08-02 15:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129860864001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129860864001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:17:46] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:17:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:17:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129860864001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":149189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:17:46] local.INFO: GPS data processed {"connection_id":149189,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:17:46] local.INFO: Acknowledgment sent {"connection_id":149189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:18:32] local.INFO: TCP Data received {"connection_id":146628,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:18:32] local.INFO: Processing buffer {"connection_id":146628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:18:32] local.INFO: IMEI packet received {"connection_id":146628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":146628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:18:39] local.INFO: TCP Data received {"connection_id":146628,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:18:39] local.INFO: Processing buffer {"connection_id":146628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:18:39] local.INFO: IMEI packet received {"connection_id":146628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":146628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:18:42] local.INFO: TCP Data received {"connection_id":146628,"ip":"117.224.14.1","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fc1..."} 
[2026-08-02 15:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146628,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fc1..."} 
[2026-08-02 15:18:42] local.INFO: Processing buffer {"connection_id":146628,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fc1..."} 
[2026-08-02 15:18:42] local.INFO: IMEI packet received {"connection_id":146628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":146628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:18:48] local.INFO: TCP Data received {"connection_id":146628,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:18:48] local.INFO: Processing buffer {"connection_id":146628,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:18:48] local.INFO: Packet analysis {"connection_id":146628,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:18:48] local.INFO: Extracted packet for processing {"connection_id":146628,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:18:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129860864001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:18:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785663820000,"timestamp_ms":1785663820000,"timestamp_seconds":1785663820,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1db90e0"} 
[2026-08-02 15:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129860864001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129860864001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:18:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:18:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:18:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129860864001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":146628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:18:48] local.INFO: GPS data processed {"connection_id":146628,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:18:48] local.INFO: Acknowledgment sent {"connection_id":146628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:18:48] local.INFO: Packet analysis {"connection_id":146628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:18:48] local.INFO: Extracted packet for processing {"connection_id":146628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:18:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129860864001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:18:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785663820000,"timestamp_ms":1785663820000,"timestamp_seconds":1785663820,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1db90e0"} 
[2026-08-02 15:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129860864001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129860864001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:18:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:18:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:18:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129860864001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":146628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:18:48] local.INFO: GPS data processed {"connection_id":146628,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:18:48] local.INFO: Acknowledgment sent {"connection_id":146628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:18:50] local.INFO: TCP Data received {"connection_id":146628,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:18:50] local.INFO: Processing buffer {"connection_id":146628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1db90e0012cc330c007685958005800c52f..."} 
[2026-08-02 15:18:50] local.INFO: Packet analysis {"connection_id":146628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:18:50] local.INFO: Extracted packet for processing {"connection_id":146628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1db"} 
[2026-08-02 15:18:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129860864001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:18:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785663820000,"timestamp_ms":1785663820000,"timestamp_seconds":1785663820,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1db90e0"} 
[2026-08-02 15:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129860864001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129860864001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:18:50] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:18:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:18:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129860864001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":146628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:18:50] local.INFO: GPS data processed {"connection_id":146628,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:18:50] local.INFO: Acknowledgment sent {"connection_id":146628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:19:24] local.INFO: TCP Data received {"connection_id":146629,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:19:24] local.INFO: Processing buffer {"connection_id":146629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:19:24] local.INFO: IMEI packet received {"connection_id":146629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":146629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:19:29] local.INFO: TCP Data received {"connection_id":146629,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:19:29] local.INFO: Processing buffer {"connection_id":146629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:19:29] local.INFO: IMEI packet received {"connection_id":146629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":146629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:19:30] local.INFO: TCP Data received {"connection_id":146629,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:19:30] local.INFO: Processing buffer {"connection_id":146629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:19:30] local.INFO: Packet analysis {"connection_id":146629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:19:30] local.INFO: Extracted packet for processing {"connection_id":146629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:19:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129937920001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785664121000,"timestamp_ms":1785664121000,"timestamp_seconds":1785664121,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e028a8"} 
[2026-08-02 15:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129937920001,"66":25441,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129937920001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:19:30] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:19:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129937920001,"power":25441,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":146629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:19:30] local.INFO: GPS data processed {"connection_id":146629,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:19:30] local.INFO: Acknowledgment sent {"connection_id":146629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:20:04] local.INFO: TCP Data received {"connection_id":146629,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:20:04] local.INFO: Processing buffer {"connection_id":146629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:20:04] local.INFO: Packet analysis {"connection_id":146629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:20:04] local.INFO: Extracted packet for processing {"connection_id":146629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:20:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129937920001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:20:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785664121000,"timestamp_ms":1785664121000,"timestamp_seconds":1785664121,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e028a8"} 
[2026-08-02 15:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129937920001,"66":25441,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129937920001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:20:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:20:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:20:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129937920001,"power":25441,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":146629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:20:04] local.INFO: GPS data processed {"connection_id":146629,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:20:04] local.INFO: Acknowledgment sent {"connection_id":146629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:20:26] local.INFO: TCP Data received {"connection_id":149190,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:20:26] local.INFO: Processing buffer {"connection_id":149190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:20:26] local.INFO: IMEI packet received {"connection_id":149190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":149190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:20:38] local.INFO: TCP Data received {"connection_id":149190,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:20:38] local.INFO: Processing buffer {"connection_id":149190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:20:38] local.INFO: IMEI packet received {"connection_id":149190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":149190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:20:39] local.INFO: TCP Data received {"connection_id":149190,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:20:39] local.INFO: Processing buffer {"connection_id":149190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:20:39] local.INFO: Packet analysis {"connection_id":149190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:20:39] local.INFO: Extracted packet for processing {"connection_id":149190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:20:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129937920001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:20:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785664121000,"timestamp_ms":1785664121000,"timestamp_seconds":1785664121,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e028a8"} 
[2026-08-02 15:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:20: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-08-02 15:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:20: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-08-02 15:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129937920001,"66":25441,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129937920001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:20:39] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:20:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:20:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129937920001,"power":25441,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":149190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:20:39] local.INFO: GPS data processed {"connection_id":149190,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:20:39] local.INFO: Acknowledgment sent {"connection_id":149190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:20:40] local.INFO: TCP Data received {"connection_id":149190,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:20:40] local.INFO: Processing buffer {"connection_id":149190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:20:40] local.INFO: Packet analysis {"connection_id":149190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:20:40] local.INFO: Extracted packet for processing {"connection_id":149190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:20:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129937920001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785664121000,"timestamp_ms":1785664121000,"timestamp_seconds":1785664121,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e028a8"} 
[2026-08-02 15:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:20: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-08-02 15:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129937920001,"66":25441,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129937920001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:20:40] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:20:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129937920001,"power":25441,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":149190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:20:40] local.INFO: GPS data processed {"connection_id":149190,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:20:40] local.INFO: Acknowledgment sent {"connection_id":149190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:21:29] local.INFO: TCP Data received {"connection_id":146630,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:21:29] local.INFO: Processing buffer {"connection_id":146630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:21:29] local.INFO: IMEI packet received {"connection_id":146630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":146630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:21:35] local.INFO: TCP Data received {"connection_id":146630,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:21:35] local.INFO: Processing buffer {"connection_id":146630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:21:35] local.INFO: IMEI packet received {"connection_id":146630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":146630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:21:36] local.INFO: TCP Data received {"connection_id":146630,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:21:36] local.INFO: Processing buffer {"connection_id":146630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:21:36] local.INFO: Packet analysis {"connection_id":146630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:21:36] local.INFO: Extracted packet for processing {"connection_id":146630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:21:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129937920001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785664121000,"timestamp_ms":1785664121000,"timestamp_seconds":1785664121,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e028a8"} 
[2026-08-02 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-08-02 15:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 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-08-02 15:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129937920001,"66":25441,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129937920001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:21:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:21:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:21:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129937920001,"power":25441,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":146630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:21:36] local.INFO: GPS data processed {"connection_id":146630,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:21:36] local.INFO: Acknowledgment sent {"connection_id":146630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:22:08] local.INFO: TCP Data received {"connection_id":146630,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:22:08] local.INFO: Processing buffer {"connection_id":146630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:22:08] local.INFO: Packet analysis {"connection_id":146630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:22:08] local.INFO: Extracted packet for processing {"connection_id":146630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:22:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129937920001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:22:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785664121000,"timestamp_ms":1785664121000,"timestamp_seconds":1785664121,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e028a8"} 
[2026-08-02 15:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:22: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-08-02 15:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129937920001,"66":25441,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129937920001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:22:08] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:22:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:22:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129937920001,"power":25441,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":146630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:22:08] local.INFO: GPS data processed {"connection_id":146630,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:22:08] local.INFO: Acknowledgment sent {"connection_id":146630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:22:19] local.INFO: TCP Data received {"connection_id":147878,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:22:19] local.INFO: Processing buffer {"connection_id":147878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:22:19] local.INFO: IMEI packet received {"connection_id":147878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":147878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:22:20] local.INFO: TCP Data received {"connection_id":147878,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:22:20] local.INFO: Processing buffer {"connection_id":147878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:22:20] local.INFO: IMEI packet received {"connection_id":147878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":147878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:22:24] local.INFO: TCP Data received {"connection_id":147878,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:22:24] local.INFO: Processing buffer {"connection_id":147878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:22:24] local.INFO: IMEI packet received {"connection_id":147878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":147878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:22:25] local.INFO: TCP Data received {"connection_id":147878,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-02 15:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147878,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-02 15:22:25] local.INFO: Processing buffer {"connection_id":147878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-02 15:22:25] local.INFO: Packet analysis {"connection_id":147878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-02 15:22:25] local.INFO: Extracted packet for processing {"connection_id":147878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-02 15:22:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 15:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:22:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 15:22:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:22:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 15:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147878,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 15:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 15:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 15:22:25] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 15:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":147878,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 15:22:25] local.ERROR: GPS data processing failed {"connection_id":147878,"error":"No valid data to process"} 
[2026-08-02 15:22:25] local.INFO: Acknowledgment sent {"connection_id":147878,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 15:22:42] local.INFO: TCP Data received {"connection_id":146854,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:22:42] local.INFO: Processing buffer {"connection_id":146854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:22:42] local.INFO: IMEI packet received {"connection_id":146854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":146854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:22:44] local.INFO: TCP Data received {"connection_id":146854,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:22:44] local.INFO: Processing buffer {"connection_id":146854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:22:44] local.INFO: IMEI packet received {"connection_id":146854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":146854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:22:45] local.INFO: TCP Data received {"connection_id":146854,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:22:45] local.INFO: Processing buffer {"connection_id":146854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:22:45] local.INFO: Packet analysis {"connection_id":146854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:22:45] local.INFO: Extracted packet for processing {"connection_id":146854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:22:45] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129937920001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:22:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785664121000,"timestamp_ms":1785664121000,"timestamp_seconds":1785664121,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e028a8"} 
[2026-08-02 15:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129937920001,"66":25441,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129937920001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:22:45] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:22:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:22:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129937920001,"power":25441,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":146854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:22:45] local.INFO: GPS data processed {"connection_id":146854,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:22:45] local.INFO: Acknowledgment sent {"connection_id":146854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:22:50] local.INFO: TCP Data received {"connection_id":146854,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:22:50] local.INFO: Processing buffer {"connection_id":146854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:22:50] local.INFO: Packet analysis {"connection_id":146854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:22:50] local.INFO: Extracted packet for processing {"connection_id":146854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:22:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129937920001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:22:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785664121000,"timestamp_ms":1785664121000,"timestamp_seconds":1785664121,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e028a8"} 
[2026-08-02 15:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129937920001,"66":25441,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129937920001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:22:50] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:22:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:22:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129937920001,"power":25441,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":146854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:22:50] local.INFO: GPS data processed {"connection_id":146854,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:22:50] local.INFO: Acknowledgment sent {"connection_id":146854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:22:55] local.INFO: TCP Data received {"connection_id":147878,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-02 15:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-02 15:22:55] local.INFO: Processing buffer {"connection_id":147878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-02 15:22:55] local.INFO: Packet analysis {"connection_id":147878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 15:22:55] local.INFO: Extracted packet for processing {"connection_id":147878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 15:22:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 15:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:22:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 15:22:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:22:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 15:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147878,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 15:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 15:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 15:22:55] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 15:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":147878,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 15:22:55] local.ERROR: GPS data processing failed {"connection_id":147878,"error":"No valid data to process"} 
[2026-08-02 15:22:55] local.INFO: Acknowledgment sent {"connection_id":147878,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 15:23:24] local.INFO: TCP Data received {"connection_id":147879,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:23:24] local.INFO: Processing buffer {"connection_id":147879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:23:24] local.INFO: IMEI packet received {"connection_id":147879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":147879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:23:27] local.INFO: TCP Data received {"connection_id":147878,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-08-02 15:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-08-02 15:23:27] local.INFO: Processing buffer {"connection_id":147878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-08-02 15:23:27] local.INFO: Packet analysis {"connection_id":147878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 15:23:27] local.INFO: Extracted packet for processing {"connection_id":147878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 15:23:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:23:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 15:23:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":90000,"timestamp_seconds":90,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:23:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 15:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":147878,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 15:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 15:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 15:23:27] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 15:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":147878,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 15:23:27] local.ERROR: GPS data processing failed {"connection_id":147878,"error":"No valid data to process"} 
[2026-08-02 15:23:27] local.INFO: Acknowledgment sent {"connection_id":147878,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 15:23:29] local.INFO: TCP Data received {"connection_id":147879,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:23:29] local.INFO: Processing buffer {"connection_id":147879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:23:29] local.INFO: IMEI packet received {"connection_id":147879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":147879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:23:30] local.INFO: TCP Data received {"connection_id":147879,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:23:30] local.INFO: Processing buffer {"connection_id":147879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:23:30] local.INFO: Packet analysis {"connection_id":147879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:23:30] local.INFO: Extracted packet for processing {"connection_id":147879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:23:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129937920001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785664121000,"timestamp_ms":1785664121000,"timestamp_seconds":1785664121,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e028a8"} 
[2026-08-02 15:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129937920001,"66":25441,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129937920001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:23:30] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:23:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129937920001,"power":25441,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":147879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:23:30] local.INFO: GPS data processed {"connection_id":147879,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:23:30] local.INFO: Acknowledgment sent {"connection_id":147879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:24:02] local.INFO: TCP Data received {"connection_id":147879,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:24:02] local.INFO: Processing buffer {"connection_id":147879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e028a8012cc330c007685958005800c531..."} 
[2026-08-02 15:24:02] local.INFO: Packet analysis {"connection_id":147879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:24:02] local.INFO: Extracted packet for processing {"connection_id":147879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e0"} 
[2026-08-02 15:24:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457129937920001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:24:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785664121000,"timestamp_ms":1785664121000,"timestamp_seconds":1785664121,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e028a8"} 
[2026-08-02 15:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457129937920001,"66":25441,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457129937920001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:24:02] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:24:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:24:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457129937920001,"power":25441,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":147879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:24:02] local.INFO: GPS data processed {"connection_id":147879,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:24:02] local.INFO: Acknowledgment sent {"connection_id":147879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:24:02] local.INFO: TCP Data received {"connection_id":147878,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-08-02 15:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147878,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-08-02 15:24:02] local.INFO: Processing buffer {"connection_id":147878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-08-02 15:24:02] local.INFO: Packet analysis {"connection_id":147878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 15:24:02] local.INFO: Extracted packet for processing {"connection_id":147878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 15:24:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 15:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:24:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 15:24:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":111000,"timestamp_seconds":111,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:24:02] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 15:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147878,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 15:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 15:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 15:24:02] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 15:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":147878,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 15:24:02] local.ERROR: GPS data processing failed {"connection_id":147878,"error":"No valid data to process"} 
[2026-08-02 15:24:02] local.INFO: Acknowledgment sent {"connection_id":147878,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 15:24:24] local.INFO: TCP Data received {"connection_id":147880,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:24:24] local.INFO: Processing buffer {"connection_id":147880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:24:24] local.INFO: IMEI packet received {"connection_id":147880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":147880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:24:29] local.INFO: TCP Data received {"connection_id":147880,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:24:29] local.INFO: Processing buffer {"connection_id":147880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:24:29] local.INFO: IMEI packet received {"connection_id":147880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":147880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:24:31] local.INFO: TCP Data received {"connection_id":147880,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:24:31] local.INFO: Processing buffer {"connection_id":147880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:24:31] local.INFO: Packet analysis {"connection_id":147880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:24:31] local.INFO: Extracted packet for processing {"connection_id":147880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:24:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130014976001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785664422000,"timestamp_ms":1785664422000,"timestamp_seconds":1785664422,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e4c070"} 
[2026-08-02 15:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 15:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130014976001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130014976001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:24:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:24:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130014976001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":147880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:24:31] local.INFO: GPS data processed {"connection_id":147880,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:24:31] local.INFO: Acknowledgment sent {"connection_id":147880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:24:34] local.INFO: TCP Data received {"connection_id":147878,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e4c4580100000000000000000000000000..."} 
[2026-08-02 15:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e4c4580100000000000000000000000000..."} 
[2026-08-02 15:24:34] local.INFO: Processing buffer {"connection_id":147878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e4c4580100000000000000000000000000..."} 
[2026-08-02 15:24:34] local.INFO: Packet analysis {"connection_id":147878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:24:34] local.INFO: Extracted packet for processing {"connection_id":147878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:24:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 15:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:24:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 15:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785664423000,"timestamp_ms":1785664423000,"timestamp_seconds":1785664423,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e4c458"} 
[2026-08-02 15:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 15:24: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-08-02 15:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":147878,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 15:24:34] local.INFO: GPS data processed {"connection_id":147878,"processed":0,"errors":0,"total":1} 
[2026-08-02 15:24:34] local.INFO: Acknowledgment sent {"connection_id":147878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:25:02] local.INFO: TCP Data received {"connection_id":147880,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:25:02] local.INFO: Processing buffer {"connection_id":147880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:25:02] local.INFO: Packet analysis {"connection_id":147880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:25:02] local.INFO: Extracted packet for processing {"connection_id":147880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:25:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130014976001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:25:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785664422000,"timestamp_ms":1785664422000,"timestamp_seconds":1785664422,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e4c070"} 
[2026-08-02 15:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 15:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130014976001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130014976001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:25:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:25:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:25:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130014976001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":147880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:25:02] local.INFO: GPS data processed {"connection_id":147880,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:25:02] local.INFO: Acknowledgment sent {"connection_id":147880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:25:05] local.INFO: TCP Data received {"connection_id":147878,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e516600100000000000000000000000000..."} 
[2026-08-02 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e516600100000000000000000000000000..."} 
[2026-08-02 15:25:05] local.INFO: Processing buffer {"connection_id":147878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e516600100000000000000000000000000..."} 
[2026-08-02 15:25:05] local.INFO: Packet analysis {"connection_id":147878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e5"} 
[2026-08-02 15:25:05] local.INFO: Extracted packet for processing {"connection_id":147878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e5"} 
[2026-08-02 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:25:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 15:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785664444000,"timestamp_ms":1785664444000,"timestamp_seconds":1785664444,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e51660"} 
[2026-08-02 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-08-02 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-02 15:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":147878,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 15:25:05] local.INFO: GPS data processed {"connection_id":147878,"processed":0,"errors":0,"total":1} 
[2026-08-02 15:25:05] local.INFO: Acknowledgment sent {"connection_id":147878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:25:29] local.INFO: TCP Data received {"connection_id":149191,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:25:29] local.INFO: Processing buffer {"connection_id":149191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:25:29] local.INFO: IMEI packet received {"connection_id":149191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":149191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:25:34] local.INFO: TCP Data received {"connection_id":149191,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:25:34] local.INFO: Processing buffer {"connection_id":149191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:25:34] local.INFO: IMEI packet received {"connection_id":149191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":149191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:25:36] local.INFO: TCP Data received {"connection_id":149191,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:25:36] local.INFO: Processing buffer {"connection_id":149191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:25:36] local.INFO: Packet analysis {"connection_id":149191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:25:36] local.INFO: Extracted packet for processing {"connection_id":149191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130014976001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:25:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785664422000,"timestamp_ms":1785664422000,"timestamp_seconds":1785664422,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e4c070"} 
[2026-08-02 15:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 15:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130014976001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130014976001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:25:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:25:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:25:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130014976001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":149191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:25:36] local.INFO: GPS data processed {"connection_id":149191,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:25:36] local.INFO: Acknowledgment sent {"connection_id":149191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:25:36] local.INFO: TCP Data received {"connection_id":147878,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e568680100000000000000000000000000..."} 
[2026-08-02 15:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e568680100000000000000000000000000..."} 
[2026-08-02 15:25:36] local.INFO: Processing buffer {"connection_id":147878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e568680100000000000000000000000000..."} 
[2026-08-02 15:25:36] local.INFO: Packet analysis {"connection_id":147878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e5"} 
[2026-08-02 15:25:36] local.INFO: Extracted packet for processing {"connection_id":147878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e5"} 
[2026-08-02 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 15:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:25:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 15:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785664465000,"timestamp_ms":1785664465000,"timestamp_seconds":1785664465,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e56868"} 
[2026-08-02 15:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-02 15:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":147878,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 15:25:36] local.INFO: GPS data processed {"connection_id":147878,"processed":0,"errors":0,"total":1} 
[2026-08-02 15:25:36] local.INFO: Acknowledgment sent {"connection_id":147878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:25:42] local.INFO: TCP Data received {"connection_id":149191,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:25:42] local.INFO: Processing buffer {"connection_id":149191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:25:42] local.INFO: Packet analysis {"connection_id":149191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:25:42] local.INFO: Extracted packet for processing {"connection_id":149191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:25:42] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130014976001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785664422000,"timestamp_ms":1785664422000,"timestamp_seconds":1785664422,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e4c070"} 
[2026-08-02 15:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 15:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130014976001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130014976001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:25:42] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:25:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130014976001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":149191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:25:42] local.INFO: GPS data processed {"connection_id":149191,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:25:42] local.INFO: Acknowledgment sent {"connection_id":149191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:26:07] local.INFO: TCP Data received {"connection_id":147878,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e5ba700100000000000000000000000000..."} 
[2026-08-02 15:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e5ba700100000000000000000000000000..."} 
[2026-08-02 15:26:07] local.INFO: Processing buffer {"connection_id":147878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e5ba700100000000000000000000000000..."} 
[2026-08-02 15:26:07] local.INFO: Packet analysis {"connection_id":147878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e5"} 
[2026-08-02 15:26:07] local.INFO: Extracted packet for processing {"connection_id":147878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e5"} 
[2026-08-02 15:26:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 15:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:26:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 15:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785664486000,"timestamp_ms":1785664486000,"timestamp_seconds":1785664486,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e5ba70"} 
[2026-08-02 15:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-02 15:26: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-08-02 15:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":147878,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 15:26:07] local.INFO: GPS data processed {"connection_id":147878,"processed":0,"errors":0,"total":1} 
[2026-08-02 15:26:07] local.INFO: Acknowledgment sent {"connection_id":147878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:26:24] local.INFO: TCP Data received {"connection_id":147881,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:26:24] local.INFO: Processing buffer {"connection_id":147881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:26:24] local.INFO: IMEI packet received {"connection_id":147881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":147881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:26:29] local.INFO: TCP Data received {"connection_id":147881,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:26:29] local.INFO: Processing buffer {"connection_id":147881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:26:29] local.INFO: IMEI packet received {"connection_id":147881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":147881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:26:30] local.INFO: TCP Data received {"connection_id":147881,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:26:30] local.INFO: Processing buffer {"connection_id":147881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:26:30] local.INFO: Packet analysis {"connection_id":147881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:26:30] local.INFO: Extracted packet for processing {"connection_id":147881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:26:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130014976001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785664422000,"timestamp_ms":1785664422000,"timestamp_seconds":1785664422,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e4c070"} 
[2026-08-02 15:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 15:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130014976001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130014976001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:26:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:26:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130014976001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":147881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:26:30] local.INFO: GPS data processed {"connection_id":147881,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:26:30] local.INFO: Acknowledgment sent {"connection_id":147881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:26:38] local.INFO: TCP Data received {"connection_id":147878,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e60c780100000000000000000000000000..."} 
[2026-08-02 15:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e60c780100000000000000000000000000..."} 
[2026-08-02 15:26:38] local.INFO: Processing buffer {"connection_id":147878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e60c780100000000000000000000000000..."} 
[2026-08-02 15:26:38] local.INFO: Packet analysis {"connection_id":147878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e6"} 
[2026-08-02 15:26:38] local.INFO: Extracted packet for processing {"connection_id":147878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e6"} 
[2026-08-02 15:26:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:26:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 15:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785664507000,"timestamp_ms":1785664507000,"timestamp_seconds":1785664507,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e60c78"} 
[2026-08-02 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-08-02 15:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-02 15:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":147878,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 15:26:38] local.INFO: GPS data processed {"connection_id":147878,"processed":0,"errors":0,"total":1} 
[2026-08-02 15:26:38] local.INFO: Acknowledgment sent {"connection_id":147878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:26:58] local.INFO: TCP Data received {"connection_id":146631,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:26:58] local.INFO: Processing buffer {"connection_id":146631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:26:58] local.INFO: IMEI packet received {"connection_id":146631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":146631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:27:04] local.INFO: TCP Data received {"connection_id":146631,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:27:04] local.INFO: Processing buffer {"connection_id":146631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:27:04] local.INFO: IMEI packet received {"connection_id":146631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":146631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:27:05] local.INFO: TCP Data received {"connection_id":146631,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e65e800100000000000000000000000000..."} 
[2026-08-02 15:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e65e800100000000000000000000000000..."} 
[2026-08-02 15:27:05] local.INFO: Processing buffer {"connection_id":146631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e65e800100000000000000000000000000..."} 
[2026-08-02 15:27:05] local.INFO: Packet analysis {"connection_id":146631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e6"} 
[2026-08-02 15:27:05] local.INFO: Extracted packet for processing {"connection_id":146631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e6"} 
[2026-08-02 15:27:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 15: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-08-02 15:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 15:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785664528000,"timestamp_ms":1785664528000,"timestamp_seconds":1785664528,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e65e80"} 
[2026-08-02 15:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-02 15:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733123072,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:05] local.WARNING: Large IO value detected {"io_id":120,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503756269092864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:05] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3838072833,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638384256612455,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263887090156032,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-02 15:27:05] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2550202368,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:05] local.WARNING: Large IO value detected {"io_id":136,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:05] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,103,83,24,241,157,16,120,159,186,10,66,104,101,22,1,240,27,227,193,4,113,205,177,239,2,56,36,206,136],"length":628,"final_offset":758,"validated_count":30,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-02 15:27:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":146631,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 15:27:05] local.INFO: GPS data processed {"connection_id":146631,"processed":0,"errors":0,"total":1} 
[2026-08-02 15:27:05] local.INFO: Acknowledgment sent {"connection_id":146631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:27:08] local.INFO: TCP Data received {"connection_id":147881,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:27:08] local.INFO: Processing buffer {"connection_id":147881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:27:08] local.INFO: Packet analysis {"connection_id":147881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:27:08] local.INFO: Extracted packet for processing {"connection_id":147881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:27:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130014976001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785664422000,"timestamp_ms":1785664422000,"timestamp_seconds":1785664422,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e4c070"} 
[2026-08-02 15:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":97,"data_length":795,"current_offset":136} 
[2026-08-02 15:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130014976001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130014976001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:27:08] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:27:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:27:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130014976001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":147881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:27:08] local.INFO: GPS data processed {"connection_id":147881,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:27:08] local.INFO: Acknowledgment sent {"connection_id":147881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:27:36] local.INFO: TCP Data received {"connection_id":146631,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e6b0880100000000000000000000000000..."} 
[2026-08-02 15:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e6b0880100000000000000000000000000..."} 
[2026-08-02 15:27:36] local.INFO: Processing buffer {"connection_id":146631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e6b0880100000000000000000000000000..."} 
[2026-08-02 15:27:36] local.INFO: Packet analysis {"connection_id":146631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e6"} 
[2026-08-02 15:27:36] local.INFO: Extracted packet for processing {"connection_id":146631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e6"} 
[2026-08-02 15:27:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 15:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:27:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 15:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785664549000,"timestamp_ms":1785664549000,"timestamp_seconds":1785664549,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e6b088"} 
[2026-08-02 15:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-02 15:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":146631,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 15:27:36] local.INFO: GPS data processed {"connection_id":146631,"processed":0,"errors":0,"total":1} 
[2026-08-02 15:27:36] local.INFO: Acknowledgment sent {"connection_id":146631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:28:03] local.INFO: TCP Data received {"connection_id":146632,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:28:03] local.INFO: Processing buffer {"connection_id":146632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:28:03] local.INFO: IMEI packet received {"connection_id":146632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":146632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:28:03] local.INFO: TCP Data received {"connection_id":146632,"ip":"117.224.14.1","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146632,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 15:28:03] local.INFO: Processing buffer {"connection_id":146632,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 15:28:03] local.INFO: IMEI packet received {"connection_id":146632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":146632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:28:05] local.INFO: TCP Data received {"connection_id":146632,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:28:05] local.INFO: Processing buffer {"connection_id":146632,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fc1..."} 
[2026-08-02 15:28:05] local.INFO: IMEI packet received {"connection_id":146632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":146632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:28:06] local.INFO: TCP Data received {"connection_id":146632,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:28:06] local.INFO: Processing buffer {"connection_id":146632,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:28:06] local.INFO: Packet analysis {"connection_id":146632,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:28:06] local.INFO: Extracted packet for processing {"connection_id":146632,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:28:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130014976001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785664422000,"timestamp_ms":1785664422000,"timestamp_seconds":1785664422,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e4c070"} 
[2026-08-02 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-08-02 15:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 15: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-08-02 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-08-02 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-08-02 15:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130014976001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130014976001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:28:06] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:28:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:28:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130014976001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":146632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:28:06] local.INFO: GPS data processed {"connection_id":146632,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:28:06] local.INFO: Acknowledgment sent {"connection_id":146632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:28:06] local.INFO: Packet analysis {"connection_id":146632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:28:06] local.INFO: Extracted packet for processing {"connection_id":146632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:28:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130014976001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785664422000,"timestamp_ms":1785664422000,"timestamp_seconds":1785664422,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e4c070"} 
[2026-08-02 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-08-02 15:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 15: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-08-02 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-08-02 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-08-02 15:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130014976001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130014976001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:28:06] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:28:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:28:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130014976001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":146632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:28:06] local.INFO: GPS data processed {"connection_id":146632,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:28:06] local.INFO: Acknowledgment sent {"connection_id":146632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:28:07] local.INFO: TCP Data received {"connection_id":146631,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e702900100000000000000000000000000..."} 
[2026-08-02 15:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e702900100000000000000000000000000..."} 
[2026-08-02 15:28:07] local.INFO: Processing buffer {"connection_id":146631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e702900100000000000000000000000000..."} 
[2026-08-02 15:28:07] local.INFO: Packet analysis {"connection_id":146631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e7"} 
[2026-08-02 15:28:07] local.INFO: Extracted packet for processing {"connection_id":146631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e7"} 
[2026-08-02 15:28:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 15:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 15:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785664570000,"timestamp_ms":1785664570000,"timestamp_seconds":1785664570,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e70290"} 
[2026-08-02 15:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-02 15:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":146631,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 15:28:07] local.INFO: GPS data processed {"connection_id":146631,"processed":0,"errors":0,"total":1} 
[2026-08-02 15:28:07] local.INFO: Acknowledgment sent {"connection_id":146631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:28:07] local.INFO: TCP Data received {"connection_id":146632,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:28:07] local.INFO: Processing buffer {"connection_id":146632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:28:07] local.INFO: Packet analysis {"connection_id":146632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:28:07] local.INFO: Extracted packet for processing {"connection_id":146632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:28:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130014976001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785664422000,"timestamp_ms":1785664422000,"timestamp_seconds":1785664422,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e4c070"} 
[2026-08-02 15:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:28: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-08-02 15:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 15:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130014976001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130014976001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:28:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:28:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:28:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130014976001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":146632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:28:07] local.INFO: GPS data processed {"connection_id":146632,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:28:07] local.INFO: Acknowledgment sent {"connection_id":146632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:28:29] local.INFO: TCP Data received {"connection_id":149192,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:28:29] local.INFO: Processing buffer {"connection_id":149192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:28:29] local.INFO: IMEI packet received {"connection_id":149192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":149192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:28:38] local.INFO: TCP Data received {"connection_id":146631,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e754980100000000000000000000000000..."} 
[2026-08-02 15:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e754980100000000000000000000000000..."} 
[2026-08-02 15:28:38] local.INFO: Processing buffer {"connection_id":146631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e754980100000000000000000000000000..."} 
[2026-08-02 15:28:38] local.INFO: Packet analysis {"connection_id":146631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e7"} 
[2026-08-02 15:28:38] local.INFO: Extracted packet for processing {"connection_id":146631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e7"} 
[2026-08-02 15:28:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 15:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 15:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785664591000,"timestamp_ms":1785664591000,"timestamp_seconds":1785664591,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e75498"} 
[2026-08-02 15:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 15:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":146631,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 15:28:38] local.INFO: GPS data processed {"connection_id":146631,"processed":0,"errors":0,"total":1} 
[2026-08-02 15:28:38] local.INFO: Acknowledgment sent {"connection_id":146631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:28:40] local.INFO: TCP Data received {"connection_id":149192,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:28:40] local.INFO: Processing buffer {"connection_id":149192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:28:40] local.INFO: IMEI packet received {"connection_id":149192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":149192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:28:41] local.INFO: TCP Data received {"connection_id":149192,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:28:41] local.INFO: Processing buffer {"connection_id":149192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e4c070012cc330c007685958005800c52d..."} 
[2026-08-02 15:28:41] local.INFO: Packet analysis {"connection_id":149192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:28:41] local.INFO: Extracted packet for processing {"connection_id":149192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e4"} 
[2026-08-02 15:28:41] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15: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-08-02 15:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130014976001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785664422000,"timestamp_ms":1785664422000,"timestamp_seconds":1785664422,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e4c070"} 
[2026-08-02 15:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 15:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15: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-08-02 15:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":149192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":149192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":149192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130014976001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130014976001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:28:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:28:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130014976001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":149192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:28:41] local.INFO: GPS data processed {"connection_id":149192,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:28:41] local.INFO: Acknowledgment sent {"connection_id":149192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:28:42] local.INFO: TCP Data received {"connection_id":146855,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:28:42] local.INFO: Processing buffer {"connection_id":146855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:28:42] local.INFO: IMEI packet received {"connection_id":146855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":146855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:28:43] local.INFO: TCP Data received {"connection_id":146855,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:28:43] local.INFO: Processing buffer {"connection_id":146855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:28:43] local.INFO: IMEI packet received {"connection_id":146855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":146855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:28:48] local.INFO: TCP Data received {"connection_id":146855,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:28:48] local.INFO: Processing buffer {"connection_id":146855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:28:48] local.INFO: IMEI packet received {"connection_id":146855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":146855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:28:48] local.INFO: TCP Data received {"connection_id":146855,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e7e138012d8ff34005dc3f80001000f32d..."} 
[2026-08-02 15:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e7e138012d8ff34005dc3f80001000f32d..."} 
[2026-08-02 15:28:48] local.INFO: Processing buffer {"connection_id":146855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e7e138012d8ff34005dc3f80001000f32d..."} 
[2026-08-02 15:28:48] local.INFO: Packet analysis {"connection_id":146855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e7"} 
[2026-08-02 15:28:48] local.INFO: Extracted packet for processing {"connection_id":146855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e7"} 
[2026-08-02 15:28:48] local.INFO: GPS Element Parsed {"raw_longitude":764408640,"raw_latitude":98320256,"longitude_deg":76.440864,"latitude_deg":9.8320256,"altitude":16,"angle":243,"satellites":45,"speed":3,"hex_longitude":"2d8ff340","hex_latitude":"05dc3f80","is_valid_coordinates":true} 
[2026-08-02 15: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-08-02 15:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130142976001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944125153214464,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073476363077484544,"note":"Value kept but may cause issues"} 
[2026-08-02 15:28:48] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-02 15:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785664627000,"timestamp_ms":1785664627000,"timestamp_seconds":1785664627,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e7e138"} 
[2026-08-02 15:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-02 15:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15: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-08-02 15:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130142976001,"66":11711,"24":3,"16":113944125153214464,"45":-8073476363077484544},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-02 15:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130142976001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944125153214464,"km_value":113944125153214.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073476363077484544,"description":"Unknown IO ID 45"} 
[2026-08-02 15:28:48] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457130142976001,"power":11711,"ignition":3,"odometer":null,"unknown_45":-8073476363077484544}} 
[2026-08-02 15:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":146855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:28:48] local.INFO: GPS data processed {"connection_id":146855,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:28:48] local.INFO: Acknowledgment sent {"connection_id":146855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:28:59] local.INFO: TCP Data received {"connection_id":147882,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:28:59] local.INFO: Processing buffer {"connection_id":147882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:28:59] local.INFO: IMEI packet received {"connection_id":147882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":147882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:28:59] local.INFO: TCP Data received {"connection_id":147882,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:28:59] local.INFO: Processing buffer {"connection_id":147882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:28:59] local.INFO: IMEI packet received {"connection_id":147882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":147882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:29:04] local.INFO: TCP Data received {"connection_id":147882,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:29:04] local.INFO: Processing buffer {"connection_id":147882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:29:04] local.INFO: IMEI packet received {"connection_id":147882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":147882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:29:08] local.INFO: TCP Data received {"connection_id":147882,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:29:08] local.INFO: Processing buffer {"connection_id":147882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:29:08] local.INFO: IMEI packet received {"connection_id":147882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":147882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:29:09] local.INFO: TCP Data received {"connection_id":147882,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e98718012d181ac00721a7380054014709..."} 
[2026-08-02 15:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e98718012d181ac00721a7380054014709..."} 
[2026-08-02 15:29:09] local.INFO: Processing buffer {"connection_id":147882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e98718012d181ac00721a7380054014709..."} 
[2026-08-02 15:29:09] local.INFO: Packet analysis {"connection_id":147882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:29:09] local.INFO: Extracted packet for processing {"connection_id":147882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:29:09] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119646008,"longitude_deg":75.6554432,"latitude_deg":11.9646008,"altitude":84,"angle":327,"satellites":9,"speed":8,"hex_longitude":"2d181ac0","hex_latitude":"0721a738","is_valid_coordinates":true} 
[2026-08-02 15:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130167296001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10266827263311872,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329141248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785664735000,"timestamp_ms":1785664735000,"timestamp_seconds":1785664735,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e98718"} 
[2026-08-02 15:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-02 15:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130167296001,"66":13472,"105":206,"83":41984,"24":8,"16":10266827263311872,"45":1737967274329141248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130167296001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:29:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:29:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10266827263311872,"km_value":10266827263311.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329141248,"description":"Unknown IO ID 45"} 
[2026-08-02 15:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130167296001,"power":13472,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737967274329141248}} 
[2026-08-02 15:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":147882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:29:09] local.INFO: GPS data processed {"connection_id":147882,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:29:09] local.INFO: Acknowledgment sent {"connection_id":147882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:29:14] local.INFO: TCP Data received {"connection_id":147882,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e98b00012d181a800721a7e80053016109..."} 
[2026-08-02 15:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e98b00012d181a800721a7e80053016109..."} 
[2026-08-02 15:29:14] local.INFO: Processing buffer {"connection_id":147882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e98b00012d181a800721a7e80053016109..."} 
[2026-08-02 15:29:14] local.INFO: Packet analysis {"connection_id":147882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:29:14] local.INFO: Extracted packet for processing {"connection_id":147882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:29:14] local.INFO: GPS Element Parsed {"raw_longitude":756554368,"raw_latitude":119646184,"longitude_deg":75.6554368,"latitude_deg":11.9646184,"altitude":83,"angle":353,"satellites":9,"speed":7,"hex_longitude":"2d181a80","hex_latitude":"0721a7e8","is_valid_coordinates":true} 
[2026-08-02 15:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130172160001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10266835853246464,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743166658560,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785664736000,"timestamp_ms":1785664736000,"timestamp_seconds":1785664736,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e98b00"} 
[2026-08-02 15:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 15:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":147882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":147882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":147882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130172160001,"66":13939,"105":206,"83":41984,"24":7,"16":10266835853246464,"45":1736911743166658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130172160001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:29:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10266835853246464,"km_value":10266835853246.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743166658560,"description":"Unknown IO ID 45"} 
[2026-08-02 15:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130172160001,"power":13939,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1736911743166658560}} 
[2026-08-02 15:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":147882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:29:14] local.INFO: GPS data processed {"connection_id":147882,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:29:14] local.INFO: Acknowledgment sent {"connection_id":147882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:29:24] local.INFO: TCP Data received {"connection_id":149193,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:29:24] local.INFO: Processing buffer {"connection_id":149193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:29:24] local.INFO: IMEI packet received {"connection_id":149193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":149193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:29:30] local.INFO: TCP Data received {"connection_id":149193,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:29:30] local.INFO: Processing buffer {"connection_id":149193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:29:30] local.INFO: IMEI packet received {"connection_id":149193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":149193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:29:31] local.INFO: TCP Data received {"connection_id":149193,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:29:31] local.INFO: Processing buffer {"connection_id":149193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:29:31] local.INFO: Packet analysis {"connection_id":149193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:29:31] local.INFO: Extracted packet for processing {"connection_id":149193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:29:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130092032001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785664723000,"timestamp_ms":1785664723000,"timestamp_seconds":1785664723,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e95838"} 
[2026-08-02 15:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130092032001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130092032001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:29:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:29:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130092032001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":149193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:29:31] local.INFO: GPS data processed {"connection_id":149193,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:29:31] local.INFO: Acknowledgment sent {"connection_id":149193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:29:32] local.INFO: TCP Data received {"connection_id":149194,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:29:32] local.INFO: Processing buffer {"connection_id":149194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:29:32] local.INFO: IMEI packet received {"connection_id":149194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":149194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:29:38] local.INFO: TCP Data received {"connection_id":149194,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:29:38] local.INFO: Processing buffer {"connection_id":149194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:29:38] local.INFO: IMEI packet received {"connection_id":149194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":149194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:29:38] local.INFO: TCP Data received {"connection_id":149194,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e7ecf0012d8ff14005dc3ef0001001002c..."} 
[2026-08-02 15:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e7ecf0012d8ff14005dc3ef0001001002c..."} 
[2026-08-02 15:29:38] local.INFO: Processing buffer {"connection_id":149194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e7ecf0012d8ff14005dc3ef0001001002c..."} 
[2026-08-02 15:29:38] local.INFO: Packet analysis {"connection_id":149194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e7"} 
[2026-08-02 15:29:38] local.INFO: Extracted packet for processing {"connection_id":149194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e7"} 
[2026-08-02 15:29:38] local.INFO: GPS Element Parsed {"raw_longitude":764408128,"raw_latitude":98320112,"longitude_deg":76.4408128,"latitude_deg":9.8320112,"altitude":16,"angle":256,"satellites":44,"speed":10,"hex_longitude":"2d8ff140","hex_latitude":"05dc3ef0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130144512001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944150923018240,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8074039313031004160,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:38] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-02 15:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785664630000,"timestamp_ms":1785664630000,"timestamp_seconds":1785664630,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e7ecf0"} 
[2026-08-02 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-08-02 15:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-02 15:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":149194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":149194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":149194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130144512001,"66":12765,"24":10,"16":113944150923018240,"45":-8074039313031004160},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-02 15:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130144512001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944150923018240,"km_value":113944150923018.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8074039313031004160,"description":"Unknown IO ID 45"} 
[2026-08-02 15:29:38] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457130144512001,"power":12765,"ignition":10,"odometer":null,"unknown_45":-8074039313031004160}} 
[2026-08-02 15:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":149194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:29:38] local.INFO: GPS data processed {"connection_id":149194,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:29:38] local.INFO: Acknowledgment sent {"connection_id":149194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:29:42] local.INFO: TCP Data received {"connection_id":149194,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e80848012d8fe94005dc3d800012010f2d..."} 
[2026-08-02 15:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e80848012d8fe94005dc3d800012010f2d..."} 
[2026-08-02 15:29:42] local.INFO: Processing buffer {"connection_id":149194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e80848012d8fe94005dc3d800012010f2d..."} 
[2026-08-02 15:29:42] local.INFO: Packet analysis {"connection_id":149194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e8"} 
[2026-08-02 15:29:42] local.INFO: Extracted packet for processing {"connection_id":149194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e8"} 
[2026-08-02 15:29:42] local.INFO: GPS Element Parsed {"raw_longitude":764406080,"raw_latitude":98319744,"longitude_deg":76.440608,"latitude_deg":9.8319744,"altitude":18,"angle":271,"satellites":45,"speed":16,"hex_longitude":"2d8fe940","hex_latitude":"05dc3d80","is_valid_coordinates":true} 
[2026-08-02 15:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130145280001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944249707266048,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8074602262984462336,"note":"Value kept but may cause issues"} 
[2026-08-02 15:29:42] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-02 15:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785664637000,"timestamp_ms":1785664637000,"timestamp_seconds":1785664637,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e80848"} 
[2026-08-02 15:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-02 15:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130145280001,"66":13178,"24":16,"16":113944249707266048,"45":-8074602262984462336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-02 15:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130145280001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944249707266048,"km_value":113944249707266.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8074602262984462336,"description":"Unknown IO ID 45"} 
[2026-08-02 15:29:42] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457130145280001,"power":13178,"ignition":16,"odometer":null,"unknown_45":-8074602262984462336}} 
[2026-08-02 15:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":149194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:29:42] local.INFO: GPS data processed {"connection_id":149194,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:29:42] local.INFO: Acknowledgment sent {"connection_id":149194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:29:59] local.INFO: TCP Data received {"connection_id":147883,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:29:59] local.INFO: Processing buffer {"connection_id":147883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:29:59] local.INFO: IMEI packet received {"connection_id":147883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":147883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:30:03] local.INFO: TCP Data received {"connection_id":149193,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:30:03] local.INFO: Processing buffer {"connection_id":149193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:30:03] local.INFO: Packet analysis {"connection_id":149193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:30:03] local.INFO: Extracted packet for processing {"connection_id":149193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:30:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130092032001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785664723000,"timestamp_ms":1785664723000,"timestamp_seconds":1785664723,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e95838"} 
[2026-08-02 15:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130092032001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130092032001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:30:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:30:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130092032001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":149193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:30:03] local.INFO: GPS data processed {"connection_id":149193,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:30:03] local.INFO: Acknowledgment sent {"connection_id":149193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:30:04] local.INFO: TCP Data received {"connection_id":147883,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:30:04] local.INFO: Processing buffer {"connection_id":147883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:30:04] local.INFO: IMEI packet received {"connection_id":147883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":147883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:30:05] local.INFO: TCP Data received {"connection_id":147883,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e98ee8012d181ac00721a8a00053000f09..."} 
[2026-08-02 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e98ee8012d181ac00721a8a00053000f09..."} 
[2026-08-02 15:30:05] local.INFO: Processing buffer {"connection_id":147883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e98ee8012d181ac00721a8a00053000f09..."} 
[2026-08-02 15:30:05] local.INFO: Packet analysis {"connection_id":147883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:30:05] local.INFO: Extracted packet for processing {"connection_id":147883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119646368,"longitude_deg":75.6554432,"latitude_deg":11.9646368,"altitude":83,"angle":15,"satellites":9,"speed":7,"hex_longitude":"2d181ac0","hex_latitude":"0721a8a0","is_valid_coordinates":true} 
[2026-08-02 15:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130172416001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10266844443181056,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736841374422525952,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785664737000,"timestamp_ms":1785664737000,"timestamp_seconds":1785664737,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e98ee8"} 
[2026-08-02 15:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-02 15:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130172416001,"66":13939,"105":206,"83":41984,"24":7,"16":10266844443181056,"45":1736841374422525952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130172416001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:30:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10266844443181056,"km_value":10266844443181.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736841374422525952,"description":"Unknown IO ID 45"} 
[2026-08-02 15:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130172416001,"power":13939,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1736841374422525952}} 
[2026-08-02 15:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":147883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:30:05] local.INFO: GPS data processed {"connection_id":147883,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:30:05] local.INFO: Acknowledgment sent {"connection_id":147883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:30:05] local.INFO: TCP Data received {"connection_id":147883,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e9e0f0012d181ac00721a9480052001309..."} 
[2026-08-02 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e9e0f0012d181ac00721a9480052001309..."} 
[2026-08-02 15:30:05] local.INFO: Processing buffer {"connection_id":147883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e9e0f0012d181ac00721a9480052001309..."} 
[2026-08-02 15:30:05] local.INFO: Packet analysis {"connection_id":147883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:30:05] local.INFO: Extracted packet for processing {"connection_id":147883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119646536,"longitude_deg":75.6554432,"latitude_deg":11.9646536,"altitude":82,"angle":19,"satellites":9,"speed":0,"hex_longitude":"2d181ac0","hex_latitude":"0721a948","is_valid_coordinates":true} 
[2026-08-02 15:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130172672001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10266853033115648,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743166750720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785664758000,"timestamp_ms":1785664758000,"timestamp_seconds":1785664758,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e9e0f0"} 
[2026-08-02 15:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-02 15:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130172672001,"66":13993,"105":206,"83":41984,"24":0,"16":10266853033115648,"45":1736911743166750720},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130172672001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:30:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10266853033115648,"km_value":10266853033115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743166750720,"description":"Unknown IO ID 45"} 
[2026-08-02 15:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130172672001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736911743166750720}} 
[2026-08-02 15:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":147883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:30:05] local.INFO: GPS data processed {"connection_id":147883,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:30:05] local.INFO: Acknowledgment sent {"connection_id":147883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:30:24] local.INFO: TCP Data received {"connection_id":149195,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:30:24] local.INFO: Processing buffer {"connection_id":149195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:30:24] local.INFO: IMEI packet received {"connection_id":149195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":149195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:30:27] local.INFO: TCP Data received {"connection_id":149196,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:30:27] local.INFO: Processing buffer {"connection_id":149196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:30:27] local.INFO: IMEI packet received {"connection_id":149196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":149196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:30:27] local.INFO: TCP Data received {"connection_id":149196,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:30:27] local.INFO: Processing buffer {"connection_id":149196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:30:27] local.INFO: IMEI packet received {"connection_id":149196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":149196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:30:29] local.INFO: TCP Data received {"connection_id":149195,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:30:29] local.INFO: Processing buffer {"connection_id":149195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:30:29] local.INFO: IMEI packet received {"connection_id":149195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":149195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:30:31] local.INFO: TCP Data received {"connection_id":149196,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:30:31] local.INFO: Processing buffer {"connection_id":149196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:30:31] local.INFO: IMEI packet received {"connection_id":149196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":149196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:30:31] local.INFO: TCP Data received {"connection_id":149196,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ea36e0012d8f688005dc1f500016011929..."} 
[2026-08-02 15:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ea36e0012d8f688005dc1f500016011929..."} 
[2026-08-02 15:30:31] local.INFO: Processing buffer {"connection_id":149196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ea36e0012d8f688005dc1f500016011929..."} 
[2026-08-02 15:30:31] local.INFO: Packet analysis {"connection_id":149196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ea"} 
[2026-08-02 15:30:31] local.INFO: Extracted packet for processing {"connection_id":149196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ea"} 
[2026-08-02 15:30:31] local.INFO: GPS Element Parsed {"raw_longitude":764373120,"raw_latitude":98312016,"longitude_deg":76.437312,"latitude_deg":9.8312016,"altitude":22,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d8f6880","hex_latitude":"05dc1f50","is_valid_coordinates":true} 
[2026-08-02 15:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130178560001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113945980579086336,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8107394097773451264,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785664780000,"timestamp_ms":1785664780000,"timestamp_seconds":1785664780,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ea36e0"} 
[2026-08-02 15:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 15:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130178560001,"66":13319,"59":206,"88":20224,"24":0,"16":113945980579086336,"45":-8107394097773451264},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,88,24,16,45]} 
[2026-08-02 15:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130178560001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:30:31] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 15:30:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113945980579086336,"km_value":113945980579086.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8107394097773451264,"description":"Unknown IO ID 45"} 
[2026-08-02 15:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130178560001,"power":13319,"unknown_59":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8107394097773451264}} 
[2026-08-02 15:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":149196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:30:31] local.INFO: GPS data processed {"connection_id":149196,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:30:31] local.INFO: Acknowledgment sent {"connection_id":149196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:30:33] local.INFO: TCP Data received {"connection_id":149195,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:30:33] local.INFO: Processing buffer {"connection_id":149195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:30:33] local.INFO: Packet analysis {"connection_id":149195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:30:33] local.INFO: Extracted packet for processing {"connection_id":149195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:30:33] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130092032001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785664723000,"timestamp_ms":1785664723000,"timestamp_seconds":1785664723,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e95838"} 
[2026-08-02 15:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130092032001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130092032001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:30:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:30:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:30:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130092032001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":149195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:30:34] local.INFO: GPS data processed {"connection_id":149195,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:30:34] local.INFO: Acknowledgment sent {"connection_id":149195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:30:36] local.INFO: TCP Data received {"connection_id":147883,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1eae2c0012d1824400721b868005301550e..."} 
[2026-08-02 15:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1eae2c0012d1824400721b868005301550e..."} 
[2026-08-02 15:30:36] local.INFO: Processing buffer {"connection_id":147883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1eae2c0012d1824400721b868005301550e..."} 
[2026-08-02 15:30:36] local.INFO: Packet analysis {"connection_id":147883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ea"} 
[2026-08-02 15:30:36] local.INFO: Extracted packet for processing {"connection_id":147883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ea"} 
[2026-08-02 15:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650408,"longitude_deg":75.6556864,"latitude_deg":11.9650408,"altitude":83,"angle":341,"satellites":14,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-02 15:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130194688001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267110731153408,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446530048,"note":"Value kept but may cause issues"} 
[2026-08-02 15:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785664824000,"timestamp_ms":1785664824000,"timestamp_seconds":1785664824,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1eae2c0"} 
[2026-08-02 15:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-02 15:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130194688001,"66":14211,"105":206,"83":41984,"24":0,"16":10267110731153408,"45":1739585755446530048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130194688001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:30:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267110731153408,"km_value":10267110731153.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446530048,"description":"Unknown IO ID 45"} 
[2026-08-02 15:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130194688001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446530048}} 
[2026-08-02 15:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":147883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:30:36] local.INFO: GPS data processed {"connection_id":147883,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:30:36] local.INFO: Acknowledgment sent {"connection_id":147883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:30:59] local.INFO: TCP Data received {"connection_id":149197,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:30:59] local.INFO: Processing buffer {"connection_id":149197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:30:59] local.INFO: IMEI packet received {"connection_id":149197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":149197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:31:03] local.INFO: TCP Data received {"connection_id":149196,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ea8118012d8f4a0005dc26f0001801252c..."} 
[2026-08-02 15:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ea8118012d8f4a0005dc26f0001801252c..."} 
[2026-08-02 15:31:03] local.INFO: Processing buffer {"connection_id":149196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ea8118012d8f4a0005dc26f0001801252c..."} 
[2026-08-02 15:31:03] local.INFO: Packet analysis {"connection_id":149196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ea"} 
[2026-08-02 15:31:03] local.INFO: Extracted packet for processing {"connection_id":149196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ea"} 
[2026-08-02 15:31:03] local.INFO: GPS Element Parsed {"raw_longitude":764365312,"raw_latitude":98313968,"longitude_deg":76.4365312,"latitude_deg":9.8313968,"altitude":24,"angle":293,"satellites":44,"speed":21,"hex_longitude":"2d8f4a00","hex_latitude":"05dc26f0","is_valid_coordinates":true} 
[2026-08-02 15:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130183680001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113946367126142976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8113093966051717120,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785664799000,"timestamp_ms":1785664799000,"timestamp_seconds":1785664799,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ea8118"} 
[2026-08-02 15:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:31: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-08-02 15:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 15:31:03] local.WARNING: Large IO value detected {"io_id":88,"raw_value":57890717440038198,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3253252160,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:03] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-7435441689593315323,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2409873413,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:03] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13480251,"corrected_to":0} 
[2026-08-02 15:31:03] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3914360833,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:03] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2911577287958015232,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2973434062,"corrected_to":0} 
[2026-08-02 15:31:03] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221609501,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:03] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3499753472,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3693121536,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:03] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,59,88,24,241,157,16,209,159,232,45,192,29,25,42,10,66,178,64,27,33,43,208,150,128,1,240,203,227,193,220,4,113,205,254,163,46,239,52,77,2,148,5,32,6],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":203,"original":13480251,"validated":0},{"io_id":205,"original":2973434062,"validated":0}]} 
[2026-08-02 15:31:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585576207695478784,"timestamp_seconds":1585576207695478.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130183680001,"66":13276,"59":206,"88":20224,"24":21,"16":113946367126142976,"45":-8113093966051717120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,88,24,16,45]} 
[2026-08-02 15:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130183680001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:31:03] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 15:31:03] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113946367126142976,"km_value":113946367126142.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8113093966051717120,"description":"Unknown IO ID 45"} 
[2026-08-02 15:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130183680001,"power":13276,"unknown_59":206,"unknown_88":20224,"ignition":21,"odometer":null,"unknown_45":-8113093966051717120}} 
[2026-08-02 15:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":149196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:31:03] local.INFO: GPS data processed {"connection_id":149196,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:31:03] local.INFO: Acknowledgment sent {"connection_id":149196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:31:04] local.INFO: TCP Data received {"connection_id":149197,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:31:04] local.INFO: Processing buffer {"connection_id":149197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:31:04] local.INFO: IMEI packet received {"connection_id":149197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":149197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:31:05] local.INFO: TCP Data received {"connection_id":149197,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1eaea90012d1824000721b848005300f10e..."} 
[2026-08-02 15:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1eaea90012d1824000721b848005300f10e..."} 
[2026-08-02 15:31:05] local.INFO: Processing buffer {"connection_id":149197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1eaea90012d1824000721b848005300f10e..."} 
[2026-08-02 15:31:05] local.INFO: Packet analysis {"connection_id":149197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ea"} 
[2026-08-02 15:31:05] local.INFO: Extracted packet for processing {"connection_id":149197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ea"} 
[2026-08-02 15:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650376,"longitude_deg":75.65568,"latitude_deg":11.9650376,"altitude":83,"angle":241,"satellites":14,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-08-02 15:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130194944001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267119321088000,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446536192,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785664826000,"timestamp_ms":1785664826000,"timestamp_seconds":1785664826,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1eaea90"} 
[2026-08-02 15:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 15:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130194944001,"66":13928,"105":206,"83":41984,"24":0,"16":10267119321088000,"45":1739585755446536192},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130194944001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:31:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267119321088000,"km_value":10267119321088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446536192,"description":"Unknown IO ID 45"} 
[2026-08-02 15:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130194944001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446536192}} 
[2026-08-02 15:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":149197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:31:05] local.INFO: GPS data processed {"connection_id":149197,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:31:05] local.INFO: Acknowledgment sent {"connection_id":149197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:31:10] local.INFO: TCP Data received {"connection_id":149195,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:31:10] local.INFO: Processing buffer {"connection_id":149195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:31:10] local.INFO: Packet analysis {"connection_id":149195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:31:10] local.INFO: Extracted packet for processing {"connection_id":149195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:31:10] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130092032001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785664723000,"timestamp_ms":1785664723000,"timestamp_seconds":1785664723,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e95838"} 
[2026-08-02 15:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:31: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-08-02 15:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":149195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":149195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":149195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130092032001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130092032001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:31:10] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:31:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130092032001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":149195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:31:10] local.INFO: GPS data processed {"connection_id":149195,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:31:10] local.INFO: Acknowledgment sent {"connection_id":149195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:31:24] local.INFO: TCP Data received {"connection_id":146633,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:31:24] local.INFO: Processing buffer {"connection_id":146633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:31:24] local.INFO: IMEI packet received {"connection_id":146633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":146633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:31:27] local.INFO: TCP Data received {"connection_id":147884,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:31:27] local.INFO: Processing buffer {"connection_id":147884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:31:27] local.INFO: IMEI packet received {"connection_id":147884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":147884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:31:28] local.INFO: TCP Data received {"connection_id":147884,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:31:28] local.INFO: Processing buffer {"connection_id":147884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:31:28] local.INFO: IMEI packet received {"connection_id":147884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":147884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:31:31] local.INFO: TCP Data received {"connection_id":147884,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:31:31] local.INFO: Processing buffer {"connection_id":147884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:31:31] local.INFO: IMEI packet received {"connection_id":147884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":147884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:31:31] local.INFO: TCP Data received {"connection_id":147884,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1eb6790012d8ed8c005dc1b38001c00f329..."} 
[2026-08-02 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1eb6790012d8ed8c005dc1b38001c00f329..."} 
[2026-08-02 15:31:31] local.INFO: Processing buffer {"connection_id":147884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1eb6790012d8ed8c005dc1b38001c00f329..."} 
[2026-08-02 15:31:31] local.INFO: Packet analysis {"connection_id":147884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:31:31] local.INFO: Extracted packet for processing {"connection_id":147884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:31:31] local.INFO: GPS Element Parsed {"raw_longitude":764336320,"raw_latitude":98310968,"longitude_deg":76.433632,"latitude_deg":9.8310968,"altitude":28,"angle":243,"satellites":41,"speed":22,"hex_longitude":"2d8ed8c0","hex_latitude":"05dc1b38","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130200064001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113947891839533056,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8144478425954267136,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785664858000,"timestamp_ms":1785664858000,"timestamp_seconds":1785664858,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1eb6790"} 
[2026-08-02 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-08-02 15:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-02 15:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130200064001,"66":13189,"60":206,"88":20224,"24":22,"16":113947891839533056,"45":-8144478425954267136},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,88,24,16,45]} 
[2026-08-02 15:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130200064001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:31:31] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-02 15:31:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113947891839533056,"km_value":113947891839533.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8144478425954267136,"description":"Unknown IO ID 45"} 
[2026-08-02 15:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130200064001,"power":13189,"unknown_60":206,"unknown_88":20224,"ignition":22,"odometer":null,"unknown_45":-8144478425954267136}} 
[2026-08-02 15:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":147884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:31:31] local.INFO: GPS data processed {"connection_id":147884,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:31:31] local.INFO: Acknowledgment sent {"connection_id":147884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:31:33] local.INFO: TCP Data received {"connection_id":146633,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:31:33] local.INFO: Processing buffer {"connection_id":146633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:31:33] local.INFO: IMEI packet received {"connection_id":146633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":146633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:31:34] local.INFO: TCP Data received {"connection_id":146633,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:31:34] local.INFO: Processing buffer {"connection_id":146633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:31:34] local.INFO: Packet analysis {"connection_id":146633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:31:34] local.INFO: Extracted packet for processing {"connection_id":146633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130092032001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785664723000,"timestamp_ms":1785664723000,"timestamp_seconds":1785664723,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e95838"} 
[2026-08-02 15:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130092032001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130092032001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:31:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:31:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:31:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130092032001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":146633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:31:34] local.INFO: GPS data processed {"connection_id":146633,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:31:34] local.INFO: Acknowledgment sent {"connection_id":146633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:31:36] local.INFO: TCP Data received {"connection_id":149197,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1eaf260012d1823800721b838005301020e..."} 
[2026-08-02 15:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1eaf260012d1823800721b838005301020e..."} 
[2026-08-02 15:31:36] local.INFO: Processing buffer {"connection_id":149197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1eaf260012d1823800721b838005301020e..."} 
[2026-08-02 15:31:36] local.INFO: Packet analysis {"connection_id":149197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ea"} 
[2026-08-02 15:31:36] local.INFO: Extracted packet for processing {"connection_id":149197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ea"} 
[2026-08-02 15:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650360,"longitude_deg":75.6556672,"latitude_deg":11.965036,"altitude":83,"angle":258,"satellites":14,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b838","is_valid_coordinates":true} 
[2026-08-02 15:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130195456001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702350336,"note":"Value kept but may cause issues"} 
[2026-08-02 15:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785664828000,"timestamp_ms":1785664828000,"timestamp_seconds":1785664828,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1eaf260"} 
[2026-08-02 15:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-02 15:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130195456001,"66":13156,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739515386702350336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130195456001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:31:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702350336,"description":"Unknown IO ID 45"} 
[2026-08-02 15:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130195456001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702350336}} 
[2026-08-02 15:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":149197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:31:36] local.INFO: GPS data processed {"connection_id":149197,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:31:36] local.INFO: Acknowledgment sent {"connection_id":149197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:31:58] local.INFO: TCP Data received {"connection_id":146634,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:31:58] local.INFO: Processing buffer {"connection_id":146634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:31:58] local.INFO: IMEI packet received {"connection_id":146634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":146634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:32:02] local.INFO: TCP Data received {"connection_id":147884,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1eb7730012d8ed14005dc1630001d00e828..."} 
[2026-08-02 15:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1eb7730012d8ed14005dc1630001d00e828..."} 
[2026-08-02 15:32:02] local.INFO: Processing buffer {"connection_id":147884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1eb7730012d8ed14005dc1630001d00e828..."} 
[2026-08-02 15:32:02] local.INFO: Packet analysis {"connection_id":147884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:32:02] local.INFO: Extracted packet for processing {"connection_id":147884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:32:02] local.INFO: GPS Element Parsed {"raw_longitude":764334400,"raw_latitude":98309680,"longitude_deg":76.43344,"latitude_deg":9.830968,"altitude":29,"angle":232,"satellites":40,"speed":22,"hex_longitude":"2d8ed140","hex_latitude":"05dc1630","is_valid_coordinates":true} 
[2026-08-02 15:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130203648001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113948003508682752,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8153555993954142208,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785664862000,"timestamp_ms":1785664862000,"timestamp_seconds":1785664862,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1eb7730"} 
[2026-08-02 15:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:32: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-08-02 15:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-02 15:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:32: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-08-02 15:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130203648001,"66":13363,"60":206,"88":20224,"24":22,"16":113948003508682752,"45":-8153555993954142208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,88,24,16,45]} 
[2026-08-02 15:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130203648001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:32:02] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-02 15:32:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113948003508682752,"km_value":113948003508682.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8153555993954142208,"description":"Unknown IO ID 45"} 
[2026-08-02 15:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130203648001,"power":13363,"unknown_60":206,"unknown_88":20224,"ignition":22,"odometer":null,"unknown_45":-8153555993954142208}} 
[2026-08-02 15:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":147884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:32:03] local.INFO: GPS data processed {"connection_id":147884,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:32:03] local.INFO: Acknowledgment sent {"connection_id":147884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:32:04] local.INFO: TCP Data received {"connection_id":146634,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:32:04] local.INFO: Processing buffer {"connection_id":146634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:32:04] local.INFO: IMEI packet received {"connection_id":146634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":146634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:32:04] local.INFO: TCP Data received {"connection_id":146634,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1eb4468012d1823800721b830005301020f..."} 
[2026-08-02 15:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1eb4468012d1823800721b830005301020f..."} 
[2026-08-02 15:32:04] local.INFO: Processing buffer {"connection_id":146634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1eb4468012d1823800721b830005301020f..."} 
[2026-08-02 15:32:04] local.INFO: Packet analysis {"connection_id":146634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:32:04] local.INFO: Extracted packet for processing {"connection_id":146634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":15,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130195968001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213990912,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32: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-08-02 15:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785664849000,"timestamp_ms":1785664849000,"timestamp_seconds":1785664849,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1eb4468"} 
[2026-08-02 15:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-02 15:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130195968001,"66":13156,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213990912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130195968001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:32:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:32:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213990912,"description":"Unknown IO ID 45"} 
[2026-08-02 15:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130195968001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213990912}} 
[2026-08-02 15:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":146634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:32:05] local.INFO: GPS data processed {"connection_id":146634,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:32:05] local.INFO: Acknowledgment sent {"connection_id":146634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:32:05] local.INFO: TCP Data received {"connection_id":146633,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:32:05] local.INFO: Processing buffer {"connection_id":146633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:32:05] local.INFO: Packet analysis {"connection_id":146633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:32:05] local.INFO: Extracted packet for processing {"connection_id":146633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130092032001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785664723000,"timestamp_ms":1785664723000,"timestamp_seconds":1785664723,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e95838"} 
[2026-08-02 15:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130092032001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130092032001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:32:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:32:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:32:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130092032001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":146633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:32:06] local.INFO: GPS data processed {"connection_id":146633,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:32:06] local.INFO: Acknowledgment sent {"connection_id":146633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:32:24] local.INFO: TCP Data received {"connection_id":149198,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:32:24] local.INFO: Processing buffer {"connection_id":149198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:32:24] local.INFO: IMEI packet received {"connection_id":149198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":149198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:32:28] local.INFO: TCP Data received {"connection_id":147885,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:32:28] local.INFO: Processing buffer {"connection_id":147885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:32:28] local.INFO: IMEI packet received {"connection_id":147885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":147885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:32:29] local.INFO: TCP Data received {"connection_id":149198,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:32:29] local.INFO: Processing buffer {"connection_id":149198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:32:29] local.INFO: IMEI packet received {"connection_id":149198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":149198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:32:31] local.INFO: TCP Data received {"connection_id":149198,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:32:31] local.INFO: Processing buffer {"connection_id":149198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:32:31] local.INFO: Packet analysis {"connection_id":149198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:32:31] local.INFO: Extracted packet for processing {"connection_id":149198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:32:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130092032001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785664723000,"timestamp_ms":1785664723000,"timestamp_seconds":1785664723,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e95838"} 
[2026-08-02 15:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130092032001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130092032001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:32:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:32:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:32:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130092032001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":149198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:32:32] local.INFO: GPS data processed {"connection_id":149198,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:32:32] local.INFO: Acknowledgment sent {"connection_id":149198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:32:33] local.INFO: TCP Data received {"connection_id":147885,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:32:33] local.INFO: Processing buffer {"connection_id":147885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:32:33] local.INFO: IMEI packet received {"connection_id":147885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":147885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:32:33] local.INFO: TCP Data received {"connection_id":147885,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1eba610012d8ebbc005dc05a8001e00f528..."} 
[2026-08-02 15:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1eba610012d8ebbc005dc05a8001e00f528..."} 
[2026-08-02 15:32:33] local.INFO: Processing buffer {"connection_id":147885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1eba610012d8ebbc005dc05a8001e00f528..."} 
[2026-08-02 15:32:33] local.INFO: Packet analysis {"connection_id":147885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:32:33] local.INFO: Extracted packet for processing {"connection_id":147885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:32:33] local.INFO: GPS Element Parsed {"raw_longitude":764328896,"raw_latitude":98305448,"longitude_deg":76.4328896,"latitude_deg":9.8305448,"altitude":30,"angle":245,"satellites":40,"speed":23,"hex_longitude":"2d8ebbc0","hex_latitude":"05dc05a8","is_valid_coordinates":true} 
[2026-08-02 15:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130204672001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113948338516131840,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8155667056279801856,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785664874000,"timestamp_ms":1785664874000,"timestamp_seconds":1785664874,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1eba610"} 
[2026-08-02 15:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 15:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130204672001,"66":13559,"60":206,"88":20224,"24":23,"16":113948338516131840,"45":-8155667056279801856},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,88,24,16,45]} 
[2026-08-02 15:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130204672001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:32:33] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-02 15:32:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113948338516131840,"km_value":113948338516131.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8155667056279801856,"description":"Unknown IO ID 45"} 
[2026-08-02 15:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130204672001,"power":13559,"unknown_60":206,"unknown_88":20224,"ignition":23,"odometer":null,"unknown_45":-8155667056279801856}} 
[2026-08-02 15:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":147885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:32:34] local.INFO: GPS data processed {"connection_id":147885,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:32:34] local.INFO: Acknowledgment sent {"connection_id":147885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:32:36] local.INFO: TCP Data received {"connection_id":146634,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1eb9670012d1823800721b8300053010212..."} 
[2026-08-02 15:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1eb9670012d1823800721b8300053010212..."} 
[2026-08-02 15:32:36] local.INFO: Processing buffer {"connection_id":146634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1eb9670012d1823800721b8300053010212..."} 
[2026-08-02 15:32:36] local.INFO: Packet analysis {"connection_id":146634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:32:36] local.INFO: Extracted packet for processing {"connection_id":146634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":18,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130201344001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785664870000,"timestamp_ms":1785664870000,"timestamp_seconds":1785664870,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1eb9670"} 
[2026-08-02 15:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-02 15:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130201344001,"66":12950,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130201344001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:32:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130201344001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":146634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:32:36] local.INFO: GPS data processed {"connection_id":146634,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:32:36] local.INFO: Acknowledgment sent {"connection_id":146634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:32:56] local.INFO: TCP Data received {"connection_id":149199,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:32:56] local.INFO: Processing buffer {"connection_id":149199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:32:56] local.INFO: IMEI packet received {"connection_id":149199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":149199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:32:59] local.INFO: TCP Data received {"connection_id":149199,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:32:59] local.INFO: Processing buffer {"connection_id":149199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:32:59] local.INFO: IMEI packet received {"connection_id":149199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":149199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:33:03] local.INFO: TCP Data received {"connection_id":149198,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:33:03] local.INFO: Processing buffer {"connection_id":149198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:33:03] local.INFO: Packet analysis {"connection_id":149198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:33:03] local.INFO: Extracted packet for processing {"connection_id":149198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:33:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130092032001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785664723000,"timestamp_ms":1785664723000,"timestamp_seconds":1785664723,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e95838"} 
[2026-08-02 15:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130092032001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130092032001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:33:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:33:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:33:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130092032001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":149198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:33:03] local.INFO: GPS data processed {"connection_id":149198,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:33:03] local.INFO: Acknowledgment sent {"connection_id":149198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:33:04] local.INFO: TCP Data received {"connection_id":149199,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:33:04] local.INFO: Processing buffer {"connection_id":149199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:33:04] local.INFO: IMEI packet received {"connection_id":149199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":149199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:33:04] local.INFO: TCP Data received {"connection_id":149199,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ebe878012d1823800721b8300053010212..."} 
[2026-08-02 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ebe878012d1823800721b8300053010212..."} 
[2026-08-02 15:33:04] local.INFO: Processing buffer {"connection_id":149199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ebe878012d1823800721b8300053010212..."} 
[2026-08-02 15:33:04] local.INFO: Packet analysis {"connection_id":149199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:33:04] local.INFO: Extracted packet for processing {"connection_id":149199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":18,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130206720001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33: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-08-02 15:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785664891000,"timestamp_ms":1785664891000,"timestamp_seconds":1785664891,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ebe878"} 
[2026-08-02 15:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:33:04] 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-08-02 15: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-02 15:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130206720001,"66":12972,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130206720001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:33:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130206720001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":149199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:33:04] local.INFO: GPS data processed {"connection_id":149199,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:33:04] local.INFO: Acknowledgment sent {"connection_id":149199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:33:05] local.INFO: TCP Data received {"connection_id":147885,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ebd4f0012d8ea14005dbfb700019010027..."} 
[2026-08-02 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ebd4f0012d8ea14005dbfb700019010027..."} 
[2026-08-02 15:33:05] local.INFO: Processing buffer {"connection_id":147885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ebd4f0012d8ea14005dbfb700019010027..."} 
[2026-08-02 15:33:05] local.INFO: Packet analysis {"connection_id":147885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:33:05] local.INFO: Extracted packet for processing {"connection_id":147885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:33:05] local.INFO: GPS Element Parsed {"raw_longitude":764322112,"raw_latitude":98302832,"longitude_deg":76.4322112,"latitude_deg":9.8302832,"altitude":25,"angle":256,"satellites":39,"speed":21,"hex_longitude":"2d8ea140","hex_latitude":"05dbfb70","is_valid_coordinates":true} 
[2026-08-02 15: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-08-02 15:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130207744001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113948686408482816,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8161718768280164352,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785664886000,"timestamp_ms":1785664886000,"timestamp_seconds":1785664886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ebd4f0"} 
[2026-08-02 15:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:33: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-08-02 15: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 15:33: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-08-02 15: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-08-02 15:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:33: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-08-02 15:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130207744001,"66":13493,"60":206,"88":20224,"24":21,"16":113948686408482816,"45":-8161718768280164352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,88,24,16,45]} 
[2026-08-02 15:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130207744001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:33:05] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-02 15:33:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113948686408482816,"km_value":113948686408482.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8161718768280164352,"description":"Unknown IO ID 45"} 
[2026-08-02 15:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130207744001,"power":13493,"unknown_60":206,"unknown_88":20224,"ignition":21,"odometer":null,"unknown_45":-8161718768280164352}} 
[2026-08-02 15:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":147885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:33:05] local.INFO: GPS data processed {"connection_id":147885,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:33:05] local.INFO: Acknowledgment sent {"connection_id":147885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:33:27] local.INFO: TCP Data received {"connection_id":146635,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:33:27] local.INFO: Processing buffer {"connection_id":146635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:33:27] local.INFO: IMEI packet received {"connection_id":146635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":146635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:33:28] local.INFO: TCP Data received {"connection_id":146635,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:33:28] local.INFO: Processing buffer {"connection_id":146635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:33:28] local.INFO: IMEI packet received {"connection_id":146635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":146635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:33:33] local.INFO: TCP Data received {"connection_id":146635,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:33:33] local.INFO: Processing buffer {"connection_id":146635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:33:33] local.INFO: IMEI packet received {"connection_id":146635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":146635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:33:33] local.INFO: TCP Data received {"connection_id":146635,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ebe0a8012d8e9b4005dbfaf00019010d26..."} 
[2026-08-02 15:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ebe0a8012d8e9b4005dbfaf00019010d26..."} 
[2026-08-02 15:33:33] local.INFO: Processing buffer {"connection_id":146635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ebe0a8012d8e9b4005dbfaf00019010d26..."} 
[2026-08-02 15:33:33] local.INFO: Packet analysis {"connection_id":146635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:33:33] local.INFO: Extracted packet for processing {"connection_id":146635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1eb"} 
[2026-08-02 15:33:33] local.INFO: GPS Element Parsed {"raw_longitude":764320576,"raw_latitude":98302704,"longitude_deg":76.4320576,"latitude_deg":9.8302704,"altitude":25,"angle":269,"satellites":38,"speed":20,"hex_longitude":"2d8e9b40","hex_latitude":"05dbfaf0","is_valid_coordinates":true} 
[2026-08-02 15:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130210816001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113948759422926848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8169177855163666432,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785664889000,"timestamp_ms":1785664889000,"timestamp_seconds":1785664889,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ebe0a8"} 
[2026-08-02 15:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 15:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130210816001,"66":13461,"60":206,"88":20224,"24":20,"16":113948759422926848,"45":-8169177855163666432},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,88,24,16,45]} 
[2026-08-02 15:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130210816001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:33:33] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-02 15:33:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113948759422926848,"km_value":113948759422926.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8169177855163666432,"description":"Unknown IO ID 45"} 
[2026-08-02 15:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130210816001,"power":13461,"unknown_60":206,"unknown_88":20224,"ignition":20,"odometer":null,"unknown_45":-8169177855163666432}} 
[2026-08-02 15:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":146635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:33:34] local.INFO: GPS data processed {"connection_id":146635,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:33:34] local.INFO: Acknowledgment sent {"connection_id":146635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:33:34] local.INFO: TCP Data received {"connection_id":146636,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:33:34] local.INFO: Processing buffer {"connection_id":146636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:33:34] local.INFO: IMEI packet received {"connection_id":146636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":146636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:33:35] local.INFO: TCP Data received {"connection_id":149199,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ec3a80012d1823800721b8300053010214..."} 
[2026-08-02 15:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ec3a80012d1823800721b8300053010214..."} 
[2026-08-02 15:33:35] local.INFO: Processing buffer {"connection_id":149199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ec3a80012d1823800721b8300053010214..."} 
[2026-08-02 15:33:35] local.INFO: Packet analysis {"connection_id":149199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ec"} 
[2026-08-02 15:33:35] local.INFO: Extracted packet for processing {"connection_id":149199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ec"} 
[2026-08-02 15:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":20,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130212096001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785664912000,"timestamp_ms":1785664912000,"timestamp_seconds":1785664912,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ec3a80"} 
[2026-08-02 15:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 15:33: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-08-02 15:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130212096001,"66":12972,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130212096001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:33:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130212096001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":149199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:33:36] local.INFO: GPS data processed {"connection_id":149199,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:33:36] local.INFO: Acknowledgment sent {"connection_id":149199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:33:41] local.INFO: TCP Data received {"connection_id":146636,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:33:41] local.INFO: Processing buffer {"connection_id":146636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:33:41] local.INFO: IMEI packet received {"connection_id":146636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":146636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:33:43] local.INFO: TCP Data received {"connection_id":146636,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:33:43] local.INFO: Processing buffer {"connection_id":146636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:33:43] local.INFO: Packet analysis {"connection_id":146636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:33:43] local.INFO: Extracted packet for processing {"connection_id":146636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:33:43] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130092032001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785664723000,"timestamp_ms":1785664723000,"timestamp_seconds":1785664723,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e95838"} 
[2026-08-02 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-08-02 15:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130092032001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130092032001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:33:43] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:33:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:33:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130092032001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":146636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:33:43] local.INFO: GPS data processed {"connection_id":146636,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:33:43] local.INFO: Acknowledgment sent {"connection_id":146636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:33:45] local.INFO: TCP Data received {"connection_id":146636,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:33:45] local.INFO: Processing buffer {"connection_id":146636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1e95838012cc330c007685958005800c52d..."} 
[2026-08-02 15:33:45] local.INFO: Packet analysis {"connection_id":146636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:33:45] local.INFO: Extracted packet for processing {"connection_id":146636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1e9"} 
[2026-08-02 15:33:45] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130092032001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785664723000,"timestamp_ms":1785664723000,"timestamp_seconds":1785664723,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1e95838"} 
[2026-08-02 15:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130092032001,"66":25495,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130092032001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:33:45] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:33:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:33:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130092032001,"power":25495,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":146636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:33:45] local.INFO: GPS data processed {"connection_id":146636,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:33:45] local.INFO: Acknowledgment sent {"connection_id":146636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:33:59] local.INFO: TCP Data received {"connection_id":146856,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:33:59] local.INFO: Processing buffer {"connection_id":146856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:33:59] local.INFO: IMEI packet received {"connection_id":146856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":146856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:34:00] local.INFO: TCP Data received {"connection_id":146856,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:34:00] local.INFO: Processing buffer {"connection_id":146856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:34:00] local.INFO: IMEI packet received {"connection_id":146856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":146856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:34:04] local.INFO: TCP Data received {"connection_id":146856,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:34:04] local.INFO: Processing buffer {"connection_id":146856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:34:04] local.INFO: IMEI packet received {"connection_id":146856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":146856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:34:04] local.INFO: TCP Data received {"connection_id":146856,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ec8c88012d1823800721b8300053010216..."} 
[2026-08-02 15:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ec8c88012d1823800721b8300053010216..."} 
[2026-08-02 15:34:05] local.INFO: Processing buffer {"connection_id":146856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ec8c88012d1823800721b8300053010216..."} 
[2026-08-02 15:34:05] local.INFO: Packet analysis {"connection_id":146856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ec"} 
[2026-08-02 15:34:05] local.INFO: Extracted packet for processing {"connection_id":146856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ec"} 
[2026-08-02 15:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":22,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130217472001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785664933000,"timestamp_ms":1785664933000,"timestamp_seconds":1785664933,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ec8c88"} 
[2026-08-02 15:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 15:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130217472001,"66":12939,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130217472001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:34:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130217472001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:34:05] local.INFO: TCP Data received {"connection_id":146635,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1edec18012d8d658005dc4cc00035014528..."} 
[2026-08-02 15:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1edec18012d8d658005dc4cc00035014528..."} 
[2026-08-02 15:34:05] local.INFO: Processing buffer {"connection_id":146635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1edec18012d8d658005dc4cc00035014528..."} 
[2026-08-02 15:34:05] local.INFO: Packet analysis {"connection_id":146635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:34:05] local.INFO: Extracted packet for processing {"connection_id":146635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:34:05] local.INFO: GPS Element Parsed {"raw_longitude":764241280,"raw_latitude":98323648,"longitude_deg":76.424128,"latitude_deg":9.8323648,"altitude":53,"angle":325,"satellites":40,"speed":37,"hex_longitude":"2d8d6580","hex_latitude":"05dc4cc0","is_valid_coordinates":true} 
[2026-08-02 15:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130244352001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113952822461988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8253972191893454848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785665023000,"timestamp_ms":1785665023000,"timestamp_seconds":1785665023,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1edec18"} 
[2026-08-02 15:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:34: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-08-02 15:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-02 15:34: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-08-02 15:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:34: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-08-02 15:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130244352001,"66":13602,"219":206,"88":20224,"24":37,"16":113952822461988864,"45":-8253972191893454848},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,88,24,16,45]} 
[2026-08-02 15:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":146856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:34:05] local.INFO: GPS data processed {"connection_id":146856,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:34:05] local.INFO: Acknowledgment sent {"connection_id":146856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130244352001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:34:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-02 15:34:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113952822461988864,"km_value":113952822461988.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8253972191893454848,"description":"Unknown IO ID 45"} 
[2026-08-02 15:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130244352001,"power":13602,"unknown_219":206,"unknown_88":20224,"ignition":37,"odometer":null,"unknown_45":-8253972191893454848}} 
[2026-08-02 15:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":146635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:34:05] local.INFO: GPS data processed {"connection_id":146635,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:34:05] local.INFO: Acknowledgment sent {"connection_id":146635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:34:22] local.INFO: TCP Data received {"connection_id":146637,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:34:22] local.INFO: Processing buffer {"connection_id":146637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:34:22] local.INFO: IMEI packet received {"connection_id":146637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":146637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:34:24] local.INFO: TCP Data received {"connection_id":146637,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:34:24] local.INFO: Processing buffer {"connection_id":146637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:34:24] local.INFO: IMEI packet received {"connection_id":146637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":146637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:34:29] local.INFO: TCP Data received {"connection_id":146637,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:34:29] local.INFO: Processing buffer {"connection_id":146637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:34:29] local.INFO: IMEI packet received {"connection_id":146637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":146637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:34:32] local.INFO: TCP Data received {"connection_id":146637,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:34:32] local.INFO: Processing buffer {"connection_id":146637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:34:32] local.INFO: Packet analysis {"connection_id":146637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:34:32] local.INFO: Extracted packet for processing {"connection_id":146637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:34:32] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130169088001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785665024000,"timestamp_ms":1785665024000,"timestamp_seconds":1785665024,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1edf000"} 
[2026-08-02 15:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":146637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":146637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":146637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130169088001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 15:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130169088001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:34:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 15:34:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:34:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130169088001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":146637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:34:32] local.INFO: GPS data processed {"connection_id":146637,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:34:32] local.INFO: Acknowledgment sent {"connection_id":146637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:34:32] local.INFO: TCP Data received {"connection_id":147886,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:34:32] local.INFO: Processing buffer {"connection_id":147886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:34:32] local.INFO: IMEI packet received {"connection_id":147886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":147886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:34:34] local.INFO: TCP Data received {"connection_id":147886,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:34:34] local.INFO: Processing buffer {"connection_id":147886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:34:34] local.INFO: IMEI packet received {"connection_id":147886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":147886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:34:35] local.INFO: TCP Data received {"connection_id":146856,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ecde90012d1823800721b830005301021a..."} 
[2026-08-02 15:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ecde90012d1823800721b830005301021a..."} 
[2026-08-02 15:34:35] local.INFO: Processing buffer {"connection_id":146856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ecde90012d1823800721b830005301021a..."} 
[2026-08-02 15:34:35] local.INFO: Packet analysis {"connection_id":146856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ec"} 
[2026-08-02 15:34:35] local.INFO: Extracted packet for processing {"connection_id":146856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ec"} 
[2026-08-02 15:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":26,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15: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-08-02 15:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130222848001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785664954000,"timestamp_ms":1785664954000,"timestamp_seconds":1785664954,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ecde90"} 
[2026-08-02 15:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-02 15:34: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-08-02 15: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-08-02 15:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130222848001,"66":12885,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130222848001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:34:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130222848001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":146856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:34:35] local.INFO: GPS data processed {"connection_id":146856,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:34:35] local.INFO: Acknowledgment sent {"connection_id":146856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:34:38] local.INFO: TCP Data received {"connection_id":147886,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:34:38] local.INFO: Processing buffer {"connection_id":147886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:34:38] local.INFO: IMEI packet received {"connection_id":147886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":147886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:34:39] local.INFO: TCP Data received {"connection_id":147886,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ee0388012d8d5a0005dc5f70003401502a..."} 
[2026-08-02 15:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ee0388012d8d5a0005dc5f70003401502a..."} 
[2026-08-02 15:34:39] local.INFO: Processing buffer {"connection_id":147886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ee0388012d8d5a0005dc5f70003401502a..."} 
[2026-08-02 15:34:39] local.INFO: Packet analysis {"connection_id":147886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ee"} 
[2026-08-02 15:34:39] local.INFO: Extracted packet for processing {"connection_id":147886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ee"} 
[2026-08-02 15:34:39] local.INFO: GPS Element Parsed {"raw_longitude":764238336,"raw_latitude":98328432,"longitude_deg":76.4238336,"latitude_deg":9.8328432,"altitude":52,"angle":336,"satellites":42,"speed":36,"hex_longitude":"2d8d5a00","hex_latitude":"05dc5f70","is_valid_coordinates":true} 
[2026-08-02 15:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130245888001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113953093044928512,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8258053579054727168,"note":"Value kept but may cause issues"} 
[2026-08-02 15:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785665029000,"timestamp_ms":1785665029000,"timestamp_seconds":1785665029,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ee0388"} 
[2026-08-02 15:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-02 15:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130245888001,"66":13580,"219":206,"88":20224,"24":36,"16":113953093044928512,"45":-8258053579054727168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,88,24,16,45]} 
[2026-08-02 15:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130245888001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:34:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-02 15:34:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113953093044928512,"km_value":113953093044928.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8258053579054727168,"description":"Unknown IO ID 45"} 
[2026-08-02 15:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130245888001,"power":13580,"unknown_219":206,"unknown_88":20224,"ignition":36,"odometer":null,"unknown_45":-8258053579054727168}} 
[2026-08-02 15:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":147886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:34:39] local.INFO: GPS data processed {"connection_id":147886,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:34:39] local.INFO: Acknowledgment sent {"connection_id":147886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:34:58] local.INFO: TCP Data received {"connection_id":147887,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:34:58] local.INFO: Processing buffer {"connection_id":147887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:34:58] local.INFO: IMEI packet received {"connection_id":147887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":147887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:35:03] local.INFO: TCP Data received {"connection_id":147887,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:35:03] local.INFO: Processing buffer {"connection_id":147887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:35:03] local.INFO: IMEI packet received {"connection_id":147887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":147887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:35:03] local.INFO: TCP Data received {"connection_id":147887,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:35:03] local.INFO: Processing buffer {"connection_id":147887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:35:03] local.INFO: IMEI packet received {"connection_id":147887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":147887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:35:04] local.INFO: TCP Data received {"connection_id":146637,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:35:04] local.INFO: Processing buffer {"connection_id":146637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:35:04] local.INFO: Packet analysis {"connection_id":146637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:35:04] local.INFO: Extracted packet for processing {"connection_id":146637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130169088001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785665024000,"timestamp_ms":1785665024000,"timestamp_seconds":1785665024,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1edf000"} 
[2026-08-02 15:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130169088001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 15:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130169088001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:35:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 15:35:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:35:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130169088001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":146637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:35:04] local.INFO: GPS data processed {"connection_id":146637,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:35:04] local.INFO: Acknowledgment sent {"connection_id":146637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:35:04] local.INFO: TCP Data received {"connection_id":147887,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ed3098012d1823800721b830005301021b..."} 
[2026-08-02 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ed3098012d1823800721b830005301021b..."} 
[2026-08-02 15:35:04] local.INFO: Processing buffer {"connection_id":147887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ed3098012d1823800721b830005301021b..."} 
[2026-08-02 15:35:04] local.INFO: Packet analysis {"connection_id":147887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:35:04] local.INFO: Extracted packet for processing {"connection_id":147887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":27,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130228224001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35: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-08-02 15:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785664975000,"timestamp_ms":1785664975000,"timestamp_seconds":1785664975,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ed3098"} 
[2026-08-02 15:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 15:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130228224001,"66":12613,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130228224001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:35:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:35:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130228224001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":147887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:35:04] local.INFO: GPS data processed {"connection_id":147887,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:35:04] local.INFO: Acknowledgment sent {"connection_id":147887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:35:09] local.INFO: TCP Data received {"connection_id":147887,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ed82a0012d1823800721b830005301021d..."} 
[2026-08-02 15:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ed82a0012d1823800721b830005301021d..."} 
[2026-08-02 15:35:09] local.INFO: Processing buffer {"connection_id":147887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ed82a0012d1823800721b830005301021d..."} 
[2026-08-02 15:35:09] local.INFO: Packet analysis {"connection_id":147887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:35:09] local.INFO: Extracted packet for processing {"connection_id":147887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130233600001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785664996000,"timestamp_ms":1785664996000,"timestamp_seconds":1785664996,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ed82a0"} 
[2026-08-02 15:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-02 15:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130233600001,"66":12776,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130233600001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:35:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:35:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130233600001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":147887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:35:09] local.INFO: GPS data processed {"connection_id":147887,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:35:09] local.INFO: Acknowledgment sent {"connection_id":147887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:35:23] local.INFO: TCP Data received {"connection_id":147886,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ef1110012d8ca7c005dd3000002001342d..."} 
[2026-08-02 15:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ef1110012d8ca7c005dd3000002001342d..."} 
[2026-08-02 15:35:23] local.INFO: Processing buffer {"connection_id":147886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ef1110012d8ca7c005dd3000002001342d..."} 
[2026-08-02 15:35:23] local.INFO: Packet analysis {"connection_id":147886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ef"} 
[2026-08-02 15:35:23] local.INFO: Extracted packet for processing {"connection_id":147886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ef"} 
[2026-08-02 15:35:23] local.INFO: GPS Element Parsed {"raw_longitude":764192704,"raw_latitude":98381824,"longitude_deg":76.4192704,"latitude_deg":9.8381824,"altitude":32,"angle":308,"satellites":45,"speed":50,"hex_longitude":"2d8ca7c0","hex_latitude":"05dd3000","is_valid_coordinates":true} 
[2026-08-02 15:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130264576001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113957070184644608,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8309000549824806912,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785665098000,"timestamp_ms":1785665098000,"timestamp_seconds":1785665098,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ef1110"} 
[2026-08-02 15:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 15:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130264576001,"66":13559,"218":206,"88":20224,"24":50,"16":113957070184644608,"45":-8309000549824806912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,88,24,16,45]} 
[2026-08-02 15:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130264576001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:35:23] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-02 15:35:23] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113957070184644608,"km_value":113957070184644.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8309000549824806912,"description":"Unknown IO ID 45"} 
[2026-08-02 15:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130264576001,"power":13559,"unknown_218":206,"unknown_88":20224,"ignition":50,"odometer":null,"unknown_45":-8309000549824806912}} 
[2026-08-02 15:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":147886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:35:23] local.INFO: GPS data processed {"connection_id":147886,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:35:23] local.INFO: Acknowledgment sent {"connection_id":147886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:35:24] local.INFO: TCP Data received {"connection_id":146857,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:35:24] local.INFO: Processing buffer {"connection_id":146857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:35:24] local.INFO: IMEI packet received {"connection_id":146857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":146857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:35:29] local.INFO: TCP Data received {"connection_id":146857,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:35:29] local.INFO: Processing buffer {"connection_id":146857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:35:29] local.INFO: IMEI packet received {"connection_id":146857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":146857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:35:31] local.INFO: TCP Data received {"connection_id":146857,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:35:31] local.INFO: Processing buffer {"connection_id":146857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:35:31] local.INFO: Packet analysis {"connection_id":146857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:35:31] local.INFO: Extracted packet for processing {"connection_id":146857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:35:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130169088001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785665024000,"timestamp_ms":1785665024000,"timestamp_seconds":1785665024,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1edf000"} 
[2026-08-02 15:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130169088001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 15:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130169088001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:35:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 15:35:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:35:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130169088001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":146857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:35:31] local.INFO: GPS data processed {"connection_id":146857,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:35:31] local.INFO: Acknowledgment sent {"connection_id":146857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:35:40] local.INFO: TCP Data received {"connection_id":147887,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1edd4a8012d1823800721b830005301021d..."} 
[2026-08-02 15:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1edd4a8012d1823800721b830005301021d..."} 
[2026-08-02 15:35:40] local.INFO: Processing buffer {"connection_id":147887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1edd4a8012d1823800721b830005301021d..."} 
[2026-08-02 15:35:40] local.INFO: Packet analysis {"connection_id":147887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:35:40] local.INFO: Extracted packet for processing {"connection_id":147887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130238976001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785665017000,"timestamp_ms":1785665017000,"timestamp_seconds":1785665017,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1edd4a8"} 
[2026-08-02 15:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-02 15:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130238976001,"66":12722,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130238976001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:35:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:35:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130238976001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":147887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:35:40] local.INFO: GPS data processed {"connection_id":147887,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:35:40] local.INFO: Acknowledgment sent {"connection_id":147887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:35:52] local.INFO: TCP Data received {"connection_id":147888,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:35:52] local.INFO: Processing buffer {"connection_id":147888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:35:52] local.INFO: IMEI packet received {"connection_id":147888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":147888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:36:04] local.INFO: TCP Data received {"connection_id":147889,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:36:04] local.INFO: Processing buffer {"connection_id":147889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:36:04] local.INFO: IMEI packet received {"connection_id":147889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":147889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:36:05] local.INFO: TCP Data received {"connection_id":146857,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:36:05] local.INFO: Processing buffer {"connection_id":146857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:36:05] local.INFO: Packet analysis {"connection_id":146857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:36:05] local.INFO: Extracted packet for processing {"connection_id":146857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:36:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130169088001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785665024000,"timestamp_ms":1785665024000,"timestamp_seconds":1785665024,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1edf000"} 
[2026-08-02 15:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130169088001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 15:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130169088001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:36:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 15:36:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:36:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130169088001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":146857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:36:05] local.INFO: GPS data processed {"connection_id":146857,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:36:05] local.INFO: Acknowledgment sent {"connection_id":146857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:36:06] local.INFO: TCP Data received {"connection_id":147889,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:36:06] local.INFO: Processing buffer {"connection_id":147889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:36:06] local.INFO: IMEI packet received {"connection_id":147889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":147889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:36:07] local.INFO: TCP Data received {"connection_id":147889,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ee26b0012d1823800721b830005301021d..."} 
[2026-08-02 15:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ee26b0012d1823800721b830005301021d..."} 
[2026-08-02 15:36:07] local.INFO: Processing buffer {"connection_id":147889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ee26b0012d1823800721b830005301021d..."} 
[2026-08-02 15:36:07] local.INFO: Packet analysis {"connection_id":147889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ee"} 
[2026-08-02 15:36:07] local.INFO: Extracted packet for processing {"connection_id":147889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ee"} 
[2026-08-02 15:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":29,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130244352001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785665038000,"timestamp_ms":1785665038000,"timestamp_seconds":1785665038,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ee26b0"} 
[2026-08-02 15:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 15:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130244352001,"66":12645,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130244352001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:36:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130244352001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":147889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:36:07] local.INFO: GPS data processed {"connection_id":147889,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:36:07] local.INFO: Acknowledgment sent {"connection_id":147889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:36:09] local.INFO: TCP Data received {"connection_id":147889,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ee78b8012d1823800721b8300053010220..."} 
[2026-08-02 15:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ee78b8012d1823800721b8300053010220..."} 
[2026-08-02 15:36:09] local.INFO: Processing buffer {"connection_id":147889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ee78b8012d1823800721b8300053010220..."} 
[2026-08-02 15:36:09] local.INFO: Packet analysis {"connection_id":147889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ee"} 
[2026-08-02 15:36:09] local.INFO: Extracted packet for processing {"connection_id":147889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ee"} 
[2026-08-02 15:36:09] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130249728001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785665059000,"timestamp_ms":1785665059000,"timestamp_seconds":1785665059,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ee78b8"} 
[2026-08-02 15:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-02 15:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130249728001,"66":12689,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130249728001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:36:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:36:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130249728001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":147889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:36:09] local.INFO: GPS data processed {"connection_id":147889,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:36:09] local.INFO: Acknowledgment sent {"connection_id":147889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:36:21] local.INFO: TCP Data received {"connection_id":147888,"ip":"42.106.6.31","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 15:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147888,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 15:36:21] local.INFO: Processing buffer {"connection_id":147888,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 15:36:21] local.INFO: IMEI packet received {"connection_id":147888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":147888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:36:29] local.INFO: TCP Data received {"connection_id":147890,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:36:29] local.INFO: Processing buffer {"connection_id":147890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:36:29] local.INFO: IMEI packet received {"connection_id":147890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":147890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:36:34] local.INFO: TCP Data received {"connection_id":147890,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:36:34] local.INFO: Processing buffer {"connection_id":147890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:36:34] local.INFO: IMEI packet received {"connection_id":147890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":147890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:36:36] local.INFO: TCP Data received {"connection_id":147890,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:36:36] local.INFO: Processing buffer {"connection_id":147890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:36:36] local.INFO: Packet analysis {"connection_id":147890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:36:36] local.INFO: Extracted packet for processing {"connection_id":147890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:36:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130169088001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785665024000,"timestamp_ms":1785665024000,"timestamp_seconds":1785665024,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1edf000"} 
[2026-08-02 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-08-02 15:36: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-08-02 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130169088001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 15:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130169088001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:36:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 15:36:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:36:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130169088001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":147890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:36:36] local.INFO: GPS data processed {"connection_id":147890,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:36:36] local.INFO: Acknowledgment sent {"connection_id":147890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:36:40] local.INFO: TCP Data received {"connection_id":147889,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1eecac0012d1823800721b8300053010220..."} 
[2026-08-02 15:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1eecac0012d1823800721b8300053010220..."} 
[2026-08-02 15:36:40] local.INFO: Processing buffer {"connection_id":147889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1eecac0012d1823800721b8300053010220..."} 
[2026-08-02 15:36:40] local.INFO: Packet analysis {"connection_id":147889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ee"} 
[2026-08-02 15:36:40] local.INFO: Extracted packet for processing {"connection_id":147889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ee"} 
[2026-08-02 15:36:40] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130255104001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785665080000,"timestamp_ms":1785665080000,"timestamp_seconds":1785665080,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1eecac0"} 
[2026-08-02 15:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-02 15:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130255104001,"66":12558,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130255104001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:36:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:36:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130255104001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":147889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:36:40] local.INFO: GPS data processed {"connection_id":147889,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:36:40] local.INFO: Acknowledgment sent {"connection_id":147889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:36:40] local.INFO: TCP Data received {"connection_id":147890,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:36:40] local.INFO: Processing buffer {"connection_id":147890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:36:40] local.INFO: Packet analysis {"connection_id":147890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:36:40] local.INFO: Extracted packet for processing {"connection_id":147890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:36:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130169088001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785665024000,"timestamp_ms":1785665024000,"timestamp_seconds":1785665024,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1edf000"} 
[2026-08-02 15:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:36: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-08-02 15:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130169088001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 15:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130169088001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:36:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 15:36:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130169088001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":147890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:36:40] local.INFO: GPS data processed {"connection_id":147890,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:36:40] local.INFO: Acknowledgment sent {"connection_id":147890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:36:59] local.INFO: TCP Data received {"connection_id":146858,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:36:59] local.INFO: Processing buffer {"connection_id":146858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:36:59] local.INFO: IMEI packet received {"connection_id":146858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":146858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:37:04] local.INFO: TCP Data received {"connection_id":146858,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:37:04] local.INFO: Processing buffer {"connection_id":146858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:37:04] local.INFO: IMEI packet received {"connection_id":146858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":146858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:37:04] local.INFO: TCP Data received {"connection_id":146858,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ef1cc8012d1823800721b8300053010220..."} 
[2026-08-02 15:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ef1cc8012d1823800721b8300053010220..."} 
[2026-08-02 15:37:04] local.INFO: Processing buffer {"connection_id":146858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ef1cc8012d1823800721b8300053010220..."} 
[2026-08-02 15:37:04] local.INFO: Packet analysis {"connection_id":146858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ef"} 
[2026-08-02 15:37:04] local.INFO: Extracted packet for processing {"connection_id":146858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ef"} 
[2026-08-02 15:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":32,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130260480001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37: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-08-02 15:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785665101000,"timestamp_ms":1785665101000,"timestamp_seconds":1785665101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ef1cc8"} 
[2026-08-02 15:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-02 15:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:04] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3253526160,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249386163930249264,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:04] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3984760833,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3090153555,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 15:37:04] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951032,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:04] local.WARNING: Large IO value detected {"io_id":25,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,121,159,120,45,128,184,32,10,66,38,29,212,1,240,178,227,193,33,4,113,205,48,35,27,239,49,2,36,7,106,25,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 15:37:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5981064116586938368,"timestamp_seconds":5981064116586938.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130260480001,"66":12580,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130260480001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:37:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130260480001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":146858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:37:04] local.INFO: GPS data processed {"connection_id":146858,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:37:04] local.INFO: Acknowledgment sent {"connection_id":146858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:37:26] local.INFO: TCP Data received {"connection_id":146638,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:37:26] local.INFO: Processing buffer {"connection_id":146638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:37:26] local.INFO: IMEI packet received {"connection_id":146638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":146638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:37:33] local.INFO: TCP Data received {"connection_id":146638,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:37:33] local.INFO: Processing buffer {"connection_id":146638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:37:33] local.INFO: IMEI packet received {"connection_id":146638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":146638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:37:35] local.INFO: TCP Data received {"connection_id":146638,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:37:35] local.INFO: Processing buffer {"connection_id":146638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:37:35] local.INFO: Packet analysis {"connection_id":146638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:37:35] local.INFO: Extracted packet for processing {"connection_id":146638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:37:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130169088001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785665024000,"timestamp_ms":1785665024000,"timestamp_seconds":1785665024,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1edf000"} 
[2026-08-02 15:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130169088001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 15:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130169088001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:37:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 15:37:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130169088001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":146638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:37:35] local.INFO: GPS data processed {"connection_id":146638,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:37:35] local.INFO: Acknowledgment sent {"connection_id":146638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:37:35] local.INFO: TCP Data received {"connection_id":146858,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ef6ed0012d1823800721b8300053010222..."} 
[2026-08-02 15:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ef6ed0012d1823800721b8300053010222..."} 
[2026-08-02 15:37:35] local.INFO: Processing buffer {"connection_id":146858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ef6ed0012d1823800721b8300053010222..."} 
[2026-08-02 15:37:35] local.INFO: Packet analysis {"connection_id":146858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ef"} 
[2026-08-02 15:37:35] local.INFO: Extracted packet for processing {"connection_id":146858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ef"} 
[2026-08-02 15:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130265856001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785665122000,"timestamp_ms":1785665122000,"timestamp_seconds":1785665122,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ef6ed0"} 
[2026-08-02 15:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-02 15:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130265856001,"66":12526,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130265856001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:37:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130265856001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":146858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:37:36] local.INFO: GPS data processed {"connection_id":146858,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:37:36] local.INFO: Acknowledgment sent {"connection_id":146858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:37:36] local.INFO: TCP Data received {"connection_id":146638,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:37:36] local.INFO: Processing buffer {"connection_id":146638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:37:36] local.INFO: Packet analysis {"connection_id":146638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:37:36] local.INFO: Extracted packet for processing {"connection_id":146638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:37:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130169088001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785665024000,"timestamp_ms":1785665024000,"timestamp_seconds":1785665024,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1edf000"} 
[2026-08-02 15:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:37: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-08-02 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130169088001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 15:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130169088001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:37:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 15:37:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:37:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130169088001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":146638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:37:36] local.INFO: GPS data processed {"connection_id":146638,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:37:36] local.INFO: Acknowledgment sent {"connection_id":146638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:37:59] local.INFO: TCP Data received {"connection_id":147891,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:37:59] local.INFO: Processing buffer {"connection_id":147891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:37:59] local.INFO: IMEI packet received {"connection_id":147891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":147891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:38:03] local.INFO: TCP Data received {"connection_id":147891,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:38:03] local.INFO: Processing buffer {"connection_id":147891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:38:03] local.INFO: IMEI packet received {"connection_id":147891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":147891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:38:04] local.INFO: TCP Data received {"connection_id":147891,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1efc0d8012d1823800721b8300053010222..."} 
[2026-08-02 15:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1efc0d8012d1823800721b8300053010222..."} 
[2026-08-02 15:38:04] local.INFO: Processing buffer {"connection_id":147891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1efc0d8012d1823800721b8300053010222..."} 
[2026-08-02 15:38:04] local.INFO: Packet analysis {"connection_id":147891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ef"} 
[2026-08-02 15:38:04] local.INFO: Extracted packet for processing {"connection_id":147891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ef"} 
[2026-08-02 15:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130271232001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:38: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-08-02 15:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785665143000,"timestamp_ms":1785665143000,"timestamp_seconds":1785665143,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1efc0d8"} 
[2026-08-02 15:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 15:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130271232001,"66":12526,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130271232001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:38:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:38:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130271232001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":147891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:38:04] local.INFO: GPS data processed {"connection_id":147891,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:38:04] local.INFO: Acknowledgment sent {"connection_id":147891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:38:08] local.INFO: TCP Data received {"connection_id":146638,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:38:08] local.INFO: Processing buffer {"connection_id":146638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:38:08] local.INFO: Packet analysis {"connection_id":146638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:38:08] local.INFO: Extracted packet for processing {"connection_id":146638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:38:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130169088001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:38:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785665024000,"timestamp_ms":1785665024000,"timestamp_seconds":1785665024,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1edf000"} 
[2026-08-02 15:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:38: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-08-02 15: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":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:38: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-08-02 15:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130169088001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 15:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130169088001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:38:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 15:38:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:38:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130169088001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":146638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:38:08] local.INFO: GPS data processed {"connection_id":146638,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:38:08] local.INFO: Acknowledgment sent {"connection_id":146638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:38:34] local.INFO: TCP Data received {"connection_id":147892,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:38:34] local.INFO: Processing buffer {"connection_id":147892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:38:34] local.INFO: IMEI packet received {"connection_id":147892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":147892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:38:35] local.INFO: TCP Data received {"connection_id":147891,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f012e0012d1823800721b8300053010223..."} 
[2026-08-02 15:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f012e0012d1823800721b8300053010223..."} 
[2026-08-02 15:38:35] local.INFO: Processing buffer {"connection_id":147891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f012e0012d1823800721b8300053010223..."} 
[2026-08-02 15:38:35] local.INFO: Packet analysis {"connection_id":147891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f0"} 
[2026-08-02 15:38:35] local.INFO: Extracted packet for processing {"connection_id":147891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f0"} 
[2026-08-02 15:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130276608001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785665164000,"timestamp_ms":1785665164000,"timestamp_seconds":1785665164,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f012e0"} 
[2026-08-02 15:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 15:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130276608001,"66":12461,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130276608001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:38:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130276608001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":147891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:38:36] local.INFO: GPS data processed {"connection_id":147891,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:38:36] local.INFO: Acknowledgment sent {"connection_id":147891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:38:39] local.INFO: TCP Data received {"connection_id":147892,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:38:39] local.INFO: Processing buffer {"connection_id":147892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:38:39] local.INFO: IMEI packet received {"connection_id":147892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":147892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:38:40] local.INFO: TCP Data received {"connection_id":147892,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:38:40] local.INFO: Processing buffer {"connection_id":147892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1edf000012cc330c007685958005800c52e..."} 
[2026-08-02 15:38:40] local.INFO: Packet analysis {"connection_id":147892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:38:40] local.INFO: Extracted packet for processing {"connection_id":147892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ed"} 
[2026-08-02 15:38:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130169088001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:38:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785665024000,"timestamp_ms":1785665024000,"timestamp_seconds":1785665024,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1edf000"} 
[2026-08-02 15:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:38: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-08-02 15:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130169088001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 15:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130169088001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:38:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 15:38:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:38:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130169088001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":147892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:38:41] local.INFO: GPS data processed {"connection_id":147892,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:38:41] local.INFO: Acknowledgment sent {"connection_id":147892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:38:59] local.INFO: TCP Data received {"connection_id":146859,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:38:59] local.INFO: Processing buffer {"connection_id":146859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:38:59] local.INFO: IMEI packet received {"connection_id":146859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":146859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:39:04] local.INFO: TCP Data received {"connection_id":146859,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:39:04] local.INFO: Processing buffer {"connection_id":146859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:39:04] local.INFO: IMEI packet received {"connection_id":146859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":146859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:39:05] local.INFO: TCP Data received {"connection_id":146859,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f064e8012d1823800721b8300053010225..."} 
[2026-08-02 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f064e8012d1823800721b8300053010225..."} 
[2026-08-02 15:39:05] local.INFO: Processing buffer {"connection_id":146859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f064e8012d1823800721b8300053010225..."} 
[2026-08-02 15:39:05] local.INFO: Packet analysis {"connection_id":146859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f0"} 
[2026-08-02 15:39:05] local.INFO: Extracted packet for processing {"connection_id":146859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f0"} 
[2026-08-02 15:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130281984001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785665185000,"timestamp_ms":1785665185000,"timestamp_seconds":1785665185,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f064e8"} 
[2026-08-02 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-08-02 15:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 15:39: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-08-02 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-08-02 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-08-02 15:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130281984001,"66":12461,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130281984001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:39:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130281984001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":146859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:39:05] local.INFO: GPS data processed {"connection_id":146859,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:39:05] local.INFO: Acknowledgment sent {"connection_id":146859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:39:31] local.INFO: TCP Data received {"connection_id":146860,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:39:31] local.INFO: Processing buffer {"connection_id":146860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:39:31] local.INFO: IMEI packet received {"connection_id":146860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":146860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:39:36] local.INFO: TCP Data received {"connection_id":146859,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f0b308012d1823800721b8300053010226..."} 
[2026-08-02 15:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f0b308012d1823800721b8300053010226..."} 
[2026-08-02 15:39:36] local.INFO: Processing buffer {"connection_id":146859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f0b308012d1823800721b8300053010226..."} 
[2026-08-02 15:39:36] local.INFO: Packet analysis {"connection_id":146859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f0"} 
[2026-08-02 15:39:36] local.INFO: Extracted packet for processing {"connection_id":146859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f0"} 
[2026-08-02 15:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130287360001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785665205000,"timestamp_ms":1785665205000,"timestamp_seconds":1785665205,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f0b308"} 
[2026-08-02 15:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 15:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130287360001,"66":12504,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130287360001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:39:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130287360001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":146859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:39:36] local.INFO: GPS data processed {"connection_id":146859,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:39:36] local.INFO: Acknowledgment sent {"connection_id":146859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:39:37] local.INFO: TCP Data received {"connection_id":146860,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:39:37] local.INFO: Processing buffer {"connection_id":146860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:39:37] local.INFO: IMEI packet received {"connection_id":146860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":146860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:39:40] local.INFO: TCP Data received {"connection_id":146860,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f287c8012cc330c007685958005800c52e..."} 
[2026-08-02 15:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f287c8012cc330c007685958005800c52e..."} 
[2026-08-02 15:39:40] local.INFO: Processing buffer {"connection_id":146860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f287c8012cc330c007685958005800c52e..."} 
[2026-08-02 15:39:40] local.INFO: Packet analysis {"connection_id":146860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f2"} 
[2026-08-02 15:39:40] local.INFO: Extracted packet for processing {"connection_id":146860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f2"} 
[2026-08-02 15:39:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130246144001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785665325000,"timestamp_ms":1785665325000,"timestamp_seconds":1785665325,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f287c8"} 
[2026-08-02 15:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 15:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130246144001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130246144001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:39:40] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:39:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130246144001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":146860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:39:40] local.INFO: GPS data processed {"connection_id":146860,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:39:40] local.INFO: Acknowledgment sent {"connection_id":146860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:39:43] local.INFO: TCP Data received {"connection_id":146860,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f287c8012cc330c007685958005800c52e..."} 
[2026-08-02 15:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f287c8012cc330c007685958005800c52e..."} 
[2026-08-02 15:39:43] local.INFO: Processing buffer {"connection_id":146860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f287c8012cc330c007685958005800c52e..."} 
[2026-08-02 15:39:43] local.INFO: Packet analysis {"connection_id":146860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f2"} 
[2026-08-02 15:39:43] local.INFO: Extracted packet for processing {"connection_id":146860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f2"} 
[2026-08-02 15:39:43] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130246144001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:39:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785665325000,"timestamp_ms":1785665325000,"timestamp_seconds":1785665325,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f287c8"} 
[2026-08-02 15:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:39: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-08-02 15:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 15:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130246144001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130246144001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:39:43] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:39:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:39:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130246144001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":146860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:39:43] local.INFO: GPS data processed {"connection_id":146860,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:39:43] local.INFO: Acknowledgment sent {"connection_id":146860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:39:59] local.INFO: TCP Data received {"connection_id":147893,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:39:59] local.INFO: Processing buffer {"connection_id":147893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:39:59] local.INFO: IMEI packet received {"connection_id":147893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":147893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:40:04] local.INFO: TCP Data received {"connection_id":147893,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:40:04] local.INFO: Processing buffer {"connection_id":147893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:40:04] local.INFO: IMEI packet received {"connection_id":147893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":147893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:40:04] local.INFO: TCP Data received {"connection_id":147893,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f10510012d1823800721b8300053010226..."} 
[2026-08-02 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f10510012d1823800721b8300053010226..."} 
[2026-08-02 15:40:04] local.INFO: Processing buffer {"connection_id":147893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f10510012d1823800721b8300053010226..."} 
[2026-08-02 15:40:04] local.INFO: Packet analysis {"connection_id":147893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f1"} 
[2026-08-02 15:40:04] local.INFO: Extracted packet for processing {"connection_id":147893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f1"} 
[2026-08-02 15:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130292480001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:40: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-08-02 15:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785665226000,"timestamp_ms":1785665226000,"timestamp_seconds":1785665226,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f10510"} 
[2026-08-02 15:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 15:40: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-08-02 15:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130292480001,"66":12504,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130292480001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:40:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130292480001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":147893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:40:05] local.INFO: GPS data processed {"connection_id":147893,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:40:05] local.INFO: Acknowledgment sent {"connection_id":147893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:40:24] local.INFO: TCP Data received {"connection_id":146861,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:40:24] local.INFO: Processing buffer {"connection_id":146861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:40:24] local.INFO: IMEI packet received {"connection_id":146861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":146861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:40:29] local.INFO: TCP Data received {"connection_id":146861,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:40:29] local.INFO: Processing buffer {"connection_id":146861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:40:29] local.INFO: IMEI packet received {"connection_id":146861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":146861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:40:30] local.INFO: TCP Data received {"connection_id":146861,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f287c8012cc330c007685958005800c52e..."} 
[2026-08-02 15:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f287c8012cc330c007685958005800c52e..."} 
[2026-08-02 15:40:30] local.INFO: Processing buffer {"connection_id":146861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f287c8012cc330c007685958005800c52e..."} 
[2026-08-02 15:40:30] local.INFO: Packet analysis {"connection_id":146861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f2"} 
[2026-08-02 15:40:30] local.INFO: Extracted packet for processing {"connection_id":146861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f2"} 
[2026-08-02 15:40:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130246144001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785665325000,"timestamp_ms":1785665325000,"timestamp_seconds":1785665325,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f287c8"} 
[2026-08-02 15:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 15:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130246144001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130246144001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:40:30] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:40:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130246144001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":146861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:40:30] local.INFO: GPS data processed {"connection_id":146861,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:40:30] local.INFO: Acknowledgment sent {"connection_id":146861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:40:36] local.INFO: TCP Data received {"connection_id":147893,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f15718012d1823800721b8300053010226..."} 
[2026-08-02 15:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f15718012d1823800721b8300053010226..."} 
[2026-08-02 15:40:36] local.INFO: Processing buffer {"connection_id":147893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f15718012d1823800721b8300053010226..."} 
[2026-08-02 15:40:36] local.INFO: Packet analysis {"connection_id":147893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f1"} 
[2026-08-02 15:40:36] local.INFO: Extracted packet for processing {"connection_id":147893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f1"} 
[2026-08-02 15:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15: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-08-02 15:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130297856001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785665247000,"timestamp_ms":1785665247000,"timestamp_seconds":1785665247,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f15718"} 
[2026-08-02 15:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":216,"data_length":795,"current_offset":136} 
[2026-08-02 15:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15: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-08-02 15:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130297856001,"66":12504,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130297856001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:40:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130297856001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":147893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:40:36] local.INFO: GPS data processed {"connection_id":147893,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:40:36] local.INFO: Acknowledgment sent {"connection_id":147893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:40:58] local.INFO: TCP Data received {"connection_id":147894,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:40:58] local.INFO: Processing buffer {"connection_id":147894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:40:58] local.INFO: IMEI packet received {"connection_id":147894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":147894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:40:59] local.INFO: TCP Data received {"connection_id":147894,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:40:59] local.INFO: Processing buffer {"connection_id":147894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:40:59] local.INFO: IMEI packet received {"connection_id":147894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":147894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:41:02] local.INFO: TCP Data received {"connection_id":146861,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f287c8012cc330c007685958005800c52e..."} 
[2026-08-02 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f287c8012cc330c007685958005800c52e..."} 
[2026-08-02 15:41:02] local.INFO: Processing buffer {"connection_id":146861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f287c8012cc330c007685958005800c52e..."} 
[2026-08-02 15:41:02] local.INFO: Packet analysis {"connection_id":146861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f2"} 
[2026-08-02 15:41:02] local.INFO: Extracted packet for processing {"connection_id":146861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f2"} 
[2026-08-02 15:41:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130246144001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:41:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785665325000,"timestamp_ms":1785665325000,"timestamp_seconds":1785665325,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f287c8"} 
[2026-08-02 15:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 15:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130246144001,"66":25495,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130246144001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:41:02] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:41:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:41:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130246144001,"power":25495,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":146861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:41:02] local.INFO: GPS data processed {"connection_id":146861,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:41:02] local.INFO: Acknowledgment sent {"connection_id":146861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:41:03] local.INFO: TCP Data received {"connection_id":147894,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:41:03] local.INFO: Processing buffer {"connection_id":147894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:41:03] local.INFO: IMEI packet received {"connection_id":147894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":147894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:41:04] local.INFO: TCP Data received {"connection_id":147894,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f1a920012d1823800721b8300053010226..."} 
[2026-08-02 15:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f1a920012d1823800721b8300053010226..."} 
[2026-08-02 15:41:04] local.INFO: Processing buffer {"connection_id":147894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f1a920012d1823800721b8300053010226..."} 
[2026-08-02 15:41:04] local.INFO: Packet analysis {"connection_id":147894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f1"} 
[2026-08-02 15:41:04] local.INFO: Extracted packet for processing {"connection_id":147894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f1"} 
[2026-08-02 15:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130303232001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:41: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-08-02 15:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785665268000,"timestamp_ms":1785665268000,"timestamp_seconds":1785665268,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f1a920"} 
[2026-08-02 15:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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-08-02 15: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-08-02 15:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130303232001,"66":12461,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130303232001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:41:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130303232001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":147894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:41:04] local.INFO: GPS data processed {"connection_id":147894,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:41:04] local.INFO: Acknowledgment sent {"connection_id":147894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:41:35] local.INFO: TCP Data received {"connection_id":147894,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f1fb28012d1823800721b8300053010227..."} 
[2026-08-02 15:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f1fb28012d1823800721b8300053010227..."} 
[2026-08-02 15:41:35] local.INFO: Processing buffer {"connection_id":147894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f1fb28012d1823800721b8300053010227..."} 
[2026-08-02 15:41:35] local.INFO: Packet analysis {"connection_id":147894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f1"} 
[2026-08-02 15:41:35] local.INFO: Extracted packet for processing {"connection_id":147894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f1"} 
[2026-08-02 15:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130308608001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785665289000,"timestamp_ms":1785665289000,"timestamp_seconds":1785665289,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f1fb28"} 
[2026-08-02 15:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 15:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130308608001,"66":12428,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130308608001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:41:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130308608001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":147894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:41:35] local.INFO: GPS data processed {"connection_id":147894,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:41:35] local.INFO: Acknowledgment sent {"connection_id":147894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:41:58] local.INFO: TCP Data received {"connection_id":146862,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:41:58] local.INFO: Processing buffer {"connection_id":146862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:41:58] local.INFO: IMEI packet received {"connection_id":146862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":146862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:42:04] local.INFO: TCP Data received {"connection_id":146862,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:42:04] local.INFO: Processing buffer {"connection_id":146862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:42:04] local.INFO: IMEI packet received {"connection_id":146862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":146862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:42:05] local.INFO: TCP Data received {"connection_id":146862,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f24948012d1823800721b8300053010228..."} 
[2026-08-02 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f24948012d1823800721b8300053010228..."} 
[2026-08-02 15:42:05] local.INFO: Processing buffer {"connection_id":146862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f24948012d1823800721b8300053010228..."} 
[2026-08-02 15:42:05] local.INFO: Packet analysis {"connection_id":146862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f2"} 
[2026-08-02 15:42:05] local.INFO: Extracted packet for processing {"connection_id":146862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f2"} 
[2026-08-02 15:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130313984001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785665309000,"timestamp_ms":1785665309000,"timestamp_seconds":1785665309,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f24948"} 
[2026-08-02 15:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-02 15:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130313984001,"66":12461,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130313984001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:42:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130313984001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":146862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:42:05] local.INFO: GPS data processed {"connection_id":146862,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:42:05] local.INFO: Acknowledgment sent {"connection_id":146862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:42:34] local.INFO: TCP Data received {"connection_id":147895,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:42:34] local.INFO: Processing buffer {"connection_id":147895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:42:34] local.INFO: IMEI packet received {"connection_id":147895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":147895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:42:36] local.INFO: TCP Data received {"connection_id":146862,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f29768012d1823800721b8300053010229..."} 
[2026-08-02 15:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f29768012d1823800721b8300053010229..."} 
[2026-08-02 15:42:36] local.INFO: Processing buffer {"connection_id":146862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f29768012d1823800721b8300053010229..."} 
[2026-08-02 15:42:36] local.INFO: Packet analysis {"connection_id":146862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f2"} 
[2026-08-02 15:42:36] local.INFO: Extracted packet for processing {"connection_id":146862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f2"} 
[2026-08-02 15:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130319104001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785665329000,"timestamp_ms":1785665329000,"timestamp_seconds":1785665329,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f29768"} 
[2026-08-02 15:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 15:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130319104001,"66":12504,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130319104001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:42:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130319104001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":146862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:42:36] local.INFO: GPS data processed {"connection_id":146862,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:42:36] local.INFO: Acknowledgment sent {"connection_id":146862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:42:39] local.INFO: TCP Data received {"connection_id":147895,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:42:39] local.INFO: Processing buffer {"connection_id":147895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:42:39] local.INFO: IMEI packet received {"connection_id":147895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":147895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:43:00] local.INFO: TCP Data received {"connection_id":149201,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:43:00] local.INFO: Processing buffer {"connection_id":149201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:43:00] local.INFO: IMEI packet received {"connection_id":149201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":149201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:43:04] local.INFO: TCP Data received {"connection_id":149201,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:43:04] local.INFO: Processing buffer {"connection_id":149201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:43:04] local.INFO: IMEI packet received {"connection_id":149201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":149201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:43:09] local.INFO: TCP Data received {"connection_id":147895,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:43:09] local.INFO: Processing buffer {"connection_id":147895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:43:09] local.INFO: IMEI packet received {"connection_id":147895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":147895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:43:09] local.INFO: TCP Data received {"connection_id":149201,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:43:09] local.INFO: Processing buffer {"connection_id":149201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:43:09] local.INFO: IMEI packet received {"connection_id":149201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":149201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:43:09] local.INFO: TCP Data received {"connection_id":149201,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f2e588012d1823800721b8300053010229..."} 
[2026-08-02 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f2e588012d1823800721b8300053010229..."} 
[2026-08-02 15:43:09] local.INFO: Processing buffer {"connection_id":149201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f2e588012d1823800721b8300053010229..."} 
[2026-08-02 15:43:09] local.INFO: Packet analysis {"connection_id":149201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f2"} 
[2026-08-02 15:43:09] local.INFO: Extracted packet for processing {"connection_id":149201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f2"} 
[2026-08-02 15:43:09] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130324224001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785665349000,"timestamp_ms":1785665349000,"timestamp_seconds":1785665349,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f2e588"} 
[2026-08-02 15:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 15:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130324224001,"66":12461,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130324224001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:43:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:43:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130324224001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":149201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:43:10] local.INFO: GPS data processed {"connection_id":149201,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:43:10] local.INFO: Acknowledgment sent {"connection_id":149201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:43:14] local.INFO: TCP Data received {"connection_id":149201,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f333a8012d1823800721b8300053010229..."} 
[2026-08-02 15:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f333a8012d1823800721b8300053010229..."} 
[2026-08-02 15:43:14] local.INFO: Processing buffer {"connection_id":149201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f333a8012d1823800721b8300053010229..."} 
[2026-08-02 15:43:14] local.INFO: Packet analysis {"connection_id":149201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f3"} 
[2026-08-02 15:43:14] local.INFO: Extracted packet for processing {"connection_id":149201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f3"} 
[2026-08-02 15:43:14] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130329344001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785665369000,"timestamp_ms":1785665369000,"timestamp_seconds":1785665369,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f333a8"} 
[2026-08-02 15:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 15:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130329344001,"66":12461,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130329344001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:43:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:43:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130329344001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":149201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:43:14] local.INFO: GPS data processed {"connection_id":149201,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:43:14] local.INFO: Acknowledgment sent {"connection_id":149201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:43:33] local.INFO: TCP Data received {"connection_id":147896,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:43:33] local.INFO: Processing buffer {"connection_id":147896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:43:33] local.INFO: IMEI packet received {"connection_id":147896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":147896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:43:58] local.INFO: TCP Data received {"connection_id":146863,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:43:58] local.INFO: Processing buffer {"connection_id":146863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:43:58] local.INFO: IMEI packet received {"connection_id":146863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":146863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:44:04] local.INFO: TCP Data received {"connection_id":146863,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:44:04] local.INFO: Processing buffer {"connection_id":146863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:44:04] local.INFO: IMEI packet received {"connection_id":146863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":146863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:44:05] local.INFO: TCP Data received {"connection_id":146863,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f381c8012d1823800721b830005301022a..."} 
[2026-08-02 15:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f381c8012d1823800721b830005301022a..."} 
[2026-08-02 15:44:05] local.INFO: Processing buffer {"connection_id":146863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f381c8012d1823800721b830005301022a..."} 
[2026-08-02 15:44:05] local.INFO: Packet analysis {"connection_id":146863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f3"} 
[2026-08-02 15:44:05] local.INFO: Extracted packet for processing {"connection_id":146863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f3"} 
[2026-08-02 15:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650352,"longitude_deg":75.6556672,"latitude_deg":11.9650352,"altitude":83,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-02 15: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-08-02 15:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130334464001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267123616055296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213988864,"note":"Value kept but may cause issues"} 
[2026-08-02 15:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785665389000,"timestamp_ms":1785665389000,"timestamp_seconds":1785665389,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f381c8"} 
[2026-08-02 15:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 15:44: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-08-02 15: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-08-02 15:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130334464001,"66":12461,"105":206,"83":41984,"24":0,"16":10267123616055296,"45":1739374649213988864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130334464001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:44:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267123616055296,"km_value":10267123616055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213988864,"description":"Unknown IO ID 45"} 
[2026-08-02 15:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130334464001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213988864}} 
[2026-08-02 15:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":146863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:44:05] local.INFO: GPS data processed {"connection_id":146863,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:44:05] local.INFO: Acknowledgment sent {"connection_id":146863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:44:35] local.INFO: TCP Data received {"connection_id":146863,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f6b230012d1820400721b250004b00d42c..."} 
[2026-08-02 15:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f6b230012d1820400721b250004b00d42c..."} 
[2026-08-02 15:44:35] local.INFO: Processing buffer {"connection_id":146863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f6b230012d1820400721b250004b00d42c..."} 
[2026-08-02 15:44:35] local.INFO: Packet analysis {"connection_id":146863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f6"} 
[2026-08-02 15:44:35] local.INFO: Extracted packet for processing {"connection_id":146863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f6"} 
[2026-08-02 15:44:35] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648848,"longitude_deg":75.655584,"latitude_deg":11.9648848,"altitude":75,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-08-02 15:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130388224001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267213810368512,"note":"Value kept but may cause issues"} 
[2026-08-02 15:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539294208,"note":"Value kept but may cause issues"} 
[2026-08-02 15:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785665598000,"timestamp_ms":1785665598000,"timestamp_seconds":1785665598,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f6b230"} 
[2026-08-02 15:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 15:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130388224001,"66":12341,"105":206,"83":41984,"24":0,"16":10267213810368512,"45":1738459855539294208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130388224001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:44:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267213810368512,"km_value":10267213810368.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539294208,"description":"Unknown IO ID 45"} 
[2026-08-02 15:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130388224001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539294208}} 
[2026-08-02 15:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":146863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:44:36] local.INFO: GPS data processed {"connection_id":146863,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:44:36] local.INFO: Acknowledgment sent {"connection_id":146863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:44:59] local.INFO: TCP Data received {"connection_id":146640,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:44:59] local.INFO: Processing buffer {"connection_id":146640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:44:59] local.INFO: IMEI packet received {"connection_id":146640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":146640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:45:04] local.INFO: TCP Data received {"connection_id":146640,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:45:04] local.INFO: Processing buffer {"connection_id":146640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:45:04] local.INFO: IMEI packet received {"connection_id":146640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":146640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:45:04] local.INFO: TCP Data received {"connection_id":146640,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f6fc68012d1820400721b250004b00d42c..."} 
[2026-08-02 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f6fc68012d1820400721b250004b00d42c..."} 
[2026-08-02 15:45:04] local.INFO: Processing buffer {"connection_id":146640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f6fc68012d1820400721b250004b00d42c..."} 
[2026-08-02 15:45:04] local.INFO: Packet analysis {"connection_id":146640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f6"} 
[2026-08-02 15:45:04] local.INFO: Extracted packet for processing {"connection_id":146640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f6"} 
[2026-08-02 15:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648848,"longitude_deg":75.655584,"latitude_deg":11.9648848,"altitude":75,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-08-02 15:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130393088001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267213810368512,"note":"Value kept but may cause issues"} 
[2026-08-02 15:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539294208,"note":"Value kept but may cause issues"} 
[2026-08-02 15:45: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-08-02 15:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785665617000,"timestamp_ms":1785665617000,"timestamp_seconds":1785665617,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f6fc68"} 
[2026-08-02 15:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 15:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130393088001,"66":12385,"105":206,"83":41984,"24":0,"16":10267213810368512,"45":1738459855539294208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130393088001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:45:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267213810368512,"km_value":10267213810368.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539294208,"description":"Unknown IO ID 45"} 
[2026-08-02 15:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130393088001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539294208}} 
[2026-08-02 15:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":146640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:45:05] local.INFO: GPS data processed {"connection_id":146640,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:45:05] local.INFO: Acknowledgment sent {"connection_id":146640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:45:11] local.INFO: TCP Data received {"connection_id":147898,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:45:11] local.INFO: Processing buffer {"connection_id":147898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:45:11] local.INFO: IMEI packet received {"connection_id":147898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":147898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:45:36] local.INFO: TCP Data received {"connection_id":146640,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f746a0012d1820400721b250004b00d42d..."} 
[2026-08-02 15:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f746a0012d1820400721b250004b00d42d..."} 
[2026-08-02 15:45:36] local.INFO: Processing buffer {"connection_id":146640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f746a0012d1820400721b250004b00d42d..."} 
[2026-08-02 15:45:36] local.INFO: Packet analysis {"connection_id":146640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f7"} 
[2026-08-02 15:45:36] local.INFO: Extracted packet for processing {"connection_id":146640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f7"} 
[2026-08-02 15:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648848,"longitude_deg":75.655584,"latitude_deg":11.9648848,"altitude":75,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-08-02 15:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130397952001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267213810368512,"note":"Value kept but may cause issues"} 
[2026-08-02 15:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539294208,"note":"Value kept but may cause issues"} 
[2026-08-02 15:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785665636000,"timestamp_ms":1785665636000,"timestamp_seconds":1785665636,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f746a0"} 
[2026-08-02 15:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 15:45: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-08-02 15:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130397952001,"66":12385,"105":206,"83":41984,"24":0,"16":10267213810368512,"45":1738459855539294208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130397952001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:45:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267213810368512,"km_value":10267213810368.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539294208,"description":"Unknown IO ID 45"} 
[2026-08-02 15:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130397952001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539294208}} 
[2026-08-02 15:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":146640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:45:36] local.INFO: GPS data processed {"connection_id":146640,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:45:36] local.INFO: Acknowledgment sent {"connection_id":146640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:45:43] local.INFO: TCP Data received {"connection_id":149202,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:45:43] local.INFO: Processing buffer {"connection_id":149202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:45:43] local.INFO: IMEI packet received {"connection_id":149202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":149202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:45:48] local.INFO: TCP Data received {"connection_id":149202,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:45:48] local.INFO: Processing buffer {"connection_id":149202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:45:48] local.INFO: IMEI packet received {"connection_id":149202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":149202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:45:49] local.INFO: TCP Data received {"connection_id":149202,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f892a8012d871bc005e061380009015729..."} 
[2026-08-02 15:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f892a8012d871bc005e061380009015729..."} 
[2026-08-02 15:45:49] local.INFO: Processing buffer {"connection_id":149202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f892a8012d871bc005e061380009015729..."} 
[2026-08-02 15:45:49] local.INFO: Packet analysis {"connection_id":149202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f8"} 
[2026-08-02 15:45:49] local.INFO: Extracted packet for processing {"connection_id":149202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f8"} 
[2026-08-02 15:45:49] local.INFO: GPS Element Parsed {"raw_longitude":763829184,"raw_latitude":98591032,"longitude_deg":76.3829184,"latitude_deg":9.8591032,"altitude":9,"angle":343,"satellites":41,"speed":39,"hex_longitude":"2d871bc0","hex_latitude":"05e06138","is_valid_coordinates":true} 
[2026-08-02 15:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130421760001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113981190720978944,"note":"Value kept but may cause issues"} 
[2026-08-02 15:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8707709854283859968,"note":"Value kept but may cause issues"} 
[2026-08-02 15:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785665721000,"timestamp_ms":1785665721000,"timestamp_seconds":1785665721,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f892a8"} 
[2026-08-02 15:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 15:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130421760001,"66":13406,"153":206,"88":20224,"24":39,"16":113981190720978944,"45":-8707709854283859968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,88,24,16,45]} 
[2026-08-02 15:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130421760001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:45:49] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-02 15:45:49] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113981190720978944,"km_value":113981190720978.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8707709854283859968,"description":"Unknown IO ID 45"} 
[2026-08-02 15:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130421760001,"power":13406,"unknown_153":206,"unknown_88":20224,"ignition":39,"odometer":null,"unknown_45":-8707709854283859968}} 
[2026-08-02 15:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":149202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:45:49] local.INFO: GPS data processed {"connection_id":149202,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:45:49] local.INFO: Acknowledgment sent {"connection_id":149202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:45:58] local.INFO: TCP Data received {"connection_id":146864,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:45:58] local.INFO: Processing buffer {"connection_id":146864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:45:58] local.INFO: IMEI packet received {"connection_id":146864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":146864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:46:04] local.INFO: TCP Data received {"connection_id":146864,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:46:04] local.INFO: Processing buffer {"connection_id":146864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:46:04] local.INFO: IMEI packet received {"connection_id":146864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":146864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:46:04] local.INFO: TCP Data received {"connection_id":146864,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f790d8012d1820400721b250004b00d42c..."} 
[2026-08-02 15:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f790d8012d1820400721b250004b00d42c..."} 
[2026-08-02 15:46:04] local.INFO: Processing buffer {"connection_id":146864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f790d8012d1820400721b250004b00d42c..."} 
[2026-08-02 15:46:04] local.INFO: Packet analysis {"connection_id":146864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f7"} 
[2026-08-02 15:46:04] local.INFO: Extracted packet for processing {"connection_id":146864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f7"} 
[2026-08-02 15:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648848,"longitude_deg":75.655584,"latitude_deg":11.9648848,"altitude":75,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-08-02 15:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130402816001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267213810368512,"note":"Value kept but may cause issues"} 
[2026-08-02 15:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539294208,"note":"Value kept but may cause issues"} 
[2026-08-02 15:46: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-08-02 15:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785665655000,"timestamp_ms":1785665655000,"timestamp_seconds":1785665655,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f790d8"} 
[2026-08-02 15:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 15:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130402816001,"66":12374,"105":206,"83":41984,"24":0,"16":10267213810368512,"45":1738459855539294208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130402816001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:46:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:46:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267213810368512,"km_value":10267213810368.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539294208,"description":"Unknown IO ID 45"} 
[2026-08-02 15:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130402816001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539294208}} 
[2026-08-02 15:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":146864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:46:05] local.INFO: GPS data processed {"connection_id":146864,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:46:05] local.INFO: Acknowledgment sent {"connection_id":146864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:46:27] local.INFO: TCP Data received {"connection_id":146643,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:46:27] local.INFO: Processing buffer {"connection_id":146643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:46:27] local.INFO: IMEI packet received {"connection_id":146643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":146643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:46:28] local.INFO: TCP Data received {"connection_id":146643,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:46:28] local.INFO: Processing buffer {"connection_id":146643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:46:28] local.INFO: IMEI packet received {"connection_id":146643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":146643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:46:33] local.INFO: TCP Data received {"connection_id":146643,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:46:33] local.INFO: Processing buffer {"connection_id":146643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:46:33] local.INFO: IMEI packet received {"connection_id":146643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":146643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:46:34] local.INFO: TCP Data received {"connection_id":146643,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f8b5d0012d87124005e08298000801572b..."} 
[2026-08-02 15:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f8b5d0012d87124005e08298000801572b..."} 
[2026-08-02 15:46:34] local.INFO: Processing buffer {"connection_id":146643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f8b5d0012d87124005e08298000801572b..."} 
[2026-08-02 15:46:34] local.INFO: Packet analysis {"connection_id":146643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f8"} 
[2026-08-02 15:46:34] local.INFO: Extracted packet for processing {"connection_id":146643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f8"} 
[2026-08-02 15:46:34] local.INFO: GPS Element Parsed {"raw_longitude":763826752,"raw_latitude":98599576,"longitude_deg":76.3826752,"latitude_deg":9.8599576,"altitude":8,"angle":343,"satellites":43,"speed":40,"hex_longitude":"2d871240","hex_latitude":"05e08298","is_valid_coordinates":true} 
[2026-08-02 15:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130424576001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113981620217708544,"note":"Value kept but may cause issues"} 
[2026-08-02 15:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8711157922746255360,"note":"Value kept but may cause issues"} 
[2026-08-02 15:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785665730000,"timestamp_ms":1785665730000,"timestamp_seconds":1785665730,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f8b5d0"} 
[2026-08-02 15:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 15:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:46: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-08-02 15:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130424576001,"66":13580,"14":206,"88":20224,"24":40,"16":113981620217708544,"45":-8711157922746255360},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,88,24,16,45]} 
[2026-08-02 15:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130424576001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:46:34] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-02 15:46:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113981620217708544,"km_value":113981620217708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8711157922746255360,"description":"Unknown IO ID 45"} 
[2026-08-02 15:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130424576001,"power":13580,"unknown_14":206,"unknown_88":20224,"ignition":40,"odometer":null,"unknown_45":-8711157922746255360}} 
[2026-08-02 15:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":146643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:46:34] local.INFO: GPS data processed {"connection_id":146643,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:46:34] local.INFO: Acknowledgment sent {"connection_id":146643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:46:36] local.INFO: TCP Data received {"connection_id":146864,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f7db10012d1820400721b250004b00d42d..."} 
[2026-08-02 15:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f7db10012d1820400721b250004b00d42d..."} 
[2026-08-02 15:46:36] local.INFO: Processing buffer {"connection_id":146864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f7db10012d1820400721b250004b00d42d..."} 
[2026-08-02 15:46:36] local.INFO: Packet analysis {"connection_id":146864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f7"} 
[2026-08-02 15:46:36] local.INFO: Extracted packet for processing {"connection_id":146864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f7"} 
[2026-08-02 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648848,"longitude_deg":75.655584,"latitude_deg":11.9648848,"altitude":75,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-08-02 15:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130407680001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267213810368512,"note":"Value kept but may cause issues"} 
[2026-08-02 15:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539294208,"note":"Value kept but may cause issues"} 
[2026-08-02 15:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785665674000,"timestamp_ms":1785665674000,"timestamp_seconds":1785665674,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f7db10"} 
[2026-08-02 15:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 15:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130407680001,"66":12319,"105":206,"83":41984,"24":0,"16":10267213810368512,"45":1738459855539294208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130407680001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:46:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267213810368512,"km_value":10267213810368.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539294208,"description":"Unknown IO ID 45"} 
[2026-08-02 15:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130407680001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539294208}} 
[2026-08-02 15:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":146864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:46:36] local.INFO: GPS data processed {"connection_id":146864,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:46:36] local.INFO: Acknowledgment sent {"connection_id":146864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:46:58] local.INFO: TCP Data received {"connection_id":146644,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:46:58] local.INFO: Processing buffer {"connection_id":146644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:46:58] local.INFO: IMEI packet received {"connection_id":146644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":146644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:47:03] local.INFO: TCP Data received {"connection_id":146644,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:47:03] local.INFO: Processing buffer {"connection_id":146644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:47:03] local.INFO: IMEI packet received {"connection_id":146644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":146644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:47:04] local.INFO: TCP Data received {"connection_id":146644,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f82160012d1820400721b250004b00d42d..."} 
[2026-08-02 15:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f82160012d1820400721b250004b00d42d..."} 
[2026-08-02 15:47:04] local.INFO: Processing buffer {"connection_id":146644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f82160012d1820400721b250004b00d42d..."} 
[2026-08-02 15:47:04] local.INFO: Packet analysis {"connection_id":146644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f8"} 
[2026-08-02 15:47:04] local.INFO: Extracted packet for processing {"connection_id":146644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f8"} 
[2026-08-02 15:47:04] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648848,"longitude_deg":75.655584,"latitude_deg":11.9648848,"altitude":75,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-08-02 15:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130412544001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267213810368512,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539294208,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47: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-08-02 15:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785665692000,"timestamp_ms":1785665692000,"timestamp_seconds":1785665692,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f82160"} 
[2026-08-02 15:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 15:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130412544001,"66":12374,"105":206,"83":41984,"24":0,"16":10267213810368512,"45":1738459855539294208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130412544001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:47:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:47:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267213810368512,"km_value":10267213810368.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539294208,"description":"Unknown IO ID 45"} 
[2026-08-02 15:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130412544001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539294208}} 
[2026-08-02 15:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":146644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:47:04] local.INFO: GPS data processed {"connection_id":146644,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:47:04] local.INFO: Acknowledgment sent {"connection_id":146644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:47:08] local.INFO: TCP Data received {"connection_id":146643,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f8d8f8012d870a4005e0a5080008016228..."} 
[2026-08-02 15:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f8d8f8012d870a4005e0a5080008016228..."} 
[2026-08-02 15:47:08] local.INFO: Processing buffer {"connection_id":146643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f8d8f8012d870a4005e0a5080008016228..."} 
[2026-08-02 15:47:08] local.INFO: Packet analysis {"connection_id":146643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f8"} 
[2026-08-02 15:47:08] local.INFO: Extracted packet for processing {"connection_id":146643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f8"} 
[2026-08-02 15:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763824704,"raw_latitude":98608392,"longitude_deg":76.3824704,"latitude_deg":9.8608392,"altitude":8,"angle":354,"satellites":40,"speed":37,"hex_longitude":"2d870a40","hex_latitude":"05e0a508","is_valid_coordinates":true} 
[2026-08-02 15:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130426880001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113982062599340032,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8713831935022819328,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785665739000,"timestamp_ms":1785665739000,"timestamp_seconds":1785665739,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f8d8f8"} 
[2026-08-02 15:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3254249160,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2269069317,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6281395764958593034,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":193,"raw_value":4163192833,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":223,"raw_value":4130340876,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470063104,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":848888014,"corrected_to":0} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147868625,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916528338882048,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4019453952,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3752570880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.WARNING: Large IO value detected {"io_id":135,"raw_value":7043636274836013071,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,14,88,24,241,157,16,159,146,45,192,97,9,41,10,66,153,103,61,240,68,1,94,193,223,4,113,205,49,6,75,43,239,53,2,148,5,15,48,135],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":848888014,"validated":0}]} 
[2026-08-02 15:47:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576838069477965824,"timestamp_seconds":576838069477965.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130426880001,"66":13352,"14":206,"88":20224,"24":37,"16":113982062599340032,"45":-8713831935022819328},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,88,24,16,45]} 
[2026-08-02 15:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130426880001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:47:08] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-02 15:47:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113982062599340032,"km_value":113982062599340.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8713831935022819328,"description":"Unknown IO ID 45"} 
[2026-08-02 15:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130426880001,"power":13352,"unknown_14":206,"unknown_88":20224,"ignition":37,"odometer":null,"unknown_45":-8713831935022819328}} 
[2026-08-02 15:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":146643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:47:08] local.INFO: GPS data processed {"connection_id":146643,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:47:08] local.INFO: Acknowledgment sent {"connection_id":146643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:47:32] local.INFO: TCP Data received {"connection_id":149204,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:47:32] local.INFO: Processing buffer {"connection_id":149204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:47:32] local.INFO: IMEI packet received {"connection_id":149204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":149204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:47:33] local.INFO: TCP Data received {"connection_id":149204,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:47:33] local.INFO: Processing buffer {"connection_id":149204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:47:33] local.INFO: IMEI packet received {"connection_id":149204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":149204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:47:35] local.INFO: TCP Data received {"connection_id":146644,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f86b98012d1820400721b250004b00d42d..."} 
[2026-08-02 15:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f86b98012d1820400721b250004b00d42d..."} 
[2026-08-02 15:47:35] local.INFO: Processing buffer {"connection_id":146644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f86b98012d1820400721b250004b00d42d..."} 
[2026-08-02 15:47:35] local.INFO: Packet analysis {"connection_id":146644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f8"} 
[2026-08-02 15:47:35] local.INFO: Extracted packet for processing {"connection_id":146644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f8"} 
[2026-08-02 15:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648848,"longitude_deg":75.655584,"latitude_deg":11.9648848,"altitude":75,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-08-02 15:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130417152001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267213810368512,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539294208,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785665711000,"timestamp_ms":1785665711000,"timestamp_seconds":1785665711,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f86b98"} 
[2026-08-02 15:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 15:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130417152001,"66":12341,"105":206,"83":41984,"24":0,"16":10267213810368512,"45":1738459855539294208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130417152001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:47:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267213810368512,"km_value":10267213810368.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539294208,"description":"Unknown IO ID 45"} 
[2026-08-02 15:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130417152001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539294208}} 
[2026-08-02 15:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":146644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:47:35] local.INFO: GPS data processed {"connection_id":146644,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:47:35] local.INFO: Acknowledgment sent {"connection_id":146644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:47:37] local.INFO: TCP Data received {"connection_id":149204,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fa4440012d86c2c005e208580006014c2b..."} 
[2026-08-02 15:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fa4440012d86c2c005e208580006014c2b..."} 
[2026-08-02 15:47:37] local.INFO: Processing buffer {"connection_id":149204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fa4440012d86c2c005e208580006014c2b..."} 
[2026-08-02 15:47:37] local.INFO: Packet analysis {"connection_id":149204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:47:37] local.INFO: Extracted packet for processing {"connection_id":149204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763806400,"raw_latitude":98699352,"longitude_deg":76.38064,"latitude_deg":9.8699352,"altitude":6,"angle":332,"satellites":43,"speed":48,"hex_longitude":"2d86c2c0","hex_latitude":"05e20858","is_valid_coordinates":true} 
[2026-08-02 15:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130451200001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113986572315000832,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8732127808485615616,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785665832000,"timestamp_ms":1785665832000,"timestamp_seconds":1785665832,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fa4440"} 
[2026-08-02 15:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-02 15:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130451200001,"66":13319,"101":206,"88":20224,"24":48,"16":113986572315000832,"45":-8732127808485615616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-08-02 15:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130451200001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:47:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 15:47:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113986572315000832,"km_value":113986572315000.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8732127808485615616,"description":"Unknown IO ID 45"} 
[2026-08-02 15:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130451200001,"power":13319,"unknown_101":206,"unknown_88":20224,"ignition":48,"odometer":null,"unknown_45":-8732127808485615616}} 
[2026-08-02 15:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":149204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:47:37] local.INFO: GPS data processed {"connection_id":149204,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:47:37] local.INFO: Acknowledgment sent {"connection_id":149204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:47:39] local.INFO: TCP Data received {"connection_id":149204,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fa4440012d86c2c005e208580006014c2b..."} 
[2026-08-02 15:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fa4440012d86c2c005e208580006014c2b..."} 
[2026-08-02 15:47:39] local.INFO: Processing buffer {"connection_id":149204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fa4440012d86c2c005e208580006014c2b..."} 
[2026-08-02 15:47:39] local.INFO: Packet analysis {"connection_id":149204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:47:39] local.INFO: Extracted packet for processing {"connection_id":149204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:47:39] local.INFO: GPS Element Parsed {"raw_longitude":763806400,"raw_latitude":98699352,"longitude_deg":76.38064,"latitude_deg":9.8699352,"altitude":6,"angle":332,"satellites":43,"speed":48,"hex_longitude":"2d86c2c0","hex_latitude":"05e20858","is_valid_coordinates":true} 
[2026-08-02 15:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130452992001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113986572315000832,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8736209195645773824,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785665832000,"timestamp_ms":1785665832000,"timestamp_seconds":1785665832,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fa4440"} 
[2026-08-02 15:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":12032,"corrected_to":0} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3254358160,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2263269381,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":193,"raw_value":4191096833,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":225,"raw_value":833165956856227840,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":845545678,"corrected_to":0} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3489738118,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376754,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4095016960,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3778097152,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57826679477655631,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.WARNING: Large IO value detected {"io_id":249,"raw_value":7039127512629805061,"note":"Value kept but may cause issues"} 
[2026-08-02 15:47:39] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,101,88,24,241,157,16,246,159,40,45,64,231,6,38,10,66,245,13,128,195,7,41,238,1,240,12,227,244,193,225,4,113,205,48,175,237,208,239,52,102,2,148,5,42,62,249],"length":527,"final_offset":657,"validated_count":47,"validation_warnings":[{"io_id":246,"original":12032,"validated":0},{"io_id":205,"original":845545678,"validated":0}]} 
[2026-08-02 15:47:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432710786774728704,"timestamp_seconds":432710786774728.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130452992001,"66":13319,"101":206,"88":20224,"24":48,"16":113986572315000832,"45":-8736209195645773824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-08-02 15:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130452992001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:47:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 15:47:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113986572315000832,"km_value":113986572315000.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8736209195645773824,"description":"Unknown IO ID 45"} 
[2026-08-02 15:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130452992001,"power":13319,"unknown_101":206,"unknown_88":20224,"ignition":48,"odometer":null,"unknown_45":-8736209195645773824}} 
[2026-08-02 15:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":149204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:47:39] local.INFO: GPS data processed {"connection_id":149204,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:47:39] local.INFO: Acknowledgment sent {"connection_id":149204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:47:58] local.INFO: TCP Data received {"connection_id":146645,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:47:58] local.INFO: Processing buffer {"connection_id":146645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:47:58] local.INFO: IMEI packet received {"connection_id":146645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":146645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:48:04] local.INFO: TCP Data received {"connection_id":146645,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:48:04] local.INFO: Processing buffer {"connection_id":146645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:48:04] local.INFO: IMEI packet received {"connection_id":146645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":146645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:48:06] local.INFO: TCP Data received {"connection_id":146645,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f8bda0012d181e800721b068004c00ce2b..."} 
[2026-08-02 15:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f8bda0012d181e800721b068004c00ce2b..."} 
[2026-08-02 15:48:06] local.INFO: Processing buffer {"connection_id":146645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f8bda0012d181e800721b068004c00ce2b..."} 
[2026-08-02 15:48:06] local.INFO: Packet analysis {"connection_id":146645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f8"} 
[2026-08-02 15:48:06] local.INFO: Extracted packet for processing {"connection_id":146645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f8"} 
[2026-08-02 15:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 15:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130422016001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539294208,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785665732000,"timestamp_ms":1785665732000,"timestamp_seconds":1785665732,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f8bda0"} 
[2026-08-02 15:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 15:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130422016001,"66":12374,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1738459855539294208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130422016001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:48:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539294208,"description":"Unknown IO ID 45"} 
[2026-08-02 15:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130422016001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539294208}} 
[2026-08-02 15:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":146645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:48:06] local.INFO: GPS data processed {"connection_id":146645,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:48:06] local.INFO: Acknowledgment sent {"connection_id":146645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:48:20] local.INFO: TCP Data received {"connection_id":149204,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fa6b50012d86b08005e22a000007014b2a..."} 
[2026-08-02 15:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fa6b50012d86b08005e22a000007014b2a..."} 
[2026-08-02 15:48:20] local.INFO: Processing buffer {"connection_id":149204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fa6b50012d86b08005e22a000007014b2a..."} 
[2026-08-02 15:48:20] local.INFO: Packet analysis {"connection_id":149204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:48:20] local.INFO: Extracted packet for processing {"connection_id":149204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:48:20] local.INFO: GPS Element Parsed {"raw_longitude":763801728,"raw_latitude":98707968,"longitude_deg":76.3801728,"latitude_deg":9.8707968,"altitude":7,"angle":331,"satellites":42,"speed":37,"hex_longitude":"2d86b080","hex_latitude":"05e22a00","is_valid_coordinates":true} 
[2026-08-02 15:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130452992001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987044761403392,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8736209195645773824,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785665842000,"timestamp_ms":1785665842000,"timestamp_seconds":1785665842,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fa6b50"} 
[2026-08-02 15:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 15:48:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:20] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":12032,"corrected_to":0} 
[2026-08-02 15:48:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3254366160,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:20] local.WARNING: Large IO value detected {"io_id":193,"raw_value":4193144833,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:20] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3544332936828298752,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":845545678,"corrected_to":0} 
[2026-08-02 15:48:20] local.WARNING: Large IO value detected {"io_id":230,"raw_value":3221610872,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:20] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4102094848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3780366336,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:20] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57757783907260495,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:20] local.WARNING: Large IO value detected {"io_id":249,"raw_value":-8029916840552415227,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:20] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,101,88,24,241,157,16,246,159,68,45,192,8,6,43,10,66,40,64,231,38,245,13,128,1,240,227,193,225,4,113,205,48,207,230,152,41,239,53,102,2,148,5,7,214,249],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":246,"original":12032,"validated":0},{"io_id":205,"original":845545678,"validated":0}]} 
[2026-08-02 15:48:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432710786774728704,"timestamp_seconds":432710786774728.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130452992001,"66":13624,"103":206,"88":20224,"24":37,"16":113987044761403392,"45":-8736209195645773824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,88,24,16,45]} 
[2026-08-02 15:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130452992001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:48:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 15:48:20] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987044761403392,"km_value":113987044761403.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8736209195645773824,"description":"Unknown IO ID 45"} 
[2026-08-02 15:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130452992001,"power":13624,"unknown_103":206,"unknown_88":20224,"ignition":37,"odometer":null,"unknown_45":-8736209195645773824}} 
[2026-08-02 15:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":149204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:48:20] local.INFO: GPS data processed {"connection_id":149204,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:48:20] local.INFO: Acknowledgment sent {"connection_id":149204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:48:28] local.INFO: TCP Data received {"connection_id":146646,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:48:28] local.INFO: Processing buffer {"connection_id":146646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:48:28] local.INFO: IMEI packet received {"connection_id":146646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":146646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:48:28] local.INFO: TCP Data received {"connection_id":146646,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:48:28] local.INFO: Processing buffer {"connection_id":146646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:48:28] local.INFO: IMEI packet received {"connection_id":146646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":146646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:48:33] local.INFO: TCP Data received {"connection_id":146646,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:48:33] local.INFO: Processing buffer {"connection_id":146646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:48:33] local.INFO: IMEI packet received {"connection_id":146646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":146646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:48:34] local.INFO: TCP Data received {"connection_id":146646,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fa9260012d869f0005e24ad80007014b28..."} 
[2026-08-02 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fa9260012d869f0005e24ad80007014b28..."} 
[2026-08-02 15:48:34] local.INFO: Processing buffer {"connection_id":146646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fa9260012d869f0005e24ad80007014b28..."} 
[2026-08-02 15:48:34] local.INFO: Packet analysis {"connection_id":146646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:48:34] local.INFO: Extracted packet for processing {"connection_id":146646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763797248,"raw_latitude":98716376,"longitude_deg":76.3797248,"latitude_deg":9.8716376,"altitude":7,"angle":331,"satellites":40,"speed":37,"hex_longitude":"2d869f00","hex_latitude":"05e24ad8","is_valid_coordinates":true} 
[2026-08-02 15:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130455552001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987508617871360,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8741346113968537600,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785665852000,"timestamp_ms":1785665852000,"timestamp_seconds":1785665852,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fa9260"} 
[2026-08-02 15:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-02 15:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:48: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-08-02 15:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130455552001,"66":13624,"103":206,"88":20224,"24":37,"16":113987508617871360,"45":-8741346113968537600},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,88,24,16,45]} 
[2026-08-02 15:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130455552001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:48:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 15:48:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987508617871360,"km_value":113987508617871.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8741346113968537600,"description":"Unknown IO ID 45"} 
[2026-08-02 15:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130455552001,"power":13624,"unknown_103":206,"unknown_88":20224,"ignition":37,"odometer":null,"unknown_45":-8741346113968537600}} 
[2026-08-02 15:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":146646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:48:34] local.INFO: GPS data processed {"connection_id":146646,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:48:34] local.INFO: Acknowledgment sent {"connection_id":146646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:48:34] local.INFO: TCP Data received {"connection_id":146647,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:48:34] local.INFO: Processing buffer {"connection_id":146647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:48:34] local.INFO: IMEI packet received {"connection_id":146647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":146647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:48:35] local.INFO: TCP Data received {"connection_id":146646,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fab588012d868cc005e26cc80007014b27..."} 
[2026-08-02 15:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fab588012d868cc005e26cc80007014b27..."} 
[2026-08-02 15:48:35] local.INFO: Processing buffer {"connection_id":146646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fab588012d868cc005e26cc80007014b27..."} 
[2026-08-02 15:48:35] local.INFO: Packet analysis {"connection_id":146646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:48:35] local.INFO: Extracted packet for processing {"connection_id":146646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:48:35] local.INFO: GPS Element Parsed {"raw_longitude":763792576,"raw_latitude":98725064,"longitude_deg":76.3792576,"latitude_deg":9.8725064,"altitude":7,"angle":331,"satellites":39,"speed":46,"hex_longitude":"2d868cc0","hex_latitude":"05e26cc8","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130458112001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987985359241216,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8746271926058821632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785665861000,"timestamp_ms":1785665861000,"timestamp_seconds":1785665861,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fab588"} 
[2026-08-02 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-08-02 15:48: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-08-02 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-02 15:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130458112001,"66":13624,"110":206,"88":20224,"24":46,"16":113987985359241216,"45":-8746271926058821632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,88,24,16,45]} 
[2026-08-02 15:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130458112001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:48:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 15:48:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987985359241216,"km_value":113987985359241.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8746271926058821632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130458112001,"power":13624,"unknown_110":206,"unknown_88":20224,"ignition":46,"odometer":null,"unknown_45":-8746271926058821632}} 
[2026-08-02 15:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":146646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:48:35] local.INFO: GPS data processed {"connection_id":146646,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:48:35] local.INFO: Acknowledgment sent {"connection_id":146646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:48:35] local.INFO: TCP Data received {"connection_id":146647,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f71f90012cc330c007685958005800c52a..."} 
[2026-08-02 15:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f71f90012cc330c007685958005800c52a..."} 
[2026-08-02 15:48:35] local.INFO: Processing buffer {"connection_id":146647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f71f90012cc330c007685958005800c52a..."} 
[2026-08-02 15:48:35] local.INFO: Packet analysis {"connection_id":146647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f7"} 
[2026-08-02 15:48:35] local.INFO: Extracted packet for processing {"connection_id":146647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f7"} 
[2026-08-02 15:48:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130323200001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785665626000,"timestamp_ms":1785665626000,"timestamp_seconds":1785665626,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f71f90"} 
[2026-08-02 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-08-02 15:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130323200001,"66":25473,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130323200001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:48:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:48:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:48:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130323200001,"power":25473,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":146647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:48:35] local.INFO: GPS data processed {"connection_id":146647,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:48:35] local.INFO: Acknowledgment sent {"connection_id":146647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:48:37] local.INFO: TCP Data received {"connection_id":146645,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f90fa8012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f90fa8012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:48:37] local.INFO: Processing buffer {"connection_id":146645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f90fa8012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:48:37] local.INFO: Packet analysis {"connection_id":146645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f9"} 
[2026-08-02 15:48:37] local.INFO: Extracted packet for processing {"connection_id":146645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f9"} 
[2026-08-02 15:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 15:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130427392001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785665753000,"timestamp_ms":1785665753000,"timestamp_seconds":1785665753,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f90fa8"} 
[2026-08-02 15:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 15:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130427392001,"66":12341,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130427392001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:48:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130427392001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":146645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:48:37] local.INFO: GPS data processed {"connection_id":146645,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:48:37] local.INFO: Acknowledgment sent {"connection_id":146645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:48:57] local.INFO: TCP Data received {"connection_id":147899,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:48:57] local.INFO: Processing buffer {"connection_id":147899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:48:57] local.INFO: IMEI packet received {"connection_id":147899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":147899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:48:58] local.INFO: TCP Data received {"connection_id":147899,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:48:58] local.INFO: Processing buffer {"connection_id":147899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:48:58] local.INFO: IMEI packet received {"connection_id":147899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":147899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:49:04] local.INFO: TCP Data received {"connection_id":147899,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:49:04] local.INFO: Processing buffer {"connection_id":147899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:49:04] local.INFO: IMEI packet received {"connection_id":147899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":147899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:49:05] local.INFO: TCP Data received {"connection_id":147899,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f961b0012d181e800721b068004c00ce2b..."} 
[2026-08-02 15:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f961b0012d181e800721b068004c00ce2b..."} 
[2026-08-02 15:49:05] local.INFO: Processing buffer {"connection_id":147899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f961b0012d181e800721b068004c00ce2b..."} 
[2026-08-02 15:49:05] local.INFO: Packet analysis {"connection_id":147899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f9"} 
[2026-08-02 15:49:05] local.INFO: Extracted packet for processing {"connection_id":147899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f9"} 
[2026-08-02 15:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130432768001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785665774000,"timestamp_ms":1785665774000,"timestamp_seconds":1785665774,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f961b0"} 
[2026-08-02 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-08-02 15:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 15:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130432768001,"66":12363,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130432768001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:49:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130432768001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":147899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:49:05] local.INFO: GPS data processed {"connection_id":147899,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:49:05] local.INFO: Acknowledgment sent {"connection_id":147899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:49:06] local.INFO: TCP Data received {"connection_id":146646,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fad4c8012d867bc005e28d100008014c2a..."} 
[2026-08-02 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fad4c8012d867bc005e28d100008014c2a..."} 
[2026-08-02 15:49:06] local.INFO: Processing buffer {"connection_id":146646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fad4c8012d867bc005e28d100008014c2a..."} 
[2026-08-02 15:49:06] local.INFO: Packet analysis {"connection_id":146646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:49:06] local.INFO: Extracted packet for processing {"connection_id":146646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763788224,"raw_latitude":98733328,"longitude_deg":76.3788224,"latitude_deg":9.8733328,"altitude":8,"angle":332,"satellites":42,"speed":49,"hex_longitude":"2d867bc0","hex_latitude":"05e28d10","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130460416001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113988436330807296,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8751408844381566976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785665869000,"timestamp_ms":1785665869000,"timestamp_seconds":1785665869,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fad4c8"} 
[2026-08-02 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-08-02 15:49: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-08-02 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-02 15:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:49: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-08-02 15:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130460416001,"66":13472,"110":206,"88":20224,"24":49,"16":113988436330807296,"45":-8751408844381566976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,88,24,16,45]} 
[2026-08-02 15:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130460416001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:49:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 15:49:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113988436330807296,"km_value":113988436330807.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8751408844381566976,"description":"Unknown IO ID 45"} 
[2026-08-02 15:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130460416001,"power":13472,"unknown_110":206,"unknown_88":20224,"ignition":49,"odometer":null,"unknown_45":-8751408844381566976}} 
[2026-08-02 15:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":146646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:49:06] local.INFO: GPS data processed {"connection_id":146646,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:49:06] local.INFO: Acknowledgment sent {"connection_id":146646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:49:07] local.INFO: TCP Data received {"connection_id":146647,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f71f90012cc330c007685958005800c52a..."} 
[2026-08-02 15:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f71f90012cc330c007685958005800c52a..."} 
[2026-08-02 15:49:07] local.INFO: Processing buffer {"connection_id":146647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f71f90012cc330c007685958005800c52a..."} 
[2026-08-02 15:49:07] local.INFO: Packet analysis {"connection_id":146647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f7"} 
[2026-08-02 15:49:07] local.INFO: Extracted packet for processing {"connection_id":146647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f7"} 
[2026-08-02 15:49:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130323200001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785665626000,"timestamp_ms":1785665626000,"timestamp_seconds":1785665626,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f71f90"} 
[2026-08-02 15:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:49: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-08-02 15:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 15:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130323200001,"66":25473,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130323200001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:49:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:49:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:49:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130323200001,"power":25473,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":146647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:49:07] local.INFO: GPS data processed {"connection_id":146647,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:49:07] local.INFO: Acknowledgment sent {"connection_id":146647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:49:25] local.INFO: TCP Data received {"connection_id":149205,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:49:25] local.INFO: Processing buffer {"connection_id":149205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:49:25] local.INFO: IMEI packet received {"connection_id":149205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":149205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:49:29] local.INFO: TCP Data received {"connection_id":149205,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:49:29] local.INFO: Processing buffer {"connection_id":149205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:49:29] local.INFO: IMEI packet received {"connection_id":149205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":149205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:49:36] local.INFO: TCP Data received {"connection_id":147899,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1f9b3b8012d181e800721b068004c00ce2d..."} 
[2026-08-02 15:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1f9b3b8012d181e800721b068004c00ce2d..."} 
[2026-08-02 15:49:36] local.INFO: Processing buffer {"connection_id":147899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1f9b3b8012d181e800721b068004c00ce2d..."} 
[2026-08-02 15:49:36] local.INFO: Packet analysis {"connection_id":147899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1f9"} 
[2026-08-02 15:49:36] local.INFO: Extracted packet for processing {"connection_id":147899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1f9"} 
[2026-08-02 15:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130438144001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785665795000,"timestamp_ms":1785665795000,"timestamp_seconds":1785665795,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1f9b3b8"} 
[2026-08-02 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-08-02 15:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 15:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130438144001,"66":12341,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130438144001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:49:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130438144001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":147899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:49:36] local.INFO: GPS data processed {"connection_id":147899,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:49:36] local.INFO: Acknowledgment sent {"connection_id":147899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:49:43] local.INFO: TCP Data received {"connection_id":149205,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:49:43] local.INFO: Processing buffer {"connection_id":149205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:49:43] local.INFO: IMEI packet received {"connection_id":149205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":149205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:49:44] local.INFO: TCP Data received {"connection_id":149206,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:49:44] local.INFO: Processing buffer {"connection_id":149206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:49:44] local.INFO: IMEI packet received {"connection_id":149206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":149206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:49:45] local.INFO: TCP Data received {"connection_id":149205,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:49:45] local.INFO: Processing buffer {"connection_id":149205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:49:45] local.INFO: Packet analysis {"connection_id":149205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:49:45] local.INFO: Extracted packet for processing {"connection_id":149205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:49:45] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130400256001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785665927000,"timestamp_ms":1785665927000,"timestamp_seconds":1785665927,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fbb758"} 
[2026-08-02 15:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 15:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130400256001,"66":25321,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130400256001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:49:45] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:49:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:49:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130400256001,"power":25321,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":149205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:49:45] local.INFO: GPS data processed {"connection_id":149205,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:49:45] local.INFO: Acknowledgment sent {"connection_id":149205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:49:46] local.INFO: TCP Data received {"connection_id":149205,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:49:46] local.INFO: Processing buffer {"connection_id":149205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:49:46] local.INFO: Packet analysis {"connection_id":149205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:49:46] local.INFO: Extracted packet for processing {"connection_id":149205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:49:46] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130400256001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785665927000,"timestamp_ms":1785665927000,"timestamp_seconds":1785665927,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fbb758"} 
[2026-08-02 15:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 15:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130400256001,"66":25321,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130400256001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:49:46] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:49:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:49:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130400256001,"power":25321,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":149205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:49:46] local.INFO: GPS data processed {"connection_id":149205,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:49:46] local.INFO: Acknowledgment sent {"connection_id":149205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:49:50] local.INFO: TCP Data received {"connection_id":149206,"ip":"42.106.6.32","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 15:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149206,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 15:49:50] local.INFO: Processing buffer {"connection_id":149206,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 15:49:50] local.INFO: IMEI packet received {"connection_id":149206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":149206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:49:58] local.INFO: TCP Data received {"connection_id":146865,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:49:58] local.INFO: Processing buffer {"connection_id":146865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:49:58] local.INFO: IMEI packet received {"connection_id":146865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":146865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:50:00] local.INFO: TCP Data received {"connection_id":146865,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:50:00] local.INFO: Processing buffer {"connection_id":146865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:50:00] local.INFO: IMEI packet received {"connection_id":146865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":146865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:50:11] local.INFO: TCP Data received {"connection_id":146865,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:50:11] local.INFO: Processing buffer {"connection_id":146865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:50:11] local.INFO: IMEI packet received {"connection_id":146865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":146865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:50:12] local.INFO: TCP Data received {"connection_id":146865,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fa05c0012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fa05c0012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:50:12] local.INFO: Processing buffer {"connection_id":146865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fa05c0012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:50:12] local.INFO: Packet analysis {"connection_id":146865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:50:12] local.INFO: Extracted packet for processing {"connection_id":146865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 15:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130443520001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785665816000,"timestamp_ms":1785665816000,"timestamp_seconds":1785665816,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fa05c0"} 
[2026-08-02 15:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 15:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130443520001,"66":12341,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130443520001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:50:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:50:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130443520001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":146865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:50:12] local.INFO: GPS data processed {"connection_id":146865,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:50:12] local.INFO: Acknowledgment sent {"connection_id":146865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:50:24] local.INFO: TCP Data received {"connection_id":149207,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:50:24] local.INFO: Processing buffer {"connection_id":149207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:50:24] local.INFO: IMEI packet received {"connection_id":149207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":149207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:50:29] local.INFO: TCP Data received {"connection_id":149207,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:50:29] local.INFO: Processing buffer {"connection_id":149207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:50:29] local.INFO: IMEI packet received {"connection_id":149207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":149207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:50:35] local.INFO: TCP Data received {"connection_id":149207,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:50:35] local.INFO: Processing buffer {"connection_id":149207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:50:35] local.INFO: Packet analysis {"connection_id":149207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:50:35] local.INFO: Extracted packet for processing {"connection_id":149207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:50:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130400256001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:50:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785665927000,"timestamp_ms":1785665927000,"timestamp_seconds":1785665927,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fbb758"} 
[2026-08-02 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-08-02 15:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 15:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130400256001,"66":25321,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130400256001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:50:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:50:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:50:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130400256001,"power":25321,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":149207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:50:35] local.INFO: GPS data processed {"connection_id":149207,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:50:35] local.INFO: Acknowledgment sent {"connection_id":149207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:50:43] local.INFO: TCP Data received {"connection_id":146865,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fa57c8012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fa57c8012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:50:43] local.INFO: Processing buffer {"connection_id":146865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fa57c8012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:50:43] local.INFO: Packet analysis {"connection_id":146865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:50:43] local.INFO: Extracted packet for processing {"connection_id":146865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:50:43] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 15:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130448896001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785665837000,"timestamp_ms":1785665837000,"timestamp_seconds":1785665837,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fa57c8"} 
[2026-08-02 15:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 15:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130448896001,"66":12287,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130448896001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:50:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:50:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130448896001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":146865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:50:43] local.INFO: GPS data processed {"connection_id":146865,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:50:43] local.INFO: Acknowledgment sent {"connection_id":146865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:50:58] local.INFO: TCP Data received {"connection_id":146866,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:50:58] local.INFO: Processing buffer {"connection_id":146866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:50:58] local.INFO: IMEI packet received {"connection_id":146866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":146866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:51:04] local.INFO: TCP Data received {"connection_id":146866,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:51:04] local.INFO: Processing buffer {"connection_id":146866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:51:04] local.INFO: IMEI packet received {"connection_id":146866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":146866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:51:05] local.INFO: TCP Data received {"connection_id":146866,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1faa9d0012d181e800721b068004c00ce2d..."} 
[2026-08-02 15:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1faa9d0012d181e800721b068004c00ce2d..."} 
[2026-08-02 15:51:05] local.INFO: Processing buffer {"connection_id":146866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1faa9d0012d181e800721b068004c00ce2d..."} 
[2026-08-02 15:51:05] local.INFO: Packet analysis {"connection_id":146866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:51:05] local.INFO: Extracted packet for processing {"connection_id":146866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130454272001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785665858000,"timestamp_ms":1785665858000,"timestamp_seconds":1785665858,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1faa9d0"} 
[2026-08-02 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-08-02 15:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 15:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130454272001,"66":12319,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130454272001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:51:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130454272001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":146866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:51:05] local.INFO: GPS data processed {"connection_id":146866,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:51:05] local.INFO: Acknowledgment sent {"connection_id":146866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:51:07] local.INFO: TCP Data received {"connection_id":149207,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:51:07] local.INFO: Processing buffer {"connection_id":149207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:51:07] local.INFO: Packet analysis {"connection_id":149207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:51:07] local.INFO: Extracted packet for processing {"connection_id":149207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:51:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130400256001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:51:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785665927000,"timestamp_ms":1785665927000,"timestamp_seconds":1785665927,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fbb758"} 
[2026-08-02 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-08-02 15:51: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-08-02 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 15:51: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-08-02 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-08-02 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-08-02 15:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130400256001,"66":25321,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130400256001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:51:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:51:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:51:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130400256001,"power":25321,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":149207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:51:07] local.INFO: GPS data processed {"connection_id":149207,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:51:07] local.INFO: Acknowledgment sent {"connection_id":149207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:51:24] local.INFO: TCP Data received {"connection_id":146867,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:51:24] local.INFO: Processing buffer {"connection_id":146867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:51:24] local.INFO: IMEI packet received {"connection_id":146867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":146867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:51:29] local.INFO: TCP Data received {"connection_id":146867,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:51:29] local.INFO: Processing buffer {"connection_id":146867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:51:29] local.INFO: IMEI packet received {"connection_id":146867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":146867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:51:30] local.INFO: TCP Data received {"connection_id":146867,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:51:30] local.INFO: Processing buffer {"connection_id":146867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:51:30] local.INFO: Packet analysis {"connection_id":146867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:51:30] local.INFO: Extracted packet for processing {"connection_id":146867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:51:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130400256001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785665927000,"timestamp_ms":1785665927000,"timestamp_seconds":1785665927,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fbb758"} 
[2026-08-02 15:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 15:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130400256001,"66":25321,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130400256001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:51:30] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:51:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130400256001,"power":25321,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":146867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:51:30] local.INFO: GPS data processed {"connection_id":146867,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:51:30] local.INFO: Acknowledgment sent {"connection_id":146867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:51:36] local.INFO: TCP Data received {"connection_id":146866,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fafbd8012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fafbd8012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:51:36] local.INFO: Processing buffer {"connection_id":146866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fafbd8012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:51:36] local.INFO: Packet analysis {"connection_id":146866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:51:36] local.INFO: Extracted packet for processing {"connection_id":146866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fa"} 
[2026-08-02 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130459648001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785665879000,"timestamp_ms":1785665879000,"timestamp_seconds":1785665879,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fafbd8"} 
[2026-08-02 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-08-02 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 15:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 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-08-02 15:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130459648001,"66":12298,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130459648001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:51:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130459648001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":146866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:51:36] local.INFO: GPS data processed {"connection_id":146866,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:51:36] local.INFO: Acknowledgment sent {"connection_id":146866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:52:03] local.INFO: TCP Data received {"connection_id":147901,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:52:03] local.INFO: Processing buffer {"connection_id":147901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:52:03] local.INFO: IMEI packet received {"connection_id":147901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":147901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:52:06] local.INFO: TCP Data received {"connection_id":146867,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:52:06] local.INFO: Processing buffer {"connection_id":146867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:52:06] local.INFO: Packet analysis {"connection_id":146867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:52:06] local.INFO: Extracted packet for processing {"connection_id":146867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:52:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130400256001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785665927000,"timestamp_ms":1785665927000,"timestamp_seconds":1785665927,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fbb758"} 
[2026-08-02 15:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:52: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-08-02 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 15:52: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-08-02 15:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130400256001,"66":25321,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130400256001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:52:06] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:52:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:52:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130400256001,"power":25321,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":146867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:52:06] local.INFO: GPS data processed {"connection_id":146867,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:52:06] local.INFO: Acknowledgment sent {"connection_id":146867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:52:07] local.INFO: TCP Data received {"connection_id":147901,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:52:07] local.INFO: Processing buffer {"connection_id":147901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:52:07] local.INFO: IMEI packet received {"connection_id":147901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":147901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:52:08] local.INFO: TCP Data received {"connection_id":147901,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fb4de0012d181e800721b068004c00ce2a..."} 
[2026-08-02 15:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fb4de0012d181e800721b068004c00ce2a..."} 
[2026-08-02 15:52:08] local.INFO: Processing buffer {"connection_id":147901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fb4de0012d181e800721b068004c00ce2a..."} 
[2026-08-02 15:52:08] local.INFO: Packet analysis {"connection_id":147901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:52:08] local.INFO: Extracted packet for processing {"connection_id":147901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 15:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130465024001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785665900000,"timestamp_ms":1785665900000,"timestamp_seconds":1785665900,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fb4de0"} 
[2026-08-02 15:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":122,"raw_value":144115188075855873,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4469614135253067746,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885793225015502,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":76,"raw_value":58032223714017280,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832559,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569839767758,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":193,"raw_value":4189304833,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2959605836,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951024,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:08] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,122,159,169,45,128,176,76,10,66,87,44,5,1,240,53,227,193,33,4,113,205,97,30,104,43,239,48,2,36,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 15:52:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476603835256406016,"timestamp_seconds":5476603835256406.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130465024001,"66":12319,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130465024001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:52:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130465024001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":147901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:52:08] local.INFO: GPS data processed {"connection_id":147901,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:52:08] local.INFO: Acknowledgment sent {"connection_id":147901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:52:09] local.INFO: TCP Data received {"connection_id":147901,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fb9fe8012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fb9fe8012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:52:09] local.INFO: Processing buffer {"connection_id":147901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fb9fe8012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:52:09] local.INFO: Packet analysis {"connection_id":147901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:52:09] local.INFO: Extracted packet for processing {"connection_id":147901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:52:09] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 15:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130470400001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785665921000,"timestamp_ms":1785665921000,"timestamp_seconds":1785665921,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fb9fe8"} 
[2026-08-02 15:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 15:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130470400001,"66":12298,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130470400001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:52:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:52:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130470400001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":147901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:52:09] local.INFO: GPS data processed {"connection_id":147901,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:52:09] local.INFO: Acknowledgment sent {"connection_id":147901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:52:27] local.INFO: TCP Data received {"connection_id":146649,"ip":"192.161.49.2","data_length":211,"data_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-02 15:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146649,"packet_length":211,"packet_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-02 15:52:27] local.INFO: Processing buffer {"connection_id":146649,"buffer_length":211,"buffer_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-02 15:52:27] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":146649,"buffer_length":211,"first_bytes_hex":"474554202f2e2e2532462e2e2532462e"} 
[2026-08-02 15:52:29] local.INFO: TCP Data received {"connection_id":146650,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:52:29] local.INFO: Processing buffer {"connection_id":146650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:52:29] local.INFO: IMEI packet received {"connection_id":146650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":146650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:52:34] local.INFO: TCP Data received {"connection_id":146650,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:52:34] local.INFO: Processing buffer {"connection_id":146650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:52:34] local.INFO: IMEI packet received {"connection_id":146650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":146650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:52:40] local.INFO: TCP Data received {"connection_id":147901,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fbf1f0012d181e800721b068004c00ce2d..."} 
[2026-08-02 15:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fbf1f0012d181e800721b068004c00ce2d..."} 
[2026-08-02 15:52:40] local.INFO: Processing buffer {"connection_id":147901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fbf1f0012d181e800721b068004c00ce2d..."} 
[2026-08-02 15:52:40] local.INFO: Packet analysis {"connection_id":147901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:52:40] local.INFO: Extracted packet for processing {"connection_id":147901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:52:40] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 15:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130475776001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785665942000,"timestamp_ms":1785665942000,"timestamp_seconds":1785665942,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fbf1f0"} 
[2026-08-02 15:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":122,"raw_value":144115188075855873,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4469433746626635746,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885793225015502,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":76,"raw_value":58033323225645056,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832559,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569839767758,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":193,"raw_value":4200056833,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2959605836,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951024,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:40] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,122,159,77,45,128,176,76,42,10,66,251,44,169,1,240,31,227,193,33,4,113,205,5,30,104,239,48,2,36,7,43],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 15:52:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476603835256406016,"timestamp_seconds":5476603835256406.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130475776001,"66":12298,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130475776001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:52:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:52:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130475776001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":147901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:52:40] local.INFO: GPS data processed {"connection_id":147901,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:52:40] local.INFO: Acknowledgment sent {"connection_id":147901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:52:49] local.INFO: TCP Data received {"connection_id":146650,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:52:49] local.INFO: Processing buffer {"connection_id":146650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:52:49] local.INFO: Packet analysis {"connection_id":146650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:52:49] local.INFO: Extracted packet for processing {"connection_id":146650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:52:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130400256001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785665927000,"timestamp_ms":1785665927000,"timestamp_seconds":1785665927,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fbb758"} 
[2026-08-02 15:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:52: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-08-02 15:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 15:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130400256001,"66":25321,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130400256001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:52:49] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:52:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:52:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130400256001,"power":25321,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":146650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:52:49] local.INFO: GPS data processed {"connection_id":146650,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:52:49] local.INFO: Acknowledgment sent {"connection_id":146650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:52:59] local.INFO: TCP Data received {"connection_id":147902,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:52:59] local.INFO: Processing buffer {"connection_id":147902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:52:59] local.INFO: IMEI packet received {"connection_id":147902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":147902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:53:04] local.INFO: TCP Data received {"connection_id":147902,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:53:04] local.INFO: Processing buffer {"connection_id":147902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:53:04] local.INFO: IMEI packet received {"connection_id":147902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":147902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:53:04] local.INFO: TCP Data received {"connection_id":147902,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fc43f8012d181e800721b068004c00ce2e..."} 
[2026-08-02 15:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fc43f8012d181e800721b068004c00ce2e..."} 
[2026-08-02 15:53:04] local.INFO: Processing buffer {"connection_id":147902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fc43f8012d181e800721b068004c00ce2e..."} 
[2026-08-02 15:53:04] local.INFO: Packet analysis {"connection_id":147902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fc"} 
[2026-08-02 15:53:04] local.INFO: Extracted packet for processing {"connection_id":147902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fc"} 
[2026-08-02 15:53:04] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130481152001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53: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-08-02 15:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785665963000,"timestamp_ms":1785665963000,"timestamp_seconds":1785665963,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fc43f8"} 
[2026-08-02 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-08-02 15:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":122,"raw_value":144115188075855873,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4469343552313419746,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885793225015502,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":76,"raw_value":58032223714017280,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832559,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569839767758,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":193,"raw_value":4205432833,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2959605836,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951024,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:04] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,122,159,45,128,176,76,44,10,66,77,42,251,1,240,227,193,33,4,113,205,87,30,104,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 15:53:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476603839551373312,"timestamp_seconds":5476603839551373.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 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-08-02 15:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130481152001,"66":12287,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130481152001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:53:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130481152001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":147902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:53:05] local.INFO: GPS data processed {"connection_id":147902,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:53:05] local.INFO: Acknowledgment sent {"connection_id":147902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:53:24] local.INFO: TCP Data received {"connection_id":147903,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:53:24] local.INFO: Processing buffer {"connection_id":147903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:53:24] local.INFO: IMEI packet received {"connection_id":147903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":147903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:53:30] local.INFO: TCP Data received {"connection_id":147903,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:53:30] local.INFO: Processing buffer {"connection_id":147903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:53:30] local.INFO: IMEI packet received {"connection_id":147903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":147903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:53:36] local.INFO: TCP Data received {"connection_id":147902,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fc9600012d181e800721b068004c00ce2e..."} 
[2026-08-02 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fc9600012d181e800721b068004c00ce2e..."} 
[2026-08-02 15:53:36] local.INFO: Processing buffer {"connection_id":147902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fc9600012d181e800721b068004c00ce2e..."} 
[2026-08-02 15:53:36] local.INFO: Packet analysis {"connection_id":147902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fc"} 
[2026-08-02 15:53:36] local.INFO: Extracted packet for processing {"connection_id":147902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fc"} 
[2026-08-02 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130486528001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785665984000,"timestamp_ms":1785665984000,"timestamp_seconds":1785665984,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fc9600"} 
[2026-08-02 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-08-02 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 15:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130486528001,"66":12298,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130486528001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:53:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130486528001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":147902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:53:36] local.INFO: GPS data processed {"connection_id":147902,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:53:36] local.INFO: Acknowledgment sent {"connection_id":147902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:53:39] local.INFO: TCP Data received {"connection_id":147903,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:53:39] local.INFO: Processing buffer {"connection_id":147903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fbb758012cc330c007685958005800c52e..."} 
[2026-08-02 15:53:39] local.INFO: Packet analysis {"connection_id":147903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:53:39] local.INFO: Extracted packet for processing {"connection_id":147903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fb"} 
[2026-08-02 15:53:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130400256001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785665927000,"timestamp_ms":1785665927000,"timestamp_seconds":1785665927,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fbb758"} 
[2026-08-02 15:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:53: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-08-02 15:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 15:53: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-08-02 15:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130400256001,"66":25321,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130400256001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:53:39] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:53:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:53:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130400256001,"power":25321,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":147903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:53:39] local.INFO: GPS data processed {"connection_id":147903,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:53:39] local.INFO: Acknowledgment sent {"connection_id":147903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:53:59] local.INFO: TCP Data received {"connection_id":149209,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:53:59] local.INFO: Processing buffer {"connection_id":149209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:53:59] local.INFO: IMEI packet received {"connection_id":149209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":149209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:54:04] local.INFO: TCP Data received {"connection_id":149209,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:54:04] local.INFO: Processing buffer {"connection_id":149209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:54:04] local.INFO: IMEI packet received {"connection_id":149209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":149209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:54:04] local.INFO: TCP Data received {"connection_id":149209,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fce808012d181e800721b068004c00ce2e..."} 
[2026-08-02 15:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fce808012d181e800721b068004c00ce2e..."} 
[2026-08-02 15:54:04] local.INFO: Processing buffer {"connection_id":149209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fce808012d181e800721b068004c00ce2e..."} 
[2026-08-02 15:54:04] local.INFO: Packet analysis {"connection_id":149209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fc"} 
[2026-08-02 15:54:04] local.INFO: Extracted packet for processing {"connection_id":149209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fc"} 
[2026-08-02 15:54:04] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 15:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130491904001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54: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-08-02 15:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666005000,"timestamp_ms":1785666005000,"timestamp_seconds":1785666005,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fce808"} 
[2026-08-02 15:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":122,"raw_value":144115188075855873,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4469163163686987746,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885793225015502,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":76,"raw_value":58033323225645056,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832560,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120352133326,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":193,"raw_value":4216184833,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2959605836,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951024,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:04] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,122,159,67,45,128,176,76,46,10,66,1,240,227,193,33,4,113,205,251,30,104,44,239,48,2,36,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 15:54:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476603843846340608,"timestamp_seconds":5476603843846341.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130491904001,"66":12298,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130491904001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:54:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:54:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130491904001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":149209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:54:05] local.INFO: GPS data processed {"connection_id":149209,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:54:05] local.INFO: Acknowledgment sent {"connection_id":149209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:54:35] local.INFO: TCP Data received {"connection_id":149209,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fd3a10012d181e800721b068004c00ce2e..."} 
[2026-08-02 15:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fd3a10012d181e800721b068004c00ce2e..."} 
[2026-08-02 15:54:35] local.INFO: Processing buffer {"connection_id":149209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fd3a10012d181e800721b068004c00ce2e..."} 
[2026-08-02 15:54:35] local.INFO: Packet analysis {"connection_id":149209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fd"} 
[2026-08-02 15:54:35] local.INFO: Extracted packet for processing {"connection_id":149209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fd"} 
[2026-08-02 15:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 15:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130497280001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785666026000,"timestamp_ms":1785666026000,"timestamp_seconds":1785666026,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fd3a10"} 
[2026-08-02 15:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":122,"raw_value":144115188075855873,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4469072969373771746,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885793225015502,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":76,"raw_value":58032223714017280,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832560,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145841209550,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":193,"raw_value":4221560833,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2959605836,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951024,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:35] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,122,159,150,45,128,176,76,46,10,66,67,1,240,227,193,33,4,113,205,77,30,104,42,239,48,2,36,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 15:54:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476603843846340608,"timestamp_seconds":5476603843846341.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130497280001,"66":12265,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130497280001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:54:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130497280001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":149209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:54:35] local.INFO: GPS data processed {"connection_id":149209,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:54:35] local.INFO: Acknowledgment sent {"connection_id":149209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:54:36] local.INFO: TCP Data received {"connection_id":146868,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:54:36] local.INFO: Processing buffer {"connection_id":146868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:54:36] local.INFO: IMEI packet received {"connection_id":146868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":146868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:54:49] local.INFO: TCP Data received {"connection_id":146869,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:54:49] local.INFO: Processing buffer {"connection_id":146869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:54:49] local.INFO: IMEI packet received {"connection_id":146869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":146869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:54:51] local.INFO: TCP Data received {"connection_id":146869,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1fe9d88012d85c18005e48d98000201552c..."} 
[2026-08-02 15:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1fe9d88012d85c18005e48d98000201552c..."} 
[2026-08-02 15:54:51] local.INFO: Processing buffer {"connection_id":146869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1fe9d88012d85c18005e48d98000201552c..."} 
[2026-08-02 15:54:51] local.INFO: Packet analysis {"connection_id":146869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fe"} 
[2026-08-02 15:54:51] local.INFO: Extracted packet for processing {"connection_id":146869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fe"} 
[2026-08-02 15:54:51] local.INFO: GPS Element Parsed {"raw_longitude":763740544,"raw_latitude":98864536,"longitude_deg":76.3740544,"latitude_deg":9.8864536,"altitude":2,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d85c180","hex_latitude":"05e48d98","is_valid_coordinates":true} 
[2026-08-02 15:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130520576001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113995209494233088,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808618633362302976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785666117000,"timestamp_ms":1785666117000,"timestamp_seconds":1785666117,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1fe9d88"} 
[2026-08-02 15:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-02 15:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130520576001,"66":13428,"111":206,"88":20224,"24":0,"16":113995209494233088,"45":-8808618633362302976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,88,24,16,45]} 
[2026-08-02 15:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130520576001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:54:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-02 15:54:51] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113995209494233088,"km_value":113995209494233.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808618633362302976,"description":"Unknown IO ID 45"} 
[2026-08-02 15:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130520576001,"power":13428,"unknown_111":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8808618633362302976}} 
[2026-08-02 15:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":146869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:54:51] local.INFO: GPS data processed {"connection_id":146869,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:54:51] local.INFO: Acknowledgment sent {"connection_id":146869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:54:56] local.INFO: TCP Data received {"connection_id":146868,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:54:56] local.INFO: Processing buffer {"connection_id":146868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:54:56] local.INFO: IMEI packet received {"connection_id":146868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":146868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:54:57] local.INFO: TCP Data received {"connection_id":147905,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:54:57] local.INFO: Processing buffer {"connection_id":147905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:54:57] local.INFO: IMEI packet received {"connection_id":147905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":147905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:54:58] local.INFO: TCP Data received {"connection_id":147905,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:54:58] local.INFO: Processing buffer {"connection_id":147905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:54:58] local.INFO: IMEI packet received {"connection_id":147905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":147905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:55:00] local.INFO: TCP Data received {"connection_id":147905,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:55:00] local.INFO: Processing buffer {"connection_id":147905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:55:00] local.INFO: IMEI packet received {"connection_id":147905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":147905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:55:03] local.INFO: TCP Data received {"connection_id":146868,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:55:03] local.INFO: Processing buffer {"connection_id":146868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:55:03] local.INFO: Packet analysis {"connection_id":146868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:55:03] local.INFO: Extracted packet for processing {"connection_id":146868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:55:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130477312001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785666228000,"timestamp_ms":1785666228000,"timestamp_seconds":1785666228,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2004f20"} 
[2026-08-02 15:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 15:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130477312001,"66":25104,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130477312001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:55:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:55:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:55:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130477312001,"power":25104,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":146868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:55:03] local.INFO: GPS data processed {"connection_id":146868,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:55:03] local.INFO: Acknowledgment sent {"connection_id":146868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:55:04] local.INFO: TCP Data received {"connection_id":147905,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:55:04] local.INFO: Processing buffer {"connection_id":147905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:55:04] local.INFO: IMEI packet received {"connection_id":147905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":147905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:55:04] local.INFO: TCP Data received {"connection_id":146868,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:55:04] local.INFO: Processing buffer {"connection_id":146868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:55:04] local.INFO: Packet analysis {"connection_id":146868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:55:04] local.INFO: Extracted packet for processing {"connection_id":146868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:55:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130477312001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666228000,"timestamp_ms":1785666228000,"timestamp_seconds":1785666228,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2004f20"} 
[2026-08-02 15:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 15:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130477312001,"66":25104,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130477312001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:55:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:55:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:55:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130477312001,"power":25104,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":146868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:55:04] local.INFO: GPS data processed {"connection_id":146868,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:55:04] local.INFO: Acknowledgment sent {"connection_id":146868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:55:04] local.INFO: TCP Data received {"connection_id":147905,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc200c068012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc200c068012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:55:04] local.INFO: Processing buffer {"connection_id":147905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc200c068012d181e800721b068004c00ce2c..."} 
[2026-08-02 15:55:04] local.INFO: Packet analysis {"connection_id":147905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:55:04] local.INFO: Extracted packet for processing {"connection_id":147905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648360,"longitude_deg":75.6555392,"latitude_deg":11.964836,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b068","is_valid_coordinates":true} 
[2026-08-02 15:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130556416001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267248170106880,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55: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-08-02 15:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666257000,"timestamp_ms":1785666257000,"timestamp_seconds":1785666257,"priority":1,"record_length":96,"hex_timestamp":"0000019fc200c068"} 
[2026-08-02 15:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-02 15:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3254682160,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:04] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":20481,"corrected_to":0} 
[2026-08-02 15:55:04] local.WARNING: Large IO value detected {"io_id":193,"raw_value":4280696833,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2959605836,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 15:55:04] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951024,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:04] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,122,159,28,45,128,176,76,44,10,66,202,46,120,1,240,255,227,193,33,4,113,205,212,30,104,239,48,2,36,7],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":202,"original":20481,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 15:55:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476603843846340608,"timestamp_seconds":5476603843846341.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130556416001,"66":14189,"105":206,"83":41984,"24":0,"16":10267248170106880,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130556416001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:55:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267248170106880,"km_value":10267248170106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130556416001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":147905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:55:05] local.INFO: GPS data processed {"connection_id":147905,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:55:05] local.INFO: Acknowledgment sent {"connection_id":147905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:55:09] local.INFO: TCP Data received {"connection_id":147905,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc200c838012d181e800721adf0004e00a12d..."} 
[2026-08-02 15:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc200c838012d181e800721adf0004e00a12d..."} 
[2026-08-02 15:55:09] local.INFO: Processing buffer {"connection_id":147905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc200c838012d181e800721adf0004e00a12d..."} 
[2026-08-02 15:55:09] local.INFO: Packet analysis {"connection_id":147905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:55:09] local.INFO: Extracted packet for processing {"connection_id":147905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:55:09] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647728,"longitude_deg":75.6555392,"latitude_deg":11.9647728,"altitude":78,"angle":161,"satellites":45,"speed":2,"hex_longitude":"2d181e80","hex_latitude":"0721adf0","is_valid_coordinates":true} 
[2026-08-02 15: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-08-02 15:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130561792001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267282529845248,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329925632,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785666259000,"timestamp_ms":1785666259000,"timestamp_seconds":1785666259,"priority":1,"record_length":96,"hex_timestamp":"0000019fc200c838"} 
[2026-08-02 15:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-02 15:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15: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-08-02 15:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130561792001,"66":14157,"105":206,"83":41984,"24":2,"16":10267282529845248,"45":1737967274329925632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130561792001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:55:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:55:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267282529845248,"km_value":10267282529845.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329925632,"description":"Unknown IO ID 45"} 
[2026-08-02 15:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130561792001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737967274329925632}} 
[2026-08-02 15:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":147905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:55:09] local.INFO: GPS data processed {"connection_id":147905,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:55:09] local.INFO: Acknowledgment sent {"connection_id":147905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:55:24] local.INFO: TCP Data received {"connection_id":146651,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:55:24] local.INFO: Processing buffer {"connection_id":146651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:55:24] local.INFO: IMEI packet received {"connection_id":146651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":146651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:55:29] local.INFO: TCP Data received {"connection_id":146651,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:55:29] local.INFO: Processing buffer {"connection_id":146651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:55:29] local.INFO: IMEI packet received {"connection_id":146651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":146651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:55:32] local.INFO: TCP Data received {"connection_id":149210,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:55:32] local.INFO: Processing buffer {"connection_id":149210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:55:32] local.INFO: IMEI packet received {"connection_id":149210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":149210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:55:35] local.INFO: TCP Data received {"connection_id":146651,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:55:35] local.INFO: Processing buffer {"connection_id":146651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:55:35] local.INFO: Packet analysis {"connection_id":146651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:55:35] local.INFO: Extracted packet for processing {"connection_id":146651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:55:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130477312001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785666228000,"timestamp_ms":1785666228000,"timestamp_seconds":1785666228,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2004f20"} 
[2026-08-02 15:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 15:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130477312001,"66":25104,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130477312001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:55:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:55:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:55:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130477312001,"power":25104,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":146651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:55:35] local.INFO: GPS data processed {"connection_id":146651,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:55:35] local.INFO: Acknowledgment sent {"connection_id":146651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:55:38] local.INFO: TCP Data received {"connection_id":149210,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:55:38] local.INFO: Processing buffer {"connection_id":149210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:55:38] local.INFO: IMEI packet received {"connection_id":149210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":149210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:55:40] local.INFO: TCP Data received {"connection_id":147905,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc200d7d8012d181ec00721aca8004e00b12e..."} 
[2026-08-02 15:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc200d7d8012d181ec00721aca8004e00b12e..."} 
[2026-08-02 15:55:40] local.INFO: Processing buffer {"connection_id":147905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc200d7d8012d181ec00721aca8004e00b12e..."} 
[2026-08-02 15:55:40] local.INFO: Packet analysis {"connection_id":147905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:55:40] local.INFO: Extracted packet for processing {"connection_id":147905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:55:40] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647400,"longitude_deg":75.6555456,"latitude_deg":11.96474,"altitude":78,"angle":177,"satellites":46,"speed":4,"hex_longitude":"2d181ec0","hex_latitude":"0721aca8","is_valid_coordinates":true} 
[2026-08-02 15:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130562304001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267299709714432,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329763840,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785666263000,"timestamp_ms":1785666263000,"timestamp_seconds":1785666263,"priority":1,"record_length":96,"hex_timestamp":"0000019fc200d7d8"} 
[2026-08-02 15:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 15:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130562304001,"66":14135,"105":206,"83":41984,"24":4,"16":10267299709714432,"45":1737967274329763840},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130562304001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:55:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:55:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267299709714432,"km_value":10267299709714.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329763840,"description":"Unknown IO ID 45"} 
[2026-08-02 15:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130562304001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737967274329763840}} 
[2026-08-02 15:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":147905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:55:40] local.INFO: GPS data processed {"connection_id":147905,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:55:40] local.INFO: Acknowledgment sent {"connection_id":147905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:55:49] local.INFO: TCP Data received {"connection_id":149210,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1feef90012d85c18005e48d98000201552d..."} 
[2026-08-02 15:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1feef90012d85c18005e48d98000201552d..."} 
[2026-08-02 15:55:49] local.INFO: Processing buffer {"connection_id":149210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1feef90012d85c18005e48d98000201552d..."} 
[2026-08-02 15:55:49] local.INFO: Packet analysis {"connection_id":149210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1fe"} 
[2026-08-02 15:55:49] local.INFO: Extracted packet for processing {"connection_id":149210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1fe"} 
[2026-08-02 15:55:49] local.INFO: GPS Element Parsed {"raw_longitude":763740544,"raw_latitude":98864536,"longitude_deg":76.3740544,"latitude_deg":9.8864536,"altitude":2,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d85c180","hex_latitude":"05e48d98","is_valid_coordinates":true} 
[2026-08-02 15:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130525952001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113995209494233088,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808618633362302976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785666138000,"timestamp_ms":1785666138000,"timestamp_seconds":1785666138,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1feef90"} 
[2026-08-02 15:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 15:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130525952001,"66":13135,"111":206,"88":20224,"24":0,"16":113995209494233088,"45":-8808618633362302976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,88,24,16,45]} 
[2026-08-02 15:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130525952001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:55:49] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-02 15:55:49] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113995209494233088,"km_value":113995209494233.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808618633362302976,"description":"Unknown IO ID 45"} 
[2026-08-02 15:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130525952001,"power":13135,"unknown_111":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8808618633362302976}} 
[2026-08-02 15:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":149210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:55:49] local.INFO: GPS data processed {"connection_id":149210,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:55:49] local.INFO: Acknowledgment sent {"connection_id":149210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:55:57] local.INFO: TCP Data received {"connection_id":147906,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:55:57] local.INFO: Processing buffer {"connection_id":147906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:55:57] local.INFO: IMEI packet received {"connection_id":147906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":147906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:55:58] local.INFO: TCP Data received {"connection_id":147906,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:55:58] local.INFO: Processing buffer {"connection_id":147906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:55:58] local.INFO: IMEI packet received {"connection_id":147906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":147906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:56:04] local.INFO: TCP Data received {"connection_id":147906,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:56:04] local.INFO: Processing buffer {"connection_id":147906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:56:04] local.INFO: IMEI packet received {"connection_id":147906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":147906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:56:05] local.INFO: TCP Data received {"connection_id":147906,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc200fee8012d181ec00721ab30004e00bc2e..."} 
[2026-08-02 15:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc200fee8012d181ec00721ab30004e00bc2e..."} 
[2026-08-02 15:56:05] local.INFO: Processing buffer {"connection_id":147906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc200fee8012d181ec00721ab30004e00bc2e..."} 
[2026-08-02 15:56:05] local.INFO: Packet analysis {"connection_id":147906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:56:05] local.INFO: Extracted packet for processing {"connection_id":147906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647024,"longitude_deg":75.6555456,"latitude_deg":11.9647024,"altitude":78,"angle":188,"satellites":46,"speed":2,"hex_longitude":"2d181ec0","hex_latitude":"0721ab30","is_valid_coordinates":true} 
[2026-08-02 15:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130563328001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10267316889583616,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073857536,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785666273000,"timestamp_ms":1785666273000,"timestamp_seconds":1785666273,"priority":1,"record_length":96,"hex_timestamp":"0000019fc200fee8"} 
[2026-08-02 15:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-02 15:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130563328001,"66":14113,"105":206,"83":41984,"24":2,"16":10267316889583616,"45":1738037643073857536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130563328001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:56:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10267316889583616,"km_value":10267316889583.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073857536,"description":"Unknown IO ID 45"} 
[2026-08-02 15:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130563328001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738037643073857536}} 
[2026-08-02 15:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":147906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:56:05] local.INFO: GPS data processed {"connection_id":147906,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:56:05] local.INFO: Acknowledgment sent {"connection_id":147906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:56:07] local.INFO: TCP Data received {"connection_id":146651,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:56:07] local.INFO: Processing buffer {"connection_id":146651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:56:07] local.INFO: Packet analysis {"connection_id":146651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:56:07] local.INFO: Extracted packet for processing {"connection_id":146651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:56:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130477312001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785666228000,"timestamp_ms":1785666228000,"timestamp_seconds":1785666228,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2004f20"} 
[2026-08-02 15:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:56: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-08-02 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 15:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130477312001,"66":25104,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130477312001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:56:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:56:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:56:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130477312001,"power":25104,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":146651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:56:07] local.INFO: GPS data processed {"connection_id":146651,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:56:07] local.INFO: Acknowledgment sent {"connection_id":146651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:56:27] local.INFO: TCP Data received {"connection_id":149211,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:56:27] local.INFO: Processing buffer {"connection_id":149211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:56:27] local.INFO: IMEI packet received {"connection_id":149211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":149211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:56:29] local.INFO: TCP Data received {"connection_id":147907,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:56:29] local.INFO: Processing buffer {"connection_id":147907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:56:29] local.INFO: IMEI packet received {"connection_id":147907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":147907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:56:32] local.INFO: TCP Data received {"connection_id":149211,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:56:32] local.INFO: Processing buffer {"connection_id":149211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:56:32] local.INFO: IMEI packet received {"connection_id":149211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":149211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:56:32] local.INFO: TCP Data received {"connection_id":149211,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:56:32] local.INFO: Processing buffer {"connection_id":149211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:56:32] local.INFO: IMEI packet received {"connection_id":149211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":149211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:56:33] local.INFO: TCP Data received {"connection_id":149211,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ff4198012d85c18005e48d98000201552a..."} 
[2026-08-02 15:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ff4198012d85c18005e48d98000201552a..."} 
[2026-08-02 15:56:33] local.INFO: Processing buffer {"connection_id":149211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ff4198012d85c18005e48d98000201552a..."} 
[2026-08-02 15:56:33] local.INFO: Packet analysis {"connection_id":149211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ff"} 
[2026-08-02 15:56:33] local.INFO: Extracted packet for processing {"connection_id":149211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ff"} 
[2026-08-02 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763740544,"raw_latitude":98864536,"longitude_deg":76.3740544,"latitude_deg":9.8864536,"altitude":2,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d85c180","hex_latitude":"05e48d98","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130531328001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113995209494233088,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808618633362302976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785666159000,"timestamp_ms":1785666159000,"timestamp_seconds":1785666159,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ff4198"} 
[2026-08-02 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-08-02 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":79,"data_length":795,"current_offset":136} 
[2026-08-02 15:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130531328001,"66":13580,"111":206,"88":20224,"24":0,"16":113995209494233088,"45":-8808618633362302976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,88,24,16,45]} 
[2026-08-02 15:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130531328001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:56:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-02 15:56:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113995209494233088,"km_value":113995209494233.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808618633362302976,"description":"Unknown IO ID 45"} 
[2026-08-02 15:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130531328001,"power":13580,"unknown_111":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8808618633362302976}} 
[2026-08-02 15:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":149211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:56:33] local.INFO: GPS data processed {"connection_id":149211,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:56:33] local.INFO: Acknowledgment sent {"connection_id":149211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:56:34] local.INFO: TCP Data received {"connection_id":147907,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:56:34] local.INFO: Processing buffer {"connection_id":147907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:56:34] local.INFO: IMEI packet received {"connection_id":147907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":147907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:56:35] local.INFO: TCP Data received {"connection_id":147907,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:56:35] local.INFO: Processing buffer {"connection_id":147907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:56:35] local.INFO: Packet analysis {"connection_id":147907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:56:35] local.INFO: Extracted packet for processing {"connection_id":147907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:56:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130477312001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785666228000,"timestamp_ms":1785666228000,"timestamp_seconds":1785666228,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2004f20"} 
[2026-08-02 15:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 15:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130477312001,"66":25104,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130477312001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:56:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:56:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:56:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130477312001,"power":25104,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":147907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:56:35] local.INFO: GPS data processed {"connection_id":147907,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:56:35] local.INFO: Acknowledgment sent {"connection_id":147907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:56:37] local.INFO: TCP Data received {"connection_id":147906,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2022f98012d18c44007215138004100a12b..."} 
[2026-08-02 15:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2022f98012d18c44007215138004100a12b..."} 
[2026-08-02 15:56:37] local.INFO: Processing buffer {"connection_id":147906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2022f98012d18c44007215138004100a12b..."} 
[2026-08-02 15:56:37] local.INFO: Packet analysis {"connection_id":147906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc202"} 
[2026-08-02 15:56:37] local.INFO: Extracted packet for processing {"connection_id":147906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc202"} 
[2026-08-02 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119623992,"longitude_deg":75.6597824,"latitude_deg":11.9623992,"altitude":65,"angle":161,"satellites":43,"speed":28,"hex_longitude":"2d18c440","hex_latitude":"07215138","is_valid_coordinates":true} 
[2026-08-02 15:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130583296001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10269756431007744,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779766308366960640,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785666351000,"timestamp_ms":1785666351000,"timestamp_seconds":1785666351,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2022f98"} 
[2026-08-02 15:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-02 15:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130583296001,"66":14070,"106":206,"83":41984,"24":28,"16":10269756431007744,"45":1779766308366960640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-02 15:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130583296001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:56:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-02 15:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10269756431007744,"km_value":10269756431007.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779766308366960640,"description":"Unknown IO ID 45"} 
[2026-08-02 15:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130583296001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1779766308366960640}} 
[2026-08-02 15:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":147906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:56:37] local.INFO: GPS data processed {"connection_id":147906,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:56:37] local.INFO: Acknowledgment sent {"connection_id":147906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:56:43] local.INFO: TCP Data received {"connection_id":149211,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc1ff93a0012d85c18005e48d98000201552b..."} 
[2026-08-02 15:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc1ff93a0012d85c18005e48d98000201552b..."} 
[2026-08-02 15:56:43] local.INFO: Processing buffer {"connection_id":149211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc1ff93a0012d85c18005e48d98000201552b..."} 
[2026-08-02 15:56:43] local.INFO: Packet analysis {"connection_id":149211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc1ff"} 
[2026-08-02 15:56:43] local.INFO: Extracted packet for processing {"connection_id":149211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc1ff"} 
[2026-08-02 15:56:43] local.INFO: GPS Element Parsed {"raw_longitude":763740544,"raw_latitude":98864536,"longitude_deg":76.3740544,"latitude_deg":9.8864536,"altitude":2,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d85c180","hex_latitude":"05e48d98","is_valid_coordinates":true} 
[2026-08-02 15:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130536704001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113995209494233088,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808618633362302976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785666180000,"timestamp_ms":1785666180000,"timestamp_seconds":1785666180,"priority":1,"record_length":96,"hex_timestamp":"0000019fc1ff93a0"} 
[2026-08-02 15:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617278,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3254605160,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2244050949,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6136435967269011466,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":133,"raw_value":-4503593148184264702,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2147869837,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":228,"raw_value":2375548930,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275779951,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1970208974,"corrected_to":0} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2882529665774308952,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4262068224,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3834484736,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.WARNING: Large IO value detected {"io_id":79,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-02 15:56:43] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,111,88,24,241,157,16,254,159,239,45,128,141,2,10,66,44,75,1,240,133,227,193,228,4,113,205,167,152,41,52,148,5,79],"length":577,"final_offset":707,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1970208974,"validated":0}]} 
[2026-08-02 15:56:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144490301929553920,"timestamp_seconds":144490301929553.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":149211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":149211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":149211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130536704001,"66":13167,"111":206,"88":20224,"24":0,"16":113995209494233088,"45":-8808618633362302976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,88,24,16,45]} 
[2026-08-02 15:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130536704001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:56:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-02 15:56:43] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113995209494233088,"km_value":113995209494233.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808618633362302976,"description":"Unknown IO ID 45"} 
[2026-08-02 15:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130536704001,"power":13167,"unknown_111":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8808618633362302976}} 
[2026-08-02 15:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":149211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:56:43] local.INFO: GPS data processed {"connection_id":149211,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:56:43] local.INFO: Acknowledgment sent {"connection_id":149211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:56:58] local.INFO: TCP Data received {"connection_id":146870,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:56:58] local.INFO: Processing buffer {"connection_id":146870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:56:58] local.INFO: IMEI packet received {"connection_id":146870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":146870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:57:02] local.INFO: TCP Data received {"connection_id":146870,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:57:02] local.INFO: Processing buffer {"connection_id":146870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:57:02] local.INFO: IMEI packet received {"connection_id":146870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":146870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:57:03] local.INFO: TCP Data received {"connection_id":146870,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:57:03] local.INFO: Processing buffer {"connection_id":146870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:57:03] local.INFO: IMEI packet received {"connection_id":146870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":146870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:57:04] local.INFO: TCP Data received {"connection_id":146870,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2023380012d18c4c007214e78004000ac2c..."} 
[2026-08-02 15:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2023380012d18c4c007214e78004000ac2c..."} 
[2026-08-02 15:57:04] local.INFO: Processing buffer {"connection_id":146870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2023380012d18c4c007214e78004000ac2c..."} 
[2026-08-02 15:57:04] local.INFO: Packet analysis {"connection_id":146870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc202"} 
[2026-08-02 15:57:04] local.INFO: Extracted packet for processing {"connection_id":146870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc202"} 
[2026-08-02 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119623288,"longitude_deg":75.6597952,"latitude_deg":11.9623288,"altitude":64,"angle":172,"satellites":44,"speed":28,"hex_longitude":"2d18c4c0","hex_latitude":"07214e78","is_valid_coordinates":true} 
[2026-08-02 15:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130585856001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10269790790746112,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713478656,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666352000,"timestamp_ms":1785666352000,"timestamp_seconds":1785666352,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2023380"} 
[2026-08-02 15:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-02 15:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130585856001,"66":14004,"106":206,"83":41984,"24":28,"16":10269790790746112,"45":1784621751713478656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-02 15:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130585856001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:57:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-02 15:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10269790790746112,"km_value":10269790790746.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713478656,"description":"Unknown IO ID 45"} 
[2026-08-02 15:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130585856001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1784621751713478656}} 
[2026-08-02 15:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":146870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:57:04] local.INFO: GPS data processed {"connection_id":146870,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:57:04] local.INFO: Acknowledgment sent {"connection_id":146870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:57:09] local.INFO: TCP Data received {"connection_id":146870,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2024ed8012d18c78007213a98003f009d2c..."} 
[2026-08-02 15:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2024ed8012d18c78007213a98003f009d2c..."} 
[2026-08-02 15:57:09] local.INFO: Processing buffer {"connection_id":146870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2024ed8012d18c78007213a98003f009d2c..."} 
[2026-08-02 15:57:09] local.INFO: Packet analysis {"connection_id":146870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc202"} 
[2026-08-02 15:57:09] local.INFO: Extracted packet for processing {"connection_id":146870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc202"} 
[2026-08-02 15:57:09] local.INFO: GPS Element Parsed {"raw_longitude":756598656,"raw_latitude":119618200,"longitude_deg":75.6598656,"latitude_deg":11.96182,"altitude":63,"angle":157,"satellites":44,"speed":29,"hex_longitude":"2d18c780","hex_latitude":"07213a98","is_valid_coordinates":true} 
[2026-08-02 15:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130586112001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270044193816576,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201653760,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785666359000,"timestamp_ms":1785666359000,"timestamp_seconds":1785666359,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2024ed8"} 
[2026-08-02 15:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-02 15:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130586112001,"66":14102,"106":206,"83":41984,"24":29,"16":10270044193816576,"45":1784762489201653760},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-02 15:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130586112001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:57:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-02 15:57:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270044193816576,"km_value":10270044193816.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201653760,"description":"Unknown IO ID 45"} 
[2026-08-02 15:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130586112001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1784762489201653760}} 
[2026-08-02 15:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":146870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:57:09] local.INFO: GPS data processed {"connection_id":146870,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:57:09] local.INFO: Acknowledgment sent {"connection_id":146870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:57:11] local.INFO: TCP Data received {"connection_id":147907,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:57:11] local.INFO: Processing buffer {"connection_id":147907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:57:11] local.INFO: Packet analysis {"connection_id":147907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:57:11] local.INFO: Extracted packet for processing {"connection_id":147907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:57:11] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130477312001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785666228000,"timestamp_ms":1785666228000,"timestamp_seconds":1785666228,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2004f20"} 
[2026-08-02 15:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:57: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-08-02 15:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 15:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130477312001,"66":25104,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130477312001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:57:11] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:57:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130477312001,"power":25104,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":147907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:57:11] local.INFO: GPS data processed {"connection_id":147907,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:57:11] local.INFO: Acknowledgment sent {"connection_id":147907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:57:33] local.INFO: TCP Data received {"connection_id":146871,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:57:33] local.INFO: Processing buffer {"connection_id":146871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:57:33] local.INFO: IMEI packet received {"connection_id":146871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":146871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:57:34] local.INFO: TCP Data received {"connection_id":146652,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:57:34] local.INFO: Processing buffer {"connection_id":146652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:57:34] local.INFO: IMEI packet received {"connection_id":146652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":146652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:57:38] local.INFO: TCP Data received {"connection_id":146871,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:57:38] local.INFO: Processing buffer {"connection_id":146871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:57:38] local.INFO: IMEI packet received {"connection_id":146871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":146871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:57:38] local.INFO: TCP Data received {"connection_id":146871,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc202ef00012d85c18005e48d98000201552e..."} 
[2026-08-02 15:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc202ef00012d85c18005e48d98000201552e..."} 
[2026-08-02 15:57:38] local.INFO: Processing buffer {"connection_id":146871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc202ef00012d85c18005e48d98000201552e..."} 
[2026-08-02 15:57:38] local.INFO: Packet analysis {"connection_id":146871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc202"} 
[2026-08-02 15:57:38] local.INFO: Extracted packet for processing {"connection_id":146871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc202"} 
[2026-08-02 15:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763740544,"raw_latitude":98864536,"longitude_deg":76.3740544,"latitude_deg":9.8864536,"altitude":2,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d85c180","hex_latitude":"05e48d98","is_valid_coordinates":true} 
[2026-08-02 15:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130598400001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113995209494233088,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808618633362302976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785666400000,"timestamp_ms":1785666400000,"timestamp_seconds":1785666400,"priority":1,"record_length":96,"hex_timestamp":"0000019fc202ef00"} 
[2026-08-02 15:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617278,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3254857160,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6137561867175854090,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":228,"raw_value":2375548930,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634273972909423,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1970208974,"corrected_to":0} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3489738117,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2147869837,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4262068224,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3834484736,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":133,"raw_value":-4503593148184264702,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917032712326744,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.WARNING: Large IO value detected {"io_id":79,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:38] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,111,88,24,241,157,16,254,159,199,45,128,141,2,46,10,66,117,35,1,240,181,227,194,228,4,113,205,127,193,152,239,52,148,5,133,53,79],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1970208974,"validated":0}]} 
[2026-08-02 15:57:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144490319109423343,"timestamp_seconds":144490319109423.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130598400001,"66":13580,"111":206,"88":20224,"24":0,"16":113995209494233088,"45":-8808618633362302976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,88,24,16,45]} 
[2026-08-02 15:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130598400001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:57:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-02 15:57:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113995209494233088,"km_value":113995209494233.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808618633362302976,"description":"Unknown IO ID 45"} 
[2026-08-02 15:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130598400001,"power":13580,"unknown_111":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8808618633362302976}} 
[2026-08-02 15:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":146871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:57:38] local.INFO: GPS data processed {"connection_id":146871,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:57:38] local.INFO: Acknowledgment sent {"connection_id":146871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:57:39] local.INFO: TCP Data received {"connection_id":146652,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:57:39] local.INFO: Processing buffer {"connection_id":146652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:57:39] local.INFO: IMEI packet received {"connection_id":146652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":146652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:57:40] local.INFO: TCP Data received {"connection_id":146870,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2025e78012d18cc8007213188004000912c..."} 
[2026-08-02 15:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2025e78012d18cc8007213188004000912c..."} 
[2026-08-02 15:57:40] local.INFO: Processing buffer {"connection_id":146870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2025e78012d18cc8007213188004000912c..."} 
[2026-08-02 15:57:40] local.INFO: Packet analysis {"connection_id":146870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc202"} 
[2026-08-02 15:57:40] local.INFO: Extracted packet for processing {"connection_id":146870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc202"} 
[2026-08-02 15:57:40] local.INFO: GPS Element Parsed {"raw_longitude":756599936,"raw_latitude":119615880,"longitude_deg":75.6599936,"latitude_deg":11.961588,"altitude":64,"angle":145,"satellites":44,"speed":20,"hex_longitude":"2d18cc80","hex_latitude":"07213188","is_valid_coordinates":true} 
[2026-08-02 15: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-08-02 15:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130587904001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270173042835456,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785536545386305536,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785666363000,"timestamp_ms":1785666363000,"timestamp_seconds":1785666363,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2025e78"} 
[2026-08-02 15:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-02 15:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15: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-08-02 15:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130587904001,"66":14396,"106":206,"83":41984,"24":20,"16":10270173042835456,"45":1785536545386305536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-02 15:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130587904001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:57:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-02 15:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270173042835456,"km_value":10270173042835.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785536545386305536,"description":"Unknown IO ID 45"} 
[2026-08-02 15:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130587904001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1785536545386305536}} 
[2026-08-02 15:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":146870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:57:40] local.INFO: GPS data processed {"connection_id":146870,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:57:40] local.INFO: Acknowledgment sent {"connection_id":146870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:57:49] local.INFO: TCP Data received {"connection_id":146871,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2038b40012d85c08005e48d88000201552b..."} 
[2026-08-02 15:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2038b40012d85c08005e48d88000201552b..."} 
[2026-08-02 15:57:49] local.INFO: Processing buffer {"connection_id":146871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2038b40012d85c08005e48d88000201552b..."} 
[2026-08-02 15:57:49] local.INFO: Packet analysis {"connection_id":146871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc203"} 
[2026-08-02 15:57:49] local.INFO: Extracted packet for processing {"connection_id":146871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc203"} 
[2026-08-02 15:57:49] local.INFO: GPS Element Parsed {"raw_longitude":763740288,"raw_latitude":98864520,"longitude_deg":76.3740288,"latitude_deg":9.886452,"altitude":2,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d85c080","hex_latitude":"05e48d88","is_valid_coordinates":true} 
[2026-08-02 15:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130598400001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113995209494233088,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808618633362302976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785666440000,"timestamp_ms":1785666440000,"timestamp_seconds":1785666440,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2038b40"} 
[2026-08-02 15:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":12,"data_length":795,"current_offset":136} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617278,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3254878160,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2244050949,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6137280392199143434,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":133,"raw_value":-4503593148184264702,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":228,"raw_value":2375548930,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145783663,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1970208974,"corrected_to":0} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3623955845,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2147869837,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4179114549942628776,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4262068224,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3834484736,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.WARNING: Large IO value detected {"io_id":79,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:49] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,111,88,24,241,157,16,254,159,239,45,128,141,2,46,10,66,199,117,1,240,133,227,194,228,4,113,205,209,193,152,51,148,5,79],"length":577,"final_offset":707,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1970208974,"validated":0}]} 
[2026-08-02 15:57:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144490319109423344,"timestamp_seconds":144490319109423.38,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130598400001,"66":13439,"111":206,"88":20224,"24":0,"16":113995209494233088,"45":-8808618633362302976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,88,24,16,45]} 
[2026-08-02 15:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130598400001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:57:49] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-02 15:57:49] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113995209494233088,"km_value":113995209494233.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808618633362302976,"description":"Unknown IO ID 45"} 
[2026-08-02 15:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130598400001,"power":13439,"unknown_111":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8808618633362302976}} 
[2026-08-02 15:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":146871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:57:49] local.INFO: GPS data processed {"connection_id":146871,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:57:49] local.INFO: Acknowledgment sent {"connection_id":146871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:57:52] local.INFO: TCP Data received {"connection_id":146652,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:57:52] local.INFO: Processing buffer {"connection_id":146652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:57:52] local.INFO: Packet analysis {"connection_id":146652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:57:52] local.INFO: Extracted packet for processing {"connection_id":146652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:57:52] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130477312001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785666228000,"timestamp_ms":1785666228000,"timestamp_seconds":1785666228,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2004f20"} 
[2026-08-02 15:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 15:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130477312001,"66":25104,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130477312001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:57:52] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:57:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:57:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130477312001,"power":25104,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":146652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:57:52] local.INFO: GPS data processed {"connection_id":146652,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:57:52] local.INFO: Acknowledgment sent {"connection_id":146652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:57:58] local.INFO: TCP Data received {"connection_id":146872,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:57:58] local.INFO: Processing buffer {"connection_id":146872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:57:58] local.INFO: IMEI packet received {"connection_id":146872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":146872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:58:04] local.INFO: TCP Data received {"connection_id":146872,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:58:04] local.INFO: Processing buffer {"connection_id":146872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:58:04] local.INFO: IMEI packet received {"connection_id":146872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":146872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:58:04] local.INFO: TCP Data received {"connection_id":146872,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc202b080012d18ce8007213000004100872c..."} 
[2026-08-02 15:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc202b080012d18ce8007213000004100872c..."} 
[2026-08-02 15:58:04] local.INFO: Processing buffer {"connection_id":146872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc202b080012d18ce8007213000004100872c..."} 
[2026-08-02 15:58:04] local.INFO: Packet analysis {"connection_id":146872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc202"} 
[2026-08-02 15:58:04] local.INFO: Extracted packet for processing {"connection_id":146872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc202"} 
[2026-08-02 15:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756600448,"raw_latitude":119615488,"longitude_deg":75.6600448,"latitude_deg":11.9615488,"altitude":65,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2d18ce80","hex_latitude":"07213000","is_valid_coordinates":true} 
[2026-08-02 15:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130588928001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10270211697541120,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786943920269264896,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666384000,"timestamp_ms":1785666384000,"timestamp_seconds":1785666384,"priority":1,"record_length":96,"hex_timestamp":"0000019fc202b080"} 
[2026-08-02 15:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-02 15:58: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-08-02 15:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130588928001,"66":14233,"106":206,"83":41984,"24":0,"16":10270211697541120,"45":1786943920269264896},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-02 15:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130588928001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:58:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-02 15:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10270211697541120,"km_value":10270211697541.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786943920269264896,"description":"Unknown IO ID 45"} 
[2026-08-02 15:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130588928001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1786943920269264896}} 
[2026-08-02 15:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":146872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:58:05] local.INFO: GPS data processed {"connection_id":146872,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:58:05] local.INFO: Acknowledgment sent {"connection_id":146872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:58:33] local.INFO: TCP Data received {"connection_id":147908,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:58:33] local.INFO: Processing buffer {"connection_id":147908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:58:33] local.INFO: IMEI packet received {"connection_id":147908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":147908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:58:33] local.INFO: TCP Data received {"connection_id":147908,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:58:33] local.INFO: Processing buffer {"connection_id":147908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:58:33] local.INFO: IMEI packet received {"connection_id":147908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":147908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:58:34] local.INFO: TCP Data received {"connection_id":147909,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:58:34] local.INFO: Processing buffer {"connection_id":147909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:58:34] local.INFO: IMEI packet received {"connection_id":147909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":147909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:58:34] local.INFO: TCP Data received {"connection_id":147908,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2038b40012d85c08005e48d88000201552b..."} 
[2026-08-02 15:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2038b40012d85c08005e48d88000201552b..."} 
[2026-08-02 15:58:34] local.INFO: Processing buffer {"connection_id":147908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2038b40012d85c08005e48d88000201552b..."} 
[2026-08-02 15:58:34] local.INFO: Packet analysis {"connection_id":147908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc203"} 
[2026-08-02 15:58:34] local.INFO: Extracted packet for processing {"connection_id":147908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc203"} 
[2026-08-02 15:58:34] local.INFO: GPS Element Parsed {"raw_longitude":763740288,"raw_latitude":98864520,"longitude_deg":76.3740288,"latitude_deg":9.886452,"altitude":2,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d85c080","hex_latitude":"05e48d88","is_valid_coordinates":true} 
[2026-08-02 15:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130608640001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113995209494233088,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808900108339017728,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785666440000,"timestamp_ms":1785666440000,"timestamp_seconds":1785666440,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2038b40"} 
[2026-08-02 15:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:58: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-08-02 15:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-02 15:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:58: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-08-02 15:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130608640001,"66":13439,"111":206,"88":20224,"24":0,"16":113995209494233088,"45":-8808900108339017728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,88,24,16,45]} 
[2026-08-02 15:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130608640001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:58:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-02 15:58:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113995209494233088,"km_value":113995209494233.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808900108339017728,"description":"Unknown IO ID 45"} 
[2026-08-02 15:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130608640001,"power":13439,"unknown_111":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8808900108339017728}} 
[2026-08-02 15:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":147908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:58:34] local.INFO: GPS data processed {"connection_id":147908,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:58:34] local.INFO: Acknowledgment sent {"connection_id":147908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:58:35] local.INFO: TCP Data received {"connection_id":146872,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc203f8a0012d1876c0072181e8004b010c2d..."} 
[2026-08-02 15:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc203f8a0012d1876c0072181e8004b010c2d..."} 
[2026-08-02 15:58:35] local.INFO: Processing buffer {"connection_id":146872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc203f8a0012d1876c0072181e8004b010c2d..."} 
[2026-08-02 15:58:35] local.INFO: Packet analysis {"connection_id":146872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc203"} 
[2026-08-02 15:58:35] local.INFO: Extracted packet for processing {"connection_id":146872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc203"} 
[2026-08-02 15:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636456,"longitude_deg":75.6577984,"latitude_deg":11.9636456,"altitude":75,"angle":268,"satellites":45,"speed":37,"hex_longitude":"2d1876c0","hex_latitude":"072181e8","is_valid_coordinates":true} 
[2026-08-02 15:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130615040001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10271899619688448,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765974034509535232,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785666468000,"timestamp_ms":1785666468000,"timestamp_seconds":1785666468,"priority":1,"record_length":96,"hex_timestamp":"0000019fc203f8a0"} 
[2026-08-02 15:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-02 15:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130615040001,"66":14135,"105":206,"83":41984,"24":37,"16":10271899619688448,"45":1765974034509535232},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130615040001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:58:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10271899619688448,"km_value":10271899619688.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765974034509535232,"description":"Unknown IO ID 45"} 
[2026-08-02 15:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130615040001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1765974034509535232}} 
[2026-08-02 15:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":146872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:58:35] local.INFO: GPS data processed {"connection_id":146872,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:58:35] local.INFO: Acknowledgment sent {"connection_id":146872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:58:38] local.INFO: TCP Data received {"connection_id":147908,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc203dd48012d85c18005e48d98000201552c..."} 
[2026-08-02 15:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc203dd48012d85c18005e48d98000201552c..."} 
[2026-08-02 15:58:38] local.INFO: Processing buffer {"connection_id":147908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc203dd48012d85c18005e48d98000201552c..."} 
[2026-08-02 15:58:38] local.INFO: Packet analysis {"connection_id":147908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc203"} 
[2026-08-02 15:58:38] local.INFO: Extracted packet for processing {"connection_id":147908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc203"} 
[2026-08-02 15:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763740544,"raw_latitude":98864536,"longitude_deg":76.3740544,"latitude_deg":9.8864536,"altitude":2,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d85c180","hex_latitude":"05e48d98","is_valid_coordinates":true} 
[2026-08-02 15:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130608640001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113995209494233088,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808900108339017728,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785666461000,"timestamp_ms":1785666461000,"timestamp_seconds":1785666461,"priority":1,"record_length":96,"hex_timestamp":"0000019fc203dd48"} 
[2026-08-02 15:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:58: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-08-02 15:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-02 15:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130608640001,"66":11167,"111":206,"88":20224,"24":0,"16":113995209494233088,"45":-8808900108339017728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,88,24,16,45]} 
[2026-08-02 15:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130608640001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:58:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-02 15:58:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113995209494233088,"km_value":113995209494233.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808900108339017728,"description":"Unknown IO ID 45"} 
[2026-08-02 15:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130608640001,"power":11167,"unknown_111":206,"unknown_88":20224,"ignition":0,"odometer":null,"unknown_45":-8808900108339017728}} 
[2026-08-02 15:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":147908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:58:38] local.INFO: GPS data processed {"connection_id":147908,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:58:38] local.INFO: Acknowledgment sent {"connection_id":147908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:58:48] local.INFO: TCP Data received {"connection_id":147909,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:58:48] local.INFO: Processing buffer {"connection_id":147909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:58:48] local.INFO: IMEI packet received {"connection_id":147909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":147909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:58:49] local.INFO: TCP Data received {"connection_id":147909,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:58:49] local.INFO: Processing buffer {"connection_id":147909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:58:49] local.INFO: Packet analysis {"connection_id":147909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:58:49] local.INFO: Extracted packet for processing {"connection_id":147909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:58:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130477312001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785666228000,"timestamp_ms":1785666228000,"timestamp_seconds":1785666228,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2004f20"} 
[2026-08-02 15:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 15:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130477312001,"66":25104,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130477312001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:58:49] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:58:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:58:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130477312001,"power":25104,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":147909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:58:49] local.INFO: GPS data processed {"connection_id":147909,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:58:49] local.INFO: Acknowledgment sent {"connection_id":147909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:58:50] local.INFO: TCP Data received {"connection_id":147909,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:58:50] local.INFO: Processing buffer {"connection_id":147909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2004f20012cc330c007685958005800c52d..."} 
[2026-08-02 15:58:50] local.INFO: Packet analysis {"connection_id":147909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:58:50] local.INFO: Extracted packet for processing {"connection_id":147909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc200"} 
[2026-08-02 15:58:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130477312001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785666228000,"timestamp_ms":1785666228000,"timestamp_seconds":1785666228,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2004f20"} 
[2026-08-02 15:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 15:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130477312001,"66":25104,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 15:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130477312001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:58:50] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 15:58:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:58:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130477312001,"power":25104,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":147909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:58:50] local.INFO: GPS data processed {"connection_id":147909,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:58:50] local.INFO: Acknowledgment sent {"connection_id":147909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:58:58] local.INFO: TCP Data received {"connection_id":146653,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:58:58] local.INFO: Processing buffer {"connection_id":146653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:58:58] local.INFO: IMEI packet received {"connection_id":146653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":146653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:59:03] local.INFO: TCP Data received {"connection_id":146653,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:59:03] local.INFO: Processing buffer {"connection_id":146653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:59:03] local.INFO: IMEI packet received {"connection_id":146653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 15:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":146653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:59:04] local.INFO: TCP Data received {"connection_id":146653,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2040c28012d18640007218238004d01192c..."} 
[2026-08-02 15:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2040c28012d18640007218238004d01192c..."} 
[2026-08-02 15:59:04] local.INFO: Processing buffer {"connection_id":146653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2040c28012d18640007218238004d01192c..."} 
[2026-08-02 15:59:04] local.INFO: Packet analysis {"connection_id":146653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 15:59:04] local.INFO: Extracted packet for processing {"connection_id":146653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 15:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756573184,"raw_latitude":119636536,"longitude_deg":75.6573184,"latitude_deg":11.9636536,"altitude":77,"angle":281,"satellites":44,"speed":38,"hex_longitude":"2d186400","hex_latitude":"07218238","is_valid_coordinates":true} 
[2026-08-02 15:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130615808001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10272127252955136,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021593600,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59: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-08-02 15:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666473000,"timestamp_ms":1785666473000,"timestamp_seconds":1785666473,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2040c28"} 
[2026-08-02 15:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-02 15:59: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-08-02 15:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130615808001,"66":14080,"105":206,"83":41984,"24":38,"16":10272127252955136,"45":1762807441021593600},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130615808001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:59:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10272127252955136,"km_value":10272127252955.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021593600,"description":"Unknown IO ID 45"} 
[2026-08-02 15:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130615808001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1762807441021593600}} 
[2026-08-02 15:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":146653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:59:04] local.INFO: GPS data processed {"connection_id":146653,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:59:04] local.INFO: Acknowledgment sent {"connection_id":146653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:59:09] local.INFO: TCP Data received {"connection_id":147908,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2041010012d85c1c005e48e70000901642d..."} 
[2026-08-02 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2041010012d85c1c005e48e70000901642d..."} 
[2026-08-02 15:59:09] local.INFO: Processing buffer {"connection_id":147908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2041010012d85c1c005e48e70000901642d..."} 
[2026-08-02 15:59:09] local.INFO: Packet analysis {"connection_id":147908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 15:59:09] local.INFO: Extracted packet for processing {"connection_id":147908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 15:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763740608,"raw_latitude":98864752,"longitude_deg":76.3740608,"latitude_deg":9.8864752,"altitude":9,"angle":356,"satellites":45,"speed":5,"hex_longitude":"2d85c1c0","hex_latitude":"05e48e70","is_valid_coordinates":true} 
[2026-08-02 15:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130614016001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113995218084167680,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808618633362302976,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785666474000,"timestamp_ms":1785666474000,"timestamp_seconds":1785666474,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2041010"} 
[2026-08-02 15:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-02 15:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1844,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130614016001,"66":11602,"111":206,"88":20224,"24":5,"16":113995218084167680,"45":-8808618633362302976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,88,24,16,45]} 
[2026-08-02 15:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130614016001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:59:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-02 15:59:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113995218084167680,"km_value":113995218084167.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808618633362302976,"description":"Unknown IO ID 45"} 
[2026-08-02 15:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130614016001,"power":11602,"unknown_111":206,"unknown_88":20224,"ignition":5,"odometer":null,"unknown_45":-8808618633362302976}} 
[2026-08-02 15:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":147908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:59:09] local.INFO: GPS data processed {"connection_id":147908,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:59:09] local.INFO: Acknowledgment sent {"connection_id":147908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:59:24] local.INFO: TCP Data received {"connection_id":147910,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:59:24] local.INFO: Processing buffer {"connection_id":147910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:59:24] local.INFO: IMEI packet received {"connection_id":147910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 15:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":147910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:59:26] local.INFO: TCP Data received {"connection_id":146873,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:59:26] local.INFO: Processing buffer {"connection_id":146873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:59:26] local.INFO: IMEI packet received {"connection_id":146873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 15:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":146873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 15:59:27] local.INFO: TCP Data received {"connection_id":147910,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:59:27] local.INFO: Processing buffer {"connection_id":147910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 15:59:27] local.INFO: IMEI packet received {"connection_id":147910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 15:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":147910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:59:27] local.INFO: TCP Data received {"connection_id":146873,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:59:27] local.INFO: Processing buffer {"connection_id":146873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:59:27] local.INFO: IMEI packet received {"connection_id":146873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":146873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:59:28] local.INFO: TCP Data received {"connection_id":147910,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 15:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 15:59:28] local.INFO: Processing buffer {"connection_id":147910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 15:59:28] local.INFO: Packet analysis {"connection_id":147910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 15:59:28] local.INFO: Extracted packet for processing {"connection_id":147910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 15:59:28] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 15:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130554368001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785666529000,"timestamp_ms":1785666529000,"timestamp_seconds":1785666529,"priority":1,"record_length":96,"hex_timestamp":"0000019fc204e6e8"} 
[2026-08-02 15:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 15: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-02 15:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 15:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 15:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 15:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 15:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 15:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130554368001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 15:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 15:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 15:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130554368001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:59:28] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 15:59:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 15:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:59:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 15:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130554368001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 15:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":147910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:59:28] local.INFO: GPS data processed {"connection_id":147910,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:59:28] local.INFO: Acknowledgment sent {"connection_id":147910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:59:33] local.INFO: TCP Data received {"connection_id":146873,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:59:33] local.INFO: Processing buffer {"connection_id":146873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 15:59:33] local.INFO: IMEI packet received {"connection_id":146873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 15:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":146873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 15:59:34] local.INFO: TCP Data received {"connection_id":146873,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2044e90012d85b9c005e4b2180009015c2c..."} 
[2026-08-02 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2044e90012d85b9c005e4b2180009015c2c..."} 
[2026-08-02 15:59:34] local.INFO: Processing buffer {"connection_id":146873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2044e90012d85b9c005e4b2180009015c2c..."} 
[2026-08-02 15:59:34] local.INFO: Packet analysis {"connection_id":146873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 15:59:34] local.INFO: Extracted packet for processing {"connection_id":146873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":763738560,"raw_latitude":98873880,"longitude_deg":76.373856,"latitude_deg":9.887388,"altitude":9,"angle":348,"satellites":44,"speed":37,"hex_longitude":"2d85b9c0","hex_latitude":"05e4b218","is_valid_coordinates":true} 
[2026-08-02 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-08-02 15:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130617344001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113995673350701056,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808548264618070016,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785666490000,"timestamp_ms":1785666490000,"timestamp_seconds":1785666490,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2044e90"} 
[2026-08-02 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-08-02 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-02 15:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 15:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 15:59: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-08-02 15:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 15:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 15:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130617344001,"66":13059,"111":206,"88":20224,"24":37,"16":113995673350701056,"45":-8808548264618070016},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,88,24,16,45]} 
[2026-08-02 15:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 15:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 15:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130617344001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:59:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-02 15:59:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 15:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113995673350701056,"km_value":113995673350701.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808548264618070016,"description":"Unknown IO ID 45"} 
[2026-08-02 15:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130617344001,"power":13059,"unknown_111":206,"unknown_88":20224,"ignition":37,"odometer":null,"unknown_45":-8808548264618070016}} 
[2026-08-02 15:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":146873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:59:34] local.INFO: GPS data processed {"connection_id":146873,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:59:34] local.INFO: Acknowledgment sent {"connection_id":146873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:59:35] local.INFO: TCP Data received {"connection_id":146653,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20413f8012d185cc0072184a0004e01252c..."} 
[2026-08-02 15:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20413f8012d185cc0072184a0004e01252c..."} 
[2026-08-02 15:59:35] local.INFO: Processing buffer {"connection_id":146653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20413f8012d185cc0072184a0004e01252c..."} 
[2026-08-02 15:59:35] local.INFO: Packet analysis {"connection_id":146653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 15:59:35] local.INFO: Extracted packet for processing {"connection_id":146653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 15:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756571328,"raw_latitude":119637152,"longitude_deg":75.6571328,"latitude_deg":11.9637152,"altitude":78,"angle":293,"satellites":44,"speed":38,"hex_longitude":"2d185cc0","hex_latitude":"072184a0","is_valid_coordinates":true} 
[2026-08-02 15:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 15:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130617088001,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10272221742235648,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757529785208289280,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 15:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785666475000,"timestamp_ms":1785666475000,"timestamp_seconds":1785666475,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20413f8"} 
[2026-08-02 15:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 15:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 15:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-02 15:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3255009160,"note":"Value kept but may cause issues"} 
[2026-08-02 15:59:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-02 15:59:35] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,126,159,248,45,192,129,75,10,66,236,74,44,1,240,55,227,194,33,4,113,205,29,186,171,239,106,2,36,7,72,9],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-02 15:59:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548743892668907520,"timestamp_seconds":5548743892668908.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 15:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 15:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 15:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 15:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 15:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 15:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 15:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 15:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130617088001,"66":14113,"105":206,"83":41984,"24":38,"16":10272221742235648,"45":1757529785208289280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 15:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 15:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 15:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130617088001,"description":"Unknown IO ID 0"} 
[2026-08-02 15:59:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 15:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 15:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10272221742235648,"km_value":10272221742235.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 15:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757529785208289280,"description":"Unknown IO ID 45"} 
[2026-08-02 15:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130617088001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1757529785208289280}} 
[2026-08-02 15:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":146653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 15:59:35] local.INFO: GPS data processed {"connection_id":146653,"processed":1,"errors":0,"total":1} 
[2026-08-02 15:59:35] local.INFO: Acknowledgment sent {"connection_id":146653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 15:59:58] local.INFO: TCP Data received {"connection_id":149212,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:59:58] local.INFO: Processing buffer {"connection_id":149212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 15:59:58] local.INFO: IMEI packet received {"connection_id":149212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 15:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":149212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:00:03] local.INFO: TCP Data received {"connection_id":147910,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:00:03] local.INFO: Processing buffer {"connection_id":147910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:00:03] local.INFO: Packet analysis {"connection_id":147910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:00:03] local.INFO: Extracted packet for processing {"connection_id":147910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:00:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130554368001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785666529000,"timestamp_ms":1785666529000,"timestamp_seconds":1785666529,"priority":1,"record_length":96,"hex_timestamp":"0000019fc204e6e8"} 
[2026-08-02 16:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-02 16:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130554368001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130554368001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:00:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:00:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:00:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130554368001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":147910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:00:03] local.INFO: GPS data processed {"connection_id":147910,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:00:03] local.INFO: Acknowledgment sent {"connection_id":147910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:00:04] local.INFO: TCP Data received {"connection_id":149212,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:00:04] local.INFO: Processing buffer {"connection_id":149212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:00:04] local.INFO: IMEI packet received {"connection_id":149212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":149212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:00:04] local.INFO: TCP Data received {"connection_id":149212,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2043b08012d183cc0072192f8004c01222b..."} 
[2026-08-02 16:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2043b08012d183cc0072192f8004c01222b..."} 
[2026-08-02 16:00:04] local.INFO: Processing buffer {"connection_id":149212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2043b08012d183cc0072192f8004c01222b..."} 
[2026-08-02 16:00:04] local.INFO: Packet analysis {"connection_id":149212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:00:04] local.INFO: Extracted packet for processing {"connection_id":149212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756563136,"raw_latitude":119640824,"longitude_deg":75.6563136,"latitude_deg":11.9640824,"altitude":76,"angle":290,"satellites":43,"speed":33,"hex_longitude":"2d183cc0","hex_latitude":"072192f8","is_valid_coordinates":true} 
[2026-08-02 16:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130617600001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10272651238965248,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755489091627294720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00: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-08-02 16:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666485000,"timestamp_ms":1785666485000,"timestamp_seconds":1785666485,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2043b08"} 
[2026-08-02 16:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-02 16:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130617600001,"66":14341,"105":206,"83":41984,"24":33,"16":10272651238965248,"45":1755489091627294720},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130617600001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:00:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10272651238965248,"km_value":10272651238965.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755489091627294720,"description":"Unknown IO ID 45"} 
[2026-08-02 16:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130617600001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1755489091627294720}} 
[2026-08-02 16:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":149212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:00:05] local.INFO: GPS data processed {"connection_id":149212,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:00:05] local.INFO: Acknowledgment sent {"connection_id":149212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:00:05] local.INFO: TCP Data received {"connection_id":146873,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc205b208012d850c8005e640e8000801542c..."} 
[2026-08-02 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc205b208012d850c8005e640e8000801542c..."} 
[2026-08-02 16:00:05] local.INFO: Processing buffer {"connection_id":146873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc205b208012d850c8005e640e8000801542c..."} 
[2026-08-02 16:00:05] local.INFO: Packet analysis {"connection_id":146873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc205"} 
[2026-08-02 16:00:05] local.INFO: Extracted packet for processing {"connection_id":146873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc205"} 
[2026-08-02 16:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763694208,"raw_latitude":98975976,"longitude_deg":76.3694208,"latitude_deg":9.8975976,"altitude":8,"angle":340,"satellites":44,"speed":41,"hex_longitude":"2d850c80","hex_latitude":"05e640e8","is_valid_coordinates":true} 
[2026-08-02 16:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130642432001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114001097894395904,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8855765691935064064,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785666581000,"timestamp_ms":1785666581000,"timestamp_seconds":1785666581,"priority":1,"record_length":96,"hex_timestamp":"0000019fc205b208"} 
[2026-08-02 16:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:00: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-08-02 16:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 16:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130642432001,"66":13537,"34":206,"88":20224,"24":41,"16":114001097894395904,"45":-8855765691935064064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,88,24,16,45]} 
[2026-08-02 16:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130642432001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:00:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-02 16:00:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 16:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114001097894395904,"km_value":114001097894395.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8855765691935064064,"description":"Unknown IO ID 45"} 
[2026-08-02 16:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130642432001,"power":13537,"unknown_34":206,"unknown_88":20224,"ignition":41,"odometer":null,"unknown_45":-8855765691935064064}} 
[2026-08-02 16:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":146873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:00:05] local.INFO: GPS data processed {"connection_id":146873,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:00:05] local.INFO: Acknowledgment sent {"connection_id":146873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:00:24] local.INFO: TCP Data received {"connection_id":149213,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:00:24] local.INFO: Processing buffer {"connection_id":149213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:00:24] local.INFO: IMEI packet received {"connection_id":149213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":149213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:00:28] local.INFO: TCP Data received {"connection_id":149214,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:00:28] local.INFO: Processing buffer {"connection_id":149214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:00:28] local.INFO: IMEI packet received {"connection_id":149214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":149214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:00:29] local.INFO: TCP Data received {"connection_id":149213,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:00:29] local.INFO: Processing buffer {"connection_id":149213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:00:29] local.INFO: IMEI packet received {"connection_id":149213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":149213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:00:30] local.INFO: TCP Data received {"connection_id":149213,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:00:30] local.INFO: Processing buffer {"connection_id":149213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:00:30] local.INFO: Packet analysis {"connection_id":149213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:00:30] local.INFO: Extracted packet for processing {"connection_id":149213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:00:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130554368001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785666529000,"timestamp_ms":1785666529000,"timestamp_seconds":1785666529,"priority":1,"record_length":96,"hex_timestamp":"0000019fc204e6e8"} 
[2026-08-02 16:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-02 16:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130554368001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130554368001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:00:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:00:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130554368001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":149213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:00:30] local.INFO: GPS data processed {"connection_id":149213,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:00:30] local.INFO: Acknowledgment sent {"connection_id":149213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:00:32] local.INFO: TCP Data received {"connection_id":149214,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:00:32] local.INFO: Processing buffer {"connection_id":149214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:00:32] local.INFO: IMEI packet received {"connection_id":149214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":149214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:00:33] local.INFO: TCP Data received {"connection_id":149214,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc205d530012d85004005e66210000a01532d..."} 
[2026-08-02 16:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc205d530012d85004005e66210000a01532d..."} 
[2026-08-02 16:00:33] local.INFO: Processing buffer {"connection_id":149214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc205d530012d85004005e66210000a01532d..."} 
[2026-08-02 16:00:33] local.INFO: Packet analysis {"connection_id":149214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc205"} 
[2026-08-02 16:00:33] local.INFO: Extracted packet for processing {"connection_id":149214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc205"} 
[2026-08-02 16:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763691072,"raw_latitude":98984464,"longitude_deg":76.3691072,"latitude_deg":9.8984464,"altitude":10,"angle":339,"satellites":45,"speed":41,"hex_longitude":"2d850040","hex_latitude":"05e66210","is_valid_coordinates":true} 
[2026-08-02 16:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130644736001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114001535981060096,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8859565604118403072,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785666590000,"timestamp_ms":1785666590000,"timestamp_seconds":1785666590,"priority":1,"record_length":96,"hex_timestamp":"0000019fc205d530"} 
[2026-08-02 16:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-02 16:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130644736001,"66":13493,"34":206,"88":20224,"24":41,"16":114001535981060096,"45":-8859565604118403072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,88,24,16,45]} 
[2026-08-02 16:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130644736001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:00:33] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-02 16:00:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 16:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114001535981060096,"km_value":114001535981060.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8859565604118403072,"description":"Unknown IO ID 45"} 
[2026-08-02 16:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130644736001,"power":13493,"unknown_34":206,"unknown_88":20224,"ignition":41,"odometer":null,"unknown_45":-8859565604118403072}} 
[2026-08-02 16:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":149214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:00:33] local.INFO: GPS data processed {"connection_id":149214,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:00:33] local.INFO: Acknowledgment sent {"connection_id":149214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:00:36] local.INFO: TCP Data received {"connection_id":149212,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2053cd8012d1824800721b7e0004c01432f..."} 
[2026-08-02 16:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2053cd8012d1824800721b7e0004c01432f..."} 
[2026-08-02 16:00:36] local.INFO: Processing buffer {"connection_id":149212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2053cd8012d1824800721b7e0004c01432f..."} 
[2026-08-02 16:00:36] local.INFO: Packet analysis {"connection_id":149212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc205"} 
[2026-08-02 16:00:36] local.INFO: Extracted packet for processing {"connection_id":149212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc205"} 
[2026-08-02 16:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650272,"longitude_deg":75.6556928,"latitude_deg":11.9650272,"altitude":76,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7e0","is_valid_coordinates":true} 
[2026-08-02 16:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130631680001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273428628045824,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469757952,"note":"Value kept but may cause issues"} 
[2026-08-02 16:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785666551000,"timestamp_ms":1785666551000,"timestamp_seconds":1785666551,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2053cd8"} 
[2026-08-02 16:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-02 16:00: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-08-02 16:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130631680001,"66":12667,"105":206,"83":41984,"24":0,"16":10273428628045824,"45":1739304280469757952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130631680001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:00:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273428628045824,"km_value":10273428628045.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469757952,"description":"Unknown IO ID 45"} 
[2026-08-02 16:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130631680001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469757952}} 
[2026-08-02 16:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":149212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:00:36] local.INFO: GPS data processed {"connection_id":149212,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:00:36] local.INFO: Acknowledgment sent {"connection_id":149212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:01:02] local.INFO: TCP Data received {"connection_id":149213,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:01:02] local.INFO: Processing buffer {"connection_id":149213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:01:02] local.INFO: Packet analysis {"connection_id":149213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:01:02] local.INFO: Extracted packet for processing {"connection_id":149213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:01:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130554368001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785666529000,"timestamp_ms":1785666529000,"timestamp_seconds":1785666529,"priority":1,"record_length":96,"hex_timestamp":"0000019fc204e6e8"} 
[2026-08-02 16:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-02 16:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130554368001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130554368001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:01:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:01:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:01:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130554368001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":149213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:01:02] local.INFO: GPS data processed {"connection_id":149213,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:01:02] local.INFO: Acknowledgment sent {"connection_id":149213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:01:04] local.INFO: TCP Data received {"connection_id":147911,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:01:04] local.INFO: Processing buffer {"connection_id":147911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:01:04] local.INFO: IMEI packet received {"connection_id":147911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":147911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:01:05] local.INFO: TCP Data received {"connection_id":149214,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc205f470012d84f4c005e683d8000b01542d..."} 
[2026-08-02 16:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc205f470012d84f4c005e683d8000b01542d..."} 
[2026-08-02 16:01:05] local.INFO: Processing buffer {"connection_id":149214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc205f470012d84f4c005e683d8000b01542d..."} 
[2026-08-02 16:01:05] local.INFO: Packet analysis {"connection_id":149214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc205"} 
[2026-08-02 16:01:05] local.INFO: Extracted packet for processing {"connection_id":149214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc205"} 
[2026-08-02 16:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763688128,"raw_latitude":98993112,"longitude_deg":76.3688128,"latitude_deg":9.8993112,"altitude":11,"angle":340,"satellites":45,"speed":47,"hex_longitude":"2d84f4c0","hex_latitude":"05e683d8","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130647040001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114001978362691584,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8863013672580935680,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785666598000,"timestamp_ms":1785666598000,"timestamp_seconds":1785666598,"priority":1,"record_length":96,"hex_timestamp":"0000019fc205f470"} 
[2026-08-02 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-08-02 16:01: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-08-02 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 16:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130647040001,"66":13428,"34":206,"88":20224,"24":47,"16":114001978362691584,"45":-8863013672580935680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,88,24,16,45]} 
[2026-08-02 16:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130647040001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:01:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-02 16:01:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 16:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114001978362691584,"km_value":114001978362691.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8863013672580935680,"description":"Unknown IO ID 45"} 
[2026-08-02 16:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130647040001,"power":13428,"unknown_34":206,"unknown_88":20224,"ignition":47,"odometer":null,"unknown_45":-8863013672580935680}} 
[2026-08-02 16:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":149214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:01:05] local.INFO: GPS data processed {"connection_id":149214,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:01:05] local.INFO: Acknowledgment sent {"connection_id":149214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:01:08] local.INFO: TCP Data received {"connection_id":147911,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:01:08] local.INFO: Processing buffer {"connection_id":147911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:01:08] local.INFO: IMEI packet received {"connection_id":147911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":147911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:01:09] local.INFO: TCP Data received {"connection_id":147911,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2058ee0012d1824800721b790004c01432e..."} 
[2026-08-02 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2058ee0012d1824800721b790004c01432e..."} 
[2026-08-02 16:01:09] local.INFO: Processing buffer {"connection_id":147911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2058ee0012d1824800721b790004c01432e..."} 
[2026-08-02 16:01:09] local.INFO: Packet analysis {"connection_id":147911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc205"} 
[2026-08-02 16:01:09] local.INFO: Extracted packet for processing {"connection_id":147911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc205"} 
[2026-08-02 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":46,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130637056001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190679040,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785666572000,"timestamp_ms":1785666572000,"timestamp_seconds":1785666572,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2058ee0"} 
[2026-08-02 16:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-02 16:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130637056001,"66":13102,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190679040},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130637056001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:01:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:01:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190679040,"description":"Unknown IO ID 45"} 
[2026-08-02 16:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130637056001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190679040}} 
[2026-08-02 16:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":147911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:01:09] local.INFO: GPS data processed {"connection_id":147911,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:01:09] local.INFO: Acknowledgment sent {"connection_id":147911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:01:13] local.INFO: TCP Data received {"connection_id":147911,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc205e0e8012d1824800721b790004c01432e..."} 
[2026-08-02 16:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc205e0e8012d1824800721b790004c01432e..."} 
[2026-08-02 16:01:13] local.INFO: Processing buffer {"connection_id":147911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc205e0e8012d1824800721b790004c01432e..."} 
[2026-08-02 16:01:13] local.INFO: Packet analysis {"connection_id":147911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc205"} 
[2026-08-02 16:01:13] local.INFO: Extracted packet for processing {"connection_id":147911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc205"} 
[2026-08-02 16:01:13] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":46,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130642432001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785666593000,"timestamp_ms":1785666593000,"timestamp_seconds":1785666593,"priority":1,"record_length":96,"hex_timestamp":"0000019fc205e0e8"} 
[2026-08-02 16:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-02 16:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130642432001,"66":13091,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130642432001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:01:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:01:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130642432001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":147911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:01:13] local.INFO: GPS data processed {"connection_id":147911,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:01:13] local.INFO: Acknowledgment sent {"connection_id":147911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:01:24] local.INFO: TCP Data received {"connection_id":146874,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:01:24] local.INFO: Processing buffer {"connection_id":146874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:01:24] local.INFO: IMEI packet received {"connection_id":146874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":146874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:01:25] local.INFO: TCP Data received {"connection_id":146875,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:01:25] local.INFO: Processing buffer {"connection_id":146875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:01:25] local.INFO: IMEI packet received {"connection_id":146875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":146875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:01:28] local.INFO: TCP Data received {"connection_id":146875,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:01:28] local.INFO: Processing buffer {"connection_id":146875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:01:28] local.INFO: IMEI packet received {"connection_id":146875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":146875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:01:29] local.INFO: TCP Data received {"connection_id":146874,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:01:29] local.INFO: Processing buffer {"connection_id":146874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:01:29] local.INFO: IMEI packet received {"connection_id":146874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":146874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:01:30] local.INFO: TCP Data received {"connection_id":146874,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:01:30] local.INFO: Processing buffer {"connection_id":146874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:01:30] local.INFO: Packet analysis {"connection_id":146874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:01:30] local.INFO: Extracted packet for processing {"connection_id":146874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:01:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130554368001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785666529000,"timestamp_ms":1785666529000,"timestamp_seconds":1785666529,"priority":1,"record_length":96,"hex_timestamp":"0000019fc204e6e8"} 
[2026-08-02 16:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-02 16:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130554368001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130554368001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:01:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:01:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130554368001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":146874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:01:30] local.INFO: GPS data processed {"connection_id":146874,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:01:30] local.INFO: Acknowledgment sent {"connection_id":146874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:01:33] local.INFO: TCP Data received {"connection_id":146875,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:01:33] local.INFO: Processing buffer {"connection_id":146875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:01:33] local.INFO: IMEI packet received {"connection_id":146875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":146875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:01:34] local.INFO: TCP Data received {"connection_id":146875,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2060fc8012d84ecc005e6a5b0000b01602d..."} 
[2026-08-02 16:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2060fc8012d84ecc005e6a5b0000b01602d..."} 
[2026-08-02 16:01:34] local.INFO: Processing buffer {"connection_id":146875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2060fc8012d84ecc005e6a5b0000b01602d..."} 
[2026-08-02 16:01:34] local.INFO: Packet analysis {"connection_id":146875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc206"} 
[2026-08-02 16:01:34] local.INFO: Extracted packet for processing {"connection_id":146875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc206"} 
[2026-08-02 16:01:34] local.INFO: GPS Element Parsed {"raw_longitude":763686080,"raw_latitude":99001776,"longitude_deg":76.368608,"latitude_deg":9.9001776,"altitude":11,"angle":352,"satellites":45,"speed":54,"hex_longitude":"2d84ecc0","hex_latitude":"05e6a5b0","is_valid_coordinates":true} 
[2026-08-02 16:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130649088001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114002412154388480,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8866250634810894336,"note":"Value kept but may cause issues"} 
[2026-08-02 16:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785666605000,"timestamp_ms":1785666605000,"timestamp_seconds":1785666605,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2060fc8"} 
[2026-08-02 16:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:01: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-08-02 16:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 16:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:01: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-08-02 16:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130649088001,"66":13515,"34":206,"88":20224,"24":54,"16":114002412154388480,"45":-8866250634810894336},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,88,24,16,45]} 
[2026-08-02 16:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130649088001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:01:34] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-02 16:01:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 16:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114002412154388480,"km_value":114002412154388.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8866250634810894336,"description":"Unknown IO ID 45"} 
[2026-08-02 16:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130649088001,"power":13515,"unknown_34":206,"unknown_88":20224,"ignition":54,"odometer":null,"unknown_45":-8866250634810894336}} 
[2026-08-02 16:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":146875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:01:34] local.INFO: GPS data processed {"connection_id":146875,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:01:34] local.INFO: Acknowledgment sent {"connection_id":146875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:01:59] local.INFO: TCP Data received {"connection_id":146876,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:01:59] local.INFO: Processing buffer {"connection_id":146876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:01:59] local.INFO: IMEI packet received {"connection_id":146876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":146876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:02:02] local.INFO: TCP Data received {"connection_id":146874,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:02:02] local.INFO: Processing buffer {"connection_id":146874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:02:02] local.INFO: Packet analysis {"connection_id":146874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:02:02] local.INFO: Extracted packet for processing {"connection_id":146874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:02:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130554368001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785666529000,"timestamp_ms":1785666529000,"timestamp_seconds":1785666529,"priority":1,"record_length":96,"hex_timestamp":"0000019fc204e6e8"} 
[2026-08-02 16:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-02 16:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130554368001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130554368001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:02:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:02:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:02:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130554368001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":146874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:02:02] local.INFO: GPS data processed {"connection_id":146874,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:02:02] local.INFO: Acknowledgment sent {"connection_id":146874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:02:03] local.INFO: TCP Data received {"connection_id":146876,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:02:03] local.INFO: Processing buffer {"connection_id":146876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:02:03] local.INFO: IMEI packet received {"connection_id":146876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":146876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:02:04] local.INFO: TCP Data received {"connection_id":146876,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20632f0012d1824800721b790004c01432e..."} 
[2026-08-02 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20632f0012d1824800721b790004c01432e..."} 
[2026-08-02 16:02:04] local.INFO: Processing buffer {"connection_id":146876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20632f0012d1824800721b790004c01432e..."} 
[2026-08-02 16:02:04] local.INFO: Packet analysis {"connection_id":146876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc206"} 
[2026-08-02 16:02:04] local.INFO: Extracted packet for processing {"connection_id":146876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc206"} 
[2026-08-02 16:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":46,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130647808001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02: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-08-02 16:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666614000,"timestamp_ms":1785666614000,"timestamp_seconds":1785666614,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20632f0"} 
[2026-08-02 16:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 16:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130647808001,"66":13091,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130647808001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:02:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130647808001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":146876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:02:04] local.INFO: GPS data processed {"connection_id":146876,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:02:04] local.INFO: Acknowledgment sent {"connection_id":146876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:02:05] local.INFO: TCP Data received {"connection_id":146875,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2060fc8012d84ecc005e6a5b0000b01602d..."} 
[2026-08-02 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2060fc8012d84ecc005e6a5b0000b01602d..."} 
[2026-08-02 16:02:05] local.INFO: Processing buffer {"connection_id":146875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2060fc8012d84ecc005e6a5b0000b01602d..."} 
[2026-08-02 16:02:05] local.INFO: Packet analysis {"connection_id":146875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc206"} 
[2026-08-02 16:02:05] local.INFO: Extracted packet for processing {"connection_id":146875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc206"} 
[2026-08-02 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763686080,"raw_latitude":99001776,"longitude_deg":76.368608,"latitude_deg":9.9001776,"altitude":11,"angle":352,"satellites":45,"speed":54,"hex_longitude":"2d84ecc0","hex_latitude":"05e6a5b0","is_valid_coordinates":true} 
[2026-08-02 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130650880001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114002412154388480,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8868502434622361600,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785666605000,"timestamp_ms":1785666605000,"timestamp_seconds":1785666605,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2060fc8"} 
[2026-08-02 16:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:02: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-08-02 16: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":203,"data_length":795,"current_offset":136} 
[2026-08-02 16:02: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-08-02 16:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130650880001,"66":13515,"34":206,"88":20224,"24":54,"16":114002412154388480,"45":-8868502434622361600},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,88,24,16,45]} 
[2026-08-02 16:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130650880001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:02:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-02 16:02:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 16:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114002412154388480,"km_value":114002412154388.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8868502434622361600,"description":"Unknown IO ID 45"} 
[2026-08-02 16:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130650880001,"power":13515,"unknown_34":206,"unknown_88":20224,"ignition":54,"odometer":null,"unknown_45":-8868502434622361600}} 
[2026-08-02 16:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":146875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:02:05] local.INFO: GPS data processed {"connection_id":146875,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:02:05] local.INFO: Acknowledgment sent {"connection_id":146875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:02:27] local.INFO: TCP Data received {"connection_id":147913,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:02:27] local.INFO: Processing buffer {"connection_id":147913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:02:27] local.INFO: IMEI packet received {"connection_id":147913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":147913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:02:28] local.INFO: TCP Data received {"connection_id":147913,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:02:28] local.INFO: Processing buffer {"connection_id":147913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:02:28] local.INFO: IMEI packet received {"connection_id":147913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":147913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:02:29] local.INFO: TCP Data received {"connection_id":147912,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:02:29] local.INFO: Processing buffer {"connection_id":147912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:02:29] local.INFO: IMEI packet received {"connection_id":147912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":147912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:02:32] local.INFO: TCP Data received {"connection_id":147913,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:02:32] local.INFO: Processing buffer {"connection_id":147913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:02:32] local.INFO: IMEI packet received {"connection_id":147913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":147913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:02:33] local.INFO: TCP Data received {"connection_id":147913,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc207cd18012d846e0005e824780008014e2e..."} 
[2026-08-02 16:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc207cd18012d846e0005e824780008014e2e..."} 
[2026-08-02 16:02:33] local.INFO: Processing buffer {"connection_id":147913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc207cd18012d846e0005e824780008014e2e..."} 
[2026-08-02 16:02:33] local.INFO: Packet analysis {"connection_id":147913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc207"} 
[2026-08-02 16:02:33] local.INFO: Extracted packet for processing {"connection_id":147913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc207"} 
[2026-08-02 16:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763653632,"raw_latitude":99099768,"longitude_deg":76.3653632,"latitude_deg":9.9099768,"altitude":8,"angle":334,"satellites":46,"speed":30,"hex_longitude":"2d846e00","hex_latitude":"05e82478","is_valid_coordinates":true} 
[2026-08-02 16:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130676736001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114007445856059392,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8899816525758576640,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785666719000,"timestamp_ms":1785666719000,"timestamp_seconds":1785666719,"priority":1,"record_length":96,"hex_timestamp":"0000019fc207cd18"} 
[2026-08-02 16:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:02: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-08-02 16:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617285,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3255217160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6425792376471552010,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13448483,"corrected_to":0} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635115786482979,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":891486414,"corrected_to":0} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2147870555,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026193321488757160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3879122944,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-2936340467028066298,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.WARNING: Large IO value detected {"io_id":79,"raw_value":6755532585173233,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:33] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,18,88,24,241,157,16,8,159,103,45,64,226,43,10,66,68,193,9,44,35,7,37,1,240,203,227,194,231,4,113,205,40,215,198,80,239,52,2,149,5,33,132,79],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":203,"original":13448483,"validated":0},{"io_id":205,"original":891486414,"validated":0}]} 
[2026-08-02 16:02:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504774986471112704,"timestamp_seconds":504774986471112.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130676736001,"66":13526,"18":206,"88":20224,"24":30,"16":114007445856059392,"45":-8899816525758576640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,88,24,16,45]} 
[2026-08-02 16:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130676736001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:02:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-02 16:02:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 16:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114007445856059392,"km_value":114007445856059.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8899816525758576640,"description":"Unknown IO ID 45"} 
[2026-08-02 16:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130676736001,"power":13526,"unknown_18":206,"unknown_88":20224,"ignition":30,"odometer":null,"unknown_45":-8899816525758576640}} 
[2026-08-02 16:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":147913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:02:33] local.INFO: GPS data processed {"connection_id":147913,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:02:33] local.INFO: Acknowledgment sent {"connection_id":147913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:02:34] local.INFO: TCP Data received {"connection_id":147912,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:02:34] local.INFO: Processing buffer {"connection_id":147912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:02:34] local.INFO: IMEI packet received {"connection_id":147912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":147912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:02:35] local.INFO: TCP Data received {"connection_id":147912,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:02:35] local.INFO: Processing buffer {"connection_id":147912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:02:35] local.INFO: Packet analysis {"connection_id":147912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:02:35] local.INFO: Extracted packet for processing {"connection_id":147912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:02:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130554368001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785666529000,"timestamp_ms":1785666529000,"timestamp_seconds":1785666529,"priority":1,"record_length":96,"hex_timestamp":"0000019fc204e6e8"} 
[2026-08-02 16:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-02 16:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130554368001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130554368001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:02:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:02:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:02:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130554368001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":147912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:02:35] local.INFO: GPS data processed {"connection_id":147912,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:02:35] local.INFO: Acknowledgment sent {"connection_id":147912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:02:35] local.INFO: TCP Data received {"connection_id":146876,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20684f8012d1824800721b790004c01432f..."} 
[2026-08-02 16:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20684f8012d1824800721b790004c01432f..."} 
[2026-08-02 16:02:35] local.INFO: Processing buffer {"connection_id":146876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20684f8012d1824800721b790004c01432f..."} 
[2026-08-02 16:02:35] local.INFO: Packet analysis {"connection_id":146876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc206"} 
[2026-08-02 16:02:35] local.INFO: Extracted packet for processing {"connection_id":146876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc206"} 
[2026-08-02 16:02:35] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130653184001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785666635000,"timestamp_ms":1785666635000,"timestamp_seconds":1785666635,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20684f8"} 
[2026-08-02 16:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 16:02: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-08-02 16:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130653184001,"66":13080,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130653184001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:02:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:02:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130653184001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":146876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:02:36] local.INFO: GPS data processed {"connection_id":146876,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:02:36] local.INFO: Acknowledgment sent {"connection_id":146876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:02:40] local.INFO: TCP Data received {"connection_id":147912,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:02:40] local.INFO: Processing buffer {"connection_id":147912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:02:40] local.INFO: Packet analysis {"connection_id":147912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:02:40] local.INFO: Extracted packet for processing {"connection_id":147912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:02:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130554368001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785666529000,"timestamp_ms":1785666529000,"timestamp_seconds":1785666529,"priority":1,"record_length":96,"hex_timestamp":"0000019fc204e6e8"} 
[2026-08-02 16:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-02 16:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130554368001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130554368001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:02:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:02:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:02:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130554368001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":147912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:02:40] local.INFO: GPS data processed {"connection_id":147912,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:02:40] local.INFO: Acknowledgment sent {"connection_id":147912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:02:58] local.INFO: TCP Data received {"connection_id":146654,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:02:58] local.INFO: Processing buffer {"connection_id":146654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:02:58] local.INFO: IMEI packet received {"connection_id":146654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":146654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:02:58] local.INFO: TCP Data received {"connection_id":146654,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:02:58] local.INFO: Processing buffer {"connection_id":146654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:02:58] local.INFO: IMEI packet received {"connection_id":146654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":146654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:03:04] local.INFO: TCP Data received {"connection_id":146654,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:03:04] local.INFO: Processing buffer {"connection_id":146654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:03:04] local.INFO: IMEI packet received {"connection_id":146654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":146654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:03:04] local.INFO: TCP Data received {"connection_id":147913,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20807b0012d845e4005e844f8000b014e2e..."} 
[2026-08-02 16:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20807b0012d845e4005e844f8000b014e2e..."} 
[2026-08-02 16:03:04] local.INFO: Processing buffer {"connection_id":147913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20807b0012d845e4005e844f8000b014e2e..."} 
[2026-08-02 16:03:04] local.INFO: Packet analysis {"connection_id":147913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:03:04] local.INFO: Extracted packet for processing {"connection_id":147913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763649600,"raw_latitude":99108088,"longitude_deg":76.36496,"latitude_deg":9.9108088,"altitude":11,"angle":334,"satellites":46,"speed":24,"hex_longitude":"2d845e40","hex_latitude":"05e844f8","is_valid_coordinates":true} 
[2026-08-02 16:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130680064001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114007892532658176,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8904179387895351296,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666734000,"timestamp_ms":1785666734000,"timestamp_seconds":1785666734,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20807b0"} 
[2026-08-02 16:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 16:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130680064001,"66":13602,"18":206,"88":20224,"24":24,"16":114007892532658176,"45":-8904179387895351296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,88,24,16,45]} 
[2026-08-02 16:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130680064001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:03:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-02 16:03:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 16:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114007892532658176,"km_value":114007892532658.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8904179387895351296,"description":"Unknown IO ID 45"} 
[2026-08-02 16:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130680064001,"power":13602,"unknown_18":206,"unknown_88":20224,"ignition":24,"odometer":null,"unknown_45":-8904179387895351296}} 
[2026-08-02 16:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":147913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:03:04] local.INFO: GPS data processed {"connection_id":147913,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:03:04] local.INFO: Acknowledgment sent {"connection_id":147913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:03:05] local.INFO: TCP Data received {"connection_id":146654,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc206d700012d1824800721b790004c01432f..."} 
[2026-08-02 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc206d700012d1824800721b790004c01432f..."} 
[2026-08-02 16:03:05] local.INFO: Processing buffer {"connection_id":146654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc206d700012d1824800721b790004c01432f..."} 
[2026-08-02 16:03:05] local.INFO: Packet analysis {"connection_id":146654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc206"} 
[2026-08-02 16:03:05] local.INFO: Extracted packet for processing {"connection_id":146654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc206"} 
[2026-08-02 16:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130658560001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785666656000,"timestamp_ms":1785666656000,"timestamp_seconds":1785666656,"priority":1,"record_length":96,"hex_timestamp":"0000019fc206d700"} 
[2026-08-02 16:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 16:03: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-08-02 16:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130658560001,"66":13048,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130658560001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:03:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130658560001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":146654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:03:05] local.INFO: GPS data processed {"connection_id":146654,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:03:05] local.INFO: Acknowledgment sent {"connection_id":146654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:03:24] local.INFO: TCP Data received {"connection_id":149215,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:03:24] local.INFO: Processing buffer {"connection_id":149215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:03:24] local.INFO: IMEI packet received {"connection_id":149215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":149215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:03:29] local.INFO: TCP Data received {"connection_id":149215,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:03:29] local.INFO: Processing buffer {"connection_id":149215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:03:29] local.INFO: IMEI packet received {"connection_id":149215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":149215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:03:30] local.INFO: TCP Data received {"connection_id":149215,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:03:30] local.INFO: Processing buffer {"connection_id":149215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:03:30] local.INFO: Packet analysis {"connection_id":149215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:03:30] local.INFO: Extracted packet for processing {"connection_id":149215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:03:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130554368001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785666529000,"timestamp_ms":1785666529000,"timestamp_seconds":1785666529,"priority":1,"record_length":96,"hex_timestamp":"0000019fc204e6e8"} 
[2026-08-02 16:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-02 16:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130554368001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130554368001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:03:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:03:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130554368001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":149215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:03:30] local.INFO: GPS data processed {"connection_id":149215,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:03:30] local.INFO: Acknowledgment sent {"connection_id":149215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:03:35] local.INFO: TCP Data received {"connection_id":146655,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:03:35] local.INFO: Processing buffer {"connection_id":146655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:03:35] local.INFO: IMEI packet received {"connection_id":146655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":146655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:03:36] local.INFO: TCP Data received {"connection_id":146655,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:03:36] local.INFO: Processing buffer {"connection_id":146655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:03:36] local.INFO: IMEI packet received {"connection_id":146655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":146655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:03:36] local.INFO: TCP Data received {"connection_id":146654,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2072908012d1824800721b790004c01432f..."} 
[2026-08-02 16:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2072908012d1824800721b790004c01432f..."} 
[2026-08-02 16:03:36] local.INFO: Processing buffer {"connection_id":146654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2072908012d1824800721b790004c01432f..."} 
[2026-08-02 16:03:36] local.INFO: Packet analysis {"connection_id":146654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc207"} 
[2026-08-02 16:03:36] local.INFO: Extracted packet for processing {"connection_id":146654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc207"} 
[2026-08-02 16:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130663936001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785666677000,"timestamp_ms":1785666677000,"timestamp_seconds":1785666677,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2072908"} 
[2026-08-02 16:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-02 16:03: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-08-02 16:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130663936001,"66":12993,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130663936001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:03:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130663936001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":146654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:03:36] local.INFO: GPS data processed {"connection_id":146654,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:03:36] local.INFO: Acknowledgment sent {"connection_id":146654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:03:37] local.INFO: TCP Data received {"connection_id":146655,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:03:37] local.INFO: Processing buffer {"connection_id":146655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:03:37] local.INFO: IMEI packet received {"connection_id":146655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":146655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:03:38] local.INFO: TCP Data received {"connection_id":146655,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:03:38] local.INFO: Processing buffer {"connection_id":146655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:03:38] local.INFO: IMEI packet received {"connection_id":146655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":146655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:03:39] local.INFO: TCP Data received {"connection_id":146655,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2083690012d844e8005e865d0000a014e2b..."} 
[2026-08-02 16:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2083690012d844e8005e865d0000a014e2b..."} 
[2026-08-02 16:03:39] local.INFO: Processing buffer {"connection_id":146655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2083690012d844e8005e865d0000a014e2b..."} 
[2026-08-02 16:03:39] local.INFO: Packet analysis {"connection_id":146655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:03:39] local.INFO: Extracted packet for processing {"connection_id":146655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763645568,"raw_latitude":99116496,"longitude_deg":76.3645568,"latitude_deg":9.9116496,"altitude":10,"angle":334,"satellites":43,"speed":33,"hex_longitude":"2d844e80","hex_latitude":"05e865d0","is_valid_coordinates":true} 
[2026-08-02 16:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130683904001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114008343504224256,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8908612618776414208,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785666746000,"timestamp_ms":1785666746000,"timestamp_seconds":1785666746,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2083690"} 
[2026-08-02 16:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:03: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-08-02 16:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-02 16:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130683904001,"66":13526,"18":206,"88":20224,"24":33,"16":114008343504224256,"45":-8908612618776414208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,88,24,16,45]} 
[2026-08-02 16:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130683904001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:03:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-02 16:03:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 16:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114008343504224256,"km_value":114008343504224.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8908612618776414208,"description":"Unknown IO ID 45"} 
[2026-08-02 16:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130683904001,"power":13526,"unknown_18":206,"unknown_88":20224,"ignition":33,"odometer":null,"unknown_45":-8908612618776414208}} 
[2026-08-02 16:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":146655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:03:39] local.INFO: GPS data processed {"connection_id":146655,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:03:39] local.INFO: Acknowledgment sent {"connection_id":146655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:03:43] local.INFO: TCP Data received {"connection_id":146655,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2086958012d843e0005e885e8000b014b2c..."} 
[2026-08-02 16:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2086958012d843e0005e885e8000b014b2c..."} 
[2026-08-02 16:03:43] local.INFO: Processing buffer {"connection_id":146655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2086958012d843e0005e885e8000b014b2c..."} 
[2026-08-02 16:03:43] local.INFO: Packet analysis {"connection_id":146655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:03:43] local.INFO: Extracted packet for processing {"connection_id":146655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:03:43] local.INFO: GPS Element Parsed {"raw_longitude":763641344,"raw_latitude":99124712,"longitude_deg":76.3641344,"latitude_deg":9.9124712,"altitude":11,"angle":331,"satellites":44,"speed":24,"hex_longitude":"2d843e00","hex_latitude":"05e885e8","is_valid_coordinates":true} 
[2026-08-02 16:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130686976001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114008790180823040,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8913045849657454592,"note":"Value kept but may cause issues"} 
[2026-08-02 16:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785666759000,"timestamp_ms":1785666759000,"timestamp_seconds":1785666759,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2086958"} 
[2026-08-02 16:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 16:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130686976001,"66":13580,"18":206,"88":20224,"24":24,"16":114008790180823040,"45":-8913045849657454592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,88,24,16,45]} 
[2026-08-02 16:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130686976001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:03:43] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-02 16:03:43] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 16:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114008790180823040,"km_value":114008790180823.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8913045849657454592,"description":"Unknown IO ID 45"} 
[2026-08-02 16:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130686976001,"power":13580,"unknown_18":206,"unknown_88":20224,"ignition":24,"odometer":null,"unknown_45":-8913045849657454592}} 
[2026-08-02 16:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":146655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:03:43] local.INFO: GPS data processed {"connection_id":146655,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:03:43] local.INFO: Acknowledgment sent {"connection_id":146655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:03:59] local.INFO: TCP Data received {"connection_id":147914,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:03:59] local.INFO: Processing buffer {"connection_id":147914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:03:59] local.INFO: IMEI packet received {"connection_id":147914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":147914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:04:00] local.INFO: TCP Data received {"connection_id":147914,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:04:00] local.INFO: Processing buffer {"connection_id":147914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:04:00] local.INFO: IMEI packet received {"connection_id":147914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":147914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:04:02] local.INFO: TCP Data received {"connection_id":149215,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:04:02] local.INFO: Processing buffer {"connection_id":149215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc204e6e8012cc330c007685958005800c52b..."} 
[2026-08-02 16:04:02] local.INFO: Packet analysis {"connection_id":149215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:04:02] local.INFO: Extracted packet for processing {"connection_id":149215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc204"} 
[2026-08-02 16:04:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130554368001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785666529000,"timestamp_ms":1785666529000,"timestamp_seconds":1785666529,"priority":1,"record_length":96,"hex_timestamp":"0000019fc204e6e8"} 
[2026-08-02 16:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-02 16:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130554368001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130554368001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:04:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:04:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:04:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130554368001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":149215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:04:02] local.INFO: GPS data processed {"connection_id":149215,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:04:02] local.INFO: Acknowledgment sent {"connection_id":149215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:04:04] local.INFO: TCP Data received {"connection_id":147914,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:04:04] local.INFO: Processing buffer {"connection_id":147914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:04:04] local.INFO: IMEI packet received {"connection_id":147914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":147914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:04:04] local.INFO: TCP Data received {"connection_id":147914,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2077b10012d1824800721b790004c01432e..."} 
[2026-08-02 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2077b10012d1824800721b790004c01432e..."} 
[2026-08-02 16:04:04] local.INFO: Processing buffer {"connection_id":147914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2077b10012d1824800721b790004c01432e..."} 
[2026-08-02 16:04:04] local.INFO: Packet analysis {"connection_id":147914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc207"} 
[2026-08-02 16:04:04] local.INFO: Extracted packet for processing {"connection_id":147914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc207"} 
[2026-08-02 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":46,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130669312001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666698000,"timestamp_ms":1785666698000,"timestamp_seconds":1785666698,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2077b10"} 
[2026-08-02 16:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 16:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130669312001,"66":13004,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130669312001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:04:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130669312001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":147914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:04:04] local.INFO: GPS data processed {"connection_id":147914,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:04:04] local.INFO: Acknowledgment sent {"connection_id":147914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:04:09] local.INFO: TCP Data received {"connection_id":147914,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc207cd18012d1824800721b790004c01432e..."} 
[2026-08-02 16:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc207cd18012d1824800721b790004c01432e..."} 
[2026-08-02 16:04:09] local.INFO: Processing buffer {"connection_id":147914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc207cd18012d1824800721b790004c01432e..."} 
[2026-08-02 16:04:09] local.INFO: Packet analysis {"connection_id":147914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc207"} 
[2026-08-02 16:04:09] local.INFO: Extracted packet for processing {"connection_id":147914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc207"} 
[2026-08-02 16:04:09] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":46,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130674688001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785666719000,"timestamp_ms":1785666719000,"timestamp_seconds":1785666719,"priority":1,"record_length":96,"hex_timestamp":"0000019fc207cd18"} 
[2026-08-02 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-08-02 16:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":204,"data_length":795,"current_offset":136} 
[2026-08-02 16:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130674688001,"66":12961,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130674688001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:04:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:04:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130674688001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":147914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:04:09] local.INFO: GPS data processed {"connection_id":147914,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:04:09] local.INFO: Acknowledgment sent {"connection_id":147914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:04:24] local.INFO: TCP Data received {"connection_id":149216,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:04:24] local.INFO: Processing buffer {"connection_id":149216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:04:24] local.INFO: IMEI packet received {"connection_id":149216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":149216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:04:28] local.INFO: TCP Data received {"connection_id":146877,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:04:28] local.INFO: Processing buffer {"connection_id":146877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:04:28] local.INFO: IMEI packet received {"connection_id":146877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":146877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:04:28] local.INFO: TCP Data received {"connection_id":149216,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:04:28] local.INFO: Processing buffer {"connection_id":149216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:04:28] local.INFO: IMEI packet received {"connection_id":149216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":149216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:04:28] local.INFO: TCP Data received {"connection_id":146877,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:04:28] local.INFO: Processing buffer {"connection_id":146877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:04:28] local.INFO: IMEI packet received {"connection_id":146877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":146877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:04:29] local.INFO: TCP Data received {"connection_id":149216,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:04:29] local.INFO: Processing buffer {"connection_id":149216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:04:29] local.INFO: Packet analysis {"connection_id":149216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:04:29] local.INFO: Extracted packet for processing {"connection_id":149216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:04:29] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130631424001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785666830000,"timestamp_ms":1785666830000,"timestamp_seconds":1785666830,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2097eb0"} 
[2026-08-02 16:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130631424001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130631424001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:04:29] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:04:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:04:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130631424001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":149216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:04:29] local.INFO: GPS data processed {"connection_id":149216,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:04:29] local.INFO: Acknowledgment sent {"connection_id":149216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:04:32] local.INFO: TCP Data received {"connection_id":146877,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:04:32] local.INFO: Processing buffer {"connection_id":146877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:04:32] local.INFO: IMEI packet received {"connection_id":146877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":146877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:04:33] local.INFO: TCP Data received {"connection_id":146877,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2088c80012d84328005e89d98000e01572c..."} 
[2026-08-02 16:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2088c80012d84328005e89d98000e01572c..."} 
[2026-08-02 16:04:33] local.INFO: Processing buffer {"connection_id":146877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2088c80012d84328005e89d98000e01572c..."} 
[2026-08-02 16:04:33] local.INFO: Packet analysis {"connection_id":146877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:04:33] local.INFO: Extracted packet for processing {"connection_id":146877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763638400,"raw_latitude":99130776,"longitude_deg":76.36384,"latitude_deg":9.9130776,"altitude":14,"angle":343,"satellites":44,"speed":33,"hex_longitude":"2d843280","hex_latitude":"05e89d98","is_valid_coordinates":true} 
[2026-08-02 16:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130690304001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114009116598337536,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8917690186771077120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785666768000,"timestamp_ms":1785666768000,"timestamp_seconds":1785666768,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2088c80"} 
[2026-08-02 16:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617287,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3255256160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2222817285,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1913782478,"corrected_to":0} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5417267607931715594,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634742124328227,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2281778564,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826855905964456,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3888195584,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-5962759414250209272,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.WARNING: Large IO value detected {"io_id":79,"raw_value":6755605599617265,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:33] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,18,88,24,241,157,16,10,159,54,45,128,101,43,66,9,7,64,68,11,46,205,1,240,214,227,194,232,4,113,29,103,140,239,52,2,149,5,42,132,79],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1913782478,"validated":0}]} 
[2026-08-02 16:04:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792997661746135040,"timestamp_seconds":792997661746135.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130690304001,"66":13580,"19":206,"88":20224,"24":33,"16":114009116598337536,"45":-8917690186771077120},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-08-02 16:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130690304001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:04:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-02 16:04:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 16:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114009116598337536,"km_value":114009116598337.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8917690186771077120,"description":"Unknown IO ID 45"} 
[2026-08-02 16:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130690304001,"power":13580,"unknown_19":206,"unknown_88":20224,"ignition":33,"odometer":null,"unknown_45":-8917690186771077120}} 
[2026-08-02 16:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":146877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:04:33] local.INFO: GPS data processed {"connection_id":146877,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:04:33] local.INFO: Acknowledgment sent {"connection_id":146877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:04:37] local.INFO: TCP Data received {"connection_id":146877,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc208b778012d842ac005e8c280000c015f2b..."} 
[2026-08-02 16:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc208b778012d842ac005e8c280000c015f2b..."} 
[2026-08-02 16:04:37] local.INFO: Processing buffer {"connection_id":146877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc208b778012d842ac005e8c280000c015f2b..."} 
[2026-08-02 16:04:37] local.INFO: Packet analysis {"connection_id":146877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:04:37] local.INFO: Extracted packet for processing {"connection_id":146877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763636416,"raw_latitude":99140224,"longitude_deg":76.3636416,"latitude_deg":9.9140224,"altitude":12,"angle":351,"satellites":43,"speed":33,"hex_longitude":"2d842ac0","hex_latitude":"05e8c280","is_valid_coordinates":true} 
[2026-08-02 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130692608001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114009584749772800,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8920927149001697280,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785666779000,"timestamp_ms":1785666779000,"timestamp_seconds":1785666779,"priority":1,"record_length":96,"hex_timestamp":"0000019fc208b778"} 
[2026-08-02 16:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:04: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-08-02 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617287,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3255265160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5488762226246418442,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959372818,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1913782478,"corrected_to":0} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2147870722,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3890352128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-7187738512347103223,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675162924038540888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.WARNING: Large IO value detected {"io_id":79,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:37] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,19,88,24,241,157,16,10,159,105,45,133,11,44,66,18,54,128,101,43,9,7,64,1,240,34,227,194,232,4,113,205,30,154,125,72,239,53,2,149,5,8,37,132,52,79],"length":577,"final_offset":707,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1913782478,"validated":0}]} 
[2026-08-02 16:04:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009183638000041984,"timestamp_seconds":1009183638000042.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130692608001,"66":13580,"19":206,"88":20224,"24":33,"16":114009584749772800,"45":-8920927149001697280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-08-02 16:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130692608001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:04:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-02 16:04:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-08-02 16:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114009584749772800,"km_value":114009584749772.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8920927149001697280,"description":"Unknown IO ID 45"} 
[2026-08-02 16:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130692608001,"power":13580,"unknown_19":206,"unknown_88":20224,"ignition":33,"odometer":null,"unknown_45":-8920927149001697280}} 
[2026-08-02 16:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":146877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:04:38] local.INFO: GPS data processed {"connection_id":146877,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:04:38] local.INFO: Acknowledgment sent {"connection_id":146877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:04:40] local.INFO: TCP Data received {"connection_id":147914,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2081f20012d1824800721b790004c01432d..."} 
[2026-08-02 16:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2081f20012d1824800721b790004c01432d..."} 
[2026-08-02 16:04:40] local.INFO: Processing buffer {"connection_id":147914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2081f20012d1824800721b790004c01432d..."} 
[2026-08-02 16:04:40] local.INFO: Packet analysis {"connection_id":147914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:04:40] local.INFO: Extracted packet for processing {"connection_id":147914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:04:40] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130680064001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785666740000,"timestamp_ms":1785666740000,"timestamp_seconds":1785666740,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2081f20"} 
[2026-08-02 16:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-02 16:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130680064001,"66":12961,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130680064001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:04:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:04:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130680064001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":147914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:04:40] local.INFO: GPS data processed {"connection_id":147914,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:04:40] local.INFO: Acknowledgment sent {"connection_id":147914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:04:59] local.INFO: TCP Data received {"connection_id":149217,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:04:59] local.INFO: Processing buffer {"connection_id":149217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:04:59] local.INFO: IMEI packet received {"connection_id":149217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":149217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:05:02] local.INFO: TCP Data received {"connection_id":149216,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:05:02] local.INFO: Processing buffer {"connection_id":149216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:05:02] local.INFO: Packet analysis {"connection_id":149216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:05:02] local.INFO: Extracted packet for processing {"connection_id":149216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:05:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130631424001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785666830000,"timestamp_ms":1785666830000,"timestamp_seconds":1785666830,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2097eb0"} 
[2026-08-02 16:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130631424001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130631424001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:05:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:05:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:05:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130631424001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":149216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:05:02] local.INFO: GPS data processed {"connection_id":149216,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:05:02] local.INFO: Acknowledgment sent {"connection_id":149216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:05:03] local.INFO: TCP Data received {"connection_id":149217,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:05:03] local.INFO: Processing buffer {"connection_id":149217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:05:03] local.INFO: IMEI packet received {"connection_id":149217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":149217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:05:04] local.INFO: TCP Data received {"connection_id":149217,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2087128012d1824800721b790004c01432e..."} 
[2026-08-02 16:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2087128012d1824800721b790004c01432e..."} 
[2026-08-02 16:05:04] local.INFO: Processing buffer {"connection_id":149217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2087128012d1824800721b790004c01432e..."} 
[2026-08-02 16:05:04] local.INFO: Packet analysis {"connection_id":149217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:05:04] local.INFO: Extracted packet for processing {"connection_id":149217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":46,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130685440001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666761000,"timestamp_ms":1785666761000,"timestamp_seconds":1785666761,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2087128"} 
[2026-08-02 16:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-02 16:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130685440001,"66":12939,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130685440001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:05:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130685440001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":149217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:05:04] local.INFO: GPS data processed {"connection_id":149217,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:05:04] local.INFO: Acknowledgment sent {"connection_id":149217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:05:09] local.INFO: TCP Data received {"connection_id":146877,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20a8468012d83920005ea5a90000b01152d..."} 
[2026-08-02 16:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20a8468012d83920005ea5a90000b01152d..."} 
[2026-08-02 16:05:09] local.INFO: Processing buffer {"connection_id":146877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20a8468012d83920005ea5a90000b01152d..."} 
[2026-08-02 16:05:09] local.INFO: Packet analysis {"connection_id":146877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20a"} 
[2026-08-02 16:05:09] local.INFO: Extracted packet for processing {"connection_id":146877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20a"} 
[2026-08-02 16:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763597312,"raw_latitude":99244688,"longitude_deg":76.3597312,"latitude_deg":9.9244688,"altitude":11,"angle":277,"satellites":45,"speed":19,"hex_longitude":"2d839200","hex_latitude":"05ea5a90","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130724864001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114015125257584640,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8964203926641907712,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785666897000,"timestamp_ms":1785666897000,"timestamp_seconds":1785666897,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20a8468"} 
[2026-08-02 16:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-02 16:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130724864001,"66":13428,"76":206,"87":11264,"24":19,"16":114015125257584640,"45":-8964203926641907712},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,87,24,16,45]} 
[2026-08-02 16:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130724864001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:05:09] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-02 16:05:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114015125257584640,"km_value":114015125257584.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8964203926641907712,"description":"Unknown IO ID 45"} 
[2026-08-02 16:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130724864001,"power":13428,"unknown_76":206,"unknown_87":11264,"ignition":19,"odometer":null,"unknown_45":-8964203926641907712}} 
[2026-08-02 16:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":146877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:05:09] local.INFO: GPS data processed {"connection_id":146877,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:05:09] local.INFO: Acknowledgment sent {"connection_id":146877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:05:28] local.INFO: TCP Data received {"connection_id":146878,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:05:28] local.INFO: Processing buffer {"connection_id":146878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:05:28] local.INFO: IMEI packet received {"connection_id":146878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":146878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:05:29] local.INFO: TCP Data received {"connection_id":146656,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:05:29] local.INFO: Processing buffer {"connection_id":146656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:05:29] local.INFO: IMEI packet received {"connection_id":146656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":146656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:05:33] local.INFO: TCP Data received {"connection_id":146878,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:05:33] local.INFO: Processing buffer {"connection_id":146878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:05:33] local.INFO: IMEI packet received {"connection_id":146878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":146878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:05:34] local.INFO: TCP Data received {"connection_id":146878,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20a8c38012d838ec005ea5a68000c01072d..."} 
[2026-08-02 16:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20a8c38012d838ec005ea5a68000c01072d..."} 
[2026-08-02 16:05:34] local.INFO: Processing buffer {"connection_id":146878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20a8c38012d838ec005ea5a68000c01072d..."} 
[2026-08-02 16:05:34] local.INFO: Packet analysis {"connection_id":146878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20a"} 
[2026-08-02 16:05:34] local.INFO: Extracted packet for processing {"connection_id":146878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20a"} 
[2026-08-02 16:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763596480,"raw_latitude":99244648,"longitude_deg":76.359648,"latitude_deg":9.9244648,"altitude":12,"angle":263,"satellites":45,"speed":16,"hex_longitude":"2d838ec0","hex_latitude":"05ea5a68","is_valid_coordinates":true} 
[2026-08-02 16:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130725632001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114015163912290304,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8966103882734596096,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785666899000,"timestamp_ms":1785666899000,"timestamp_seconds":1785666899,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20a8c38"} 
[2026-08-02 16:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:05: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-08-02 16: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 16:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:05: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-08-02 16:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130725632001,"66":13276,"76":206,"87":11264,"24":16,"16":114015163912290304,"45":-8966103882734596096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,87,24,16,45]} 
[2026-08-02 16:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130725632001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:05:34] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-02 16:05:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114015163912290304,"km_value":114015163912290.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8966103882734596096,"description":"Unknown IO ID 45"} 
[2026-08-02 16:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130725632001,"power":13276,"unknown_76":206,"unknown_87":11264,"ignition":16,"odometer":null,"unknown_45":-8966103882734596096}} 
[2026-08-02 16:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":146878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:05:34] local.INFO: GPS data processed {"connection_id":146878,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:05:34] local.INFO: Acknowledgment sent {"connection_id":146878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:05:34] local.INFO: TCP Data received {"connection_id":146656,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:05:34] local.INFO: Processing buffer {"connection_id":146656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:05:34] local.INFO: IMEI packet received {"connection_id":146656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":146656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:05:35] local.INFO: TCP Data received {"connection_id":149217,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc208c330012d1824800721b790004c01432f..."} 
[2026-08-02 16:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc208c330012d1824800721b790004c01432f..."} 
[2026-08-02 16:05:35] local.INFO: Processing buffer {"connection_id":149217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc208c330012d1824800721b790004c01432f..."} 
[2026-08-02 16:05:35] local.INFO: Packet analysis {"connection_id":149217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:05:35] local.INFO: Extracted packet for processing {"connection_id":149217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc208"} 
[2026-08-02 16:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130690816001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785666782000,"timestamp_ms":1785666782000,"timestamp_seconds":1785666782,"priority":1,"record_length":96,"hex_timestamp":"0000019fc208c330"} 
[2026-08-02 16:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-02 16:05: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-08-02 16:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130690816001,"66":12885,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130690816001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:05:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130690816001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":149217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:05:35] local.INFO: GPS data processed {"connection_id":149217,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:05:35] local.INFO: Acknowledgment sent {"connection_id":149217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:05:35] local.INFO: TCP Data received {"connection_id":146656,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:05:35] local.INFO: Processing buffer {"connection_id":146656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:05:35] local.INFO: Packet analysis {"connection_id":146656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:05:35] local.INFO: Extracted packet for processing {"connection_id":146656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:05:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130631424001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785666830000,"timestamp_ms":1785666830000,"timestamp_seconds":1785666830,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2097eb0"} 
[2026-08-02 16:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130631424001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130631424001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:05:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:05:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:05:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130631424001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":146656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:05:35] local.INFO: GPS data processed {"connection_id":146656,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:05:35] local.INFO: Acknowledgment sent {"connection_id":146656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:05:40] local.INFO: TCP Data received {"connection_id":146656,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:05:40] local.INFO: Processing buffer {"connection_id":146656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:05:40] local.INFO: Packet analysis {"connection_id":146656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:05:40] local.INFO: Extracted packet for processing {"connection_id":146656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:05:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130631424001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785666830000,"timestamp_ms":1785666830000,"timestamp_seconds":1785666830,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2097eb0"} 
[2026-08-02 16:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16: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-08-02 16: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":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130631424001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130631424001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:05:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:05:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:05:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130631424001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":146656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:05:40] local.INFO: GPS data processed {"connection_id":146656,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:05:40] local.INFO: Acknowledgment sent {"connection_id":146656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:05:58] local.INFO: TCP Data received {"connection_id":147915,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:05:58] local.INFO: Processing buffer {"connection_id":147915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:05:58] local.INFO: IMEI packet received {"connection_id":147915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":147915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:06:04] local.INFO: TCP Data received {"connection_id":147915,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:06:04] local.INFO: Processing buffer {"connection_id":147915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:06:04] local.INFO: IMEI packet received {"connection_id":147915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":147915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:06:04] local.INFO: TCP Data received {"connection_id":146878,"ip":"42.106.6.32","data_length":483,"data_hex":"00000000000001d78e060000019fc20a9408012d838c4005ea59c8000c00fa2e..."} 
[2026-08-02 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146878,"packet_length":483,"packet_hex":"00000000000001d78e060000019fc20a9408012d838c4005ea59c8000c00fa2e..."} 
[2026-08-02 16:06:04] local.INFO: Processing buffer {"connection_id":146878,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019fc20a9408012d838c4005ea59c8000c00fa2e..."} 
[2026-08-02 16:06:04] local.INFO: Packet analysis {"connection_id":146878,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019fc20a"} 
[2026-08-02 16:06:04] local.INFO: Extracted packet for processing {"connection_id":146878,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019fc20a"} 
[2026-08-02 16:06:04] local.INFO: GPS Element Parsed {"raw_longitude":763595840,"raw_latitude":99244488,"longitude_deg":76.359584,"latitude_deg":9.9244488,"altitude":12,"angle":250,"satellites":46,"speed":10,"hex_longitude":"2d838c40","hex_latitude":"05ea59c8","is_valid_coordinates":true} 
[2026-08-02 16:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-08-02 16:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130726144001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114015198272028672,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8967018676408915968,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666901000,"timestamp_ms":1785666901000,"timestamp_seconds":1785666901,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20a9408"} 
[2026-08-02 16:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:06: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-08-02 16:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":483,"current_offset":136} 
[2026-08-02 16:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:06:04] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146878,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-02 16:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130726144001,"66":13374,"76":206,"87":11264,"24":10,"16":114015198272028672,"45":-8967018676408915968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,87,24,16,45]} 
[2026-08-02 16:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130726144001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:06:04] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-02 16:06:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114015198272028672,"km_value":114015198272028.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8967018676408915968,"description":"Unknown IO ID 45"} 
[2026-08-02 16:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130726144001,"power":13374,"unknown_76":206,"unknown_87":11264,"ignition":10,"odometer":null,"unknown_45":-8967018676408915968}} 
[2026-08-02 16:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":146878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:06:04] local.INFO: GPS data processed {"connection_id":146878,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:06:04] local.INFO: Acknowledgment sent {"connection_id":146878,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:06:04] local.INFO: TCP Data received {"connection_id":147915,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2091538012d1824800721b790004c01432f..."} 
[2026-08-02 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2091538012d1824800721b790004c01432f..."} 
[2026-08-02 16:06:04] local.INFO: Processing buffer {"connection_id":147915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2091538012d1824800721b790004c01432f..."} 
[2026-08-02 16:06:04] local.INFO: Packet analysis {"connection_id":147915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:06:04] local.INFO: Extracted packet for processing {"connection_id":147915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130696192001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06: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-08-02 16:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666803000,"timestamp_ms":1785666803000,"timestamp_seconds":1785666803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2091538"} 
[2026-08-02 16:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 16:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130696192001,"66":12841,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130696192001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:06:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130696192001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":147915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:06:05] local.INFO: GPS data processed {"connection_id":147915,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:06:05] local.INFO: Acknowledgment sent {"connection_id":147915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:06:24] local.INFO: TCP Data received {"connection_id":147916,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:06:24] local.INFO: Processing buffer {"connection_id":147916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:06:24] local.INFO: IMEI packet received {"connection_id":147916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":147916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:06:25] local.INFO: TCP Data received {"connection_id":146879,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:06:25] local.INFO: Processing buffer {"connection_id":146879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:06:25] local.INFO: IMEI packet received {"connection_id":146879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":146879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:06:28] local.INFO: TCP Data received {"connection_id":146879,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:06:28] local.INFO: Processing buffer {"connection_id":146879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:06:28] local.INFO: IMEI packet received {"connection_id":146879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":146879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:06:28] local.INFO: TCP Data received {"connection_id":146879,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:06:28] local.INFO: Processing buffer {"connection_id":146879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:06:28] local.INFO: IMEI packet received {"connection_id":146879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":146879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:06:29] local.INFO: TCP Data received {"connection_id":147916,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:06:29] local.INFO: Processing buffer {"connection_id":147916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:06:29] local.INFO: IMEI packet received {"connection_id":147916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":147916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:06:30] local.INFO: TCP Data received {"connection_id":147916,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:06:30] local.INFO: Processing buffer {"connection_id":147916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:06:30] local.INFO: Packet analysis {"connection_id":147916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:06:30] local.INFO: Extracted packet for processing {"connection_id":147916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130631424001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785666830000,"timestamp_ms":1785666830000,"timestamp_seconds":1785666830,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2097eb0"} 
[2026-08-02 16:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130631424001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130631424001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:06:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:06:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130631424001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":147916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:06:30] local.INFO: GPS data processed {"connection_id":147916,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:06:30] local.INFO: Acknowledgment sent {"connection_id":147916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:06:33] local.INFO: TCP Data received {"connection_id":146879,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:06:33] local.INFO: Processing buffer {"connection_id":146879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:06:33] local.INFO: IMEI packet received {"connection_id":146879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":146879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:06:33] local.INFO: TCP Data received {"connection_id":146879,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20bb900012d830a8005ea8a08000801552b..."} 
[2026-08-02 16:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20bb900012d830a8005ea8a08000801552b..."} 
[2026-08-02 16:06:33] local.INFO: Processing buffer {"connection_id":146879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20bb900012d830a8005ea8a08000801552b..."} 
[2026-08-02 16:06:33] local.INFO: Packet analysis {"connection_id":146879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20b"} 
[2026-08-02 16:06:33] local.INFO: Extracted packet for processing {"connection_id":146879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20b"} 
[2026-08-02 16:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763562624,"raw_latitude":99256840,"longitude_deg":76.3562624,"latitude_deg":9.925684,"altitude":8,"angle":341,"satellites":43,"speed":40,"hex_longitude":"2d830a80","hex_latitude":"05ea8a08","is_valid_coordinates":true} 
[2026-08-02 16:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130743296001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114017616338616320,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9001921573520160768,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785666976000,"timestamp_ms":1785666976000,"timestamp_seconds":1785666976,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20bb900"} 
[2026-08-02 16:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:06: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-08-02 16: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-02 16:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130743296001,"66":13124,"169":206,"87":11264,"24":40,"16":114017616338616320,"45":-9001921573520160768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,87,24,16,45]} 
[2026-08-02 16:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130743296001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:06:33] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 16:06:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114017616338616320,"km_value":114017616338616.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9001921573520160768,"description":"Unknown IO ID 45"} 
[2026-08-02 16:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130743296001,"power":13124,"unknown_169":206,"unknown_87":11264,"ignition":40,"odometer":null,"unknown_45":-9001921573520160768}} 
[2026-08-02 16:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":146879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:06:33] local.INFO: GPS data processed {"connection_id":146879,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:06:33] local.INFO: Acknowledgment sent {"connection_id":146879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:06:35] local.INFO: TCP Data received {"connection_id":147915,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2096740012d1824800721b790004c01432f..."} 
[2026-08-02 16:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2096740012d1824800721b790004c01432f..."} 
[2026-08-02 16:06:35] local.INFO: Processing buffer {"connection_id":147915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2096740012d1824800721b790004c01432f..."} 
[2026-08-02 16:06:35] local.INFO: Packet analysis {"connection_id":147915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:06:35] local.INFO: Extracted packet for processing {"connection_id":147915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:06:35] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130701568001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785666824000,"timestamp_ms":1785666824000,"timestamp_seconds":1785666824,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2096740"} 
[2026-08-02 16:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-02 16:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130701568001,"66":12863,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130701568001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:06:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:06:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130701568001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":147915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:06:36] local.INFO: GPS data processed {"connection_id":147915,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:06:36] local.INFO: Acknowledgment sent {"connection_id":147915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:06:58] local.INFO: TCP Data received {"connection_id":146880,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:06:58] local.INFO: Processing buffer {"connection_id":146880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:06:58] local.INFO: IMEI packet received {"connection_id":146880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":146880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:06:59] local.INFO: TCP Data received {"connection_id":146880,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:06:59] local.INFO: Processing buffer {"connection_id":146880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:06:59] local.INFO: IMEI packet received {"connection_id":146880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":146880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:07:04] local.INFO: TCP Data received {"connection_id":146880,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:07:04] local.INFO: Processing buffer {"connection_id":146880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:07:04] local.INFO: IMEI packet received {"connection_id":146880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":146880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:07:05] local.INFO: TCP Data received {"connection_id":146880,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc209b948012d1824800721b790004c01432e..."} 
[2026-08-02 16:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc209b948012d1824800721b790004c01432e..."} 
[2026-08-02 16:07:05] local.INFO: Processing buffer {"connection_id":146880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc209b948012d1824800721b790004c01432e..."} 
[2026-08-02 16:07:05] local.INFO: Packet analysis {"connection_id":146880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:07:05] local.INFO: Extracted packet for processing {"connection_id":146880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":46,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130706944001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785666845000,"timestamp_ms":1785666845000,"timestamp_seconds":1785666845,"priority":1,"record_length":96,"hex_timestamp":"0000019fc209b948"} 
[2026-08-02 16:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-02 16:07: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-08-02 16: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-08-02 16:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130706944001,"66":12841,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130706944001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:07:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130706944001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":146880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:07:05] local.INFO: GPS data processed {"connection_id":146880,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:07:05] local.INFO: Acknowledgment sent {"connection_id":146880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:07:07] local.INFO: TCP Data received {"connection_id":146879,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20bd840012d82fe8005eaac280007015d27..."} 
[2026-08-02 16:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20bd840012d82fe8005eaac280007015d27..."} 
[2026-08-02 16:07:07] local.INFO: Processing buffer {"connection_id":146879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20bd840012d82fe8005eaac280007015d27..."} 
[2026-08-02 16:07:07] local.INFO: Packet analysis {"connection_id":146879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20b"} 
[2026-08-02 16:07:07] local.INFO: Extracted packet for processing {"connection_id":146879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20b"} 
[2026-08-02 16:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763559552,"raw_latitude":99265576,"longitude_deg":76.3559552,"latitude_deg":9.9265576,"altitude":7,"angle":349,"satellites":39,"speed":45,"hex_longitude":"2d82fe80","hex_latitude":"05eaac28","is_valid_coordinates":true} 
[2026-08-02 16:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130745856001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114018067310182400,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9004243742075779072,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785666984000,"timestamp_ms":1785666984000,"timestamp_seconds":1785666984,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20bd840"} 
[2026-08-02 16:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:07: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-08-02 16:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-02 16:07: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-08-02 16:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130745856001,"66":13222,"169":206,"87":11264,"24":45,"16":114018067310182400,"45":-9004243742075779072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,87,24,16,45]} 
[2026-08-02 16:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130745856001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:07:07] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 16:07:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114018067310182400,"km_value":114018067310182.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9004243742075779072,"description":"Unknown IO ID 45"} 
[2026-08-02 16:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130745856001,"power":13222,"unknown_169":206,"unknown_87":11264,"ignition":45,"odometer":null,"unknown_45":-9004243742075779072}} 
[2026-08-02 16:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":146879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:07:07] local.INFO: GPS data processed {"connection_id":146879,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:07:07] local.INFO: Acknowledgment sent {"connection_id":146879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:07:11] local.INFO: TCP Data received {"connection_id":147916,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:07:11] local.INFO: Processing buffer {"connection_id":147916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:07:11] local.INFO: Packet analysis {"connection_id":147916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:07:11] local.INFO: Extracted packet for processing {"connection_id":147916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:07:11] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130631424001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785666830000,"timestamp_ms":1785666830000,"timestamp_seconds":1785666830,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2097eb0"} 
[2026-08-02 16:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16: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-08-02 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130631424001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130631424001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:07:11] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:07:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130631424001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":147916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:07:11] local.INFO: GPS data processed {"connection_id":147916,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:07:11] local.INFO: Acknowledgment sent {"connection_id":147916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:07:24] local.INFO: TCP Data received {"connection_id":146881,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:07:24] local.INFO: Processing buffer {"connection_id":146881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:07:24] local.INFO: IMEI packet received {"connection_id":146881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":146881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:07:27] local.INFO: TCP Data received {"connection_id":149218,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:07:28] local.INFO: Processing buffer {"connection_id":149218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:07:28] local.INFO: IMEI packet received {"connection_id":149218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":149218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:07:29] local.INFO: TCP Data received {"connection_id":146881,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:07:29] local.INFO: Processing buffer {"connection_id":146881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:07:29] local.INFO: IMEI packet received {"connection_id":146881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":146881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:07:30] local.INFO: TCP Data received {"connection_id":146881,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:07:30] local.INFO: Processing buffer {"connection_id":146881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:07:30] local.INFO: Packet analysis {"connection_id":146881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:07:30] local.INFO: Extracted packet for processing {"connection_id":146881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:07:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130631424001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785666830000,"timestamp_ms":1785666830000,"timestamp_seconds":1785666830,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2097eb0"} 
[2026-08-02 16:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130631424001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130631424001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:07:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:07:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130631424001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":146881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:07:30] local.INFO: GPS data processed {"connection_id":146881,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:07:30] local.INFO: Acknowledgment sent {"connection_id":146881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:07:31] local.INFO: TCP Data received {"connection_id":149218,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:07:31] local.INFO: Processing buffer {"connection_id":149218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:07:31] local.INFO: IMEI packet received {"connection_id":149218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":149218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:07:31] local.INFO: TCP Data received {"connection_id":149218,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20be3f8012d82fdc005eab8680007000228..."} 
[2026-08-02 16:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20be3f8012d82fdc005eab8680007000228..."} 
[2026-08-02 16:07:32] local.INFO: Processing buffer {"connection_id":149218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20be3f8012d82fdc005eab8680007000228..."} 
[2026-08-02 16:07:32] local.INFO: Packet analysis {"connection_id":149218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20b"} 
[2026-08-02 16:07:32] local.INFO: Extracted packet for processing {"connection_id":149218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20b"} 
[2026-08-02 16:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763559360,"raw_latitude":99268712,"longitude_deg":76.355936,"latitude_deg":9.9268712,"altitude":7,"angle":2,"satellites":40,"speed":38,"hex_longitude":"2d82fdc0","hex_latitude":"05eab868","is_valid_coordinates":true} 
[2026-08-02 16:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130747904001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114018217634037760,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9007621441794070528,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785666987000,"timestamp_ms":1785666987000,"timestamp_seconds":1785666987,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20be3f8"} 
[2026-08-02 16:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:07: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-08-02 16:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-02 16:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130747904001,"66":13091,"169":206,"87":11264,"24":38,"16":114018217634037760,"45":-9007621441794070528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,87,24,16,45]} 
[2026-08-02 16:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130747904001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:07:32] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 16:07:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114018217634037760,"km_value":114018217634037.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9007621441794070528,"description":"Unknown IO ID 45"} 
[2026-08-02 16:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130747904001,"power":13091,"unknown_169":206,"unknown_87":11264,"ignition":38,"odometer":null,"unknown_45":-9007621441794070528}} 
[2026-08-02 16:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":149218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:07:32] local.INFO: GPS data processed {"connection_id":149218,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:07:32] local.INFO: Acknowledgment sent {"connection_id":149218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:07:35] local.INFO: TCP Data received {"connection_id":146880,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20a0b50012d1824800721b790004c01432f..."} 
[2026-08-02 16:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20a0b50012d1824800721b790004c01432f..."} 
[2026-08-02 16:07:35] local.INFO: Processing buffer {"connection_id":146880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20a0b50012d1824800721b790004c01432f..."} 
[2026-08-02 16:07:35] local.INFO: Packet analysis {"connection_id":146880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20a"} 
[2026-08-02 16:07:35] local.INFO: Extracted packet for processing {"connection_id":146880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20a"} 
[2026-08-02 16:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130712320001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785666866000,"timestamp_ms":1785666866000,"timestamp_seconds":1785666866,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20a0b50"} 
[2026-08-02 16:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-02 16:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130712320001,"66":13656,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130712320001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:07:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130712320001,"power":13656,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":146880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:07:36] local.INFO: GPS data processed {"connection_id":146880,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:07:36] local.INFO: Acknowledgment sent {"connection_id":146880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:07:58] local.INFO: TCP Data received {"connection_id":147917,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:07:58] local.INFO: Processing buffer {"connection_id":147917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:07:58] local.INFO: IMEI packet received {"connection_id":147917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":147917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:08:02] local.INFO: TCP Data received {"connection_id":147917,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:08:02] local.INFO: Processing buffer {"connection_id":147917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:08:02] local.INFO: IMEI packet received {"connection_id":147917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":147917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:08:03] local.INFO: TCP Data received {"connection_id":149218,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20c12d8012d82fd0005eacf28000901602c..."} 
[2026-08-02 16:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20c12d8012d82fd0005eacf28000901602c..."} 
[2026-08-02 16:08:03] local.INFO: Processing buffer {"connection_id":149218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20c12d8012d82fd0005eacf28000901602c..."} 
[2026-08-02 16:08:03] local.INFO: Packet analysis {"connection_id":149218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20c"} 
[2026-08-02 16:08:03] local.INFO: Extracted packet for processing {"connection_id":149218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20c"} 
[2026-08-02 16:08:03] local.INFO: GPS Element Parsed {"raw_longitude":763559168,"raw_latitude":99274536,"longitude_deg":76.3559168,"latitude_deg":9.9274536,"altitude":9,"angle":352,"satellites":44,"speed":16,"hex_longitude":"2d82fd00","hex_latitude":"05eacf28","is_valid_coordinates":true} 
[2026-08-02 16:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130748672001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114018501101879296,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9007832548025800704,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785666999000,"timestamp_ms":1785666999000,"timestamp_seconds":1785666999,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20c12d8"} 
[2026-08-02 16:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-02 16:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130748672001,"66":13559,"169":206,"87":11264,"24":16,"16":114018501101879296,"45":-9007832548025800704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,87,24,16,45]} 
[2026-08-02 16:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130748672001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:08:03] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 16:08:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114018501101879296,"km_value":114018501101879.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9007832548025800704,"description":"Unknown IO ID 45"} 
[2026-08-02 16:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130748672001,"power":13559,"unknown_169":206,"unknown_87":11264,"ignition":16,"odometer":null,"unknown_45":-9007832548025800704}} 
[2026-08-02 16:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":149218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:08:03] local.INFO: GPS data processed {"connection_id":149218,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:08:03] local.INFO: Acknowledgment sent {"connection_id":149218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:08:03] local.INFO: TCP Data received {"connection_id":146881,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:08:03] local.INFO: Processing buffer {"connection_id":146881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:08:03] local.INFO: Packet analysis {"connection_id":146881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:08:03] local.INFO: Extracted packet for processing {"connection_id":146881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:08:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130631424001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785666830000,"timestamp_ms":1785666830000,"timestamp_seconds":1785666830,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2097eb0"} 
[2026-08-02 16:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130631424001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130631424001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:08:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:08:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:08:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130631424001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":146881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:08:03] local.INFO: GPS data processed {"connection_id":146881,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:08:03] local.INFO: Acknowledgment sent {"connection_id":146881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:08:03] local.INFO: TCP Data received {"connection_id":147917,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:08:03] local.INFO: Processing buffer {"connection_id":147917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:08:03] local.INFO: IMEI packet received {"connection_id":147917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":147917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:08:04] local.INFO: TCP Data received {"connection_id":147917,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20a5d58012d1824800721b790004c014330..."} 
[2026-08-02 16:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20a5d58012d1824800721b790004c014330..."} 
[2026-08-02 16:08:04] local.INFO: Processing buffer {"connection_id":147917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20a5d58012d1824800721b790004c014330..."} 
[2026-08-02 16:08:04] local.INFO: Packet analysis {"connection_id":147917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20a"} 
[2026-08-02 16:08:04] local.INFO: Extracted packet for processing {"connection_id":147917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20a"} 
[2026-08-02 16:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":76,"angle":323,"satellites":48,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-02 16:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130717696001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273432923013120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08: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-08-02 16:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666887000,"timestamp_ms":1785666887000,"timestamp_seconds":1785666887,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20a5d58"} 
[2026-08-02 16:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-02 16:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130717696001,"66":12776,"105":206,"83":41984,"24":0,"16":10273432923013120,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130717696001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:08:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273432923013120,"km_value":10273432923013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130717696001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":147917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:08:04] local.INFO: GPS data processed {"connection_id":147917,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:08:04] local.INFO: Acknowledgment sent {"connection_id":147917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:08:33] local.INFO: TCP Data received {"connection_id":147918,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:08:33] local.INFO: Processing buffer {"connection_id":147918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:08:33] local.INFO: IMEI packet received {"connection_id":147918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":147918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:08:35] local.INFO: TCP Data received {"connection_id":147917,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20a8468012d1824000721b6a0004e00d730..."} 
[2026-08-02 16:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20a8468012d1824000721b6a0004e00d730..."} 
[2026-08-02 16:08:35] local.INFO: Processing buffer {"connection_id":147917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20a8468012d1824000721b6a0004e00d730..."} 
[2026-08-02 16:08:35] local.INFO: Packet analysis {"connection_id":147917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20a"} 
[2026-08-02 16:08:35] local.INFO: Extracted packet for processing {"connection_id":147917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20a"} 
[2026-08-02 16:08:35] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649952,"longitude_deg":75.65568,"latitude_deg":11.9649952,"altitude":78,"angle":215,"satellites":48,"speed":4,"hex_longitude":"2d182400","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-08-02 16:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130723072001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273445807915008,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190658560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785666897000,"timestamp_ms":1785666897000,"timestamp_seconds":1785666897,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20a8468"} 
[2026-08-02 16:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-02 16:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130723072001,"66":12722,"105":206,"83":41984,"24":4,"16":10273445807915008,"45":1739656124190658560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130723072001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:08:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:08:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273445807915008,"km_value":10273445807915.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190658560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130723072001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1739656124190658560}} 
[2026-08-02 16:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":147917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:08:35] local.INFO: GPS data processed {"connection_id":147917,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:08:35] local.INFO: Acknowledgment sent {"connection_id":147917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:08:38] local.INFO: TCP Data received {"connection_id":147918,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:08:38] local.INFO: Processing buffer {"connection_id":147918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:08:38] local.INFO: IMEI packet received {"connection_id":147918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":147918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:08:39] local.INFO: TCP Data received {"connection_id":147918,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20c5928012d82f50005eaeb70000901532c..."} 
[2026-08-02 16:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20c5928012d82f50005eaeb70000901532c..."} 
[2026-08-02 16:08:39] local.INFO: Processing buffer {"connection_id":147918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20c5928012d82f50005eaeb70000901532c..."} 
[2026-08-02 16:08:39] local.INFO: Packet analysis {"connection_id":147918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20c"} 
[2026-08-02 16:08:39] local.INFO: Extracted packet for processing {"connection_id":147918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20c"} 
[2026-08-02 16:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763557120,"raw_latitude":99281776,"longitude_deg":76.355712,"latitude_deg":9.9281776,"altitude":9,"angle":339,"satellites":44,"speed":22,"hex_longitude":"2d82f500","hex_latitude":"05eaeb70","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130751744001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114018866174099456,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9008043654256842752,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785667017000,"timestamp_ms":1785667017000,"timestamp_seconds":1785667017,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20c5928"} 
[2026-08-02 16:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 16:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130751744001,"66":13624,"169":206,"87":11264,"24":22,"16":114018866174099456,"45":-9008043654256842752},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,87,24,16,45]} 
[2026-08-02 16:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130751744001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:08:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 16:08:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114018866174099456,"km_value":114018866174099.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9008043654256842752,"description":"Unknown IO ID 45"} 
[2026-08-02 16:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130751744001,"power":13624,"unknown_169":206,"unknown_87":11264,"ignition":22,"odometer":null,"unknown_45":-9008043654256842752}} 
[2026-08-02 16:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":147918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:08:39] local.INFO: GPS data processed {"connection_id":147918,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:08:39] local.INFO: Acknowledgment sent {"connection_id":147918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:08:39] local.INFO: TCP Data received {"connection_id":146657,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:08:39] local.INFO: Processing buffer {"connection_id":146657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:08:39] local.INFO: IMEI packet received {"connection_id":146657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":146657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:08:44] local.INFO: TCP Data received {"connection_id":146657,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:08:44] local.INFO: Processing buffer {"connection_id":146657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:08:44] local.INFO: IMEI packet received {"connection_id":146657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":146657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:08:46] local.INFO: TCP Data received {"connection_id":146657,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:08:46] local.INFO: Processing buffer {"connection_id":146657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:08:46] local.INFO: Packet analysis {"connection_id":146657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:08:46] local.INFO: Extracted packet for processing {"connection_id":146657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:08:46] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130631424001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785666830000,"timestamp_ms":1785666830000,"timestamp_seconds":1785666830,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2097eb0"} 
[2026-08-02 16:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130631424001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130631424001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:08:46] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:08:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:08:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130631424001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":146657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:08:46] local.INFO: GPS data processed {"connection_id":146657,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:08:46] local.INFO: Acknowledgment sent {"connection_id":146657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:08:50] local.INFO: TCP Data received {"connection_id":146657,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:08:50] local.INFO: Processing buffer {"connection_id":146657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2097eb0012cc330c007685958005800c52c..."} 
[2026-08-02 16:08:50] local.INFO: Packet analysis {"connection_id":146657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:08:50] local.INFO: Extracted packet for processing {"connection_id":146657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc209"} 
[2026-08-02 16:08:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130631424001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785666830000,"timestamp_ms":1785666830000,"timestamp_seconds":1785666830,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2097eb0"} 
[2026-08-02 16:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130631424001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130631424001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:08:50] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:08:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130631424001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":146657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:08:50] local.INFO: GPS data processed {"connection_id":146657,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:08:50] local.INFO: Acknowledgment sent {"connection_id":146657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:09:04] local.INFO: TCP Data received {"connection_id":149219,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:09:04] local.INFO: Processing buffer {"connection_id":149219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:09:04] local.INFO: IMEI packet received {"connection_id":149219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":149219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:09:04] local.INFO: TCP Data received {"connection_id":149219,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:09:04] local.INFO: Processing buffer {"connection_id":149219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:09:04] local.INFO: IMEI packet received {"connection_id":149219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":149219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:09:05] local.INFO: TCP Data received {"connection_id":149219,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20ad670012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20ad670012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:09:05] local.INFO: Processing buffer {"connection_id":149219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20ad670012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:09:05] local.INFO: Packet analysis {"connection_id":149219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20a"} 
[2026-08-02 16:09:05] local.INFO: Extracted packet for processing {"connection_id":149219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20a"} 
[2026-08-02 16:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":79,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-02 16:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130725632001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273493052555264,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702241792,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785666918000,"timestamp_ms":1785666918000,"timestamp_seconds":1785666918,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20ad670"} 
[2026-08-02 16:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 16:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130725632001,"66":12645,"105":206,"83":41984,"24":0,"16":10273493052555264,"45":1739515386702241792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130725632001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:09:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273493052555264,"km_value":10273493052555.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702241792,"description":"Unknown IO ID 45"} 
[2026-08-02 16:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130725632001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702241792}} 
[2026-08-02 16:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":149219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:09:05] local.INFO: GPS data processed {"connection_id":149219,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:09:05] local.INFO: Acknowledgment sent {"connection_id":149219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:09:09] local.INFO: TCP Data received {"connection_id":149219,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20b2878012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20b2878012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:09:09] local.INFO: Processing buffer {"connection_id":149219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20b2878012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:09:09] local.INFO: Packet analysis {"connection_id":149219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20b"} 
[2026-08-02 16:09:09] local.INFO: Extracted packet for processing {"connection_id":149219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20b"} 
[2026-08-02 16:09:09] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":79,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130731008001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273493052555264,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785666939000,"timestamp_ms":1785666939000,"timestamp_seconds":1785666939,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20b2878"} 
[2026-08-02 16:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-02 16:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130731008001,"66":12591,"105":206,"83":41984,"24":0,"16":10273493052555264,"45":1739093174236997632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130731008001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:09:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:09:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273493052555264,"km_value":10273493052555.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-08-02 16:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130731008001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-08-02 16:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":149219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:09:09] local.INFO: GPS data processed {"connection_id":149219,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:09:09] local.INFO: Acknowledgment sent {"connection_id":149219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:09:13] local.INFO: TCP Data received {"connection_id":147918,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20c8bf0012d82e80005eb0c50000901542c..."} 
[2026-08-02 16:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20c8bf0012d82e80005eb0c50000901542c..."} 
[2026-08-02 16:09:13] local.INFO: Processing buffer {"connection_id":147918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20c8bf0012d82e80005eb0c50000901542c..."} 
[2026-08-02 16:09:13] local.INFO: Packet analysis {"connection_id":147918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20c"} 
[2026-08-02 16:09:13] local.INFO: Extracted packet for processing {"connection_id":147918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20c"} 
[2026-08-02 16:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763553792,"raw_latitude":99290192,"longitude_deg":76.3553792,"latitude_deg":9.9290192,"altitude":9,"angle":340,"satellites":44,"speed":26,"hex_longitude":"2d82e800","hex_latitude":"05eb0c50","is_valid_coordinates":true} 
[2026-08-02 16:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130756352001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114019308555730944,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9010295454068674560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785667030000,"timestamp_ms":1785667030000,"timestamp_seconds":1785667030,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20c8bf0"} 
[2026-08-02 16:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-02 16:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130756352001,"66":13222,"169":206,"87":11264,"24":26,"16":114019308555730944,"45":-9010295454068674560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,87,24,16,45]} 
[2026-08-02 16:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130756352001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:09:13] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 16:09:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114019308555730944,"km_value":114019308555730.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9010295454068674560,"description":"Unknown IO ID 45"} 
[2026-08-02 16:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130756352001,"power":13222,"unknown_169":206,"unknown_87":11264,"ignition":26,"odometer":null,"unknown_45":-9010295454068674560}} 
[2026-08-02 16:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":147918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:09:13] local.INFO: GPS data processed {"connection_id":147918,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:09:13] local.INFO: Acknowledgment sent {"connection_id":147918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:09:28] local.INFO: TCP Data received {"connection_id":147920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:09:28] local.INFO: Processing buffer {"connection_id":147920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:09:28] local.INFO: IMEI packet received {"connection_id":147920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":147920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:09:28] local.INFO: TCP Data received {"connection_id":147919,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:09:28] local.INFO: Processing buffer {"connection_id":147919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:09:28] local.INFO: IMEI packet received {"connection_id":147919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":147919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:09:29] local.INFO: TCP Data received {"connection_id":147919,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:09:29] local.INFO: Processing buffer {"connection_id":147919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:09:29] local.INFO: IMEI packet received {"connection_id":147919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":147919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:09:33] local.INFO: TCP Data received {"connection_id":147920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:09:33] local.INFO: Processing buffer {"connection_id":147920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:09:33] local.INFO: IMEI packet received {"connection_id":147920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":147920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:09:33] local.INFO: TCP Data received {"connection_id":147920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:09:33] local.INFO: Processing buffer {"connection_id":147920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:09:33] local.INFO: IMEI packet received {"connection_id":147920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":147920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:09:33] local.INFO: TCP Data received {"connection_id":147919,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:09:33] local.INFO: Processing buffer {"connection_id":147919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:09:33] local.INFO: Packet analysis {"connection_id":147919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:09:33] local.INFO: Extracted packet for processing {"connection_id":147919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:09:33] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130708480001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785667131000,"timestamp_ms":1785667131000,"timestamp_seconds":1785667131,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20e1678"} 
[2026-08-02 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-08-02 16:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 16:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130708480001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130708480001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:09:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:09:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:09:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130708480001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":147919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:09:33] local.INFO: GPS data processed {"connection_id":147919,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:09:33] local.INFO: Acknowledgment sent {"connection_id":147919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:09:34] local.INFO: TCP Data received {"connection_id":147919,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:09:34] local.INFO: Processing buffer {"connection_id":147919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:09:34] local.INFO: Packet analysis {"connection_id":147919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:09:34] local.INFO: Extracted packet for processing {"connection_id":147919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:09:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130708480001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785667131000,"timestamp_ms":1785667131000,"timestamp_seconds":1785667131,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20e1678"} 
[2026-08-02 16:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 16:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130708480001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130708480001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:09:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:09:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:09:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130708480001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":147919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:09:35] local.INFO: GPS data processed {"connection_id":147919,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:09:35] local.INFO: Acknowledgment sent {"connection_id":147919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:09:37] local.INFO: TCP Data received {"connection_id":147920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:09:38] local.INFO: Processing buffer {"connection_id":147920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:09:38] local.INFO: IMEI packet received {"connection_id":147920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":147920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:09:39] local.INFO: TCP Data received {"connection_id":147920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20e6498012d825a4005ec7048000901552c..."} 
[2026-08-02 16:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20e6498012d825a4005ec7048000901552c..."} 
[2026-08-02 16:09:39] local.INFO: Processing buffer {"connection_id":147920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20e6498012d825a4005ec7048000901552c..."} 
[2026-08-02 16:09:39] local.INFO: Packet analysis {"connection_id":147920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:09:39] local.INFO: Extracted packet for processing {"connection_id":147920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763517504,"raw_latitude":99381320,"longitude_deg":76.3517504,"latitude_deg":9.938132,"altitude":9,"angle":341,"satellites":44,"speed":20,"hex_longitude":"2d825a40","hex_latitude":"05ec7048","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130788096001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114024058789560320,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9050968588179281920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785667151000,"timestamp_ms":1785667151000,"timestamp_seconds":1785667151,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20e6498"} 
[2026-08-02 16:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:09: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-08-02 16: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 16:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130788096001,"66":13059,"231":206,"87":11264,"24":20,"16":114024058789560320,"45":-9050968588179281920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,87,24,16,45]} 
[2026-08-02 16:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130788096001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:09:39] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-02 16:09:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114024058789560320,"km_value":114024058789560.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9050968588179281920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130788096001,"power":13059,"unknown_231":206,"unknown_87":11264,"ignition":20,"odometer":null,"unknown_45":-9050968588179281920}} 
[2026-08-02 16:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":147920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:09:39] local.INFO: GPS data processed {"connection_id":147920,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:09:39] local.INFO: Acknowledgment sent {"connection_id":147920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:09:40] local.INFO: TCP Data received {"connection_id":149219,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20b7a80012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20b7a80012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:09:40] local.INFO: Processing buffer {"connection_id":149219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20b7a80012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:09:40] local.INFO: Packet analysis {"connection_id":149219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20b"} 
[2026-08-02 16:09:40] local.INFO: Extracted packet for processing {"connection_id":149219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20b"} 
[2026-08-02 16:09:40] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":79,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130736384001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273493052555264,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785666960000,"timestamp_ms":1785666960000,"timestamp_seconds":1785666960,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20b7a80"} 
[2026-08-02 16:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 16:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130736384001,"66":12558,"105":206,"83":41984,"24":0,"16":10273493052555264,"45":1739093174236997632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130736384001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:09:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:09:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273493052555264,"km_value":10273493052555.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-08-02 16:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130736384001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-08-02 16:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":149219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:09:40] local.INFO: GPS data processed {"connection_id":149219,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:09:40] local.INFO: Acknowledgment sent {"connection_id":149219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:09:58] local.INFO: TCP Data received {"connection_id":147921,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:09:58] local.INFO: Processing buffer {"connection_id":147921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:09:58] local.INFO: IMEI packet received {"connection_id":147921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":147921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:10:04] local.INFO: TCP Data received {"connection_id":147921,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:10:04] local.INFO: Processing buffer {"connection_id":147921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:10:04] local.INFO: IMEI packet received {"connection_id":147921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":147921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:10:04] local.INFO: TCP Data received {"connection_id":147921,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20bcc88012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20bcc88012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:10:04] local.INFO: Processing buffer {"connection_id":147921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20bcc88012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:10:04] local.INFO: Packet analysis {"connection_id":147921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20b"} 
[2026-08-02 16:10:04] local.INFO: Extracted packet for processing {"connection_id":147921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20b"} 
[2026-08-02 16:10:04] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":79,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-02 16:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130741760001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273493052555264,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10: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-08-02 16:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785666981000,"timestamp_ms":1785666981000,"timestamp_seconds":1785666981,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20bcc88"} 
[2026-08-02 16:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-02 16:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:04] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2768240640,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3255417160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249387263441876880,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3079667788,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 16:10:04] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,127,159,40,45,128,179,79,48,10,66,214,132,1,240,178,227,194,33,4,113,205,11,36,144,47,239,53,2,7,76,106,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 16:10:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692781032596570112,"timestamp_seconds":5692781032596570.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130741760001,"66":12526,"105":206,"83":41984,"24":0,"16":10273493052555264,"45":1739093174236997632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130741760001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:10:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:10:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273493052555264,"km_value":10273493052555.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-08-02 16:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130741760001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-08-02 16:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":147921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:10:04] local.INFO: GPS data processed {"connection_id":147921,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:10:04] local.INFO: Acknowledgment sent {"connection_id":147921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:10:06] local.INFO: TCP Data received {"connection_id":147919,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:10:06] local.INFO: Processing buffer {"connection_id":147919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:10:06] local.INFO: Packet analysis {"connection_id":147919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:10:06] local.INFO: Extracted packet for processing {"connection_id":147919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:10:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130708480001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785667131000,"timestamp_ms":1785667131000,"timestamp_seconds":1785667131,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20e1678"} 
[2026-08-02 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-08-02 16: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-08-02 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 16:10: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-08-02 16:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 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-08-02 16:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130708480001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130708480001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:10:06] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:10:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:10:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130708480001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":147919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:10:06] local.INFO: GPS data processed {"connection_id":147919,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:10:06] local.INFO: Acknowledgment sent {"connection_id":147919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:10:27] local.INFO: TCP Data received {"connection_id":146882,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:10:27] local.INFO: Processing buffer {"connection_id":146882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:10:27] local.INFO: IMEI packet received {"connection_id":146882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":146882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:10:29] local.INFO: TCP Data received {"connection_id":146658,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:10:29] local.INFO: Processing buffer {"connection_id":146658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:10:29] local.INFO: IMEI packet received {"connection_id":146658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":146658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:10:29] local.INFO: TCP Data received {"connection_id":146882,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:10:29] local.INFO: Processing buffer {"connection_id":146882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:10:29] local.INFO: IMEI packet received {"connection_id":146882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":146882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:10:32] local.INFO: TCP Data received {"connection_id":146882,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:10:32] local.INFO: Processing buffer {"connection_id":146882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:10:32] local.INFO: IMEI packet received {"connection_id":146882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":146882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:10:33] local.INFO: TCP Data received {"connection_id":146882,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20f3788012d81ef4005ec8420000c013325..."} 
[2026-08-02 16:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20f3788012d81ef4005ec8420000c013325..."} 
[2026-08-02 16:10:33] local.INFO: Processing buffer {"connection_id":146882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20f3788012d81ef4005ec8420000c013325..."} 
[2026-08-02 16:10:33] local.INFO: Packet analysis {"connection_id":146882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20f"} 
[2026-08-02 16:10:33] local.INFO: Extracted packet for processing {"connection_id":146882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20f"} 
[2026-08-02 16:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763490112,"raw_latitude":99386400,"longitude_deg":76.3490112,"latitude_deg":9.93864,"altitude":12,"angle":307,"satellites":37,"speed":16,"hex_longitude":"2d81ef40","hex_latitude":"05ec8420","is_valid_coordinates":true} 
[2026-08-02 16:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130804224001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114025652222427136,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9083619685475104768,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785667205000,"timestamp_ms":1785667205000,"timestamp_seconds":1785667205,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20f3788"} 
[2026-08-02 16:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:10: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-08-02 16:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 16:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130804224001,"66":13374,"135":206,"87":11264,"24":16,"16":114025652222427136,"45":-9083619685475104768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 16:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130804224001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:10:33] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 16:10:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114025652222427136,"km_value":114025652222427.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9083619685475104768,"description":"Unknown IO ID 45"} 
[2026-08-02 16:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130804224001,"power":13374,"unknown_135":206,"unknown_87":11264,"ignition":16,"odometer":null,"unknown_45":-9083619685475104768}} 
[2026-08-02 16:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":146882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:10:33] local.INFO: GPS data processed {"connection_id":146882,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:10:33] local.INFO: Acknowledgment sent {"connection_id":146882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:10:34] local.INFO: TCP Data received {"connection_id":146658,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:10:34] local.INFO: Processing buffer {"connection_id":146658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:10:34] local.INFO: IMEI packet received {"connection_id":146658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":146658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:10:35] local.INFO: TCP Data received {"connection_id":146658,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:10:35] local.INFO: Processing buffer {"connection_id":146658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:10:35] local.INFO: Packet analysis {"connection_id":146658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:10:35] local.INFO: Extracted packet for processing {"connection_id":146658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:10:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130708480001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667131000,"timestamp_ms":1785667131000,"timestamp_seconds":1785667131,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20e1678"} 
[2026-08-02 16:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 16:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130708480001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130708480001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:10:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:10:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:10:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130708480001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":146658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:10:35] local.INFO: GPS data processed {"connection_id":146658,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:10:35] local.INFO: Acknowledgment sent {"connection_id":146658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:10:35] local.INFO: TCP Data received {"connection_id":147921,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20c1e90012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20c1e90012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:10:35] local.INFO: Processing buffer {"connection_id":147921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20c1e90012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:10:35] local.INFO: Packet analysis {"connection_id":147921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20c"} 
[2026-08-02 16:10:35] local.INFO: Extracted packet for processing {"connection_id":147921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20c"} 
[2026-08-02 16:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":79,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-02 16:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130747136001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273493052555264,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667002000,"timestamp_ms":1785667002000,"timestamp_seconds":1785667002,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20c1e90"} 
[2026-08-02 16:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 16:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130747136001,"66":12526,"105":206,"83":41984,"24":0,"16":10273493052555264,"45":1739093174236997632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130747136001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:10:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273493052555264,"km_value":10273493052555.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-08-02 16:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130747136001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-08-02 16:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":147921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:10:35] local.INFO: GPS data processed {"connection_id":147921,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:10:35] local.INFO: Acknowledgment sent {"connection_id":147921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:10:40] local.INFO: TCP Data received {"connection_id":146658,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:10:40] local.INFO: Processing buffer {"connection_id":146658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:10:40] local.INFO: Packet analysis {"connection_id":146658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:10:40] local.INFO: Extracted packet for processing {"connection_id":146658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:10:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130708480001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785667131000,"timestamp_ms":1785667131000,"timestamp_seconds":1785667131,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20e1678"} 
[2026-08-02 16:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 16:10: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-08-02 16: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-08-02 16:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130708480001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130708480001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:10:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:10:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:10:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130708480001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":146658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:10:40] local.INFO: GPS data processed {"connection_id":146658,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:10:40] local.INFO: Acknowledgment sent {"connection_id":146658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:10:59] local.INFO: TCP Data received {"connection_id":149220,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:10:59] local.INFO: Processing buffer {"connection_id":149220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:10:59] local.INFO: IMEI packet received {"connection_id":149220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":149220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:11:04] local.INFO: TCP Data received {"connection_id":149220,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:11:04] local.INFO: Processing buffer {"connection_id":149220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:11:04] local.INFO: IMEI packet received {"connection_id":149220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":149220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:11:04] local.INFO: TCP Data received {"connection_id":149220,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20c7098012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20c7098012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:11:04] local.INFO: Processing buffer {"connection_id":149220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20c7098012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:11:04] local.INFO: Packet analysis {"connection_id":149220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20c"} 
[2026-08-02 16:11:04] local.INFO: Extracted packet for processing {"connection_id":149220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20c"} 
[2026-08-02 16:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":79,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-02 16:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130752512001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273493052555264,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785667023000,"timestamp_ms":1785667023000,"timestamp_seconds":1785667023,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20c7098"} 
[2026-08-02 16:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 16:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130752512001,"66":12504,"105":206,"83":41984,"24":0,"16":10273493052555264,"45":1739093174236997632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130752512001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:11:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:11:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273493052555264,"km_value":10273493052555.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-08-02 16:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130752512001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-08-02 16:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":149220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:11:05] local.INFO: GPS data processed {"connection_id":149220,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:11:05] local.INFO: Acknowledgment sent {"connection_id":149220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:11:05] local.INFO: TCP Data received {"connection_id":146882,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20f3b70012d81ed8005ec84f8000c011e24..."} 
[2026-08-02 16:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20f3b70012d81ed8005ec84f8000c011e24..."} 
[2026-08-02 16:11:05] local.INFO: Processing buffer {"connection_id":146882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20f3b70012d81ed8005ec84f8000c011e24..."} 
[2026-08-02 16:11:05] local.INFO: Packet analysis {"connection_id":146882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20f"} 
[2026-08-02 16:11:05] local.INFO: Extracted packet for processing {"connection_id":146882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20f"} 
[2026-08-02 16:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763489664,"raw_latitude":99386616,"longitude_deg":76.3489664,"latitude_deg":9.9386616,"altitude":12,"angle":286,"satellites":36,"speed":19,"hex_longitude":"2d81ed80","hex_latitude":"05ec84f8","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130804480001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114025677992230912,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9083971529195905024,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785667206000,"timestamp_ms":1785667206000,"timestamp_seconds":1785667206,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20f3b70"} 
[2026-08-02 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-08-02 16:11: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-08-02 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 16:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130804480001,"66":13406,"135":206,"87":11264,"24":19,"16":114025677992230912,"45":-9083971529195905024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 16:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130804480001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:11:05] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 16:11:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114025677992230912,"km_value":114025677992230.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9083971529195905024,"description":"Unknown IO ID 45"} 
[2026-08-02 16:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130804480001,"power":13406,"unknown_135":206,"unknown_87":11264,"ignition":19,"odometer":null,"unknown_45":-9083971529195905024}} 
[2026-08-02 16:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":146882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:11:05] local.INFO: GPS data processed {"connection_id":146882,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:11:05] local.INFO: Acknowledgment sent {"connection_id":146882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:11:24] local.INFO: TCP Data received {"connection_id":146659,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:11:24] local.INFO: Processing buffer {"connection_id":146659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:11:24] local.INFO: IMEI packet received {"connection_id":146659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":146659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:11:28] local.INFO: TCP Data received {"connection_id":146883,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:11:28] local.INFO: Processing buffer {"connection_id":146883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:11:28] local.INFO: IMEI packet received {"connection_id":146883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":146883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:11:29] local.INFO: TCP Data received {"connection_id":146883,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 16:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146883,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 16:11:29] local.INFO: Processing buffer {"connection_id":146883,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 16:11:29] local.INFO: IMEI packet received {"connection_id":146883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":146883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:11:29] local.INFO: TCP Data received {"connection_id":146659,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:11:29] local.INFO: Processing buffer {"connection_id":146659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:11:29] local.INFO: IMEI packet received {"connection_id":146659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":146659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:11:30] local.INFO: TCP Data received {"connection_id":146659,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:11:30] local.INFO: Processing buffer {"connection_id":146659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:11:30] local.INFO: Packet analysis {"connection_id":146659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:11:30] local.INFO: Extracted packet for processing {"connection_id":146659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:11:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130708480001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785667131000,"timestamp_ms":1785667131000,"timestamp_seconds":1785667131,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20e1678"} 
[2026-08-02 16:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 16:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130708480001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130708480001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:11:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:11:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130708480001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":146659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:11:30] local.INFO: GPS data processed {"connection_id":146659,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:11:30] local.INFO: Acknowledgment sent {"connection_id":146659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:11:33] local.INFO: TCP Data received {"connection_id":146883,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:11:33] local.INFO: Processing buffer {"connection_id":146883,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 16:11:33] local.INFO: IMEI packet received {"connection_id":146883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":146883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:11:33] local.INFO: TCP Data received {"connection_id":146883,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2106838012d81900005ed0e58000a01432c..."} 
[2026-08-02 16:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2106838012d81900005ed0e58000a01432c..."} 
[2026-08-02 16:11:33] local.INFO: Processing buffer {"connection_id":146883,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fc2..."} 
[2026-08-02 16:11:33] local.INFO: IMEI packet received {"connection_id":146883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":146883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:11:35] local.INFO: TCP Data received {"connection_id":149220,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20cc2a0012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20cc2a0012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:11:35] local.INFO: Processing buffer {"connection_id":149220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20cc2a0012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:11:35] local.INFO: Packet analysis {"connection_id":149220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20c"} 
[2026-08-02 16:11:35] local.INFO: Extracted packet for processing {"connection_id":149220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20c"} 
[2026-08-02 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":79,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-02 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130757888001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273493052555264,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667044000,"timestamp_ms":1785667044000,"timestamp_seconds":1785667044,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20cc2a0"} 
[2026-08-02 16:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 16:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130757888001,"66":12461,"105":206,"83":41984,"24":0,"16":10273493052555264,"45":1739093174236997632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130757888001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:11:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273493052555264,"km_value":10273493052555.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-08-02 16:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130757888001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-08-02 16:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":149220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:11:35] local.INFO: GPS data processed {"connection_id":149220,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:11:35] local.INFO: Acknowledgment sent {"connection_id":149220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:11:38] local.INFO: TCP Data received {"connection_id":146883,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2106c20012d818ec005ed0f70000b01312c..."} 
[2026-08-02 16:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2106c20012d818ec005ed0f70000b01312c..."} 
[2026-08-02 16:11:38] local.INFO: Processing buffer {"connection_id":146883,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc2106838012d81900005ed0e58000a01432c..."} 
[2026-08-02 16:11:38] local.INFO: Packet analysis {"connection_id":146883,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc210"} 
[2026-08-02 16:11:38] local.INFO: Extracted packet for processing {"connection_id":146883,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc210"} 
[2026-08-02 16:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763465728,"raw_latitude":99421784,"longitude_deg":76.3465728,"latitude_deg":9.9421784,"altitude":10,"angle":323,"satellites":44,"speed":15,"hex_longitude":"2d819000","hex_latitude":"05ed0e58","is_valid_coordinates":true} 
[2026-08-02 16:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130821888001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114028048814178304,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9108670958394626048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785667283000,"timestamp_ms":1785667283000,"timestamp_seconds":1785667283,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2106838"} 
[2026-08-02 16:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:11: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-08-02 16: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":242,"data_length":795,"current_offset":136} 
[2026-08-02 16:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130821888001,"66":13450,"135":206,"87":11264,"24":15,"16":114028048814178304,"45":-9108670958394626048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 16:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130821888001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:11:38] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 16:11:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114028048814178304,"km_value":114028048814178.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9108670958394626048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130821888001,"power":13450,"unknown_135":206,"unknown_87":11264,"ignition":15,"odometer":null,"unknown_45":-9108670958394626048}} 
[2026-08-02 16:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":146883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:11:38] local.INFO: GPS data processed {"connection_id":146883,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:11:38] local.INFO: Acknowledgment sent {"connection_id":146883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:11:38] local.INFO: Packet analysis {"connection_id":146883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc210"} 
[2026-08-02 16:11:38] local.INFO: Extracted packet for processing {"connection_id":146883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc210"} 
[2026-08-02 16:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763465408,"raw_latitude":99422064,"longitude_deg":76.3465408,"latitude_deg":9.9422064,"altitude":11,"angle":305,"satellites":44,"speed":16,"hex_longitude":"2d818ec0","hex_latitude":"05ed0f70","is_valid_coordinates":true} 
[2026-08-02 16:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130824448001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114028070289014784,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9110782020718536704,"note":"Value kept but may cause issues"} 
[2026-08-02 16:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785667284000,"timestamp_ms":1785667284000,"timestamp_seconds":1785667284,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2106c20"} 
[2026-08-02 16:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:11: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-08-02 16: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 16:11: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-08-02 16:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130824448001,"66":13493,"135":206,"87":11264,"24":16,"16":114028070289014784,"45":-9110782020718536704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 16:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130824448001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:11:38] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 16:11:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114028070289014784,"km_value":114028070289014.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9110782020718536704,"description":"Unknown IO ID 45"} 
[2026-08-02 16:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130824448001,"power":13493,"unknown_135":206,"unknown_87":11264,"ignition":16,"odometer":null,"unknown_45":-9110782020718536704}} 
[2026-08-02 16:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":146883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:11:38] local.INFO: GPS data processed {"connection_id":146883,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:11:38] local.INFO: Acknowledgment sent {"connection_id":146883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:11:59] local.INFO: TCP Data received {"connection_id":147922,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:11:59] local.INFO: Processing buffer {"connection_id":147922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:11:59] local.INFO: IMEI packet received {"connection_id":147922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":147922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:12:02] local.INFO: TCP Data received {"connection_id":146659,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:12:02] local.INFO: Processing buffer {"connection_id":146659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:12:02] local.INFO: Packet analysis {"connection_id":146659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:12:02] local.INFO: Extracted packet for processing {"connection_id":146659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:12:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130708480001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785667131000,"timestamp_ms":1785667131000,"timestamp_seconds":1785667131,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20e1678"} 
[2026-08-02 16:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 16:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130708480001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130708480001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:12:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:12:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:12:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130708480001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":146659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:12:02] local.INFO: GPS data processed {"connection_id":146659,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:12:02] local.INFO: Acknowledgment sent {"connection_id":146659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:12:04] local.INFO: TCP Data received {"connection_id":147922,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:12:04] local.INFO: Processing buffer {"connection_id":147922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:12:04] local.INFO: IMEI packet received {"connection_id":147922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":147922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:12:05] local.INFO: TCP Data received {"connection_id":147922,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20d14a8012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20d14a8012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:12:05] local.INFO: Processing buffer {"connection_id":147922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20d14a8012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:12:05] local.INFO: Packet analysis {"connection_id":147922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20d"} 
[2026-08-02 16:12:05] local.INFO: Extracted packet for processing {"connection_id":147922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20d"} 
[2026-08-02 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":79,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-02 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130763264001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273493052555264,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785667065000,"timestamp_ms":1785667065000,"timestamp_seconds":1785667065,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20d14a8"} 
[2026-08-02 16:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 16:12: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-08-02 16:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130763264001,"66":12461,"105":206,"83":41984,"24":0,"16":10273493052555264,"45":1739093174236997632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130763264001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:12:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273493052555264,"km_value":10273493052555.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-08-02 16:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130763264001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-08-02 16:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":147922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:12:05] local.INFO: GPS data processed {"connection_id":147922,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:12:05] local.INFO: Acknowledgment sent {"connection_id":147922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:12:09] local.INFO: TCP Data received {"connection_id":146883,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2110860012d813c4005ed16380008012a28..."} 
[2026-08-02 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2110860012d813c4005ed16380008012a28..."} 
[2026-08-02 16:12:09] local.INFO: Processing buffer {"connection_id":146883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2110860012d813c4005ed16380008012a28..."} 
[2026-08-02 16:12:09] local.INFO: Packet analysis {"connection_id":146883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:12:09] local.INFO: Extracted packet for processing {"connection_id":146883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763444288,"raw_latitude":99423800,"longitude_deg":76.3444288,"latitude_deg":9.94238,"altitude":8,"angle":298,"satellites":40,"speed":17,"hex_longitude":"2d813c40","hex_latitude":"05ed1638","is_valid_coordinates":true} 
[2026-08-02 16:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130834688001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029294354694144,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9133933337552533504,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785667324000,"timestamp_ms":1785667324000,"timestamp_seconds":1785667324,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2110860"} 
[2026-08-02 16:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 16:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130834688001,"66":13646,"135":206,"87":11264,"24":17,"16":114029294354694144,"45":-9133933337552533504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 16:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130834688001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:12:09] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 16:12:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029294354694144,"km_value":114029294354694.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9133933337552533504,"description":"Unknown IO ID 45"} 
[2026-08-02 16:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130834688001,"power":13646,"unknown_135":206,"unknown_87":11264,"ignition":17,"odometer":null,"unknown_45":-9133933337552533504}} 
[2026-08-02 16:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":146883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:12:09] local.INFO: GPS data processed {"connection_id":146883,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:12:09] local.INFO: Acknowledgment sent {"connection_id":146883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:12:24] local.INFO: TCP Data received {"connection_id":149221,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:12:24] local.INFO: Processing buffer {"connection_id":149221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:12:24] local.INFO: IMEI packet received {"connection_id":149221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":149221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:12:29] local.INFO: TCP Data received {"connection_id":149221,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:12:29] local.INFO: Processing buffer {"connection_id":149221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:12:29] local.INFO: IMEI packet received {"connection_id":149221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":149221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:12:30] local.INFO: TCP Data received {"connection_id":149221,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:12:30] local.INFO: Processing buffer {"connection_id":149221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:12:30] local.INFO: Packet analysis {"connection_id":149221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:12:30] local.INFO: Extracted packet for processing {"connection_id":149221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:12:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130708480001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785667131000,"timestamp_ms":1785667131000,"timestamp_seconds":1785667131,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20e1678"} 
[2026-08-02 16:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 16:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130708480001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130708480001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:12:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:12:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130708480001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":149221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:12:30] local.INFO: GPS data processed {"connection_id":149221,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:12:30] local.INFO: Acknowledgment sent {"connection_id":149221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:12:32] local.INFO: TCP Data received {"connection_id":146660,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:12:32] local.INFO: Processing buffer {"connection_id":146660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:12:32] local.INFO: IMEI packet received {"connection_id":146660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":146660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:12:35] local.INFO: TCP Data received {"connection_id":147922,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20d66b0012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20d66b0012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:12:35] local.INFO: Processing buffer {"connection_id":147922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20d66b0012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:12:35] local.INFO: Packet analysis {"connection_id":147922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20d"} 
[2026-08-02 16:12:35] local.INFO: Extracted packet for processing {"connection_id":147922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20d"} 
[2026-08-02 16:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":79,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-02 16:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130768640001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273493052555264,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667086000,"timestamp_ms":1785667086000,"timestamp_seconds":1785667086,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20d66b0"} 
[2026-08-02 16:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 16:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130768640001,"66":12428,"105":206,"83":41984,"24":0,"16":10273493052555264,"45":1739093174236997632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130768640001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:12:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273493052555264,"km_value":10273493052555.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-08-02 16:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130768640001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-08-02 16:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":147922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:12:36] local.INFO: GPS data processed {"connection_id":147922,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:12:36] local.INFO: Acknowledgment sent {"connection_id":147922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:12:37] local.INFO: TCP Data received {"connection_id":146660,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:12:37] local.INFO: Processing buffer {"connection_id":146660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:12:37] local.INFO: IMEI packet received {"connection_id":146660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":146660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:12:38] local.INFO: TCP Data received {"connection_id":146660,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2110c48012d813a8005ed16900008011427..."} 
[2026-08-02 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2110c48012d813a8005ed16900008011427..."} 
[2026-08-02 16:12:38] local.INFO: Processing buffer {"connection_id":146660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2110c48012d813a8005ed16900008011427..."} 
[2026-08-02 16:12:38] local.INFO: Packet analysis {"connection_id":146660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:12:38] local.INFO: Extracted packet for processing {"connection_id":146660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763443840,"raw_latitude":99423888,"longitude_deg":76.344384,"latitude_deg":9.9423888,"altitude":8,"angle":276,"satellites":39,"speed":18,"hex_longitude":"2d813a80","hex_latitude":"05ed1690","is_valid_coordinates":true} 
[2026-08-02 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130834944001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029320124497920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134355550017538048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785667325000,"timestamp_ms":1785667325000,"timestamp_seconds":1785667325,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2110c48"} 
[2026-08-02 16:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:12: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-08-02 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-02 16:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130834944001,"66":13646,"135":206,"87":11264,"24":18,"16":114029320124497920,"45":-9134355550017538048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 16:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130834944001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:12:39] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 16:12:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029320124497920,"km_value":114029320124497.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134355550017538048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130834944001,"power":13646,"unknown_135":206,"unknown_87":11264,"ignition":18,"odometer":null,"unknown_45":-9134355550017538048}} 
[2026-08-02 16:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":146660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:12:39] local.INFO: GPS data processed {"connection_id":146660,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:12:39] local.INFO: Acknowledgment sent {"connection_id":146660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:12:44] local.INFO: TCP Data received {"connection_id":146660,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2111030012d81388005ed16580008010426..."} 
[2026-08-02 16:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2111030012d81388005ed16580008010426..."} 
[2026-08-02 16:12:44] local.INFO: Processing buffer {"connection_id":146660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2111030012d81388005ed16580008010426..."} 
[2026-08-02 16:12:44] local.INFO: Packet analysis {"connection_id":146660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:12:44] local.INFO: Extracted packet for processing {"connection_id":146660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763443328,"raw_latitude":99423832,"longitude_deg":76.3443328,"latitude_deg":9.9423832,"altitude":8,"angle":260,"satellites":38,"speed":19,"hex_longitude":"2d813880","hex_latitude":"05ed1658","is_valid_coordinates":true} 
[2026-08-02 16:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130835200001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029345894301696,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134848131226759168,"note":"Value kept but may cause issues"} 
[2026-08-02 16:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785667326000,"timestamp_ms":1785667326000,"timestamp_seconds":1785667326,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2111030"} 
[2026-08-02 16:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-02 16:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130835200001,"66":13602,"135":206,"87":11264,"24":19,"16":114029345894301696,"45":-9134848131226759168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-08-02 16:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130835200001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:12:44] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 16:12:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029345894301696,"km_value":114029345894301.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134848131226759168,"description":"Unknown IO ID 45"} 
[2026-08-02 16:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130835200001,"power":13602,"unknown_135":206,"unknown_87":11264,"ignition":19,"odometer":null,"unknown_45":-9134848131226759168}} 
[2026-08-02 16:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":146660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:12:44] local.INFO: GPS data processed {"connection_id":146660,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:12:44] local.INFO: Acknowledgment sent {"connection_id":146660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:12:59] local.INFO: TCP Data received {"connection_id":146884,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:12:59] local.INFO: Processing buffer {"connection_id":146884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:12:59] local.INFO: IMEI packet received {"connection_id":146884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":146884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:13:02] local.INFO: TCP Data received {"connection_id":149221,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:13:02] local.INFO: Processing buffer {"connection_id":149221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:13:02] local.INFO: Packet analysis {"connection_id":149221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:13:02] local.INFO: Extracted packet for processing {"connection_id":149221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:13:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130708480001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785667131000,"timestamp_ms":1785667131000,"timestamp_seconds":1785667131,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20e1678"} 
[2026-08-02 16:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 16:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130708480001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130708480001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:13:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:13:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:13:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130708480001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":149221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:13:02] local.INFO: GPS data processed {"connection_id":149221,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:13:02] local.INFO: Acknowledgment sent {"connection_id":149221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:13:04] local.INFO: TCP Data received {"connection_id":146884,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:13:04] local.INFO: Processing buffer {"connection_id":146884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:13:04] local.INFO: IMEI packet received {"connection_id":146884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":146884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:13:04] local.INFO: TCP Data received {"connection_id":146884,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20db8b8012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20db8b8012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:13:04] local.INFO: Processing buffer {"connection_id":146884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20db8b8012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:13:04] local.INFO: Packet analysis {"connection_id":146884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20d"} 
[2026-08-02 16:13:04] local.INFO: Extracted packet for processing {"connection_id":146884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20d"} 
[2026-08-02 16:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":79,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-02 16:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130774016001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273493052555264,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13: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-08-02 16:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785667107000,"timestamp_ms":1785667107000,"timestamp_seconds":1785667107,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20db8b8"} 
[2026-08-02 16:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-02 16:13: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-08-02 16:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130774016001,"66":12428,"105":206,"83":41984,"24":0,"16":10273493052555264,"45":1739093174236997632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130774016001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:13:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:13:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273493052555264,"km_value":10273493052555.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-08-02 16:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130774016001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-08-02 16:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":146884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:13:05] local.INFO: GPS data processed {"connection_id":146884,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:13:05] local.INFO: Acknowledgment sent {"connection_id":146884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:13:24] local.INFO: TCP Data received {"connection_id":146885,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:13:24] local.INFO: Processing buffer {"connection_id":146885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:13:24] local.INFO: IMEI packet received {"connection_id":146885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":146885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:13:27] local.INFO: TCP Data received {"connection_id":146886,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:13:27] local.INFO: Processing buffer {"connection_id":146886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:13:27] local.INFO: IMEI packet received {"connection_id":146886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":146886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:13:28] local.INFO: TCP Data received {"connection_id":146886,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 16:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146886,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 16:13:28] local.INFO: Processing buffer {"connection_id":146886,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 16:13:28] local.INFO: IMEI packet received {"connection_id":146886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":146886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:13:29] local.INFO: TCP Data received {"connection_id":146885,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:13:29] local.INFO: Processing buffer {"connection_id":146885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:13:29] local.INFO: IMEI packet received {"connection_id":146885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":146885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:13:30] local.INFO: TCP Data received {"connection_id":146886,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:13:30] local.INFO: Processing buffer {"connection_id":146886,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-02 16:13:30] local.INFO: IMEI packet received {"connection_id":146886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":146886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:13:30] local.INFO: TCP Data received {"connection_id":146885,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:13:30] local.INFO: Processing buffer {"connection_id":146885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:13:30] local.INFO: Packet analysis {"connection_id":146885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:13:30] local.INFO: Extracted packet for processing {"connection_id":146885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:13:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130708480001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785667131000,"timestamp_ms":1785667131000,"timestamp_seconds":1785667131,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20e1678"} 
[2026-08-02 16:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 16:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130708480001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130708480001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:13:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:13:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130708480001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":146885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:13:30] local.INFO: GPS data processed {"connection_id":146885,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:13:30] local.INFO: Acknowledgment sent {"connection_id":146885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:13:31] local.INFO: TCP Data received {"connection_id":146886,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2115a68012d81154005ed0d500009010629..."} 
[2026-08-02 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2115a68012d81154005ed0d500009010629..."} 
[2026-08-02 16:13:31] local.INFO: Processing buffer {"connection_id":146886,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fc2..."} 
[2026-08-02 16:13:31] local.INFO: IMEI packet received {"connection_id":146886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":146886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:13:33] local.INFO: TCP Data received {"connection_id":146886,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc211a888012d810c8005ed0c58000801092a..."} 
[2026-08-02 16:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc211a888012d810c8005ed0c58000801092a..."} 
[2026-08-02 16:13:33] local.INFO: Processing buffer {"connection_id":146886,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc2115a68012d81154005ed0d500009010629..."} 
[2026-08-02 16:13:33] local.INFO: Packet analysis {"connection_id":146886,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:13:33] local.INFO: Extracted packet for processing {"connection_id":146886,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763434304,"raw_latitude":99421520,"longitude_deg":76.3434304,"latitude_deg":9.942152,"altitude":9,"angle":262,"satellites":41,"speed":14,"hex_longitude":"2d811540","hex_latitude":"05ed0d50","is_valid_coordinates":true} 
[2026-08-02 16:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130835456001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029788275933184,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9135411081180194816,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785667345000,"timestamp_ms":1785667345000,"timestamp_seconds":1785667345,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2115a68"} 
[2026-08-02 16:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:13: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-08-02 16:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-02 16:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130835456001,"66":13363,"188":206,"87":11264,"24":14,"16":114029788275933184,"45":-9135411081180194816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-08-02 16:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130835456001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:13:33] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 16:13:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029788275933184,"km_value":114029788275933.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9135411081180194816,"description":"Unknown IO ID 45"} 
[2026-08-02 16:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130835456001,"power":13363,"unknown_188":206,"unknown_87":11264,"ignition":14,"odometer":null,"unknown_45":-9135411081180194816}} 
[2026-08-02 16:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":146886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:13:33] local.INFO: GPS data processed {"connection_id":146886,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:13:33] local.INFO: Acknowledgment sent {"connection_id":146886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:13:33] local.INFO: Packet analysis {"connection_id":146886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:13:33] local.INFO: Extracted packet for processing {"connection_id":146886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763432064,"raw_latitude":99421272,"longitude_deg":76.3432064,"latitude_deg":9.9421272,"altitude":8,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d810c80","hex_latitude":"05ed0c58","is_valid_coordinates":true} 
[2026-08-02 16:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130840320001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029895650115584,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145333074109837312,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785667365000,"timestamp_ms":1785667365000,"timestamp_seconds":1785667365,"priority":1,"record_length":96,"hex_timestamp":"0000019fc211a888"} 
[2026-08-02 16:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:13: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-08-02 16:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 16:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130840320001,"66":12645,"188":206,"87":11264,"24":0,"16":114029895650115584,"45":-9145333074109837312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-08-02 16:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130840320001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:13:33] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 16:13:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029895650115584,"km_value":114029895650115.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145333074109837312,"description":"Unknown IO ID 45"} 
[2026-08-02 16:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130840320001,"power":12645,"unknown_188":206,"unknown_87":11264,"ignition":0,"odometer":null,"unknown_45":-9145333074109837312}} 
[2026-08-02 16:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":146886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:13:33] local.INFO: GPS data processed {"connection_id":146886,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:13:33] local.INFO: Acknowledgment sent {"connection_id":146886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:13:35] local.INFO: TCP Data received {"connection_id":146884,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20e0ac0012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20e0ac0012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:13:35] local.INFO: Processing buffer {"connection_id":146884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20e0ac0012d1822800721b3e8004f00d230..."} 
[2026-08-02 16:13:35] local.INFO: Packet analysis {"connection_id":146884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:13:35] local.INFO: Extracted packet for processing {"connection_id":146884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":79,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-02 16:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130779392001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273493052555264,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667128000,"timestamp_ms":1785667128000,"timestamp_seconds":1785667128,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20e0ac0"} 
[2026-08-02 16:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-02 16:13: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-08-02 16:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130779392001,"66":12406,"105":206,"83":41984,"24":0,"16":10273493052555264,"45":1739093174236997632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130779392001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:13:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273493052555264,"km_value":10273493052555.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-08-02 16:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130779392001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-08-02 16:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":146884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:13:35] local.INFO: GPS data processed {"connection_id":146884,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:13:35] local.INFO: Acknowledgment sent {"connection_id":146884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:13:59] local.INFO: TCP Data received {"connection_id":147923,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:13:59] local.INFO: Processing buffer {"connection_id":147923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:13:59] local.INFO: IMEI packet received {"connection_id":147923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":147923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:13:59] local.INFO: TCP Data received {"connection_id":147923,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:13:59] local.INFO: Processing buffer {"connection_id":147923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:13:59] local.INFO: IMEI packet received {"connection_id":147923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":147923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:14:02] local.INFO: TCP Data received {"connection_id":146885,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:14:02] local.INFO: Processing buffer {"connection_id":146885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc20e1678012cc330c007685958005800c52e..."} 
[2026-08-02 16:14:02] local.INFO: Packet analysis {"connection_id":146885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:14:02] local.INFO: Extracted packet for processing {"connection_id":146885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc20e"} 
[2026-08-02 16:14:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130708480001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785667131000,"timestamp_ms":1785667131000,"timestamp_seconds":1785667131,"priority":1,"record_length":96,"hex_timestamp":"0000019fc20e1678"} 
[2026-08-02 16:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 16:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130708480001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130708480001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:14:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:14:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:14:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130708480001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":146885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:14:02] local.INFO: GPS data processed {"connection_id":146885,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:14:02] local.INFO: Acknowledgment sent {"connection_id":146885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:14:04] local.INFO: TCP Data received {"connection_id":147923,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:14:04] local.INFO: Processing buffer {"connection_id":147923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:14:04] local.INFO: IMEI packet received {"connection_id":147923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":147923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:14:05] local.INFO: TCP Data received {"connection_id":146886,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc211fa90012d8107c005ed0bb0000801092b..."} 
[2026-08-02 16:14:05] local.INFO: TCP Data received {"connection_id":147923,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2119118012d1820c00721b158004f00d630..."} 
[2026-08-02 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc211fa90012d8107c005ed0bb0000801092b..."} 
[2026-08-02 16:14:05] local.INFO: Processing buffer {"connection_id":146886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc211fa90012d8107c005ed0bb0000801092b..."} 
[2026-08-02 16:14:05] local.INFO: Packet analysis {"connection_id":146886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:14:05] local.INFO: Extracted packet for processing {"connection_id":146886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763430848,"raw_latitude":99421104,"longitude_deg":76.3430848,"latitude_deg":9.9421104,"altitude":8,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d8107c0","hex_latitude":"05ed0bb0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130845440001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029955779657728,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9147795980156119040,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785667386000,"timestamp_ms":1785667386000,"timestamp_seconds":1785667386,"priority":1,"record_length":96,"hex_timestamp":"0000019fc211fa90"} 
[2026-08-02 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-08-02 16:14: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-08-02 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-02 16:14: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-08-02 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-08-02 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-08-02 16:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2119118012d1820c00721b158004f00d630..."} 
[2026-08-02 16:14:05] local.INFO: Processing buffer {"connection_id":147923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2119118012d1820c00721b158004f00d630..."} 
[2026-08-02 16:14:05] local.INFO: Packet analysis {"connection_id":147923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:14:05] local.INFO: Extracted packet for processing {"connection_id":147923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648600,"longitude_deg":75.6555968,"latitude_deg":11.96486,"altitude":79,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130838528001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273531707260928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785667359000,"timestamp_ms":1785667359000,"timestamp_seconds":1785667359,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2119118"} 
[2026-08-02 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-08-02 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-02 16:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 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-08-02 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-08-02 16:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130845440001,"66":13374,"188":206,"87":11264,"24":0,"16":114029955779657728,"45":-9147795980156119040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-08-02 16:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130845440001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:14:05] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 16:14:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029955779657728,"km_value":114029955779657.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9147795980156119040,"description":"Unknown IO ID 45"} 
[2026-08-02 16:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130845440001,"power":13374,"unknown_188":206,"unknown_87":11264,"ignition":0,"odometer":null,"unknown_45":-9147795980156119040}} 
[2026-08-02 16:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130838528001,"66":12102,"105":206,"83":41984,"24":0,"16":10273531707260928,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130838528001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:14:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273531707260928,"km_value":10273531707260.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130838528001,"power":12102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":146886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:14:05] local.INFO: GPS data processed {"connection_id":146886,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:14:05] local.INFO: Acknowledgment sent {"connection_id":146886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":147923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:14:05] local.INFO: GPS data processed {"connection_id":147923,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:14:05] local.INFO: Acknowledgment sent {"connection_id":147923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:14:28] local.INFO: TCP Data received {"connection_id":149222,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:14:28] local.INFO: Processing buffer {"connection_id":149222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:14:28] local.INFO: IMEI packet received {"connection_id":149222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":149222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:14:28] local.INFO: TCP Data received {"connection_id":146661,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:14:28] local.INFO: Processing buffer {"connection_id":146661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:14:28] local.INFO: IMEI packet received {"connection_id":146661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":146661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:14:29] local.INFO: TCP Data received {"connection_id":146661,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:14:29] local.INFO: Processing buffer {"connection_id":146661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:14:29] local.INFO: IMEI packet received {"connection_id":146661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":146661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:14:33] local.INFO: TCP Data received {"connection_id":149222,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:14:33] local.INFO: Processing buffer {"connection_id":149222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:14:33] local.INFO: IMEI packet received {"connection_id":149222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":149222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:14:34] local.INFO: TCP Data received {"connection_id":149222,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21244c8012d81070005ed0b60000901142b..."} 
[2026-08-02 16:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21244c8012d81070005ed0b60000901142b..."} 
[2026-08-02 16:14:34] local.INFO: Processing buffer {"connection_id":149222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21244c8012d81070005ed0b60000901142b..."} 
[2026-08-02 16:14:34] local.INFO: Packet analysis {"connection_id":149222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:14:34] local.INFO: Extracted packet for processing {"connection_id":149222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763430656,"raw_latitude":99421024,"longitude_deg":76.3430656,"latitude_deg":9.9421024,"altitude":9,"angle":276,"satellites":43,"speed":4,"hex_longitude":"2d810700","hex_latitude":"05ed0b60","is_valid_coordinates":true} 
[2026-08-02 16:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130850816001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029968664559616,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149132986295537664,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785667405000,"timestamp_ms":1785667405000,"timestamp_seconds":1785667405,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21244c8"} 
[2026-08-02 16:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 16:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:14: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-08-02 16:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130850816001,"66":13102,"188":206,"87":11264,"24":4,"16":114029968664559616,"45":-9149132986295537664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-08-02 16:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130850816001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:14:34] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 16:14:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029968664559616,"km_value":114029968664559.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149132986295537664,"description":"Unknown IO ID 45"} 
[2026-08-02 16:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130850816001,"power":13102,"unknown_188":206,"unknown_87":11264,"ignition":4,"odometer":null,"unknown_45":-9149132986295537664}} 
[2026-08-02 16:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":149222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:14:34] local.INFO: GPS data processed {"connection_id":149222,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:14:34] local.INFO: Acknowledgment sent {"connection_id":149222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:14:35] local.INFO: TCP Data received {"connection_id":146661,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:14:35] local.INFO: Processing buffer {"connection_id":146661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:14:35] local.INFO: IMEI packet received {"connection_id":146661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":146661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:14:35] local.INFO: TCP Data received {"connection_id":147923,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc211e320012d1820c00721b158004f00d630..."} 
[2026-08-02 16:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc211e320012d1820c00721b158004f00d630..."} 
[2026-08-02 16:14:35] local.INFO: Processing buffer {"connection_id":147923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc211e320012d1820c00721b158004f00d630..."} 
[2026-08-02 16:14:35] local.INFO: Packet analysis {"connection_id":147923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:14:35] local.INFO: Extracted packet for processing {"connection_id":147923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc211"} 
[2026-08-02 16:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648600,"longitude_deg":75.6555968,"latitude_deg":11.96486,"altitude":79,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-02 16:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130843904001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273531707260928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667380000,"timestamp_ms":1785667380000,"timestamp_seconds":1785667380,"priority":1,"record_length":96,"hex_timestamp":"0000019fc211e320"} 
[2026-08-02 16:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-02 16:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130843904001,"66":12298,"105":206,"83":41984,"24":0,"16":10273531707260928,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130843904001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:14:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273531707260928,"km_value":10273531707260.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130843904001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":147923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:14:35] local.INFO: GPS data processed {"connection_id":147923,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:14:35] local.INFO: Acknowledgment sent {"connection_id":147923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:14:37] local.INFO: TCP Data received {"connection_id":146661,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:14:37] local.INFO: Processing buffer {"connection_id":146661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:14:37] local.INFO: Packet analysis {"connection_id":146661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:14:37] local.INFO: Extracted packet for processing {"connection_id":146661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130785536001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785667432000,"timestamp_ms":1785667432000,"timestamp_seconds":1785667432,"priority":1,"record_length":96,"hex_timestamp":"0000019fc212ae40"} 
[2026-08-02 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-08-02 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:14: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-08-02 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-08-02 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-08-02 16:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130785536001,"66":25299,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 16:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130785536001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:14:37] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 16:14:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:14:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130785536001,"power":25299,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":146661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:14:37] local.INFO: GPS data processed {"connection_id":146661,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:14:37] local.INFO: Acknowledgment sent {"connection_id":146661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:14:59] local.INFO: TCP Data received {"connection_id":149223,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:14:59] local.INFO: Processing buffer {"connection_id":149223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:14:59] local.INFO: IMEI packet received {"connection_id":149223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":149223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:15:02] local.INFO: TCP Data received {"connection_id":149223,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:15:02] local.INFO: Processing buffer {"connection_id":149223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:15:02] local.INFO: IMEI packet received {"connection_id":149223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":149223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:15:03] local.INFO: TCP Data received {"connection_id":149223,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:15:03] local.INFO: Processing buffer {"connection_id":149223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:15:03] local.INFO: IMEI packet received {"connection_id":149223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":149223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:15:04] local.INFO: TCP Data received {"connection_id":149223,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2123528012d1820c00721b158004f00d630..."} 
[2026-08-02 16:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2123528012d1820c00721b158004f00d630..."} 
[2026-08-02 16:15:04] local.INFO: Processing buffer {"connection_id":149223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2123528012d1820c00721b158004f00d630..."} 
[2026-08-02 16:15:04] local.INFO: Packet analysis {"connection_id":149223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:15:04] local.INFO: Extracted packet for processing {"connection_id":149223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648600,"longitude_deg":75.6555968,"latitude_deg":11.96486,"altitude":79,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-02 16:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130849280001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273531707260928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15: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-08-02 16:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785667401000,"timestamp_ms":1785667401000,"timestamp_seconds":1785667401,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2123528"} 
[2026-08-02 16:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-5764607523034234879,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4463167389341771742,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":79,"raw_value":59161422155743232,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832566,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244071219406,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2975334479,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":72,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513889641515909330,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:04] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,127,159,145,45,192,177,79,48,10,66,63,47,237,1,240,86,227,194,33,4,113,205,72,32,88,239,2,36,7,128],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 16:15:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692785430643081216,"timestamp_seconds":5692785430643081.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130849280001,"66":12287,"105":206,"83":41984,"24":0,"16":10273531707260928,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130849280001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:15:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273531707260928,"km_value":10273531707260.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130849280001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":149223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:15:04] local.INFO: GPS data processed {"connection_id":149223,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:15:04] local.INFO: Acknowledgment sent {"connection_id":149223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:15:07] local.INFO: TCP Data received {"connection_id":149222,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21248b0012d81064005ed0b28000900fc2a..."} 
[2026-08-02 16:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21248b0012d81064005ed0b28000900fc2a..."} 
[2026-08-02 16:15:07] local.INFO: Processing buffer {"connection_id":149222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21248b0012d81064005ed0b28000900fc2a..."} 
[2026-08-02 16:15:07] local.INFO: Packet analysis {"connection_id":149222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:15:07] local.INFO: Extracted packet for processing {"connection_id":149222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763430464,"raw_latitude":99420968,"longitude_deg":76.3430464,"latitude_deg":9.9420968,"altitude":9,"angle":252,"satellites":42,"speed":8,"hex_longitude":"2d810640","hex_latitude":"05ed0b28","is_valid_coordinates":true} 
[2026-08-02 16:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130855680001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029977254494208,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149344092528091136,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785667406000,"timestamp_ms":1785667406000,"timestamp_seconds":1785667406,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21248b0"} 
[2026-08-02 16:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:15: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-08-02 16:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-02 16:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130855680001,"66":13515,"188":206,"87":11264,"24":8,"16":114029977254494208,"45":-9149344092528091136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-08-02 16:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130855680001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:15:07] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 16:15:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029977254494208,"km_value":114029977254494.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149344092528091136,"description":"Unknown IO ID 45"} 
[2026-08-02 16:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130855680001,"power":13515,"unknown_188":206,"unknown_87":11264,"ignition":8,"odometer":null,"unknown_45":-9149344092528091136}} 
[2026-08-02 16:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":149222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:15:07] local.INFO: GPS data processed {"connection_id":149222,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:15:07] local.INFO: Acknowledgment sent {"connection_id":149222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:15:09] local.INFO: TCP Data received {"connection_id":149223,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2128730012d1820c00721b158004f00d62e..."} 
[2026-08-02 16:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2128730012d1820c00721b158004f00d62e..."} 
[2026-08-02 16:15:09] local.INFO: Processing buffer {"connection_id":149223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2128730012d1820c00721b158004f00d62e..."} 
[2026-08-02 16:15:09] local.INFO: Packet analysis {"connection_id":149223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:15:09] local.INFO: Extracted packet for processing {"connection_id":149223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648600,"longitude_deg":75.6555968,"latitude_deg":11.96486,"altitude":79,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-02 16:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130854656001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273531707260928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785667422000,"timestamp_ms":1785667422000,"timestamp_seconds":1785667422,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2128730"} 
[2026-08-02 16:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130854656001,"66":12287,"105":206,"83":41984,"24":0,"16":10273531707260928,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130854656001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:15:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:15:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273531707260928,"km_value":10273531707260.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130854656001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":149223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:15:09] local.INFO: GPS data processed {"connection_id":149223,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:15:09] local.INFO: Acknowledgment sent {"connection_id":149223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:15:27] local.INFO: TCP Data received {"connection_id":147924,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:15:27] local.INFO: Processing buffer {"connection_id":147924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:15:27] local.INFO: IMEI packet received {"connection_id":147924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":147924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:15:29] local.INFO: TCP Data received {"connection_id":146887,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:15:29] local.INFO: Processing buffer {"connection_id":146887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:15:29] local.INFO: IMEI packet received {"connection_id":146887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":146887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:15:32] local.INFO: TCP Data received {"connection_id":147924,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:15:32] local.INFO: Processing buffer {"connection_id":147924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:15:32] local.INFO: IMEI packet received {"connection_id":147924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":147924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:15:34] local.INFO: TCP Data received {"connection_id":147924,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2125080012d81040005ed0af0000901082a..."} 
[2026-08-02 16:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2125080012d81040005ed0af0000901082a..."} 
[2026-08-02 16:15:34] local.INFO: Processing buffer {"connection_id":147924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2125080012d81040005ed0af0000901082a..."} 
[2026-08-02 16:15:34] local.INFO: Packet analysis {"connection_id":147924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:15:34] local.INFO: Extracted packet for processing {"connection_id":147924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763429888,"raw_latitude":99420912,"longitude_deg":76.3429888,"latitude_deg":9.9420912,"altitude":9,"angle":264,"satellites":42,"speed":9,"hex_longitude":"2d810400","hex_latitude":"05ed0af0","is_valid_coordinates":true} 
[2026-08-02 16:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130855936001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114030003024297984,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149555198760638464,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785667408000,"timestamp_ms":1785667408000,"timestamp_seconds":1785667408,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2125080"} 
[2026-08-02 16:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 16:15: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-08-02 16:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:15: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-08-02 16:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130855936001,"66":13515,"188":206,"87":11264,"24":9,"16":114030003024297984,"45":-9149555198760638464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-08-02 16:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130855936001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:15:34] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 16:15:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114030003024297984,"km_value":114030003024297.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149555198760638464,"description":"Unknown IO ID 45"} 
[2026-08-02 16:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130855936001,"power":13515,"unknown_188":206,"unknown_87":11264,"ignition":9,"odometer":null,"unknown_45":-9149555198760638464}} 
[2026-08-02 16:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":147924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:15:34] local.INFO: GPS data processed {"connection_id":147924,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:15:34] local.INFO: Acknowledgment sent {"connection_id":147924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:15:36] local.INFO: TCP Data received {"connection_id":146887,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:15:36] local.INFO: Processing buffer {"connection_id":146887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:15:36] local.INFO: IMEI packet received {"connection_id":146887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":146887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:15:37] local.INFO: TCP Data received {"connection_id":146887,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:15:37] local.INFO: Processing buffer {"connection_id":146887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:15:37] local.INFO: Packet analysis {"connection_id":146887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:15:37] local.INFO: Extracted packet for processing {"connection_id":146887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130785536001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785667432000,"timestamp_ms":1785667432000,"timestamp_seconds":1785667432,"priority":1,"record_length":96,"hex_timestamp":"0000019fc212ae40"} 
[2026-08-02 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-08-02 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:15: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-08-02 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-08-02 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-08-02 16:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130785536001,"66":25299,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 16:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130785536001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:15:37] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 16:15:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130785536001,"power":25299,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":146887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:15:37] local.INFO: GPS data processed {"connection_id":146887,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:15:37] local.INFO: Acknowledgment sent {"connection_id":146887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:15:40] local.INFO: TCP Data received {"connection_id":149223,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc212d938012d1820c00721b158004f00d62e..."} 
[2026-08-02 16:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc212d938012d1820c00721b158004f00d62e..."} 
[2026-08-02 16:15:40] local.INFO: Processing buffer {"connection_id":149223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc212d938012d1820c00721b158004f00d62e..."} 
[2026-08-02 16:15:40] local.INFO: Packet analysis {"connection_id":149223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:15:40] local.INFO: Extracted packet for processing {"connection_id":149223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:15:40] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648600,"longitude_deg":75.6555968,"latitude_deg":11.96486,"altitude":79,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-02 16:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130860032001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273531707260928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785667443000,"timestamp_ms":1785667443000,"timestamp_seconds":1785667443,"priority":1,"record_length":96,"hex_timestamp":"0000019fc212d938"} 
[2026-08-02 16:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130860032001,"66":12341,"105":206,"83":41984,"24":0,"16":10273531707260928,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130860032001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:15:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:15:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273531707260928,"km_value":10273531707260.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130860032001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":149223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:15:40] local.INFO: GPS data processed {"connection_id":149223,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:15:40] local.INFO: Acknowledgment sent {"connection_id":149223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:15:58] local.INFO: TCP Data received {"connection_id":146888,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:15:58] local.INFO: Processing buffer {"connection_id":146888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:15:58] local.INFO: IMEI packet received {"connection_id":146888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":146888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:16:04] local.INFO: TCP Data received {"connection_id":146888,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:16:04] local.INFO: Processing buffer {"connection_id":146888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:16:04] local.INFO: IMEI packet received {"connection_id":146888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":146888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:16:05] local.INFO: TCP Data received {"connection_id":146888,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2132b40012d1820c00721b158004f00d62f..."} 
[2026-08-02 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2132b40012d1820c00721b158004f00d62f..."} 
[2026-08-02 16:16:05] local.INFO: Processing buffer {"connection_id":146888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2132b40012d1820c00721b158004f00d62f..."} 
[2026-08-02 16:16:05] local.INFO: Packet analysis {"connection_id":146888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc213"} 
[2026-08-02 16:16:05] local.INFO: Extracted packet for processing {"connection_id":146888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc213"} 
[2026-08-02 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648600,"longitude_deg":75.6555968,"latitude_deg":11.96486,"altitude":79,"angle":214,"satellites":47,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-02 16:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130865408001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273531707260928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785667464000,"timestamp_ms":1785667464000,"timestamp_seconds":1785667464,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2132b40"} 
[2026-08-02 16:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16: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-08-02 16: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 16:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130865408001,"66":12298,"105":206,"83":41984,"24":0,"16":10273531707260928,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130865408001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:16:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273531707260928,"km_value":10273531707260.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130865408001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":146888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:16:05] local.INFO: GPS data processed {"connection_id":146888,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:16:05] local.INFO: Acknowledgment sent {"connection_id":146888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:16:05] local.INFO: TCP Data received {"connection_id":147924,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc212a288012d80f48005ed0840000a010828..."} 
[2026-08-02 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc212a288012d80f48005ed0840000a010828..."} 
[2026-08-02 16:16:05] local.INFO: Processing buffer {"connection_id":147924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc212a288012d80f48005ed0840000a010828..."} 
[2026-08-02 16:16:05] local.INFO: Packet analysis {"connection_id":147924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:16:05] local.INFO: Extracted packet for processing {"connection_id":147924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763425920,"raw_latitude":99420224,"longitude_deg":76.342592,"latitude_deg":9.9420224,"altitude":10,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d80f480","hex_latitude":"05ed0840","is_valid_coordinates":true} 
[2026-08-02 16:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130856448001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114030196297826304,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150188517458251776,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785667429000,"timestamp_ms":1785667429000,"timestamp_seconds":1785667429,"priority":1,"record_length":96,"hex_timestamp":"0000019fc212a288"} 
[2026-08-02 16:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:16: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-08-02 16: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":203,"data_length":795,"current_offset":136} 
[2026-08-02 16:16: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-08-02 16:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130856448001,"66":13450,"188":206,"87":11264,"24":0,"16":114030196297826304,"45":-9150188517458251776},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-08-02 16:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130856448001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:16:05] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 16:16:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114030196297826304,"km_value":114030196297826.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150188517458251776,"description":"Unknown IO ID 45"} 
[2026-08-02 16:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130856448001,"power":13450,"unknown_188":206,"unknown_87":11264,"ignition":0,"odometer":null,"unknown_45":-9150188517458251776}} 
[2026-08-02 16:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":147924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:16:06] local.INFO: GPS data processed {"connection_id":147924,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:16:06] local.INFO: Acknowledgment sent {"connection_id":147924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:16:09] local.INFO: TCP Data received {"connection_id":146887,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:16:09] local.INFO: Processing buffer {"connection_id":146887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:16:09] local.INFO: Packet analysis {"connection_id":146887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:16:09] local.INFO: Extracted packet for processing {"connection_id":146887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:16:09] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130785536001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785667432000,"timestamp_ms":1785667432000,"timestamp_seconds":1785667432,"priority":1,"record_length":96,"hex_timestamp":"0000019fc212ae40"} 
[2026-08-02 16:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:16: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-08-02 16:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130785536001,"66":25299,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 16:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130785536001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:16:09] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 16:16:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130785536001,"power":25299,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":146887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:16:09] local.INFO: GPS data processed {"connection_id":146887,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:16:09] local.INFO: Acknowledgment sent {"connection_id":146887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:16:27] local.INFO: TCP Data received {"connection_id":147925,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:16:27] local.INFO: Processing buffer {"connection_id":147925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:16:27] local.INFO: IMEI packet received {"connection_id":147925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":147925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:16:27] local.INFO: TCP Data received {"connection_id":147925,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:16:27] local.INFO: Processing buffer {"connection_id":147925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:16:27] local.INFO: IMEI packet received {"connection_id":147925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":147925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:16:29] local.INFO: TCP Data received {"connection_id":146662,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:16:29] local.INFO: Processing buffer {"connection_id":146662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:16:29] local.INFO: IMEI packet received {"connection_id":146662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":146662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:16:34] local.INFO: TCP Data received {"connection_id":146662,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:16:34] local.INFO: Processing buffer {"connection_id":146662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:16:34] local.INFO: IMEI packet received {"connection_id":146662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":146662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:16:34] local.INFO: TCP Data received {"connection_id":147925,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:16:34] local.INFO: Processing buffer {"connection_id":147925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:16:34] local.INFO: IMEI packet received {"connection_id":147925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":147925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:16:35] local.INFO: TCP Data received {"connection_id":146662,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:16:35] local.INFO: Processing buffer {"connection_id":146662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:16:35] local.INFO: Packet analysis {"connection_id":146662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:16:35] local.INFO: Extracted packet for processing {"connection_id":146662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:16:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130785536001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667432000,"timestamp_ms":1785667432000,"timestamp_seconds":1785667432,"priority":1,"record_length":96,"hex_timestamp":"0000019fc212ae40"} 
[2026-08-02 16:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130785536001,"66":25299,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 16:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130785536001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:16:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 16:16:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:16:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130785536001,"power":25299,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":146662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:16:35] local.INFO: GPS data processed {"connection_id":146662,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:16:35] local.INFO: Acknowledgment sent {"connection_id":146662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:16:35] local.INFO: TCP Data received {"connection_id":146888,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2137d48012d1820c00721b158004f00d630..."} 
[2026-08-02 16:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2137d48012d1820c00721b158004f00d630..."} 
[2026-08-02 16:16:35] local.INFO: Processing buffer {"connection_id":146888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2137d48012d1820c00721b158004f00d630..."} 
[2026-08-02 16:16:35] local.INFO: Packet analysis {"connection_id":146888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc213"} 
[2026-08-02 16:16:35] local.INFO: Extracted packet for processing {"connection_id":146888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc213"} 
[2026-08-02 16:16:35] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648600,"longitude_deg":75.6555968,"latitude_deg":11.96486,"altitude":79,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-02 16:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130870784001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273531707260928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667485000,"timestamp_ms":1785667485000,"timestamp_seconds":1785667485,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2137d48"} 
[2026-08-02 16:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-5116089176692883455,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4462806612088907744,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513886824017363158,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":79,"raw_value":60287322062585856,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195246865940686,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2975334479,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 16:16:35] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:35] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,127,159,217,45,192,177,79,46,10,66,135,53,1,240,255,227,194,33,4,113,205,145,32,88,48,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 16:16:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692785426348113920,"timestamp_seconds":5692785426348114.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130870784001,"66":12319,"105":206,"83":41984,"24":0,"16":10273531707260928,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130870784001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:16:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:16:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273531707260928,"km_value":10273531707260.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130870784001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":146888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:16:36] local.INFO: GPS data processed {"connection_id":146888,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:16:36] local.INFO: Acknowledgment sent {"connection_id":146888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:16:36] local.INFO: TCP Data received {"connection_id":147925,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc212b9f8012d80f08005ed07b8000a00fb29..."} 
[2026-08-02 16:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc212b9f8012d80f08005ed07b8000a00fb29..."} 
[2026-08-02 16:16:36] local.INFO: Processing buffer {"connection_id":147925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc212b9f8012d80f08005ed07b8000a00fb29..."} 
[2026-08-02 16:16:36] local.INFO: Packet analysis {"connection_id":147925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:16:36] local.INFO: Extracted packet for processing {"connection_id":147925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763424896,"raw_latitude":99420088,"longitude_deg":76.3424896,"latitude_deg":9.9420088,"altitude":10,"angle":251,"satellites":41,"speed":5,"hex_longitude":"2d80f080","hex_latitude":"05ed07b8","is_valid_coordinates":true} 
[2026-08-02 16:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130861824001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114030247837433856,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154551379597443072,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785667435000,"timestamp_ms":1785667435000,"timestamp_seconds":1785667435,"priority":1,"record_length":96,"hex_timestamp":"0000019fc212b9f8"} 
[2026-08-02 16:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:16: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-08-02 16: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 16:16: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-08-02 16:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130861824001,"66":13537,"188":206,"87":11264,"24":5,"16":114030247837433856,"45":-9154551379597443072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-08-02 16:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130861824001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:16:36] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 16:16:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114030247837433856,"km_value":114030247837433.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154551379597443072,"description":"Unknown IO ID 45"} 
[2026-08-02 16:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130861824001,"power":13537,"unknown_188":206,"unknown_87":11264,"ignition":5,"odometer":null,"unknown_45":-9154551379597443072}} 
[2026-08-02 16:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":147925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:16:36] local.INFO: GPS data processed {"connection_id":147925,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:16:36] local.INFO: Acknowledgment sent {"connection_id":147925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:16:40] local.INFO: TCP Data received {"connection_id":146662,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:16:40] local.INFO: Processing buffer {"connection_id":146662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:16:40] local.INFO: Packet analysis {"connection_id":146662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:16:40] local.INFO: Extracted packet for processing {"connection_id":146662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:16:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130785536001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785667432000,"timestamp_ms":1785667432000,"timestamp_seconds":1785667432,"priority":1,"record_length":96,"hex_timestamp":"0000019fc212ae40"} 
[2026-08-02 16:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130785536001,"66":25299,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 16:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130785536001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:16:40] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 16:16:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130785536001,"power":25299,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":146662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:16:40] local.INFO: GPS data processed {"connection_id":146662,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:16:40] local.INFO: Acknowledgment sent {"connection_id":146662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:17:04] local.INFO: TCP Data received {"connection_id":149224,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:17:04] local.INFO: Processing buffer {"connection_id":149224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:17:04] local.INFO: IMEI packet received {"connection_id":149224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":149224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:17:08] local.INFO: TCP Data received {"connection_id":149224,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:17:08] local.INFO: Processing buffer {"connection_id":149224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:17:08] local.INFO: IMEI packet received {"connection_id":149224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":149224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:17:08] local.INFO: TCP Data received {"connection_id":147925,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2130818012d80e6c005ed0568000c01022c..."} 
[2026-08-02 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2130818012d80e6c005ed0568000c01022c..."} 
[2026-08-02 16:17:08] local.INFO: Processing buffer {"connection_id":147925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2130818012d80e6c005ed0568000c01022c..."} 
[2026-08-02 16:17:08] local.INFO: Packet analysis {"connection_id":147925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc213"} 
[2026-08-02 16:17:08] local.INFO: Extracted packet for processing {"connection_id":147925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc213"} 
[2026-08-02 16:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763422400,"raw_latitude":99419496,"longitude_deg":76.34224,"latitude_deg":9.9419496,"altitude":12,"angle":258,"satellites":44,"speed":7,"hex_longitude":"2d80e6c0","hex_latitude":"05ed0568","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130863360001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114030372391485440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155677279504320512,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785667455000,"timestamp_ms":1785667455000,"timestamp_seconds":1785667455,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2130818"} 
[2026-08-02 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-08-02 16:17: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-08-02 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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-02 16:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130863360001,"66":13352,"188":206,"87":11264,"24":7,"16":114030372391485440,"45":-9155677279504320512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-08-02 16:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130863360001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:17:08] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-02 16:17:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114030372391485440,"km_value":114030372391485.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155677279504320512,"description":"Unknown IO ID 45"} 
[2026-08-02 16:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130863360001,"power":13352,"unknown_188":206,"unknown_87":11264,"ignition":7,"odometer":null,"unknown_45":-9155677279504320512}} 
[2026-08-02 16:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":147925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:17:08] local.INFO: GPS data processed {"connection_id":147925,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:17:08] local.INFO: Acknowledgment sent {"connection_id":147925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:17:09] local.INFO: TCP Data received {"connection_id":149224,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc213cb68012d1820c00721b158004f00d62e..."} 
[2026-08-02 16:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc213cb68012d1820c00721b158004f00d62e..."} 
[2026-08-02 16:17:09] local.INFO: Processing buffer {"connection_id":149224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc213cb68012d1820c00721b158004f00d62e..."} 
[2026-08-02 16:17:09] local.INFO: Packet analysis {"connection_id":149224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc213"} 
[2026-08-02 16:17:09] local.INFO: Extracted packet for processing {"connection_id":149224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc213"} 
[2026-08-02 16:17:09] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648600,"longitude_deg":75.6555968,"latitude_deg":11.96486,"altitude":79,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130876160001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273531707260928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785667505000,"timestamp_ms":1785667505000,"timestamp_seconds":1785667505,"priority":1,"record_length":96,"hex_timestamp":"0000019fc213cb68"} 
[2026-08-02 16:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 16:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130876160001,"66":12298,"105":206,"83":41984,"24":0,"16":10273531707260928,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130876160001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:17:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:17:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273531707260928,"km_value":10273531707260.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130876160001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":149224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:17:09] local.INFO: GPS data processed {"connection_id":149224,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:17:09] local.INFO: Acknowledgment sent {"connection_id":149224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:17:09] local.INFO: TCP Data received {"connection_id":149224,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2142158012d1820c00721b158004f00d630..."} 
[2026-08-02 16:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2142158012d1820c00721b158004f00d630..."} 
[2026-08-02 16:17:09] local.INFO: Processing buffer {"connection_id":149224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2142158012d1820c00721b158004f00d630..."} 
[2026-08-02 16:17:09] local.INFO: Packet analysis {"connection_id":149224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc214"} 
[2026-08-02 16:17:09] local.INFO: Extracted packet for processing {"connection_id":149224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc214"} 
[2026-08-02 16:17:09] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648600,"longitude_deg":75.6555968,"latitude_deg":11.96486,"altitude":79,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130881280001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273531707260928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785667527000,"timestamp_ms":1785667527000,"timestamp_seconds":1785667527,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2142158"} 
[2026-08-02 16:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-5116089176692883455,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4462626223462475744,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513886824017363158,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":79,"raw_value":60288421574213632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145841209550,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2975334479,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 16:17:09] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:09] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,127,159,125,45,192,177,79,48,10,66,43,47,217,1,240,53,227,194,33,4,113,205,32,88,239,2,36,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 16:17:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692785422053146624,"timestamp_seconds":5692785422053147.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130881280001,"66":12298,"105":206,"83":41984,"24":0,"16":10273531707260928,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130881280001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:17:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:17:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273531707260928,"km_value":10273531707260.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130881280001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":149224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:17:10] local.INFO: GPS data processed {"connection_id":149224,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:17:10] local.INFO: Acknowledgment sent {"connection_id":149224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:17:24] local.INFO: TCP Data received {"connection_id":146663,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:17:24] local.INFO: Processing buffer {"connection_id":146663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:17:24] local.INFO: IMEI packet received {"connection_id":146663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":146663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:17:27] local.INFO: TCP Data received {"connection_id":146889,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:17:27] local.INFO: Processing buffer {"connection_id":146889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:17:27] local.INFO: IMEI packet received {"connection_id":146889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":146889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:17:29] local.INFO: TCP Data received {"connection_id":146663,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:17:29] local.INFO: Processing buffer {"connection_id":146663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:17:29] local.INFO: IMEI packet received {"connection_id":146663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":146663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:17:30] local.INFO: TCP Data received {"connection_id":146663,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:17:30] local.INFO: Processing buffer {"connection_id":146663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:17:30] local.INFO: Packet analysis {"connection_id":146663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:17:30] local.INFO: Extracted packet for processing {"connection_id":146663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:17:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130785536001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785667432000,"timestamp_ms":1785667432000,"timestamp_seconds":1785667432,"priority":1,"record_length":96,"hex_timestamp":"0000019fc212ae40"} 
[2026-08-02 16:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130785536001,"66":25299,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 16:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130785536001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:17:30] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 16:17:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130785536001,"power":25299,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":146663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:17:30] local.INFO: GPS data processed {"connection_id":146663,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:17:30] local.INFO: Acknowledgment sent {"connection_id":146663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:17:32] local.INFO: TCP Data received {"connection_id":146889,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:17:32] local.INFO: Processing buffer {"connection_id":146889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:17:32] local.INFO: IMEI packet received {"connection_id":146889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":146889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:17:32] local.INFO: TCP Data received {"connection_id":146889,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:17:32] local.INFO: Processing buffer {"connection_id":146889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:17:32] local.INFO: IMEI packet received {"connection_id":146889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":146889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:17:33] local.INFO: TCP Data received {"connection_id":146889,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc215c738012d801d4005eceaa8000c01102b..."} 
[2026-08-02 16:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc215c738012d801d4005eceaa8000c01102b..."} 
[2026-08-02 16:17:33] local.INFO: Processing buffer {"connection_id":146889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc215c738012d801d4005eceaa8000c01102b..."} 
[2026-08-02 16:17:33] local.INFO: Packet analysis {"connection_id":146889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc215"} 
[2026-08-02 16:17:33] local.INFO: Extracted packet for processing {"connection_id":146889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc215"} 
[2026-08-02 16:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763370816,"raw_latitude":99412648,"longitude_deg":76.3370816,"latitude_deg":9.9412648,"altitude":12,"angle":272,"satellites":43,"speed":16,"hex_longitude":"2d801d40","hex_latitude":"05eceaa8","is_valid_coordinates":true} 
[2026-08-02 16:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130912768001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114032867767484416,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9212183381080799232,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785667635000,"timestamp_ms":1785667635000,"timestamp_seconds":1785667635,"priority":1,"record_length":96,"hex_timestamp":"0000019fc215c738"} 
[2026-08-02 16:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-02 16:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130912768001,"66":13504,"91":206,"87":11264,"24":16,"16":114032867767484416,"45":-9212183381080799232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,87,24,16,45]} 
[2026-08-02 16:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130912768001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:17:33] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-02 16:17:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114032867767484416,"km_value":114032867767484.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9212183381080799232,"description":"Unknown IO ID 45"} 
[2026-08-02 16:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130912768001,"power":13504,"unknown_91":206,"unknown_87":11264,"ignition":16,"odometer":null,"unknown_45":-9212183381080799232}} 
[2026-08-02 16:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":146889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:17:33] local.INFO: GPS data processed {"connection_id":146889,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:17:33] local.INFO: Acknowledgment sent {"connection_id":146889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:17:38] local.INFO: TCP Data received {"connection_id":146889,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc215cb20012d801b8005eceaf8000c011c2b..."} 
[2026-08-02 16:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc215cb20012d801b8005eceaf8000c011c2b..."} 
[2026-08-02 16:17:38] local.INFO: Processing buffer {"connection_id":146889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc215cb20012d801b8005eceaf8000c011c2b..."} 
[2026-08-02 16:17:38] local.INFO: Packet analysis {"connection_id":146889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc215"} 
[2026-08-02 16:17:38] local.INFO: Extracted packet for processing {"connection_id":146889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc215"} 
[2026-08-02 16:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763370368,"raw_latitude":99412728,"longitude_deg":76.3370368,"latitude_deg":9.9412728,"altitude":12,"angle":284,"satellites":43,"speed":20,"hex_longitude":"2d801b80","hex_latitude":"05eceaf8","is_valid_coordinates":true} 
[2026-08-02 16:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130914560001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114032889242320896,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215138868336351232,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785667636000,"timestamp_ms":1785667636000,"timestamp_seconds":1785667636,"priority":1,"record_length":96,"hex_timestamp":"0000019fc215cb20"} 
[2026-08-02 16:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:17: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-08-02 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 16:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130914560001,"66":13417,"91":206,"87":11264,"24":20,"16":114032889242320896,"45":-9215138868336351232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,87,24,16,45]} 
[2026-08-02 16:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130914560001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:17:38] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-02 16:17:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114032889242320896,"km_value":114032889242320.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215138868336351232,"description":"Unknown IO ID 45"} 
[2026-08-02 16:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130914560001,"power":13417,"unknown_91":206,"unknown_87":11264,"ignition":20,"odometer":null,"unknown_45":-9215138868336351232}} 
[2026-08-02 16:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":146889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:17:38] local.INFO: GPS data processed {"connection_id":146889,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:17:38] local.INFO: Acknowledgment sent {"connection_id":146889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:17:41] local.INFO: TCP Data received {"connection_id":149224,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2147360012d1820c00721b158004f00d630..."} 
[2026-08-02 16:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2147360012d1820c00721b158004f00d630..."} 
[2026-08-02 16:17:41] local.INFO: Processing buffer {"connection_id":149224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2147360012d1820c00721b158004f00d630..."} 
[2026-08-02 16:17:41] local.INFO: Packet analysis {"connection_id":149224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc214"} 
[2026-08-02 16:17:41] local.INFO: Extracted packet for processing {"connection_id":149224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc214"} 
[2026-08-02 16:17:41] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648600,"longitude_deg":75.6555968,"latitude_deg":11.96486,"altitude":79,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-02 16:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130886912001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273531707260928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785667548000,"timestamp_ms":1785667548000,"timestamp_seconds":1785667548,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2147360"} 
[2026-08-02 16:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-5116089176692883455,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4462536029149259744,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":26625,"corrected_to":0} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513886824017363158,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":79,"raw_value":60288421574213632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832567,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921097392334,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2975334479,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-02 16:17:41] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,127,159,203,45,192,177,79,46,10,66,125,48,43,1,240,227,194,33,4,113,205,135,32,88,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":203,"original":26625,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 16:17:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692785430643081216,"timestamp_seconds":5692785430643081.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":149224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":149224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":149224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130886912001,"66":12298,"105":206,"83":41984,"24":0,"16":10273531707260928,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130886912001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:17:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273531707260928,"km_value":10273531707260.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130886912001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":149224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:17:41] local.INFO: GPS data processed {"connection_id":149224,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:17:41] local.INFO: Acknowledgment sent {"connection_id":149224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:17:59] local.INFO: TCP Data received {"connection_id":147926,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:17:59] local.INFO: Processing buffer {"connection_id":147926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:17:59] local.INFO: IMEI packet received {"connection_id":147926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":147926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:18:03] local.INFO: TCP Data received {"connection_id":146663,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:18:03] local.INFO: Processing buffer {"connection_id":146663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:18:03] local.INFO: Packet analysis {"connection_id":146663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:18:03] local.INFO: Extracted packet for processing {"connection_id":146663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:18:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130785536001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785667432000,"timestamp_ms":1785667432000,"timestamp_seconds":1785667432,"priority":1,"record_length":96,"hex_timestamp":"0000019fc212ae40"} 
[2026-08-02 16:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130785536001,"66":25299,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 16:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130785536001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:18:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 16:18:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:18:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130785536001,"power":25299,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":146663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:18:03] local.INFO: GPS data processed {"connection_id":146663,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:18:03] local.INFO: Acknowledgment sent {"connection_id":146663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:18:03] local.INFO: TCP Data received {"connection_id":147926,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:18:03] local.INFO: Processing buffer {"connection_id":147926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:18:03] local.INFO: IMEI packet received {"connection_id":147926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":147926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:18:04] local.INFO: TCP Data received {"connection_id":147926,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc214c568012d1820c00721b158004f00d630..."} 
[2026-08-02 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc214c568012d1820c00721b158004f00d630..."} 
[2026-08-02 16:18:04] local.INFO: Processing buffer {"connection_id":147926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc214c568012d1820c00721b158004f00d630..."} 
[2026-08-02 16:18:04] local.INFO: Packet analysis {"connection_id":147926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc214"} 
[2026-08-02 16:18:04] local.INFO: Extracted packet for processing {"connection_id":147926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc214"} 
[2026-08-02 16:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648600,"longitude_deg":75.6555968,"latitude_deg":11.96486,"altitude":79,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-02 16:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130892288001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273531707260928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18: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-08-02 16:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785667569000,"timestamp_ms":1785667569000,"timestamp_seconds":1785667569,"priority":1,"record_length":96,"hex_timestamp":"0000019fc214c568"} 
[2026-08-02 16:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-5116089176692883455,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4462445834836043744,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2975334479,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513886824017363158,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":79,"raw_value":60286222550958080,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832566,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921097392334,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:04] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":26625,"corrected_to":0} 
[2026-08-02 16:18:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 16:18:04] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:04] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,127,159,33,45,192,177,79,48,10,66,203,46,125,1,240,31,227,194,4,113,205,217,32,88,239,2,36,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":203,"original":26625,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 16:18:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692785430643081216,"timestamp_seconds":5692785430643081.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130892288001,"66":12287,"105":206,"83":41984,"24":0,"16":10273531707260928,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130892288001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:18:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:18:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273531707260928,"km_value":10273531707260.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130892288001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":147926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:18:04] local.INFO: GPS data processed {"connection_id":147926,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:18:04] local.INFO: Acknowledgment sent {"connection_id":147926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:18:14] local.INFO: TCP Data received {"connection_id":146889,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc215cf08012d8019c005ecebe0000b012b2b..."} 
[2026-08-02 16:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc215cf08012d8019c005ecebe0000b012b2b..."} 
[2026-08-02 16:18:14] local.INFO: Processing buffer {"connection_id":146889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc215cf08012d8019c005ecebe0000b012b2b..."} 
[2026-08-02 16:18:14] local.INFO: Packet analysis {"connection_id":146889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc215"} 
[2026-08-02 16:18:14] local.INFO: Extracted packet for processing {"connection_id":146889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc215"} 
[2026-08-02 16:18:14] local.INFO: GPS Element Parsed {"raw_longitude":763369920,"raw_latitude":99412960,"longitude_deg":76.336992,"latitude_deg":9.941296,"altitude":11,"angle":299,"satellites":43,"speed":22,"hex_longitude":"2d8019c0","hex_latitude":"05ecebe0","is_valid_coordinates":true} 
[2026-08-02 16:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130914816001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114032915012124672,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215631449545574400,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785667637000,"timestamp_ms":1785667637000,"timestamp_seconds":1785667637,"priority":1,"record_length":96,"hex_timestamp":"0000019fc215cf08"} 
[2026-08-02 16:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-02 16:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130914816001,"66":13417,"91":206,"87":11264,"24":22,"16":114032915012124672,"45":-9215631449545574400},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,87,24,16,45]} 
[2026-08-02 16:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130914816001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:18:14] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-02 16:18:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114032915012124672,"km_value":114032915012124.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215631449545574400,"description":"Unknown IO ID 45"} 
[2026-08-02 16:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130914816001,"power":13417,"unknown_91":206,"unknown_87":11264,"ignition":22,"odometer":null,"unknown_45":-9215631449545574400}} 
[2026-08-02 16:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":146889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:18:14] local.INFO: GPS data processed {"connection_id":146889,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:18:14] local.INFO: Acknowledgment sent {"connection_id":146889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:18:24] local.INFO: TCP Data received {"connection_id":147927,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:18:24] local.INFO: Processing buffer {"connection_id":147927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:18:24] local.INFO: IMEI packet received {"connection_id":147927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":147927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:18:29] local.INFO: TCP Data received {"connection_id":147927,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:18:29] local.INFO: Processing buffer {"connection_id":147927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:18:29] local.INFO: IMEI packet received {"connection_id":147927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":147927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:18:30] local.INFO: TCP Data received {"connection_id":147927,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:18:30] local.INFO: Processing buffer {"connection_id":147927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:18:30] local.INFO: Packet analysis {"connection_id":147927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:18:30] local.INFO: Extracted packet for processing {"connection_id":147927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:18:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130785536001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785667432000,"timestamp_ms":1785667432000,"timestamp_seconds":1785667432,"priority":1,"record_length":96,"hex_timestamp":"0000019fc212ae40"} 
[2026-08-02 16:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130785536001,"66":25299,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 16:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130785536001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:18:30] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 16:18:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130785536001,"power":25299,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":147927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:18:30] local.INFO: GPS data processed {"connection_id":147927,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:18:30] local.INFO: Acknowledgment sent {"connection_id":147927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:18:32] local.INFO: TCP Data received {"connection_id":146664,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:18:32] local.INFO: Processing buffer {"connection_id":146664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:18:32] local.INFO: IMEI packet received {"connection_id":146664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":146664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:18:32] local.INFO: TCP Data received {"connection_id":146664,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:18:32] local.INFO: Processing buffer {"connection_id":146664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:18:32] local.INFO: IMEI packet received {"connection_id":146664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":146664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:18:35] local.INFO: TCP Data received {"connection_id":147926,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2151770012d1820c00721b158004f00d630..."} 
[2026-08-02 16:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2151770012d1820c00721b158004f00d630..."} 
[2026-08-02 16:18:35] local.INFO: Processing buffer {"connection_id":147926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2151770012d1820c00721b158004f00d630..."} 
[2026-08-02 16:18:35] local.INFO: Packet analysis {"connection_id":147926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc215"} 
[2026-08-02 16:18:35] local.INFO: Extracted packet for processing {"connection_id":147926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc215"} 
[2026-08-02 16:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648600,"longitude_deg":75.6555968,"latitude_deg":11.96486,"altitude":79,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-02 16:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130897664001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273531707260928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667590000,"timestamp_ms":1785667590000,"timestamp_seconds":1785667590,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2151770"} 
[2026-08-02 16:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130897664001,"66":12287,"105":206,"83":41984,"24":0,"16":10273531707260928,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130897664001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:18:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:18:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273531707260928,"km_value":10273531707260.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130897664001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":147926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:18:35] local.INFO: GPS data processed {"connection_id":147926,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:18:35] local.INFO: Acknowledgment sent {"connection_id":147926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:18:38] local.INFO: TCP Data received {"connection_id":146664,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:18:38] local.INFO: Processing buffer {"connection_id":146664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:18:38] local.INFO: IMEI packet received {"connection_id":146664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":146664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:18:38] local.INFO: TCP Data received {"connection_id":146664,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc215d6d8012d8015c005ecef40000b013e2b..."} 
[2026-08-02 16:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc215d6d8012d8015c005ecef40000b013e2b..."} 
[2026-08-02 16:18:38] local.INFO: Processing buffer {"connection_id":146664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc215d6d8012d8015c005ecef40000b013e2b..."} 
[2026-08-02 16:18:38] local.INFO: Packet analysis {"connection_id":146664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc215"} 
[2026-08-02 16:18:38] local.INFO: Extracted packet for processing {"connection_id":146664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc215"} 
[2026-08-02 16:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763368896,"raw_latitude":99413824,"longitude_deg":76.3368896,"latitude_deg":9.9413824,"altitude":11,"angle":318,"satellites":43,"speed":26,"hex_longitude":"2d8015c0","hex_latitude":"05ecef40","is_valid_coordinates":true} 
[2026-08-02 16:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130915072001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114032979436634112,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9216124030754758656,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785667639000,"timestamp_ms":1785667639000,"timestamp_seconds":1785667639,"priority":1,"record_length":96,"hex_timestamp":"0000019fc215d6d8"} 
[2026-08-02 16:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:18: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-08-02 16:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-02 16:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130915072001,"66":13417,"91":206,"87":11264,"24":26,"16":114032979436634112,"45":-9216124030754758656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,87,24,16,45]} 
[2026-08-02 16:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130915072001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:18:38] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-02 16:18:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114032979436634112,"km_value":114032979436634.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9216124030754758656,"description":"Unknown IO ID 45"} 
[2026-08-02 16:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130915072001,"power":13417,"unknown_91":206,"unknown_87":11264,"ignition":26,"odometer":null,"unknown_45":-9216124030754758656}} 
[2026-08-02 16:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":146664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:18:39] local.INFO: GPS data processed {"connection_id":146664,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:18:39] local.INFO: Acknowledgment sent {"connection_id":146664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:18:43] local.INFO: TCP Data received {"connection_id":146664,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21601d0012d7ffe8005ed0b400008013a28..."} 
[2026-08-02 16:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21601d0012d7ffe8005ed0b400008013a28..."} 
[2026-08-02 16:18:43] local.INFO: Processing buffer {"connection_id":146664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21601d0012d7ffe8005ed0b400008013a28..."} 
[2026-08-02 16:18:43] local.INFO: Packet analysis {"connection_id":146664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc216"} 
[2026-08-02 16:18:43] local.INFO: Extracted packet for processing {"connection_id":146664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc216"} 
[2026-08-02 16:18:43] local.INFO: GPS Element Parsed {"raw_longitude":763362944,"raw_latitude":99420992,"longitude_deg":76.3362944,"latitude_deg":9.9420992,"altitude":8,"angle":314,"satellites":40,"speed":36,"hex_longitude":"2d7ffe80","hex_latitude":"05ed0b40","is_valid_coordinates":true} 
[2026-08-02 16:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130915584001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114033426113232896,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9217249930661380096,"note":"Value kept but may cause issues"} 
[2026-08-02 16:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785667650000,"timestamp_ms":1785667650000,"timestamp_seconds":1785667650,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21601d0"} 
[2026-08-02 16:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-02 16:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130915584001,"66":13493,"91":206,"87":11264,"24":36,"16":114033426113232896,"45":-9217249930661380096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,87,24,16,45]} 
[2026-08-02 16:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130915584001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:18:43] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-02 16:18:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-02 16:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114033426113232896,"km_value":114033426113232.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9217249930661380096,"description":"Unknown IO ID 45"} 
[2026-08-02 16:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130915584001,"power":13493,"unknown_91":206,"unknown_87":11264,"ignition":36,"odometer":null,"unknown_45":-9217249930661380096}} 
[2026-08-02 16:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":146664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:18:43] local.INFO: GPS data processed {"connection_id":146664,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:18:43] local.INFO: Acknowledgment sent {"connection_id":146664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:18:59] local.INFO: TCP Data received {"connection_id":147928,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:18:59] local.INFO: Processing buffer {"connection_id":147928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:18:59] local.INFO: IMEI packet received {"connection_id":147928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":147928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:19:02] local.INFO: TCP Data received {"connection_id":147927,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:19:02] local.INFO: Processing buffer {"connection_id":147927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:19:02] local.INFO: Packet analysis {"connection_id":147927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:19:02] local.INFO: Extracted packet for processing {"connection_id":147927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:19:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130785536001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785667432000,"timestamp_ms":1785667432000,"timestamp_seconds":1785667432,"priority":1,"record_length":96,"hex_timestamp":"0000019fc212ae40"} 
[2026-08-02 16:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130785536001,"66":25299,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 16:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130785536001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:19:02] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 16:19:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:19:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130785536001,"power":25299,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":147927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:19:02] local.INFO: GPS data processed {"connection_id":147927,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:19:02] local.INFO: Acknowledgment sent {"connection_id":147927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:19:04] local.INFO: TCP Data received {"connection_id":147928,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:19:04] local.INFO: Processing buffer {"connection_id":147928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:19:04] local.INFO: IMEI packet received {"connection_id":147928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":147928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:19:04] local.INFO: TCP Data received {"connection_id":147928,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2156978012d1820c00721b158004f00d630..."} 
[2026-08-02 16:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2156978012d1820c00721b158004f00d630..."} 
[2026-08-02 16:19:04] local.INFO: Processing buffer {"connection_id":147928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2156978012d1820c00721b158004f00d630..."} 
[2026-08-02 16:19:04] local.INFO: Packet analysis {"connection_id":147928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc215"} 
[2026-08-02 16:19:04] local.INFO: Extracted packet for processing {"connection_id":147928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc215"} 
[2026-08-02 16:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648600,"longitude_deg":75.6555968,"latitude_deg":11.96486,"altitude":79,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130903040001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273531707260928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 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-08-02 16:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785667611000,"timestamp_ms":1785667611000,"timestamp_seconds":1785667611,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2156978"} 
[2026-08-02 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-08-02 16:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130903040001,"66":12319,"105":206,"83":41984,"24":0,"16":10273531707260928,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130903040001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:19:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273531707260928,"km_value":10273531707260.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130903040001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":147928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:19:05] local.INFO: GPS data processed {"connection_id":147928,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:19:05] local.INFO: Acknowledgment sent {"connection_id":147928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:19:23] local.INFO: TCP Data received {"connection_id":147929,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:19:23] local.INFO: Processing buffer {"connection_id":147929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:19:23] local.INFO: IMEI packet received {"connection_id":147929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":147929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:19:27] local.INFO: TCP Data received {"connection_id":149225,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:19:27] local.INFO: Processing buffer {"connection_id":149225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:19:27] local.INFO: IMEI packet received {"connection_id":149225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":149225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:19:29] local.INFO: TCP Data received {"connection_id":147929,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:19:29] local.INFO: Processing buffer {"connection_id":147929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:19:29] local.INFO: IMEI packet received {"connection_id":147929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":147929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:19:30] local.INFO: TCP Data received {"connection_id":147929,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:19:30] local.INFO: Processing buffer {"connection_id":147929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc212ae40012cc330c007685958005800c52b..."} 
[2026-08-02 16:19:30] local.INFO: Packet analysis {"connection_id":147929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:19:30] local.INFO: Extracted packet for processing {"connection_id":147929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc212"} 
[2026-08-02 16:19:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130785536001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785667432000,"timestamp_ms":1785667432000,"timestamp_seconds":1785667432,"priority":1,"record_length":96,"hex_timestamp":"0000019fc212ae40"} 
[2026-08-02 16:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 16:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130785536001,"66":25299,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 16:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130785536001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:19:30] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 16:19:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130785536001,"power":25299,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":147929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:19:30] local.INFO: GPS data processed {"connection_id":147929,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:19:30] local.INFO: Acknowledgment sent {"connection_id":147929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:19:33] local.INFO: TCP Data received {"connection_id":149225,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:19:33] local.INFO: Processing buffer {"connection_id":149225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:19:33] local.INFO: IMEI packet received {"connection_id":149225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":149225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:19:34] local.INFO: TCP Data received {"connection_id":149225,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2174608012d7f374005ecc288000a00e425..."} 
[2026-08-02 16:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2174608012d7f374005ecc288000a00e425..."} 
[2026-08-02 16:19:34] local.INFO: Processing buffer {"connection_id":149225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2174608012d7f374005ecc288000a00e425..."} 
[2026-08-02 16:19:34] local.INFO: Packet analysis {"connection_id":149225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:19:34] local.INFO: Extracted packet for processing {"connection_id":149225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:19:34] local.INFO: GPS Element Parsed {"raw_longitude":763311936,"raw_latitude":99402376,"longitude_deg":76.3311936,"latitude_deg":9.9402376,"altitude":10,"angle":228,"satellites":37,"speed":34,"hex_longitude":"2d7f3740","hex_latitude":"05ecc288","is_valid_coordinates":true} 
[2026-08-02 16:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130936832001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114036346690994176,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174676891332558848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785667733000,"timestamp_ms":1785667733000,"timestamp_seconds":1785667733,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2174608"} 
[2026-08-02 16:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 16:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:19: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-08-02 16:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130936832001,"66":13493,"216":206,"87":13824,"24":34,"16":114036346690994176,"45":9174676891332558848},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-08-02 16:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130936832001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:19:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-02 16:19:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114036346690994176,"km_value":114036346690994.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174676891332558848,"description":"Unknown IO ID 45"} 
[2026-08-02 16:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130936832001,"power":13493,"unknown_216":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":9174676891332558848}} 
[2026-08-02 16:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":149225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:19:34] local.INFO: GPS data processed {"connection_id":149225,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:19:34] local.INFO: Acknowledgment sent {"connection_id":149225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:19:35] local.INFO: TCP Data received {"connection_id":149225,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2177100012d7f1d0005eca8e0000b00e626..."} 
[2026-08-02 16:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2177100012d7f1d0005eca8e0000b00e626..."} 
[2026-08-02 16:19:35] local.INFO: Processing buffer {"connection_id":149225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2177100012d7f1d0005eca8e0000b00e626..."} 
[2026-08-02 16:19:35] local.INFO: Packet analysis {"connection_id":149225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:19:35] local.INFO: Extracted packet for processing {"connection_id":149225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:19:35] local.INFO: GPS Element Parsed {"raw_longitude":763305216,"raw_latitude":99395808,"longitude_deg":76.3305216,"latitude_deg":9.9395808,"altitude":11,"angle":230,"satellites":38,"speed":32,"hex_longitude":"2d7f1d00","hex_latitude":"05eca8e0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130939648001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114036797662560256,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166865960727119872,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667744000,"timestamp_ms":1785667744000,"timestamp_seconds":1785667744,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2177100"} 
[2026-08-02 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-08-02 16:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 16:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130939648001,"66":13559,"216":206,"87":13824,"24":32,"16":114036797662560256,"45":9166865960727119872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-08-02 16:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130939648001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:19:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-02 16:19:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114036797662560256,"km_value":114036797662560.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166865960727119872,"description":"Unknown IO ID 45"} 
[2026-08-02 16:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130939648001,"power":13559,"unknown_216":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9166865960727119872}} 
[2026-08-02 16:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":149225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:19:35] local.INFO: GPS data processed {"connection_id":149225,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:19:35] local.INFO: Acknowledgment sent {"connection_id":149225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:19:36] local.INFO: TCP Data received {"connection_id":147928,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc215bb80012d1820c00721b158004f00d630..."} 
[2026-08-02 16:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc215bb80012d1820c00721b158004f00d630..."} 
[2026-08-02 16:19:36] local.INFO: Processing buffer {"connection_id":147928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc215bb80012d1820c00721b158004f00d630..."} 
[2026-08-02 16:19:36] local.INFO: Packet analysis {"connection_id":147928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc215"} 
[2026-08-02 16:19:36] local.INFO: Extracted packet for processing {"connection_id":147928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc215"} 
[2026-08-02 16:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648600,"longitude_deg":75.6555968,"latitude_deg":11.96486,"altitude":79,"angle":214,"satellites":48,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-08-02 16:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130908416001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273531707260928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785667632000,"timestamp_ms":1785667632000,"timestamp_seconds":1785667632,"priority":1,"record_length":96,"hex_timestamp":"0000019fc215bb80"} 
[2026-08-02 16:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 16:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130908416001,"66":12287,"105":206,"83":41984,"24":0,"16":10273531707260928,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130908416001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:19:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273531707260928,"km_value":10273531707260.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130908416001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":147928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:19:36] local.INFO: GPS data processed {"connection_id":147928,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:19:36] local.INFO: Acknowledgment sent {"connection_id":147928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:19:55] local.INFO: TCP Data received {"connection_id":149226,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:19:55] local.INFO: Processing buffer {"connection_id":149226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:19:55] local.INFO: IMEI packet received {"connection_id":149226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":149226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:19:59] local.INFO: TCP Data received {"connection_id":149226,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:19:59] local.INFO: Processing buffer {"connection_id":149226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:19:59] local.INFO: IMEI packet received {"connection_id":149226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":149226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:20:02] local.INFO: TCP Data received {"connection_id":147929,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:20:02] local.INFO: Processing buffer {"connection_id":147929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:20:02] local.INFO: Packet analysis {"connection_id":147929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:20:02] local.INFO: Extracted packet for processing {"connection_id":147929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:20:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130862592001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785667733000,"timestamp_ms":1785667733000,"timestamp_seconds":1785667733,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2174608"} 
[2026-08-02 16:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-02 16:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130862592001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130862592001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:20:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:20:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:20:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130862592001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":147929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:20:02] local.INFO: GPS data processed {"connection_id":147929,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:20:02] local.INFO: Acknowledgment sent {"connection_id":147929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:20:03] local.INFO: TCP Data received {"connection_id":149226,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:20:03] local.INFO: Processing buffer {"connection_id":149226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:20:03] local.INFO: IMEI packet received {"connection_id":149226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":149226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:20:04] local.INFO: TCP Data received {"connection_id":149226,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2160d88012d181e800721aec0005100d330..."} 
[2026-08-02 16:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2160d88012d181e800721aec0005100d330..."} 
[2026-08-02 16:20:04] local.INFO: Processing buffer {"connection_id":149226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2160d88012d181e800721aec0005100d330..."} 
[2026-08-02 16:20:04] local.INFO: Packet analysis {"connection_id":149226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc216"} 
[2026-08-02 16:20:04] local.INFO: Extracted packet for processing {"connection_id":149226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc216"} 
[2026-08-02 16:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130913792001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027586048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20: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-08-02 16:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785667653000,"timestamp_ms":1785667653000,"timestamp_seconds":1785667653,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2160d88"} 
[2026-08-02 16:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130913792001,"66":12298,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1738600593027586048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130913792001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:20:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027586048,"description":"Unknown IO ID 45"} 
[2026-08-02 16:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130913792001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027586048}} 
[2026-08-02 16:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":149226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:20:04] local.INFO: GPS data processed {"connection_id":149226,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:20:04] local.INFO: Acknowledgment sent {"connection_id":149226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:20:07] local.INFO: TCP Data received {"connection_id":149225,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2178870012d7f0dc005ec9ea0000b00f126..."} 
[2026-08-02 16:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2178870012d7f0dc005ec9ea0000b00f126..."} 
[2026-08-02 16:20:07] local.INFO: Processing buffer {"connection_id":149225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2178870012d7f0dc005ec9ea0000b00f126..."} 
[2026-08-02 16:20:07] local.INFO: Packet analysis {"connection_id":149225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:20:07] local.INFO: Extracted packet for processing {"connection_id":149225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763301312,"raw_latitude":99393184,"longitude_deg":76.3301312,"latitude_deg":9.9393184,"altitude":11,"angle":241,"satellites":38,"speed":30,"hex_longitude":"2d7f0dc0","hex_latitude":"05ec9ea0","is_valid_coordinates":true} 
[2026-08-02 16:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130942464001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114037025295826944,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159477242586783744,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785667750000,"timestamp_ms":1785667750000,"timestamp_seconds":1785667750,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2178870"} 
[2026-08-02 16:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:20: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-08-02 16:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 16:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130942464001,"66":13559,"216":206,"87":13824,"24":30,"16":114037025295826944,"45":9159477242586783744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-08-02 16:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130942464001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:20:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-02 16:20:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114037025295826944,"km_value":114037025295826.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159477242586783744,"description":"Unknown IO ID 45"} 
[2026-08-02 16:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130942464001,"power":13559,"unknown_216":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":9159477242586783744}} 
[2026-08-02 16:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":149225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:20:07] local.INFO: GPS data processed {"connection_id":149225,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:20:07] local.INFO: Acknowledgment sent {"connection_id":149225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:20:24] local.INFO: TCP Data received {"connection_id":146890,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:20:24] local.INFO: Processing buffer {"connection_id":146890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:20:24] local.INFO: IMEI packet received {"connection_id":146890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":146890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:20:28] local.INFO: TCP Data received {"connection_id":146891,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:20:28] local.INFO: Processing buffer {"connection_id":146891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:20:28] local.INFO: IMEI packet received {"connection_id":146891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":146891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:20:28] local.INFO: TCP Data received {"connection_id":146891,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:20:28] local.INFO: Processing buffer {"connection_id":146891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:20:28] local.INFO: IMEI packet received {"connection_id":146891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":146891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:20:29] local.INFO: TCP Data received {"connection_id":146890,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:20:29] local.INFO: Processing buffer {"connection_id":146890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:20:29] local.INFO: IMEI packet received {"connection_id":146890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":146890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:20:30] local.INFO: TCP Data received {"connection_id":146890,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:20:30] local.INFO: Processing buffer {"connection_id":146890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:20:30] local.INFO: Packet analysis {"connection_id":146890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:20:30] local.INFO: Extracted packet for processing {"connection_id":146890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:20:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130862592001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785667733000,"timestamp_ms":1785667733000,"timestamp_seconds":1785667733,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2174608"} 
[2026-08-02 16:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-02 16:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130862592001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130862592001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:20:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:20:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130862592001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":146890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:20:30] local.INFO: GPS data processed {"connection_id":146890,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:20:30] local.INFO: Acknowledgment sent {"connection_id":146890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:20:33] local.INFO: TCP Data received {"connection_id":146891,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:20:33] local.INFO: Processing buffer {"connection_id":146891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:20:33] local.INFO: IMEI packet received {"connection_id":146891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":146891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:20:35] local.INFO: TCP Data received {"connection_id":146891,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc217b368012d7eebc005ec91d0000800f72b..."} 
[2026-08-02 16:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc217b368012d7eebc005ec91d0000800f72b..."} 
[2026-08-02 16:20:35] local.INFO: Processing buffer {"connection_id":146891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc217b368012d7eebc005ec91d0000800f72b..."} 
[2026-08-02 16:20:35] local.INFO: Packet analysis {"connection_id":146891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:20:35] local.INFO: Extracted packet for processing {"connection_id":146891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":763292608,"raw_latitude":99389904,"longitude_deg":76.3292608,"latitude_deg":9.9389904,"altitude":8,"angle":247,"satellites":43,"speed":32,"hex_longitude":"2d7eebc0","hex_latitude":"05ec91d0","is_valid_coordinates":true} 
[2026-08-02 16:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130944000001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114037467677458432,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155184749191274496,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667761000,"timestamp_ms":1785667761000,"timestamp_seconds":1785667761,"priority":1,"record_length":96,"hex_timestamp":"0000019fc217b368"} 
[2026-08-02 16:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 16:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130944000001,"66":13363,"218":206,"87":13824,"24":32,"16":114037467677458432,"45":9155184749191274496},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-08-02 16:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130944000001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:20:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-02 16:20:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114037467677458432,"km_value":114037467677458.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155184749191274496,"description":"Unknown IO ID 45"} 
[2026-08-02 16:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130944000001,"power":13363,"unknown_218":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9155184749191274496}} 
[2026-08-02 16:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":146891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:20:35] local.INFO: GPS data processed {"connection_id":146891,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:20:35] local.INFO: Acknowledgment sent {"connection_id":146891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:20:35] local.INFO: TCP Data received {"connection_id":149226,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2165f90012d181e800721aec0005100d330..."} 
[2026-08-02 16:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2165f90012d181e800721aec0005100d330..."} 
[2026-08-02 16:20:35] local.INFO: Processing buffer {"connection_id":149226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2165f90012d181e800721aec0005100d330..."} 
[2026-08-02 16:20:35] local.INFO: Packet analysis {"connection_id":149226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc216"} 
[2026-08-02 16:20:35] local.INFO: Extracted packet for processing {"connection_id":149226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc216"} 
[2026-08-02 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130919168001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667674000,"timestamp_ms":1785667674000,"timestamp_seconds":1785667674,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2165f90"} 
[2026-08-02 16:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-5116089176692883455,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4461999158237259744,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513886824017363158,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":79,"raw_value":60288421574213632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145841209550,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2975334479,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 16:20:35] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-08-02 16:20:35] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,127,159,187,45,192,177,79,48,10,66,23,1,240,255,227,194,33,4,113,205,115,32,88,239,2,36,7,46],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 16:20:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836897320184053760,"timestamp_seconds":5836897320184054.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130919168001,"66":12298,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130919168001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:20:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:20:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130919168001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":149226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:20:35] local.INFO: GPS data processed {"connection_id":149226,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:20:35] local.INFO: Acknowledgment sent {"connection_id":149226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:20:59] local.INFO: TCP Data received {"connection_id":147930,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:20:59] local.INFO: Processing buffer {"connection_id":147930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:20:59] local.INFO: IMEI packet received {"connection_id":147930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":147930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:20:59] local.INFO: TCP Data received {"connection_id":147930,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:20:59] local.INFO: Processing buffer {"connection_id":147930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:20:59] local.INFO: IMEI packet received {"connection_id":147930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":147930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:21:02] local.INFO: TCP Data received {"connection_id":146890,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:21:02] local.INFO: Processing buffer {"connection_id":146890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:21:02] local.INFO: Packet analysis {"connection_id":146890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:21:02] local.INFO: Extracted packet for processing {"connection_id":146890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:21:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130862592001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785667733000,"timestamp_ms":1785667733000,"timestamp_seconds":1785667733,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2174608"} 
[2026-08-02 16:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-02 16:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130862592001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130862592001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:21:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:21:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:21:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130862592001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":146890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:21:03] local.INFO: GPS data processed {"connection_id":146890,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:21:03] local.INFO: Acknowledgment sent {"connection_id":146890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:21:04] local.INFO: TCP Data received {"connection_id":147930,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:21:04] local.INFO: Processing buffer {"connection_id":147930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:21:04] local.INFO: IMEI packet received {"connection_id":147930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":147930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:21:05] local.INFO: TCP Data received {"connection_id":147930,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc216b198012d181e800721aec0005100d330..."} 
[2026-08-02 16:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc216b198012d181e800721aec0005100d330..."} 
[2026-08-02 16:21:05] local.INFO: Processing buffer {"connection_id":147930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc216b198012d181e800721aec0005100d330..."} 
[2026-08-02 16:21:05] local.INFO: Packet analysis {"connection_id":147930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc216"} 
[2026-08-02 16:21:05] local.INFO: Extracted packet for processing {"connection_id":147930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc216"} 
[2026-08-02 16:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130924544001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785667695000,"timestamp_ms":1785667695000,"timestamp_seconds":1785667695,"priority":1,"record_length":96,"hex_timestamp":"0000019fc216b198"} 
[2026-08-02 16:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-5116089176692883455,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4461904668956747744,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145841209550,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513886824017363158,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":79,"raw_value":60288421574213632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2975334479,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:05] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,127,159,13,45,128,174,81,48,10,66,187,192,177,79,1,240,31,227,194,33,4,113,205,197,32,88,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 16:21:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836897320184053760,"timestamp_seconds":5836897320184054.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130924544001,"66":12287,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130924544001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:21:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130924544001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":147930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:21:05] local.INFO: GPS data processed {"connection_id":147930,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:21:05] local.INFO: Acknowledgment sent {"connection_id":147930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:21:06] local.INFO: TCP Data received {"connection_id":146891,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc218e030012d7e16c005ec7ee8000b00f82a..."} 
[2026-08-02 16:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc218e030012d7e16c005ec7ee8000b00f82a..."} 
[2026-08-02 16:21:06] local.INFO: Processing buffer {"connection_id":146891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc218e030012d7e16c005ec7ee8000b00f82a..."} 
[2026-08-02 16:21:06] local.INFO: Packet analysis {"connection_id":146891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc218"} 
[2026-08-02 16:21:06] local.INFO: Extracted packet for processing {"connection_id":146891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc218"} 
[2026-08-02 16:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763238080,"raw_latitude":99385064,"longitude_deg":76.323808,"latitude_deg":9.9385064,"altitude":11,"angle":248,"satellites":42,"speed":33,"hex_longitude":"2d7e16c0","hex_latitude":"05ec7ee8","is_valid_coordinates":true} 
[2026-08-02 16:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130963456001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114040199276658688,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230579150692352,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785667838000,"timestamp_ms":1785667838000,"timestamp_seconds":1785667838,"priority":1,"record_length":96,"hex_timestamp":"0000019fc218e030"} 
[2026-08-02 16:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 16:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:21: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-08-02 16:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130963456001,"66":13493,"221":206,"87":13824,"24":33,"16":114040199276658688,"45":9095230579150692352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,87,24,16,45]} 
[2026-08-02 16:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130963456001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:21:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-02 16:21:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114040199276658688,"km_value":114040199276658.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230579150692352,"description":"Unknown IO ID 45"} 
[2026-08-02 16:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130963456001,"power":13493,"unknown_221":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":9095230579150692352}} 
[2026-08-02 16:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":146891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:21:06] local.INFO: GPS data processed {"connection_id":146891,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:21:06] local.INFO: Acknowledgment sent {"connection_id":146891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:21:24] local.INFO: TCP Data received {"connection_id":149227,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:21:24] local.INFO: Processing buffer {"connection_id":149227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:21:24] local.INFO: IMEI packet received {"connection_id":149227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":149227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:21:27] local.INFO: TCP Data received {"connection_id":146665,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:21:27] local.INFO: Processing buffer {"connection_id":146665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:21:27] local.INFO: IMEI packet received {"connection_id":146665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":146665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:21:29] local.INFO: TCP Data received {"connection_id":149227,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:21:29] local.INFO: Processing buffer {"connection_id":149227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:21:29] local.INFO: IMEI packet received {"connection_id":149227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":149227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:21:30] local.INFO: TCP Data received {"connection_id":149227,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:21:30] local.INFO: Processing buffer {"connection_id":149227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:21:30] local.INFO: Packet analysis {"connection_id":149227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:21:30] local.INFO: Extracted packet for processing {"connection_id":149227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:21:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130862592001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785667733000,"timestamp_ms":1785667733000,"timestamp_seconds":1785667733,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2174608"} 
[2026-08-02 16:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-02 16:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130862592001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130862592001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:21:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:21:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130862592001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":149227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:21:30] local.INFO: GPS data processed {"connection_id":149227,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:21:30] local.INFO: Acknowledgment sent {"connection_id":149227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:21:32] local.INFO: TCP Data received {"connection_id":146665,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:21:32] local.INFO: Processing buffer {"connection_id":146665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:21:32] local.INFO: IMEI packet received {"connection_id":146665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":146665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:21:32] local.INFO: TCP Data received {"connection_id":146665,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21912f8012d7df20005ec7348000d00fa25..."} 
[2026-08-02 16:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21912f8012d7df20005ec7348000d00fa25..."} 
[2026-08-02 16:21:32] local.INFO: Processing buffer {"connection_id":146665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21912f8012d7df20005ec7348000d00fa25..."} 
[2026-08-02 16:21:32] local.INFO: Packet analysis {"connection_id":146665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:21:32] local.INFO: Extracted packet for processing {"connection_id":146665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763228672,"raw_latitude":99382088,"longitude_deg":76.3228672,"latitude_deg":9.9382088,"altitude":13,"angle":250,"satellites":37,"speed":36,"hex_longitude":"2d7df200","hex_latitude":"05ec7348","is_valid_coordinates":true} 
[2026-08-02 16:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130966528001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114040671723061248,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085660429941663744,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785667851000,"timestamp_ms":1785667851000,"timestamp_seconds":1785667851,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21912f8"} 
[2026-08-02 16:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:21: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-08-02 16:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 16:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":146665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":146665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":146665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130966528001,"66":13559,"108":206,"87":13824,"24":36,"16":114040671723061248,"45":9085660429941663744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-08-02 16:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130966528001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:21:32] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-02 16:21:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114040671723061248,"km_value":114040671723061.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085660429941663744,"description":"Unknown IO ID 45"} 
[2026-08-02 16:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130966528001,"power":13559,"unknown_108":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":9085660429941663744}} 
[2026-08-02 16:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":146665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:21:33] local.INFO: GPS data processed {"connection_id":146665,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:21:33] local.INFO: Acknowledgment sent {"connection_id":146665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:21:36] local.INFO: TCP Data received {"connection_id":147930,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21703a0012d181e800721aec0005100d32f..."} 
[2026-08-02 16:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21703a0012d181e800721aec0005100d32f..."} 
[2026-08-02 16:21:36] local.INFO: Processing buffer {"connection_id":147930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21703a0012d181e800721aec0005100d32f..."} 
[2026-08-02 16:21:36] local.INFO: Packet analysis {"connection_id":147930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:21:36] local.INFO: Extracted packet for processing {"connection_id":147930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130929920001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785667716000,"timestamp_ms":1785667716000,"timestamp_seconds":1785667716,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21703a0"} 
[2026-08-02 16:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130929920001,"66":12287,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130929920001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:21:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130929920001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":147930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:21:36] local.INFO: GPS data processed {"connection_id":147930,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:21:36] local.INFO: Acknowledgment sent {"connection_id":147930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:21:59] local.INFO: TCP Data received {"connection_id":149228,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:21:59] local.INFO: Processing buffer {"connection_id":149228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:21:59] local.INFO: IMEI packet received {"connection_id":149228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":149228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:22:02] local.INFO: TCP Data received {"connection_id":149228,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:22:02] local.INFO: Processing buffer {"connection_id":149228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:22:02] local.INFO: IMEI packet received {"connection_id":149228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":149228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:22:02] local.INFO: TCP Data received {"connection_id":149227,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:22:02] local.INFO: Processing buffer {"connection_id":149227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:22:02] local.INFO: Packet analysis {"connection_id":149227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:22:02] local.INFO: Extracted packet for processing {"connection_id":149227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:22:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130862592001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785667733000,"timestamp_ms":1785667733000,"timestamp_seconds":1785667733,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2174608"} 
[2026-08-02 16:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-02 16:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130862592001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130862592001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:22:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:22:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:22:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130862592001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":149227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:22:02] local.INFO: GPS data processed {"connection_id":149227,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:22:02] local.INFO: Acknowledgment sent {"connection_id":149227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:22:03] local.INFO: TCP Data received {"connection_id":149228,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21755a8012d181e800721aec0005100d32f..."} 
[2026-08-02 16:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21755a8012d181e800721aec0005100d32f..."} 
[2026-08-02 16:22:03] local.INFO: Processing buffer {"connection_id":149228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21755a8012d181e800721aec0005100d32f..."} 
[2026-08-02 16:22:03] local.INFO: Packet analysis {"connection_id":149228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:22:03] local.INFO: Extracted packet for processing {"connection_id":149228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:22:03] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130935296001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22: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-08-02 16:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785667737000,"timestamp_ms":1785667737000,"timestamp_seconds":1785667737,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21755a8"} 
[2026-08-02 16:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130935296001,"66":12298,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130935296001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:22:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:22:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130935296001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":149228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:22:03] local.INFO: GPS data processed {"connection_id":149228,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:22:03] local.INFO: Acknowledgment sent {"connection_id":149228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:22:04] local.INFO: TCP Data received {"connection_id":146665,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2193a08012d7dce8005ec6618000b00fe23..."} 
[2026-08-02 16:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2193a08012d7dce8005ec6618000b00fe23..."} 
[2026-08-02 16:22:04] local.INFO: Processing buffer {"connection_id":146665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2193a08012d7dce8005ec6618000b00fe23..."} 
[2026-08-02 16:22:04] local.INFO: Packet analysis {"connection_id":146665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:22:04] local.INFO: Extracted packet for processing {"connection_id":146665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:22:04] local.INFO: GPS Element Parsed {"raw_longitude":763219584,"raw_latitude":99378712,"longitude_deg":76.3219584,"latitude_deg":9.9378712,"altitude":11,"angle":254,"satellites":35,"speed":38,"hex_longitude":"2d7dce80","hex_latitude":"05ec6618","is_valid_coordinates":true} 
[2026-08-02 16:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130969856001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114041135579529216,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9075316224546785280,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785667861000,"timestamp_ms":1785667861000,"timestamp_seconds":1785667861,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2193a08"} 
[2026-08-02 16:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 16:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130969856001,"66":13493,"108":206,"87":13824,"24":38,"16":114041135579529216,"45":9075316224546785280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-08-02 16:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130969856001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:22:04] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-02 16:22:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114041135579529216,"km_value":114041135579529.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9075316224546785280,"description":"Unknown IO ID 45"} 
[2026-08-02 16:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130969856001,"power":13493,"unknown_108":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":9075316224546785280}} 
[2026-08-02 16:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":146665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:22:04] local.INFO: GPS data processed {"connection_id":146665,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:22:04] local.INFO: Acknowledgment sent {"connection_id":146665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:22:23] local.INFO: TCP Data received {"connection_id":146892,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:22:23] local.INFO: Processing buffer {"connection_id":146892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:22:23] local.INFO: IMEI packet received {"connection_id":146892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":146892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:22:27] local.INFO: TCP Data received {"connection_id":149229,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:22:27] local.INFO: Processing buffer {"connection_id":149229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:22:27] local.INFO: IMEI packet received {"connection_id":149229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":149229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:22:29] local.INFO: TCP Data received {"connection_id":146892,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:22:29] local.INFO: Processing buffer {"connection_id":146892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:22:29] local.INFO: IMEI packet received {"connection_id":146892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":146892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:22:30] local.INFO: TCP Data received {"connection_id":146892,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:22:30] local.INFO: Processing buffer {"connection_id":146892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:22:30] local.INFO: Packet analysis {"connection_id":146892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:22:30] local.INFO: Extracted packet for processing {"connection_id":146892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130862592001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785667733000,"timestamp_ms":1785667733000,"timestamp_seconds":1785667733,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2174608"} 
[2026-08-02 16:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-02 16:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130862592001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130862592001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:22:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:22:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130862592001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":146892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:22:30] local.INFO: GPS data processed {"connection_id":146892,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:22:30] local.INFO: Acknowledgment sent {"connection_id":146892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:22:33] local.INFO: TCP Data received {"connection_id":149229,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:22:33] local.INFO: Processing buffer {"connection_id":149229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:22:33] local.INFO: IMEI packet received {"connection_id":149229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":149229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:22:34] local.INFO: TCP Data received {"connection_id":149228,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc217a7b0012d181e800721aec0005100d330..."} 
[2026-08-02 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc217a7b0012d181e800721aec0005100d330..."} 
[2026-08-02 16:22:34] local.INFO: Processing buffer {"connection_id":149228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc217a7b0012d181e800721aec0005100d330..."} 
[2026-08-02 16:22:34] local.INFO: Packet analysis {"connection_id":149228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:22:34] local.INFO: Extracted packet for processing {"connection_id":149228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:22:34] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130940672001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785667758000,"timestamp_ms":1785667758000,"timestamp_seconds":1785667758,"priority":1,"record_length":96,"hex_timestamp":"0000019fc217a7b0"} 
[2026-08-02 16:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-5116089176692883455,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4461634086017099744,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120352133326,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2931818577,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":79,"raw_value":60288421574213632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513886824017363158,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,127,159,3,45,128,174,81,47,10,66,177,48,95,1,240,227,194,33,4,113,205,187,32,88,239,2,36,7,79,192],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 16:22:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836897315889086464,"timestamp_seconds":5836897315889086.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130940672001,"66":12287,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130940672001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:22:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130940672001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":149228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:22:34] local.INFO: GPS data processed {"connection_id":149228,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:22:34] local.INFO: Acknowledgment sent {"connection_id":149228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:22:35] local.INFO: TCP Data received {"connection_id":149229,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2197888012d7dab8005ec5c20000a00fc2b..."} 
[2026-08-02 16:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2197888012d7dab8005ec5c20000a00fc2b..."} 
[2026-08-02 16:22:35] local.INFO: Processing buffer {"connection_id":149229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2197888012d7dab8005ec5c20000a00fc2b..."} 
[2026-08-02 16:22:35] local.INFO: Packet analysis {"connection_id":149229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:22:35] local.INFO: Extracted packet for processing {"connection_id":149229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:22:35] local.INFO: GPS Element Parsed {"raw_longitude":763210624,"raw_latitude":99376160,"longitude_deg":76.3210624,"latitude_deg":9.937616,"altitude":10,"angle":252,"satellites":43,"speed":23,"hex_longitude":"2d7dab80","hex_latitude":"05ec5c20","is_valid_coordinates":true} 
[2026-08-02 16:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130972416001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114041582256128000,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065323862872692736,"note":"Value kept but may cause issues"} 
[2026-08-02 16:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667877000,"timestamp_ms":1785667877000,"timestamp_seconds":1785667877,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2197888"} 
[2026-08-02 16:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 16:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130972416001,"66":13580,"108":206,"87":13824,"24":23,"16":114041582256128000,"45":9065323862872692736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-08-02 16:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130972416001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:22:35] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-02 16:22:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114041582256128000,"km_value":114041582256128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065323862872692736,"description":"Unknown IO ID 45"} 
[2026-08-02 16:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130972416001,"power":13580,"unknown_108":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":9065323862872692736}} 
[2026-08-02 16:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":149229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:22:35] local.INFO: GPS data processed {"connection_id":149229,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:22:35] local.INFO: Acknowledgment sent {"connection_id":149229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:22:59] local.INFO: TCP Data received {"connection_id":146666,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:22:59] local.INFO: Processing buffer {"connection_id":146666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:22:59] local.INFO: IMEI packet received {"connection_id":146666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":146666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:23:02] local.INFO: TCP Data received {"connection_id":146892,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:23:02] local.INFO: Processing buffer {"connection_id":146892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:23:02] local.INFO: Packet analysis {"connection_id":146892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:23:02] local.INFO: Extracted packet for processing {"connection_id":146892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:23:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130862592001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785667733000,"timestamp_ms":1785667733000,"timestamp_seconds":1785667733,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2174608"} 
[2026-08-02 16:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-02 16:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130862592001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130862592001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:23:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:23:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:23:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130862592001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":146892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:23:02] local.INFO: GPS data processed {"connection_id":146892,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:23:02] local.INFO: Acknowledgment sent {"connection_id":146892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:23:04] local.INFO: TCP Data received {"connection_id":146666,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:23:04] local.INFO: Processing buffer {"connection_id":146666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:23:04] local.INFO: IMEI packet received {"connection_id":146666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":146666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:23:04] local.INFO: TCP Data received {"connection_id":146666,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc217f5d0012d181e800721aec0005100d330..."} 
[2026-08-02 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc217f5d0012d181e800721aec0005100d330..."} 
[2026-08-02 16:23:04] local.INFO: Processing buffer {"connection_id":146666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc217f5d0012d181e800721aec0005100d330..."} 
[2026-08-02 16:23:04] local.INFO: Packet analysis {"connection_id":146666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:23:04] local.INFO: Extracted packet for processing {"connection_id":146666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130946048001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23: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-08-02 16:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785667778000,"timestamp_ms":1785667778000,"timestamp_seconds":1785667778,"priority":1,"record_length":96,"hex_timestamp":"0000019fc217f5d0"} 
[2026-08-02 16:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130946048001,"66":12287,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130946048001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:23:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:23:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130946048001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":146666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:23:04] local.INFO: GPS data processed {"connection_id":146666,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:23:04] local.INFO: Acknowledgment sent {"connection_id":146666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:23:06] local.INFO: TCP Data received {"connection_id":149229,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc219ab50012d7d874005ec5018000c00fd2a..."} 
[2026-08-02 16:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc219ab50012d7d874005ec5018000c00fd2a..."} 
[2026-08-02 16:23:06] local.INFO: Processing buffer {"connection_id":149229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc219ab50012d7d874005ec5018000c00fd2a..."} 
[2026-08-02 16:23:06] local.INFO: Packet analysis {"connection_id":149229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:23:06] local.INFO: Extracted packet for processing {"connection_id":149229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763201344,"raw_latitude":99373080,"longitude_deg":76.3201344,"latitude_deg":9.937308,"altitude":12,"angle":253,"satellites":42,"speed":32,"hex_longitude":"2d7d8740","hex_latitude":"05ec5018","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130976512001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114042046112595968,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9055472238687166464,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785667890000,"timestamp_ms":1785667890000,"timestamp_seconds":1785667890,"priority":1,"record_length":96,"hex_timestamp":"0000019fc219ab50"} 
[2026-08-02 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-08-02 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617317,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3256378160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3221613710,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1452410991496134666,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":38,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2350907403,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634368462179549,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1289552078,"corrected_to":0} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2952867198,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827404,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968901120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":126,"raw_value":8592874602623926282,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2450183927298575959,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755511110336753,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:06] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,108,87,24,241,157,16,40,159,58,45,128,102,11,35,10,66,39,18,115,13,37,224,192,1,240,181,227,38,194,236,4,113,205,28,161,136,42,239,52,221,2,149,5,34,126,53,54],"length":577,"final_offset":707,"validated_count":48,"validation_warnings":[{"io_id":205,"original":1289552078,"validated":0}]} 
[2026-08-02 16:23:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720853201994579968,"timestamp_seconds":720853201994580.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 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-08-02 16:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:23: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-08-02 16:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130976512001,"66":13417,"108":206,"87":13824,"24":32,"16":114042046112595968,"45":9055472238687166464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-08-02 16:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130976512001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:23:06] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-02 16:23:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114042046112595968,"km_value":114042046112595.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9055472238687166464,"description":"Unknown IO ID 45"} 
[2026-08-02 16:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130976512001,"power":13417,"unknown_108":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9055472238687166464}} 
[2026-08-02 16:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":149229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:23:06] local.INFO: GPS data processed {"connection_id":149229,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:23:06] local.INFO: Acknowledgment sent {"connection_id":149229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:23:27] local.INFO: TCP Data received {"connection_id":147932,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:23:27] local.INFO: Processing buffer {"connection_id":147932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:23:27] local.INFO: IMEI packet received {"connection_id":147932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":147932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:23:32] local.INFO: TCP Data received {"connection_id":147932,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:23:32] local.INFO: Processing buffer {"connection_id":147932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:23:32] local.INFO: IMEI packet received {"connection_id":147932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":147932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:23:33] local.INFO: TCP Data received {"connection_id":147932,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc219e5e8012d7d64c005ec4540000b00fd28..."} 
[2026-08-02 16:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc219e5e8012d7d64c005ec4540000b00fd28..."} 
[2026-08-02 16:23:33] local.INFO: Processing buffer {"connection_id":147932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc219e5e8012d7d64c005ec4540000b00fd28..."} 
[2026-08-02 16:23:33] local.INFO: Packet analysis {"connection_id":147932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:23:33] local.INFO: Extracted packet for processing {"connection_id":147932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763192512,"raw_latitude":99370304,"longitude_deg":76.3192512,"latitude_deg":9.9370304,"altitude":11,"angle":253,"satellites":40,"speed":25,"hex_longitude":"2d7d64c0","hex_latitude":"05ec4540","is_valid_coordinates":true} 
[2026-08-02 16:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130979840001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114042488494227456,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9045268770780616704,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785667905000,"timestamp_ms":1785667905000,"timestamp_seconds":1785667905,"priority":1,"record_length":96,"hex_timestamp":"0000019fc219e5e8"} 
[2026-08-02 16:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-02 16:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130979840001,"66":13243,"108":206,"87":13824,"24":25,"16":114042488494227456,"45":9045268770780616704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-08-02 16:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130979840001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:23:33] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-02 16:23:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114042488494227456,"km_value":114042488494227.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9045268770780616704,"description":"Unknown IO ID 45"} 
[2026-08-02 16:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130979840001,"power":13243,"unknown_108":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":9045268770780616704}} 
[2026-08-02 16:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":147932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:23:33] local.INFO: GPS data processed {"connection_id":147932,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:23:33] local.INFO: Acknowledgment sent {"connection_id":147932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:23:35] local.INFO: TCP Data received {"connection_id":146666,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2184bc0012d181e800721aec0005100d330..."} 
[2026-08-02 16:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2184bc0012d181e800721aec0005100d330..."} 
[2026-08-02 16:23:35] local.INFO: Processing buffer {"connection_id":146666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2184bc0012d181e800721aec0005100d330..."} 
[2026-08-02 16:23:35] local.INFO: Packet analysis {"connection_id":146666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc218"} 
[2026-08-02 16:23:35] local.INFO: Extracted packet for processing {"connection_id":146666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc218"} 
[2026-08-02 16:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130951168001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667800000,"timestamp_ms":1785667800000,"timestamp_seconds":1785667800,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2184bc0"} 
[2026-08-02 16:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130951168001,"66":12287,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130951168001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:23:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130951168001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":146666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:23:35] local.INFO: GPS data processed {"connection_id":146666,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:23:35] local.INFO: Acknowledgment sent {"connection_id":146666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:23:37] local.INFO: TCP Data received {"connection_id":147931,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:23:37] local.INFO: Processing buffer {"connection_id":147931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:23:37] local.INFO: IMEI packet received {"connection_id":147931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":147931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:23:37] local.INFO: TCP Data received {"connection_id":147931,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:23:37] local.INFO: Processing buffer {"connection_id":147931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:23:37] local.INFO: IMEI packet received {"connection_id":147931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":147931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:23:47] local.INFO: TCP Data received {"connection_id":147931,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:23:47] local.INFO: Processing buffer {"connection_id":147931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:23:47] local.INFO: Packet analysis {"connection_id":147931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:23:47] local.INFO: Extracted packet for processing {"connection_id":147931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:23:47] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130862592001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785667733000,"timestamp_ms":1785667733000,"timestamp_seconds":1785667733,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2174608"} 
[2026-08-02 16:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-02 16:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":147931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":147931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":147931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130862592001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130862592001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:23:47] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:23:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:23:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130862592001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":147931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:23:47] local.INFO: GPS data processed {"connection_id":147931,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:23:47] local.INFO: Acknowledgment sent {"connection_id":147931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:23:48] local.INFO: TCP Data received {"connection_id":147931,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:23:48] local.INFO: Processing buffer {"connection_id":147931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:23:48] local.INFO: Packet analysis {"connection_id":147931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:23:48] local.INFO: Extracted packet for processing {"connection_id":147931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:23:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130862592001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785667733000,"timestamp_ms":1785667733000,"timestamp_seconds":1785667733,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2174608"} 
[2026-08-02 16:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:23: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-08-02 16:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-02 16:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130862592001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130862592001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:23:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:23:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:23:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130862592001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":147931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:23:48] local.INFO: GPS data processed {"connection_id":147931,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:23:48] local.INFO: Acknowledgment sent {"connection_id":147931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:23:58] local.INFO: TCP Data received {"connection_id":147933,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:23:58] local.INFO: Processing buffer {"connection_id":147933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:23:58] local.INFO: IMEI packet received {"connection_id":147933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":147933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:24:04] local.INFO: TCP Data received {"connection_id":147933,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:24:04] local.INFO: Processing buffer {"connection_id":147933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:24:04] local.INFO: IMEI packet received {"connection_id":147933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":147933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:24:04] local.INFO: TCP Data received {"connection_id":147932,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21b9f50012d7d32c005eb88a8001000b92a..."} 
[2026-08-02 16:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21b9f50012d7d32c005eb88a8001000b92a..."} 
[2026-08-02 16:24:04] local.INFO: Processing buffer {"connection_id":147932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21b9f50012d7d32c005eb88a8001000b92a..."} 
[2026-08-02 16:24:04] local.INFO: Packet analysis {"connection_id":147932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:24:04] local.INFO: Extracted packet for processing {"connection_id":147932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:24:04] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":99322024,"longitude_deg":76.3179712,"latitude_deg":9.9322024,"altitude":16,"angle":185,"satellites":42,"speed":26,"hex_longitude":"2d7d32c0","hex_latitude":"05eb88a8","is_valid_coordinates":true} 
[2026-08-02 16:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131008512001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114045202913558528,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560167942144,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785668018000,"timestamp_ms":1785668018000,"timestamp_seconds":1785668018,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21b9f50"} 
[2026-08-02 16:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-02 16:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131008512001,"66":13428,"197":206,"87":13824,"24":26,"16":114045202913558528,"45":9022328560167942144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-02 16:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131008512001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:24:04] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 16:24:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114045202913558528,"km_value":114045202913558.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560167942144,"description":"Unknown IO ID 45"} 
[2026-08-02 16:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131008512001,"power":13428,"unknown_197":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9022328560167942144}} 
[2026-08-02 16:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":147932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:24:04] local.INFO: GPS data processed {"connection_id":147932,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:24:04] local.INFO: Acknowledgment sent {"connection_id":147932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:24:04] local.INFO: TCP Data received {"connection_id":147933,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2189dc8012d181e800721aec0005100d330..."} 
[2026-08-02 16:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2189dc8012d181e800721aec0005100d330..."} 
[2026-08-02 16:24:04] local.INFO: Processing buffer {"connection_id":147933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2189dc8012d181e800721aec0005100d330..."} 
[2026-08-02 16:24:04] local.INFO: Packet analysis {"connection_id":147933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc218"} 
[2026-08-02 16:24:04] local.INFO: Extracted packet for processing {"connection_id":147933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc218"} 
[2026-08-02 16:24:04] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130956800001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24: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-08-02 16:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785667821000,"timestamp_ms":1785667821000,"timestamp_seconds":1785667821,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2189dc8"} 
[2026-08-02 16:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130956800001,"66":12287,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130956800001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:24:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130956800001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":147933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:24:05] local.INFO: GPS data processed {"connection_id":147933,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:24:05] local.INFO: Acknowledgment sent {"connection_id":147933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:24:23] local.INFO: TCP Data received {"connection_id":149230,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:24:23] local.INFO: Processing buffer {"connection_id":149230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:24:23] local.INFO: IMEI packet received {"connection_id":149230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":149230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:24:29] local.INFO: TCP Data received {"connection_id":149230,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:24:29] local.INFO: Processing buffer {"connection_id":149230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:24:29] local.INFO: IMEI packet received {"connection_id":149230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":149230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:24:29] local.INFO: TCP Data received {"connection_id":146893,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:24:29] local.INFO: Processing buffer {"connection_id":146893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:24:29] local.INFO: IMEI packet received {"connection_id":146893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":146893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:24:30] local.INFO: TCP Data received {"connection_id":146893,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:24:30] local.INFO: Processing buffer {"connection_id":146893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:24:30] local.INFO: IMEI packet received {"connection_id":146893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":146893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:24:31] local.INFO: TCP Data received {"connection_id":149230,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:24:31] local.INFO: Processing buffer {"connection_id":149230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2174608012cc330c007685958005800c52b..."} 
[2026-08-02 16:24:31] local.INFO: Packet analysis {"connection_id":149230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:24:31] local.INFO: Extracted packet for processing {"connection_id":149230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc217"} 
[2026-08-02 16:24:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130862592001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785667733000,"timestamp_ms":1785667733000,"timestamp_seconds":1785667733,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2174608"} 
[2026-08-02 16:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-02 16:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130862592001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130862592001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:24:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:24:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130862592001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":149230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:24:31] local.INFO: GPS data processed {"connection_id":149230,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:24:31] local.INFO: Acknowledgment sent {"connection_id":149230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:24:32] local.INFO: TCP Data received {"connection_id":146893,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:24:32] local.INFO: Processing buffer {"connection_id":146893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:24:32] local.INFO: IMEI packet received {"connection_id":146893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":146893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:24:33] local.INFO: TCP Data received {"connection_id":146893,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21bce30012d7d310005eb6398000f00b72c..."} 
[2026-08-02 16:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21bce30012d7d310005eb6398000f00b72c..."} 
[2026-08-02 16:24:33] local.INFO: Processing buffer {"connection_id":146893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21bce30012d7d310005eb6398000f00b72c..."} 
[2026-08-02 16:24:33] local.INFO: Packet analysis {"connection_id":146893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:24:33] local.INFO: Extracted packet for processing {"connection_id":146893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":99312536,"longitude_deg":76.3179264,"latitude_deg":9.9312536,"altitude":15,"angle":183,"satellites":44,"speed":42,"hex_longitude":"2d7d3100","hex_latitude":"05eb6398","is_valid_coordinates":true} 
[2026-08-02 16:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131012608001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114045662475059200,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135235495936,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785668030000,"timestamp_ms":1785668030000,"timestamp_seconds":1785668030,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21bce30"} 
[2026-08-02 16:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 16:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131012608001,"66":13580,"197":206,"87":13824,"24":42,"16":114045662475059200,"45":9021484135235495936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-02 16:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131012608001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:24:33] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-02 16:24:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114045662475059200,"km_value":114045662475059.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135235495936,"description":"Unknown IO ID 45"} 
[2026-08-02 16:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131012608001,"power":13580,"unknown_197":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":9021484135235495936}} 
[2026-08-02 16:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":146893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:24:33] local.INFO: GPS data processed {"connection_id":146893,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:24:33] local.INFO: Acknowledgment sent {"connection_id":146893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:24:35] local.INFO: TCP Data received {"connection_id":147933,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc218efd0012d181e800721aec0005100d32f..."} 
[2026-08-02 16:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc218efd0012d181e800721aec0005100d32f..."} 
[2026-08-02 16:24:35] local.INFO: Processing buffer {"connection_id":147933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc218efd0012d181e800721aec0005100d32f..."} 
[2026-08-02 16:24:35] local.INFO: Packet analysis {"connection_id":147933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc218"} 
[2026-08-02 16:24:35] local.INFO: Extracted packet for processing {"connection_id":147933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc218"} 
[2026-08-02 16:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130962176001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667842000,"timestamp_ms":1785667842000,"timestamp_seconds":1785667842,"priority":1,"record_length":96,"hex_timestamp":"0000019fc218efd0"} 
[2026-08-02 16:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130962176001,"66":12287,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130962176001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:24:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130962176001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":147933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:24:35] local.INFO: GPS data processed {"connection_id":147933,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:24:35] local.INFO: Acknowledgment sent {"connection_id":147933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:24:58] local.INFO: TCP Data received {"connection_id":149231,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:24:58] local.INFO: Processing buffer {"connection_id":149231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:24:58] local.INFO: IMEI packet received {"connection_id":149231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":149231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:25:03] local.INFO: TCP Data received {"connection_id":149230,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:25:03] local.INFO: Processing buffer {"connection_id":149230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:25:03] local.INFO: Packet analysis {"connection_id":149230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:25:03] local.INFO: Extracted packet for processing {"connection_id":149230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:25:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130939648001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785668034000,"timestamp_ms":1785668034000,"timestamp_seconds":1785668034,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21bddd0"} 
[2026-08-02 16:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130939648001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130939648001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:25:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:25:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:25:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130939648001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":149230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:25:03] local.INFO: GPS data processed {"connection_id":149230,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:25:03] local.INFO: Acknowledgment sent {"connection_id":149230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:25:04] local.INFO: TCP Data received {"connection_id":149231,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:25:04] local.INFO: Processing buffer {"connection_id":149231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:25:04] local.INFO: IMEI packet received {"connection_id":149231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":149231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:25:04] local.INFO: TCP Data received {"connection_id":149231,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21941d8012d181e800721aec0005100d330..."} 
[2026-08-02 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21941d8012d181e800721aec0005100d330..."} 
[2026-08-02 16:25:04] local.INFO: Processing buffer {"connection_id":149231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21941d8012d181e800721aec0005100d330..."} 
[2026-08-02 16:25:04] local.INFO: Packet analysis {"connection_id":149231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:25:04] local.INFO: Extracted packet for processing {"connection_id":149231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130967552001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25: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-08-02 16:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785667863000,"timestamp_ms":1785667863000,"timestamp_seconds":1785667863,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21941d8"} 
[2026-08-02 16:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130967552001,"66":12254,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130967552001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:25:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:25:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130967552001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":149231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:25:04] local.INFO: GPS data processed {"connection_id":149231,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:25:04] local.INFO: Acknowledgment sent {"connection_id":149231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:25:06] local.INFO: TCP Data received {"connection_id":146893,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21bed70012d7d2ec005eb3dd0000f00b52b..."} 
[2026-08-02 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21bed70012d7d2ec005eb3dd0000f00b52b..."} 
[2026-08-02 16:25:06] local.INFO: Processing buffer {"connection_id":146893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21bed70012d7d2ec005eb3dd0000f00b52b..."} 
[2026-08-02 16:25:06] local.INFO: Packet analysis {"connection_id":146893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:25:06] local.INFO: Extracted packet for processing {"connection_id":146893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99302864,"longitude_deg":76.3178688,"latitude_deg":9.9302864,"altitude":15,"angle":181,"satellites":43,"speed":54,"hex_longitude":"2d7d2ec0","hex_latitude":"05eb3dd0","is_valid_coordinates":true} 
[2026-08-02 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131015680001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114046134921461760,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554023823360,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785668038000,"timestamp_ms":1785668038000,"timestamp_seconds":1785668038,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21bed70"} 
[2026-08-02 16:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617321,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3256533160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":42,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7698341712548069376,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3283091470,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132236654,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407113,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960256512,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":125,"raw_value":4269418958131036171,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916843716988503,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:06] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,197,87,24,241,157,16,43,159,45,192,136,42,10,66,96,171,109,65,1,240,220,227,194,235,4,113,205,32,251,62,80,38,239,52,110,2,149,5,11,23,125,53,54],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-02 16:25:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081065310178115584,"timestamp_seconds":1081065310178115.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:25: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-08-02 16:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131015680001,"66":13319,"156":206,"87":13824,"24":54,"16":114046134921461760,"45":9020991554023823360},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-02 16:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131015680001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:25:06] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-02 16:25:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114046134921461760,"km_value":114046134921461.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554023823360,"description":"Unknown IO ID 45"} 
[2026-08-02 16:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131015680001,"power":13319,"unknown_156":206,"unknown_87":13824,"ignition":54,"odometer":null,"unknown_45":9020991554023823360}} 
[2026-08-02 16:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":146893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:25:06] local.INFO: GPS data processed {"connection_id":146893,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:25:06] local.INFO: Acknowledgment sent {"connection_id":146893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:25:23] local.INFO: TCP Data received {"connection_id":147934,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:25:23] local.INFO: Processing buffer {"connection_id":147934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:25:23] local.INFO: IMEI packet received {"connection_id":147934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":147934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:25:27] local.INFO: TCP Data received {"connection_id":147935,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:25:27] local.INFO: Processing buffer {"connection_id":147935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:25:27] local.INFO: IMEI packet received {"connection_id":147935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":147935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:25:28] local.INFO: TCP Data received {"connection_id":147935,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:25:28] local.INFO: Processing buffer {"connection_id":147935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:25:28] local.INFO: IMEI packet received {"connection_id":147935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":147935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:25:29] local.INFO: TCP Data received {"connection_id":147934,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:25:29] local.INFO: Processing buffer {"connection_id":147934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:25:29] local.INFO: IMEI packet received {"connection_id":147934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":147934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:25:30] local.INFO: TCP Data received {"connection_id":147934,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:25:30] local.INFO: Processing buffer {"connection_id":147934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:25:30] local.INFO: Packet analysis {"connection_id":147934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:25:30] local.INFO: Extracted packet for processing {"connection_id":147934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:25:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130939648001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785668034000,"timestamp_ms":1785668034000,"timestamp_seconds":1785668034,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21bddd0"} 
[2026-08-02 16:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130939648001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130939648001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:25:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:25:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130939648001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":147934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:25:30] local.INFO: GPS data processed {"connection_id":147934,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:25:30] local.INFO: Acknowledgment sent {"connection_id":147934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:25:33] local.INFO: TCP Data received {"connection_id":147935,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:25:33] local.INFO: Processing buffer {"connection_id":147935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:25:33] local.INFO: IMEI packet received {"connection_id":147935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":147935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:25:33] local.INFO: TCP Data received {"connection_id":147935,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21d0e80012d7d190005e99a28000d00b62c..."} 
[2026-08-02 16:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21d0e80012d7d190005e99a28000d00b62c..."} 
[2026-08-02 16:25:33] local.INFO: Processing buffer {"connection_id":147935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21d0e80012d7d190005e99a28000d00b62c..."} 
[2026-08-02 16:25:33] local.INFO: Packet analysis {"connection_id":147935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21d"} 
[2026-08-02 16:25:33] local.INFO: Extracted packet for processing {"connection_id":147935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21d"} 
[2026-08-02 16:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763173120,"raw_latitude":99195432,"longitude_deg":76.317312,"latitude_deg":9.9195432,"altitude":13,"angle":182,"satellites":44,"speed":48,"hex_longitude":"2d7d1900","hex_latitude":"05e99a28","is_valid_coordinates":true} 
[2026-08-02 16:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131034880001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114051349011759104,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939841996972032,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785668112000,"timestamp_ms":1785668112000,"timestamp_seconds":1785668112,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21d0e80"} 
[2026-08-02 16:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-02 16:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131034880001,"66":13504,"158":206,"87":13824,"24":48,"16":114051349011759104,"45":9014939841996972032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-02 16:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131034880001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:25:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-02 16:25:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114051349011759104,"km_value":114051349011759.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939841996972032,"description":"Unknown IO ID 45"} 
[2026-08-02 16:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131034880001,"power":13504,"unknown_158":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":9014939841996972032}} 
[2026-08-02 16:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":147935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:25:34] local.INFO: GPS data processed {"connection_id":147935,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:25:34] local.INFO: Acknowledgment sent {"connection_id":147935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:25:35] local.INFO: TCP Data received {"connection_id":149231,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21993e0012d181e800721aec0005100d330..."} 
[2026-08-02 16:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21993e0012d181e800721aec0005100d330..."} 
[2026-08-02 16:25:35] local.INFO: Processing buffer {"connection_id":149231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21993e0012d181e800721aec0005100d330..."} 
[2026-08-02 16:25:35] local.INFO: Packet analysis {"connection_id":149231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:25:35] local.INFO: Extracted packet for processing {"connection_id":149231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:25:35] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130972928001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667884000,"timestamp_ms":1785667884000,"timestamp_seconds":1785667884,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21993e0"} 
[2026-08-02 16:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-02 16:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130972928001,"66":12287,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130972928001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:25:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130972928001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":149231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:25:35] local.INFO: GPS data processed {"connection_id":149231,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:25:35] local.INFO: Acknowledgment sent {"connection_id":149231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:26:03] local.INFO: TCP Data received {"connection_id":147934,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:26:03] local.INFO: Processing buffer {"connection_id":147934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:26:03] local.INFO: Packet analysis {"connection_id":147934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:26:03] local.INFO: Extracted packet for processing {"connection_id":147934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:26:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130939648001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785668034000,"timestamp_ms":1785668034000,"timestamp_seconds":1785668034,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21bddd0"} 
[2026-08-02 16:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130939648001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130939648001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:26:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:26:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:26:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130939648001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":147934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:26:03] local.INFO: GPS data processed {"connection_id":147934,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:26:03] local.INFO: Acknowledgment sent {"connection_id":147934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:26:04] local.INFO: TCP Data received {"connection_id":147936,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:26:04] local.INFO: Processing buffer {"connection_id":147936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:26:04] local.INFO: IMEI packet received {"connection_id":147936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":147936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:26:05] local.INFO: TCP Data received {"connection_id":147935,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21d2dc0012d7d160005e974c8000b00b82a..."} 
[2026-08-02 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21d2dc0012d7d160005e974c8000b00b82a..."} 
[2026-08-02 16:26:05] local.INFO: Processing buffer {"connection_id":147935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21d2dc0012d7d160005e974c8000b00b82a..."} 
[2026-08-02 16:26:05] local.INFO: Packet analysis {"connection_id":147935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21d"} 
[2026-08-02 16:26:05] local.INFO: Extracted packet for processing {"connection_id":147935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21d"} 
[2026-08-02 16:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763172352,"raw_latitude":99185864,"longitude_deg":76.3172352,"latitude_deg":9.9185864,"altitude":11,"angle":184,"satellites":42,"speed":51,"hex_longitude":"2d7d1600","hex_latitude":"05e974c8","is_valid_coordinates":true} 
[2026-08-02 16:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131036672001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114051812868227072,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014236154552788992,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785668120000,"timestamp_ms":1785668120000,"timestamp_seconds":1785668120,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21d2dc0"} 
[2026-08-02 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-08-02 16:26: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-08-02 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-02 16:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131036672001,"66":13493,"158":206,"87":13824,"24":51,"16":114051812868227072,"45":9014236154552788992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-02 16:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131036672001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:26:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-02 16:26:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114051812868227072,"km_value":114051812868227.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014236154552788992,"description":"Unknown IO ID 45"} 
[2026-08-02 16:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131036672001,"power":13493,"unknown_158":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":9014236154552788992}} 
[2026-08-02 16:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":147935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:26:05] local.INFO: GPS data processed {"connection_id":147935,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:26:05] local.INFO: Acknowledgment sent {"connection_id":147935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:26:09] local.INFO: TCP Data received {"connection_id":147936,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:26:09] local.INFO: Processing buffer {"connection_id":147936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:26:09] local.INFO: IMEI packet received {"connection_id":147936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":147936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:26:09] local.INFO: TCP Data received {"connection_id":147936,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc219e5e8012d181e800721aec0005100d32f..."} 
[2026-08-02 16:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc219e5e8012d181e800721aec0005100d32f..."} 
[2026-08-02 16:26:09] local.INFO: Processing buffer {"connection_id":147936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc219e5e8012d181e800721aec0005100d32f..."} 
[2026-08-02 16:26:09] local.INFO: Packet analysis {"connection_id":147936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:26:09] local.INFO: Extracted packet for processing {"connection_id":147936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc219"} 
[2026-08-02 16:26:09] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130978304001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785667905000,"timestamp_ms":1785667905000,"timestamp_seconds":1785667905,"priority":1,"record_length":96,"hex_timestamp":"0000019fc219e5e8"} 
[2026-08-02 16:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130978304001,"66":12298,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130978304001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:26:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:26:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130978304001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":147936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:26:09] local.INFO: GPS data processed {"connection_id":147936,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:26:09] local.INFO: Acknowledgment sent {"connection_id":147936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:26:14] local.INFO: TCP Data received {"connection_id":147936,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21a37f0012d181e800721aec0005100d32f..."} 
[2026-08-02 16:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21a37f0012d181e800721aec0005100d32f..."} 
[2026-08-02 16:26:14] local.INFO: Processing buffer {"connection_id":147936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21a37f0012d181e800721aec0005100d32f..."} 
[2026-08-02 16:26:14] local.INFO: Packet analysis {"connection_id":147936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21a"} 
[2026-08-02 16:26:14] local.INFO: Extracted packet for processing {"connection_id":147936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21a"} 
[2026-08-02 16:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130983680001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785667926000,"timestamp_ms":1785667926000,"timestamp_seconds":1785667926,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21a37f0"} 
[2026-08-02 16:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-4395513236313604095,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4460912531511371746,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513883972159209683,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":81,"raw_value":59443996644081664,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921097392334,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2931818577,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951022,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,127,159,147,45,128,174,81,48,10,66,65,239,1,240,255,227,194,33,4,113,205,75,30,192,47,2,36,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 16:26:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836897315889086464,"timestamp_seconds":5836897315889086.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":147936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":147936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":147936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130983680001,"66":12287,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130983680001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:26:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:26:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130983680001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":147936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:26:14] local.INFO: GPS data processed {"connection_id":147936,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:26:14] local.INFO: Acknowledgment sent {"connection_id":147936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:26:29] local.INFO: TCP Data received {"connection_id":149232,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:26:29] local.INFO: Processing buffer {"connection_id":149232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:26:29] local.INFO: IMEI packet received {"connection_id":149232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":149232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:26:32] local.INFO: TCP Data received {"connection_id":147937,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:26:32] local.INFO: Processing buffer {"connection_id":147937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:26:32] local.INFO: IMEI packet received {"connection_id":147937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":147937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:26:34] local.INFO: TCP Data received {"connection_id":149232,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:26:34] local.INFO: Processing buffer {"connection_id":149232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:26:34] local.INFO: IMEI packet received {"connection_id":149232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":149232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:26:35] local.INFO: TCP Data received {"connection_id":149232,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:26:35] local.INFO: Processing buffer {"connection_id":149232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:26:35] local.INFO: Packet analysis {"connection_id":149232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:26:35] local.INFO: Extracted packet for processing {"connection_id":149232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:26:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130939648001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785668034000,"timestamp_ms":1785668034000,"timestamp_seconds":1785668034,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21bddd0"} 
[2026-08-02 16:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130939648001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130939648001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:26:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:26:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:26:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130939648001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":149232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:26:35] local.INFO: GPS data processed {"connection_id":149232,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:26:35] local.INFO: Acknowledgment sent {"connection_id":149232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:26:37] local.INFO: TCP Data received {"connection_id":147937,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:26:37] local.INFO: Processing buffer {"connection_id":147937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:26:37] local.INFO: IMEI packet received {"connection_id":147937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":147937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:26:38] local.INFO: TCP Data received {"connection_id":147937,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21d4918012d7d130005e95060000800b82d..."} 
[2026-08-02 16:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21d4918012d7d130005e95060000800b82d..."} 
[2026-08-02 16:26:38] local.INFO: Processing buffer {"connection_id":147937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21d4918012d7d130005e95060000800b82d..."} 
[2026-08-02 16:26:38] local.INFO: Packet analysis {"connection_id":147937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21d"} 
[2026-08-02 16:26:38] local.INFO: Extracted packet for processing {"connection_id":147937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21d"} 
[2026-08-02 16:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763171584,"raw_latitude":99176544,"longitude_deg":76.3171584,"latitude_deg":9.9176544,"altitude":8,"angle":184,"satellites":45,"speed":54,"hex_longitude":"2d7d1300","hex_latitude":"05e95060","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131038720001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114052268134760448,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013391729620207616,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785668127000,"timestamp_ms":1785668127000,"timestamp_seconds":1785668127,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21d4918"} 
[2026-08-02 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-08-02 16:26: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-08-02 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 16:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131038720001,"66":13515,"192":206,"87":13824,"24":54,"16":114052268134760448,"45":9013391729620207616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-02 16:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131038720001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:26:38] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-02 16:26:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114052268134760448,"km_value":114052268134760.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013391729620207616,"description":"Unknown IO ID 45"} 
[2026-08-02 16:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131038720001,"power":13515,"unknown_192":206,"unknown_87":13824,"ignition":54,"odometer":null,"unknown_45":9013391729620207616}} 
[2026-08-02 16:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":147937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:26:38] local.INFO: GPS data processed {"connection_id":147937,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:26:38] local.INFO: Acknowledgment sent {"connection_id":147937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:26:44] local.INFO: TCP Data received {"connection_id":149232,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:26:44] local.INFO: Processing buffer {"connection_id":149232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:26:44] local.INFO: Packet analysis {"connection_id":149232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:26:44] local.INFO: Extracted packet for processing {"connection_id":149232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:26:44] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130939648001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785668034000,"timestamp_ms":1785668034000,"timestamp_seconds":1785668034,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21bddd0"} 
[2026-08-02 16:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130939648001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130939648001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:26:44] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:26:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:26:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130939648001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":149232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:26:44] local.INFO: GPS data processed {"connection_id":149232,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:26:44] local.INFO: Acknowledgment sent {"connection_id":149232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:26:55] local.INFO: TCP Data received {"connection_id":149233,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:26:55] local.INFO: Processing buffer {"connection_id":149233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:26:55] local.INFO: IMEI packet received {"connection_id":149233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":149233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:26:59] local.INFO: TCP Data received {"connection_id":149233,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:26:59] local.INFO: Processing buffer {"connection_id":149233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:26:59] local.INFO: IMEI packet received {"connection_id":149233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":149233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:27:04] local.INFO: TCP Data received {"connection_id":149233,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:27:04] local.INFO: Processing buffer {"connection_id":149233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:27:04] local.INFO: IMEI packet received {"connection_id":149233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":149233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:27:04] local.INFO: TCP Data received {"connection_id":149233,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21a89f8012d181e800721aec0005100d330..."} 
[2026-08-02 16:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21a89f8012d181e800721aec0005100d330..."} 
[2026-08-02 16:27:04] local.INFO: Processing buffer {"connection_id":149233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21a89f8012d181e800721aec0005100d330..."} 
[2026-08-02 16:27:04] local.INFO: Packet analysis {"connection_id":149233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21a"} 
[2026-08-02 16:27:04] local.INFO: Extracted packet for processing {"connection_id":149233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21a"} 
[2026-08-02 16:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130989056001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27: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-08-02 16:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785667947000,"timestamp_ms":1785667947000,"timestamp_seconds":1785667947,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21a89f8"} 
[2026-08-02 16:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130989056001,"66":12287,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130989056001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:27:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:27:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130989056001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":149233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:27:04] local.INFO: GPS data processed {"connection_id":149233,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:27:04] local.INFO: Acknowledgment sent {"connection_id":149233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:27:10] local.INFO: TCP Data received {"connection_id":147937,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21d6470012d7d104005e92a50000800b82c..."} 
[2026-08-02 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21d6470012d7d104005e92a50000800b82c..."} 
[2026-08-02 16:27:10] local.INFO: Processing buffer {"connection_id":147937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21d6470012d7d104005e92a50000800b82c..."} 
[2026-08-02 16:27:10] local.INFO: Packet analysis {"connection_id":147937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21d"} 
[2026-08-02 16:27:10] local.INFO: Extracted packet for processing {"connection_id":147937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21d"} 
[2026-08-02 16:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763170880,"raw_latitude":99166800,"longitude_deg":76.317088,"latitude_deg":9.91668,"altitude":8,"angle":184,"satellites":44,"speed":56,"hex_longitude":"2d7d1040","hex_latitude":"05e92a50","is_valid_coordinates":true} 
[2026-08-02 16:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131040512001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114052740581163008,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012547304687689728,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785668134000,"timestamp_ms":1785668134000,"timestamp_seconds":1785668134,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21d6470"} 
[2026-08-02 16:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:27: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-08-02 16: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":203,"data_length":795,"current_offset":136} 
[2026-08-02 16:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131040512001,"66":13559,"192":206,"87":13824,"24":56,"16":114052740581163008,"45":9012547304687689728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-02 16:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131040512001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:27:10] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-02 16:27:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114052740581163008,"km_value":114052740581163.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012547304687689728,"description":"Unknown IO ID 45"} 
[2026-08-02 16:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131040512001,"power":13559,"unknown_192":206,"unknown_87":13824,"ignition":56,"odometer":null,"unknown_45":9012547304687689728}} 
[2026-08-02 16:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":147937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:27:10] local.INFO: GPS data processed {"connection_id":147937,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:27:10] local.INFO: Acknowledgment sent {"connection_id":147937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:27:24] local.INFO: TCP Data received {"connection_id":146894,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:27:24] local.INFO: Processing buffer {"connection_id":146894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:27:24] local.INFO: IMEI packet received {"connection_id":146894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":146894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:27:26] local.INFO: TCP Data received {"connection_id":146895,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:27:26] local.INFO: Processing buffer {"connection_id":146895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:27:26] local.INFO: IMEI packet received {"connection_id":146895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":146895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:27:27] local.INFO: TCP Data received {"connection_id":146895,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:27:27] local.INFO: Processing buffer {"connection_id":146895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:27:27] local.INFO: IMEI packet received {"connection_id":146895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":146895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:27:29] local.INFO: TCP Data received {"connection_id":146894,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:27:29] local.INFO: Processing buffer {"connection_id":146894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:27:29] local.INFO: IMEI packet received {"connection_id":146894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":146894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:27:31] local.INFO: TCP Data received {"connection_id":146894,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:27:31] local.INFO: Processing buffer {"connection_id":146894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:27:31] local.INFO: Packet analysis {"connection_id":146894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:27:31] local.INFO: Extracted packet for processing {"connection_id":146894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:27:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130939648001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785668034000,"timestamp_ms":1785668034000,"timestamp_seconds":1785668034,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21bddd0"} 
[2026-08-02 16:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130939648001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130939648001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:27:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:27:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:27:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130939648001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":146894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:27:31] local.INFO: GPS data processed {"connection_id":146894,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:27:31] local.INFO: Acknowledgment sent {"connection_id":146894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:27:33] local.INFO: TCP Data received {"connection_id":146895,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:27:33] local.INFO: Processing buffer {"connection_id":146895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:27:33] local.INFO: IMEI packet received {"connection_id":146895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":146895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:27:33] local.INFO: TCP Data received {"connection_id":146895,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21d7fc8012d7d0dc005e903e8000600b72d..."} 
[2026-08-02 16:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21d7fc8012d7d0dc005e903e8000600b72d..."} 
[2026-08-02 16:27:33] local.INFO: Processing buffer {"connection_id":146895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21d7fc8012d7d0dc005e903e8000600b72d..."} 
[2026-08-02 16:27:33] local.INFO: Packet analysis {"connection_id":146895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21d"} 
[2026-08-02 16:27:33] local.INFO: Extracted packet for processing {"connection_id":146895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21d"} 
[2026-08-02 16:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763170240,"raw_latitude":99156968,"longitude_deg":76.317024,"latitude_deg":9.9156968,"altitude":6,"angle":183,"satellites":45,"speed":56,"hex_longitude":"2d7d0dc0","hex_latitude":"05e903e8","is_valid_coordinates":true} 
[2026-08-02 16:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131042304001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114053217322532864,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011773248499240960,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785668141000,"timestamp_ms":1785668141000,"timestamp_seconds":1785668141,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21d7fc8"} 
[2026-08-02 16:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 16:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131042304001,"66":13526,"192":206,"87":13824,"24":56,"16":114053217322532864,"45":9011773248499240960},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-02 16:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131042304001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:27:33] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-02 16:27:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114053217322532864,"km_value":114053217322532.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011773248499240960,"description":"Unknown IO ID 45"} 
[2026-08-02 16:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131042304001,"power":13526,"unknown_192":206,"unknown_87":13824,"ignition":56,"odometer":null,"unknown_45":9011773248499240960}} 
[2026-08-02 16:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":146895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:27:33] local.INFO: GPS data processed {"connection_id":146895,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:27:33] local.INFO: Acknowledgment sent {"connection_id":146895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:27:35] local.INFO: TCP Data received {"connection_id":149233,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21adc00012d181e800721aec0005100d32f..."} 
[2026-08-02 16:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21adc00012d181e800721aec0005100d32f..."} 
[2026-08-02 16:27:35] local.INFO: Processing buffer {"connection_id":149233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21adc00012d181e800721aec0005100d32f..."} 
[2026-08-02 16:27:35] local.INFO: Packet analysis {"connection_id":149233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21a"} 
[2026-08-02 16:27:35] local.INFO: Extracted packet for processing {"connection_id":149233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21a"} 
[2026-08-02 16:27:35] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130994432001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785667968000,"timestamp_ms":1785667968000,"timestamp_seconds":1785667968,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21adc00"} 
[2026-08-02 16:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 16:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130994432001,"66":12265,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130994432001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:27:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:27:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130994432001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":149233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:27:35] local.INFO: GPS data processed {"connection_id":149233,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:27:35] local.INFO: Acknowledgment sent {"connection_id":149233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:27:59] local.INFO: TCP Data received {"connection_id":147938,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:27:59] local.INFO: Processing buffer {"connection_id":147938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:27:59] local.INFO: IMEI packet received {"connection_id":147938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":147938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:27:59] local.INFO: TCP Data received {"connection_id":147938,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:27:59] local.INFO: Processing buffer {"connection_id":147938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:27:59] local.INFO: IMEI packet received {"connection_id":147938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":147938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:28:02] local.INFO: TCP Data received {"connection_id":146894,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:28:02] local.INFO: Processing buffer {"connection_id":146894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:28:02] local.INFO: Packet analysis {"connection_id":146894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:28:02] local.INFO: Extracted packet for processing {"connection_id":146894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:28:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130939648001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785668034000,"timestamp_ms":1785668034000,"timestamp_seconds":1785668034,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21bddd0"} 
[2026-08-02 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-08-02 16:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130939648001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130939648001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:28:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:28:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130939648001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":146894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:28:02] local.INFO: GPS data processed {"connection_id":146894,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:28:02] local.INFO: Acknowledgment sent {"connection_id":146894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:28:04] local.INFO: TCP Data received {"connection_id":147938,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:28:04] local.INFO: Processing buffer {"connection_id":147938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:28:04] local.INFO: IMEI packet received {"connection_id":147938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":147938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:28:04] local.INFO: TCP Data received {"connection_id":146895,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21f6bf8012d7cf54005e7e848000900bf27..."} 
[2026-08-02 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21f6bf8012d7cf54005e7e848000900bf27..."} 
[2026-08-02 16:28:04] local.INFO: Processing buffer {"connection_id":146895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21f6bf8012d7cf54005e7e848000900bf27..."} 
[2026-08-02 16:28:04] local.INFO: Packet analysis {"connection_id":146895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21f"} 
[2026-08-02 16:28:04] local.INFO: Extracted packet for processing {"connection_id":146895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21f"} 
[2026-08-02 16:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763163968,"raw_latitude":99084360,"longitude_deg":76.3163968,"latitude_deg":9.908436,"altitude":9,"angle":191,"satellites":39,"speed":55,"hex_longitude":"2d7cf540","hex_latitude":"05e7e848","is_valid_coordinates":true} 
[2026-08-02 16:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131074560001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114056769260486656,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006214117690552320,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785668267000,"timestamp_ms":1785668267000,"timestamp_seconds":1785668267,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21f6bf8"} 
[2026-08-02 16:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 16:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131074560001,"66":13472,"155":206,"87":13824,"24":55,"16":114056769260486656,"45":9006214117690552320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-08-02 16:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131074560001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:28:04] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-02 16:28:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114056769260486656,"km_value":114056769260486.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006214117690552320,"description":"Unknown IO ID 45"} 
[2026-08-02 16:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131074560001,"power":13472,"unknown_155":206,"unknown_87":13824,"ignition":55,"odometer":null,"unknown_45":9006214117690552320}} 
[2026-08-02 16:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":146895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:28:04] local.INFO: GPS data processed {"connection_id":146895,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:28:04] local.INFO: Acknowledgment sent {"connection_id":146895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:28:04] local.INFO: TCP Data received {"connection_id":147938,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21e6258012d181e800721aec0005100d32f..."} 
[2026-08-02 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21e6258012d181e800721aec0005100d32f..."} 
[2026-08-02 16:28:04] local.INFO: Processing buffer {"connection_id":147938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21e6258012d181e800721aec0005100d32f..."} 
[2026-08-02 16:28:04] local.INFO: Packet analysis {"connection_id":147938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21e"} 
[2026-08-02 16:28:04] local.INFO: Extracted packet for processing {"connection_id":147938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21e"} 
[2026-08-02 16:28:04] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647936,"longitude_deg":75.6555392,"latitude_deg":11.9647936,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-02 16:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131053568001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273574656933888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28: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-08-02 16:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785668199000,"timestamp_ms":1785668199000,"timestamp_seconds":1785668199,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21e6258"} 
[2026-08-02 16:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-02 16:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131053568001,"66":12113,"105":206,"83":41984,"24":0,"16":10273574656933888,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131053568001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:28:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:28:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273574656933888,"km_value":10273574656933.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131053568001,"power":12113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":147938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:28:04] local.INFO: GPS data processed {"connection_id":147938,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:28:04] local.INFO: Acknowledgment sent {"connection_id":147938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:28:24] local.INFO: TCP Data received {"connection_id":149234,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:28:24] local.INFO: Processing buffer {"connection_id":149234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:28:24] local.INFO: IMEI packet received {"connection_id":149234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":149234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:28:27] local.INFO: TCP Data received {"connection_id":149235,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:28:27] local.INFO: Processing buffer {"connection_id":149235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:28:27] local.INFO: IMEI packet received {"connection_id":149235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":149235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:28:27] local.INFO: TCP Data received {"connection_id":149235,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:28:27] local.INFO: Processing buffer {"connection_id":149235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:28:27] local.INFO: IMEI packet received {"connection_id":149235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":149235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:28:29] local.INFO: TCP Data received {"connection_id":149234,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:28:29] local.INFO: Processing buffer {"connection_id":149234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:28:29] local.INFO: IMEI packet received {"connection_id":149234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":149234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:28:30] local.INFO: TCP Data received {"connection_id":149234,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:28:30] local.INFO: Processing buffer {"connection_id":149234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:28:30] local.INFO: Packet analysis {"connection_id":149234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:28:30] local.INFO: Extracted packet for processing {"connection_id":149234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:28:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130939648001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785668034000,"timestamp_ms":1785668034000,"timestamp_seconds":1785668034,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21bddd0"} 
[2026-08-02 16:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130939648001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130939648001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:28:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:28:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130939648001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":149234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:28:30] local.INFO: GPS data processed {"connection_id":149234,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:28:30] local.INFO: Acknowledgment sent {"connection_id":149234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:28:32] local.INFO: TCP Data received {"connection_id":149235,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:28:32] local.INFO: Processing buffer {"connection_id":149235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:28:32] local.INFO: IMEI packet received {"connection_id":149235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":149235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:28:33] local.INFO: TCP Data received {"connection_id":149235,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21f8750012d7ced8005e7c368000a00bf2a..."} 
[2026-08-02 16:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21f8750012d7ced8005e7c368000a00bf2a..."} 
[2026-08-02 16:28:33] local.INFO: Processing buffer {"connection_id":149235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21f8750012d7ced8005e7c368000a00bf2a..."} 
[2026-08-02 16:28:33] local.INFO: Packet analysis {"connection_id":149235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21f"} 
[2026-08-02 16:28:33] local.INFO: Extracted packet for processing {"connection_id":149235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21f"} 
[2026-08-02 16:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763161984,"raw_latitude":99074920,"longitude_deg":76.3161984,"latitude_deg":9.907492,"altitude":10,"angle":191,"satellites":42,"speed":50,"hex_longitude":"2d7ced80","hex_latitude":"05e7c368","is_valid_coordinates":true} 
[2026-08-02 16:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131076352001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114057237411921920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004173424106948608,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785668274000,"timestamp_ms":1785668274000,"timestamp_seconds":1785668274,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21f8750"} 
[2026-08-02 16:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 16:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131076352001,"66":13374,"155":206,"87":13824,"24":50,"16":114057237411921920,"45":9004173424106948608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-08-02 16:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131076352001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:28:33] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-02 16:28:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114057237411921920,"km_value":114057237411921.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004173424106948608,"description":"Unknown IO ID 45"} 
[2026-08-02 16:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131076352001,"power":13374,"unknown_155":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":9004173424106948608}} 
[2026-08-02 16:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":149235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:28:33] local.INFO: GPS data processed {"connection_id":149235,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:28:33] local.INFO: Acknowledgment sent {"connection_id":149235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:28:35] local.INFO: TCP Data received {"connection_id":147938,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21eb460012d181d000721ac78004a00d830..."} 
[2026-08-02 16:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21eb460012d181d000721ac78004a00d830..."} 
[2026-08-02 16:28:35] local.INFO: Processing buffer {"connection_id":147938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21eb460012d181d000721ac78004a00d830..."} 
[2026-08-02 16:28:35] local.INFO: Packet analysis {"connection_id":147938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21e"} 
[2026-08-02 16:28:35] local.INFO: Extracted packet for processing {"connection_id":147938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21e"} 
[2026-08-02 16:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647352,"longitude_deg":75.6555008,"latitude_deg":11.9647352,"altitude":74,"angle":216,"satellites":48,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ac78","is_valid_coordinates":true} 
[2026-08-02 16:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131058944001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273609016672256,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329817088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785668220000,"timestamp_ms":1785668220000,"timestamp_seconds":1785668220,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21eb460"} 
[2026-08-02 16:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-02 16:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131058944001,"66":12135,"105":206,"83":41984,"24":0,"16":10273609016672256,"45":1737967274329817088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131058944001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:28:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273609016672256,"km_value":10273609016672.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329817088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131058944001,"power":12135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329817088}} 
[2026-08-02 16:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":147938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:28:35] local.INFO: GPS data processed {"connection_id":147938,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:28:35] local.INFO: Acknowledgment sent {"connection_id":147938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:28:59] local.INFO: TCP Data received {"connection_id":149236,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:28:59] local.INFO: Processing buffer {"connection_id":149236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:28:59] local.INFO: IMEI packet received {"connection_id":149236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":149236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:29:02] local.INFO: TCP Data received {"connection_id":149234,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:29:02] local.INFO: Processing buffer {"connection_id":149234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:29:02] local.INFO: Packet analysis {"connection_id":149234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:29:02] local.INFO: Extracted packet for processing {"connection_id":149234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:29:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130939648001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785668034000,"timestamp_ms":1785668034000,"timestamp_seconds":1785668034,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21bddd0"} 
[2026-08-02 16:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130939648001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130939648001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:29:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:29:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:29:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130939648001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":149234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:29:02] local.INFO: GPS data processed {"connection_id":149234,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:29:02] local.INFO: Acknowledgment sent {"connection_id":149234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:29:02] local.INFO: TCP Data received {"connection_id":149236,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:29:02] local.INFO: Processing buffer {"connection_id":149236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:29:02] local.INFO: IMEI packet received {"connection_id":149236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":149236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:29:02] local.INFO: TCP Data received {"connection_id":149236,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21f0668012d181d000721ac78004a00d830..."} 
[2026-08-02 16:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21f0668012d181d000721ac78004a00d830..."} 
[2026-08-02 16:29:02] local.INFO: Processing buffer {"connection_id":149236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21f0668012d181d000721ac78004a00d830..."} 
[2026-08-02 16:29:02] local.INFO: Packet analysis {"connection_id":149236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21f"} 
[2026-08-02 16:29:02] local.INFO: Extracted packet for processing {"connection_id":149236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21f"} 
[2026-08-02 16:29:02] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647352,"longitude_deg":75.6555008,"latitude_deg":11.9647352,"altitude":74,"angle":216,"satellites":48,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ac78","is_valid_coordinates":true} 
[2026-08-02 16:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131064320001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273609016672256,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864601600,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785668241000,"timestamp_ms":1785668241000,"timestamp_seconds":1785668241,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21f0668"} 
[2026-08-02 16:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-02 16:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131064320001,"66":12178,"105":206,"83":41984,"24":0,"16":10273609016672256,"45":1737545061864601600},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131064320001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:29:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:29:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273609016672256,"km_value":10273609016672.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864601600,"description":"Unknown IO ID 45"} 
[2026-08-02 16:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131064320001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864601600}} 
[2026-08-02 16:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":149236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:29:03] local.INFO: GPS data processed {"connection_id":149236,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:29:03] local.INFO: Acknowledgment sent {"connection_id":149236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:29:04] local.INFO: TCP Data received {"connection_id":149235,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21fa690012d7ce6c005e7a090000b00bf2c..."} 
[2026-08-02 16:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21fa690012d7ce6c005e7a090000b00bf2c..."} 
[2026-08-02 16:29:04] local.INFO: Processing buffer {"connection_id":149235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21fa690012d7ce6c005e7a090000b00bf2c..."} 
[2026-08-02 16:29:04] local.INFO: Packet analysis {"connection_id":149235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21f"} 
[2026-08-02 16:29:04] local.INFO: Extracted packet for processing {"connection_id":149235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21f"} 
[2026-08-02 16:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763160256,"raw_latitude":99066000,"longitude_deg":76.3160256,"latitude_deg":9.9066,"altitude":11,"angle":191,"satellites":44,"speed":42,"hex_longitude":"2d7ce6c0","hex_latitude":"05e7a090","is_valid_coordinates":true} 
[2026-08-02 16:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131078144001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114057675498586112,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001991993035024384,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785668282000,"timestamp_ms":1785668282000,"timestamp_seconds":1785668282,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21fa690"} 
[2026-08-02 16:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 16:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131078144001,"66":13319,"31":206,"87":13824,"24":42,"16":114057675498586112,"45":9001991993035024384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-02 16:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131078144001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:29:04] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-02 16:29:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114057675498586112,"km_value":114057675498586.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001991993035024384,"description":"Unknown IO ID 45"} 
[2026-08-02 16:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131078144001,"power":13319,"unknown_31":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":9001991993035024384}} 
[2026-08-02 16:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":149235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:29:04] local.INFO: GPS data processed {"connection_id":149235,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:29:04] local.INFO: Acknowledgment sent {"connection_id":149235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:29:23] local.INFO: TCP Data received {"connection_id":146667,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:29:23] local.INFO: Processing buffer {"connection_id":146667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:29:23] local.INFO: IMEI packet received {"connection_id":146667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":146667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:29:27] local.INFO: TCP Data received {"connection_id":146668,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:29:27] local.INFO: Processing buffer {"connection_id":146668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:29:27] local.INFO: IMEI packet received {"connection_id":146668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":146668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:29:29] local.INFO: TCP Data received {"connection_id":146667,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:29:29] local.INFO: Processing buffer {"connection_id":146667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:29:29] local.INFO: IMEI packet received {"connection_id":146667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":146667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:29:29] local.INFO: TCP Data received {"connection_id":146668,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:29:29] local.INFO: Processing buffer {"connection_id":146668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:29:29] local.INFO: IMEI packet received {"connection_id":146668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":146668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:29:30] local.INFO: TCP Data received {"connection_id":146667,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:29:30] local.INFO: Processing buffer {"connection_id":146667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21bddd0012cc330c007685958005800c52b..."} 
[2026-08-02 16:29:30] local.INFO: Packet analysis {"connection_id":146667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:29:30] local.INFO: Extracted packet for processing {"connection_id":146667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21b"} 
[2026-08-02 16:29:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457130939648001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785668034000,"timestamp_ms":1785668034000,"timestamp_seconds":1785668034,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21bddd0"} 
[2026-08-02 16:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457130939648001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457130939648001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:29:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:29:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457130939648001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":146667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:29:30] local.INFO: GPS data processed {"connection_id":146667,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:29:30] local.INFO: Acknowledgment sent {"connection_id":146667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:29:32] local.INFO: TCP Data received {"connection_id":146668,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:29:32] local.INFO: Processing buffer {"connection_id":146668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:29:32] local.INFO: IMEI packet received {"connection_id":146668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":146668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:29:33] local.INFO: TCP Data received {"connection_id":146668,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21fcda0012d7cdf0005e77db0000b00c02b..."} 
[2026-08-02 16:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21fcda0012d7cdf0005e77db0000b00c02b..."} 
[2026-08-02 16:29:33] local.INFO: Processing buffer {"connection_id":146668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21fcda0012d7cdf0005e77db0000b00c02b..."} 
[2026-08-02 16:29:33] local.INFO: Packet analysis {"connection_id":146668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21f"} 
[2026-08-02 16:29:33] local.INFO: Extracted packet for processing {"connection_id":146668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21f"} 
[2026-08-02 16:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763158272,"raw_latitude":99057072,"longitude_deg":76.3158272,"latitude_deg":9.9057072,"altitude":11,"angle":192,"satellites":43,"speed":27,"hex_longitude":"2d7cdf00","hex_latitude":"05e77db0","is_valid_coordinates":true} 
[2026-08-02 16:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131080192001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114058117880217600,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000092036939943936,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785668292000,"timestamp_ms":1785668292000,"timestamp_seconds":1785668292,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21fcda0"} 
[2026-08-02 16:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3256802160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":232,"raw_value":8874343091516091648,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13457307,"corrected_to":0} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469776078,"corrected_to":0} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3900278784,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827415,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57798693470754614,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":30,"raw_value":-3197554440550252539,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,31,87,24,241,157,16,54,159,135,45,128,195,10,42,66,155,107,64,232,9,39,80,1,240,247,227,53,194,4,113,205,46,18,5,32,43,239,52,2,149,7,62,30],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":247,"original":13457307,"validated":0},{"io_id":205,"original":1469776078,"validated":0}]} 
[2026-08-02 16:29:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792843730119426048,"timestamp_seconds":792843730119426.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131080192001,"66":13493,"31":206,"87":13824,"24":27,"16":114058117880217600,"45":9000092036939943936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-02 16:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131080192001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:29:33] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-02 16:29:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114058117880217600,"km_value":114058117880217.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000092036939943936,"description":"Unknown IO ID 45"} 
[2026-08-02 16:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131080192001,"power":13493,"unknown_31":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":9000092036939943936}} 
[2026-08-02 16:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":146668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:29:33] local.INFO: GPS data processed {"connection_id":146668,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:29:33] local.INFO: Acknowledgment sent {"connection_id":146668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:29:33] local.INFO: TCP Data received {"connection_id":149236,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21f5870012d181d000721ac78004a00d830..."} 
[2026-08-02 16:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21f5870012d181d000721ac78004a00d830..."} 
[2026-08-02 16:29:33] local.INFO: Processing buffer {"connection_id":149236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21f5870012d181d000721ac78004a00d830..."} 
[2026-08-02 16:29:33] local.INFO: Packet analysis {"connection_id":149236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21f"} 
[2026-08-02 16:29:33] local.INFO: Extracted packet for processing {"connection_id":149236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21f"} 
[2026-08-02 16:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647352,"longitude_deg":75.6555008,"latitude_deg":11.9647352,"altitude":74,"angle":216,"satellites":48,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ac78","is_valid_coordinates":true} 
[2026-08-02 16:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131069696001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273609016672256,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864601600,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785668262000,"timestamp_ms":1785668262000,"timestamp_seconds":1785668262,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21f5870"} 
[2026-08-02 16:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-02 16:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131069696001,"66":12211,"105":206,"83":41984,"24":0,"16":10273609016672256,"45":1737545061864601600},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131069696001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:29:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:29:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273609016672256,"km_value":10273609016672.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864601600,"description":"Unknown IO ID 45"} 
[2026-08-02 16:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131069696001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864601600}} 
[2026-08-02 16:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":149236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:29:33] local.INFO: GPS data processed {"connection_id":149236,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:29:33] local.INFO: Acknowledgment sent {"connection_id":149236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:29:36] local.INFO: TCP Data received {"connection_id":146668,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2200068012d7cd70005e75a98000c00c02c..."} 
[2026-08-02 16:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2200068012d7cd70005e75a98000c00c02c..."} 
[2026-08-02 16:29:36] local.INFO: Processing buffer {"connection_id":146668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2200068012d7cd70005e75a98000c00c02c..."} 
[2026-08-02 16:29:36] local.INFO: Packet analysis {"connection_id":146668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:29:36] local.INFO: Extracted packet for processing {"connection_id":146668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763156224,"raw_latitude":99048088,"longitude_deg":76.3156224,"latitude_deg":9.9048088,"altitude":12,"angle":192,"satellites":44,"speed":31,"hex_longitude":"2d7cd700","hex_latitude":"05e75a98","is_valid_coordinates":true} 
[2026-08-02 16:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131082752001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114058564556816384,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997910605868150784,"note":"Value kept but may cause issues"} 
[2026-08-02 16:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785668305000,"timestamp_ms":1785668305000,"timestamp_seconds":1785668305,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2200068"} 
[2026-08-02 16:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 16:29: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-08-02 16:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131082752001,"66":13048,"31":206,"87":13824,"24":31,"16":114058564556816384,"45":8997910605868150784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-02 16:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131082752001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:29:36] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-02 16:29:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114058564556816384,"km_value":114058564556816.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997910605868150784,"description":"Unknown IO ID 45"} 
[2026-08-02 16:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131082752001,"power":13048,"unknown_31":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8997910605868150784}} 
[2026-08-02 16:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":146668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:29:36] local.INFO: GPS data processed {"connection_id":146668,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:29:36] local.INFO: Acknowledgment sent {"connection_id":146668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:29:59] local.INFO: TCP Data received {"connection_id":147939,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:29:59] local.INFO: Processing buffer {"connection_id":147939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:29:59] local.INFO: IMEI packet received {"connection_id":147939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":147939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:30:02] local.INFO: TCP Data received {"connection_id":146667,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:30:02] local.INFO: Processing buffer {"connection_id":146667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:30:02] local.INFO: Packet analysis {"connection_id":146667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:30:02] local.INFO: Extracted packet for processing {"connection_id":146667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:30:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131016704001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785668335000,"timestamp_ms":1785668335000,"timestamp_seconds":1785668335,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2207598"} 
[2026-08-02 16:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131016704001,"66":25430,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 16:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131016704001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:30:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 16:30:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:30:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131016704001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":146667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:30:02] local.INFO: GPS data processed {"connection_id":146667,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:30:02] local.INFO: Acknowledgment sent {"connection_id":146667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:30:04] local.INFO: TCP Data received {"connection_id":147939,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:30:04] local.INFO: Processing buffer {"connection_id":147939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:30:04] local.INFO: IMEI packet received {"connection_id":147939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":147939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:30:04] local.INFO: TCP Data received {"connection_id":147939,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc21faa78012d181d000721ac78004a00d830..."} 
[2026-08-02 16:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc21faa78012d181d000721ac78004a00d830..."} 
[2026-08-02 16:30:04] local.INFO: Processing buffer {"connection_id":147939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc21faa78012d181d000721ac78004a00d830..."} 
[2026-08-02 16:30:04] local.INFO: Packet analysis {"connection_id":147939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc21f"} 
[2026-08-02 16:30:04] local.INFO: Extracted packet for processing {"connection_id":147939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc21f"} 
[2026-08-02 16:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647352,"longitude_deg":75.6555008,"latitude_deg":11.9647352,"altitude":74,"angle":216,"satellites":48,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ac78","is_valid_coordinates":true} 
[2026-08-02 16:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131075072001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273609016672256,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864601600,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30: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-08-02 16:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785668283000,"timestamp_ms":1785668283000,"timestamp_seconds":1785668283,"priority":1,"record_length":96,"hex_timestamp":"0000019fc21faa78"} 
[2026-08-02 16:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 16:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131075072001,"66":12232,"105":206,"83":41984,"24":0,"16":10273609016672256,"45":1737545061864601600},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131075072001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:30:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:30:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273609016672256,"km_value":10273609016672.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864601600,"description":"Unknown IO ID 45"} 
[2026-08-02 16:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131075072001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864601600}} 
[2026-08-02 16:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":147939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:30:04] local.INFO: GPS data processed {"connection_id":147939,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:30:04] local.INFO: Acknowledgment sent {"connection_id":147939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:30:07] local.INFO: TCP Data received {"connection_id":146668,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2202f48012d7ccf8005e73860000b00c12c..."} 
[2026-08-02 16:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2202f48012d7ccf8005e73860000b00c12c..."} 
[2026-08-02 16:30:07] local.INFO: Processing buffer {"connection_id":146668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2202f48012d7ccf8005e73860000b00c12c..."} 
[2026-08-02 16:30:07] local.INFO: Packet analysis {"connection_id":146668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:30:07] local.INFO: Extracted packet for processing {"connection_id":146668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763154304,"raw_latitude":99039328,"longitude_deg":76.3154304,"latitude_deg":9.9039328,"altitude":11,"angle":193,"satellites":44,"speed":25,"hex_longitude":"2d7ccf80","hex_latitude":"05e73860","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131086080001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114059002643480576,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995658806052165632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785668317000,"timestamp_ms":1785668317000,"timestamp_seconds":1785668317,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2202f48"} 
[2026-08-02 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-08-02 16:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-02 16:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131086080001,"66":13374,"31":206,"87":13824,"24":25,"16":114059002643480576,"45":8995658806052165632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-02 16:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131086080001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:30:07] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-02 16:30:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114059002643480576,"km_value":114059002643480.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995658806052165632,"description":"Unknown IO ID 45"} 
[2026-08-02 16:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131086080001,"power":13374,"unknown_31":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8995658806052165632}} 
[2026-08-02 16:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":146668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:30:08] local.INFO: GPS data processed {"connection_id":146668,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:30:08] local.INFO: Acknowledgment sent {"connection_id":146668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:30:25] local.INFO: TCP Data received {"connection_id":146896,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:30:25] local.INFO: Processing buffer {"connection_id":146896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:30:25] local.INFO: IMEI packet received {"connection_id":146896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":146896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:30:27] local.INFO: TCP Data received {"connection_id":149237,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:30:27] local.INFO: Processing buffer {"connection_id":149237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:30:27] local.INFO: IMEI packet received {"connection_id":149237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":149237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:30:31] local.INFO: TCP Data received {"connection_id":146896,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:30:31] local.INFO: Processing buffer {"connection_id":146896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:30:31] local.INFO: IMEI packet received {"connection_id":146896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":146896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:30:32] local.INFO: TCP Data received {"connection_id":149237,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:30:32] local.INFO: Processing buffer {"connection_id":149237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:30:32] local.INFO: IMEI packet received {"connection_id":149237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":149237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:30:33] local.INFO: TCP Data received {"connection_id":149237,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22071b0012d7cc68005e713d0000800c22b..."} 
[2026-08-02 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22071b0012d7cc68005e713d0000800c22b..."} 
[2026-08-02 16:30:33] local.INFO: Processing buffer {"connection_id":149237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22071b0012d7cc68005e713d0000800c22b..."} 
[2026-08-02 16:30:33] local.INFO: Packet analysis {"connection_id":149237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:30:33] local.INFO: Extracted packet for processing {"connection_id":149237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763152000,"raw_latitude":99029968,"longitude_deg":76.3152,"latitude_deg":9.9029968,"altitude":8,"angle":194,"satellites":43,"speed":40,"hex_longitude":"2d7cc680","hex_latitude":"05e713d0","is_valid_coordinates":true} 
[2026-08-02 16:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131089152001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114059470794915840,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993547743724593152,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785668334000,"timestamp_ms":1785668334000,"timestamp_seconds":1785668334,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22071b0"} 
[2026-08-02 16:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 16:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131089152001,"66":13450,"31":206,"87":13824,"24":40,"16":114059470794915840,"45":8993547743724593152},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-02 16:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131089152001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:30:33] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-02 16:30:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114059470794915840,"km_value":114059470794915.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993547743724593152,"description":"Unknown IO ID 45"} 
[2026-08-02 16:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131089152001,"power":13450,"unknown_31":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8993547743724593152}} 
[2026-08-02 16:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":149237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:30:33] local.INFO: GPS data processed {"connection_id":149237,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:30:33] local.INFO: Acknowledgment sent {"connection_id":149237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:30:34] local.INFO: TCP Data received {"connection_id":146896,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:30:34] local.INFO: Processing buffer {"connection_id":146896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:30:34] local.INFO: Packet analysis {"connection_id":146896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:30:34] local.INFO: Extracted packet for processing {"connection_id":146896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:30:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131016704001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785668335000,"timestamp_ms":1785668335000,"timestamp_seconds":1785668335,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2207598"} 
[2026-08-02 16:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131016704001,"66":25430,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 16:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131016704001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:30:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 16:30:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:30:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131016704001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":146896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:30:34] local.INFO: GPS data processed {"connection_id":146896,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:30:34] local.INFO: Acknowledgment sent {"connection_id":146896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:30:36] local.INFO: TCP Data received {"connection_id":146896,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:30:36] local.INFO: Processing buffer {"connection_id":146896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:30:36] local.INFO: Packet analysis {"connection_id":146896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:30:36] local.INFO: Extracted packet for processing {"connection_id":146896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131016704001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785668335000,"timestamp_ms":1785668335000,"timestamp_seconds":1785668335,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2207598"} 
[2026-08-02 16:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:30: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-08-02 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131016704001,"66":25430,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 16:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131016704001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:30:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 16:30:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:30:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131016704001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":146896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:30:36] local.INFO: GPS data processed {"connection_id":146896,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:30:36] local.INFO: Acknowledgment sent {"connection_id":146896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:30:36] local.INFO: TCP Data received {"connection_id":147939,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2214c70012d181d400721aa80004c009d30..."} 
[2026-08-02 16:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2214c70012d181d400721aa80004c009d30..."} 
[2026-08-02 16:30:36] local.INFO: Processing buffer {"connection_id":147939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2214c70012d181d400721aa80004c009d30..."} 
[2026-08-02 16:30:36] local.INFO: Packet analysis {"connection_id":147939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc221"} 
[2026-08-02 16:30:36] local.INFO: Extracted packet for processing {"connection_id":147939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc221"} 
[2026-08-02 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646848,"longitude_deg":75.6555072,"latitude_deg":11.9646848,"altitude":76,"angle":157,"satellites":48,"speed":4,"hex_longitude":"2d181d40","hex_latitude":"0721aa80","is_valid_coordinates":true} 
[2026-08-02 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131107072001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273634786476032,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864601600,"note":"Value kept but may cause issues"} 
[2026-08-02 16:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785668390000,"timestamp_ms":1785668390000,"timestamp_seconds":1785668390,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2214c70"} 
[2026-08-02 16:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-02 16:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131107072001,"66":14157,"105":206,"83":41984,"24":4,"16":10273634786476032,"45":1737545061864601600},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131107072001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:30:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273634786476032,"km_value":10273634786476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864601600,"description":"Unknown IO ID 45"} 
[2026-08-02 16:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131107072001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737545061864601600}} 
[2026-08-02 16:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":147939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:30:36] local.INFO: GPS data processed {"connection_id":147939,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:30:36] local.INFO: Acknowledgment sent {"connection_id":147939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:30:57] local.INFO: TCP Data received {"connection_id":146669,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:30:57] local.INFO: Processing buffer {"connection_id":146669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:30:57] local.INFO: IMEI packet received {"connection_id":146669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":146669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:30:58] local.INFO: TCP Data received {"connection_id":146669,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:30:58] local.INFO: Processing buffer {"connection_id":146669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:30:58] local.INFO: IMEI packet received {"connection_id":146669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":146669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:31:03] local.INFO: TCP Data received {"connection_id":146669,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:31:03] local.INFO: Processing buffer {"connection_id":146669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:31:03] local.INFO: IMEI packet received {"connection_id":146669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":146669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:31:03] local.INFO: TCP Data received {"connection_id":146669,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2215058012d181dc00721aa08004c009030..."} 
[2026-08-02 16:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2215058012d181dc00721aa08004c009030..."} 
[2026-08-02 16:31:03] local.INFO: Processing buffer {"connection_id":146669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2215058012d181dc00721aa08004c009030..."} 
[2026-08-02 16:31:03] local.INFO: Packet analysis {"connection_id":146669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc221"} 
[2026-08-02 16:31:03] local.INFO: Extracted packet for processing {"connection_id":146669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc221"} 
[2026-08-02 16:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646728,"longitude_deg":75.65552,"latitude_deg":11.9646728,"altitude":76,"angle":144,"satellites":48,"speed":7,"hex_longitude":"2d181dc0","hex_latitude":"0721aa08","is_valid_coordinates":true} 
[2026-08-02 16:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131107840001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273643376410624,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608650240,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31: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-08-02 16:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785668391000,"timestamp_ms":1785668391000,"timestamp_seconds":1785668391,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2215058"} 
[2026-08-02 16:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 16:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131107840001,"66":14080,"105":206,"83":41984,"24":7,"16":10273643376410624,"45":1737615430608650240},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131107840001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:31:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:31:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273643376410624,"km_value":10273643376410.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608650240,"description":"Unknown IO ID 45"} 
[2026-08-02 16:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131107840001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737615430608650240}} 
[2026-08-02 16:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":146669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:31:04] local.INFO: GPS data processed {"connection_id":146669,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:31:04] local.INFO: Acknowledgment sent {"connection_id":146669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:31:05] local.INFO: TCP Data received {"connection_id":149237,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22090f0012d7cbd0005e6eef8000800c22b..."} 
[2026-08-02 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22090f0012d7cbd0005e6eef8000800c22b..."} 
[2026-08-02 16:31:05] local.INFO: Processing buffer {"connection_id":149237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22090f0012d7cbd0005e6eef8000800c22b..."} 
[2026-08-02 16:31:05] local.INFO: Packet analysis {"connection_id":149237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:31:05] local.INFO: Extracted packet for processing {"connection_id":149237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:31:05] local.INFO: GPS Element Parsed {"raw_longitude":763149568,"raw_latitude":99020536,"longitude_deg":76.3149568,"latitude_deg":9.9020536,"altitude":8,"angle":194,"satellites":43,"speed":55,"hex_longitude":"2d7cbd00","hex_latitude":"05e6eef8","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131093504001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114059938946351104,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991014468931801088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785668342000,"timestamp_ms":1785668342000,"timestamp_seconds":1785668342,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22090f0"} 
[2026-08-02 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-08-02 16:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 16:31: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-08-02 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-08-02 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-08-02 16:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131093504001,"66":13472,"31":206,"87":13824,"24":55,"16":114059938946351104,"45":8991014468931801088},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-02 16:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131093504001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:31:05] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-02 16:31:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114059938946351104,"km_value":114059938946351.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991014468931801088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131093504001,"power":13472,"unknown_31":206,"unknown_87":13824,"ignition":55,"odometer":null,"unknown_45":8991014468931801088}} 
[2026-08-02 16:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":149237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:31:05] local.INFO: GPS data processed {"connection_id":149237,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:31:05] local.INFO: Acknowledgment sent {"connection_id":149237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:31:07] local.INFO: TCP Data received {"connection_id":146896,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:31:07] local.INFO: Processing buffer {"connection_id":146896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:31:07] local.INFO: Packet analysis {"connection_id":146896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:31:07] local.INFO: Extracted packet for processing {"connection_id":146896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:31:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131016704001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785668335000,"timestamp_ms":1785668335000,"timestamp_seconds":1785668335,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2207598"} 
[2026-08-02 16:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:31: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-08-02 16: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":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131016704001,"66":25430,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 16:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131016704001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:31:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 16:31:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:31:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131016704001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":146896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:31:07] local.INFO: GPS data processed {"connection_id":146896,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:31:07] local.INFO: Acknowledgment sent {"connection_id":146896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:31:24] local.INFO: TCP Data received {"connection_id":149238,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:31:24] local.INFO: Processing buffer {"connection_id":149238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:31:24] local.INFO: IMEI packet received {"connection_id":149238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":149238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:31:27] local.INFO: TCP Data received {"connection_id":147940,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:31:27] local.INFO: Processing buffer {"connection_id":147940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:31:27] local.INFO: IMEI packet received {"connection_id":147940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":147940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:31:29] local.INFO: TCP Data received {"connection_id":149238,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:31:29] local.INFO: Processing buffer {"connection_id":149238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:31:29] local.INFO: IMEI packet received {"connection_id":149238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":149238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:31:30] local.INFO: TCP Data received {"connection_id":149238,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:31:30] local.INFO: Processing buffer {"connection_id":149238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:31:30] local.INFO: Packet analysis {"connection_id":149238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:31:30] local.INFO: Extracted packet for processing {"connection_id":149238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:31:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131016704001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785668335000,"timestamp_ms":1785668335000,"timestamp_seconds":1785668335,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2207598"} 
[2026-08-02 16:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131016704001,"66":25430,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 16:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131016704001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:31:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 16:31:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131016704001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":149238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:31:30] local.INFO: GPS data processed {"connection_id":149238,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:31:30] local.INFO: Acknowledgment sent {"connection_id":149238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:31:32] local.INFO: TCP Data received {"connection_id":147940,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:31:32] local.INFO: Processing buffer {"connection_id":147940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:31:32] local.INFO: IMEI packet received {"connection_id":147940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":147940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:31:33] local.INFO: TCP Data received {"connection_id":147940,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc220ac48012d7cb40005e6c8b8000700be2a..."} 
[2026-08-02 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc220ac48012d7cb40005e6c8b8000700be2a..."} 
[2026-08-02 16:31:33] local.INFO: Processing buffer {"connection_id":147940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc220ac48012d7cb40005e6c8b8000700be2a..."} 
[2026-08-02 16:31:33] local.INFO: Packet analysis {"connection_id":147940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:31:33] local.INFO: Extracted packet for processing {"connection_id":147940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763147264,"raw_latitude":99010744,"longitude_deg":76.3147264,"latitude_deg":9.9010744,"altitude":7,"angle":190,"satellites":42,"speed":54,"hex_longitude":"2d7cb400","hex_latitude":"05e6c8b8","is_valid_coordinates":true} 
[2026-08-02 16:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131095552001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114060428572622848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988340456650635264,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785668349000,"timestamp_ms":1785668349000,"timestamp_seconds":1785668349,"priority":1,"record_length":96,"hex_timestamp":"0000019fc220ac48"} 
[2026-08-02 16:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 16:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131095552001,"66":13059,"31":206,"87":13824,"24":54,"16":114060428572622848,"45":8988340456650635264},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-02 16:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131095552001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:31:33] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-02 16:31:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114060428572622848,"km_value":114060428572622.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988340456650635264,"description":"Unknown IO ID 45"} 
[2026-08-02 16:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131095552001,"power":13059,"unknown_31":206,"unknown_87":13824,"ignition":54,"odometer":null,"unknown_45":8988340456650635264}} 
[2026-08-02 16:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":147940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:31:33] local.INFO: GPS data processed {"connection_id":147940,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:31:33] local.INFO: Acknowledgment sent {"connection_id":147940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:31:35] local.INFO: TCP Data received {"connection_id":146669,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2215c10012d181f800721a7e0004c008230..."} 
[2026-08-02 16:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2215c10012d181f800721a7e0004c008230..."} 
[2026-08-02 16:31:35] local.INFO: Processing buffer {"connection_id":146669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2215c10012d181f800721a7e0004c008230..."} 
[2026-08-02 16:31:35] local.INFO: Packet analysis {"connection_id":146669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc221"} 
[2026-08-02 16:31:35] local.INFO: Extracted packet for processing {"connection_id":146669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc221"} 
[2026-08-02 16:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646176,"longitude_deg":75.6555648,"latitude_deg":11.9646176,"altitude":76,"angle":130,"satellites":48,"speed":11,"hex_longitude":"2d181f80","hex_latitude":"0721a7e0","is_valid_coordinates":true} 
[2026-08-02 16:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131108096001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10273677736148992,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096974848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785668394000,"timestamp_ms":1785668394000,"timestamp_seconds":1785668394,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2215c10"} 
[2026-08-02 16:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":0,"data_length":795,"current_offset":136} 
[2026-08-02 16:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:35] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3256903160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2893545546,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 16:31:35] local.WARNING: Large IO value detected {"io_id":101,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:35] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,127,159,76,45,64,170,48,10,66,172,74,238,1,240,22,227,194,33,4,113,205,101,29,120,239,13,2,36,7],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 16:31:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476535682715811840,"timestamp_seconds":5476535682715812.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131108096001,"66":14135,"105":206,"83":41984,"24":11,"16":10273677736148992,"45":1737756168096974848},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131108096001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:31:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10273677736148992,"km_value":10273677736148.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096974848,"description":"Unknown IO ID 45"} 
[2026-08-02 16:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131108096001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737756168096974848}} 
[2026-08-02 16:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":146669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:31:35] local.INFO: GPS data processed {"connection_id":146669,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:31:35] local.INFO: Acknowledgment sent {"connection_id":146669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:31:35] local.INFO: TCP Data received {"connection_id":149238,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:31:35] local.INFO: Processing buffer {"connection_id":149238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:31:35] local.INFO: Packet analysis {"connection_id":149238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:31:35] local.INFO: Extracted packet for processing {"connection_id":149238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:31:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131016704001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785668335000,"timestamp_ms":1785668335000,"timestamp_seconds":1785668335,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2207598"} 
[2026-08-02 16:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131016704001,"66":25430,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 16:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131016704001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:31:35] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 16:31:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:31:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131016704001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":149238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:31:35] local.INFO: GPS data processed {"connection_id":149238,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:31:35] local.INFO: Acknowledgment sent {"connection_id":149238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:31:58] local.INFO: TCP Data received {"connection_id":147941,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:31:58] local.INFO: Processing buffer {"connection_id":147941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:31:58] local.INFO: IMEI packet received {"connection_id":147941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":147941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:31:59] local.INFO: TCP Data received {"connection_id":147941,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:31:59] local.INFO: Processing buffer {"connection_id":147941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:31:59] local.INFO: IMEI packet received {"connection_id":147941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":147941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:32:02] local.INFO: TCP Data received {"connection_id":147941,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:32:02] local.INFO: Processing buffer {"connection_id":147941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:32:02] local.INFO: IMEI packet received {"connection_id":147941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":147941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:32:03] local.INFO: TCP Data received {"connection_id":147941,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:32:03] local.INFO: Processing buffer {"connection_id":147941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:32:03] local.INFO: IMEI packet received {"connection_id":147941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":147941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:32:04] local.INFO: TCP Data received {"connection_id":147941,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22265b0012d18c6c007213c90004500a12d..."} 
[2026-08-02 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22265b0012d18c6c007213c90004500a12d..."} 
[2026-08-02 16:32:04] local.INFO: Processing buffer {"connection_id":147941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22265b0012d18c6c007213c90004500a12d..."} 
[2026-08-02 16:32:04] local.INFO: Packet analysis {"connection_id":147941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc222"} 
[2026-08-02 16:32:04] local.INFO: Extracted packet for processing {"connection_id":147941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc222"} 
[2026-08-02 16:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119618704,"longitude_deg":75.6598464,"latitude_deg":11.9618704,"altitude":69,"angle":161,"satellites":45,"speed":31,"hex_longitude":"2d18c6c0","hex_latitude":"07213c90","is_valid_coordinates":true} 
[2026-08-02 16:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131124992001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10276323436003328,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595434035200,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785668462000,"timestamp_ms":1785668462000,"timestamp_seconds":1785668462,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22265b0"} 
[2026-08-02 16:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-02 16:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131124992001,"66":14157,"106":206,"83":41984,"24":31,"16":10276323436003328,"45":1784973595434035200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-02 16:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131124992001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:32:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-02 16:32:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10276323436003328,"km_value":10276323436003.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595434035200,"description":"Unknown IO ID 45"} 
[2026-08-02 16:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131124992001,"power":14157,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784973595434035200}} 
[2026-08-02 16:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":147941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:32:04] local.INFO: GPS data processed {"connection_id":147941,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:32:04] local.INFO: Acknowledgment sent {"connection_id":147941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:32:04] local.INFO: TCP Data received {"connection_id":147940,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2230da8012d7c794005e59bf8000900c028..."} 
[2026-08-02 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2230da8012d7c794005e59bf8000900c028..."} 
[2026-08-02 16:32:04] local.INFO: Processing buffer {"connection_id":147940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2230da8012d7c794005e59bf8000900c028..."} 
[2026-08-02 16:32:04] local.INFO: Packet analysis {"connection_id":147940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:32:04] local.INFO: Extracted packet for processing {"connection_id":147940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763132224,"raw_latitude":98933752,"longitude_deg":76.3132224,"latitude_deg":9.8933752,"altitude":9,"angle":192,"satellites":40,"speed":51,"hex_longitude":"2d7c7940","hex_latitude":"05e59bf8","is_valid_coordinates":true} 
[2026-08-02 16:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131135232001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114064251093516288,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971381589284057088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785668505000,"timestamp_ms":1785668505000,"timestamp_seconds":1785668505,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2230da8"} 
[2026-08-02 16:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617339,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3256962160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7693384014618427392,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":229,"raw_value":4105175047,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470087967,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1629421774,"corrected_to":0} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":52,"raw_value":1297262509698371159,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3859054592,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-7998386452520501241,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:04] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,38,87,24,241,157,16,60,159,183,45,192,228,9,35,10,66,59,109,64,231,8,43,27,1,240,7,227,194,229,4,113,205,123,143,152,239,52,31,2,149,5,6,11,124,54],"length":577,"final_offset":707,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1629421774,"validated":0}]} 
[2026-08-02 16:32:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648728529158602752,"timestamp_seconds":648728529158602.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131135232001,"66":13526,"38":206,"87":13824,"24":51,"16":114064251093516288,"45":8971381589284057088},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-02 16:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131135232001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:32:04] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-02 16:32:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114064251093516288,"km_value":114064251093516.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971381589284057088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131135232001,"power":13526,"unknown_38":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":8971381589284057088}} 
[2026-08-02 16:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":147940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:32:04] local.INFO: GPS data processed {"connection_id":147940,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:32:04] local.INFO: Acknowledgment sent {"connection_id":147940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:32:09] local.INFO: TCP Data received {"connection_id":149238,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:32:09] local.INFO: Processing buffer {"connection_id":149238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:32:09] local.INFO: Packet analysis {"connection_id":149238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:32:09] local.INFO: Extracted packet for processing {"connection_id":149238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131016704001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785668335000,"timestamp_ms":1785668335000,"timestamp_seconds":1785668335,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2207598"} 
[2026-08-02 16:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:32: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-08-02 16:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131016704001,"66":25430,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 16:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131016704001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:32:09] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 16:32:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:32:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131016704001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":149238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:32:09] local.INFO: GPS data processed {"connection_id":149238,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:32:09] local.INFO: Acknowledgment sent {"connection_id":149238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:32:35] local.INFO: TCP Data received {"connection_id":147941,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2227168012d18cac007213480004400932d..."} 
[2026-08-02 16:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2227168012d18cac007213480004400932d..."} 
[2026-08-02 16:32:35] local.INFO: Processing buffer {"connection_id":147941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2227168012d18cac007213480004400932d..."} 
[2026-08-02 16:32:35] local.INFO: Packet analysis {"connection_id":147941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc222"} 
[2026-08-02 16:32:35] local.INFO: Extracted packet for processing {"connection_id":147941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc222"} 
[2026-08-02 16:32:35] local.INFO: GPS Element Parsed {"raw_longitude":756599488,"raw_latitude":119616640,"longitude_deg":75.6599488,"latitude_deg":11.961664,"altitude":68,"angle":147,"satellites":45,"speed":30,"hex_longitude":"2d18cac0","hex_latitude":"07213480","is_valid_coordinates":true} 
[2026-08-02 16:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131126272001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10276435105153024,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785325439153901568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785668465000,"timestamp_ms":1785668465000,"timestamp_seconds":1785668465,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2227168"} 
[2026-08-02 16:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 16:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131126272001,"66":13537,"103":206,"83":41984,"24":30,"16":10276435105153024,"45":1785325439153901568},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 16:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131126272001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:32:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 16:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10276435105153024,"km_value":10276435105153.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785325439153901568,"description":"Unknown IO ID 45"} 
[2026-08-02 16:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131126272001,"power":13537,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1785325439153901568}} 
[2026-08-02 16:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":147941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:32:35] local.INFO: GPS data processed {"connection_id":147941,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:32:35] local.INFO: Acknowledgment sent {"connection_id":147941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:32:42] local.INFO: TCP Data received {"connection_id":146670,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:32:42] local.INFO: Processing buffer {"connection_id":146670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:32:42] local.INFO: IMEI packet received {"connection_id":146670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":146670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:32:43] local.INFO: TCP Data received {"connection_id":146670,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:32:43] local.INFO: Processing buffer {"connection_id":146670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:32:43] local.INFO: IMEI packet received {"connection_id":146670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":146670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:32:47] local.INFO: TCP Data received {"connection_id":146670,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:32:47] local.INFO: Processing buffer {"connection_id":146670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:32:47] local.INFO: IMEI packet received {"connection_id":146670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":146670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:32:52] local.INFO: TCP Data received {"connection_id":146670,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2232900012d7c6e8005e576b8000a00c72a..."} 
[2026-08-02 16:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2232900012d7c6e8005e576b8000a00c72a..."} 
[2026-08-02 16:32:52] local.INFO: Processing buffer {"connection_id":146670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2232900012d7c6e8005e576b8000a00c72a..."} 
[2026-08-02 16:32:52] local.INFO: Packet analysis {"connection_id":146670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:32:52] local.INFO: Extracted packet for processing {"connection_id":146670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:32:52] local.INFO: GPS Element Parsed {"raw_longitude":763129472,"raw_latitude":98924216,"longitude_deg":76.3129472,"latitude_deg":9.8924216,"altitude":10,"angle":199,"satellites":42,"speed":57,"hex_longitude":"2d7c6e80","hex_latitude":"05e576b8","is_valid_coordinates":true} 
[2026-08-02 16:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131137280001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114064727834886144,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969270526956271616,"note":"Value kept but may cause issues"} 
[2026-08-02 16:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785668512000,"timestamp_ms":1785668512000,"timestamp_seconds":1785668512,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2232900"} 
[2026-08-02 16:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 16:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131137280001,"66":13493,"38":206,"87":13824,"24":57,"16":114064727834886144,"45":8969270526956271616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-02 16:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131137280001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:32:52] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-02 16:32:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114064727834886144,"km_value":114064727834886.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969270526956271616,"description":"Unknown IO ID 45"} 
[2026-08-02 16:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131137280001,"power":13493,"unknown_38":206,"unknown_87":13824,"ignition":57,"odometer":null,"unknown_45":8969270526956271616}} 
[2026-08-02 16:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":146670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:32:52] local.INFO: GPS data processed {"connection_id":146670,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:32:52] local.INFO: Acknowledgment sent {"connection_id":146670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:32:59] local.INFO: TCP Data received {"connection_id":146897,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:32:59] local.INFO: Processing buffer {"connection_id":146897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:32:59] local.INFO: IMEI packet received {"connection_id":146897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":146897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:33:00] local.INFO: TCP Data received {"connection_id":146670,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2234070012d7c618005e55640000900cb2a..."} 
[2026-08-02 16:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2234070012d7c618005e55640000900cb2a..."} 
[2026-08-02 16:33:00] local.INFO: Processing buffer {"connection_id":146670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2234070012d7c618005e55640000900cb2a..."} 
[2026-08-02 16:33:00] local.INFO: Packet analysis {"connection_id":146670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:33:00] local.INFO: Extracted packet for processing {"connection_id":146670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763126144,"raw_latitude":98915904,"longitude_deg":76.3126144,"latitude_deg":9.8915904,"altitude":9,"angle":203,"satellites":42,"speed":59,"hex_longitude":"2d7c6180","hex_latitude":"05e55640","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131139072001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114065161626583040,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966244670954190848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785668518000,"timestamp_ms":1785668518000,"timestamp_seconds":1785668518,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2234070"} 
[2026-08-02 16:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 16:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131139072001,"66":13450,"38":206,"87":13824,"24":59,"16":114065161626583040,"45":8966244670954190848},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-02 16:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131139072001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:33:00] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-02 16:33:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114065161626583040,"km_value":114065161626583.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966244670954190848,"description":"Unknown IO ID 45"} 
[2026-08-02 16:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131139072001,"power":13450,"unknown_38":206,"unknown_87":13824,"ignition":59,"odometer":null,"unknown_45":8966244670954190848}} 
[2026-08-02 16:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":146670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:33:00] local.INFO: GPS data processed {"connection_id":146670,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:33:00] local.INFO: Acknowledgment sent {"connection_id":146670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:33:01] local.INFO: TCP Data received {"connection_id":149239,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:33:01] local.INFO: Processing buffer {"connection_id":149239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:33:01] local.INFO: IMEI packet received {"connection_id":149239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":149239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:33:03] local.INFO: TCP Data received {"connection_id":149239,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:33:04] local.INFO: Processing buffer {"connection_id":149239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:33:04] local.INFO: IMEI packet received {"connection_id":149239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":149239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:33:04] local.INFO: TCP Data received {"connection_id":146897,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:33:04] local.INFO: Processing buffer {"connection_id":146897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:33:04] local.INFO: IMEI packet received {"connection_id":146897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":146897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:33:04] local.INFO: TCP Data received {"connection_id":149239,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:33:04] local.INFO: Processing buffer {"connection_id":149239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:33:04] local.INFO: IMEI packet received {"connection_id":149239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":149239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:33:05] local.INFO: TCP Data received {"connection_id":149239,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2233c88012d1944000720aed0002d006d2d..."} 
[2026-08-02 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2233c88012d1944000720aed0002d006d2d..."} 
[2026-08-02 16:33:05] local.INFO: Processing buffer {"connection_id":149239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2233c88012d1944000720aed0002d006d2d..."} 
[2026-08-02 16:33:05] local.INFO: Packet analysis {"connection_id":149239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:33:05] local.INFO: Extracted packet for processing {"connection_id":149239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756630528,"raw_latitude":119582416,"longitude_deg":75.6630528,"latitude_deg":11.9582416,"altitude":45,"angle":109,"satellites":45,"speed":40,"hex_longitude":"2d194400","hex_latitude":"0720aed0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131139840001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10278827401936896,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818539486396704768,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785668517000,"timestamp_ms":1785668517000,"timestamp_seconds":1785668517,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2233c88"} 
[2026-08-02 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-08-02 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-02 16:33: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-08-02 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-08-02 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-08-02 16:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131139840001,"66":13439,"103":206,"83":41984,"24":40,"16":10278827401936896,"45":1818539486396704768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 16:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131139840001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:33:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 16:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10278827401936896,"km_value":10278827401936.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818539486396704768,"description":"Unknown IO ID 45"} 
[2026-08-02 16:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131139840001,"power":13439,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1818539486396704768}} 
[2026-08-02 16:33:05] local.INFO: TCP Data received {"connection_id":146897,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:33:05] local.INFO: Processing buffer {"connection_id":146897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:33:05] local.INFO: Packet analysis {"connection_id":146897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:33:05] local.INFO: Extracted packet for processing {"connection_id":146897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131016704001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785668335000,"timestamp_ms":1785668335000,"timestamp_seconds":1785668335,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2207598"} 
[2026-08-02 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-08-02 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131016704001,"66":25430,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 16:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131016704001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:33:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 16:33:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:33:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131016704001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":146897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:33:05] local.INFO: GPS data processed {"connection_id":146897,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:33:05] local.INFO: Acknowledgment sent {"connection_id":146897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":149239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:33:05] local.INFO: GPS data processed {"connection_id":149239,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:33:05] local.INFO: Acknowledgment sent {"connection_id":149239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:33:09] local.INFO: TCP Data received {"connection_id":149239,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2235010012d1954400720aa60002b005d2d..."} 
[2026-08-02 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2235010012d1954400720aa60002b005d2d..."} 
[2026-08-02 16:33:09] local.INFO: Processing buffer {"connection_id":149239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2235010012d1954400720aa60002b005d2d..."} 
[2026-08-02 16:33:09] local.INFO: Packet analysis {"connection_id":149239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:33:09] local.INFO: Extracted packet for processing {"connection_id":149239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":756634688,"raw_latitude":119581280,"longitude_deg":75.6634688,"latitude_deg":11.958128,"altitude":43,"angle":93,"satellites":45,"speed":33,"hex_longitude":"2d195440","hex_latitude":"0720aa60","is_valid_coordinates":true} 
[2026-08-02 16:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131140352001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10279033560367104,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820580179977621504,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785668522000,"timestamp_ms":1785668522000,"timestamp_seconds":1785668522,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2235010"} 
[2026-08-02 16:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-02 16:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131140352001,"66":14265,"103":206,"83":41984,"24":33,"16":10279033560367104,"45":1820580179977621504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 16:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131140352001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:33:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 16:33:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10279033560367104,"km_value":10279033560367.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820580179977621504,"description":"Unknown IO ID 45"} 
[2026-08-02 16:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131140352001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1820580179977621504}} 
[2026-08-02 16:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":149239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:33:09] local.INFO: GPS data processed {"connection_id":149239,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:33:09] local.INFO: Acknowledgment sent {"connection_id":149239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:33:26] local.INFO: TCP Data received {"connection_id":146898,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:33:26] local.INFO: Processing buffer {"connection_id":146898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:33:26] local.INFO: IMEI packet received {"connection_id":146898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":146898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:33:27] local.INFO: TCP Data received {"connection_id":146898,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:33:27] local.INFO: Processing buffer {"connection_id":146898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:33:27] local.INFO: IMEI packet received {"connection_id":146898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":146898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:33:32] local.INFO: TCP Data received {"connection_id":146898,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:33:32] local.INFO: Processing buffer {"connection_id":146898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:33:32] local.INFO: IMEI packet received {"connection_id":146898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":146898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:33:34] local.INFO: TCP Data received {"connection_id":146898,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22357e0012d7c524005e536d8000900d029..."} 
[2026-08-02 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22357e0012d7c524005e536d8000900d029..."} 
[2026-08-02 16:33:34] local.INFO: Processing buffer {"connection_id":146898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22357e0012d7c524005e536d8000900d029..."} 
[2026-08-02 16:33:34] local.INFO: Packet analysis {"connection_id":146898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:33:34] local.INFO: Extracted packet for processing {"connection_id":146898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763122240,"raw_latitude":98907864,"longitude_deg":76.312224,"latitude_deg":9.8907864,"altitude":9,"angle":208,"satellites":41,"speed":57,"hex_longitude":"2d7c5240","hex_latitude":"05e536d8","is_valid_coordinates":true} 
[2026-08-02 16:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131140608001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114065595418279936,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962585496254824448,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785668524000,"timestamp_ms":1785668524000,"timestamp_seconds":1785668524,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22357e0"} 
[2026-08-02 16:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 16:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:33: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-08-02 16:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131140608001,"66":12972,"88":206,"87":13824,"24":57,"16":114065595418279936,"45":8962585496254824448},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,87,24,16,45]} 
[2026-08-02 16:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131140608001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:33:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-08-02 16:33:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-02 16:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114065595418279936,"km_value":114065595418279.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962585496254824448,"description":"Unknown IO ID 45"} 
[2026-08-02 16:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131140608001,"power":12972,"unknown_88":206,"unknown_87":13824,"ignition":57,"odometer":null,"unknown_45":8962585496254824448}} 
[2026-08-02 16:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":146898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:33:34] local.INFO: GPS data processed {"connection_id":146898,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:33:34] local.INFO: Acknowledgment sent {"connection_id":146898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:33:34] local.INFO: TCP Data received {"connection_id":146899,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:33:34] local.INFO: Processing buffer {"connection_id":146899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:33:34] local.INFO: IMEI packet received {"connection_id":146899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":146899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:33:40] local.INFO: TCP Data received {"connection_id":149239,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc223e480012d19cc000720a500001e003929..."} 
[2026-08-02 16:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc223e480012d19cc000720a500001e003929..."} 
[2026-08-02 16:33:40] local.INFO: Processing buffer {"connection_id":149239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc223e480012d19cc000720a500001e003929..."} 
[2026-08-02 16:33:40] local.INFO: Packet analysis {"connection_id":149239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:33:40] local.INFO: Extracted packet for processing {"connection_id":149239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:33:40] local.INFO: GPS Element Parsed {"raw_longitude":756665344,"raw_latitude":119579904,"longitude_deg":75.6665344,"latitude_deg":11.9579904,"altitude":30,"angle":57,"satellites":41,"speed":15,"hex_longitude":"2d19cc00","hex_latitude":"0720a500","is_valid_coordinates":true} 
[2026-08-02 16:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131151104001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10280541093888000,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858438564344506368,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785668560000,"timestamp_ms":1785668560000,"timestamp_seconds":1785668560,"priority":1,"record_length":96,"hex_timestamp":"0000019fc223e480"} 
[2026-08-02 16:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-02 16:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131151104001,"66":13830,"103":206,"83":41984,"24":15,"16":10280541093888000,"45":1858438564344506368},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 16:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131151104001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:33:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 16:33:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10280541093888000,"km_value":10280541093888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858438564344506368,"description":"Unknown IO ID 45"} 
[2026-08-02 16:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131151104001,"power":13830,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858438564344506368}} 
[2026-08-02 16:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":149239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:33:40] local.INFO: GPS data processed {"connection_id":149239,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:33:40] local.INFO: Acknowledgment sent {"connection_id":149239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:33:41] local.INFO: TCP Data received {"connection_id":146899,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:33:41] local.INFO: Processing buffer {"connection_id":146899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:33:41] local.INFO: IMEI packet received {"connection_id":146899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":146899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:33:43] local.INFO: TCP Data received {"connection_id":146899,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:33:43] local.INFO: Processing buffer {"connection_id":146899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:33:43] local.INFO: Packet analysis {"connection_id":146899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:33:43] local.INFO: Extracted packet for processing {"connection_id":146899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:33:43] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131016704001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785668335000,"timestamp_ms":1785668335000,"timestamp_seconds":1785668335,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2207598"} 
[2026-08-02 16:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131016704001,"66":25430,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 16:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131016704001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:33:43] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 16:33:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:33:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131016704001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":146899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:33:43] local.INFO: GPS data processed {"connection_id":146899,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:33:43] local.INFO: Acknowledgment sent {"connection_id":146899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:33:44] local.INFO: TCP Data received {"connection_id":146899,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:33:44] local.INFO: Processing buffer {"connection_id":146899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:33:44] local.INFO: Packet analysis {"connection_id":146899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:33:44] local.INFO: Extracted packet for processing {"connection_id":146899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:33:44] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131016704001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785668335000,"timestamp_ms":1785668335000,"timestamp_seconds":1785668335,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2207598"} 
[2026-08-02 16:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:33: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-08-02 16:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131016704001,"66":25430,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 16:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131016704001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:33:44] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 16:33:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:33:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131016704001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":146899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:33:44] local.INFO: GPS data processed {"connection_id":146899,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:33:44] local.INFO: Acknowledgment sent {"connection_id":146899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:33:59] local.INFO: TCP Data received {"connection_id":147942,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:33:59] local.INFO: Processing buffer {"connection_id":147942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:33:59] local.INFO: IMEI packet received {"connection_id":147942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":147942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:34:04] local.INFO: TCP Data received {"connection_id":147942,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:34:04] local.INFO: Processing buffer {"connection_id":147942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:34:04] local.INFO: IMEI packet received {"connection_id":147942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":147942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:34:04] local.INFO: TCP Data received {"connection_id":147942,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc223f808012d19d1400720aa38001c00282a..."} 
[2026-08-02 16:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc223f808012d19d1400720aa38001c00282a..."} 
[2026-08-02 16:34:04] local.INFO: Processing buffer {"connection_id":147942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc223f808012d19d1400720aa38001c00282a..."} 
[2026-08-02 16:34:04] local.INFO: Packet analysis {"connection_id":147942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:34:04] local.INFO: Extracted packet for processing {"connection_id":147942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc223"} 
[2026-08-02 16:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756666688,"raw_latitude":119581240,"longitude_deg":75.6666688,"latitude_deg":11.958124,"altitude":28,"angle":40,"satellites":42,"speed":11,"hex_longitude":"2d19d140","hex_latitude":"0720aa38","is_valid_coordinates":true} 
[2026-08-02 16:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131151360001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10280635583168512,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858860776809627648,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785668565000,"timestamp_ms":1785668565000,"timestamp_seconds":1785668565,"priority":1,"record_length":96,"hex_timestamp":"0000019fc223f808"} 
[2026-08-02 16:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-08-02 16:34:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:04] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10414582744023040,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652634301120000,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3257119160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:04] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:04] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2783445026,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-02 16:34:04] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2147950760,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:04] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247736,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:04] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2246508544,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:04] local.WARNING: Large IO value detected {"io_id":166,"raw_value":331063142385440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:04] local.WARNING: Large IO value detected {"io_id":177,"raw_value":4035268148674101289,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:04] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,103,83,24,241,157,16,134,159,224,45,128,164,31,40,10,66,220,163,42,208,1,240,6,227,133,194,32,4,113,205,20,193,187,80,43,239,54,2,36,7,38,37,166,177],"length":528,"final_offset":658,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-02 16:34:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2161790669395263488,"timestamp_seconds":2161790669395263.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131151360001,"66":14276,"103":206,"83":41984,"24":11,"16":10280635583168512,"45":1858860776809627648},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 16:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131151360001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:34:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 16:34:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10280635583168512,"km_value":10280635583168.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858860776809627648,"description":"Unknown IO ID 45"} 
[2026-08-02 16:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131151360001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1858860776809627648}} 
[2026-08-02 16:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":147942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:34:04] local.INFO: GPS data processed {"connection_id":147942,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:34:04] local.INFO: Acknowledgment sent {"connection_id":147942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:34:05] local.INFO: TCP Data received {"connection_id":146898,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc224cee0012d7b738005e3dda8000b00d52b..."} 
[2026-08-02 16:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc224cee0012d7b738005e3dda8000b00d52b..."} 
[2026-08-02 16:34:05] local.INFO: Processing buffer {"connection_id":146898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc224cee0012d7b738005e3dda8000b00d52b..."} 
[2026-08-02 16:34:05] local.INFO: Packet analysis {"connection_id":146898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc224"} 
[2026-08-02 16:34:05] local.INFO: Extracted packet for processing {"connection_id":146898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc224"} 
[2026-08-02 16:34:05] local.INFO: GPS Element Parsed {"raw_longitude":763065216,"raw_latitude":98819496,"longitude_deg":76.3065216,"latitude_deg":9.8819496,"altitude":11,"angle":213,"satellites":43,"speed":52,"hex_longitude":"2d7b7380","hex_latitude":"05e3dda8","is_valid_coordinates":true} 
[2026-08-02 16:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131164928001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114070676364591104,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083213820860416,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785668620000,"timestamp_ms":1785668620000,"timestamp_seconds":1785668620,"priority":1,"record_length":96,"hex_timestamp":"0000019fc224cee0"} 
[2026-08-02 16:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 16:34: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-08-02 16:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131164928001,"66":13276,"95":206,"85":15104,"24":52,"16":114070676364591104,"45":8901083213820860416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 16:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131164928001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:34:05] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 16:34:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114070676364591104,"km_value":114070676364591.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083213820860416,"description":"Unknown IO ID 45"} 
[2026-08-02 16:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131164928001,"power":13276,"unknown_95":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8901083213820860416}} 
[2026-08-02 16:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":146898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:34:05] local.INFO: GPS data processed {"connection_id":146898,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:34:05] local.INFO: Acknowledgment sent {"connection_id":146898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:34:23] local.INFO: TCP Data received {"connection_id":146900,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:34:23] local.INFO: Processing buffer {"connection_id":146900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:34:23] local.INFO: IMEI packet received {"connection_id":146900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":146900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:34:27] local.INFO: TCP Data received {"connection_id":146901,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:34:27] local.INFO: Processing buffer {"connection_id":146901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:34:27] local.INFO: IMEI packet received {"connection_id":146901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":146901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:34:28] local.INFO: TCP Data received {"connection_id":146901,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:34:28] local.INFO: Processing buffer {"connection_id":146901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:34:28] local.INFO: IMEI packet received {"connection_id":146901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":146901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:34:29] local.INFO: TCP Data received {"connection_id":146900,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:34:29] local.INFO: Processing buffer {"connection_id":146900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:34:29] local.INFO: IMEI packet received {"connection_id":146900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":146900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:34:30] local.INFO: TCP Data received {"connection_id":146900,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:34:30] local.INFO: Processing buffer {"connection_id":146900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2207598012cc330c007685958005800c52b..."} 
[2026-08-02 16:34:30] local.INFO: Packet analysis {"connection_id":146900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:34:30] local.INFO: Extracted packet for processing {"connection_id":146900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc220"} 
[2026-08-02 16:34:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131016704001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785668335000,"timestamp_ms":1785668335000,"timestamp_seconds":1785668335,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2207598"} 
[2026-08-02 16:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 16:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131016704001,"66":25430,"39":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 16:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131016704001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:34:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 16:34:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131016704001,"power":25430,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":146900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:34:30] local.INFO: GPS data processed {"connection_id":146900,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:34:30] local.INFO: Acknowledgment sent {"connection_id":146900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:34:31] local.INFO: TCP Data received {"connection_id":146901,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:34:31] local.INFO: Processing buffer {"connection_id":146901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:34:31] local.INFO: IMEI packet received {"connection_id":146901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":146901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:34:32] local.INFO: TCP Data received {"connection_id":146901,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:34:32] local.INFO: Processing buffer {"connection_id":146901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:34:32] local.INFO: IMEI packet received {"connection_id":146901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":146901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:34:33] local.INFO: TCP Data received {"connection_id":146901,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc224ee20012d7b5f8005e3c048000900d62c..."} 
[2026-08-02 16:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc224ee20012d7b5f8005e3c048000900d62c..."} 
[2026-08-02 16:34:33] local.INFO: Processing buffer {"connection_id":146901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc224ee20012d7b5f8005e3c048000900d62c..."} 
[2026-08-02 16:34:33] local.INFO: Packet analysis {"connection_id":146901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc224"} 
[2026-08-02 16:34:33] local.INFO: Extracted packet for processing {"connection_id":146901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc224"} 
[2026-08-02 16:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763060096,"raw_latitude":98811976,"longitude_deg":76.3060096,"latitude_deg":9.8811976,"altitude":9,"angle":214,"satellites":44,"speed":38,"hex_longitude":"2d7b5f80","hex_latitude":"05e3c048","is_valid_coordinates":true} 
[2026-08-02 16:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131166720001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114071114451255296,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895594451773007872,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785668628000,"timestamp_ms":1785668628000,"timestamp_seconds":1785668628,"priority":1,"record_length":96,"hex_timestamp":"0000019fc224ee20"} 
[2026-08-02 16:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-02 16:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131166720001,"66":13428,"95":206,"85":15104,"24":38,"16":114071114451255296,"45":8895594451773007872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 16:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131166720001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:34:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 16:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114071114451255296,"km_value":114071114451255.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895594451773007872,"description":"Unknown IO ID 45"} 
[2026-08-02 16:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131166720001,"power":13428,"unknown_95":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8895594451773007872}} 
[2026-08-02 16:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":146901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:34:33] local.INFO: GPS data processed {"connection_id":146901,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:34:33] local.INFO: Acknowledgment sent {"connection_id":146901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:34:35] local.INFO: TCP Data received {"connection_id":147942,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22501a8012d19d2000720ac58002400b52c..."} 
[2026-08-02 16:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22501a8012d19d2000720ac58002400b52c..."} 
[2026-08-02 16:34:35] local.INFO: Processing buffer {"connection_id":147942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22501a8012d19d2000720ac58002400b52c..."} 
[2026-08-02 16:34:35] local.INFO: Packet analysis {"connection_id":147942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:34:35] local.INFO: Extracted packet for processing {"connection_id":147942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119581784,"longitude_deg":75.666688,"latitude_deg":11.9581784,"altitude":36,"angle":181,"satellites":44,"speed":4,"hex_longitude":"2d19d200","hex_latitude":"0720ac58","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131168512001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10280712892579840,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860479257926217728,"note":"Value kept but may cause issues"} 
[2026-08-02 16:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785668633000,"timestamp_ms":1785668633000,"timestamp_seconds":1785668633,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22501a8"} 
[2026-08-02 16:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:34: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-08-02 16: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 16:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131168512001,"66":14341,"103":206,"83":41984,"24":4,"16":10280712892579840,"45":1860479257926217728},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 16:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131168512001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:34:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 16:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10280712892579840,"km_value":10280712892579.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860479257926217728,"description":"Unknown IO ID 45"} 
[2026-08-02 16:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131168512001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1860479257926217728}} 
[2026-08-02 16:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":147942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:34:35] local.INFO: GPS data processed {"connection_id":147942,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:34:35] local.INFO: Acknowledgment sent {"connection_id":147942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:34:59] local.INFO: TCP Data received {"connection_id":146902,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:34:59] local.INFO: Processing buffer {"connection_id":146902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:34:59] local.INFO: IMEI packet received {"connection_id":146902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":146902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:34:59] local.INFO: TCP Data received {"connection_id":146902,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:34:59] local.INFO: Processing buffer {"connection_id":146902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:34:59] local.INFO: IMEI packet received {"connection_id":146902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":146902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:35:04] local.INFO: TCP Data received {"connection_id":146902,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:35:04] local.INFO: Processing buffer {"connection_id":146902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:35:04] local.INFO: IMEI packet received {"connection_id":146902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":146902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:35:04] local.INFO: TCP Data received {"connection_id":146901,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2251530012d7b4a0005e3a2d0000700d42c..."} 
[2026-08-02 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2251530012d7b4a0005e3a2d0000700d42c..."} 
[2026-08-02 16:35:04] local.INFO: Processing buffer {"connection_id":146901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2251530012d7b4a0005e3a2d0000700d42c..."} 
[2026-08-02 16:35:04] local.INFO: Packet analysis {"connection_id":146901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:35:04] local.INFO: Extracted packet for processing {"connection_id":146901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763054592,"raw_latitude":98804432,"longitude_deg":76.3054592,"latitude_deg":9.8804432,"altitude":7,"angle":212,"satellites":44,"speed":36,"hex_longitude":"2d7b4a00","hex_latitude":"05e3a2d0","is_valid_coordinates":true} 
[2026-08-02 16:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131168768001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114071565422821376,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889964952236869632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785668638000,"timestamp_ms":1785668638000,"timestamp_seconds":1785668638,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2251530"} 
[2026-08-02 16:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 16:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131168768001,"66":13602,"95":206,"85":15104,"24":36,"16":114071565422821376,"45":8889964952236869632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 16:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131168768001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:35:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 16:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114071565422821376,"km_value":114071565422821.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889964952236869632,"description":"Unknown IO ID 45"} 
[2026-08-02 16:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131168768001,"power":13602,"unknown_95":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8889964952236869632}} 
[2026-08-02 16:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":146901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:35:04] local.INFO: GPS data processed {"connection_id":146901,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:35:04] local.INFO: Acknowledgment sent {"connection_id":146901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:35:04] local.INFO: TCP Data received {"connection_id":146900,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:35:04] local.INFO: Processing buffer {"connection_id":146900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:35:04] local.INFO: Packet analysis {"connection_id":146900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:35:04] local.INFO: Extracted packet for processing {"connection_id":146900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:35:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131093760001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785668636000,"timestamp_ms":1785668636000,"timestamp_seconds":1785668636,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2250d60"} 
[2026-08-02 16:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131093760001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131093760001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:35:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:35:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:35:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131093760001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":146900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:35:04] local.INFO: GPS data processed {"connection_id":146900,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:35:04] local.INFO: Acknowledgment sent {"connection_id":146900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:35:05] local.INFO: TCP Data received {"connection_id":146902,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2250590012d19d1c00720abc8002400c82c..."} 
[2026-08-02 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2250590012d19d1c00720abc8002400c82c..."} 
[2026-08-02 16:35:05] local.INFO: Processing buffer {"connection_id":146902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2250590012d19d1c00720abc8002400c82c..."} 
[2026-08-02 16:35:05] local.INFO: Packet analysis {"connection_id":146902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:35:05] local.INFO: Extracted packet for processing {"connection_id":146902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756666816,"raw_latitude":119581640,"longitude_deg":75.6666816,"latitude_deg":11.958164,"altitude":36,"angle":200,"satellites":44,"speed":6,"hex_longitude":"2d19d1c0","hex_latitude":"0720abc8","is_valid_coordinates":true} 
[2026-08-02 16:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131170048001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10280721482514432,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626670372864,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785668634000,"timestamp_ms":1785668634000,"timestamp_seconds":1785668634,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2250590"} 
[2026-08-02 16:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 16:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6975268046,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3257194160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503756498206720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:05] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2906128420,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-02 16:35:05] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:05] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3221692589,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:05] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84752358797942957,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:05] local.WARNING: Large IO value detected {"io_id":112,"raw_value":10133314614592512,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,134,159,234,45,192,172,36,46,10,66,230,226,1,240,185,227,194,32,4,113,205,218,210,120,42,239,56,2,7,206,224,112],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-02 16:35:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2594272585948856320,"timestamp_seconds":2594272585948856.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131170048001,"66":14341,"103":206,"83":41984,"24":6,"16":10280721482514432,"45":1860549626670372864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 16:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131170048001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:35:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 16:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10280721482514432,"km_value":10280721482514.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626670372864,"description":"Unknown IO ID 45"} 
[2026-08-02 16:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131170048001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1860549626670372864}} 
[2026-08-02 16:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":146902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:35:05] local.INFO: GPS data processed {"connection_id":146902,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:35:05] local.INFO: Acknowledgment sent {"connection_id":146902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:35:24] local.INFO: TCP Data received {"connection_id":149240,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:35:24] local.INFO: Processing buffer {"connection_id":149240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:35:24] local.INFO: IMEI packet received {"connection_id":149240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":149240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:35:27] local.INFO: TCP Data received {"connection_id":146671,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:35:27] local.INFO: Processing buffer {"connection_id":146671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:35:27] local.INFO: IMEI packet received {"connection_id":146671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":146671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:35:28] local.INFO: TCP Data received {"connection_id":146671,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:35:28] local.INFO: Processing buffer {"connection_id":146671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:35:28] local.INFO: IMEI packet received {"connection_id":146671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":146671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:35:29] local.INFO: TCP Data received {"connection_id":149240,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:35:29] local.INFO: Processing buffer {"connection_id":149240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:35:29] local.INFO: IMEI packet received {"connection_id":149240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":149240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:35:30] local.INFO: TCP Data received {"connection_id":149240,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:35:30] local.INFO: Processing buffer {"connection_id":149240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:35:30] local.INFO: Packet analysis {"connection_id":149240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:35:30] local.INFO: Extracted packet for processing {"connection_id":149240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:35:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131093760001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785668636000,"timestamp_ms":1785668636000,"timestamp_seconds":1785668636,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2250d60"} 
[2026-08-02 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-08-02 16:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131093760001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131093760001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:35:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:35:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131093760001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":149240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:35:30] local.INFO: GPS data processed {"connection_id":149240,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:35:30] local.INFO: Acknowledgment sent {"connection_id":149240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:35:32] local.INFO: TCP Data received {"connection_id":146671,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:35:32] local.INFO: Processing buffer {"connection_id":146671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:35:32] local.INFO: IMEI packet received {"connection_id":146671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":146671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:35:33] local.INFO: TCP Data received {"connection_id":146671,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2253858012d7b370005e384b0000700d52c..."} 
[2026-08-02 16:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2253858012d7b370005e384b0000700d52c..."} 
[2026-08-02 16:35:33] local.INFO: Processing buffer {"connection_id":146671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2253858012d7b370005e384b0000700d52c..."} 
[2026-08-02 16:35:33] local.INFO: Packet analysis {"connection_id":146671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:35:33] local.INFO: Extracted packet for processing {"connection_id":146671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763049728,"raw_latitude":98796720,"longitude_deg":76.3049728,"latitude_deg":9.879672,"altitude":7,"angle":213,"satellites":44,"speed":46,"hex_longitude":"2d7b3700","hex_latitude":"05e384b0","is_valid_coordinates":true} 
[2026-08-02 16:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131171328001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114072003509485568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883913240235659264,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785668647000,"timestamp_ms":1785668647000,"timestamp_seconds":1785668647,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2253858"} 
[2026-08-02 16:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-02 16:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131171328001,"66":13526,"95":206,"85":15104,"24":46,"16":114072003509485568,"45":8883913240235659264},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 16:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131171328001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:35:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 16:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114072003509485568,"km_value":114072003509485.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883913240235659264,"description":"Unknown IO ID 45"} 
[2026-08-02 16:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131171328001,"power":13526,"unknown_95":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8883913240235659264}} 
[2026-08-02 16:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":146671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:35:33] local.INFO: GPS data processed {"connection_id":146671,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:35:33] local.INFO: Acknowledgment sent {"connection_id":146671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:35:36] local.INFO: TCP Data received {"connection_id":146902,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2250978012d19d1400720ab50002400df2b..."} 
[2026-08-02 16:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2250978012d19d1400720ab50002400df2b..."} 
[2026-08-02 16:35:36] local.INFO: Processing buffer {"connection_id":146902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2250978012d19d1400720ab50002400df2b..."} 
[2026-08-02 16:35:36] local.INFO: Packet analysis {"connection_id":146902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:35:36] local.INFO: Extracted packet for processing {"connection_id":146902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756666688,"raw_latitude":119581520,"longitude_deg":75.6666688,"latitude_deg":11.958152,"altitude":36,"angle":223,"satellites":43,"speed":6,"hex_longitude":"2d19d140","hex_latitude":"0720ab50","is_valid_coordinates":true} 
[2026-08-02 16:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131170304001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10280725777481728,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860479257926158336,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785668635000,"timestamp_ms":1785668635000,"timestamp_seconds":1785668635,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2250978"} 
[2026-08-02 16:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 16:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6975268054,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3257195160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503756498206720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:36] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2901409828,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-02 16:35:36] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:36] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84752360945426605,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":10133396202193152,"note":"Value kept but may cause issues"} 
[2026-08-02 16:35:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,134,159,1,45,172,36,44,10,66,234,192,46,230,240,185,227,194,32,4,113,205,222,210,56,239,2,7,206,176,160],"length":529,"final_offset":659,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-02 16:35:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2594293476669915136,"timestamp_seconds":2594293476669915.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131170304001,"66":13852,"103":206,"83":41984,"24":6,"16":10280725777481728,"45":1860479257926158336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 16:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131170304001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:35:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 16:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10280725777481728,"km_value":10280725777481.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860479257926158336,"description":"Unknown IO ID 45"} 
[2026-08-02 16:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131170304001,"power":13852,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1860479257926158336}} 
[2026-08-02 16:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":146902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:35:36] local.INFO: GPS data processed {"connection_id":146902,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:35:36] local.INFO: Acknowledgment sent {"connection_id":146902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:35:59] local.INFO: TCP Data received {"connection_id":149241,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:35:59] local.INFO: Processing buffer {"connection_id":149241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:35:59] local.INFO: IMEI packet received {"connection_id":149241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":149241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:36:02] local.INFO: TCP Data received {"connection_id":149240,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:36:02] local.INFO: Processing buffer {"connection_id":149240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:36:02] local.INFO: Packet analysis {"connection_id":149240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:36:02] local.INFO: Extracted packet for processing {"connection_id":149240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:36:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131093760001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785668636000,"timestamp_ms":1785668636000,"timestamp_seconds":1785668636,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2250d60"} 
[2026-08-02 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-08-02 16:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131093760001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131093760001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:36:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:36:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:36:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131093760001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":149240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:36:02] local.INFO: GPS data processed {"connection_id":149240,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:36:02] local.INFO: Acknowledgment sent {"connection_id":149240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:36:04] local.INFO: TCP Data received {"connection_id":149241,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:36:04] local.INFO: Processing buffer {"connection_id":149241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:36:04] local.INFO: IMEI packet received {"connection_id":149241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":149241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:36:04] local.INFO: TCP Data received {"connection_id":146671,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2255b80012d7b224005e36538000700d22c..."} 
[2026-08-02 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2255b80012d7b224005e36538000700d22c..."} 
[2026-08-02 16:36:04] local.INFO: Processing buffer {"connection_id":146671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2255b80012d7b224005e36538000700d22c..."} 
[2026-08-02 16:36:04] local.INFO: Packet analysis {"connection_id":146671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:36:04] local.INFO: Extracted packet for processing {"connection_id":146671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763044416,"raw_latitude":98788664,"longitude_deg":76.3044416,"latitude_deg":9.8788664,"altitude":7,"angle":210,"satellites":44,"speed":37,"hex_longitude":"2d7b2240","hex_latitude":"05e36538","is_valid_coordinates":true} 
[2026-08-02 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131173632001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114072471660920832,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878565215676182528,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785668656000,"timestamp_ms":1785668656000,"timestamp_seconds":1785668656,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2255b80"} 
[2026-08-02 16:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 16:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131173632001,"66":12798,"95":206,"85":15104,"24":37,"16":114072471660920832,"45":8878565215676182528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 16:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131173632001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:36:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 16:36:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114072471660920832,"km_value":114072471660920.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878565215676182528,"description":"Unknown IO ID 45"} 
[2026-08-02 16:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131173632001,"power":12798,"unknown_95":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8878565215676182528}} 
[2026-08-02 16:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":146671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:36:04] local.INFO: GPS data processed {"connection_id":146671,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:36:04] local.INFO: Acknowledgment sent {"connection_id":146671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:36:04] local.INFO: TCP Data received {"connection_id":149241,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22622b8012d194f800720aac0002f011629..."} 
[2026-08-02 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22622b8012d194f800720aac0002f011629..."} 
[2026-08-02 16:36:04] local.INFO: Processing buffer {"connection_id":149241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22622b8012d194f800720aac0002f011629..."} 
[2026-08-02 16:36:04] local.INFO: Packet analysis {"connection_id":149241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc226"} 
[2026-08-02 16:36:04] local.INFO: Extracted packet for processing {"connection_id":149241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc226"} 
[2026-08-02 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756633472,"raw_latitude":119581376,"longitude_deg":75.6633472,"latitude_deg":11.9581376,"altitude":47,"angle":278,"satellites":41,"speed":37,"hex_longitude":"2d194f80","hex_latitude":"0720aac0","is_valid_coordinates":true} 
[2026-08-02 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131187712001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282387929825280,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829024429278687232,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785668707000,"timestamp_ms":1785668707000,"timestamp_seconds":1785668707,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22622b8"} 
[2026-08-02 16:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6975268152,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3257222160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503756502532096,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2926051371,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84752304037109923,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.WARNING: Large IO value detected {"io_id":216,"raw_value":9852780286054400,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:04] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,103,83,24,241,157,16,135,159,251,45,192,174,51,42,10,66,212,64,178,54,130,1,240,92,227,134,194,32,4,113,205,20,79,187,8,239,56,2,36,7,19,206,88,216],"length":529,"final_offset":659,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-02 16:36:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531111459807625216,"timestamp_seconds":3531111459807625.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131187712001,"66":14298,"103":206,"83":41984,"24":37,"16":10282387929825280,"45":1829024429278687232},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 16:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131187712001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:36:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 16:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282387929825280,"km_value":10282387929825.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829024429278687232,"description":"Unknown IO ID 45"} 
[2026-08-02 16:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131187712001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1829024429278687232}} 
[2026-08-02 16:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":149241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:36:04] local.INFO: GPS data processed {"connection_id":149241,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:36:04] local.INFO: Acknowledgment sent {"connection_id":149241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:36:23] local.INFO: TCP Data received {"connection_id":146903,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:36:23] local.INFO: Processing buffer {"connection_id":146903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:36:23] local.INFO: IMEI packet received {"connection_id":146903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":146903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:36:29] local.INFO: TCP Data received {"connection_id":146903,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:36:29] local.INFO: Processing buffer {"connection_id":146903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:36:29] local.INFO: IMEI packet received {"connection_id":146903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":146903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:36:30] local.INFO: TCP Data received {"connection_id":146903,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:36:30] local.INFO: Processing buffer {"connection_id":146903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:36:30] local.INFO: Packet analysis {"connection_id":146903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:36:30] local.INFO: Extracted packet for processing {"connection_id":146903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:36:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131093760001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785668636000,"timestamp_ms":1785668636000,"timestamp_seconds":1785668636,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2250d60"} 
[2026-08-02 16:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131093760001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131093760001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:36:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:36:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131093760001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":146903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:36:30] local.INFO: GPS data processed {"connection_id":146903,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:36:30] local.INFO: Acknowledgment sent {"connection_id":146903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:36:33] local.INFO: TCP Data received {"connection_id":147943,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:36:33] local.INFO: Processing buffer {"connection_id":147943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:36:33] local.INFO: IMEI packet received {"connection_id":147943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":147943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:36:33] local.INFO: TCP Data received {"connection_id":147943,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:36:33] local.INFO: Processing buffer {"connection_id":147943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:36:33] local.INFO: IMEI packet received {"connection_id":147943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":147943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:36:35] local.INFO: TCP Data received {"connection_id":149241,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2262e70012d1945000720adb0002e01222a..."} 
[2026-08-02 16:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2262e70012d1945000720adb0002e01222a..."} 
[2026-08-02 16:36:35] local.INFO: Processing buffer {"connection_id":149241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2262e70012d1945000720adb0002e01222a..."} 
[2026-08-02 16:36:35] local.INFO: Packet analysis {"connection_id":149241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc226"} 
[2026-08-02 16:36:35] local.INFO: Extracted packet for processing {"connection_id":149241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc226"} 
[2026-08-02 16:36:35] local.INFO: GPS Element Parsed {"raw_longitude":756630784,"raw_latitude":119582128,"longitude_deg":75.6630784,"latitude_deg":11.9582128,"altitude":46,"angle":290,"satellites":42,"speed":38,"hex_longitude":"2d194500","hex_latitude":"0720adb0","is_valid_coordinates":true} 
[2026-08-02 16:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131188992001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282516778844160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823817142209527808,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785668710000,"timestamp_ms":1785668710000,"timestamp_seconds":1785668710,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2262e70"} 
[2026-08-02 16:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:36: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-08-02 16:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-02 16:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131188992001,"66":14298,"103":206,"83":41984,"24":38,"16":10282516778844160,"45":1823817142209527808},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 16:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131188992001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:36:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 16:36:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282516778844160,"km_value":10282516778844.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823817142209527808,"description":"Unknown IO ID 45"} 
[2026-08-02 16:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131188992001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1823817142209527808}} 
[2026-08-02 16:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":149241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:36:35] local.INFO: GPS data processed {"connection_id":149241,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:36:35] local.INFO: Acknowledgment sent {"connection_id":149241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:36:37] local.INFO: TCP Data received {"connection_id":147943,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:36:37] local.INFO: Processing buffer {"connection_id":147943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:36:37] local.INFO: IMEI packet received {"connection_id":147943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":147943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:36:38] local.INFO: TCP Data received {"connection_id":147943,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2258290012d7b104005e343e8000600c928..."} 
[2026-08-02 16:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2258290012d7b104005e343e8000600c928..."} 
[2026-08-02 16:36:38] local.INFO: Processing buffer {"connection_id":147943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2258290012d7b104005e343e8000600c928..."} 
[2026-08-02 16:36:38] local.INFO: Packet analysis {"connection_id":147943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:36:38] local.INFO: Extracted packet for processing {"connection_id":147943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763039808,"raw_latitude":98780136,"longitude_deg":76.3039808,"latitude_deg":9.8780136,"altitude":6,"angle":201,"satellites":40,"speed":37,"hex_longitude":"2d7b1040","hex_latitude":"05e343e8","is_valid_coordinates":true} 
[2026-08-02 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131175936001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114072939812356096,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872724609907374080,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785668666000,"timestamp_ms":1785668666000,"timestamp_seconds":1785668666,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2258290"} 
[2026-08-02 16:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-02 16:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131175936001,"66":13580,"95":206,"85":15104,"24":37,"16":114072939812356096,"45":8872724609907374080},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 16:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131175936001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:36:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 16:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114072939812356096,"km_value":114072939812356.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872724609907374080,"description":"Unknown IO ID 45"} 
[2026-08-02 16:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131175936001,"power":13580,"unknown_95":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8872724609907374080}} 
[2026-08-02 16:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":147943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:36:38] local.INFO: GPS data processed {"connection_id":147943,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:36:38] local.INFO: Acknowledgment sent {"connection_id":147943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:36:43] local.INFO: TCP Data received {"connection_id":147943,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2258e48012d7b0d4005e33968000600be28..."} 
[2026-08-02 16:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2258e48012d7b0d4005e33968000600be28..."} 
[2026-08-02 16:36:43] local.INFO: Processing buffer {"connection_id":147943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2258e48012d7b0d4005e33968000600be28..."} 
[2026-08-02 16:36:43] local.INFO: Packet analysis {"connection_id":147943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:36:43] local.INFO: Extracted packet for processing {"connection_id":147943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:36:43] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":98777448,"longitude_deg":76.303904,"latitude_deg":9.8777448,"altitude":6,"angle":190,"satellites":40,"speed":36,"hex_longitude":"2d7b0d40","hex_latitude":"05e33968","is_valid_coordinates":true} 
[2026-08-02 16:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131178496001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114073077251309568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867658060324399104,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785668669000,"timestamp_ms":1785668669000,"timestamp_seconds":1785668669,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2258e48"} 
[2026-08-02 16:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617345,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3257185160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7691509347293069312,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3225944073,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634742124357215,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791243982,"corrected_to":0} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2147869661,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-6484957348971360683,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3824949248,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-7187738527996575731,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755588419748081,"note":"Value kept but may cause issues"} 
[2026-08-02 16:36:43] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,95,85,24,241,157,16,68,159,91,45,64,101,7,44,10,66,56,132,67,21,1,240,34,227,194,4,113,205,38,206,115,168,43,239,51,2,149,5,12,52,123,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2791243982,"validated":0}]} 
[2026-08-02 16:36:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432566737865867264,"timestamp_seconds":432566737865867.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131178496001,"66":13374,"95":206,"85":15104,"24":36,"16":114073077251309568,"45":8867658060324399104},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-02 16:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131178496001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:36:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 16:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114073077251309568,"km_value":114073077251309.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867658060324399104,"description":"Unknown IO ID 45"} 
[2026-08-02 16:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131178496001,"power":13374,"unknown_95":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8867658060324399104}} 
[2026-08-02 16:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":147943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:36:43] local.INFO: GPS data processed {"connection_id":147943,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:36:43] local.INFO: Acknowledgment sent {"connection_id":147943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:36:57] local.INFO: TCP Data received {"connection_id":146672,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:36:57] local.INFO: Processing buffer {"connection_id":146672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:36:57] local.INFO: IMEI packet received {"connection_id":146672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":146672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:36:58] local.INFO: TCP Data received {"connection_id":146672,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:36:58] local.INFO: Processing buffer {"connection_id":146672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:36:58] local.INFO: IMEI packet received {"connection_id":146672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":146672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:37:03] local.INFO: TCP Data received {"connection_id":146903,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:37:03] local.INFO: Processing buffer {"connection_id":146903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:37:03] local.INFO: Packet analysis {"connection_id":146903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:37:03] local.INFO: Extracted packet for processing {"connection_id":146903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:37:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131093760001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785668636000,"timestamp_ms":1785668636000,"timestamp_seconds":1785668636,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2250d60"} 
[2026-08-02 16:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131093760001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131093760001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:37:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:37:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:37:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131093760001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":146903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:37:03] local.INFO: GPS data processed {"connection_id":146903,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:37:03] local.INFO: Acknowledgment sent {"connection_id":146903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:37:04] local.INFO: TCP Data received {"connection_id":146672,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:37:04] local.INFO: Processing buffer {"connection_id":146672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:37:04] local.INFO: IMEI packet received {"connection_id":146672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":146672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:37:05] local.INFO: TCP Data received {"connection_id":146672,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2263a28012d193ac00720b220002d012f2a..."} 
[2026-08-02 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2263a28012d193ac00720b220002d012f2a..."} 
[2026-08-02 16:37:05] local.INFO: Processing buffer {"connection_id":146672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2263a28012d193ac00720b220002d012f2a..."} 
[2026-08-02 16:37:05] local.INFO: Packet analysis {"connection_id":146672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc226"} 
[2026-08-02 16:37:05] local.INFO: Extracted packet for processing {"connection_id":146672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc226"} 
[2026-08-02 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756628160,"raw_latitude":119583264,"longitude_deg":75.662816,"latitude_deg":11.9583264,"altitude":45,"angle":303,"satellites":42,"speed":36,"hex_longitude":"2d193ac0","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-02 16:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131189760001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282654217797632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820861654954258432,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785668713000,"timestamp_ms":1785668713000,"timestamp_seconds":1785668713,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2263a28"} 
[2026-08-02 16:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-02 16:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131189760001,"66":14298,"103":206,"83":41984,"24":36,"16":10282654217797632,"45":1820861654954258432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 16:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131189760001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:37:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 16:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282654217797632,"km_value":10282654217797.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820861654954258432,"description":"Unknown IO ID 45"} 
[2026-08-02 16:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131189760001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1820861654954258432}} 
[2026-08-02 16:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":146672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:37:05] local.INFO: GPS data processed {"connection_id":146672,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:37:05] local.INFO: Acknowledgment sent {"connection_id":146672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:37:23] local.INFO: TCP Data received {"connection_id":146673,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:37:23] local.INFO: Processing buffer {"connection_id":146673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:37:23] local.INFO: IMEI packet received {"connection_id":146673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":146673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:37:24] local.INFO: TCP Data received {"connection_id":146904,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:37:24] local.INFO: Processing buffer {"connection_id":146904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:37:24] local.INFO: IMEI packet received {"connection_id":146904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":146904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:37:28] local.INFO: TCP Data received {"connection_id":146904,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:37:28] local.INFO: Processing buffer {"connection_id":146904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:37:28] local.INFO: IMEI packet received {"connection_id":146904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":146904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:37:28] local.INFO: TCP Data received {"connection_id":146904,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:37:28] local.INFO: Processing buffer {"connection_id":146904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:37:28] local.INFO: IMEI packet received {"connection_id":146904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":146904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:37:29] local.INFO: TCP Data received {"connection_id":146673,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:37:29] local.INFO: Processing buffer {"connection_id":146673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:37:29] local.INFO: IMEI packet received {"connection_id":146673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":146673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:37:30] local.INFO: TCP Data received {"connection_id":146673,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:37:30] local.INFO: Processing buffer {"connection_id":146673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:37:30] local.INFO: Packet analysis {"connection_id":146673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:37:30] local.INFO: Extracted packet for processing {"connection_id":146673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:37:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131093760001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785668636000,"timestamp_ms":1785668636000,"timestamp_seconds":1785668636,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2250d60"} 
[2026-08-02 16:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131093760001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131093760001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:37:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:37:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:37:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131093760001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":146673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:37:30] local.INFO: GPS data processed {"connection_id":146673,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:37:30] local.INFO: Acknowledgment sent {"connection_id":146673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:37:33] local.INFO: TCP Data received {"connection_id":146904,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:37:33] local.INFO: Processing buffer {"connection_id":146904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:37:33] local.INFO: IMEI packet received {"connection_id":146904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":146904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:37:33] local.INFO: TCP Data received {"connection_id":146904,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc227b128012d7b390005e1ff40000800af29..."} 
[2026-08-02 16:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc227b128012d7b390005e1ff40000800af29..."} 
[2026-08-02 16:37:33] local.INFO: Processing buffer {"connection_id":146904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc227b128012d7b390005e1ff40000800af29..."} 
[2026-08-02 16:37:33] local.INFO: Packet analysis {"connection_id":146904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc227"} 
[2026-08-02 16:37:33] local.INFO: Extracted packet for processing {"connection_id":146904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc227"} 
[2026-08-02 16:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763050240,"raw_latitude":98697024,"longitude_deg":76.305024,"latitude_deg":9.8697024,"altitude":8,"angle":175,"satellites":41,"speed":27,"hex_longitude":"2d7b3900","hex_latitude":"05e1ff40","is_valid_coordinates":true} 
[2026-08-02 16:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131210496001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114077028621221888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878143003188006912,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785668809000,"timestamp_ms":1785668809000,"timestamp_seconds":1785668809,"priority":1,"record_length":96,"hex_timestamp":"0000019fc227b128"} 
[2026-08-02 16:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-02 16:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131210496001,"66":13428,"96":206,"85":15104,"24":27,"16":114077028621221888,"45":8878143003188006912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-02 16:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131210496001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:37:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-02 16:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114077028621221888,"km_value":114077028621221.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878143003188006912,"description":"Unknown IO ID 45"} 
[2026-08-02 16:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131210496001,"power":13428,"unknown_96":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8878143003188006912}} 
[2026-08-02 16:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":146904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:37:33] local.INFO: GPS data processed {"connection_id":146904,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:37:33] local.INFO: Acknowledgment sent {"connection_id":146904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:37:35] local.INFO: TCP Data received {"connection_id":146672,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc227a188012d18bf00072157c8004501452e..."} 
[2026-08-02 16:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc227a188012d18bf00072157c8004501452e..."} 
[2026-08-02 16:37:35] local.INFO: Processing buffer {"connection_id":146672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc227a188012d18bf00072157c8004501452e..."} 
[2026-08-02 16:37:35] local.INFO: Packet analysis {"connection_id":146672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc227"} 
[2026-08-02 16:37:35] local.INFO: Extracted packet for processing {"connection_id":146672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc227"} 
[2026-08-02 16:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756596480,"raw_latitude":119625672,"longitude_deg":75.659648,"latitude_deg":11.9625672,"altitude":69,"angle":325,"satellites":46,"speed":34,"hex_longitude":"2d18bf00","hex_latitude":"072157c8","is_valid_coordinates":true} 
[2026-08-02 16:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131213568001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10285424471703552,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783918064271734784,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785668805000,"timestamp_ms":1785668805000,"timestamp_seconds":1785668805,"priority":1,"record_length":96,"hex_timestamp":"0000019fc227a188"} 
[2026-08-02 16:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":38,"data_length":795,"current_offset":136} 
[2026-08-02 16:37: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-08-02 16:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131213568001,"66":14483,"106":206,"83":41984,"24":34,"16":10285424471703552,"45":1783918064271734784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-02 16:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131213568001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:37:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-02 16:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10285424471703552,"km_value":10285424471703.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783918064271734784,"description":"Unknown IO ID 45"} 
[2026-08-02 16:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131213568001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1783918064271734784}} 
[2026-08-02 16:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":146672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:37:36] local.INFO: GPS data processed {"connection_id":146672,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:37:36] local.INFO: Acknowledgment sent {"connection_id":146672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:37:37] local.INFO: TCP Data received {"connection_id":146904,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc227e3f0012d7b3c4005e1dc18000800b025..."} 
[2026-08-02 16:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc227e3f0012d7b3c4005e1dc18000800b025..."} 
[2026-08-02 16:37:37] local.INFO: Processing buffer {"connection_id":146904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc227e3f0012d7b3c4005e1dc18000800b025..."} 
[2026-08-02 16:37:37] local.INFO: Packet analysis {"connection_id":146904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc227"} 
[2026-08-02 16:37:37] local.INFO: Extracted packet for processing {"connection_id":146904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc227"} 
[2026-08-02 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763051072,"raw_latitude":98688024,"longitude_deg":76.3051072,"latitude_deg":9.8688024,"altitude":8,"angle":176,"satellites":37,"speed":31,"hex_longitude":"2d7b3c40","hex_latitude":"05e1dc18","is_valid_coordinates":true} 
[2026-08-02 16:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131215104001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114077466707886080,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879128165604081664,"note":"Value kept but may cause issues"} 
[2026-08-02 16:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785668822000,"timestamp_ms":1785668822000,"timestamp_seconds":1785668822,"priority":1,"record_length":96,"hex_timestamp":"0000019fc227e3f0"} 
[2026-08-02 16:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 16:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131215104001,"66":13624,"96":206,"85":15104,"24":31,"16":114077466707886080,"45":8879128165604081664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-02 16:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131215104001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:37:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-02 16:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114077466707886080,"km_value":114077466707886.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879128165604081664,"description":"Unknown IO ID 45"} 
[2026-08-02 16:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131215104001,"power":13624,"unknown_96":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8879128165604081664}} 
[2026-08-02 16:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":146904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:37:37] local.INFO: GPS data processed {"connection_id":146904,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:37:37] local.INFO: Acknowledgment sent {"connection_id":146904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:37:58] local.INFO: TCP Data received {"connection_id":146674,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:37:58] local.INFO: Processing buffer {"connection_id":146674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:37:58] local.INFO: IMEI packet received {"connection_id":146674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":146674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:38:03] local.INFO: TCP Data received {"connection_id":146673,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:38:03] local.INFO: Processing buffer {"connection_id":146673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:38:03] local.INFO: Packet analysis {"connection_id":146673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:38:03] local.INFO: Extracted packet for processing {"connection_id":146673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:38:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131093760001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785668636000,"timestamp_ms":1785668636000,"timestamp_seconds":1785668636,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2250d60"} 
[2026-08-02 16:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131093760001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131093760001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:38:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:38:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:38:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131093760001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":146673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:38:03] local.INFO: GPS data processed {"connection_id":146673,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:38:03] local.INFO: Acknowledgment sent {"connection_id":146673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:38:04] local.INFO: TCP Data received {"connection_id":146674,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:38:04] local.INFO: Processing buffer {"connection_id":146674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:38:04] local.INFO: IMEI packet received {"connection_id":146674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":146674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:38:04] local.INFO: TCP Data received {"connection_id":146674,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc227c898012d18aa4007217200004801312d..."} 
[2026-08-02 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc227c898012d18aa4007217200004801312d..."} 
[2026-08-02 16:38:04] local.INFO: Processing buffer {"connection_id":146674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc227c898012d18aa4007217200004801312d..."} 
[2026-08-02 16:38:04] local.INFO: Packet analysis {"connection_id":146674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc227"} 
[2026-08-02 16:38:04] local.INFO: Extracted packet for processing {"connection_id":146674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc227"} 
[2026-08-02 16:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632384,"longitude_deg":75.6591168,"latitude_deg":11.9632384,"altitude":72,"angle":305,"satellites":45,"speed":29,"hex_longitude":"2d18aa40","hex_latitude":"07217200","is_valid_coordinates":true} 
[2026-08-02 16:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131214080001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10285832493596672,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783144008086177792,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785668815000,"timestamp_ms":1785668815000,"timestamp_seconds":1785668815,"priority":1,"record_length":96,"hex_timestamp":"0000019fc227c898"} 
[2026-08-02 16:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-02 16:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131214080001,"66":14374,"106":206,"83":41984,"24":29,"16":10285832493596672,"45":1783144008086177792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-02 16:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131214080001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:38:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-02 16:38:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10285832493596672,"km_value":10285832493596.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783144008086177792,"description":"Unknown IO ID 45"} 
[2026-08-02 16:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131214080001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1783144008086177792}} 
[2026-08-02 16:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":146674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:38:04] local.INFO: GPS data processed {"connection_id":146674,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:38:04] local.INFO: Acknowledgment sent {"connection_id":146674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:38:08] local.INFO: TCP Data received {"connection_id":146904,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22812d0012d7b3fc005e1b998000700ad23..."} 
[2026-08-02 16:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22812d0012d7b3fc005e1b998000700ad23..."} 
[2026-08-02 16:38:08] local.INFO: Processing buffer {"connection_id":146904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22812d0012d7b3fc005e1b998000700ad23..."} 
[2026-08-02 16:38:08] local.INFO: Packet analysis {"connection_id":146904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc228"} 
[2026-08-02 16:38:08] local.INFO: Extracted packet for processing {"connection_id":146904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc228"} 
[2026-08-02 16:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763051968,"raw_latitude":98679192,"longitude_deg":76.3051968,"latitude_deg":9.8679192,"altitude":7,"angle":173,"satellites":35,"speed":23,"hex_longitude":"2d7b3fc0","hex_latitude":"05e1b998","is_valid_coordinates":true} 
[2026-08-02 16:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131218432001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114077900499582976,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880042959276087296,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785668834000,"timestamp_ms":1785668834000,"timestamp_seconds":1785668834,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22812d0"} 
[2026-08-02 16:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-02 16:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131218432001,"66":12863,"96":206,"85":15104,"24":23,"16":114077900499582976,"45":8880042959276087296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-02 16:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131218432001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:38:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-02 16:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114077900499582976,"km_value":114077900499582.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880042959276087296,"description":"Unknown IO ID 45"} 
[2026-08-02 16:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131218432001,"power":12863,"unknown_96":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8880042959276087296}} 
[2026-08-02 16:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":146904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:38:08] local.INFO: GPS data processed {"connection_id":146904,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:38:08] local.INFO: Acknowledgment sent {"connection_id":146904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:38:28] local.INFO: TCP Data received {"connection_id":147944,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:38:28] local.INFO: Processing buffer {"connection_id":147944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:38:28] local.INFO: IMEI packet received {"connection_id":147944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":147944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:38:29] local.INFO: TCP Data received {"connection_id":146675,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:38:29] local.INFO: Processing buffer {"connection_id":146675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:38:29] local.INFO: IMEI packet received {"connection_id":146675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":146675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:38:33] local.INFO: TCP Data received {"connection_id":147944,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:38:33] local.INFO: Processing buffer {"connection_id":147944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:38:33] local.INFO: IMEI packet received {"connection_id":147944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":147944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:38:34] local.INFO: TCP Data received {"connection_id":147944,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc228da08012d7b934005e1bcf00009005929..."} 
[2026-08-02 16:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc228da08012d7b934005e1bcf00009005929..."} 
[2026-08-02 16:38:34] local.INFO: Processing buffer {"connection_id":147944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc228da08012d7b934005e1bcf00009005929..."} 
[2026-08-02 16:38:34] local.INFO: Packet analysis {"connection_id":147944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc228"} 
[2026-08-02 16:38:34] local.INFO: Extracted packet for processing {"connection_id":147944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc228"} 
[2026-08-02 16:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763073344,"raw_latitude":98680048,"longitude_deg":76.3073344,"latitude_deg":9.8680048,"altitude":9,"angle":89,"satellites":41,"speed":11,"hex_longitude":"2d7b9340","hex_latitude":"05e1bcf0","is_valid_coordinates":true} 
[2026-08-02 16:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131233280001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114079030075981824,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901998007457404928,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785668885000,"timestamp_ms":1785668885000,"timestamp_seconds":1785668885,"priority":1,"record_length":96,"hex_timestamp":"0000019fc228da08"} 
[2026-08-02 16:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-02 16:38: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-08-02 16:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:38: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-08-02 16:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131233280001,"66":13374,"169":206,"85":15104,"24":11,"16":114079030075981824,"45":8901998007457404928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-02 16:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131233280001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:38:34] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 16:38:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114079030075981824,"km_value":114079030075981.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901998007457404928,"description":"Unknown IO ID 45"} 
[2026-08-02 16:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131233280001,"power":13374,"unknown_169":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8901998007457404928}} 
[2026-08-02 16:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":147944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:38:34] local.INFO: GPS data processed {"connection_id":147944,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:38:34] local.INFO: Acknowledgment sent {"connection_id":147944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:38:34] local.INFO: TCP Data received {"connection_id":146675,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:38:34] local.INFO: Processing buffer {"connection_id":146675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:38:34] local.INFO: IMEI packet received {"connection_id":146675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":146675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:38:35] local.INFO: TCP Data received {"connection_id":146675,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:38:35] local.INFO: Processing buffer {"connection_id":146675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:38:35] local.INFO: Packet analysis {"connection_id":146675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:38:35] local.INFO: Extracted packet for processing {"connection_id":146675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:38:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131093760001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785668636000,"timestamp_ms":1785668636000,"timestamp_seconds":1785668636,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2250d60"} 
[2026-08-02 16:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131093760001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131093760001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:38:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:38:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:38:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131093760001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":146675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:38:35] local.INFO: GPS data processed {"connection_id":146675,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:38:35] local.INFO: Acknowledgment sent {"connection_id":146675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:38:36] local.INFO: TCP Data received {"connection_id":146674,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc227d068012d18a500072174a8004701202c..."} 
[2026-08-02 16:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc227d068012d18a500072174a8004701202c..."} 
[2026-08-02 16:38:36] local.INFO: Processing buffer {"connection_id":146674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc227d068012d18a500072174a8004701202c..."} 
[2026-08-02 16:38:36] local.INFO: Packet analysis {"connection_id":146674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc227"} 
[2026-08-02 16:38:36] local.INFO: Extracted packet for processing {"connection_id":146674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc227"} 
[2026-08-02 16:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756589824,"raw_latitude":119633064,"longitude_deg":75.6589824,"latitude_deg":11.9633064,"altitude":71,"angle":288,"satellites":44,"speed":30,"hex_longitude":"2d18a500","hex_latitude":"072174a8","is_valid_coordinates":true} 
[2026-08-02 16:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131216640001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10285905508040704,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321149952,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785668817000,"timestamp_ms":1785668817000,"timestamp_seconds":1785668817,"priority":1,"record_length":96,"hex_timestamp":"0000019fc227d068"} 
[2026-08-02 16:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-02 16:38: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-08-02 16:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131216640001,"66":14102,"106":206,"83":41984,"24":30,"16":10285905508040704,"45":1777303402321149952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-02 16:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131216640001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:38:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-02 16:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10285905508040704,"km_value":10285905508040.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321149952,"description":"Unknown IO ID 45"} 
[2026-08-02 16:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131216640001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1777303402321149952}} 
[2026-08-02 16:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":146674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:38:36] local.INFO: GPS data processed {"connection_id":146674,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:38:36] local.INFO: Acknowledgment sent {"connection_id":146674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:38:42] local.INFO: TCP Data received {"connection_id":146675,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:38:42] local.INFO: Processing buffer {"connection_id":146675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2250d60012cc330c007685958005800c52c..."} 
[2026-08-02 16:38:42] local.INFO: Packet analysis {"connection_id":146675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:38:42] local.INFO: Extracted packet for processing {"connection_id":146675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc225"} 
[2026-08-02 16:38:42] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131093760001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785668636000,"timestamp_ms":1785668636000,"timestamp_seconds":1785668636,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2250d60"} 
[2026-08-02 16:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131093760001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131093760001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:38:42] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:38:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131093760001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":146675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:38:42] local.INFO: GPS data processed {"connection_id":146675,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:38:42] local.INFO: Acknowledgment sent {"connection_id":146675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:38:58] local.INFO: TCP Data received {"connection_id":146905,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:38:58] local.INFO: Processing buffer {"connection_id":146905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:38:58] local.INFO: IMEI packet received {"connection_id":146905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":146905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:38:59] local.INFO: TCP Data received {"connection_id":146905,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:38:59] local.INFO: Processing buffer {"connection_id":146905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:38:59] local.INFO: IMEI packet received {"connection_id":146905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":146905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:39:03] local.INFO: TCP Data received {"connection_id":146905,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:39:03] local.INFO: Processing buffer {"connection_id":146905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:39:03] local.INFO: IMEI packet received {"connection_id":146905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":146905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:39:04] local.INFO: TCP Data received {"connection_id":146905,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2282270012d1893c007217a38004a01242d..."} 
[2026-08-02 16:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2282270012d1893c007217a38004a01242d..."} 
[2026-08-02 16:39:04] local.INFO: Processing buffer {"connection_id":146905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2282270012d1893c007217a38004a01242d..."} 
[2026-08-02 16:39:04] local.INFO: Packet analysis {"connection_id":146905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc228"} 
[2026-08-02 16:39:04] local.INFO: Extracted packet for processing {"connection_id":146905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc228"} 
[2026-08-02 16:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756585408,"raw_latitude":119634488,"longitude_deg":75.6585408,"latitude_deg":11.9634488,"altitude":74,"angle":292,"satellites":45,"speed":0,"hex_longitude":"2d1893c0","hex_latitude":"07217a38","is_valid_coordinates":true} 
[2026-08-02 16:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131217152001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10286137436274688,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775825658693593088,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785668838000,"timestamp_ms":1785668838000,"timestamp_seconds":1785668838,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2282270"} 
[2026-08-02 16:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-02 16:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131217152001,"66":14559,"106":206,"83":41984,"24":0,"16":10286137436274688,"45":1775825658693593088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-02 16:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131217152001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:39:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-02 16:39:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10286137436274688,"km_value":10286137436274.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775825658693593088,"description":"Unknown IO ID 45"} 
[2026-08-02 16:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131217152001,"power":14559,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1775825658693593088}} 
[2026-08-02 16:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":146905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:39:04] local.INFO: GPS data processed {"connection_id":146905,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:39:04] local.INFO: Acknowledgment sent {"connection_id":146905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:39:05] local.INFO: TCP Data received {"connection_id":147944,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2290500012d7baa8005e1c0080009004c2a..."} 
[2026-08-02 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2290500012d7baa8005e1c0080009004c2a..."} 
[2026-08-02 16:39:05] local.INFO: Processing buffer {"connection_id":147944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2290500012d7baa8005e1c0080009004c2a..."} 
[2026-08-02 16:39:05] local.INFO: Packet analysis {"connection_id":147944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:39:05] local.INFO: Extracted packet for processing {"connection_id":147944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763079296,"raw_latitude":98680840,"longitude_deg":76.3079296,"latitude_deg":9.868084,"altitude":9,"angle":76,"satellites":42,"speed":24,"hex_longitude":"2d7baa80","hex_latitude":"05e1c008","is_valid_coordinates":true} 
[2026-08-02 16:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131234560001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114079317838790656,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904531282247872512,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39: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-08-02 16:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785668896000,"timestamp_ms":1785668896000,"timestamp_seconds":1785668896,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2290500"} 
[2026-08-02 16:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-02 16:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131234560001,"66":13493,"169":206,"85":15104,"24":24,"16":114079317838790656,"45":8904531282247872512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-02 16:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131234560001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:39:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-02 16:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114079317838790656,"km_value":114079317838790.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904531282247872512,"description":"Unknown IO ID 45"} 
[2026-08-02 16:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131234560001,"power":13493,"unknown_169":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8904531282247872512}} 
[2026-08-02 16:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":147944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:39:05] local.INFO: GPS data processed {"connection_id":147944,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:39:05] local.INFO: Acknowledgment sent {"connection_id":147944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:39:23] local.INFO: TCP Data received {"connection_id":149242,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:39:23] local.INFO: Processing buffer {"connection_id":149242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:39:23] local.INFO: IMEI packet received {"connection_id":149242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":149242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:39:27] local.INFO: TCP Data received {"connection_id":146676,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:39:27] local.INFO: Processing buffer {"connection_id":146676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:39:27] local.INFO: IMEI packet received {"connection_id":146676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":146676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:39:29] local.INFO: TCP Data received {"connection_id":149242,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:39:29] local.INFO: Processing buffer {"connection_id":149242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:39:29] local.INFO: IMEI packet received {"connection_id":149242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":149242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:39:34] local.INFO: TCP Data received {"connection_id":146676,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:39:34] local.INFO: Processing buffer {"connection_id":146676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:39:34] local.INFO: IMEI packet received {"connection_id":146676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":146676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:39:35] local.INFO: TCP Data received {"connection_id":146676,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:39:35] local.INFO: Processing buffer {"connection_id":146676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:39:35] local.INFO: IMEI packet received {"connection_id":146676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":146676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:39:35] local.INFO: TCP Data received {"connection_id":146905,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2285920012d1881c007218118004a01172b..."} 
[2026-08-02 16:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2285920012d1881c007218118004a01172b..."} 
[2026-08-02 16:39:35] local.INFO: Processing buffer {"connection_id":146905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2285920012d1881c007218118004a01172b..."} 
[2026-08-02 16:39:35] local.INFO: Packet analysis {"connection_id":146905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc228"} 
[2026-08-02 16:39:35] local.INFO: Extracted packet for processing {"connection_id":146905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc228"} 
[2026-08-02 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756580800,"raw_latitude":119636248,"longitude_deg":75.65808,"latitude_deg":11.9636248,"altitude":74,"angle":279,"satellites":43,"speed":25,"hex_longitude":"2d1881c0","hex_latitude":"07218118","is_valid_coordinates":true} 
[2026-08-02 16:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131222528001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10286373659475968,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770970215345698816,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785668852000,"timestamp_ms":1785668852000,"timestamp_seconds":1785668852,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2285920"} 
[2026-08-02 16:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":223,"data_length":795,"current_offset":136} 
[2026-08-02 16:39: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-08-02 16:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131222528001,"66":14396,"106":206,"83":41984,"24":25,"16":10286373659475968,"45":1770970215345698816},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-02 16:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131222528001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:39:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-02 16:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10286373659475968,"km_value":10286373659475.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770970215345698816,"description":"Unknown IO ID 45"} 
[2026-08-02 16:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131222528001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1770970215345698816}} 
[2026-08-02 16:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":146905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:39:35] local.INFO: GPS data processed {"connection_id":146905,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:39:35] local.INFO: Acknowledgment sent {"connection_id":146905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:39:35] local.INFO: TCP Data received {"connection_id":149242,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:39:35] local.INFO: Processing buffer {"connection_id":149242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:39:35] local.INFO: Packet analysis {"connection_id":149242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:39:35] local.INFO: Extracted packet for processing {"connection_id":149242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131170816001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785668937000,"timestamp_ms":1785668937000,"timestamp_seconds":1785668937,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229a528"} 
[2026-08-02 16:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131170816001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131170816001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:39:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:39:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:39:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131170816001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":149242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:39:35] local.INFO: GPS data processed {"connection_id":149242,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:39:35] local.INFO: Acknowledgment sent {"connection_id":149242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:39:35] local.INFO: TCP Data received {"connection_id":146676,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229fb18012d7c374005e1def00005003f2b..."} 
[2026-08-02 16:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229fb18012d7c374005e1def00005003f2b..."} 
[2026-08-02 16:39:35] local.INFO: Processing buffer {"connection_id":146676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229fb18012d7c374005e1def00005003f2b..."} 
[2026-08-02 16:39:35] local.INFO: Packet analysis {"connection_id":146676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:39:35] local.INFO: Extracted packet for processing {"connection_id":146676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":763115328,"raw_latitude":98688752,"longitude_deg":76.3115328,"latitude_deg":9.8688752,"altitude":5,"angle":63,"satellites":43,"speed":23,"hex_longitude":"2d7c3740","hex_latitude":"05e1def0","is_valid_coordinates":true} 
[2026-08-02 16:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131253248001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949989490988818432,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114081168969695232,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 16:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785668959000,"timestamp_ms":1785668959000,"timestamp_seconds":1785668959,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229fb18"} 
[2026-08-02 16:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-02 16:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131253248001,"66":13678,"45":8949989490988818432,"85":15104,"24":23,"16":114081168969695232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-02 16:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131253248001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949989490988818432,"description":"Unknown IO ID 45"} 
[2026-08-02 16:39:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114081168969695232,"km_value":114081168969695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:39:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457131253248001,"power":13678,"unknown_45":8949989490988818432,"unknown_85":15104,"ignition":23,"odometer":null}} 
[2026-08-02 16:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":146676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:39:35] local.INFO: GPS data processed {"connection_id":146676,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:39:35] local.INFO: Acknowledgment sent {"connection_id":146676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:39:38] local.INFO: TCP Data received {"connection_id":146676,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229ff00012d7c390005e1e030000500312b..."} 
[2026-08-02 16:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229ff00012d7c390005e1e030000500312b..."} 
[2026-08-02 16:39:38] local.INFO: Processing buffer {"connection_id":146676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229ff00012d7c390005e1e030000500312b..."} 
[2026-08-02 16:39:38] local.INFO: Packet analysis {"connection_id":146676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:39:38] local.INFO: Extracted packet for processing {"connection_id":146676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763115776,"raw_latitude":98689072,"longitude_deg":76.3115776,"latitude_deg":9.8689072,"altitude":5,"angle":49,"satellites":43,"speed":22,"hex_longitude":"2d7c3900","hex_latitude":"05e1e030","is_valid_coordinates":true} 
[2026-08-02 16:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131253504001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950693178430648320,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114081194739499008,"note":"Value kept but may cause issues"} 
[2026-08-02 16:39:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 16:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785668960000,"timestamp_ms":1785668960000,"timestamp_seconds":1785668960,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229ff00"} 
[2026-08-02 16:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-02 16:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 16:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131253504001,"66":13602,"45":8950693178430648320,"85":15104,"24":22,"16":114081194739499008},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-02 16:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131253504001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950693178430648320,"description":"Unknown IO ID 45"} 
[2026-08-02 16:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114081194739499008,"km_value":114081194739499.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:39:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457131253504001,"power":13602,"unknown_45":8950693178430648320,"unknown_85":15104,"ignition":22,"odometer":null}} 
[2026-08-02 16:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":146676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:39:38] local.INFO: GPS data processed {"connection_id":146676,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:39:38] local.INFO: Acknowledgment sent {"connection_id":146676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:40:03] local.INFO: TCP Data received {"connection_id":149243,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:03] local.INFO: Processing buffer {"connection_id":149243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:03] local.INFO: IMEI packet received {"connection_id":149243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":149243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:40:07] local.INFO: TCP Data received {"connection_id":149242,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:40:07] local.INFO: Processing buffer {"connection_id":149242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:40:07] local.INFO: Packet analysis {"connection_id":149242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:40:07] local.INFO: Extracted packet for processing {"connection_id":149242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:40:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131170816001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785668937000,"timestamp_ms":1785668937000,"timestamp_seconds":1785668937,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229a528"} 
[2026-08-02 16:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:40: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-08-02 16:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131170816001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131170816001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:40:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:40:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:40:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131170816001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":149242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:40:07] local.INFO: GPS data processed {"connection_id":149242,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:40:07] local.INFO: Acknowledgment sent {"connection_id":149242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:40:09] local.INFO: TCP Data received {"connection_id":149243,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:09] local.INFO: Processing buffer {"connection_id":149243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:09] local.INFO: IMEI packet received {"connection_id":149243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":149243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:40:09] local.INFO: TCP Data received {"connection_id":146676,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22a06d0012d7c3bc005e1e388000500202b..."} 
[2026-08-02 16:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22a06d0012d7c3bc005e1e388000500202b..."} 
[2026-08-02 16:40:09] local.INFO: Processing buffer {"connection_id":146676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22a06d0012d7c3bc005e1e388000500202b..."} 
[2026-08-02 16:40:09] local.INFO: Packet analysis {"connection_id":146676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22a"} 
[2026-08-02 16:40:09] local.INFO: Extracted packet for processing {"connection_id":146676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22a"} 
[2026-08-02 16:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763116480,"raw_latitude":98689928,"longitude_deg":76.311648,"latitude_deg":9.8689928,"altitude":5,"angle":32,"satellites":43,"speed":22,"hex_longitude":"2d7c3bc0","hex_latitude":"05e1e388","is_valid_coordinates":true} 
[2026-08-02 16:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131253760001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114081246279106560,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951185759639973888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785668962000,"timestamp_ms":1785668962000,"timestamp_seconds":1785668962,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22a06d0"} 
[2026-08-02 16:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-02 16:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131253760001,"66":13646,"43":206,"85":15104,"24":22,"16":114081246279106560,"45":8951185759639973888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-02 16:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131253760001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:40:09] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-02 16:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114081246279106560,"km_value":114081246279106.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951185759639973888,"description":"Unknown IO ID 45"} 
[2026-08-02 16:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131253760001,"power":13646,"unknown_43":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8951185759639973888}} 
[2026-08-02 16:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":146676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:40:09] local.INFO: GPS data processed {"connection_id":146676,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:40:09] local.INFO: Acknowledgment sent {"connection_id":146676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:40:09] local.INFO: TCP Data received {"connection_id":149243,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229b4c8012d181c800721a9700050000a2e..."} 
[2026-08-02 16:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229b4c8012d181c800721a9700050000a2e..."} 
[2026-08-02 16:40:09] local.INFO: Processing buffer {"connection_id":149243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229b4c8012d181c800721a9700050000a2e..."} 
[2026-08-02 16:40:09] local.INFO: Packet analysis {"connection_id":149243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:40:09] local.INFO: Extracted packet for processing {"connection_id":149243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:40:09] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646576,"longitude_deg":75.655488,"latitude_deg":11.9646576,"altitude":80,"angle":10,"satellites":46,"speed":11,"hex_longitude":"2d181c80","hex_latitude":"0721a970","is_valid_coordinates":true} 
[2026-08-02 16:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131248384001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10287756638945280,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120122880,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785668941000,"timestamp_ms":1785668941000,"timestamp_seconds":1785668941,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229b4c8"} 
[2026-08-02 16:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 16:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131248384001,"66":14483,"105":206,"83":41984,"24":11,"16":10287756638945280,"45":1737474693120122880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131248384001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:40:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:40:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10287756638945280,"km_value":10287756638945.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120122880,"description":"Unknown IO ID 45"} 
[2026-08-02 16:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131248384001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737474693120122880}} 
[2026-08-02 16:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":149243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:40:09] local.INFO: GPS data processed {"connection_id":149243,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:40:09] local.INFO: Acknowledgment sent {"connection_id":149243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:40:10] local.INFO: TCP Data received {"connection_id":149243,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229b8b0012d181d000721aaa0005000182e..."} 
[2026-08-02 16:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229b8b0012d181d000721aaa0005000182e..."} 
[2026-08-02 16:40:10] local.INFO: Processing buffer {"connection_id":149243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229b8b0012d181d000721aaa0005000182e..."} 
[2026-08-02 16:40:10] local.INFO: Packet analysis {"connection_id":149243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:40:10] local.INFO: Extracted packet for processing {"connection_id":149243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646880,"longitude_deg":75.6555008,"latitude_deg":11.964688,"altitude":80,"angle":24,"satellites":46,"speed":14,"hex_longitude":"2d181d00","hex_latitude":"0721aaa0","is_valid_coordinates":true} 
[2026-08-02 16:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131248896001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10287773818814464,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376047616,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785668942000,"timestamp_ms":1785668942000,"timestamp_seconds":1785668942,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229b8b0"} 
[2026-08-02 16:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-02 16:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":149243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":149243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":149243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131248896001,"66":14483,"105":206,"83":41984,"24":14,"16":10287773818814464,"45":1737404324376047616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131248896001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:40:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:40:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10287773818814464,"km_value":10287773818814.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376047616,"description":"Unknown IO ID 45"} 
[2026-08-02 16:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131248896001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737404324376047616}} 
[2026-08-02 16:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":149243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:40:11] local.INFO: GPS data processed {"connection_id":149243,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:40:11] local.INFO: Acknowledgment sent {"connection_id":149243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:40:28] local.INFO: TCP Data received {"connection_id":147946,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:40:28] local.INFO: Processing buffer {"connection_id":147946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:40:28] local.INFO: IMEI packet received {"connection_id":147946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":147946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:40:30] local.INFO: TCP Data received {"connection_id":147945,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:40:30] local.INFO: Processing buffer {"connection_id":147945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:40:30] local.INFO: IMEI packet received {"connection_id":147945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":147945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:40:32] local.INFO: TCP Data received {"connection_id":147946,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:40:32] local.INFO: Processing buffer {"connection_id":147946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:40:32] local.INFO: IMEI packet received {"connection_id":147946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":147946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:40:32] local.INFO: TCP Data received {"connection_id":147946,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22a1e40012d7c43c005e1efd00006002c2b..."} 
[2026-08-02 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22a1e40012d7c43c005e1efd00006002c2b..."} 
[2026-08-02 16:40:32] local.INFO: Processing buffer {"connection_id":147946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22a1e40012d7c43c005e1efd00006002c2b..."} 
[2026-08-02 16:40:32] local.INFO: Packet analysis {"connection_id":147946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22a"} 
[2026-08-02 16:40:32] local.INFO: Extracted packet for processing {"connection_id":147946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22a"} 
[2026-08-02 16:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763118528,"raw_latitude":98693072,"longitude_deg":76.3118528,"latitude_deg":9.8693072,"altitude":6,"angle":44,"satellites":43,"speed":25,"hex_longitude":"2d7c43c0","hex_latitude":"05e1efd0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131254272001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114081430962700288,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951959815826147328,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785668968000,"timestamp_ms":1785668968000,"timestamp_seconds":1785668968,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22a1e40"} 
[2026-08-02 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-08-02 16:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-02 16:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":147946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":147946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":147946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131254272001,"66":13493,"43":206,"85":15104,"24":25,"16":114081430962700288,"45":8951959815826147328},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-02 16:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131254272001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:40:32] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-02 16:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114081430962700288,"km_value":114081430962700.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951959815826147328,"description":"Unknown IO ID 45"} 
[2026-08-02 16:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131254272001,"power":13493,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8951959815826147328}} 
[2026-08-02 16:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":147946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:40:32] local.INFO: GPS data processed {"connection_id":147946,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:40:32] local.INFO: Acknowledgment sent {"connection_id":147946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:40:34] local.INFO: TCP Data received {"connection_id":147945,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:40:34] local.INFO: Processing buffer {"connection_id":147945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:40:34] local.INFO: IMEI packet received {"connection_id":147945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":147945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:40:35] local.INFO: TCP Data received {"connection_id":147945,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:40:35] local.INFO: Processing buffer {"connection_id":147945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:40:35] local.INFO: Packet analysis {"connection_id":147945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:40:35] local.INFO: Extracted packet for processing {"connection_id":147945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131170816001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785668937000,"timestamp_ms":1785668937000,"timestamp_seconds":1785668937,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229a528"} 
[2026-08-02 16:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131170816001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131170816001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:40:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:40:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:40:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131170816001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":147945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:40:35] local.INFO: GPS data processed {"connection_id":147945,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:40:35] local.INFO: Acknowledgment sent {"connection_id":147945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:40:40] local.INFO: TCP Data received {"connection_id":147945,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:40:40] local.INFO: Processing buffer {"connection_id":147945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:40:40] local.INFO: Packet analysis {"connection_id":147945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:40:40] local.INFO: Extracted packet for processing {"connection_id":147945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:40:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131170816001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785668937000,"timestamp_ms":1785668937000,"timestamp_seconds":1785668937,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229a528"} 
[2026-08-02 16:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:40: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-08-02 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131170816001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131170816001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:40:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:40:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:40:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131170816001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":147945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:40:40] local.INFO: GPS data processed {"connection_id":147945,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:40:40] local.INFO: Acknowledgment sent {"connection_id":147945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:40:42] local.INFO: TCP Data received {"connection_id":149243,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229ef60012d1830c00721c940005100212c..."} 
[2026-08-02 16:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229ef60012d1830c00721c940005100212c..."} 
[2026-08-02 16:40:42] local.INFO: Processing buffer {"connection_id":149243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229ef60012d1830c00721c940005100212c..."} 
[2026-08-02 16:40:42] local.INFO: Packet analysis {"connection_id":149243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:40:42] local.INFO: Extracted packet for processing {"connection_id":149243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756560064,"raw_latitude":119654720,"longitude_deg":75.6560064,"latitude_deg":11.965472,"altitude":81,"angle":33,"satellites":44,"speed":31,"hex_longitude":"2d1830c0","hex_latitude":"0721c940","is_valid_coordinates":true} 
[2026-08-02 16:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131249152001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10288224790380544,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864480768,"note":"Value kept but may cause issues"} 
[2026-08-02 16:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785668956000,"timestamp_ms":1785668956000,"timestamp_seconds":1785668956,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229ef60"} 
[2026-08-02 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-08-02 16:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-02 16:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131249152001,"66":14396,"105":206,"83":41984,"24":31,"16":10288224790380544,"45":1737545061864480768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131249152001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:40:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10288224790380544,"km_value":10288224790380.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864480768,"description":"Unknown IO ID 45"} 
[2026-08-02 16:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131249152001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1737545061864480768}} 
[2026-08-02 16:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":149243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:40:42] local.INFO: GPS data processed {"connection_id":149243,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:40:42] local.INFO: Acknowledgment sent {"connection_id":149243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:40:55] local.INFO: TCP Data received {"connection_id":146677,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:55] local.INFO: Processing buffer {"connection_id":146677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:55] local.INFO: IMEI packet received {"connection_id":146677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":146677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:40:57] local.INFO: TCP Data received {"connection_id":146677,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:57] local.INFO: Processing buffer {"connection_id":146677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:57] local.INFO: IMEI packet received {"connection_id":146677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":146677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:40:58] local.INFO: TCP Data received {"connection_id":146677,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:58] local.INFO: Processing buffer {"connection_id":146677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:40:58] local.INFO: IMEI packet received {"connection_id":146677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":146677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:41:03] local.INFO: TCP Data received {"connection_id":147946,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22a4168012d7c558005e200300008002029..."} 
[2026-08-02 16:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22a4168012d7c558005e200300008002029..."} 
[2026-08-02 16:41:03] local.INFO: Processing buffer {"connection_id":147946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22a4168012d7c558005e200300008002029..."} 
[2026-08-02 16:41:03] local.INFO: Packet analysis {"connection_id":147946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22a"} 
[2026-08-02 16:41:03] local.INFO: Extracted packet for processing {"connection_id":147946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22a"} 
[2026-08-02 16:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763123072,"raw_latitude":98697264,"longitude_deg":76.3123072,"latitude_deg":9.8697264,"altitude":8,"angle":32,"satellites":41,"speed":29,"hex_longitude":"2d7c5580","hex_latitude":"05e20030","is_valid_coordinates":true} 
[2026-08-02 16:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131255808001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114081731610411008,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954211615640637440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785668977000,"timestamp_ms":1785668977000,"timestamp_seconds":1785668977,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22a4168"} 
[2026-08-02 16:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 16:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131255808001,"66":13559,"43":206,"85":15104,"24":29,"16":114081731610411008,"45":8954211615640637440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-02 16:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131255808001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:41:03] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-02 16:41:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114081731610411008,"km_value":114081731610411.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954211615640637440,"description":"Unknown IO ID 45"} 
[2026-08-02 16:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131255808001,"power":13559,"unknown_43":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8954211615640637440}} 
[2026-08-02 16:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":147946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:41:03] local.INFO: GPS data processed {"connection_id":147946,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:41:03] local.INFO: Acknowledgment sent {"connection_id":147946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:41:04] local.INFO: TCP Data received {"connection_id":146677,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:41:04] local.INFO: Processing buffer {"connection_id":146677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:41:04] local.INFO: IMEI packet received {"connection_id":146677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":146677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:41:04] local.INFO: TCP Data received {"connection_id":146677,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22a9b40012d185e000721d838005c004a2c..."} 
[2026-08-02 16:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22a9b40012d185e000721d838005c004a2c..."} 
[2026-08-02 16:41:04] local.INFO: Processing buffer {"connection_id":146677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22a9b40012d185e000721d838005c004a2c..."} 
[2026-08-02 16:41:04] local.INFO: Packet analysis {"connection_id":146677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22a"} 
[2026-08-02 16:41:04] local.INFO: Extracted packet for processing {"connection_id":146677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22a"} 
[2026-08-02 16:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756571648,"raw_latitude":119658552,"longitude_deg":75.6571648,"latitude_deg":11.9658552,"altitude":92,"angle":74,"satellites":44,"speed":14,"hex_longitude":"2d185e00","hex_latitude":"0721d838","is_valid_coordinates":true} 
[2026-08-02 16:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131262976001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10289053719068672,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754222454237571072,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41: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-08-02 16:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669000000,"timestamp_ms":1785669000000,"timestamp_seconds":1785669000,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22a9b40"} 
[2026-08-02 16:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-02 16:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131262976001,"66":14494,"105":206,"83":41984,"24":14,"16":10289053719068672,"45":1754222454237571072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131262976001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:41:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10289053719068672,"km_value":10289053719068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754222454237571072,"description":"Unknown IO ID 45"} 
[2026-08-02 16:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131262976001,"power":14494,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1754222454237571072}} 
[2026-08-02 16:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":146677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:41:04] local.INFO: GPS data processed {"connection_id":146677,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:41:04] local.INFO: Acknowledgment sent {"connection_id":146677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:41:27] local.INFO: TCP Data received {"connection_id":149244,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:41:27] local.INFO: Processing buffer {"connection_id":149244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:41:27] local.INFO: IMEI packet received {"connection_id":149244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":149244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:41:28] local.INFO: TCP Data received {"connection_id":149245,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:41:28] local.INFO: Processing buffer {"connection_id":149245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:41:28] local.INFO: IMEI packet received {"connection_id":149245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":149245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:41:32] local.INFO: TCP Data received {"connection_id":149244,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:41:33] local.INFO: Processing buffer {"connection_id":149244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:41:33] local.INFO: IMEI packet received {"connection_id":149244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":149244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:41:33] local.INFO: TCP Data received {"connection_id":149244,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22a5cc0012d7c5f8005e211880009003426..."} 
[2026-08-02 16:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22a5cc0012d7c5f8005e211880009003426..."} 
[2026-08-02 16:41:34] local.INFO: Processing buffer {"connection_id":149244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22a5cc0012d7c5f8005e211880009003426..."} 
[2026-08-02 16:41:34] local.INFO: Packet analysis {"connection_id":149244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22a"} 
[2026-08-02 16:41:34] local.INFO: Extracted packet for processing {"connection_id":149244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22a"} 
[2026-08-02 16:41:34] local.INFO: GPS Element Parsed {"raw_longitude":763125632,"raw_latitude":98701704,"longitude_deg":76.3125632,"latitude_deg":9.8701704,"altitude":9,"angle":52,"satellites":38,"speed":24,"hex_longitude":"2d7c5f80","hex_latitude":"05e21188","is_valid_coordinates":true} 
[2026-08-02 16:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131258112001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114081980718514176,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959207796478324736,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785668984000,"timestamp_ms":1785668984000,"timestamp_seconds":1785668984,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22a5cc0"} 
[2026-08-02 16:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 16:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:41: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-08-02 16:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131258112001,"66":13493,"43":206,"85":15104,"24":24,"16":114081980718514176,"45":8959207796478324736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-02 16:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131258112001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:41:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-02 16:41:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114081980718514176,"km_value":114081980718514.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959207796478324736,"description":"Unknown IO ID 45"} 
[2026-08-02 16:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131258112001,"power":13493,"unknown_43":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8959207796478324736}} 
[2026-08-02 16:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":149244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:41:34] local.INFO: GPS data processed {"connection_id":149244,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:41:34] local.INFO: Acknowledgment sent {"connection_id":149244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:41:34] local.INFO: TCP Data received {"connection_id":149245,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:41:34] local.INFO: Processing buffer {"connection_id":149245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:41:34] local.INFO: IMEI packet received {"connection_id":149245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":149245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:41:35] local.INFO: TCP Data received {"connection_id":149245,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:41:35] local.INFO: Processing buffer {"connection_id":149245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:41:35] local.INFO: Packet analysis {"connection_id":149245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:41:35] local.INFO: Extracted packet for processing {"connection_id":149245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:41:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131170816001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785668937000,"timestamp_ms":1785668937000,"timestamp_seconds":1785668937,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229a528"} 
[2026-08-02 16:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131170816001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131170816001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:41:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:41:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:41:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131170816001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":149245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:41:35] local.INFO: GPS data processed {"connection_id":149245,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:41:35] local.INFO: Acknowledgment sent {"connection_id":149245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:41:35] local.INFO: TCP Data received {"connection_id":146677,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22aaec8012d1866400721dbd0005b003f29..."} 
[2026-08-02 16:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22aaec8012d1866400721dbd0005b003f29..."} 
[2026-08-02 16:41:35] local.INFO: Processing buffer {"connection_id":146677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22aaec8012d1866400721dbd0005b003f29..."} 
[2026-08-02 16:41:35] local.INFO: Packet analysis {"connection_id":146677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22a"} 
[2026-08-02 16:41:35] local.INFO: Extracted packet for processing {"connection_id":146677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22a"} 
[2026-08-02 16:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756573760,"raw_latitude":119659472,"longitude_deg":75.657376,"latitude_deg":11.9659472,"altitude":91,"angle":63,"satellites":41,"speed":17,"hex_longitude":"2d186640","hex_latitude":"0721dbd0","is_valid_coordinates":true} 
[2026-08-02 16:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131264000001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10289165388218368,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755840935353661440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785669005000,"timestamp_ms":1785669005000,"timestamp_seconds":1785669005,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22aaec8"} 
[2026-08-02 16:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-02 16:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131264000001,"66":14428,"105":206,"83":41984,"24":17,"16":10289165388218368,"45":1755840935353661440},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131264000001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:41:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10289165388218368,"km_value":10289165388218.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755840935353661440,"description":"Unknown IO ID 45"} 
[2026-08-02 16:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131264000001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1755840935353661440}} 
[2026-08-02 16:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":146677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:41:35] local.INFO: GPS data processed {"connection_id":146677,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:41:35] local.INFO: Acknowledgment sent {"connection_id":146677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:41:55] local.INFO: TCP Data received {"connection_id":149246,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:41:55] local.INFO: Processing buffer {"connection_id":149246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:41:55] local.INFO: IMEI packet received {"connection_id":149246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":149246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:41:59] local.INFO: TCP Data received {"connection_id":149246,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:41:59] local.INFO: Processing buffer {"connection_id":149246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:41:59] local.INFO: IMEI packet received {"connection_id":149246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":149246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:41:59] local.INFO: TCP Data received {"connection_id":149246,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:41:59] local.INFO: Processing buffer {"connection_id":149246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:41:59] local.INFO: IMEI packet received {"connection_id":149246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":149246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:42:04] local.INFO: TCP Data received {"connection_id":149246,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:42:04] local.INFO: Processing buffer {"connection_id":149246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:42:04] local.INFO: IMEI packet received {"connection_id":149246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":149246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:42:04] local.INFO: TCP Data received {"connection_id":149246,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22bc038012d186d800721de20006000ed27..."} 
[2026-08-02 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22bc038012d186d800721de20006000ed27..."} 
[2026-08-02 16:42:04] local.INFO: Processing buffer {"connection_id":149246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22bc038012d186d800721de20006000ed27..."} 
[2026-08-02 16:42:04] local.INFO: Packet analysis {"connection_id":149246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22b"} 
[2026-08-02 16:42:04] local.INFO: Extracted packet for processing {"connection_id":149246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22b"} 
[2026-08-02 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756575616,"raw_latitude":119660064,"longitude_deg":75.6575616,"latitude_deg":11.9660064,"altitude":96,"angle":237,"satellites":39,"speed":4,"hex_longitude":"2d186d80","hex_latitude":"0721de20","is_valid_coordinates":true} 
[2026-08-02 16:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131280896001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10289440266125312,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760626009958287360,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42: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-08-02 16:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669075000,"timestamp_ms":1785669075000,"timestamp_seconds":1785669075,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22bc038"} 
[2026-08-02 16:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:42: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-08-02 16:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-02 16:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131280896001,"66":14396,"105":206,"83":41984,"24":4,"16":10289440266125312,"45":1760626009958287360},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131280896001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:42:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10289440266125312,"km_value":10289440266125.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760626009958287360,"description":"Unknown IO ID 45"} 
[2026-08-02 16:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131280896001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1760626009958287360}} 
[2026-08-02 16:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":149246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:42:04] local.INFO: GPS data processed {"connection_id":149246,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:42:04] local.INFO: Acknowledgment sent {"connection_id":149246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:42:05] local.INFO: TCP Data received {"connection_id":149244,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22a60a8012d7c618005e212800009004227..."} 
[2026-08-02 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22a60a8012d7c618005e212800009004227..."} 
[2026-08-02 16:42:05] local.INFO: Processing buffer {"connection_id":149244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22a60a8012d7c618005e212800009004227..."} 
[2026-08-02 16:42:05] local.INFO: Packet analysis {"connection_id":149244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22a"} 
[2026-08-02 16:42:05] local.INFO: Extracted packet for processing {"connection_id":149244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22a"} 
[2026-08-02 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763126144,"raw_latitude":98701952,"longitude_deg":76.3126144,"latitude_deg":9.8701952,"altitude":9,"angle":66,"satellites":39,"speed":22,"hex_longitude":"2d7c6180","hex_latitude":"05e21280","is_valid_coordinates":true} 
[2026-08-02 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131259904001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114082006488317952,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962022546246567936,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785668985000,"timestamp_ms":1785668985000,"timestamp_seconds":1785668985,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22a60a8"} 
[2026-08-02 16:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 16:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131259904001,"66":13493,"43":206,"85":15104,"24":22,"16":114082006488317952,"45":8962022546246567936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-02 16:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131259904001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:42:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-02 16:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114082006488317952,"km_value":114082006488317.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962022546246567936,"description":"Unknown IO ID 45"} 
[2026-08-02 16:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131259904001,"power":13493,"unknown_43":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8962022546246567936}} 
[2026-08-02 16:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":149244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:42:05] local.INFO: GPS data processed {"connection_id":149244,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:42:05] local.INFO: Acknowledgment sent {"connection_id":149244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:42:07] local.INFO: TCP Data received {"connection_id":149245,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:42:07] local.INFO: Processing buffer {"connection_id":149245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:42:07] local.INFO: Packet analysis {"connection_id":149245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:42:07] local.INFO: Extracted packet for processing {"connection_id":149245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:42:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131170816001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785668937000,"timestamp_ms":1785668937000,"timestamp_seconds":1785668937,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229a528"} 
[2026-08-02 16:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:42: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-08-02 16:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131170816001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131170816001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:42:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:42:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:42:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131170816001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":149245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:42:07] local.INFO: GPS data processed {"connection_id":149245,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:42:07] local.INFO: Acknowledgment sent {"connection_id":149245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:42:23] local.INFO: TCP Data received {"connection_id":146678,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:42:23] local.INFO: Processing buffer {"connection_id":146678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:42:23] local.INFO: IMEI packet received {"connection_id":146678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":146678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:42:27] local.INFO: TCP Data received {"connection_id":147947,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:42:27] local.INFO: Processing buffer {"connection_id":147947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:42:27] local.INFO: IMEI packet received {"connection_id":147947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":147947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:42:29] local.INFO: TCP Data received {"connection_id":146678,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:42:29] local.INFO: Processing buffer {"connection_id":146678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:42:29] local.INFO: IMEI packet received {"connection_id":146678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":146678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:42:30] local.INFO: TCP Data received {"connection_id":146678,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:42:30] local.INFO: Processing buffer {"connection_id":146678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:42:30] local.INFO: Packet analysis {"connection_id":146678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:42:30] local.INFO: Extracted packet for processing {"connection_id":146678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:42:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131170816001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785668937000,"timestamp_ms":1785668937000,"timestamp_seconds":1785668937,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229a528"} 
[2026-08-02 16:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131170816001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131170816001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:42:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:42:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131170816001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":146678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:42:30] local.INFO: GPS data processed {"connection_id":146678,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:42:30] local.INFO: Acknowledgment sent {"connection_id":146678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:42:32] local.INFO: TCP Data received {"connection_id":147947,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:42:32] local.INFO: Processing buffer {"connection_id":147947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:42:32] local.INFO: IMEI packet received {"connection_id":147947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":147947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:42:33] local.INFO: TCP Data received {"connection_id":147947,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22c4cd8012d7d854005e20388000d005f2f..."} 
[2026-08-02 16:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22c4cd8012d7d854005e20388000d005f2f..."} 
[2026-08-02 16:42:33] local.INFO: Processing buffer {"connection_id":147947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22c4cd8012d7d854005e20388000d005f2f..."} 
[2026-08-02 16:42:33] local.INFO: Packet analysis {"connection_id":147947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:42:33] local.INFO: Extracted packet for processing {"connection_id":147947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763200832,"raw_latitude":98698120,"longitude_deg":76.3200832,"latitude_deg":9.869812,"altitude":13,"angle":95,"satellites":47,"speed":26,"hex_longitude":"2d7d8540","hex_latitude":"05e20388","is_valid_coordinates":true} 
[2026-08-02 16:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131289088001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114085609965879296,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9034713458981339136,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785669111000,"timestamp_ms":1785669111000,"timestamp_seconds":1785669111,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22c4cd8"} 
[2026-08-02 16:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617357,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3257582160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7688239399712063488,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635489448644139,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-08-02 16:42:33] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2147869190,"corrected_to":0} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826748397564331,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792146432,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-8322645642932387830,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:33] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,85,24,241,157,16,79,159,231,45,192,8,15,44,10,66,176,11,42,43,102,64,1,240,51,227,78,194,226,4,113,205,204,120,239,52,2,149,5,33,124,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0},{"io_id":204,"original":2147869190,"validated":0}]} 
[2026-08-02 16:42:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080968561743953920,"timestamp_seconds":1080968561743953.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131289088001,"66":13559,"61":206,"85":15104,"24":26,"16":114085609965879296,"45":9034713458981339136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 16:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131289088001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:42:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 16:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114085609965879296,"km_value":114085609965879.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9034713458981339136,"description":"Unknown IO ID 45"} 
[2026-08-02 16:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131289088001,"power":13559,"unknown_61":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9034713458981339136}} 
[2026-08-02 16:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":147947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:42:33] local.INFO: GPS data processed {"connection_id":147947,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:42:33] local.INFO: Acknowledgment sent {"connection_id":147947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:42:36] local.INFO: TCP Data received {"connection_id":149246,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22bc420012d186d400721dde8006000f828..."} 
[2026-08-02 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22bc420012d186d400721dde8006000f828..."} 
[2026-08-02 16:42:36] local.INFO: Processing buffer {"connection_id":149246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22bc420012d186d400721dde8006000f828..."} 
[2026-08-02 16:42:36] local.INFO: Packet analysis {"connection_id":149246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22b"} 
[2026-08-02 16:42:36] local.INFO: Extracted packet for processing {"connection_id":149246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22b"} 
[2026-08-02 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756575552,"raw_latitude":119660008,"longitude_deg":75.6575552,"latitude_deg":11.9660008,"altitude":96,"angle":248,"satellites":40,"speed":5,"hex_longitude":"2d186d40","hex_latitude":"0721dde8","is_valid_coordinates":true} 
[2026-08-02 16:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131283200001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10289444561092608,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760203797493063680,"note":"Value kept but may cause issues"} 
[2026-08-02 16:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785669076000,"timestamp_ms":1785669076000,"timestamp_seconds":1785669076,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22bc420"} 
[2026-08-02 16:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-02 16:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131283200001,"66":14157,"105":206,"83":41984,"24":5,"16":10289444561092608,"45":1760203797493063680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 16:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131283200001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:42:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10289444561092608,"km_value":10289444561092.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760203797493063680,"description":"Unknown IO ID 45"} 
[2026-08-02 16:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131283200001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1760203797493063680}} 
[2026-08-02 16:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":149246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:42:36] local.INFO: GPS data processed {"connection_id":149246,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:42:36] local.INFO: Acknowledgment sent {"connection_id":149246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:42:59] local.INFO: TCP Data received {"connection_id":149247,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:42:59] local.INFO: Processing buffer {"connection_id":149247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:42:59] local.INFO: IMEI packet received {"connection_id":149247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":149247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:43:04] local.INFO: TCP Data received {"connection_id":149247,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:43:04] local.INFO: Processing buffer {"connection_id":149247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:43:04] local.INFO: IMEI packet received {"connection_id":149247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":149247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:43:04] local.INFO: TCP Data received {"connection_id":147947,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22c8388012d7daa4005e20038000d006130..."} 
[2026-08-02 16:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22c8388012d7daa4005e20038000d006130..."} 
[2026-08-02 16:43:04] local.INFO: Processing buffer {"connection_id":147947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22c8388012d7daa4005e20038000d006130..."} 
[2026-08-02 16:43:04] local.INFO: Packet analysis {"connection_id":147947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:43:04] local.INFO: Extracted packet for processing {"connection_id":147947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763210304,"raw_latitude":98697272,"longitude_deg":76.3210304,"latitude_deg":9.8697272,"altitude":13,"angle":97,"satellites":48,"speed":35,"hex_longitude":"2d7daa40","hex_latitude":"05e20038","is_valid_coordinates":true} 
[2026-08-02 16:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131292416001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114086065232412672,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9044705820654405632,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669125000,"timestamp_ms":1785669125000,"timestamp_seconds":1785669125,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22c8388"} 
[2026-08-02 16:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 16:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131292416001,"66":13559,"61":206,"85":15104,"24":35,"16":114086065232412672,"45":9044705820654405632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 16:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131292416001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:43:04] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 16:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114086065232412672,"km_value":114086065232412.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9044705820654405632,"description":"Unknown IO ID 45"} 
[2026-08-02 16:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131292416001,"power":13559,"unknown_61":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9044705820654405632}} 
[2026-08-02 16:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":147947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:43:04] local.INFO: GPS data processed {"connection_id":147947,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:43:04] local.INFO: Acknowledgment sent {"connection_id":147947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:43:04] local.INFO: TCP Data received {"connection_id":149247,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22c77d0012d1830800721c5b8005100d429..."} 
[2026-08-02 16:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22c77d0012d1830800721c5b8005100d429..."} 
[2026-08-02 16:43:04] local.INFO: Processing buffer {"connection_id":149247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22c77d0012d1830800721c5b8005100d429..."} 
[2026-08-02 16:43:04] local.INFO: Packet analysis {"connection_id":149247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:43:04] local.INFO: Extracted packet for processing {"connection_id":149247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756560000,"raw_latitude":119653816,"longitude_deg":75.656,"latitude_deg":11.9653816,"altitude":81,"angle":212,"satellites":41,"speed":43,"hex_longitude":"2d183080","hex_latitude":"0721c5b8","is_valid_coordinates":true} 
[2026-08-02 16:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131292160001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290488238145536,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748733692192552960,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669122000,"timestamp_ms":1785669122000,"timestamp_seconds":1785669122,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22c77d0"} 
[2026-08-02 16:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-02 16:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131292160001,"66":13102,"107":206,"83":41984,"24":43,"16":10290488238145536,"45":1748733692192552960},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131292160001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:43:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290488238145536,"km_value":10290488238145.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748733692192552960,"description":"Unknown IO ID 45"} 
[2026-08-02 16:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131292160001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1748733692192552960}} 
[2026-08-02 16:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":149247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:43:05] local.INFO: GPS data processed {"connection_id":149247,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:43:05] local.INFO: Acknowledgment sent {"connection_id":149247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:43:05] local.INFO: TCP Data received {"connection_id":146678,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:43:05] local.INFO: Processing buffer {"connection_id":146678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:43:05] local.INFO: Packet analysis {"connection_id":146678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:43:05] local.INFO: Extracted packet for processing {"connection_id":146678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131170816001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785668937000,"timestamp_ms":1785668937000,"timestamp_seconds":1785668937,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229a528"} 
[2026-08-02 16:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:43: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-08-02 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131170816001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131170816001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:43:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:43:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:43:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131170816001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":146678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:43:05] local.INFO: GPS data processed {"connection_id":146678,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:43:05] local.INFO: Acknowledgment sent {"connection_id":146678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:43:31] local.INFO: TCP Data received {"connection_id":146906,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:43:31] local.INFO: Processing buffer {"connection_id":146906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:43:31] local.INFO: IMEI packet received {"connection_id":146906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":146906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:43:32] local.INFO: TCP Data received {"connection_id":147948,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:43:33] local.INFO: Processing buffer {"connection_id":147948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:43:33] local.INFO: IMEI packet received {"connection_id":147948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":147948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:43:34] local.INFO: TCP Data received {"connection_id":146906,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:43:34] local.INFO: Processing buffer {"connection_id":146906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:43:34] local.INFO: IMEI packet received {"connection_id":146906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":146906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:43:36] local.INFO: TCP Data received {"connection_id":149247,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22c9af8012d181b800721a5d8004e00d22b..."} 
[2026-08-02 16:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22c9af8012d181b800721a5d8004e00d22b..."} 
[2026-08-02 16:43:36] local.INFO: Processing buffer {"connection_id":149247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22c9af8012d181b800721a5d8004e00d22b..."} 
[2026-08-02 16:43:36] local.INFO: Packet analysis {"connection_id":149247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:43:36] local.INFO: Extracted packet for processing {"connection_id":149247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756554624,"raw_latitude":119645656,"longitude_deg":75.6554624,"latitude_deg":11.9645656,"altitude":78,"angle":210,"satellites":43,"speed":43,"hex_longitude":"2d181b80","hex_latitude":"0721a5d8","is_valid_coordinates":true} 
[2026-08-02 16:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131295232001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290956389580800,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743033823912114176,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785669131000,"timestamp_ms":1785669131000,"timestamp_seconds":1785669131,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22c9af8"} 
[2026-08-02 16:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":46,"data_length":795,"current_offset":136} 
[2026-08-02 16:43: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-08-02 16:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131295232001,"66":13004,"107":206,"83":41984,"24":43,"16":10290956389580800,"45":1743033823912114176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131295232001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:43:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290956389580800,"km_value":10290956389580.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743033823912114176,"description":"Unknown IO ID 45"} 
[2026-08-02 16:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131295232001,"power":13004,"unknown_107":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1743033823912114176}} 
[2026-08-02 16:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":149247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:43:36] local.INFO: GPS data processed {"connection_id":149247,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:43:36] local.INFO: Acknowledgment sent {"connection_id":149247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:43:36] local.INFO: TCP Data received {"connection_id":146906,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:43:36] local.INFO: Processing buffer {"connection_id":146906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:43:36] local.INFO: Packet analysis {"connection_id":146906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:43:36] local.INFO: Extracted packet for processing {"connection_id":146906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:43:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131170816001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785668937000,"timestamp_ms":1785668937000,"timestamp_seconds":1785668937,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229a528"} 
[2026-08-02 16:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:43: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-08-02 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131170816001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131170816001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:43:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:43:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:43:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131170816001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":146906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:43:36] local.INFO: GPS data processed {"connection_id":146906,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:43:36] local.INFO: Acknowledgment sent {"connection_id":146906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:43:36] local.INFO: TCP Data received {"connection_id":147948,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:43:36] local.INFO: Processing buffer {"connection_id":147948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:43:36] local.INFO: IMEI packet received {"connection_id":147948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":147948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:43:37] local.INFO: TCP Data received {"connection_id":147948,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22ca2c8012d7dc78005e1fe70000c005130..."} 
[2026-08-02 16:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22ca2c8012d7dc78005e1fe70000c005130..."} 
[2026-08-02 16:43:37] local.INFO: Processing buffer {"connection_id":147948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22ca2c8012d7dc78005e1fe70000c005130..."} 
[2026-08-02 16:43:37] local.INFO: Packet analysis {"connection_id":147948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:43:37] local.INFO: Extracted packet for processing {"connection_id":147948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763217792,"raw_latitude":98696816,"longitude_deg":76.3217792,"latitude_deg":9.8696816,"altitude":12,"angle":81,"satellites":48,"speed":39,"hex_longitude":"2d7dc780","hex_latitude":"05e1fe70","is_valid_coordinates":true} 
[2026-08-02 16:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131296000001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114086421714698240,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9055120394792482816,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785669133000,"timestamp_ms":1785669133000,"timestamp_seconds":1785669133,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22ca2c8"} 
[2026-08-02 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-08-02 16:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 16:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131296000001,"66":13580,"61":206,"85":15104,"24":39,"16":114086421714698240,"45":9055120394792482816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 16:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131296000001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:43:37] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 16:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114086421714698240,"km_value":114086421714698.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9055120394792482816,"description":"Unknown IO ID 45"} 
[2026-08-02 16:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131296000001,"power":13580,"unknown_61":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9055120394792482816}} 
[2026-08-02 16:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":147948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:43:37] local.INFO: GPS data processed {"connection_id":147948,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:43:37] local.INFO: Acknowledgment sent {"connection_id":147948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:43:38] local.INFO: TCP Data received {"connection_id":147948,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22caa98012d7dcf4005e200a0000c004430..."} 
[2026-08-02 16:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22caa98012d7dcf4005e200a0000c004430..."} 
[2026-08-02 16:43:38] local.INFO: Processing buffer {"connection_id":147948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22caa98012d7dcf4005e200a0000c004430..."} 
[2026-08-02 16:43:38] local.INFO: Packet analysis {"connection_id":147948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:43:38] local.INFO: Extracted packet for processing {"connection_id":147948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763219776,"raw_latitude":98697376,"longitude_deg":76.3219776,"latitude_deg":9.8697376,"altitude":12,"angle":68,"satellites":48,"speed":42,"hex_longitude":"2d7dcf40","hex_latitude":"05e200a0","is_valid_coordinates":true} 
[2026-08-02 16:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131298048001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114086520498946048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063353537861152768,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785669135000,"timestamp_ms":1785669135000,"timestamp_seconds":1785669135,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22caa98"} 
[2026-08-02 16:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617358,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3257624160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7688021696409763840,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634742124334635,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1483276494,"corrected_to":0} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826748397564331,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792627712,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-3296628458902257654,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:38] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,61,85,24,241,157,16,80,159,131,45,64,13,48,10,66,76,3,47,26,192,1,240,12,227,79,194,226,4,113,205,176,224,42,239,52,43,2,149,5,11,30,124,59],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1483276494,"validated":0}]} 
[2026-08-02 16:43:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864780395057971200,"timestamp_seconds":864780395057971.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131298048001,"66":13439,"61":206,"85":15104,"24":42,"16":114086520498946048,"45":9063353537861152768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 16:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131298048001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:43:38] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 16:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114086520498946048,"km_value":114086520498946.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063353537861152768,"description":"Unknown IO ID 45"} 
[2026-08-02 16:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131298048001,"power":13439,"unknown_61":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9063353537861152768}} 
[2026-08-02 16:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":147948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:43:38] local.INFO: GPS data processed {"connection_id":147948,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:43:38] local.INFO: Acknowledgment sent {"connection_id":147948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:43:40] local.INFO: TCP Data received {"connection_id":146906,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:43:40] local.INFO: Processing buffer {"connection_id":146906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc229a528012cc330c007685958005800c52c..."} 
[2026-08-02 16:43:40] local.INFO: Packet analysis {"connection_id":146906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:43:40] local.INFO: Extracted packet for processing {"connection_id":146906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc229"} 
[2026-08-02 16:43:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131170816001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785668937000,"timestamp_ms":1785668937000,"timestamp_seconds":1785668937,"priority":1,"record_length":96,"hex_timestamp":"0000019fc229a528"} 
[2026-08-02 16:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16: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-08-02 16:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131170816001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131170816001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:43:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:43:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:43:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131170816001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":146906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:43:40] local.INFO: GPS data processed {"connection_id":146906,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:43:40] local.INFO: Acknowledgment sent {"connection_id":146906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:43:59] local.INFO: TCP Data received {"connection_id":149248,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:43:59] local.INFO: Processing buffer {"connection_id":149248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:43:59] local.INFO: IMEI packet received {"connection_id":149248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":149248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:44:04] local.INFO: TCP Data received {"connection_id":149248,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:44:04] local.INFO: Processing buffer {"connection_id":149248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:44:04] local.INFO: IMEI packet received {"connection_id":149248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":149248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:44:04] local.INFO: TCP Data received {"connection_id":149248,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22cb268012d180bc007218f68004d00e02c..."} 
[2026-08-02 16:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22cb268012d180bc007218f68004d00e02c..."} 
[2026-08-02 16:44:04] local.INFO: Processing buffer {"connection_id":149248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22cb268012d180bc007218f68004d00e02c..."} 
[2026-08-02 16:44:04] local.INFO: Packet analysis {"connection_id":149248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:44:04] local.INFO: Extracted packet for processing {"connection_id":149248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756550592,"raw_latitude":119639912,"longitude_deg":75.6550592,"latitude_deg":11.9639912,"altitude":77,"angle":224,"satellites":44,"speed":45,"hex_longitude":"2d180bc0","hex_latitude":"07218f68","is_valid_coordinates":true} 
[2026-08-02 16:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131297536001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291295691997184,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399101440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669137000,"timestamp_ms":1785669137000,"timestamp_seconds":1785669137,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22cb268"} 
[2026-08-02 16:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:44: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-08-02 16:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-02 16:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131297536001,"66":12993,"107":206,"83":41984,"24":45,"16":10291295691997184,"45":1737122849399101440},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131297536001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:44:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291295691997184,"km_value":10291295691997.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399101440,"description":"Unknown IO ID 45"} 
[2026-08-02 16:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131297536001,"power":12993,"unknown_107":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1737122849399101440}} 
[2026-08-02 16:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":149248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:44:04] local.INFO: GPS data processed {"connection_id":149248,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:44:04] local.INFO: Acknowledgment sent {"connection_id":149248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:44:09] local.INFO: TCP Data received {"connection_id":147948,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22cd1a8012d7def4005e21040000d00492d..."} 
[2026-08-02 16:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22cd1a8012d7def4005e21040000d00492d..."} 
[2026-08-02 16:44:09] local.INFO: Processing buffer {"connection_id":147948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22cd1a8012d7def4005e21040000d00492d..."} 
[2026-08-02 16:44:09] local.INFO: Packet analysis {"connection_id":147948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:44:09] local.INFO: Extracted packet for processing {"connection_id":147948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763227968,"raw_latitude":98701376,"longitude_deg":76.3227968,"latitude_deg":9.8701376,"altitude":13,"angle":73,"satellites":45,"speed":18,"hex_longitude":"2d7def40","hex_latitude":"05e21040","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131298560001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114086962880577536,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065534968930803712,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785669145000,"timestamp_ms":1785669145000,"timestamp_seconds":1785669145,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22cd1a8"} 
[2026-08-02 16:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-02 16:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131298560001,"66":13526,"61":206,"85":15104,"24":18,"16":114086962880577536,"45":9065534968930803712},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 16:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131298560001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:44:09] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 16:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114086962880577536,"km_value":114086962880577.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065534968930803712,"description":"Unknown IO ID 45"} 
[2026-08-02 16:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131298560001,"power":13526,"unknown_61":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9065534968930803712}} 
[2026-08-02 16:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":147948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:44:09] local.INFO: GPS data processed {"connection_id":147948,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:44:09] local.INFO: Acknowledgment sent {"connection_id":147948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:44:27] local.INFO: TCP Data received {"connection_id":149249,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:44:27] local.INFO: Processing buffer {"connection_id":149249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:44:27] local.INFO: IMEI packet received {"connection_id":149249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":149249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:44:32] local.INFO: TCP Data received {"connection_id":149249,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:44:32] local.INFO: Processing buffer {"connection_id":149249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:44:32] local.INFO: IMEI packet received {"connection_id":149249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":149249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:44:33] local.INFO: TCP Data received {"connection_id":149249,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22ced00012d7dff8005e21438000d00572d..."} 
[2026-08-02 16:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22ced00012d7dff8005e21438000d00572d..."} 
[2026-08-02 16:44:33] local.INFO: Processing buffer {"connection_id":149249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22ced00012d7dff8005e21438000d00572d..."} 
[2026-08-02 16:44:33] local.INFO: Packet analysis {"connection_id":149249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:44:33] local.INFO: Extracted packet for processing {"connection_id":149249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763232128,"raw_latitude":98702392,"longitude_deg":76.3232128,"latitude_deg":9.8702392,"altitude":13,"angle":87,"satellites":45,"speed":27,"hex_longitude":"2d7dff80","hex_latitude":"05e21438","is_valid_coordinates":true} 
[2026-08-02 16:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131301120001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114087164744040448,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9074542168186568704,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785669152000,"timestamp_ms":1785669152000,"timestamp_seconds":1785669152,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22ced00"} 
[2026-08-02 16:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 16:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131301120001,"66":13526,"61":206,"85":15104,"24":27,"16":114087164744040448,"45":9074542168186568704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 16:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131301120001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:44:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 16:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114087164744040448,"km_value":114087164744040.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9074542168186568704,"description":"Unknown IO ID 45"} 
[2026-08-02 16:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131301120001,"power":13526,"unknown_61":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9074542168186568704}} 
[2026-08-02 16:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":149249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:44:33] local.INFO: GPS data processed {"connection_id":149249,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:44:33] local.INFO: Acknowledgment sent {"connection_id":149249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:44:34] local.INFO: TCP Data received {"connection_id":146679,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:44:34] local.INFO: Processing buffer {"connection_id":146679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:44:34] local.INFO: IMEI packet received {"connection_id":146679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":146679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:44:35] local.INFO: TCP Data received {"connection_id":146679,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:44:35] local.INFO: Processing buffer {"connection_id":146679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:44:35] local.INFO: IMEI packet received {"connection_id":146679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":146679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:44:36] local.INFO: TCP Data received {"connection_id":149248,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22cd590012d17efc0072175f0004d00da2d..."} 
[2026-08-02 16:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22cd590012d17efc0072175f0004d00da2d..."} 
[2026-08-02 16:44:36] local.INFO: Processing buffer {"connection_id":149248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22cd590012d17efc0072175f0004d00da2d..."} 
[2026-08-02 16:44:36] local.INFO: Packet analysis {"connection_id":149248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:44:36] local.INFO: Extracted packet for processing {"connection_id":149248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756543424,"raw_latitude":119633392,"longitude_deg":75.6543424,"latitude_deg":11.9633392,"altitude":77,"angle":218,"satellites":45,"speed":39,"hex_longitude":"2d17efc0","hex_latitude":"072175f0","is_valid_coordinates":true} 
[2026-08-02 16:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131299072001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291763843432448,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732689618514438144,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785669146000,"timestamp_ms":1785669146000,"timestamp_seconds":1785669146,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22cd590"} 
[2026-08-02 16:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":193,"data_length":795,"current_offset":136} 
[2026-08-02 16:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131299072001,"66":13037,"107":206,"83":41984,"24":39,"16":10291763843432448,"45":1732689618514438144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131299072001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:44:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291763843432448,"km_value":10291763843432.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732689618514438144,"description":"Unknown IO ID 45"} 
[2026-08-02 16:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131299072001,"power":13037,"unknown_107":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1732689618514438144}} 
[2026-08-02 16:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":149248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:44:36] local.INFO: GPS data processed {"connection_id":149248,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:44:36] local.INFO: Acknowledgment sent {"connection_id":149248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:44:37] local.INFO: TCP Data received {"connection_id":146679,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:44:37] local.INFO: Processing buffer {"connection_id":146679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:44:37] local.INFO: Packet analysis {"connection_id":146679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:44:37] local.INFO: Extracted packet for processing {"connection_id":146679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131247872001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785669238000,"timestamp_ms":1785669238000,"timestamp_seconds":1785669238,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22e3cf0"} 
[2026-08-02 16:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16: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-08-02 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131247872001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131247872001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:44:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:44:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:44:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131247872001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":146679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:44:37] local.INFO: GPS data processed {"connection_id":146679,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:44:37] local.INFO: Acknowledgment sent {"connection_id":146679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:44:39] local.INFO: TCP Data received {"connection_id":146679,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:44:39] local.INFO: Processing buffer {"connection_id":146679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:44:39] local.INFO: Packet analysis {"connection_id":146679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:44:39] local.INFO: Extracted packet for processing {"connection_id":146679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:44:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131247872001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785669238000,"timestamp_ms":1785669238000,"timestamp_seconds":1785669238,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22e3cf0"} 
[2026-08-02 16:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:44: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-08-02 16:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131247872001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131247872001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:44:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:44:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:44:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131247872001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":146679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:44:39] local.INFO: GPS data processed {"connection_id":146679,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:44:39] local.INFO: Acknowledgment sent {"connection_id":146679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:44:58] local.INFO: TCP Data received {"connection_id":146907,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:44:58] local.INFO: Processing buffer {"connection_id":146907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:44:58] local.INFO: IMEI packet received {"connection_id":146907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":146907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:45:04] local.INFO: TCP Data received {"connection_id":146907,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:45:04] local.INFO: Processing buffer {"connection_id":146907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:45:04] local.INFO: IMEI packet received {"connection_id":146907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":146907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:45:04] local.INFO: TCP Data received {"connection_id":146907,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22ce530012d17e780072168e0004b00cc2d..."} 
[2026-08-02 16:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22ce530012d17e780072168e0004b00cc2d..."} 
[2026-08-02 16:45:04] local.INFO: Processing buffer {"connection_id":146907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22ce530012d17e780072168e0004b00cc2d..."} 
[2026-08-02 16:45:04] local.INFO: Packet analysis {"connection_id":146907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:45:04] local.INFO: Extracted packet for processing {"connection_id":146907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756541312,"raw_latitude":119630048,"longitude_deg":75.6541312,"latitude_deg":11.9630048,"altitude":75,"angle":204,"satellites":45,"speed":39,"hex_longitude":"2d17e780","hex_latitude":"072168e0","is_valid_coordinates":true} 
[2026-08-02 16:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131301376001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291952821993472,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724808319164870656,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669150000,"timestamp_ms":1785669150000,"timestamp_seconds":1785669150,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22ce530"} 
[2026-08-02 16:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-02 16:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131301376001,"66":12798,"107":206,"83":41984,"24":39,"16":10291952821993472,"45":1724808319164870656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131301376001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:45:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291952821993472,"km_value":10291952821993.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724808319164870656,"description":"Unknown IO ID 45"} 
[2026-08-02 16:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131301376001,"power":12798,"unknown_107":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1724808319164870656}} 
[2026-08-02 16:45:04] local.INFO: TCP Data received {"connection_id":149249,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22cf4d0012d7e04c005e213d0000d00632c..."} 
[2026-08-02 16:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22cf4d0012d7e04c005e213d0000d00632c..."} 
[2026-08-02 16:45:04] local.INFO: Processing buffer {"connection_id":149249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22cf4d0012d7e04c005e213d0000d00632c..."} 
[2026-08-02 16:45:04] local.INFO: Packet analysis {"connection_id":149249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:45:04] local.INFO: Extracted packet for processing {"connection_id":149249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22c"} 
[2026-08-02 16:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763233472,"raw_latitude":98702288,"longitude_deg":76.3233472,"latitude_deg":9.8702288,"altitude":13,"angle":99,"satellites":44,"speed":28,"hex_longitude":"2d7e04c0","hex_latitude":"05e213d0","is_valid_coordinates":true} 
[2026-08-02 16:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131302912001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114087229168549888,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079116136558376960,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669154000,"timestamp_ms":1785669154000,"timestamp_seconds":1785669154,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22cf4d0"} 
[2026-08-02 16:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 16:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131302912001,"66":13559,"61":206,"85":15104,"24":28,"16":114087229168549888,"45":9079116136558376960},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 16:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131302912001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:45:04] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 16:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114087229168549888,"km_value":114087229168549.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079116136558376960,"description":"Unknown IO ID 45"} 
[2026-08-02 16:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131302912001,"power":13559,"unknown_61":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9079116136558376960}} 
[2026-08-02 16:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":149249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:45:04] local.INFO: GPS data processed {"connection_id":149249,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:45:04] local.INFO: Acknowledgment sent {"connection_id":149249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":146907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:45:04] local.INFO: GPS data processed {"connection_id":146907,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:45:04] local.INFO: Acknowledgment sent {"connection_id":146907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:45:23] local.INFO: TCP Data received {"connection_id":149250,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:45:23] local.INFO: Processing buffer {"connection_id":149250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:45:23] local.INFO: IMEI packet received {"connection_id":149250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":149250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:45:25] local.INFO: TCP Data received {"connection_id":147949,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:45:25] local.INFO: Processing buffer {"connection_id":147949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:45:25] local.INFO: IMEI packet received {"connection_id":147949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":147949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:45:27] local.INFO: TCP Data received {"connection_id":147949,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:45:27] local.INFO: Processing buffer {"connection_id":147949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:45:27] local.INFO: IMEI packet received {"connection_id":147949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":147949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:45:29] local.INFO: TCP Data received {"connection_id":149250,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:45:29] local.INFO: Processing buffer {"connection_id":149250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:45:29] local.INFO: IMEI packet received {"connection_id":149250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":149250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:45:31] local.INFO: TCP Data received {"connection_id":149250,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:45:31] local.INFO: Processing buffer {"connection_id":149250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:45:31] local.INFO: Packet analysis {"connection_id":149250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:45:31] local.INFO: Extracted packet for processing {"connection_id":149250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:45:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131247872001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785669238000,"timestamp_ms":1785669238000,"timestamp_seconds":1785669238,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22e3cf0"} 
[2026-08-02 16:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131247872001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131247872001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:45:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:45:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131247872001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":149250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:45:31] local.INFO: GPS data processed {"connection_id":149250,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:45:31] local.INFO: Acknowledgment sent {"connection_id":149250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:45:32] local.INFO: TCP Data received {"connection_id":147949,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:45:32] local.INFO: Processing buffer {"connection_id":147949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:45:32] local.INFO: IMEI packet received {"connection_id":147949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":147949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:45:33] local.INFO: TCP Data received {"connection_id":147949,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22d1fc8012d7e27c005e20e00000c00692c..."} 
[2026-08-02 16:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22d1fc8012d7e27c005e20e00000c00692c..."} 
[2026-08-02 16:45:33] local.INFO: Processing buffer {"connection_id":147949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22d1fc8012d7e27c005e20e00000c00692c..."} 
[2026-08-02 16:45:33] local.INFO: Packet analysis {"connection_id":147949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:45:33] local.INFO: Extracted packet for processing {"connection_id":147949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763242432,"raw_latitude":98700800,"longitude_deg":76.3242432,"latitude_deg":9.87008,"altitude":12,"angle":105,"satellites":44,"speed":19,"hex_longitude":"2d7e27c0","hex_latitude":"05e20e00","is_valid_coordinates":true} 
[2026-08-02 16:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131303424001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114087662960246784,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593880186081280,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785669165000,"timestamp_ms":1785669165000,"timestamp_seconds":1785669165,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22d1fc8"} 
[2026-08-02 16:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 16:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131303424001,"66":13428,"61":206,"85":15104,"24":19,"16":114087662960246784,"45":9080593880186081280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 16:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131303424001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:45:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 16:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114087662960246784,"km_value":114087662960246.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593880186081280,"description":"Unknown IO ID 45"} 
[2026-08-02 16:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131303424001,"power":13428,"unknown_61":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9080593880186081280}} 
[2026-08-02 16:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":147949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:45:33] local.INFO: GPS data processed {"connection_id":147949,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:45:33] local.INFO: Acknowledgment sent {"connection_id":147949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:45:35] local.INFO: TCP Data received {"connection_id":146907,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22d0858012d17d4c007214808004300d12d..."} 
[2026-08-02 16:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22d0858012d17d4c007214808004300d12d..."} 
[2026-08-02 16:45:35] local.INFO: Processing buffer {"connection_id":146907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22d0858012d17d4c007214808004300d12d..."} 
[2026-08-02 16:45:35] local.INFO: Packet analysis {"connection_id":146907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:45:35] local.INFO: Extracted packet for processing {"connection_id":146907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:45:35] local.INFO: GPS Element Parsed {"raw_longitude":756536512,"raw_latitude":119621640,"longitude_deg":75.6536512,"latitude_deg":11.962164,"altitude":67,"angle":209,"satellites":45,"speed":41,"hex_longitude":"2d17d4c0","hex_latitude":"07214808","is_valid_coordinates":true} 
[2026-08-02 16:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131302400001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292420973428736,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1722486150606151680,"note":"Value kept but may cause issues"} 
[2026-08-02 16:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785669159000,"timestamp_ms":1785669159000,"timestamp_seconds":1785669159,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22d0858"} 
[2026-08-02 16:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-02 16:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131302400001,"66":13004,"107":206,"83":41984,"24":41,"16":10292420973428736,"45":1722486150606151680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131302400001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:45:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292420973428736,"km_value":10292420973428.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1722486150606151680,"description":"Unknown IO ID 45"} 
[2026-08-02 16:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131302400001,"power":13004,"unknown_107":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1722486150606151680}} 
[2026-08-02 16:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":146907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:45:35] local.INFO: GPS data processed {"connection_id":146907,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:45:35] local.INFO: Acknowledgment sent {"connection_id":146907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:45:58] local.INFO: TCP Data received {"connection_id":149251,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:45:58] local.INFO: Processing buffer {"connection_id":149251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:45:58] local.INFO: IMEI packet received {"connection_id":149251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":149251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:46:02] local.INFO: TCP Data received {"connection_id":149250,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:46:02] local.INFO: Processing buffer {"connection_id":149250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:46:02] local.INFO: Packet analysis {"connection_id":149250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:46:02] local.INFO: Extracted packet for processing {"connection_id":149250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:46:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131247872001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785669238000,"timestamp_ms":1785669238000,"timestamp_seconds":1785669238,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22e3cf0"} 
[2026-08-02 16:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131247872001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131247872001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:46:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:46:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:46:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131247872001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":149250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:46:02] local.INFO: GPS data processed {"connection_id":149250,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:46:02] local.INFO: Acknowledgment sent {"connection_id":149250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:46:04] local.INFO: TCP Data received {"connection_id":149251,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:46:04] local.INFO: Processing buffer {"connection_id":149251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:46:04] local.INFO: IMEI packet received {"connection_id":149251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":149251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:46:04] local.INFO: TCP Data received {"connection_id":149251,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22d2f68012d17c880072133c0003d00bf2a..."} 
[2026-08-02 16:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22d2f68012d17c880072133c0003d00bf2a..."} 
[2026-08-02 16:46:04] local.INFO: Processing buffer {"connection_id":149251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22d2f68012d17c880072133c0003d00bf2a..."} 
[2026-08-02 16:46:04] local.INFO: Packet analysis {"connection_id":149251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:46:04] local.INFO: Extracted packet for processing {"connection_id":149251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616448,"longitude_deg":75.6533376,"latitude_deg":11.9616448,"altitude":61,"angle":191,"satellites":42,"speed":6,"hex_longitude":"2d17c880","hex_latitude":"072133c0","is_valid_coordinates":true} 
[2026-08-02 16:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131304704001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292713031204864,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1717208494790674432,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669169000,"timestamp_ms":1785669169000,"timestamp_seconds":1785669169,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22d2f68"} 
[2026-08-02 16:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:46: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-08-02 16:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-02 16:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131304704001,"66":12993,"107":206,"83":41984,"24":6,"16":10292713031204864,"45":1717208494790674432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131304704001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:46:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:46:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292713031204864,"km_value":10292713031204.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1717208494790674432,"description":"Unknown IO ID 45"} 
[2026-08-02 16:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131304704001,"power":12993,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1717208494790674432}} 
[2026-08-02 16:46:04] local.INFO: TCP Data received {"connection_id":147949,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22d42f0012d7e310005e20bd0000a005c2e..."} 
[2026-08-02 16:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22d42f0012d7e310005e20bd0000a005c2e..."} 
[2026-08-02 16:46:04] local.INFO: Processing buffer {"connection_id":147949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22d42f0012d7e310005e20bd0000a005c2e..."} 
[2026-08-02 16:46:04] local.INFO: Packet analysis {"connection_id":147949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:46:04] local.INFO: Extracted packet for processing {"connection_id":147949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763244800,"raw_latitude":98700240,"longitude_deg":76.32448,"latitude_deg":9.870024,"altitude":10,"angle":92,"satellites":46,"speed":9,"hex_longitude":"2d7e3100","hex_latitude":"05e20bd0","is_valid_coordinates":true} 
[2026-08-02 16:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131306240001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114087778924363776,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090445504370573312,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669174000,"timestamp_ms":1785669174000,"timestamp_seconds":1785669174,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22d42f0"} 
[2026-08-02 16:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 16:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131306240001,"66":13559,"61":206,"85":15104,"24":9,"16":114087778924363776,"45":9090445504370573312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 16:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131306240001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:46:04] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 16:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114087778924363776,"km_value":114087778924363.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090445504370573312,"description":"Unknown IO ID 45"} 
[2026-08-02 16:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131306240001,"power":13559,"unknown_61":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9090445504370573312}} 
[2026-08-02 16:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":147949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:46:04] local.INFO: GPS data processed {"connection_id":147949,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:46:04] local.INFO: Acknowledgment sent {"connection_id":147949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":149251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:46:04] local.INFO: GPS data processed {"connection_id":149251,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:46:04] local.INFO: Acknowledgment sent {"connection_id":149251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:46:23] local.INFO: TCP Data received {"connection_id":146680,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:46:23] local.INFO: Processing buffer {"connection_id":146680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:46:23] local.INFO: IMEI packet received {"connection_id":146680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":146680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:46:27] local.INFO: TCP Data received {"connection_id":147950,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:46:27] local.INFO: Processing buffer {"connection_id":147950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:46:27] local.INFO: IMEI packet received {"connection_id":147950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":147950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:46:28] local.INFO: TCP Data received {"connection_id":147950,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:46:28] local.INFO: Processing buffer {"connection_id":147950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:46:28] local.INFO: IMEI packet received {"connection_id":147950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":147950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:46:29] local.INFO: TCP Data received {"connection_id":146680,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:46:29] local.INFO: Processing buffer {"connection_id":146680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:46:29] local.INFO: IMEI packet received {"connection_id":146680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":146680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:46:30] local.INFO: TCP Data received {"connection_id":146680,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:46:30] local.INFO: Processing buffer {"connection_id":146680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:46:30] local.INFO: Packet analysis {"connection_id":146680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:46:30] local.INFO: Extracted packet for processing {"connection_id":146680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:46:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131247872001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785669238000,"timestamp_ms":1785669238000,"timestamp_seconds":1785669238,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22e3cf0"} 
[2026-08-02 16:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131247872001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131247872001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:46:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:46:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:46:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131247872001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":146680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:46:30] local.INFO: GPS data processed {"connection_id":146680,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:46:30] local.INFO: Acknowledgment sent {"connection_id":146680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:46:32] local.INFO: TCP Data received {"connection_id":147950,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:46:32] local.INFO: Processing buffer {"connection_id":147950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:46:32] local.INFO: IMEI packet received {"connection_id":147950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":147950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:46:33] local.INFO: TCP Data received {"connection_id":147950,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22d9110012d7e424005e20af8000c00592f..."} 
[2026-08-02 16:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22d9110012d7e424005e20af8000c00592f..."} 
[2026-08-02 16:46:33] local.INFO: Processing buffer {"connection_id":147950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22d9110012d7e424005e20af8000c00592f..."} 
[2026-08-02 16:46:33] local.INFO: Packet analysis {"connection_id":147950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:46:33] local.INFO: Extracted packet for processing {"connection_id":147950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763249216,"raw_latitude":98700024,"longitude_deg":76.3249216,"latitude_deg":9.8700024,"altitude":12,"angle":89,"satellites":47,"speed":0,"hex_longitude":"2d7e4240","hex_latitude":"05e20af8","is_valid_coordinates":true} 
[2026-08-02 16:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131308544001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114087989377761280,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147905003520,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785669194000,"timestamp_ms":1785669194000,"timestamp_seconds":1785669194,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22d9110"} 
[2026-08-02 16:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 16:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131308544001,"66":13363,"61":206,"85":15104,"24":0,"16":114087989377761280,"45":9093049147905003520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 16:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131308544001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:46:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 16:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114087989377761280,"km_value":114087989377761.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147905003520,"description":"Unknown IO ID 45"} 
[2026-08-02 16:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131308544001,"power":13363,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093049147905003520}} 
[2026-08-02 16:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":147950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:46:33] local.INFO: GPS data processed {"connection_id":147950,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:46:33] local.INFO: Acknowledgment sent {"connection_id":147950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:46:36] local.INFO: TCP Data received {"connection_id":149251,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22d8170012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22d8170012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:46:36] local.INFO: Processing buffer {"connection_id":149251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22d8170012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:46:36] local.INFO: Packet analysis {"connection_id":149251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:46:36] local.INFO: Extracted packet for processing {"connection_id":149251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131307264001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324639744,"note":"Value kept but may cause issues"} 
[2026-08-02 16:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785669190000,"timestamp_ms":1785669190000,"timestamp_seconds":1785669190,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22d8170"} 
[2026-08-02 16:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-02 16:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131307264001,"66":12928,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324639744},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131307264001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:46:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324639744,"description":"Unknown IO ID 45"} 
[2026-08-02 16:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131307264001,"power":12928,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324639744}} 
[2026-08-02 16:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":149251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:46:36] local.INFO: GPS data processed {"connection_id":149251,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:46:36] local.INFO: Acknowledgment sent {"connection_id":149251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:47:02] local.INFO: TCP Data received {"connection_id":146680,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:47:02] local.INFO: Processing buffer {"connection_id":146680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:47:02] local.INFO: Packet analysis {"connection_id":146680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:47:02] local.INFO: Extracted packet for processing {"connection_id":146680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:47:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131247872001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785669238000,"timestamp_ms":1785669238000,"timestamp_seconds":1785669238,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22e3cf0"} 
[2026-08-02 16:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131247872001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131247872001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:47:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:47:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:47:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131247872001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":146680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:47:02] local.INFO: GPS data processed {"connection_id":146680,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:47:02] local.INFO: Acknowledgment sent {"connection_id":146680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:47:04] local.INFO: TCP Data received {"connection_id":146681,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:47:04] local.INFO: Processing buffer {"connection_id":146681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:47:04] local.INFO: IMEI packet received {"connection_id":146681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":146681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:47:04] local.INFO: TCP Data received {"connection_id":147950,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22ddf30012d7e4f0005e20a20000c00652c..."} 
[2026-08-02 16:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22ddf30012d7e4f0005e20a20000c00652c..."} 
[2026-08-02 16:47:04] local.INFO: Processing buffer {"connection_id":147950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22ddf30012d7e4f0005e20a20000c00652c..."} 
[2026-08-02 16:47:04] local.INFO: Packet analysis {"connection_id":147950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:47:04] local.INFO: Extracted packet for processing {"connection_id":147950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763252480,"raw_latitude":98699808,"longitude_deg":76.325248,"latitude_deg":9.8699808,"altitude":12,"angle":101,"satellites":44,"speed":7,"hex_longitude":"2d7e4f00","hex_latitude":"05e20a20","is_valid_coordinates":true} 
[2026-08-02 16:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131313664001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114088148291551232,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097904591253207040,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669214000,"timestamp_ms":1785669214000,"timestamp_seconds":1785669214,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22ddf30"} 
[2026-08-02 16:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 16:47: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-08-02 16:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131313664001,"66":13624,"59":206,"85":15104,"24":7,"16":114088148291551232,"45":9097904591253207040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-02 16:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131313664001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:47:04] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-02 16:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114088148291551232,"km_value":114088148291551.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097904591253207040,"description":"Unknown IO ID 45"} 
[2026-08-02 16:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131313664001,"power":13624,"unknown_59":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9097904591253207040}} 
[2026-08-02 16:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":147950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:47:04] local.INFO: GPS data processed {"connection_id":147950,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:47:04] local.INFO: Acknowledgment sent {"connection_id":147950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:47:08] local.INFO: TCP Data received {"connection_id":146681,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:47:08] local.INFO: Processing buffer {"connection_id":146681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:47:08] local.INFO: IMEI packet received {"connection_id":146681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":146681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:47:09] local.INFO: TCP Data received {"connection_id":146681,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22dd378012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22dd378012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:47:09] local.INFO: Processing buffer {"connection_id":146681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22dd378012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:47:09] local.INFO: Packet analysis {"connection_id":146681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:47:09] local.INFO: Extracted packet for processing {"connection_id":146681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22d"} 
[2026-08-02 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131312640001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785669211000,"timestamp_ms":1785669211000,"timestamp_seconds":1785669211,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22dd378"} 
[2026-08-02 16:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-02 16:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131312640001,"66":12885,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131312640001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:47:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:47:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131312640001,"power":12885,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":146681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:47:09] local.INFO: GPS data processed {"connection_id":146681,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:47:09] local.INFO: Acknowledgment sent {"connection_id":146681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:47:14] local.INFO: TCP Data received {"connection_id":146681,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22e2580012d17c88007213290003d00bf29..."} 
[2026-08-02 16:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22e2580012d17c88007213290003d00bf29..."} 
[2026-08-02 16:47:14] local.INFO: Processing buffer {"connection_id":146681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22e2580012d17c88007213290003d00bf29..."} 
[2026-08-02 16:47:14] local.INFO: Packet analysis {"connection_id":146681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:47:14] local.INFO: Extracted packet for processing {"connection_id":146681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:47:14] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131318016001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785669232000,"timestamp_ms":1785669232000,"timestamp_seconds":1785669232,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22e2580"} 
[2026-08-02 16:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 16:47: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-08-02 16:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131318016001,"66":12863,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131318016001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:47:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:47:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131318016001,"power":12863,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":146681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:47:14] local.INFO: GPS data processed {"connection_id":146681,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:47:14] local.INFO: Acknowledgment sent {"connection_id":146681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:47:27] local.INFO: TCP Data received {"connection_id":147952,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:47:27] local.INFO: Processing buffer {"connection_id":147952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:47:27] local.INFO: IMEI packet received {"connection_id":147952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":147952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:47:30] local.INFO: TCP Data received {"connection_id":147951,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:47:30] local.INFO: Processing buffer {"connection_id":147951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:47:30] local.INFO: IMEI packet received {"connection_id":147951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":147951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:47:32] local.INFO: TCP Data received {"connection_id":147952,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:47:32] local.INFO: Processing buffer {"connection_id":147952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:47:32] local.INFO: IMEI packet received {"connection_id":147952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":147952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:47:32] local.INFO: TCP Data received {"connection_id":147952,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc230d500012d7e54c005e206e8000800462c..."} 
[2026-08-02 16:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc230d500012d7e54c005e206e8000800462c..."} 
[2026-08-02 16:47:32] local.INFO: Processing buffer {"connection_id":147952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc230d500012d7e54c005e206e8000800462c..."} 
[2026-08-02 16:47:32] local.INFO: Packet analysis {"connection_id":147952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc230"} 
[2026-08-02 16:47:32] local.INFO: Extracted packet for processing {"connection_id":147952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc230"} 
[2026-08-02 16:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763253952,"raw_latitude":98698984,"longitude_deg":76.3253952,"latitude_deg":9.8698984,"altitude":8,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d7e54c0","hex_latitude":"05e206e8","is_valid_coordinates":true} 
[2026-08-02 16:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131363072001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114088320090243072,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103111878322087936,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785669408000,"timestamp_ms":1785669408000,"timestamp_seconds":1785669408,"priority":1,"record_length":96,"hex_timestamp":"0000019fc230d500"} 
[2026-08-02 16:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 16:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":147952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":147952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":147952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131363072001,"66":13428,"60":206,"85":15104,"24":0,"16":114088320090243072,"45":9103111878322087936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-02 16:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131363072001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:47:32] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-02 16:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114088320090243072,"km_value":114088320090243.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103111878322087936,"description":"Unknown IO ID 45"} 
[2026-08-02 16:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131363072001,"power":13428,"unknown_60":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9103111878322087936}} 
[2026-08-02 16:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":147952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:47:32] local.INFO: GPS data processed {"connection_id":147952,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:47:32] local.INFO: Acknowledgment sent {"connection_id":147952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:47:34] local.INFO: TCP Data received {"connection_id":147951,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:47:34] local.INFO: Processing buffer {"connection_id":147951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:47:34] local.INFO: IMEI packet received {"connection_id":147951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":147951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:47:35] local.INFO: TCP Data received {"connection_id":147951,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:47:35] local.INFO: Processing buffer {"connection_id":147951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:47:35] local.INFO: Packet analysis {"connection_id":147951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:47:35] local.INFO: Extracted packet for processing {"connection_id":147951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:47:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131247872001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785669238000,"timestamp_ms":1785669238000,"timestamp_seconds":1785669238,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22e3cf0"} 
[2026-08-02 16:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131247872001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131247872001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:47:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:47:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:47:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131247872001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":147951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:47:35] local.INFO: GPS data processed {"connection_id":147951,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:47:35] local.INFO: Acknowledgment sent {"connection_id":147951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:47:39] local.INFO: TCP Data received {"connection_id":147951,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:47:39] local.INFO: Processing buffer {"connection_id":147951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:47:39] local.INFO: Packet analysis {"connection_id":147951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:47:39] local.INFO: Extracted packet for processing {"connection_id":147951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:47:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131247872001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785669238000,"timestamp_ms":1785669238000,"timestamp_seconds":1785669238,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22e3cf0"} 
[2026-08-02 16:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:47: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-08-02 16: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":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131247872001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131247872001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:47:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:47:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:47:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131247872001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":147951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:47:40] local.INFO: GPS data processed {"connection_id":147951,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:47:40] local.INFO: Acknowledgment sent {"connection_id":147951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:47:59] local.INFO: TCP Data received {"connection_id":147953,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:47:59] local.INFO: Processing buffer {"connection_id":147953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:47:59] local.INFO: IMEI packet received {"connection_id":147953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":147953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:48:01] local.INFO: TCP Data received {"connection_id":147953,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:48:01] local.INFO: Processing buffer {"connection_id":147953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:48:01] local.INFO: IMEI packet received {"connection_id":147953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":147953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:48:02] local.INFO: TCP Data received {"connection_id":147953,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22e7788012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22e7788012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:48:02] local.INFO: Processing buffer {"connection_id":147953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22e7788012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:48:02] local.INFO: Packet analysis {"connection_id":147953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:48:02] local.INFO: Extracted packet for processing {"connection_id":147953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:48:02] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131323392001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785669253000,"timestamp_ms":1785669253000,"timestamp_seconds":1785669253,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22e7788"} 
[2026-08-02 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-08-02 16:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-02 16:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131323392001,"66":12928,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131323392001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:48:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:48:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131323392001,"power":12928,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":147953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:48:02] local.INFO: GPS data processed {"connection_id":147953,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:48:02] local.INFO: Acknowledgment sent {"connection_id":147953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:48:03] local.INFO: TCP Data received {"connection_id":147952,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2312708012d7e54c005e206e8000800462b..."} 
[2026-08-02 16:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2312708012d7e54c005e206e8000800462b..."} 
[2026-08-02 16:48:03] local.INFO: Processing buffer {"connection_id":147952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2312708012d7e54c005e206e8000800462b..."} 
[2026-08-02 16:48:03] local.INFO: Packet analysis {"connection_id":147952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc231"} 
[2026-08-02 16:48:03] local.INFO: Extracted packet for processing {"connection_id":147952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc231"} 
[2026-08-02 16:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763253952,"raw_latitude":98698984,"longitude_deg":76.3253952,"latitude_deg":9.8698984,"altitude":8,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d7e54c0","hex_latitude":"05e206e8","is_valid_coordinates":true} 
[2026-08-02 16:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131368448001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114088320090243072,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103111878322087936,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785669429000,"timestamp_ms":1785669429000,"timestamp_seconds":1785669429,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2312708"} 
[2026-08-02 16:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 16:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131368448001,"66":13515,"60":206,"85":15104,"24":0,"16":114088320090243072,"45":9103111878322087936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-02 16:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131368448001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:48:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-02 16:48:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114088320090243072,"km_value":114088320090243.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103111878322087936,"description":"Unknown IO ID 45"} 
[2026-08-02 16:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131368448001,"power":13515,"unknown_60":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9103111878322087936}} 
[2026-08-02 16:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":147952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:48:03] local.INFO: GPS data processed {"connection_id":147952,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:48:03] local.INFO: Acknowledgment sent {"connection_id":147952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:48:24] local.INFO: TCP Data received {"connection_id":146908,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:48:24] local.INFO: Processing buffer {"connection_id":146908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:48:24] local.INFO: IMEI packet received {"connection_id":146908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":146908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:48:27] local.INFO: TCP Data received {"connection_id":149252,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:48:27] local.INFO: Processing buffer {"connection_id":149252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:48:27] local.INFO: IMEI packet received {"connection_id":149252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":149252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:48:29] local.INFO: TCP Data received {"connection_id":146908,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:48:29] local.INFO: Processing buffer {"connection_id":146908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:48:29] local.INFO: IMEI packet received {"connection_id":146908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":146908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:48:30] local.INFO: TCP Data received {"connection_id":146908,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:48:30] local.INFO: Processing buffer {"connection_id":146908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:48:30] local.INFO: Packet analysis {"connection_id":146908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:48:30] local.INFO: Extracted packet for processing {"connection_id":146908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:48:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131247872001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785669238000,"timestamp_ms":1785669238000,"timestamp_seconds":1785669238,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22e3cf0"} 
[2026-08-02 16:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131247872001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131247872001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:48:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:48:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131247872001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":146908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:48:30] local.INFO: GPS data processed {"connection_id":146908,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:48:30] local.INFO: Acknowledgment sent {"connection_id":146908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:48:32] local.INFO: TCP Data received {"connection_id":149252,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:48:32] local.INFO: Processing buffer {"connection_id":149252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:48:32] local.INFO: IMEI packet received {"connection_id":149252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":149252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:48:33] local.INFO: TCP Data received {"connection_id":147953,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22ec990012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22ec990012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:48:33] local.INFO: Processing buffer {"connection_id":147953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22ec990012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:48:33] local.INFO: Packet analysis {"connection_id":147953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:48:33] local.INFO: Extracted packet for processing {"connection_id":147953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131328768001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785669274000,"timestamp_ms":1785669274000,"timestamp_seconds":1785669274,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22ec990"} 
[2026-08-02 16:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-02 16:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131328768001,"66":12885,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131328768001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:48:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131328768001,"power":12885,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":147953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:48:33] local.INFO: GPS data processed {"connection_id":147953,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:48:33] local.INFO: Acknowledgment sent {"connection_id":147953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:48:33] local.INFO: TCP Data received {"connection_id":149252,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2317910012d7e54c005e206e80008004629..."} 
[2026-08-02 16:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2317910012d7e54c005e206e80008004629..."} 
[2026-08-02 16:48:33] local.INFO: Processing buffer {"connection_id":149252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2317910012d7e54c005e206e80008004629..."} 
[2026-08-02 16:48:33] local.INFO: Packet analysis {"connection_id":149252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc231"} 
[2026-08-02 16:48:33] local.INFO: Extracted packet for processing {"connection_id":149252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc231"} 
[2026-08-02 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763253952,"raw_latitude":98698984,"longitude_deg":76.3253952,"latitude_deg":9.8698984,"altitude":8,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d7e54c0","hex_latitude":"05e206e8","is_valid_coordinates":true} 
[2026-08-02 16:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131373824001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114088320090243072,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103111878322087936,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785669450000,"timestamp_ms":1785669450000,"timestamp_seconds":1785669450,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2317910"} 
[2026-08-02 16:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 16:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131373824001,"66":13472,"60":206,"85":15104,"24":0,"16":114088320090243072,"45":9103111878322087936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-02 16:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131373824001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:48:33] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-02 16:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114088320090243072,"km_value":114088320090243.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103111878322087936,"description":"Unknown IO ID 45"} 
[2026-08-02 16:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131373824001,"power":13472,"unknown_60":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9103111878322087936}} 
[2026-08-02 16:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":149252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:48:33] local.INFO: GPS data processed {"connection_id":149252,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:48:33] local.INFO: Acknowledgment sent {"connection_id":149252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:48:43] local.INFO: TCP Data received {"connection_id":146908,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:48:43] local.INFO: Processing buffer {"connection_id":146908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:48:43] local.INFO: Packet analysis {"connection_id":146908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:48:43] local.INFO: Extracted packet for processing {"connection_id":146908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:48:43] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131247872001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785669238000,"timestamp_ms":1785669238000,"timestamp_seconds":1785669238,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22e3cf0"} 
[2026-08-02 16:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:48: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-08-02 16:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131247872001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131247872001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:48:43] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:48:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:48:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131247872001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":146908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:48:43] local.INFO: GPS data processed {"connection_id":146908,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:48:43] local.INFO: Acknowledgment sent {"connection_id":146908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:48:59] local.INFO: TCP Data received {"connection_id":147954,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:48:59] local.INFO: Processing buffer {"connection_id":147954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:48:59] local.INFO: IMEI packet received {"connection_id":147954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":147954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:49:04] local.INFO: TCP Data received {"connection_id":147954,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:49:04] local.INFO: Processing buffer {"connection_id":147954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:49:04] local.INFO: IMEI packet received {"connection_id":147954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":147954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:49:04] local.INFO: TCP Data received {"connection_id":149252,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc231cb18012d7e54c005e206e8000800462a..."} 
[2026-08-02 16:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc231cb18012d7e54c005e206e8000800462a..."} 
[2026-08-02 16:49:04] local.INFO: Processing buffer {"connection_id":149252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc231cb18012d7e54c005e206e8000800462a..."} 
[2026-08-02 16:49:04] local.INFO: Packet analysis {"connection_id":149252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc231"} 
[2026-08-02 16:49:04] local.INFO: Extracted packet for processing {"connection_id":149252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc231"} 
[2026-08-02 16:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763253952,"raw_latitude":98698984,"longitude_deg":76.3253952,"latitude_deg":9.8698984,"altitude":8,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d7e54c0","hex_latitude":"05e206e8","is_valid_coordinates":true} 
[2026-08-02 16:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131379200001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114088320090243072,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103111878322087936,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669471000,"timestamp_ms":1785669471000,"timestamp_seconds":1785669471,"priority":1,"record_length":96,"hex_timestamp":"0000019fc231cb18"} 
[2026-08-02 16:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 16:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131379200001,"66":13254,"60":206,"85":15104,"24":0,"16":114088320090243072,"45":9103111878322087936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-02 16:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131379200001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:49:04] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-02 16:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114088320090243072,"km_value":114088320090243.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103111878322087936,"description":"Unknown IO ID 45"} 
[2026-08-02 16:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131379200001,"power":13254,"unknown_60":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9103111878322087936}} 
[2026-08-02 16:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":149252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:49:04] local.INFO: GPS data processed {"connection_id":149252,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:49:04] local.INFO: Acknowledgment sent {"connection_id":149252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:49:04] local.INFO: TCP Data received {"connection_id":147954,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22f1b98012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22f1b98012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:49:04] local.INFO: Processing buffer {"connection_id":147954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22f1b98012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:49:04] local.INFO: Packet analysis {"connection_id":147954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22f"} 
[2026-08-02 16:49:04] local.INFO: Extracted packet for processing {"connection_id":147954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22f"} 
[2026-08-02 16:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131334144001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669295000,"timestamp_ms":1785669295000,"timestamp_seconds":1785669295,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22f1b98"} 
[2026-08-02 16:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:49: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-08-02 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 16:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131334144001,"66":12852,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131334144001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:49:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131334144001,"power":12852,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":147954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:49:04] local.INFO: GPS data processed {"connection_id":147954,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:49:04] local.INFO: Acknowledgment sent {"connection_id":147954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:49:24] local.INFO: TCP Data received {"connection_id":146682,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:49:24] local.INFO: Processing buffer {"connection_id":146682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:49:24] local.INFO: IMEI packet received {"connection_id":146682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":146682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:49:29] local.INFO: TCP Data received {"connection_id":146682,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:49:29] local.INFO: Processing buffer {"connection_id":146682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:49:29] local.INFO: IMEI packet received {"connection_id":146682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":146682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:49:31] local.INFO: TCP Data received {"connection_id":146682,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:49:31] local.INFO: Processing buffer {"connection_id":146682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22e3cf0012cc330c007685958005800c528..."} 
[2026-08-02 16:49:31] local.INFO: Packet analysis {"connection_id":146682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:49:31] local.INFO: Extracted packet for processing {"connection_id":146682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22e"} 
[2026-08-02 16:49:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131247872001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785669238000,"timestamp_ms":1785669238000,"timestamp_seconds":1785669238,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22e3cf0"} 
[2026-08-02 16:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 16:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131247872001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131247872001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:49:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:49:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:49:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131247872001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":146682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:49:31] local.INFO: GPS data processed {"connection_id":146682,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:49:31] local.INFO: Acknowledgment sent {"connection_id":146682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:49:32] local.INFO: TCP Data received {"connection_id":146683,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:49:32] local.INFO: Processing buffer {"connection_id":146683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:49:32] local.INFO: IMEI packet received {"connection_id":146683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":146683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:49:36] local.INFO: TCP Data received {"connection_id":147954,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22f7188012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22f7188012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:49:36] local.INFO: Processing buffer {"connection_id":147954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22f7188012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:49:36] local.INFO: Packet analysis {"connection_id":147954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22f"} 
[2026-08-02 16:49:36] local.INFO: Extracted packet for processing {"connection_id":147954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22f"} 
[2026-08-02 16:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131339520001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785669317000,"timestamp_ms":1785669317000,"timestamp_seconds":1785669317,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22f7188"} 
[2026-08-02 16:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"data_length":795,"current_offset":136} 
[2026-08-02 16:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131339520001,"66":12841,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131339520001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:49:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131339520001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":147954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:49:36] local.INFO: GPS data processed {"connection_id":147954,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:49:36] local.INFO: Acknowledgment sent {"connection_id":147954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:49:37] local.INFO: TCP Data received {"connection_id":146683,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:49:37] local.INFO: Processing buffer {"connection_id":146683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:49:37] local.INFO: IMEI packet received {"connection_id":146683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":146683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:49:38] local.INFO: TCP Data received {"connection_id":146683,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2321d20012d7e54c005e206e8000800462d..."} 
[2026-08-02 16:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2321d20012d7e54c005e206e8000800462d..."} 
[2026-08-02 16:49:38] local.INFO: Processing buffer {"connection_id":146683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2321d20012d7e54c005e206e8000800462d..."} 
[2026-08-02 16:49:38] local.INFO: Packet analysis {"connection_id":146683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:49:38] local.INFO: Extracted packet for processing {"connection_id":146683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763253952,"raw_latitude":98698984,"longitude_deg":76.3253952,"latitude_deg":9.8698984,"altitude":8,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d7e54c0","hex_latitude":"05e206e8","is_valid_coordinates":true} 
[2026-08-02 16:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131384576001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114088320090243072,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103111878322087936,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785669492000,"timestamp_ms":1785669492000,"timestamp_seconds":1785669492,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2321d20"} 
[2026-08-02 16:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-02 16:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131384576001,"66":13493,"60":206,"85":15104,"24":0,"16":114088320090243072,"45":9103111878322087936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-02 16:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131384576001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:49:38] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-02 16:49:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114088320090243072,"km_value":114088320090243.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103111878322087936,"description":"Unknown IO ID 45"} 
[2026-08-02 16:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131384576001,"power":13493,"unknown_60":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9103111878322087936}} 
[2026-08-02 16:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":146683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:49:38] local.INFO: GPS data processed {"connection_id":146683,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:49:38] local.INFO: Acknowledgment sent {"connection_id":146683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:49:39] local.INFO: TCP Data received {"connection_id":146683,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23224f0012d7e53c005e207c8000801272d..."} 
[2026-08-02 16:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23224f0012d7e53c005e207c8000801272d..."} 
[2026-08-02 16:49:39] local.INFO: Processing buffer {"connection_id":146683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23224f0012d7e53c005e207c8000801272d..."} 
[2026-08-02 16:49:39] local.INFO: Packet analysis {"connection_id":146683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:49:39] local.INFO: Extracted packet for processing {"connection_id":146683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763253696,"raw_latitude":98699208,"longitude_deg":76.3253696,"latitude_deg":9.8699208,"altitude":8,"angle":295,"satellites":45,"speed":4,"hex_longitude":"2d7e53c0","hex_latitude":"05e207c8","is_valid_coordinates":true} 
[2026-08-02 16:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131389952001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114088332975144960,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103111878322087936,"note":"Value kept but may cause issues"} 
[2026-08-02 16:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785669494000,"timestamp_ms":1785669494000,"timestamp_seconds":1785669494,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23224f0"} 
[2026-08-02 16:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 16:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131389952001,"66":13472,"60":206,"85":15104,"24":4,"16":114088332975144960,"45":9103111878322087936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-02 16:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131389952001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:49:39] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-02 16:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114088332975144960,"km_value":114088332975144.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103111878322087936,"description":"Unknown IO ID 45"} 
[2026-08-02 16:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131389952001,"power":13472,"unknown_60":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9103111878322087936}} 
[2026-08-02 16:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":146683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:49:39] local.INFO: GPS data processed {"connection_id":146683,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:49:39] local.INFO: Acknowledgment sent {"connection_id":146683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:49:59] local.INFO: TCP Data received {"connection_id":146909,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:49:59] local.INFO: Processing buffer {"connection_id":146909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:49:59] local.INFO: IMEI packet received {"connection_id":146909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":146909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:50:02] local.INFO: TCP Data received {"connection_id":146682,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:50:02] local.INFO: Processing buffer {"connection_id":146682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:50:02] local.INFO: Packet analysis {"connection_id":146682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:50:02] local.INFO: Extracted packet for processing {"connection_id":146682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:50:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131324928001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785669539000,"timestamp_ms":1785669539000,"timestamp_seconds":1785669539,"priority":1,"record_length":96,"hex_timestamp":"0000019fc232d4b8"} 
[2026-08-02 16:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131324928001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131324928001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:50:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:50:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:50:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131324928001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":146682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:50:02] local.INFO: GPS data processed {"connection_id":146682,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:50:02] local.INFO: Acknowledgment sent {"connection_id":146682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:50:04] local.INFO: TCP Data received {"connection_id":146909,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:50:04] local.INFO: Processing buffer {"connection_id":146909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:50:04] local.INFO: IMEI packet received {"connection_id":146909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":146909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:50:04] local.INFO: TCP Data received {"connection_id":146909,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc22fc390012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc22fc390012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:50:04] local.INFO: Processing buffer {"connection_id":146909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc22fc390012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:50:04] local.INFO: Packet analysis {"connection_id":146909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc22f"} 
[2026-08-02 16:50:04] local.INFO: Extracted packet for processing {"connection_id":146909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc22f"} 
[2026-08-02 16:50:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131345152001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669338000,"timestamp_ms":1785669338000,"timestamp_seconds":1785669338,"priority":1,"record_length":96,"hex_timestamp":"0000019fc22fc390"} 
[2026-08-02 16:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:50: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-08-02 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-02 16:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131345152001,"66":12841,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131345152001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:50:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:50:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131345152001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":146909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:50:04] local.INFO: GPS data processed {"connection_id":146909,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:50:04] local.INFO: Acknowledgment sent {"connection_id":146909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:50:10] local.INFO: TCP Data received {"connection_id":146683,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc233bb30012d7e2b0005e1d0b8000700b72c..."} 
[2026-08-02 16:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc233bb30012d7e2b0005e1d0b8000700b72c..."} 
[2026-08-02 16:50:10] local.INFO: Processing buffer {"connection_id":146683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc233bb30012d7e2b0005e1d0b8000700b72c..."} 
[2026-08-02 16:50:10] local.INFO: Packet analysis {"connection_id":146683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc233"} 
[2026-08-02 16:50:10] local.INFO: Extracted packet for processing {"connection_id":146683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc233"} 
[2026-08-02 16:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763243264,"raw_latitude":98685112,"longitude_deg":76.3243264,"latitude_deg":9.8685112,"altitude":7,"angle":183,"satellites":44,"speed":40,"hex_longitude":"2d7e2b00","hex_latitude":"05e1d0b8","is_valid_coordinates":true} 
[2026-08-02 16:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131414016001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114089535565987840,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091852879252492288,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785669598000,"timestamp_ms":1785669598000,"timestamp_seconds":1785669598,"priority":1,"record_length":96,"hex_timestamp":"0000019fc233bb30"} 
[2026-08-02 16:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-02 16:50: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-08-02 16:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131414016001,"66":13048,"61":206,"85":15104,"24":40,"16":114089535565987840,"45":9091852879252492288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 16:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131414016001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:50:10] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 16:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114089535565987840,"km_value":114089535565987.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091852879252492288,"description":"Unknown IO ID 45"} 
[2026-08-02 16:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131414016001,"power":13048,"unknown_61":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9091852879252492288}} 
[2026-08-02 16:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":146683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:50:10] local.INFO: GPS data processed {"connection_id":146683,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:50:10] local.INFO: Acknowledgment sent {"connection_id":146683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:50:23] local.INFO: TCP Data received {"connection_id":146684,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:50:23] local.INFO: Processing buffer {"connection_id":146684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:50:23] local.INFO: IMEI packet received {"connection_id":146684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":146684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:50:27] local.INFO: TCP Data received {"connection_id":149253,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:50:27] local.INFO: Processing buffer {"connection_id":149253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:50:27] local.INFO: IMEI packet received {"connection_id":149253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":149253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:50:27] local.INFO: TCP Data received {"connection_id":149253,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:50:27] local.INFO: Processing buffer {"connection_id":149253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:50:27] local.INFO: IMEI packet received {"connection_id":149253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":149253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:50:29] local.INFO: TCP Data received {"connection_id":146684,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:50:29] local.INFO: Processing buffer {"connection_id":146684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:50:29] local.INFO: IMEI packet received {"connection_id":146684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":146684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:50:31] local.INFO: TCP Data received {"connection_id":146684,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:50:31] local.INFO: Processing buffer {"connection_id":146684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:50:31] local.INFO: Packet analysis {"connection_id":146684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:50:31] local.INFO: Extracted packet for processing {"connection_id":146684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:50:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131324928001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785669539000,"timestamp_ms":1785669539000,"timestamp_seconds":1785669539,"priority":1,"record_length":96,"hex_timestamp":"0000019fc232d4b8"} 
[2026-08-02 16:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131324928001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131324928001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:50:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:50:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:50:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131324928001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":146684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:50:31] local.INFO: GPS data processed {"connection_id":146684,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:50:31] local.INFO: Acknowledgment sent {"connection_id":146684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:50:32] local.INFO: TCP Data received {"connection_id":149253,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:50:32] local.INFO: Processing buffer {"connection_id":149253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:50:32] local.INFO: IMEI packet received {"connection_id":149253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":149253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:50:33] local.INFO: TCP Data received {"connection_id":149253,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc233ceb8012d7e284005e1bce8000700c62c..."} 
[2026-08-02 16:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc233ceb8012d7e284005e1bce8000700c62c..."} 
[2026-08-02 16:50:33] local.INFO: Processing buffer {"connection_id":149253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc233ceb8012d7e284005e1bce8000700c62c..."} 
[2026-08-02 16:50:33] local.INFO: Packet analysis {"connection_id":149253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc233"} 
[2026-08-02 16:50:33] local.INFO: Extracted packet for processing {"connection_id":149253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc233"} 
[2026-08-02 16:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763242560,"raw_latitude":98680040,"longitude_deg":76.324256,"latitude_deg":9.868004,"altitude":7,"angle":198,"satellites":44,"speed":39,"hex_longitude":"2d7e2840","hex_latitude":"05e1bce8","is_valid_coordinates":true} 
[2026-08-02 16:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131417088001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114089784674091008,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091360298040866816,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785669603000,"timestamp_ms":1785669603000,"timestamp_seconds":1785669603,"priority":1,"record_length":96,"hex_timestamp":"0000019fc233ceb8"} 
[2026-08-02 16:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-02 16:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131417088001,"66":13102,"61":206,"85":15104,"24":39,"16":114089784674091008,"45":9091360298040866816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 16:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131417088001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:50:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 16:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114089784674091008,"km_value":114089784674091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091360298040866816,"description":"Unknown IO ID 45"} 
[2026-08-02 16:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131417088001,"power":13102,"unknown_61":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9091360298040866816}} 
[2026-08-02 16:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":149253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:50:33] local.INFO: GPS data processed {"connection_id":149253,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:50:33] local.INFO: Acknowledgment sent {"connection_id":149253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:50:35] local.INFO: TCP Data received {"connection_id":146909,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2301598012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2301598012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:50:35] local.INFO: Processing buffer {"connection_id":146909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2301598012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:50:35] local.INFO: Packet analysis {"connection_id":146909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc230"} 
[2026-08-02 16:50:35] local.INFO: Extracted packet for processing {"connection_id":146909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc230"} 
[2026-08-02 16:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131350528001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785669359000,"timestamp_ms":1785669359000,"timestamp_seconds":1785669359,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2301598"} 
[2026-08-02 16:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-02 16:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131350528001,"66":12776,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131350528001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:50:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131350528001,"power":12776,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":146909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:50:36] local.INFO: GPS data processed {"connection_id":146909,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:50:36] local.INFO: Acknowledgment sent {"connection_id":146909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:50:59] local.INFO: TCP Data received {"connection_id":149254,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:50:59] local.INFO: Processing buffer {"connection_id":149254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:50:59] local.INFO: IMEI packet received {"connection_id":149254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":149254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:51:03] local.INFO: TCP Data received {"connection_id":146684,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:51:03] local.INFO: Processing buffer {"connection_id":146684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:51:03] local.INFO: Packet analysis {"connection_id":146684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:51:03] local.INFO: Extracted packet for processing {"connection_id":146684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:51:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131324928001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785669539000,"timestamp_ms":1785669539000,"timestamp_seconds":1785669539,"priority":1,"record_length":96,"hex_timestamp":"0000019fc232d4b8"} 
[2026-08-02 16:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131324928001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131324928001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:51:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:51:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:51:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131324928001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":146684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:51:03] local.INFO: GPS data processed {"connection_id":146684,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:51:03] local.INFO: Acknowledgment sent {"connection_id":146684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:51:04] local.INFO: TCP Data received {"connection_id":149254,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:51:04] local.INFO: Processing buffer {"connection_id":149254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:51:04] local.INFO: IMEI packet received {"connection_id":149254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":149254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:51:05] local.INFO: TCP Data received {"connection_id":149254,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23067a0012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23067a0012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:51:05] local.INFO: Processing buffer {"connection_id":149254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23067a0012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:51:05] local.INFO: Packet analysis {"connection_id":149254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc230"} 
[2026-08-02 16:51:05] local.INFO: Extracted packet for processing {"connection_id":149254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc230"} 
[2026-08-02 16:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131355904001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785669380000,"timestamp_ms":1785669380000,"timestamp_seconds":1785669380,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23067a0"} 
[2026-08-02 16:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-02 16:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131355904001,"66":12819,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131355904001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:51:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131355904001,"power":12819,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":149254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:51:05] local.INFO: GPS data processed {"connection_id":149254,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:51:05] local.INFO: Acknowledgment sent {"connection_id":149254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:51:05] local.INFO: TCP Data received {"connection_id":149253,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc233d688012d7e248005e1b620000700d62a..."} 
[2026-08-02 16:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc233d688012d7e248005e1b620000700d62a..."} 
[2026-08-02 16:51:05] local.INFO: Processing buffer {"connection_id":149253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc233d688012d7e248005e1b620000700d62a..."} 
[2026-08-02 16:51:05] local.INFO: Packet analysis {"connection_id":149253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc233"} 
[2026-08-02 16:51:05] local.INFO: Extracted packet for processing {"connection_id":149253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc233"} 
[2026-08-02 16:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763241600,"raw_latitude":98678304,"longitude_deg":76.32416,"latitude_deg":9.8678304,"altitude":7,"angle":214,"satellites":42,"speed":39,"hex_longitude":"2d7e2480","hex_latitude":"05e1b620","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131418368001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114089883458338816,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090586241853614080,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785669605000,"timestamp_ms":1785669605000,"timestamp_seconds":1785669605,"priority":1,"record_length":96,"hex_timestamp":"0000019fc233d688"} 
[2026-08-02 16:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-02 16:51: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-08-02 16: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-08-02 16:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131418368001,"66":13406,"61":206,"85":15104,"24":39,"16":114089883458338816,"45":9090586241853614080},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-02 16:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131418368001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:51:05] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-02 16:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114089883458338816,"km_value":114089883458338.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090586241853614080,"description":"Unknown IO ID 45"} 
[2026-08-02 16:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131418368001,"power":13406,"unknown_61":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9090586241853614080}} 
[2026-08-02 16:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":149253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:51:06] local.INFO: GPS data processed {"connection_id":149253,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:51:06] local.INFO: Acknowledgment sent {"connection_id":149253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:51:27] local.INFO: TCP Data received {"connection_id":146685,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:51:27] local.INFO: Processing buffer {"connection_id":146685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:51:27] local.INFO: IMEI packet received {"connection_id":146685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":146685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:51:29] local.INFO: TCP Data received {"connection_id":146686,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:51:29] local.INFO: Processing buffer {"connection_id":146686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:51:29] local.INFO: IMEI packet received {"connection_id":146686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":146686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:51:32] local.INFO: TCP Data received {"connection_id":146685,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:51:32] local.INFO: Processing buffer {"connection_id":146685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:51:32] local.INFO: IMEI packet received {"connection_id":146685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":146685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:51:32] local.INFO: TCP Data received {"connection_id":146685,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc234cca0012d7e10c005e0c2f80008009e2f..."} 
[2026-08-02 16:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc234cca0012d7e10c005e0c2f80008009e2f..."} 
[2026-08-02 16:51:32] local.INFO: Processing buffer {"connection_id":146685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc234cca0012d7e10c005e0c2f80008009e2f..."} 
[2026-08-02 16:51:32] local.INFO: Packet analysis {"connection_id":146685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:51:32] local.INFO: Extracted packet for processing {"connection_id":146685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763236544,"raw_latitude":98616056,"longitude_deg":76.3236544,"latitude_deg":9.8616056,"altitude":8,"angle":158,"satellites":47,"speed":25,"hex_longitude":"2d7e10c0","hex_latitude":"05e0c2f8","is_valid_coordinates":true} 
[2026-08-02 16:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131434752001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114092988719693824,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083690104907982848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785669668000,"timestamp_ms":1785669668000,"timestamp_seconds":1785669668,"priority":1,"record_length":96,"hex_timestamp":"0000019fc234cca0"} 
[2026-08-02 16:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-02 16:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3258205160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278083417394215352,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:32] local.WARNING: Large IO value detected {"io_id":225,"raw_value":7090917647665867776,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-08-02 16:51:32] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57886250674050363,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3779076096,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:32] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2641362476353519621,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:32] local.WARNING: Large IO value detected {"io_id":47,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:32] local.WARNING: Large IO value detected {"io_id":167,"raw_value":4395740101771008000,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:32] local.WARNING: Large IO value detected {"io_id":97,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:32] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,105,85,24,241,157,16,86,159,177,45,217,8,46,10,66,60,138,254,61,130,192,1,240,242,227,194,225,4,113,205,38,95,32,80,37,239,51,2,149,5,44,52,47,167,97],"length":626,"final_offset":756,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-08-02 16:51:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576650070168436736,"timestamp_seconds":576650070168436.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":146685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":146685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":146685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131434752001,"66":13363,"105":206,"85":15104,"24":25,"16":114092988719693824,"45":9083690104907982848},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-02 16:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131434752001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:51:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114092988719693824,"km_value":114092988719693.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083690104907982848,"description":"Unknown IO ID 45"} 
[2026-08-02 16:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131434752001,"power":13363,"unknown_105":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9083690104907982848}} 
[2026-08-02 16:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":146685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:51:32] local.INFO: GPS data processed {"connection_id":146685,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:51:32] local.INFO: Acknowledgment sent {"connection_id":146685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:51:33] local.INFO: TCP Data received {"connection_id":146685,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc234d088012d7e128005e0c0d00008008d2e..."} 
[2026-08-02 16:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc234d088012d7e128005e0c0d00008008d2e..."} 
[2026-08-02 16:51:33] local.INFO: Processing buffer {"connection_id":146685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc234d088012d7e128005e0c0d00008008d2e..."} 
[2026-08-02 16:51:33] local.INFO: Packet analysis {"connection_id":146685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:51:33] local.INFO: Extracted packet for processing {"connection_id":146685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763236992,"raw_latitude":98615504,"longitude_deg":76.3236992,"latitude_deg":9.8615504,"altitude":8,"angle":141,"satellites":46,"speed":27,"hex_longitude":"2d7e1280","hex_latitude":"05e0c0d0","is_valid_coordinates":true} 
[2026-08-02 16:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131435008001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114093023079432192,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083971579884533760,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785669669000,"timestamp_ms":1785669669000,"timestamp_seconds":1785669669,"priority":1,"record_length":96,"hex_timestamp":"0000019fc234d088"} 
[2026-08-02 16:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 16:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131435008001,"66":13363,"105":206,"85":15104,"24":27,"16":114093023079432192,"45":9083971579884533760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-02 16:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131435008001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:51:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114093023079432192,"km_value":114093023079432.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083971579884533760,"description":"Unknown IO ID 45"} 
[2026-08-02 16:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131435008001,"power":13363,"unknown_105":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9083971579884533760}} 
[2026-08-02 16:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":146685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:51:33] local.INFO: GPS data processed {"connection_id":146685,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:51:33] local.INFO: Acknowledgment sent {"connection_id":146685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:51:34] local.INFO: TCP Data received {"connection_id":146686,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:51:34] local.INFO: Processing buffer {"connection_id":146686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:51:34] local.INFO: IMEI packet received {"connection_id":146686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":146686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:51:35] local.INFO: TCP Data received {"connection_id":146686,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:51:35] local.INFO: Processing buffer {"connection_id":146686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:51:35] local.INFO: Packet analysis {"connection_id":146686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:51:35] local.INFO: Extracted packet for processing {"connection_id":146686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:51:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131324928001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785669539000,"timestamp_ms":1785669539000,"timestamp_seconds":1785669539,"priority":1,"record_length":96,"hex_timestamp":"0000019fc232d4b8"} 
[2026-08-02 16:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131324928001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131324928001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:51:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:51:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:51:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131324928001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":146686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:51:35] local.INFO: GPS data processed {"connection_id":146686,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:51:35] local.INFO: Acknowledgment sent {"connection_id":146686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:51:36] local.INFO: TCP Data received {"connection_id":149254,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc233ea10012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc233ea10012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:51:36] local.INFO: Processing buffer {"connection_id":149254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc233ea10012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:51:36] local.INFO: Packet analysis {"connection_id":149254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc233"} 
[2026-08-02 16:51:36] local.INFO: Extracted packet for processing {"connection_id":149254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc233"} 
[2026-08-02 16:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131414784001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785669610000,"timestamp_ms":1785669610000,"timestamp_seconds":1785669610,"priority":1,"record_length":96,"hex_timestamp":"0000019fc233ea10"} 
[2026-08-02 16:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:51: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-08-02 16:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 16:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131414784001,"66":12667,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131414784001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:51:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131414784001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":149254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:51:36] local.INFO: GPS data processed {"connection_id":149254,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:51:36] local.INFO: Acknowledgment sent {"connection_id":149254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:51:39] local.INFO: TCP Data received {"connection_id":146686,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:51:39] local.INFO: Processing buffer {"connection_id":146686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:51:39] local.INFO: Packet analysis {"connection_id":146686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:51:39] local.INFO: Extracted packet for processing {"connection_id":146686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:51:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131324928001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785669539000,"timestamp_ms":1785669539000,"timestamp_seconds":1785669539,"priority":1,"record_length":96,"hex_timestamp":"0000019fc232d4b8"} 
[2026-08-02 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-08-02 16:51: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-08-02 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131324928001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131324928001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:51:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:51:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:51:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131324928001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":146686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:51:40] local.INFO: GPS data processed {"connection_id":146686,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:51:40] local.INFO: Acknowledgment sent {"connection_id":146686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:51:58] local.INFO: TCP Data received {"connection_id":147955,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:51:58] local.INFO: Processing buffer {"connection_id":147955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:51:58] local.INFO: IMEI packet received {"connection_id":147955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":147955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:52:04] local.INFO: TCP Data received {"connection_id":147955,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:52:04] local.INFO: Processing buffer {"connection_id":147955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:52:04] local.INFO: IMEI packet received {"connection_id":147955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":147955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:52:04] local.INFO: TCP Data received {"connection_id":146685,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc234d470012d7e150005e0bed8000800802f..."} 
[2026-08-02 16:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc234d470012d7e150005e0bed8000800802f..."} 
[2026-08-02 16:52:04] local.INFO: Processing buffer {"connection_id":146685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc234d470012d7e150005e0bed8000800802f..."} 
[2026-08-02 16:52:04] local.INFO: Packet analysis {"connection_id":146685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:52:04] local.INFO: Extracted packet for processing {"connection_id":146685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763237632,"raw_latitude":98615000,"longitude_deg":76.3237632,"latitude_deg":9.8615,"altitude":8,"angle":128,"satellites":47,"speed":31,"hex_longitude":"2d7e1500","hex_latitude":"05e0bed8","is_valid_coordinates":true} 
[2026-08-02 16:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131435264001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114093061734137856,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084464161093636096,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669670000,"timestamp_ms":1785669670000,"timestamp_seconds":1785669670,"priority":1,"record_length":96,"hex_timestamp":"0000019fc234d470"} 
[2026-08-02 16:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 16:52: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-08-02 16:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131435264001,"66":13363,"105":206,"85":15104,"24":31,"16":114093061734137856,"45":9084464161093636096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-02 16:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131435264001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:52:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114093061734137856,"km_value":114093061734137.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084464161093636096,"description":"Unknown IO ID 45"} 
[2026-08-02 16:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131435264001,"power":13363,"unknown_105":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9084464161093636096}} 
[2026-08-02 16:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":146685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:52:04] local.INFO: GPS data processed {"connection_id":146685,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:52:04] local.INFO: Acknowledgment sent {"connection_id":146685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:52:04] local.INFO: TCP Data received {"connection_id":147955,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2344000012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2344000012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:52:04] local.INFO: Processing buffer {"connection_id":147955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2344000012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:52:04] local.INFO: Packet analysis {"connection_id":147955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:52:04] local.INFO: Extracted packet for processing {"connection_id":147955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131420160001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669632000,"timestamp_ms":1785669632000,"timestamp_seconds":1785669632,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2344000"} 
[2026-08-02 16:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-02 16:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131420160001,"66":12645,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131420160001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:52:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131420160001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":147955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:52:04] local.INFO: GPS data processed {"connection_id":147955,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:52:04] local.INFO: Acknowledgment sent {"connection_id":147955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:52:27] local.INFO: TCP Data received {"connection_id":149255,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:52:27] local.INFO: Processing buffer {"connection_id":149255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:52:27] local.INFO: IMEI packet received {"connection_id":149255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":149255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:52:27] local.INFO: TCP Data received {"connection_id":147956,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:52:27] local.INFO: Processing buffer {"connection_id":147956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:52:27] local.INFO: IMEI packet received {"connection_id":147956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":147956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:52:28] local.INFO: TCP Data received {"connection_id":149255,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:52:28] local.INFO: Processing buffer {"connection_id":149255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:52:28] local.INFO: IMEI packet received {"connection_id":149255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":149255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:52:31] local.INFO: TCP Data received {"connection_id":149255,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:52:31] local.INFO: Processing buffer {"connection_id":149255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:52:31] local.INFO: Packet analysis {"connection_id":149255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:52:31] local.INFO: Extracted packet for processing {"connection_id":149255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:52:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131324928001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785669539000,"timestamp_ms":1785669539000,"timestamp_seconds":1785669539,"priority":1,"record_length":96,"hex_timestamp":"0000019fc232d4b8"} 
[2026-08-02 16:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131324928001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131324928001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:52:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:52:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:52:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131324928001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":149255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:52:31] local.INFO: GPS data processed {"connection_id":149255,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:52:31] local.INFO: Acknowledgment sent {"connection_id":149255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:52:32] local.INFO: TCP Data received {"connection_id":147956,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:52:32] local.INFO: Processing buffer {"connection_id":147956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:52:32] local.INFO: IMEI packet received {"connection_id":147956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":147956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:52:33] local.INFO: TCP Data received {"connection_id":147956,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc234f3b0012d7e2e4005e0ae680009008d2a..."} 
[2026-08-02 16:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc234f3b0012d7e2e4005e0ae680009008d2a..."} 
[2026-08-02 16:52:33] local.INFO: Processing buffer {"connection_id":147956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc234f3b0012d7e2e4005e0ae680009008d2a..."} 
[2026-08-02 16:52:33] local.INFO: Packet analysis {"connection_id":147956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:52:33] local.INFO: Extracted packet for processing {"connection_id":147956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763244096,"raw_latitude":98610792,"longitude_deg":76.3244096,"latitude_deg":9.8610792,"altitude":9,"angle":141,"satellites":42,"speed":35,"hex_longitude":"2d7e2e40","hex_latitude":"05e0ae68","is_valid_coordinates":true} 
[2026-08-02 16:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131435520001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114093431101325312,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085167848535283712,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785669678000,"timestamp_ms":1785669678000,"timestamp_seconds":1785669678,"priority":1,"record_length":96,"hex_timestamp":"0000019fc234f3b0"} 
[2026-08-02 16:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-02 16:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131435520001,"66":13559,"105":206,"85":15104,"24":35,"16":114093431101325312,"45":9085167848535283712},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-02 16:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131435520001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:52:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114093431101325312,"km_value":114093431101325.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085167848535283712,"description":"Unknown IO ID 45"} 
[2026-08-02 16:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131435520001,"power":13559,"unknown_105":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9085167848535283712}} 
[2026-08-02 16:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":147956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:52:33] local.INFO: GPS data processed {"connection_id":147956,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:52:33] local.INFO: Acknowledgment sent {"connection_id":147956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:52:34] local.INFO: TCP Data received {"connection_id":149255,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:52:34] local.INFO: Processing buffer {"connection_id":149255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:52:34] local.INFO: Packet analysis {"connection_id":149255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:52:34] local.INFO: Extracted packet for processing {"connection_id":149255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:52:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131324928001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785669539000,"timestamp_ms":1785669539000,"timestamp_seconds":1785669539,"priority":1,"record_length":96,"hex_timestamp":"0000019fc232d4b8"} 
[2026-08-02 16:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16: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-08-02 16:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131324928001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131324928001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:52:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:52:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:52:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131324928001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":149255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:52:34] local.INFO: GPS data processed {"connection_id":149255,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:52:34] local.INFO: Acknowledgment sent {"connection_id":149255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:52:35] local.INFO: TCP Data received {"connection_id":147955,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2349208012d17c88007213290003d00bf2d..."} 
[2026-08-02 16:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2349208012d17c88007213290003d00bf2d..."} 
[2026-08-02 16:52:35] local.INFO: Processing buffer {"connection_id":147955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2349208012d17c88007213290003d00bf2d..."} 
[2026-08-02 16:52:35] local.INFO: Packet analysis {"connection_id":147955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:52:35] local.INFO: Extracted packet for processing {"connection_id":147955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131425792001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785669653000,"timestamp_ms":1785669653000,"timestamp_seconds":1785669653,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2349208"} 
[2026-08-02 16:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:52: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-08-02 16:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-02 16:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131425792001,"66":12667,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131425792001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:52:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131425792001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":147955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:52:35] local.INFO: GPS data processed {"connection_id":147955,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:52:35] local.INFO: Acknowledgment sent {"connection_id":147955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:53:04] local.INFO: TCP Data received {"connection_id":149256,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:53:04] local.INFO: Processing buffer {"connection_id":149256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:53:04] local.INFO: IMEI packet received {"connection_id":149256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":149256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:53:04] local.INFO: TCP Data received {"connection_id":147956,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc234fb80012d7e318005e0a830000800a12c..."} 
[2026-08-02 16:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc234fb80012d7e318005e0a830000800a12c..."} 
[2026-08-02 16:53:04] local.INFO: Processing buffer {"connection_id":147956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc234fb80012d7e318005e0a830000800a12c..."} 
[2026-08-02 16:53:04] local.INFO: Packet analysis {"connection_id":147956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:53:04] local.INFO: Extracted packet for processing {"connection_id":147956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763244928,"raw_latitude":98609200,"longitude_deg":76.3244928,"latitude_deg":9.86092,"altitude":8,"angle":161,"satellites":44,"speed":35,"hex_longitude":"2d7e3180","hex_latitude":"05e0a830","is_valid_coordinates":true} 
[2026-08-02 16:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131437568001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114093521295638528,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092275091696150528,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669680000,"timestamp_ms":1785669680000,"timestamp_seconds":1785669680,"priority":1,"record_length":96,"hex_timestamp":"0000019fc234fb80"} 
[2026-08-02 16:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 16:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131437568001,"66":13406,"105":206,"85":15104,"24":35,"16":114093521295638528,"45":9092275091696150528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-02 16:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131437568001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:53:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114093521295638528,"km_value":114093521295638.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092275091696150528,"description":"Unknown IO ID 45"} 
[2026-08-02 16:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131437568001,"power":13406,"unknown_105":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9092275091696150528}} 
[2026-08-02 16:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":147956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:53:04] local.INFO: GPS data processed {"connection_id":147956,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:53:04] local.INFO: Acknowledgment sent {"connection_id":147956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:53:06] local.INFO: TCP Data received {"connection_id":149255,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:53:06] local.INFO: Processing buffer {"connection_id":149255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:53:06] local.INFO: Packet analysis {"connection_id":149255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:53:06] local.INFO: Extracted packet for processing {"connection_id":149255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:53:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131324928001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785669539000,"timestamp_ms":1785669539000,"timestamp_seconds":1785669539,"priority":1,"record_length":96,"hex_timestamp":"0000019fc232d4b8"} 
[2026-08-02 16:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16: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-08-02 16:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:53: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-08-02 16:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131324928001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131324928001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:53:06] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:53:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:53:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131324928001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":149255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:53:06] local.INFO: GPS data processed {"connection_id":149255,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:53:06] local.INFO: Acknowledgment sent {"connection_id":149255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:53:08] local.INFO: TCP Data received {"connection_id":149256,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:53:08] local.INFO: Processing buffer {"connection_id":149256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:53:08] local.INFO: IMEI packet received {"connection_id":149256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":149256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:53:09] local.INFO: TCP Data received {"connection_id":149256,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc234e410012d17c88007213290003d00bf2d..."} 
[2026-08-02 16:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc234e410012d17c88007213290003d00bf2d..."} 
[2026-08-02 16:53:09] local.INFO: Processing buffer {"connection_id":149256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc234e410012d17c88007213290003d00bf2d..."} 
[2026-08-02 16:53:09] local.INFO: Packet analysis {"connection_id":149256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:53:09] local.INFO: Extracted packet for processing {"connection_id":149256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc234"} 
[2026-08-02 16:53:09] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131431168001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785669674000,"timestamp_ms":1785669674000,"timestamp_seconds":1785669674,"priority":1,"record_length":96,"hex_timestamp":"0000019fc234e410"} 
[2026-08-02 16:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-02 16:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131431168001,"66":12591,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131431168001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:53:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:53:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131431168001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":149256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:53:09] local.INFO: GPS data processed {"connection_id":149256,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:53:09] local.INFO: Acknowledgment sent {"connection_id":149256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:53:14] local.INFO: TCP Data received {"connection_id":149256,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2353230012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2353230012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:53:14] local.INFO: Processing buffer {"connection_id":149256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2353230012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:53:14] local.INFO: Packet analysis {"connection_id":149256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc235"} 
[2026-08-02 16:53:14] local.INFO: Extracted packet for processing {"connection_id":149256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc235"} 
[2026-08-02 16:53:14] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131436544001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785669694000,"timestamp_ms":1785669694000,"timestamp_seconds":1785669694,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2353230"} 
[2026-08-02 16:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 16:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131436544001,"66":12591,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131436544001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:53:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:53:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131436544001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":149256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:53:14] local.INFO: GPS data processed {"connection_id":149256,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:53:14] local.INFO: Acknowledgment sent {"connection_id":149256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:53:24] local.INFO: TCP Data received {"connection_id":147957,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:53:24] local.INFO: Processing buffer {"connection_id":147957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:53:24] local.INFO: IMEI packet received {"connection_id":147957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":147957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:53:27] local.INFO: TCP Data received {"connection_id":147958,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:53:27] local.INFO: Processing buffer {"connection_id":147958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:53:27] local.INFO: IMEI packet received {"connection_id":147958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":147958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:53:29] local.INFO: TCP Data received {"connection_id":147957,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:53:29] local.INFO: Processing buffer {"connection_id":147957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:53:29] local.INFO: IMEI packet received {"connection_id":147957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":147957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:53:30] local.INFO: TCP Data received {"connection_id":147957,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:53:30] local.INFO: Processing buffer {"connection_id":147957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:53:30] local.INFO: Packet analysis {"connection_id":147957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:53:30] local.INFO: Extracted packet for processing {"connection_id":147957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:53:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131324928001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785669539000,"timestamp_ms":1785669539000,"timestamp_seconds":1785669539,"priority":1,"record_length":96,"hex_timestamp":"0000019fc232d4b8"} 
[2026-08-02 16:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131324928001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131324928001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:53:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:53:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131324928001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":147957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:53:30] local.INFO: GPS data processed {"connection_id":147957,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:53:30] local.INFO: Acknowledgment sent {"connection_id":147957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:53:32] local.INFO: TCP Data received {"connection_id":147958,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:53:32] local.INFO: Processing buffer {"connection_id":147958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:53:32] local.INFO: IMEI packet received {"connection_id":147958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":147958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:53:33] local.INFO: TCP Data received {"connection_id":147958,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2350350012d7e32c005e0a0c0000900ad2b..."} 
[2026-08-02 16:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2350350012d7e32c005e0a0c0000900ad2b..."} 
[2026-08-02 16:53:33] local.INFO: Processing buffer {"connection_id":147958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2350350012d7e32c005e0a0c0000900ad2b..."} 
[2026-08-02 16:53:33] local.INFO: Packet analysis {"connection_id":147958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc235"} 
[2026-08-02 16:53:33] local.INFO: Extracted packet for processing {"connection_id":147958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc235"} 
[2026-08-02 16:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763245248,"raw_latitude":98607296,"longitude_deg":76.3245248,"latitude_deg":9.8607296,"altitude":9,"angle":173,"satellites":43,"speed":40,"hex_longitude":"2d7e32c0","hex_latitude":"05e0a0c0","is_valid_coordinates":true} 
[2026-08-02 16:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131438080001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114093615784919040,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093189885370052608,"note":"Value kept but may cause issues"} 
[2026-08-02 16:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785669682000,"timestamp_ms":1785669682000,"timestamp_seconds":1785669682,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2350350"} 
[2026-08-02 16:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 16:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131438080001,"66":13374,"105":206,"85":15104,"24":40,"16":114093615784919040,"45":9093189885370052608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-02 16:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131438080001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:53:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 16:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114093615784919040,"km_value":114093615784919.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093189885370052608,"description":"Unknown IO ID 45"} 
[2026-08-02 16:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131438080001,"power":13374,"unknown_105":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9093189885370052608}} 
[2026-08-02 16:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":147958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:53:33] local.INFO: GPS data processed {"connection_id":147958,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:53:33] local.INFO: Acknowledgment sent {"connection_id":147958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:53:58] local.INFO: TCP Data received {"connection_id":146910,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:53:58] local.INFO: Processing buffer {"connection_id":146910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:53:58] local.INFO: IMEI packet received {"connection_id":146910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":146910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:53:58] local.INFO: TCP Data received {"connection_id":146910,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:53:58] local.INFO: Processing buffer {"connection_id":146910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:53:58] local.INFO: IMEI packet received {"connection_id":146910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":146910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:54:02] local.INFO: TCP Data received {"connection_id":147957,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:54:02] local.INFO: Processing buffer {"connection_id":147957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:54:02] local.INFO: Packet analysis {"connection_id":147957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:54:02] local.INFO: Extracted packet for processing {"connection_id":147957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:54:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131324928001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785669539000,"timestamp_ms":1785669539000,"timestamp_seconds":1785669539,"priority":1,"record_length":96,"hex_timestamp":"0000019fc232d4b8"} 
[2026-08-02 16:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131324928001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131324928001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:54:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:54:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:54:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131324928001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":147957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:54:02] local.INFO: GPS data processed {"connection_id":147957,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:54:02] local.INFO: Acknowledgment sent {"connection_id":147957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:54:04] local.INFO: TCP Data received {"connection_id":146910,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:54:04] local.INFO: Processing buffer {"connection_id":146910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:54:04] local.INFO: IMEI packet received {"connection_id":146910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":146910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:54:04] local.INFO: TCP Data received {"connection_id":147958,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2372a18012d7eaa8005df15a8000a008e2c..."} 
[2026-08-02 16:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2372a18012d7eaa8005df15a8000a008e2c..."} 
[2026-08-02 16:54:04] local.INFO: Processing buffer {"connection_id":147958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2372a18012d7eaa8005df15a8000a008e2c..."} 
[2026-08-02 16:54:04] local.INFO: Packet analysis {"connection_id":147958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:54:04] local.INFO: Extracted packet for processing {"connection_id":147958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763275904,"raw_latitude":98506152,"longitude_deg":76.3275904,"latitude_deg":9.8506152,"altitude":10,"angle":142,"satellites":44,"speed":35,"hex_longitude":"2d7eaa80","hex_latitude":"05df15a8","is_valid_coordinates":true} 
[2026-08-02 16:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131473408001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114098765450706944,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124644713992151040,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669823000,"timestamp_ms":1785669823000,"timestamp_seconds":1785669823,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2372a18"} 
[2026-08-02 16:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-02 16:54: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-08-02 16:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131473408001,"66":13222,"207":206,"85":15104,"24":35,"16":114098765450706944,"45":9124644713992151040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-02 16:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131473408001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:54:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-02 16:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114098765450706944,"km_value":114098765450706.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124644713992151040,"description":"Unknown IO ID 45"} 
[2026-08-02 16:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131473408001,"power":13222,"unknown_207":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9124644713992151040}} 
[2026-08-02 16:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":147958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:54:04] local.INFO: GPS data processed {"connection_id":147958,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:54:04] local.INFO: Acknowledgment sent {"connection_id":147958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:54:04] local.INFO: TCP Data received {"connection_id":146910,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2358438012d17c88007213290003d00bf2e..."} 
[2026-08-02 16:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2358438012d17c88007213290003d00bf2e..."} 
[2026-08-02 16:54:04] local.INFO: Processing buffer {"connection_id":146910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2358438012d17c88007213290003d00bf2e..."} 
[2026-08-02 16:54:04] local.INFO: Packet analysis {"connection_id":146910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc235"} 
[2026-08-02 16:54:04] local.INFO: Extracted packet for processing {"connection_id":146910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc235"} 
[2026-08-02 16:54:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131441664001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669715000,"timestamp_ms":1785669715000,"timestamp_seconds":1785669715,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2358438"} 
[2026-08-02 16:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:54: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-08-02 16:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 16:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131441664001,"66":12613,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131441664001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:54:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:54:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131441664001,"power":12613,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":146910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:54:04] local.INFO: GPS data processed {"connection_id":146910,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:54:04] local.INFO: Acknowledgment sent {"connection_id":146910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:54:23] local.INFO: TCP Data received {"connection_id":147959,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:54:23] local.INFO: Processing buffer {"connection_id":147959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:54:23] local.INFO: IMEI packet received {"connection_id":147959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":147959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:54:26] local.INFO: TCP Data received {"connection_id":149257,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:54:26] local.INFO: Processing buffer {"connection_id":149257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:54:26] local.INFO: IMEI packet received {"connection_id":149257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":149257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:54:27] local.INFO: TCP Data received {"connection_id":149257,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:54:27] local.INFO: Processing buffer {"connection_id":149257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:54:27] local.INFO: IMEI packet received {"connection_id":149257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":149257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:54:29] local.INFO: TCP Data received {"connection_id":147959,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:54:29] local.INFO: Processing buffer {"connection_id":147959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:54:29] local.INFO: IMEI packet received {"connection_id":147959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":147959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:54:30] local.INFO: TCP Data received {"connection_id":147959,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:54:30] local.INFO: Processing buffer {"connection_id":147959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc232d4b8012cc330c007685958005800c52d..."} 
[2026-08-02 16:54:30] local.INFO: Packet analysis {"connection_id":147959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:54:30] local.INFO: Extracted packet for processing {"connection_id":147959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc232"} 
[2026-08-02 16:54:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131324928001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785669539000,"timestamp_ms":1785669539000,"timestamp_seconds":1785669539,"priority":1,"record_length":96,"hex_timestamp":"0000019fc232d4b8"} 
[2026-08-02 16:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131324928001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131324928001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:54:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:54:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131324928001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":147959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:54:30] local.INFO: GPS data processed {"connection_id":147959,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:54:30] local.INFO: Acknowledgment sent {"connection_id":147959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:54:32] local.INFO: TCP Data received {"connection_id":149257,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:54:32] local.INFO: Processing buffer {"connection_id":149257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:54:32] local.INFO: IMEI packet received {"connection_id":149257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":149257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:54:33] local.INFO: TCP Data received {"connection_id":149257,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2376898012d7ec24005defbd8000f00852b..."} 
[2026-08-02 16:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2376898012d7ec24005defbd8000f00852b..."} 
[2026-08-02 16:54:33] local.INFO: Processing buffer {"connection_id":149257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2376898012d7ec24005defbd8000f00852b..."} 
[2026-08-02 16:54:33] local.INFO: Packet analysis {"connection_id":149257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:54:33] local.INFO: Extracted packet for processing {"connection_id":149257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763281984,"raw_latitude":98499544,"longitude_deg":76.3281984,"latitude_deg":9.8499544,"altitude":15,"angle":133,"satellites":43,"speed":35,"hex_longitude":"2d7ec240","hex_latitude":"05defbd8","is_valid_coordinates":true} 
[2026-08-02 16:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131474688001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114099199242403840,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127248357525661696,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785669839000,"timestamp_ms":1785669839000,"timestamp_seconds":1785669839,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2376898"} 
[2026-08-02 16:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-02 16:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131474688001,"66":13102,"207":206,"85":15104,"24":35,"16":114099199242403840,"45":9127248357525661696},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-02 16:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131474688001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:54:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-02 16:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114099199242403840,"km_value":114099199242403.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127248357525661696,"description":"Unknown IO ID 45"} 
[2026-08-02 16:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131474688001,"power":13102,"unknown_207":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9127248357525661696}} 
[2026-08-02 16:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":149257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:54:33] local.INFO: GPS data processed {"connection_id":149257,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:54:33] local.INFO: Acknowledgment sent {"connection_id":149257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:54:35] local.INFO: TCP Data received {"connection_id":146910,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc235d640012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc235d640012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:54:35] local.INFO: Processing buffer {"connection_id":146910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc235d640012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:54:35] local.INFO: Packet analysis {"connection_id":146910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc235"} 
[2026-08-02 16:54:35] local.INFO: Extracted packet for processing {"connection_id":146910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc235"} 
[2026-08-02 16:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131447040001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785669736000,"timestamp_ms":1785669736000,"timestamp_seconds":1785669736,"priority":1,"record_length":96,"hex_timestamp":"0000019fc235d640"} 
[2026-08-02 16:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:54: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-08-02 16:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-02 16:54: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-08-02 16:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131447040001,"66":12591,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131447040001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:54:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131447040001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":146910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:54:36] local.INFO: GPS data processed {"connection_id":146910,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:54:36] local.INFO: Acknowledgment sent {"connection_id":146910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:54:59] local.INFO: TCP Data received {"connection_id":146911,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:54:59] local.INFO: Processing buffer {"connection_id":146911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:54:59] local.INFO: IMEI packet received {"connection_id":146911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":146911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:55:00] local.INFO: TCP Data received {"connection_id":146911,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:55:00] local.INFO: Processing buffer {"connection_id":146911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:55:00] local.INFO: IMEI packet received {"connection_id":146911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":146911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:55:01] local.INFO: TCP Data received {"connection_id":146911,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2362848012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2362848012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:55:01] local.INFO: Processing buffer {"connection_id":146911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2362848012d17c88007213290003d00bf2a..."} 
[2026-08-02 16:55:01] local.INFO: Packet analysis {"connection_id":146911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc236"} 
[2026-08-02 16:55:01] local.INFO: Extracted packet for processing {"connection_id":146911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc236"} 
[2026-08-02 16:55:01] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 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-08-02 16:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131452416001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785669757000,"timestamp_ms":1785669757000,"timestamp_seconds":1785669757,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2362848"} 
[2026-08-02 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-08-02 16:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 16:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 16:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131452416001,"66":12548,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131452416001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:55:01] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:55:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131452416001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":146911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:55:01] local.INFO: GPS data processed {"connection_id":146911,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:55:01] local.INFO: Acknowledgment sent {"connection_id":146911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:55:04] local.INFO: TCP Data received {"connection_id":149257,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2377450012d7ec94005def310001000972b..."} 
[2026-08-02 16:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2377450012d7ec94005def310001000972b..."} 
[2026-08-02 16:55:04] local.INFO: Processing buffer {"connection_id":149257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2377450012d7ec94005def310001000972b..."} 
[2026-08-02 16:55:04] local.INFO: Packet analysis {"connection_id":149257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:55:04] local.INFO: Extracted packet for processing {"connection_id":149257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763283776,"raw_latitude":98497296,"longitude_deg":76.3283776,"latitude_deg":9.8497296,"altitude":16,"angle":151,"satellites":43,"speed":38,"hex_longitude":"2d7ec940","hex_latitude":"05def310","is_valid_coordinates":true} 
[2026-08-02 16:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131478784001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114099336681357312,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133933388220848128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669842000,"timestamp_ms":1785669842000,"timestamp_seconds":1785669842,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2377450"} 
[2026-08-02 16:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-02 16:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131478784001,"66":13461,"206":206,"85":15104,"24":38,"16":114099336681357312,"45":9133933388220848128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-02 16:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131478784001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:55:04] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-02 16:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114099336681357312,"km_value":114099336681357.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133933388220848128,"description":"Unknown IO ID 45"} 
[2026-08-02 16:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131478784001,"power":13461,"unknown_206":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9133933388220848128}} 
[2026-08-02 16:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":149257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:55:04] local.INFO: GPS data processed {"connection_id":149257,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:55:04] local.INFO: Acknowledgment sent {"connection_id":149257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:55:08] local.INFO: TCP Data received {"connection_id":147959,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:55:08] local.INFO: Processing buffer {"connection_id":147959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:55:08] local.INFO: Packet analysis {"connection_id":147959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:55:08] local.INFO: Extracted packet for processing {"connection_id":147959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:55:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131401984001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785669840000,"timestamp_ms":1785669840000,"timestamp_seconds":1785669840,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2376c80"} 
[2026-08-02 16:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:55: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-08-02 16: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":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131401984001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131401984001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:55:08] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:55:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:55:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131401984001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":147959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:55:08] local.INFO: GPS data processed {"connection_id":147959,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:55:08] local.INFO: Acknowledgment sent {"connection_id":147959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:55:24] local.INFO: TCP Data received {"connection_id":149258,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:55:24] local.INFO: Processing buffer {"connection_id":149258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:55:24] local.INFO: IMEI packet received {"connection_id":149258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":149258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:55:27] local.INFO: TCP Data received {"connection_id":149259,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:55:27] local.INFO: Processing buffer {"connection_id":149259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:55:27] local.INFO: IMEI packet received {"connection_id":149259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 16:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":149259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:55:29] local.INFO: TCP Data received {"connection_id":149258,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:55:29] local.INFO: Processing buffer {"connection_id":149258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:55:29] local.INFO: IMEI packet received {"connection_id":149258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":149258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:55:30] local.INFO: TCP Data received {"connection_id":149259,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:55:30] local.INFO: Processing buffer {"connection_id":149259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:55:30] local.INFO: IMEI packet received {"connection_id":149259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":149259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:55:31] local.INFO: TCP Data received {"connection_id":149258,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:55:31] local.INFO: Processing buffer {"connection_id":149258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:55:31] local.INFO: Packet analysis {"connection_id":149258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:55:31] local.INFO: Extracted packet for processing {"connection_id":149258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:55:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131401984001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785669840000,"timestamp_ms":1785669840000,"timestamp_seconds":1785669840,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2376c80"} 
[2026-08-02 16:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131401984001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131401984001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:55:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:55:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:55:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131401984001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":149258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:55:31] local.INFO: GPS data processed {"connection_id":149258,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:55:31] local.INFO: Acknowledgment sent {"connection_id":149258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:55:32] local.INFO: TCP Data received {"connection_id":146911,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2367a50012d17c88007213290003d00bf29..."} 
[2026-08-02 16:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2367a50012d17c88007213290003d00bf29..."} 
[2026-08-02 16:55:32] local.INFO: Processing buffer {"connection_id":146911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2367a50012d17c88007213290003d00bf29..."} 
[2026-08-02 16:55:32] local.INFO: Packet analysis {"connection_id":146911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc236"} 
[2026-08-02 16:55:32] local.INFO: Extracted packet for processing {"connection_id":146911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc236"} 
[2026-08-02 16:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131457792001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785669778000,"timestamp_ms":1785669778000,"timestamp_seconds":1785669778,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2367a50"} 
[2026-08-02 16:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 16:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3258204160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-02 16:55:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2147950898,"corrected_to":0} 
[2026-08-02 16:55:32] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2435776512,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:32] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:32] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,107,83,24,241,157,16,145,159,214,45,128,50,61,43,10,66,132,46,1,240,47,227,194,33,4,113,205,146,200,144,239,49,2,36,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":2147950898,"validated":0}]} 
[2026-08-02 16:55:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395723423423135744,"timestamp_seconds":4395723423423135.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":146911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":146911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":146911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131457792001,"66":12558,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131457792001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:55:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131457792001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:55:33] local.INFO: TCP Data received {"connection_id":149259,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:55:33] local.INFO: Processing buffer {"connection_id":149259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 16:55:33] local.INFO: IMEI packet received {"connection_id":149259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 16:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":149259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":146911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:55:33] local.INFO: GPS data processed {"connection_id":146911,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:55:33] local.INFO: Acknowledgment sent {"connection_id":146911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:55:34] local.INFO: TCP Data received {"connection_id":149259,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2377c20012d7ecc4005deeba0001000a22b..."} 
[2026-08-02 16:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2377c20012d7ecc4005deeba0001000a22b..."} 
[2026-08-02 16:55:34] local.INFO: Processing buffer {"connection_id":149259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2377c20012d7ecc4005deeba0001000a22b..."} 
[2026-08-02 16:55:34] local.INFO: Packet analysis {"connection_id":149259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:55:34] local.INFO: Extracted packet for processing {"connection_id":149259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:55:34] local.INFO: GPS Element Parsed {"raw_longitude":763284544,"raw_latitude":98495392,"longitude_deg":76.3284544,"latitude_deg":9.8495392,"altitude":16,"angle":162,"satellites":43,"speed":41,"hex_longitude":"2d7ecc40","hex_latitude":"05deeba0","is_valid_coordinates":true} 
[2026-08-02 16:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131479552001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114099435465605120,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135903713057247232,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785669844000,"timestamp_ms":1785669844000,"timestamp_seconds":1785669844,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2377c20"} 
[2026-08-02 16:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":149,"data_length":795,"current_offset":136} 
[2026-08-02 16:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:55: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-08-02 16:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131479552001,"66":12472,"206":206,"85":15104,"24":41,"16":114099435465605120,"45":9135903713057247232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-02 16:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131479552001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:55:34] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-02 16:55:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114099435465605120,"km_value":114099435465605.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135903713057247232,"description":"Unknown IO ID 45"} 
[2026-08-02 16:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131479552001,"power":12472,"unknown_206":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9135903713057247232}} 
[2026-08-02 16:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":149259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:55:34] local.INFO: GPS data processed {"connection_id":149259,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:55:34] local.INFO: Acknowledgment sent {"connection_id":149259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:55:36] local.INFO: TCP Data received {"connection_id":149259,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2378bc0012d7ecfc005dedae0001100ad2b..."} 
[2026-08-02 16:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2378bc0012d7ecfc005dedae0001100ad2b..."} 
[2026-08-02 16:55:36] local.INFO: Processing buffer {"connection_id":149259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2378bc0012d7ecfc005dedae0001100ad2b..."} 
[2026-08-02 16:55:36] local.INFO: Packet analysis {"connection_id":149259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:55:36] local.INFO: Extracted packet for processing {"connection_id":149259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:55:36] local.INFO: GPS Element Parsed {"raw_longitude":763285440,"raw_latitude":98491104,"longitude_deg":76.328544,"latitude_deg":9.8491104,"altitude":17,"angle":173,"satellites":43,"speed":44,"hex_longitude":"2d7ecfc0","hex_latitude":"05dedae0","is_valid_coordinates":true} 
[2026-08-02 16:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131480064001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114099650213969920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136748137986891776,"note":"Value kept but may cause issues"} 
[2026-08-02 16:55: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-08-02 16:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785669848000,"timestamp_ms":1785669848000,"timestamp_seconds":1785669848,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2378bc0"} 
[2026-08-02 16:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-02 16:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131480064001,"66":13396,"206":206,"85":15104,"24":44,"16":114099650213969920,"45":9136748137986891776},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-02 16:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131480064001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:55:36] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-02 16:55:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114099650213969920,"km_value":114099650213969.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136748137986891776,"description":"Unknown IO ID 45"} 
[2026-08-02 16:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131480064001,"power":13396,"unknown_206":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9136748137986891776}} 
[2026-08-02 16:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":149259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:55:36] local.INFO: GPS data processed {"connection_id":149259,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:55:36] local.INFO: Acknowledgment sent {"connection_id":149259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:55:59] local.INFO: TCP Data received {"connection_id":146912,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:55:59] local.INFO: Processing buffer {"connection_id":146912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:55:59] local.INFO: IMEI packet received {"connection_id":146912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":146912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:56:04] local.INFO: TCP Data received {"connection_id":146912,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:56:04] local.INFO: Processing buffer {"connection_id":146912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:56:04] local.INFO: IMEI packet received {"connection_id":146912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":146912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:56:05] local.INFO: TCP Data received {"connection_id":146912,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc236cc58012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc236cc58012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:56:05] local.INFO: Processing buffer {"connection_id":146912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc236cc58012d17c88007213290003d00bf2b..."} 
[2026-08-02 16:56:05] local.INFO: Packet analysis {"connection_id":146912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc236"} 
[2026-08-02 16:56:05] local.INFO: Extracted packet for processing {"connection_id":146912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc236"} 
[2026-08-02 16:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131463168001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785669799000,"timestamp_ms":1785669799000,"timestamp_seconds":1785669799,"priority":1,"record_length":96,"hex_timestamp":"0000019fc236cc58"} 
[2026-08-02 16:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-02 16:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3258225160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286108372087440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-02 16:56:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2147950898,"corrected_to":0} 
[2026-08-02 16:56:05] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2435776512,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:05] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:05] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:05] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:05] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,107,83,24,241,157,16,145,159,40,45,128,50,61,42,10,66,214,43,132,1,240,69,227,194,33,4,113,205,228,200,144,239,49,2,36,7,106,63,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":2147950898,"validated":0}]} 
[2026-08-02 16:56:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395723419128168448,"timestamp_seconds":4395723419128168.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131463168001,"66":12558,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131463168001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:56:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131463168001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":146912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:56:05] local.INFO: GPS data processed {"connection_id":146912,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:56:05] local.INFO: Acknowledgment sent {"connection_id":146912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:56:12] local.INFO: TCP Data received {"connection_id":149258,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:56:12] local.INFO: Processing buffer {"connection_id":149258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:56:12] local.INFO: Packet analysis {"connection_id":149258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:56:12] local.INFO: Extracted packet for processing {"connection_id":149258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:56:12] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131401984001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785669840000,"timestamp_ms":1785669840000,"timestamp_seconds":1785669840,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2376c80"} 
[2026-08-02 16:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":149258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":149258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":149258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131401984001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131401984001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:56:12] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:56:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131401984001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":149258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:56:12] local.INFO: GPS data processed {"connection_id":149258,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:56:12] local.INFO: Acknowledgment sent {"connection_id":149258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:56:24] local.INFO: TCP Data received {"connection_id":146913,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:56:24] local.INFO: Processing buffer {"connection_id":146913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:56:24] local.INFO: IMEI packet received {"connection_id":146913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":146913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:56:29] local.INFO: TCP Data received {"connection_id":146913,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:56:29] local.INFO: Processing buffer {"connection_id":146913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:56:29] local.INFO: IMEI packet received {"connection_id":146913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":146913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:56:31] local.INFO: TCP Data received {"connection_id":146913,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:56:31] local.INFO: Processing buffer {"connection_id":146913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:56:31] local.INFO: Packet analysis {"connection_id":146913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:56:31] local.INFO: Extracted packet for processing {"connection_id":146913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:56:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131401984001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785669840000,"timestamp_ms":1785669840000,"timestamp_seconds":1785669840,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2376c80"} 
[2026-08-02 16:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131401984001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131401984001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:56:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:56:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:56:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131401984001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":146913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:56:31] local.INFO: GPS data processed {"connection_id":146913,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:56:31] local.INFO: Acknowledgment sent {"connection_id":146913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:56:36] local.INFO: TCP Data received {"connection_id":146912,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2371e60012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2371e60012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:56:36] local.INFO: Processing buffer {"connection_id":146912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2371e60012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:56:36] local.INFO: Packet analysis {"connection_id":146912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:56:36] local.INFO: Extracted packet for processing {"connection_id":146912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131468544001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785669820000,"timestamp_ms":1785669820000,"timestamp_seconds":1785669820,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2371e60"} 
[2026-08-02 16:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:56: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-08-02 16:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-02 16:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3258246160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286108372087440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-02 16:56:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2147950898,"corrected_to":0} 
[2026-08-02 16:56:36] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2435776512,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:36] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,107,83,24,241,157,16,145,159,122,45,128,50,61,41,10,66,40,42,214,1,240,47,227,194,33,4,113,205,200,144,43,239,49,2,36,7,106,63,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":2147950898,"validated":0}]} 
[2026-08-02 16:56:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395723427718103040,"timestamp_seconds":4395723427718103.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131468544001,"66":12558,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131468544001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:56:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131468544001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":146912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:56:36] local.INFO: GPS data processed {"connection_id":146912,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:56:36] local.INFO: Acknowledgment sent {"connection_id":146912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:56:44] local.INFO: TCP Data received {"connection_id":149259,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2391260012d7f474005dd4f48000700a92b..."} 
[2026-08-02 16:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2391260012d7f474005dd4f48000700a92b..."} 
[2026-08-02 16:56:44] local.INFO: Processing buffer {"connection_id":149259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2391260012d7f474005dd4f48000700a92b..."} 
[2026-08-02 16:56:44] local.INFO: Packet analysis {"connection_id":149259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc239"} 
[2026-08-02 16:56:44] local.INFO: Extracted packet for processing {"connection_id":149259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc239"} 
[2026-08-02 16:56:44] local.INFO: GPS Element Parsed {"raw_longitude":763316032,"raw_latitude":98389832,"longitude_deg":76.3316032,"latitude_deg":9.8389832,"altitude":7,"angle":169,"satellites":43,"speed":50,"hex_longitude":"2d7f4740","hex_latitude":"05dd4f48","is_valid_coordinates":true} 
[2026-08-02 16:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131504896001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114104838534463488,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9169188129028024320,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785669948000,"timestamp_ms":1785669948000,"timestamp_seconds":1785669948,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2391260"} 
[2026-08-02 16:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-02 16:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168834555302,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":58077557095399468,"corrected_to":0} 
[2026-08-02 16:56:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3258464160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:44] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3838836740,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:44] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3355520383,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:44] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221609991,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392038,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3727192064,"note":"Value kept but may cause issues"} 
[2026-08-02 16:56:44] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,205,85,24,241,157,16,97,159,211,45,128,151,9,44,10,66,96,196,64,167,8,42,168,192,1,240,138,227,194,221,4,113,90,12,48,239,51,2,149,5],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":58077557095399468,"validated":0}]} 
[2026-08-02 16:56:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648702140879994880,"timestamp_seconds":648702140879994.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 16:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 16:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 16:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131504896001,"66":13363,"205":206,"85":15104,"24":50,"16":114104838534463488,"45":9169188129028024320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-02 16:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 16:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 16:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131504896001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:56:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 16:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114104838534463488,"km_value":114104838534463.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9169188129028024320,"description":"Unknown IO ID 45"} 
[2026-08-02 16:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131504896001,"power":13363,"cell_id":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9169188129028024320}} 
[2026-08-02 16:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":149259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:56:44] local.INFO: GPS data processed {"connection_id":149259,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:56:44] local.INFO: Acknowledgment sent {"connection_id":149259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:56:59] local.INFO: TCP Data received {"connection_id":149260,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:56:59] local.INFO: Processing buffer {"connection_id":149260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:56:59] local.INFO: IMEI packet received {"connection_id":149260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":149260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:57:02] local.INFO: TCP Data received {"connection_id":146913,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:57:02] local.INFO: Processing buffer {"connection_id":146913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:57:02] local.INFO: Packet analysis {"connection_id":146913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:57:02] local.INFO: Extracted packet for processing {"connection_id":146913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:57:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131401984001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785669840000,"timestamp_ms":1785669840000,"timestamp_seconds":1785669840,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2376c80"} 
[2026-08-02 16:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131401984001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131401984001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:57:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:57:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:57:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131401984001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":146913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:57:02] local.INFO: GPS data processed {"connection_id":146913,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:57:02] local.INFO: Acknowledgment sent {"connection_id":146913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:57:04] local.INFO: TCP Data received {"connection_id":149260,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:57:04] local.INFO: Processing buffer {"connection_id":149260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:57:04] local.INFO: IMEI packet received {"connection_id":149260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":149260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:57:04] local.INFO: TCP Data received {"connection_id":149260,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2377068012d17c88007213290003d00bf2f..."} 
[2026-08-02 16:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2377068012d17c88007213290003d00bf2f..."} 
[2026-08-02 16:57:04] local.INFO: Processing buffer {"connection_id":149260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2377068012d17c88007213290003d00bf2f..."} 
[2026-08-02 16:57:04] local.INFO: Packet analysis {"connection_id":149260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:57:04] local.INFO: Extracted packet for processing {"connection_id":149260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":47,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131473920001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669841000,"timestamp_ms":1785669841000,"timestamp_seconds":1785669841,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2377068"} 
[2026-08-02 16:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-02 16:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3258266160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286108372087440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-02 16:57:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2147950898,"corrected_to":0} 
[2026-08-02 16:57:04] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2435776512,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:04] local.WARNING: Large IO value detected {"io_id":64,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:04] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,107,83,24,241,157,16,145,159,204,45,128,50,61,43,10,66,122,41,40,1,240,4,227,194,33,113,205,132,200,144,46,239,49,2,36,7,106,64,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":2147950898,"validated":0}]} 
[2026-08-02 16:57:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395723432013070336,"timestamp_seconds":4395723432013070.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131473920001,"66":12558,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131473920001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:57:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131473920001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":149260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:57:04] local.INFO: GPS data processed {"connection_id":149260,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:57:04] local.INFO: Acknowledgment sent {"connection_id":149260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:57:32] local.INFO: TCP Data received {"connection_id":146688,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:57:32] local.INFO: Processing buffer {"connection_id":146688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:57:32] local.INFO: IMEI packet received {"connection_id":146688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":146688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:57:34] local.INFO: TCP Data received {"connection_id":146688,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:57:34] local.INFO: Processing buffer {"connection_id":146688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:57:34] local.INFO: IMEI packet received {"connection_id":146688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":146688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:57:35] local.INFO: TCP Data received {"connection_id":146688,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:57:35] local.INFO: Processing buffer {"connection_id":146688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:57:35] local.INFO: Packet analysis {"connection_id":146688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:57:35] local.INFO: Extracted packet for processing {"connection_id":146688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:57:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131401984001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785669840000,"timestamp_ms":1785669840000,"timestamp_seconds":1785669840,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2376c80"} 
[2026-08-02 16:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131401984001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131401984001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:57:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:57:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:57:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131401984001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":146688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:57:35] local.INFO: GPS data processed {"connection_id":146688,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:57:35] local.INFO: Acknowledgment sent {"connection_id":146688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:57:35] local.INFO: TCP Data received {"connection_id":149260,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc237c270012d17c88007213290003d00bf2f..."} 
[2026-08-02 16:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc237c270012d17c88007213290003d00bf2f..."} 
[2026-08-02 16:57:35] local.INFO: Processing buffer {"connection_id":149260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc237c270012d17c88007213290003d00bf2f..."} 
[2026-08-02 16:57:35] local.INFO: Packet analysis {"connection_id":149260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:57:35] local.INFO: Extracted packet for processing {"connection_id":149260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":47,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131479296001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785669862000,"timestamp_ms":1785669862000,"timestamp_seconds":1785669862,"priority":1,"record_length":96,"hex_timestamp":"0000019fc237c270"} 
[2026-08-02 16:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:57: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-08-02 16:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3258287160,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286108372087440,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-02 16:57:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2147950898,"corrected_to":0} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2435776512,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":64,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,107,83,24,241,157,16,145,159,30,45,128,50,61,44,10,66,204,43,122,1,240,14,227,194,33,4,113,205,214,200,144,239,49,2,36,7,106,64,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":2147950898,"validated":0}]} 
[2026-08-02 16:57:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395723444897972224,"timestamp_seconds":4395723444897972.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 16:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131479296001,"66":12526,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131479296001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:57:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131479296001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":149260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:57:36] local.INFO: GPS data processed {"connection_id":149260,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:57:36] local.INFO: Acknowledgment sent {"connection_id":149260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:57:40] local.INFO: TCP Data received {"connection_id":146688,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:57:40] local.INFO: Processing buffer {"connection_id":146688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:57:40] local.INFO: Packet analysis {"connection_id":146688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:57:40] local.INFO: Extracted packet for processing {"connection_id":146688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:57:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131401984001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785669840000,"timestamp_ms":1785669840000,"timestamp_seconds":1785669840,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2376c80"} 
[2026-08-02 16:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:57: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-08-02 16: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":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131401984001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131401984001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:57:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:57:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131401984001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":146688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:57:40] local.INFO: GPS data processed {"connection_id":146688,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:57:40] local.INFO: Acknowledgment sent {"connection_id":146688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:57:58] local.INFO: TCP Data received {"connection_id":147960,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:57:58] local.INFO: Processing buffer {"connection_id":147960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:57:58] local.INFO: IMEI packet received {"connection_id":147960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":147960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:58:04] local.INFO: TCP Data received {"connection_id":147960,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:58:04] local.INFO: Processing buffer {"connection_id":147960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:58:04] local.INFO: IMEI packet received {"connection_id":147960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":147960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:58:04] local.INFO: TCP Data received {"connection_id":147960,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2381478012d17c88007213290003d00bf2e..."} 
[2026-08-02 16:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2381478012d17c88007213290003d00bf2e..."} 
[2026-08-02 16:58:04] local.INFO: Processing buffer {"connection_id":147960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2381478012d17c88007213290003d00bf2e..."} 
[2026-08-02 16:58:04] local.INFO: Packet analysis {"connection_id":147960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc238"} 
[2026-08-02 16:58:04] local.INFO: Extracted packet for processing {"connection_id":147960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc238"} 
[2026-08-02 16:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131484672001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669883000,"timestamp_ms":1785669883000,"timestamp_seconds":1785669883,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2381478"} 
[2026-08-02 16:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:58: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-08-02 16:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 16:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131484672001,"66":12537,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131484672001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:58:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131484672001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":147960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:58:04] local.INFO: GPS data processed {"connection_id":147960,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:58:04] local.INFO: Acknowledgment sent {"connection_id":147960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:58:34] local.INFO: TCP Data received {"connection_id":146914,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:58:34] local.INFO: Processing buffer {"connection_id":146914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:58:34] local.INFO: IMEI packet received {"connection_id":146914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":146914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:58:35] local.INFO: TCP Data received {"connection_id":147960,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2386680012d17c88007213290003d00bf2d..."} 
[2026-08-02 16:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2386680012d17c88007213290003d00bf2d..."} 
[2026-08-02 16:58:35] local.INFO: Processing buffer {"connection_id":147960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2386680012d17c88007213290003d00bf2d..."} 
[2026-08-02 16:58:35] local.INFO: Packet analysis {"connection_id":147960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc238"} 
[2026-08-02 16:58:35] local.INFO: Extracted packet for processing {"connection_id":147960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc238"} 
[2026-08-02 16:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131490048001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785669904000,"timestamp_ms":1785669904000,"timestamp_seconds":1785669904,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2386680"} 
[2026-08-02 16:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16: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-08-02 16:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-02 16:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131490048001,"66":12526,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131490048001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:58:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131490048001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":147960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:58:36] local.INFO: GPS data processed {"connection_id":147960,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:58:36] local.INFO: Acknowledgment sent {"connection_id":147960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:58:39] local.INFO: TCP Data received {"connection_id":146914,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:58:39] local.INFO: Processing buffer {"connection_id":146914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:58:39] local.INFO: IMEI packet received {"connection_id":146914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":146914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:59:04] local.INFO: TCP Data received {"connection_id":146690,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:59:04] local.INFO: Processing buffer {"connection_id":146690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:59:04] local.INFO: IMEI packet received {"connection_id":146690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":146690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:59:08] local.INFO: TCP Data received {"connection_id":146690,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:59:08] local.INFO: Processing buffer {"connection_id":146690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:59:08] local.INFO: IMEI packet received {"connection_id":146690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 16:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":146690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:59:09] local.INFO: TCP Data received {"connection_id":146690,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc238bc70012d17c88007213290003d00bf2d..."} 
[2026-08-02 16:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc238bc70012d17c88007213290003d00bf2d..."} 
[2026-08-02 16:59:09] local.INFO: Processing buffer {"connection_id":146690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc238bc70012d17c88007213290003d00bf2d..."} 
[2026-08-02 16:59:09] local.INFO: Packet analysis {"connection_id":146690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc238"} 
[2026-08-02 16:59:09] local.INFO: Extracted packet for processing {"connection_id":146690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc238"} 
[2026-08-02 16:59:09] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131495424001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785669926000,"timestamp_ms":1785669926000,"timestamp_seconds":1785669926,"priority":1,"record_length":96,"hex_timestamp":"0000019fc238bc70"} 
[2026-08-02 16:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 16:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131495424001,"66":12526,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131495424001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:59:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:59:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131495424001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":146690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:59:09] local.INFO: GPS data processed {"connection_id":146690,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:59:09] local.INFO: Acknowledgment sent {"connection_id":146690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:59:13] local.INFO: TCP Data received {"connection_id":146690,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2390e78012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2390e78012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:59:13] local.INFO: Processing buffer {"connection_id":146690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2390e78012d17c88007213290003d00bf2c..."} 
[2026-08-02 16:59:13] local.INFO: Packet analysis {"connection_id":146690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc239"} 
[2026-08-02 16:59:13] local.INFO: Extracted packet for processing {"connection_id":146690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc239"} 
[2026-08-02 16:59:13] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 16:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131501056001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785669947000,"timestamp_ms":1785669947000,"timestamp_seconds":1785669947,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2390e78"} 
[2026-08-02 16:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 16:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 16:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 16:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 16:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131501056001,"66":12504,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 16:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 16:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 16:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131501056001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:59:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 16:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 16:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 16:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131501056001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 16:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":146690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:59:13] local.INFO: GPS data processed {"connection_id":146690,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:59:13] local.INFO: Acknowledgment sent {"connection_id":146690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:59:14] local.INFO: TCP Data received {"connection_id":146914,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:59:14] local.INFO: Processing buffer {"connection_id":146914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2376c80012cc330c007685958005800c528..."} 
[2026-08-02 16:59:14] local.INFO: Packet analysis {"connection_id":146914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:59:14] local.INFO: Extracted packet for processing {"connection_id":146914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc237"} 
[2026-08-02 16:59:14] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16: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-08-02 16:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131401984001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785669840000,"timestamp_ms":1785669840000,"timestamp_seconds":1785669840,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2376c80"} 
[2026-08-02 16:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:59: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-08-02 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 16:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 16: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-08-02 16:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131401984001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 16:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131401984001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:59:14] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 16:59:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:59:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131401984001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":146914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:59:14] local.INFO: GPS data processed {"connection_id":146914,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:59:14] local.INFO: Acknowledgment sent {"connection_id":146914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:59:33] local.INFO: TCP Data received {"connection_id":147962,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:59:33] local.INFO: Processing buffer {"connection_id":147962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:59:33] local.INFO: IMEI packet received {"connection_id":147962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 16:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":147962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 16:59:40] local.INFO: TCP Data received {"connection_id":147962,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:59:40] local.INFO: Processing buffer {"connection_id":147962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 16:59:40] local.INFO: IMEI packet received {"connection_id":147962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 16:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":147962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 16:59:42] local.INFO: TCP Data received {"connection_id":147962,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 16:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 16:59:42] local.INFO: Processing buffer {"connection_id":147962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 16:59:42] local.INFO: Packet analysis {"connection_id":147962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 16:59:42] local.INFO: Extracted packet for processing {"connection_id":147962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 16:59:42] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131479040001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785670141000,"timestamp_ms":1785670141000,"timestamp_seconds":1785670141,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23c0448"} 
[2026-08-02 16:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 16:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 16:59: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-08-02 16:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131479040001,"66":25397,"226":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,27,24,16,44]} 
[2026-08-02 16:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131479040001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:59:42] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-02 16:59:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131479040001,"power":25397,"unknown_226":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":147962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:59:42] local.INFO: GPS data processed {"connection_id":147962,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:59:42] local.INFO: Acknowledgment sent {"connection_id":147962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:59:44] local.INFO: TCP Data received {"connection_id":147962,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 16:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 16:59:44] local.INFO: Processing buffer {"connection_id":147962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 16:59:44] local.INFO: Packet analysis {"connection_id":147962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 16:59:44] local.INFO: Extracted packet for processing {"connection_id":147962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 16:59:44] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 16:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 16:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131479040001,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 16:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 16:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785670141000,"timestamp_ms":1785670141000,"timestamp_seconds":1785670141,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23c0448"} 
[2026-08-02 16:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 16:59: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-08-02 16:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 16:59: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-08-02 16:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 16:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 16:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 16:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 16:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 16:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 16:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 16:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 16:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131479040001,"66":25397,"226":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,27,24,16,44]} 
[2026-08-02 16:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 16:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 16:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131479040001,"description":"Unknown IO ID 0"} 
[2026-08-02 16:59:44] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-02 16:59:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 16:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 16:59:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 16:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131479040001,"power":25397,"unknown_226":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 16:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":147962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 16:59:44] local.INFO: GPS data processed {"connection_id":147962,"processed":1,"errors":0,"total":1} 
[2026-08-02 16:59:44] local.INFO: Acknowledgment sent {"connection_id":147962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 16:59:59] local.INFO: TCP Data received {"connection_id":149262,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:59:59] local.INFO: Processing buffer {"connection_id":149262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 16:59:59] local.INFO: IMEI packet received {"connection_id":149262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 16:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":149262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:00:04] local.INFO: TCP Data received {"connection_id":149262,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:00:04] local.INFO: Processing buffer {"connection_id":149262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:00:04] local.INFO: IMEI packet received {"connection_id":149262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":149262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:00:04] local.INFO: TCP Data received {"connection_id":149262,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2395c98012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2395c98012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:00:04] local.INFO: Processing buffer {"connection_id":149262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2395c98012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:00:04] local.INFO: Packet analysis {"connection_id":149262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc239"} 
[2026-08-02 17:00:04] local.INFO: Extracted packet for processing {"connection_id":149262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc239"} 
[2026-08-02 17:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131506432001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785669967000,"timestamp_ms":1785669967000,"timestamp_seconds":1785669967,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2395c98"} 
[2026-08-02 17:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:00: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-08-02 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 17:00: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-08-02 17:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131506432001,"66":12461,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131506432001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:00:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131506432001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":149262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:00:04] local.INFO: GPS data processed {"connection_id":149262,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:00:04] local.INFO: Acknowledgment sent {"connection_id":149262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:00:23] local.INFO: TCP Data received {"connection_id":146915,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:00:23] local.INFO: Processing buffer {"connection_id":146915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:00:23] local.INFO: IMEI packet received {"connection_id":146915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":146915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:00:35] local.INFO: TCP Data received {"connection_id":149262,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc239aea0012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc239aea0012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:00:35] local.INFO: Processing buffer {"connection_id":149262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc239aea0012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:00:35] local.INFO: Packet analysis {"connection_id":149262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc239"} 
[2026-08-02 17:00:35] local.INFO: Extracted packet for processing {"connection_id":149262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc239"} 
[2026-08-02 17:00:35] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131511552001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785669988000,"timestamp_ms":1785669988000,"timestamp_seconds":1785669988,"priority":1,"record_length":96,"hex_timestamp":"0000019fc239aea0"} 
[2026-08-02 17:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 17:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131511552001,"66":12504,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131511552001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:00:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:00:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131511552001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":149262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:00:35] local.INFO: GPS data processed {"connection_id":149262,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:00:35] local.INFO: Acknowledgment sent {"connection_id":149262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:00:39] local.INFO: TCP Data received {"connection_id":146915,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:00:39] local.INFO: Processing buffer {"connection_id":146915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:00:39] local.INFO: IMEI packet received {"connection_id":146915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":146915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:00:41] local.INFO: TCP Data received {"connection_id":146915,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:00:41] local.INFO: Processing buffer {"connection_id":146915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:00:41] local.INFO: Packet analysis {"connection_id":146915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:00:41] local.INFO: Extracted packet for processing {"connection_id":146915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:00:41] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131479040001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785670141000,"timestamp_ms":1785670141000,"timestamp_seconds":1785670141,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23c0448"} 
[2026-08-02 17:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:00: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-08-02 17:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131479040001,"66":25397,"226":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,27,24,16,44]} 
[2026-08-02 17:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131479040001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:00:41] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-02 17:00:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131479040001,"power":25397,"unknown_226":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":146915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:00:41] local.INFO: GPS data processed {"connection_id":146915,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:00:41] local.INFO: Acknowledgment sent {"connection_id":146915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:00:58] local.INFO: TCP Data received {"connection_id":146691,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:00:58] local.INFO: Processing buffer {"connection_id":146691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:00:58] local.INFO: IMEI packet received {"connection_id":146691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":146691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:00:58] local.INFO: TCP Data received {"connection_id":146691,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:00:58] local.INFO: Processing buffer {"connection_id":146691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:00:58] local.INFO: IMEI packet received {"connection_id":146691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":146691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:01:04] local.INFO: TCP Data received {"connection_id":146691,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:01:04] local.INFO: Processing buffer {"connection_id":146691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:01:04] local.INFO: IMEI packet received {"connection_id":146691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":146691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:01:04] local.INFO: TCP Data received {"connection_id":146691,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23a00a8012d17c88007213290003d00bf2f..."} 
[2026-08-02 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23a00a8012d17c88007213290003d00bf2f..."} 
[2026-08-02 17:01:04] local.INFO: Processing buffer {"connection_id":146691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23a00a8012d17c88007213290003d00bf2f..."} 
[2026-08-02 17:01:04] local.INFO: Packet analysis {"connection_id":146691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23a"} 
[2026-08-02 17:01:04] local.INFO: Extracted packet for processing {"connection_id":146691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23a"} 
[2026-08-02 17:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":47,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131516928001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785670009000,"timestamp_ms":1785670009000,"timestamp_seconds":1785670009,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23a00a8"} 
[2026-08-02 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-08-02 17:01: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-08-02 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 17:01: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-08-02 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-08-02 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-08-02 17:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131516928001,"66":12461,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131516928001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:01:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131516928001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":146691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:01:04] local.INFO: GPS data processed {"connection_id":146691,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:01:04] local.INFO: Acknowledgment sent {"connection_id":146691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:01:29] local.INFO: TCP Data received {"connection_id":146917,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:01:29] local.INFO: Processing buffer {"connection_id":146917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:01:29] local.INFO: IMEI packet received {"connection_id":146917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":146917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:01:34] local.INFO: TCP Data received {"connection_id":146917,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:01:34] local.INFO: Processing buffer {"connection_id":146917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:01:34] local.INFO: IMEI packet received {"connection_id":146917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":146917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:01:36] local.INFO: TCP Data received {"connection_id":146691,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23a52b0012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23a52b0012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:01:36] local.INFO: Processing buffer {"connection_id":146691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23a52b0012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:01:36] local.INFO: Packet analysis {"connection_id":146691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23a"} 
[2026-08-02 17:01:36] local.INFO: Extracted packet for processing {"connection_id":146691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23a"} 
[2026-08-02 17:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131522304001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785670030000,"timestamp_ms":1785670030000,"timestamp_seconds":1785670030,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23a52b0"} 
[2026-08-02 17:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 17:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131522304001,"66":12461,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131522304001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:01:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131522304001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":146691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:01:36] local.INFO: GPS data processed {"connection_id":146691,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:01:36] local.INFO: Acknowledgment sent {"connection_id":146691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:01:36] local.INFO: TCP Data received {"connection_id":146917,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:01:36] local.INFO: Processing buffer {"connection_id":146917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:01:36] local.INFO: Packet analysis {"connection_id":146917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:01:36] local.INFO: Extracted packet for processing {"connection_id":146917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:01:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131479040001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:01:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785670141000,"timestamp_ms":1785670141000,"timestamp_seconds":1785670141,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23c0448"} 
[2026-08-02 17:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:01: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-08-02 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131479040001,"66":25397,"226":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,27,24,16,44]} 
[2026-08-02 17:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131479040001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:01:36] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-02 17:01:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:01:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131479040001,"power":25397,"unknown_226":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":146917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:01:36] local.INFO: GPS data processed {"connection_id":146917,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:01:36] local.INFO: Acknowledgment sent {"connection_id":146917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:01:56] local.INFO: TCP Data received {"connection_id":147963,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:01:56] local.INFO: Processing buffer {"connection_id":147963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:01:56] local.INFO: IMEI packet received {"connection_id":147963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":147963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:01:56] local.INFO: TCP Data received {"connection_id":147963,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23db5e0012d80b98005d9a520000900a72b..."} 
[2026-08-02 17:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23db5e0012d80b98005d9a520000900a72b..."} 
[2026-08-02 17:01:56] local.INFO: Processing buffer {"connection_id":147963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23db5e0012d80b98005d9a520000900a72b..."} 
[2026-08-02 17:01:56] local.INFO: Packet analysis {"connection_id":147963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23d"} 
[2026-08-02 17:01:56] local.INFO: Extracted packet for processing {"connection_id":147963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23d"} 
[2026-08-02 17:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763410816,"raw_latitude":98149664,"longitude_deg":76.3410816,"latitude_deg":9.8149664,"altitude":9,"angle":167,"satellites":43,"speed":41,"hex_longitude":"2d80b980","hex_latitude":"05d9a520","is_valid_coordinates":true} 
[2026-08-02 17:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131581952001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114117800745762816,"note":"Value kept but may cause issues"} 
[2026-08-02 17:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173058359639115776,"note":"Value kept but may cause issues"} 
[2026-08-02 17:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785670252000,"timestamp_ms":1785670252000,"timestamp_seconds":1785670252,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23db5e0"} 
[2026-08-02 17:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":166,"data_length":795,"current_offset":136} 
[2026-08-02 17:01: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-08-02 17:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131581952001,"66":13396,"9":206,"85":15104,"24":41,"16":114117800745762816,"45":-9173058359639115776},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-02 17:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131581952001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:01:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-02 17:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114117800745762816,"km_value":114117800745762.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173058359639115776,"description":"Unknown IO ID 45"} 
[2026-08-02 17:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131581952001,"power":13396,"unknown_9":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9173058359639115776}} 
[2026-08-02 17:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":147963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:01:56] local.INFO: GPS data processed {"connection_id":147963,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:01:56] local.INFO: Acknowledgment sent {"connection_id":147963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:01:58] local.INFO: TCP Data received {"connection_id":146692,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:01:58] local.INFO: Processing buffer {"connection_id":146692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:01:58] local.INFO: IMEI packet received {"connection_id":146692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":146692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:02:01] local.INFO: TCP Data received {"connection_id":146692,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:02:01] local.INFO: Processing buffer {"connection_id":146692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:02:01] local.INFO: IMEI packet received {"connection_id":146692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":146692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:02:04] local.INFO: TCP Data received {"connection_id":146692,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:02:04] local.INFO: Processing buffer {"connection_id":146692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:02:04] local.INFO: IMEI packet received {"connection_id":146692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":146692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:02:04] local.INFO: TCP Data received {"connection_id":146692,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23aa4b8012d17c88007213290003d00bf2a..."} 
[2026-08-02 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23aa4b8012d17c88007213290003d00bf2a..."} 
[2026-08-02 17:02:04] local.INFO: Processing buffer {"connection_id":146692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23aa4b8012d17c88007213290003d00bf2a..."} 
[2026-08-02 17:02:04] local.INFO: Packet analysis {"connection_id":146692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23a"} 
[2026-08-02 17:02:04] local.INFO: Extracted packet for processing {"connection_id":146692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23a"} 
[2026-08-02 17:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131527680001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785670051000,"timestamp_ms":1785670051000,"timestamp_seconds":1785670051,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23aa4b8"} 
[2026-08-02 17:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 17:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131527680001,"66":12461,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131527680001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:02:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131527680001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":146692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:02:05] local.INFO: GPS data processed {"connection_id":146692,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:02:05] local.INFO: Acknowledgment sent {"connection_id":146692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:02:08] local.INFO: TCP Data received {"connection_id":146692,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23af6c0012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23af6c0012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:02:08] local.INFO: Processing buffer {"connection_id":146692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23af6c0012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:02:08] local.INFO: Packet analysis {"connection_id":146692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23a"} 
[2026-08-02 17:02:08] local.INFO: Extracted packet for processing {"connection_id":146692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23a"} 
[2026-08-02 17:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131533056001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785670072000,"timestamp_ms":1785670072000,"timestamp_seconds":1785670072,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23af6c0"} 
[2026-08-02 17:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 17:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131533056001,"66":12504,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131533056001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:02:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131533056001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":146692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:02:09] local.INFO: GPS data processed {"connection_id":146692,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:02:09] local.INFO: Acknowledgment sent {"connection_id":146692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:02:09] local.INFO: TCP Data received {"connection_id":146917,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:02:09] local.INFO: Processing buffer {"connection_id":146917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:02:09] local.INFO: Packet analysis {"connection_id":146917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:02:09] local.INFO: Extracted packet for processing {"connection_id":146917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:02:09] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131479040001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785670141000,"timestamp_ms":1785670141000,"timestamp_seconds":1785670141,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23c0448"} 
[2026-08-02 17:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:02: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-08-02 17:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:02: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-08-02 17:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131479040001,"66":25397,"226":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,27,24,16,44]} 
[2026-08-02 17:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131479040001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:02:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-02 17:02:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:02:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131479040001,"power":25397,"unknown_226":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":146917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:02:09] local.INFO: GPS data processed {"connection_id":146917,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:02:09] local.INFO: Acknowledgment sent {"connection_id":146917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:02:23] local.INFO: TCP Data received {"connection_id":146918,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:02:23] local.INFO: Processing buffer {"connection_id":146918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:02:23] local.INFO: IMEI packet received {"connection_id":146918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":146918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:02:27] local.INFO: TCP Data received {"connection_id":146919,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:02:27] local.INFO: Processing buffer {"connection_id":146919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:02:27] local.INFO: IMEI packet received {"connection_id":146919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":146919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:02:27] local.INFO: TCP Data received {"connection_id":146919,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:02:27] local.INFO: Processing buffer {"connection_id":146919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:02:27] local.INFO: IMEI packet received {"connection_id":146919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":146919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:02:29] local.INFO: TCP Data received {"connection_id":146918,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:02:29] local.INFO: Processing buffer {"connection_id":146918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:02:29] local.INFO: IMEI packet received {"connection_id":146918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":146918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:02:30] local.INFO: TCP Data received {"connection_id":146918,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:02:30] local.INFO: Processing buffer {"connection_id":146918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:02:30] local.INFO: Packet analysis {"connection_id":146918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:02:30] local.INFO: Extracted packet for processing {"connection_id":146918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:02:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131479040001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785670141000,"timestamp_ms":1785670141000,"timestamp_seconds":1785670141,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23c0448"} 
[2026-08-02 17:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131479040001,"66":25397,"226":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,27,24,16,44]} 
[2026-08-02 17:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131479040001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:02:30] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-02 17:02:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131479040001,"power":25397,"unknown_226":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":146918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:02:30] local.INFO: GPS data processed {"connection_id":146918,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:02:30] local.INFO: Acknowledgment sent {"connection_id":146918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:02:33] local.INFO: TCP Data received {"connection_id":146919,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:02:33] local.INFO: Processing buffer {"connection_id":146919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:02:33] local.INFO: IMEI packet received {"connection_id":146919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":146919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:02:34] local.INFO: TCP Data received {"connection_id":146919,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23dd908012d80c48005d980f80009009729..."} 
[2026-08-02 17:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23dd908012d80c48005d980f80009009729..."} 
[2026-08-02 17:02:34] local.INFO: Processing buffer {"connection_id":146919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23dd908012d80c48005d980f80009009729..."} 
[2026-08-02 17:02:34] local.INFO: Packet analysis {"connection_id":146919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23d"} 
[2026-08-02 17:02:34] local.INFO: Extracted packet for processing {"connection_id":146919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23d"} 
[2026-08-02 17:02:34] local.INFO: GPS Element Parsed {"raw_longitude":763413632,"raw_latitude":98140408,"longitude_deg":76.3413632,"latitude_deg":9.8140408,"altitude":9,"angle":151,"satellites":41,"speed":43,"hex_longitude":"2d80c480","hex_latitude":"05d980f8","is_valid_coordinates":true} 
[2026-08-02 17:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131584512001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114118268897198080,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9171158403548635136,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785670261000,"timestamp_ms":1785670261000,"timestamp_seconds":1785670261,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23dd908"} 
[2026-08-02 17:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-02 17:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:02: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-08-02 17:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131584512001,"66":13472,"9":206,"85":15104,"24":43,"16":114118268897198080,"45":-9171158403548635136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-02 17:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131584512001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:02:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-02 17:02:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114118268897198080,"km_value":114118268897198.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9171158403548635136,"description":"Unknown IO ID 45"} 
[2026-08-02 17:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131584512001,"power":13472,"unknown_9":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9171158403548635136}} 
[2026-08-02 17:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":146919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:02:34] local.INFO: GPS data processed {"connection_id":146919,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:02:34] local.INFO: Acknowledgment sent {"connection_id":146919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:02:35] local.INFO: TCP Data received {"connection_id":146919,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23dd908012d80c48005d980f80009009729..."} 
[2026-08-02 17:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23dd908012d80c48005d980f80009009729..."} 
[2026-08-02 17:02:35] local.INFO: Processing buffer {"connection_id":146919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23dd908012d80c48005d980f80009009729..."} 
[2026-08-02 17:02:35] local.INFO: Packet analysis {"connection_id":146919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23d"} 
[2026-08-02 17:02:35] local.INFO: Extracted packet for processing {"connection_id":146919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23d"} 
[2026-08-02 17:02:35] local.INFO: GPS Element Parsed {"raw_longitude":763413632,"raw_latitude":98140408,"longitude_deg":76.3413632,"latitude_deg":9.8140408,"altitude":9,"angle":151,"satellites":41,"speed":43,"hex_longitude":"2d80c480","hex_latitude":"05d980f8","is_valid_coordinates":true} 
[2026-08-02 17:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131586816001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114118268897198080,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9168062178807187456,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785670261000,"timestamp_ms":1785670261000,"timestamp_seconds":1785670261,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23dd908"} 
[2026-08-02 17:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 17:02: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-08-02 17:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131586816001,"66":13472,"9":206,"85":15104,"24":43,"16":114118268897198080,"45":-9168062178807187456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-02 17:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131586816001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:02:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-02 17:02:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114118268897198080,"km_value":114118268897198.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9168062178807187456,"description":"Unknown IO ID 45"} 
[2026-08-02 17:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131586816001,"power":13472,"unknown_9":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9168062178807187456}} 
[2026-08-02 17:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":146919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:02:35] local.INFO: GPS data processed {"connection_id":146919,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:02:35] local.INFO: Acknowledgment sent {"connection_id":146919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:02:40] local.INFO: TCP Data received {"connection_id":146692,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23b48c8012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23b48c8012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:02:40] local.INFO: Processing buffer {"connection_id":146692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23b48c8012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:02:40] local.INFO: Packet analysis {"connection_id":146692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23b"} 
[2026-08-02 17:02:40] local.INFO: Extracted packet for processing {"connection_id":146692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23b"} 
[2026-08-02 17:02:40] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131538432001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785670093000,"timestamp_ms":1785670093000,"timestamp_seconds":1785670093,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23b48c8"} 
[2026-08-02 17:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:02: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-08-02 17:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 17:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131538432001,"66":12504,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131538432001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:02:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:02:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131538432001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":146692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:02:40] local.INFO: GPS data processed {"connection_id":146692,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:02:40] local.INFO: Acknowledgment sent {"connection_id":146692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:02:58] local.INFO: TCP Data received {"connection_id":146693,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:02:58] local.INFO: Processing buffer {"connection_id":146693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:02:58] local.INFO: IMEI packet received {"connection_id":146693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":146693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:03:04] local.INFO: TCP Data received {"connection_id":146693,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:03:04] local.INFO: Processing buffer {"connection_id":146693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:03:04] local.INFO: IMEI packet received {"connection_id":146693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":146693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:03:04] local.INFO: TCP Data received {"connection_id":146693,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23b9ad0012d17c88007213290003d00bf2b..."} 
[2026-08-02 17:03:04] local.INFO: TCP Data received {"connection_id":146918,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23b9ad0012d17c88007213290003d00bf2b..."} 
[2026-08-02 17:03:04] local.INFO: Processing buffer {"connection_id":146693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23b9ad0012d17c88007213290003d00bf2b..."} 
[2026-08-02 17:03:04] local.INFO: Packet analysis {"connection_id":146693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23b"} 
[2026-08-02 17:03:04] local.INFO: Extracted packet for processing {"connection_id":146693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23b"} 
[2026-08-02 17:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131543808001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785670114000,"timestamp_ms":1785670114000,"timestamp_seconds":1785670114,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23b9ad0"} 
[2026-08-02 17:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:03: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-08-02 17:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 17:03: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-08-02 17:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:03:04] local.INFO: Processing buffer {"connection_id":146918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:03:04] local.INFO: Packet analysis {"connection_id":146918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:03:04] local.INFO: Extracted packet for processing {"connection_id":146918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:03:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131543808001,"66":12504,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131479040001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785670141000,"timestamp_ms":1785670141000,"timestamp_seconds":1785670141,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23c0448"} 
[2026-08-02 17:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131543808001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:03:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131543808001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131479040001,"66":25397,"226":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,27,24,16,44]} 
[2026-08-02 17:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131479040001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:03:04] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-02 17:03:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131479040001,"power":25397,"unknown_226":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":146918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:03:04] local.INFO: GPS data processed {"connection_id":146918,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:03:04] local.INFO: Acknowledgment sent {"connection_id":146918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":146693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:03:04] local.INFO: GPS data processed {"connection_id":146693,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:03:04] local.INFO: Acknowledgment sent {"connection_id":146693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:03:06] local.INFO: TCP Data received {"connection_id":146919,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23f7b00012d813c0005d7dfc8000900a52b..."} 
[2026-08-02 17:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23f7b00012d813c0005d7dfc8000900a52b..."} 
[2026-08-02 17:03:06] local.INFO: Processing buffer {"connection_id":146919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23f7b00012d813c0005d7dfc8000900a52b..."} 
[2026-08-02 17:03:06] local.INFO: Packet analysis {"connection_id":146919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23f"} 
[2026-08-02 17:03:06] local.INFO: Extracted packet for processing {"connection_id":146919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23f"} 
[2026-08-02 17:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763444224,"raw_latitude":98033608,"longitude_deg":76.3444224,"latitude_deg":9.8033608,"altitude":9,"angle":165,"satellites":43,"speed":51,"hex_longitude":"2d813c00","hex_latitude":"05d7dfc8","is_valid_coordinates":true} 
[2026-08-02 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-08-02 17:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131612416001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114123723505664000,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136607350184843264,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785670368000,"timestamp_ms":1785670368000,"timestamp_seconds":1785670368,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23f7b00"} 
[2026-08-02 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-08-02 17:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 17:03:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3258886160,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165243909,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:06] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2550214016,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:06] local.WARNING: Large IO value detected {"io_id":216,"raw_value":-2810246120222873088,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":789184718,"corrected_to":0} 
[2026-08-02 17:03:06] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407087,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3636117504,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57754090235385147,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:06] local.WARNING: Large IO value detected {"io_id":62,"raw_value":8732480972420202501,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,17,85,24,241,157,16,114,159,64,45,41,10,42,66,33,78,12,43,113,1,192,240,187,227,194,216,4,205,40,254,104,239,52,2,149,5,11,19,7,62],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":789184718,"validated":0}]} 
[2026-08-02 17:03:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720759743507988480,"timestamp_seconds":720759743507988.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 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-08-02 17:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:03: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-08-02 17:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131612416001,"66":13472,"17":206,"85":15104,"24":51,"16":114123723505664000,"45":-9136607350184843264},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-02 17:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131612416001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114123723505664000,"km_value":114123723505664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136607350184843264,"description":"Unknown IO ID 45"} 
[2026-08-02 17:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131612416001,"power":13472,"axis_x":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9136607350184843264}} 
[2026-08-02 17:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":146919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:03:06] local.INFO: GPS data processed {"connection_id":146919,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:03:06] local.INFO: Acknowledgment sent {"connection_id":146919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:03:27] local.INFO: TCP Data received {"connection_id":146920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:03:27] local.INFO: Processing buffer {"connection_id":146920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:03:27] local.INFO: IMEI packet received {"connection_id":146920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":146920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:03:27] local.INFO: TCP Data received {"connection_id":146920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:03:27] local.INFO: Processing buffer {"connection_id":146920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:03:27] local.INFO: IMEI packet received {"connection_id":146920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":146920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:03:32] local.INFO: TCP Data received {"connection_id":146920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:03:32] local.INFO: Processing buffer {"connection_id":146920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:03:32] local.INFO: IMEI packet received {"connection_id":146920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":146920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:03:33] local.INFO: TCP Data received {"connection_id":146921,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:03:33] local.INFO: Processing buffer {"connection_id":146921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:03:33] local.INFO: IMEI packet received {"connection_id":146921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":146921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:03:34] local.INFO: TCP Data received {"connection_id":146920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23f9658012d81460005d7bd90000800a22b..."} 
[2026-08-02 17:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23f9658012d81460005d7bd90000800a22b..."} 
[2026-08-02 17:03:34] local.INFO: Processing buffer {"connection_id":146920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23f9658012d81460005d7bd90000800a22b..."} 
[2026-08-02 17:03:34] local.INFO: Packet analysis {"connection_id":146920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23f"} 
[2026-08-02 17:03:34] local.INFO: Extracted packet for processing {"connection_id":146920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23f"} 
[2026-08-02 17:03:34] local.INFO: GPS Element Parsed {"raw_longitude":763446784,"raw_latitude":98024848,"longitude_deg":76.3446784,"latitude_deg":9.8024848,"altitude":8,"angle":162,"satellites":43,"speed":51,"hex_longitude":"2d814600","hex_latitude":"05d7bd90","is_valid_coordinates":true} 
[2026-08-02 17:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131614208001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114124165887295488,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134425919117604864,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785670375000,"timestamp_ms":1785670375000,"timestamp_seconds":1785670375,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23f9658"} 
[2026-08-02 17:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 17:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:03: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-08-02 17:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131614208001,"66":13396,"17":206,"85":15104,"24":51,"16":114124165887295488,"45":-9134425919117604864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-02 17:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131614208001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:03:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114124165887295488,"km_value":114124165887295.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134425919117604864,"description":"Unknown IO ID 45"} 
[2026-08-02 17:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131614208001,"power":13396,"axis_x":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9134425919117604864}} 
[2026-08-02 17:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":146920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:03:34] local.INFO: GPS data processed {"connection_id":146920,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:03:34] local.INFO: Acknowledgment sent {"connection_id":146920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:03:35] local.INFO: TCP Data received {"connection_id":146693,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23becd8012d17c88007213290003d00bf2c..."} 
[2026-08-02 17:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23becd8012d17c88007213290003d00bf2c..."} 
[2026-08-02 17:03:35] local.INFO: Processing buffer {"connection_id":146693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23becd8012d17c88007213290003d00bf2c..."} 
[2026-08-02 17:03:35] local.INFO: Packet analysis {"connection_id":146693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23b"} 
[2026-08-02 17:03:35] local.INFO: Extracted packet for processing {"connection_id":146693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23b"} 
[2026-08-02 17:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131549184001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785670135000,"timestamp_ms":1785670135000,"timestamp_seconds":1785670135,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23becd8"} 
[2026-08-02 17:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:03: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-08-02 17:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 17:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131549184001,"66":12504,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131549184001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:03:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:03:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131549184001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":146693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:03:36] local.INFO: GPS data processed {"connection_id":146693,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:03:36] local.INFO: Acknowledgment sent {"connection_id":146693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:03:41] local.INFO: TCP Data received {"connection_id":146921,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:03:41] local.INFO: Processing buffer {"connection_id":146921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:03:41] local.INFO: IMEI packet received {"connection_id":146921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":146921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:03:51] local.INFO: TCP Data received {"connection_id":146921,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:03:51] local.INFO: Processing buffer {"connection_id":146921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:03:51] local.INFO: Packet analysis {"connection_id":146921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:03:51] local.INFO: Extracted packet for processing {"connection_id":146921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:03:51] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131479040001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785670141000,"timestamp_ms":1785670141000,"timestamp_seconds":1785670141,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23c0448"} 
[2026-08-02 17:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131479040001,"66":25397,"226":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,27,24,16,44]} 
[2026-08-02 17:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131479040001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:03:51] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-02 17:03:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131479040001,"power":25397,"unknown_226":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":146921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:03:51] local.INFO: GPS data processed {"connection_id":146921,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:03:51] local.INFO: Acknowledgment sent {"connection_id":146921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:03:53] local.INFO: TCP Data received {"connection_id":146921,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:03:53] local.INFO: Processing buffer {"connection_id":146921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23c0448012cc330c007685958005800c52b..."} 
[2026-08-02 17:03:53] local.INFO: Packet analysis {"connection_id":146921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:03:53] local.INFO: Extracted packet for processing {"connection_id":146921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:03:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131479040001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785670141000,"timestamp_ms":1785670141000,"timestamp_seconds":1785670141,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23c0448"} 
[2026-08-02 17:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131479040001,"66":25397,"226":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,27,24,16,44]} 
[2026-08-02 17:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131479040001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:03:53] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-02 17:03:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:03:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131479040001,"power":25397,"unknown_226":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":146921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:03:53] local.INFO: GPS data processed {"connection_id":146921,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:03:53] local.INFO: Acknowledgment sent {"connection_id":146921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:03:58] local.INFO: TCP Data received {"connection_id":149263,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:03:58] local.INFO: Processing buffer {"connection_id":149263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:03:58] local.INFO: IMEI packet received {"connection_id":149263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":149263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:04:04] local.INFO: TCP Data received {"connection_id":149263,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:04:04] local.INFO: Processing buffer {"connection_id":149263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:04:04] local.INFO: IMEI packet received {"connection_id":149263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":149263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:04:04] local.INFO: TCP Data received {"connection_id":149263,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23c3ee0012d17c88007213290003d00bf2b..."} 
[2026-08-02 17:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23c3ee0012d17c88007213290003d00bf2b..."} 
[2026-08-02 17:04:04] local.INFO: Processing buffer {"connection_id":149263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23c3ee0012d17c88007213290003d00bf2b..."} 
[2026-08-02 17:04:04] local.INFO: Packet analysis {"connection_id":149263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:04:04] local.INFO: Extracted packet for processing {"connection_id":149263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23c"} 
[2026-08-02 17:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131554560001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785670156000,"timestamp_ms":1785670156000,"timestamp_seconds":1785670156,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23c3ee0"} 
[2026-08-02 17:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:04: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-08-02 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 17:04: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-08-02 17:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131554560001,"66":12504,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131554560001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:04:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131554560001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":149263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:04:04] local.INFO: GPS data processed {"connection_id":149263,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:04:04] local.INFO: Acknowledgment sent {"connection_id":149263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:04:10] local.INFO: TCP Data received {"connection_id":146920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23fb1b0012d81518005d79c68000800a229..."} 
[2026-08-02 17:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23fb1b0012d81518005d79c68000800a229..."} 
[2026-08-02 17:04:10] local.INFO: Processing buffer {"connection_id":146920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23fb1b0012d81518005d79c68000800a229..."} 
[2026-08-02 17:04:10] local.INFO: Packet analysis {"connection_id":146920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23f"} 
[2026-08-02 17:04:10] local.INFO: Extracted packet for processing {"connection_id":146920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23f"} 
[2026-08-02 17:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763449728,"raw_latitude":98016360,"longitude_deg":76.3449728,"latitude_deg":9.801636,"altitude":8,"angle":162,"satellites":41,"speed":50,"hex_longitude":"2d815180","hex_latitude":"05d79c68","is_valid_coordinates":true} 
[2026-08-02 17:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131616000001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114124599678992384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9131611169352740864,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785670382000,"timestamp_ms":1785670382000,"timestamp_seconds":1785670382,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23fb1b0"} 
[2026-08-02 17:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-02 17:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131616000001,"66":13341,"17":206,"85":15104,"24":50,"16":114124599678992384,"45":-9131611169352740864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-02 17:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131616000001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114124599678992384,"km_value":114124599678992.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9131611169352740864,"description":"Unknown IO ID 45"} 
[2026-08-02 17:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131616000001,"power":13341,"axis_x":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9131611169352740864}} 
[2026-08-02 17:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":146920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:04:10] local.INFO: GPS data processed {"connection_id":146920,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:04:10] local.INFO: Acknowledgment sent {"connection_id":146920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:04:25] local.INFO: TCP Data received {"connection_id":146922,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:04:25] local.INFO: Processing buffer {"connection_id":146922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:04:25] local.INFO: IMEI packet received {"connection_id":146922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":146922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:04:28] local.INFO: TCP Data received {"connection_id":146922,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:04:28] local.INFO: Processing buffer {"connection_id":146922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:04:28] local.INFO: IMEI packet received {"connection_id":146922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":146922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:04:32] local.INFO: TCP Data received {"connection_id":146922,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:04:32] local.INFO: Processing buffer {"connection_id":146922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:04:32] local.INFO: IMEI packet received {"connection_id":146922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":146922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:04:33] local.INFO: TCP Data received {"connection_id":146922,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23fcd08012d815ac005d77a60000a00a62c..."} 
[2026-08-02 17:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23fcd08012d815ac005d77a60000a00a62c..."} 
[2026-08-02 17:04:33] local.INFO: Processing buffer {"connection_id":146922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23fcd08012d815ac005d77a60000a00a62c..."} 
[2026-08-02 17:04:33] local.INFO: Packet analysis {"connection_id":146922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23f"} 
[2026-08-02 17:04:33] local.INFO: Extracted packet for processing {"connection_id":146922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23f"} 
[2026-08-02 17:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763452096,"raw_latitude":98007648,"longitude_deg":76.3452096,"latitude_deg":9.8007648,"altitude":10,"angle":166,"satellites":44,"speed":51,"hex_longitude":"2d815ac0","hex_latitude":"05d77a60","is_valid_coordinates":true} 
[2026-08-02 17:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131617792001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114125037765656576,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9128374207122741248,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785670389000,"timestamp_ms":1785670389000,"timestamp_seconds":1785670389,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23fcd08"} 
[2026-08-02 17:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-02 17:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131617792001,"66":13559,"17":206,"85":15104,"24":51,"16":114125037765656576,"45":-9128374207122741248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-02 17:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131617792001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114125037765656576,"km_value":114125037765656.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9128374207122741248,"description":"Unknown IO ID 45"} 
[2026-08-02 17:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131617792001,"power":13559,"axis_x":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9128374207122741248}} 
[2026-08-02 17:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":146922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:04:33] local.INFO: GPS data processed {"connection_id":146922,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:04:33] local.INFO: Acknowledgment sent {"connection_id":146922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:04:35] local.INFO: TCP Data received {"connection_id":149263,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc23fc538012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc23fc538012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:04:35] local.INFO: Processing buffer {"connection_id":149263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc23fc538012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:04:35] local.INFO: Packet analysis {"connection_id":149263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc23f"} 
[2026-08-02 17:04:35] local.INFO: Extracted packet for processing {"connection_id":149263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc23f"} 
[2026-08-02 17:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131613696001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785670387000,"timestamp_ms":1785670387000,"timestamp_seconds":1785670387,"priority":1,"record_length":96,"hex_timestamp":"0000019fc23fc538"} 
[2026-08-02 17:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 17:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131613696001,"66":12406,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131613696001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:04:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131613696001,"power":12406,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":149263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:04:36] local.INFO: GPS data processed {"connection_id":149263,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:04:36] local.INFO: Acknowledgment sent {"connection_id":149263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:04:39] local.INFO: TCP Data received {"connection_id":149264,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:04:39] local.INFO: Processing buffer {"connection_id":149264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:04:39] local.INFO: IMEI packet received {"connection_id":149264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":149264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:04:40] local.INFO: TCP Data received {"connection_id":149264,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:04:40] local.INFO: Processing buffer {"connection_id":149264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:04:40] local.INFO: IMEI packet received {"connection_id":149264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":149264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:04:46] local.INFO: TCP Data received {"connection_id":149264,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:04:46] local.INFO: Processing buffer {"connection_id":149264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:04:46] local.INFO: IMEI packet received {"connection_id":149264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":149264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:04:47] local.INFO: TCP Data received {"connection_id":149264,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:04:47] local.INFO: Processing buffer {"connection_id":149264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:04:47] local.INFO: Packet analysis {"connection_id":149264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:04:47] local.INFO: Extracted packet for processing {"connection_id":149264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:04:47] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131556096001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785670442000,"timestamp_ms":1785670442000,"timestamp_seconds":1785670442,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2409c10"} 
[2026-08-02 17:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:04: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-08-02 17:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 17:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131556096001,"66":25462,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 17:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131556096001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:04:47] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 17:04:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:04:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131556096001,"power":25462,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":149264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:04:47] local.INFO: GPS data processed {"connection_id":149264,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:04:47] local.INFO: Acknowledgment sent {"connection_id":149264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:05:04] local.INFO: TCP Data received {"connection_id":146923,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:05:04] local.INFO: Processing buffer {"connection_id":146923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:05:04] local.INFO: IMEI packet received {"connection_id":146923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":146923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:05:04] local.INFO: TCP Data received {"connection_id":146922,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2413c38012d81980005d5f540000600782c..."} 
[2026-08-02 17:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2413c38012d81980005d5f540000600782c..."} 
[2026-08-02 17:05:04] local.INFO: Processing buffer {"connection_id":146922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2413c38012d81980005d5f540000600782c..."} 
[2026-08-02 17:05:04] local.INFO: Packet analysis {"connection_id":146922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:05:04] local.INFO: Extracted packet for processing {"connection_id":146922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763467776,"raw_latitude":97908032,"longitude_deg":76.3467776,"latitude_deg":9.7908032,"altitude":6,"angle":120,"satellites":44,"speed":24,"hex_longitude":"2d819800","hex_latitude":"05d5f540","is_valid_coordinates":true} 
[2026-08-02 17:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131643136001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114129959798177792,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9109515383710679040,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785670483000,"timestamp_ms":1785670483000,"timestamp_seconds":1785670483,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2413c38"} 
[2026-08-02 17:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 17:05:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3259011160,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2172944389,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:04] local.WARNING: Large IO value detected {"io_id":64,"raw_value":7586314867262865413,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:04] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:04] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-3897865438823241216,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-08-02 17:05:04] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2550214017,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:04] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3221608063,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3601057792,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:04] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57816796757906747,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:04] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,157,85,24,241,16,120,159,48,45,64,249,7,42,10,66,17,20,43,242,1,240,227,119,194,214,4,113,205,44,175,128,152,239,52,18,2,149,5,9,40,29],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-08-02 17:05:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504555079850131456,"timestamp_seconds":504555079850131.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 17:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131643136001,"66":13515,"157":206,"85":15104,"24":24,"16":114129959798177792,"45":-9109515383710679040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-02 17:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131643136001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:05:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-02 17:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114129959798177792,"km_value":114129959798177.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9109515383710679040,"description":"Unknown IO ID 45"} 
[2026-08-02 17:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131643136001,"power":13515,"unknown_157":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9109515383710679040}} 
[2026-08-02 17:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":146922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:05:04] local.INFO: GPS data processed {"connection_id":146922,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:05:04] local.INFO: Acknowledgment sent {"connection_id":146922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:05:08] local.INFO: TCP Data received {"connection_id":146923,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:05:08] local.INFO: Processing buffer {"connection_id":146923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:05:08] local.INFO: IMEI packet received {"connection_id":146923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":146923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:05:09] local.INFO: TCP Data received {"connection_id":146923,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2401740012d17c88007213290003d00bf2f..."} 
[2026-08-02 17:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2401740012d17c88007213290003d00bf2f..."} 
[2026-08-02 17:05:09] local.INFO: Processing buffer {"connection_id":146923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2401740012d17c88007213290003d00bf2f..."} 
[2026-08-02 17:05:09] local.INFO: Packet analysis {"connection_id":146923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:05:09] local.INFO: Extracted packet for processing {"connection_id":146923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:05:09] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":47,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131619072001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785670408000,"timestamp_ms":1785670408000,"timestamp_seconds":1785670408,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2401740"} 
[2026-08-02 17:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131619072001,"66":12385,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131619072001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:05:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:05:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131619072001,"power":12385,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":146923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:05:09] local.INFO: GPS data processed {"connection_id":146923,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:05:09] local.INFO: Acknowledgment sent {"connection_id":146923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:05:10] local.INFO: TCP Data received {"connection_id":146923,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2406948012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2406948012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:05:10] local.INFO: Processing buffer {"connection_id":146923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2406948012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:05:10] local.INFO: Packet analysis {"connection_id":146923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:05:10] local.INFO: Extracted packet for processing {"connection_id":146923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:05:10] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131624448001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785670429000,"timestamp_ms":1785670429000,"timestamp_seconds":1785670429,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2406948"} 
[2026-08-02 17:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131624448001,"66":12385,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131624448001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:05:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:05:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131624448001,"power":12385,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":146923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:05:10] local.INFO: GPS data processed {"connection_id":146923,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:05:10] local.INFO: Acknowledgment sent {"connection_id":146923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:05:29] local.INFO: TCP Data received {"connection_id":146694,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:05:29] local.INFO: Processing buffer {"connection_id":146694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:05:29] local.INFO: IMEI packet received {"connection_id":146694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":146694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:05:29] local.INFO: TCP Data received {"connection_id":149265,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:05:29] local.INFO: Processing buffer {"connection_id":149265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:05:29] local.INFO: IMEI packet received {"connection_id":149265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":149265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:05:32] local.INFO: TCP Data received {"connection_id":149265,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:05:32] local.INFO: Processing buffer {"connection_id":149265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:05:32] local.INFO: IMEI packet received {"connection_id":149265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":149265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:05:35] local.INFO: TCP Data received {"connection_id":149265,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:05:35] local.INFO: Processing buffer {"connection_id":149265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:05:35] local.INFO: IMEI packet received {"connection_id":149265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":149265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:05:37] local.INFO: TCP Data received {"connection_id":149265,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2415f60012d81ad4005d5e9b00005008b2c..."} 
[2026-08-02 17:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2415f60012d81ad4005d5e9b00005008b2c..."} 
[2026-08-02 17:05:37] local.INFO: Processing buffer {"connection_id":149265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2415f60012d81ad4005d5e9b00005008b2c..."} 
[2026-08-02 17:05:37] local.INFO: Packet analysis {"connection_id":149265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:05:37] local.INFO: Extracted packet for processing {"connection_id":149265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763473216,"raw_latitude":97905072,"longitude_deg":76.3473216,"latitude_deg":9.7905072,"altitude":5,"angle":139,"satellites":44,"speed":28,"hex_longitude":"2d81ad40","hex_latitude":"05d5e9b0","is_valid_coordinates":true} 
[2026-08-02 17:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131643648001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114130256150921216,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9108530221292371968,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785670492000,"timestamp_ms":1785670492000,"timestamp_seconds":1785670492,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2415f60"} 
[2026-08-02 17:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 17:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131643648001,"66":13189,"157":206,"85":15104,"24":28,"16":114130256150921216,"45":-9108530221292371968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-02 17:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131643648001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:05:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-02 17:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114130256150921216,"km_value":114130256150921.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9108530221292371968,"description":"Unknown IO ID 45"} 
[2026-08-02 17:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131643648001,"power":13189,"unknown_157":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9108530221292371968}} 
[2026-08-02 17:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":149265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:05:37] local.INFO: GPS data processed {"connection_id":149265,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:05:37] local.INFO: Acknowledgment sent {"connection_id":149265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:05:38] local.INFO: TCP Data received {"connection_id":149265,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2416730012d81b00005d5e4900005009f2c..."} 
[2026-08-02 17:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2416730012d81b00005d5e4900005009f2c..."} 
[2026-08-02 17:05:38] local.INFO: Processing buffer {"connection_id":149265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2416730012d81b00005d5e4900005009f2c..."} 
[2026-08-02 17:05:38] local.INFO: Packet analysis {"connection_id":149265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:05:38] local.INFO: Extracted packet for processing {"connection_id":149265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763473920,"raw_latitude":97903760,"longitude_deg":76.347392,"latitude_deg":9.790376,"altitude":5,"angle":159,"satellites":44,"speed":32,"hex_longitude":"2d81b000","hex_latitude":"05d5e490","is_valid_coordinates":true} 
[2026-08-02 17:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131645952001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114130329165365248,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9102548878038028288,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785670494000,"timestamp_ms":1785670494000,"timestamp_seconds":1785670494,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2416730"} 
[2026-08-02 17:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-02 17:05: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-08-02 17:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":149265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":149265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":149265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131645952001,"66":13135,"157":206,"85":15104,"24":32,"16":114130329165365248,"45":-9102548878038028288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-02 17:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131645952001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:05:38] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-02 17:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114130329165365248,"km_value":114130329165365.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9102548878038028288,"description":"Unknown IO ID 45"} 
[2026-08-02 17:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131645952001,"power":13135,"unknown_157":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9102548878038028288}} 
[2026-08-02 17:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":149265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:05:38] local.INFO: GPS data processed {"connection_id":149265,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:05:38] local.INFO: Acknowledgment sent {"connection_id":149265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:05:38] local.INFO: TCP Data received {"connection_id":146694,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:05:38] local.INFO: Processing buffer {"connection_id":146694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:05:38] local.INFO: IMEI packet received {"connection_id":146694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":146694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:05:40] local.INFO: TCP Data received {"connection_id":146694,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:05:40] local.INFO: Processing buffer {"connection_id":146694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:05:40] local.INFO: Packet analysis {"connection_id":146694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:05:40] local.INFO: Extracted packet for processing {"connection_id":146694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:05:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131556096001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785670442000,"timestamp_ms":1785670442000,"timestamp_seconds":1785670442,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2409c10"} 
[2026-08-02 17:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17: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-08-02 17: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":53,"data_length":795,"current_offset":136} 
[2026-08-02 17:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131556096001,"66":25462,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 17:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131556096001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:05:40] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 17:05:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:05:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131556096001,"power":25462,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":146694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:05:40] local.INFO: GPS data processed {"connection_id":146694,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:05:40] local.INFO: Acknowledgment sent {"connection_id":146694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:05:41] local.INFO: TCP Data received {"connection_id":146923,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc240bb50012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc240bb50012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:05:41] local.INFO: Processing buffer {"connection_id":146923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc240bb50012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:05:41] local.INFO: Packet analysis {"connection_id":146923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:05:41] local.INFO: Extracted packet for processing {"connection_id":146923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:05:41] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131629824001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785670450000,"timestamp_ms":1785670450000,"timestamp_seconds":1785670450,"priority":1,"record_length":96,"hex_timestamp":"0000019fc240bb50"} 
[2026-08-02 17:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131629824001,"66":12406,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131629824001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:05:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:05:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131629824001,"power":12406,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":146923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:05:41] local.INFO: GPS data processed {"connection_id":146923,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:05:41] local.INFO: Acknowledgment sent {"connection_id":146923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:05:59] local.INFO: TCP Data received {"connection_id":146695,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:05:59] local.INFO: Processing buffer {"connection_id":146695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:05:59] local.INFO: IMEI packet received {"connection_id":146695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":146695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:06:03] local.INFO: TCP Data received {"connection_id":146695,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:06:03] local.INFO: Processing buffer {"connection_id":146695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:06:03] local.INFO: IMEI packet received {"connection_id":146695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":146695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:06:04] local.INFO: TCP Data received {"connection_id":146695,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2410d58012d17c88007213290003d00bf2a..."} 
[2026-08-02 17:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2410d58012d17c88007213290003d00bf2a..."} 
[2026-08-02 17:06:04] local.INFO: Processing buffer {"connection_id":146695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2410d58012d17c88007213290003d00bf2a..."} 
[2026-08-02 17:06:04] local.INFO: Packet analysis {"connection_id":146695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:06:04] local.INFO: Extracted packet for processing {"connection_id":146695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131635200001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785670471000,"timestamp_ms":1785670471000,"timestamp_seconds":1785670471,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2410d58"} 
[2026-08-02 17:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:06: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-08-02 17:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131635200001,"66":12385,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131635200001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:06:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131635200001,"power":12385,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":146695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:06:04] local.INFO: GPS data processed {"connection_id":146695,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:06:04] local.INFO: Acknowledgment sent {"connection_id":146695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:06:09] local.INFO: TCP Data received {"connection_id":149265,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2418e40012d81b9c005d5c058000600a72c..."} 
[2026-08-02 17:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2418e40012d81b9c005d5c058000600a72c..."} 
[2026-08-02 17:06:09] local.INFO: Processing buffer {"connection_id":149265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2418e40012d81b9c005d5c058000600a72c..."} 
[2026-08-02 17:06:09] local.INFO: Packet analysis {"connection_id":149265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:06:09] local.INFO: Extracted packet for processing {"connection_id":149265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763476416,"raw_latitude":97894488,"longitude_deg":76.3476416,"latitude_deg":9.7894488,"altitude":6,"angle":167,"satellites":44,"speed":38,"hex_longitude":"2d81b9c0","hex_latitude":"05d5c058","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131646464001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114130793021833216,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101774821852409856,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785670504000,"timestamp_ms":1785670504000,"timestamp_seconds":1785670504,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2418e40"} 
[2026-08-02 17:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-02 17:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131646464001,"66":13037,"157":206,"85":15104,"24":38,"16":114130793021833216,"45":-9101774821852409856},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-02 17:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131646464001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:06:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-02 17:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114130793021833216,"km_value":114130793021833.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101774821852409856,"description":"Unknown IO ID 45"} 
[2026-08-02 17:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131646464001,"power":13037,"unknown_157":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9101774821852409856}} 
[2026-08-02 17:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":149265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:06:09] local.INFO: GPS data processed {"connection_id":149265,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:06:09] local.INFO: Acknowledgment sent {"connection_id":149265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:06:27] local.INFO: TCP Data received {"connection_id":147964,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:06:27] local.INFO: Processing buffer {"connection_id":147964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:06:27] local.INFO: IMEI packet received {"connection_id":147964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":147964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:06:29] local.INFO: TCP Data received {"connection_id":147965,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:06:29] local.INFO: Processing buffer {"connection_id":147965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:06:29] local.INFO: IMEI packet received {"connection_id":147965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":147965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:06:29] local.INFO: TCP Data received {"connection_id":147964,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:06:29] local.INFO: Processing buffer {"connection_id":147964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:06:29] local.INFO: IMEI packet received {"connection_id":147964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":147964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:06:30] local.INFO: TCP Data received {"connection_id":147964,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24199f8012d81ba8005d5b558000600b22b..."} 
[2026-08-02 17:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24199f8012d81ba8005d5b558000600b22b..."} 
[2026-08-02 17:06:30] local.INFO: Processing buffer {"connection_id":147964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24199f8012d81ba8005d5b558000600b22b..."} 
[2026-08-02 17:06:30] local.INFO: Packet analysis {"connection_id":147964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:06:30] local.INFO: Extracted packet for processing {"connection_id":147964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763476608,"raw_latitude":97891672,"longitude_deg":76.3476608,"latitude_deg":9.7891672,"altitude":6,"angle":178,"satellites":43,"speed":38,"hex_longitude":"2d81ba80","hex_latitude":"05d5b558","is_valid_coordinates":true} 
[2026-08-02 17:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131649024001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114130930460786688,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099030440831854592,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785670507000,"timestamp_ms":1785670507000,"timestamp_seconds":1785670507,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24199f8"} 
[2026-08-02 17:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-02 17:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131649024001,"66":13319,"157":206,"85":15104,"24":38,"16":114130930460786688,"45":-9099030440831854592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-02 17:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131649024001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:06:30] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-02 17:06:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114130930460786688,"km_value":114130930460786.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099030440831854592,"description":"Unknown IO ID 45"} 
[2026-08-02 17:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131649024001,"power":13319,"unknown_157":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9099030440831854592}} 
[2026-08-02 17:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":147964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:06:30] local.INFO: GPS data processed {"connection_id":147964,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:06:30] local.INFO: Acknowledgment sent {"connection_id":147964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:06:34] local.INFO: TCP Data received {"connection_id":147965,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:06:34] local.INFO: Processing buffer {"connection_id":147965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:06:34] local.INFO: IMEI packet received {"connection_id":147965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":147965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:06:35] local.INFO: TCP Data received {"connection_id":146695,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2415f60012d17c88007213290003d00bf2b..."} 
[2026-08-02 17:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2415f60012d17c88007213290003d00bf2b..."} 
[2026-08-02 17:06:35] local.INFO: Processing buffer {"connection_id":146695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2415f60012d17c88007213290003d00bf2b..."} 
[2026-08-02 17:06:35] local.INFO: Packet analysis {"connection_id":146695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:06:35] local.INFO: Extracted packet for processing {"connection_id":146695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:06:35] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131640576001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785670492000,"timestamp_ms":1785670492000,"timestamp_seconds":1785670492,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2415f60"} 
[2026-08-02 17:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131640576001,"66":12439,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131640576001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:06:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:06:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131640576001,"power":12439,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":146695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:06:35] local.INFO: GPS data processed {"connection_id":146695,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:06:35] local.INFO: Acknowledgment sent {"connection_id":146695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:06:35] local.INFO: TCP Data received {"connection_id":147965,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:06:35] local.INFO: Processing buffer {"connection_id":147965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:06:35] local.INFO: Packet analysis {"connection_id":147965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:06:35] local.INFO: Extracted packet for processing {"connection_id":147965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:06:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131556096001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785670442000,"timestamp_ms":1785670442000,"timestamp_seconds":1785670442,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2409c10"} 
[2026-08-02 17:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 17:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131556096001,"66":25462,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 17:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131556096001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:06:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 17:06:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:06:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131556096001,"power":25462,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":147965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:06:35] local.INFO: GPS data processed {"connection_id":147965,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:06:35] local.INFO: Acknowledgment sent {"connection_id":147965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:06:40] local.INFO: TCP Data received {"connection_id":147965,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:06:40] local.INFO: Processing buffer {"connection_id":147965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:06:40] local.INFO: Packet analysis {"connection_id":147965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:06:40] local.INFO: Extracted packet for processing {"connection_id":147965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:06:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131556096001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785670442000,"timestamp_ms":1785670442000,"timestamp_seconds":1785670442,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2409c10"} 
[2026-08-02 17:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17: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-08-02 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 17:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131556096001,"66":25462,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 17:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131556096001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:06:40] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 17:06:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131556096001,"power":25462,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":147965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:06:40] local.INFO: GPS data processed {"connection_id":147965,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:06:40] local.INFO: Acknowledgment sent {"connection_id":147965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:06:59] local.INFO: TCP Data received {"connection_id":149266,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:06:59] local.INFO: Processing buffer {"connection_id":149266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:06:59] local.INFO: IMEI packet received {"connection_id":149266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":149266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:07:01] local.INFO: TCP Data received {"connection_id":147964,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2433038012d81bec005d4b938000b00ed2c..."} 
[2026-08-02 17:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2433038012d81bec005d4b938000b00ed2c..."} 
[2026-08-02 17:07:01] local.INFO: Processing buffer {"connection_id":147964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2433038012d81bec005d4b938000b00ed2c..."} 
[2026-08-02 17:07:01] local.INFO: Packet analysis {"connection_id":147964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc243"} 
[2026-08-02 17:07:01] local.INFO: Extracted packet for processing {"connection_id":147964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc243"} 
[2026-08-02 17:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763477696,"raw_latitude":97827128,"longitude_deg":76.3477696,"latitude_deg":9.7827128,"altitude":11,"angle":237,"satellites":44,"speed":22,"hex_longitude":"2d81bec0","hex_latitude":"05d4b938","is_valid_coordinates":true} 
[2026-08-02 17:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131676160001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114134125916454912,"note":"Value kept but may cause issues"} 
[2026-08-02 17:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097130484756209664,"note":"Value kept but may cause issues"} 
[2026-08-02 17:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785670611000,"timestamp_ms":1785670611000,"timestamp_seconds":1785670611,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2433038"} 
[2026-08-02 17:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 17:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131676160001,"66":13472,"165":206,"85":15104,"24":22,"16":114134125916454912,"45":-9097130484756209664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-02 17:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131676160001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:07:01] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-02 17:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114134125916454912,"km_value":114134125916454.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097130484756209664,"description":"Unknown IO ID 45"} 
[2026-08-02 17:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131676160001,"power":13472,"unknown_165":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9097130484756209664}} 
[2026-08-02 17:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":147964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:07:01] local.INFO: GPS data processed {"connection_id":147964,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:07:01] local.INFO: Acknowledgment sent {"connection_id":147964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:07:04] local.INFO: TCP Data received {"connection_id":149266,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:07:04] local.INFO: Processing buffer {"connection_id":149266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:07:04] local.INFO: IMEI packet received {"connection_id":149266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":149266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:07:04] local.INFO: TCP Data received {"connection_id":149266,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc241b550012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc241b550012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:07:04] local.INFO: Processing buffer {"connection_id":149266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc241b550012d17c88007213290003d00bf2e..."} 
[2026-08-02 17:07:04] local.INFO: Packet analysis {"connection_id":149266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:07:04] local.INFO: Extracted packet for processing {"connection_id":149266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc241"} 
[2026-08-02 17:07:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131645952001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785670514000,"timestamp_ms":1785670514000,"timestamp_seconds":1785670514,"priority":1,"record_length":96,"hex_timestamp":"0000019fc241b550"} 
[2026-08-02 17:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:07: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-08-02 17:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 17:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131645952001,"66":12439,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131645952001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:07:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131645952001,"power":12439,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":149266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:07:05] local.INFO: GPS data processed {"connection_id":149266,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:07:05] local.INFO: Acknowledgment sent {"connection_id":149266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:07:28] local.INFO: TCP Data received {"connection_id":149267,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:07:28] local.INFO: Processing buffer {"connection_id":149267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:07:28] local.INFO: IMEI packet received {"connection_id":149267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":149267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:07:34] local.INFO: TCP Data received {"connection_id":149267,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:07:34] local.INFO: Processing buffer {"connection_id":149267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:07:34] local.INFO: IMEI packet received {"connection_id":149267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":149267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:07:35] local.INFO: TCP Data received {"connection_id":149267,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:07:35] local.INFO: Processing buffer {"connection_id":149267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:07:35] local.INFO: Packet analysis {"connection_id":149267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:07:35] local.INFO: Extracted packet for processing {"connection_id":149267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:07:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131556096001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:07:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785670442000,"timestamp_ms":1785670442000,"timestamp_seconds":1785670442,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2409c10"} 
[2026-08-02 17:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 17:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131556096001,"66":25462,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 17:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131556096001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:07:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 17:07:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:07:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131556096001,"power":25462,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":149267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:07:35] local.INFO: GPS data processed {"connection_id":149267,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:07:35] local.INFO: Acknowledgment sent {"connection_id":149267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:07:36] local.INFO: TCP Data received {"connection_id":149266,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2420370012d17c88007213290003d00bf2c..."} 
[2026-08-02 17:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2420370012d17c88007213290003d00bf2c..."} 
[2026-08-02 17:07:36] local.INFO: Processing buffer {"connection_id":149266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2420370012d17c88007213290003d00bf2c..."} 
[2026-08-02 17:07:36] local.INFO: Packet analysis {"connection_id":149266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc242"} 
[2026-08-02 17:07:36] local.INFO: Extracted packet for processing {"connection_id":149266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc242"} 
[2026-08-02 17:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131651584001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785670534000,"timestamp_ms":1785670534000,"timestamp_seconds":1785670534,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2420370"} 
[2026-08-02 17:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:07: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-08-02 17: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 17:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131651584001,"66":12439,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131651584001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:07:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131651584001,"power":12439,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":149266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:07:36] local.INFO: GPS data processed {"connection_id":149266,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:07:36] local.INFO: Acknowledgment sent {"connection_id":149266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:07:57] local.INFO: TCP Data received {"connection_id":147966,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:07:57] local.INFO: Processing buffer {"connection_id":147966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:07:57] local.INFO: IMEI packet received {"connection_id":147966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":147966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:07:58] local.INFO: TCP Data received {"connection_id":147966,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:07:58] local.INFO: Processing buffer {"connection_id":147966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:07:58] local.INFO: IMEI packet received {"connection_id":147966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":147966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:08:03] local.INFO: TCP Data received {"connection_id":147966,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:08:03] local.INFO: Processing buffer {"connection_id":147966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:08:03] local.INFO: IMEI packet received {"connection_id":147966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":147966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:08:04] local.INFO: TCP Data received {"connection_id":147966,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2425578012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2425578012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:08:04] local.INFO: Processing buffer {"connection_id":147966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2425578012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:08:04] local.INFO: Packet analysis {"connection_id":147966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc242"} 
[2026-08-02 17:08:04] local.INFO: Extracted packet for processing {"connection_id":147966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc242"} 
[2026-08-02 17:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131656704001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785670555000,"timestamp_ms":1785670555000,"timestamp_seconds":1785670555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2425578"} 
[2026-08-02 17:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:08: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-08-02 17:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 17:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131656704001,"66":12439,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131656704001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:08:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131656704001,"power":12439,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":147966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:08:04] local.INFO: GPS data processed {"connection_id":147966,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:08:04] local.INFO: Acknowledgment sent {"connection_id":147966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:08:07] local.INFO: TCP Data received {"connection_id":149267,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:08:07] local.INFO: Processing buffer {"connection_id":149267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:08:07] local.INFO: Packet analysis {"connection_id":149267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:08:07] local.INFO: Extracted packet for processing {"connection_id":149267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:08:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131556096001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785670442000,"timestamp_ms":1785670442000,"timestamp_seconds":1785670442,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2409c10"} 
[2026-08-02 17:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:08: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-08-02 17:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 17:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131556096001,"66":25462,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 17:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131556096001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:08:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 17:08:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:08:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131556096001,"power":25462,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":149267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:08:07] local.INFO: GPS data processed {"connection_id":149267,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:08:07] local.INFO: Acknowledgment sent {"connection_id":149267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:08:29] local.INFO: TCP Data received {"connection_id":146696,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:08:29] local.INFO: Processing buffer {"connection_id":146696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:08:29] local.INFO: IMEI packet received {"connection_id":146696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":146696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:08:34] local.INFO: TCP Data received {"connection_id":146696,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:08:34] local.INFO: Processing buffer {"connection_id":146696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:08:34] local.INFO: IMEI packet received {"connection_id":146696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":146696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:08:35] local.INFO: TCP Data received {"connection_id":146696,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:08:35] local.INFO: Processing buffer {"connection_id":146696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:08:35] local.INFO: Packet analysis {"connection_id":146696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:08:35] local.INFO: Extracted packet for processing {"connection_id":146696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:08:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131556096001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785670442000,"timestamp_ms":1785670442000,"timestamp_seconds":1785670442,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2409c10"} 
[2026-08-02 17:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 17:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131556096001,"66":25462,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 17:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131556096001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:08:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 17:08:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:08:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131556096001,"power":25462,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":146696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:08:35] local.INFO: GPS data processed {"connection_id":146696,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:08:35] local.INFO: Acknowledgment sent {"connection_id":146696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:08:36] local.INFO: TCP Data received {"connection_id":147966,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc242a780012d17c88007213290003d00bf2a..."} 
[2026-08-02 17:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc242a780012d17c88007213290003d00bf2a..."} 
[2026-08-02 17:08:36] local.INFO: Processing buffer {"connection_id":147966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc242a780012d17c88007213290003d00bf2a..."} 
[2026-08-02 17:08:36] local.INFO: Packet analysis {"connection_id":147966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc242"} 
[2026-08-02 17:08:36] local.INFO: Extracted packet for processing {"connection_id":147966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc242"} 
[2026-08-02 17:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131662080001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785670576000,"timestamp_ms":1785670576000,"timestamp_seconds":1785670576,"priority":1,"record_length":96,"hex_timestamp":"0000019fc242a780"} 
[2026-08-02 17:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:08: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-08-02 17: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 17:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131662080001,"66":12461,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131662080001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:08:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131662080001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":147966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:08:36] local.INFO: GPS data processed {"connection_id":147966,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:08:36] local.INFO: Acknowledgment sent {"connection_id":147966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:08:39] local.INFO: TCP Data received {"connection_id":146696,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:08:39] local.INFO: Processing buffer {"connection_id":146696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:08:39] local.INFO: Packet analysis {"connection_id":146696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:08:39] local.INFO: Extracted packet for processing {"connection_id":146696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:08:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131556096001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785670442000,"timestamp_ms":1785670442000,"timestamp_seconds":1785670442,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2409c10"} 
[2026-08-02 17:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:08: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-08-02 17: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":53,"data_length":795,"current_offset":136} 
[2026-08-02 17:08: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-08-02 17: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-08-02 17:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131556096001,"66":25462,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 17:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131556096001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:08:39] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 17:08:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:08:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131556096001,"power":25462,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":146696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:08:39] local.INFO: GPS data processed {"connection_id":146696,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:08:39] local.INFO: Acknowledgment sent {"connection_id":146696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:08:58] local.INFO: TCP Data received {"connection_id":146697,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:08:58] local.INFO: Processing buffer {"connection_id":146697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:08:58] local.INFO: IMEI packet received {"connection_id":146697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":146697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:09:01] local.INFO: TCP Data received {"connection_id":146697,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:09:01] local.INFO: Processing buffer {"connection_id":146697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:09:01] local.INFO: IMEI packet received {"connection_id":146697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":146697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:09:04] local.INFO: TCP Data received {"connection_id":146697,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:09:04] local.INFO: Processing buffer {"connection_id":146697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:09:04] local.INFO: IMEI packet received {"connection_id":146697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":146697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:09:04] local.INFO: TCP Data received {"connection_id":146697,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc242f988012d17c88007213290003d00bf2c..."} 
[2026-08-02 17:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc242f988012d17c88007213290003d00bf2c..."} 
[2026-08-02 17:09:04] local.INFO: Processing buffer {"connection_id":146697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc242f988012d17c88007213290003d00bf2c..."} 
[2026-08-02 17:09:04] local.INFO: Packet analysis {"connection_id":146697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc242"} 
[2026-08-02 17:09:04] local.INFO: Extracted packet for processing {"connection_id":146697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc242"} 
[2026-08-02 17:09:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131667456001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785670597000,"timestamp_ms":1785670597000,"timestamp_seconds":1785670597,"priority":1,"record_length":96,"hex_timestamp":"0000019fc242f988"} 
[2026-08-02 17:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:09: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-08-02 17:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 17:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131667456001,"66":12428,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131667456001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:09:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:09:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131667456001,"power":12428,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":146697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:09:04] local.INFO: GPS data processed {"connection_id":146697,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:09:04] local.INFO: Acknowledgment sent {"connection_id":146697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:09:24] local.INFO: TCP Data received {"connection_id":149268,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:09:24] local.INFO: Processing buffer {"connection_id":149268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:09:24] local.INFO: IMEI packet received {"connection_id":149268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":149268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:09:29] local.INFO: TCP Data received {"connection_id":149268,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:09:29] local.INFO: Processing buffer {"connection_id":149268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:09:29] local.INFO: IMEI packet received {"connection_id":149268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":149268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:09:30] local.INFO: TCP Data received {"connection_id":149268,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:09:30] local.INFO: Processing buffer {"connection_id":149268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2409c10012cc330c007685958005800c52b..."} 
[2026-08-02 17:09:30] local.INFO: Packet analysis {"connection_id":149268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:09:30] local.INFO: Extracted packet for processing {"connection_id":149268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc240"} 
[2026-08-02 17:09:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131556096001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785670442000,"timestamp_ms":1785670442000,"timestamp_seconds":1785670442,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2409c10"} 
[2026-08-02 17:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 17:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131556096001,"66":25462,"175":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,27,24,16,44]} 
[2026-08-02 17:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131556096001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:09:30] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 17:09:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131556096001,"power":25462,"unknown_175":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":149268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:09:30] local.INFO: GPS data processed {"connection_id":149268,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:09:30] local.INFO: Acknowledgment sent {"connection_id":149268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:09:35] local.INFO: TCP Data received {"connection_id":146697,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2434b90012d17c88007213290003d00bf24..."} 
[2026-08-02 17:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2434b90012d17c88007213290003d00bf24..."} 
[2026-08-02 17:09:35] local.INFO: Processing buffer {"connection_id":146697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2434b90012d17c88007213290003d00bf24..."} 
[2026-08-02 17:09:35] local.INFO: Packet analysis {"connection_id":146697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc243"} 
[2026-08-02 17:09:35] local.INFO: Extracted packet for processing {"connection_id":146697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc243"} 
[2026-08-02 17:09:35] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131672832001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785670618000,"timestamp_ms":1785670618000,"timestamp_seconds":1785670618,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2434b90"} 
[2026-08-02 17:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-02 17:09: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-08-02 17:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131672832001,"66":12428,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131672832001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:09:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:09:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131672832001,"power":12428,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":146697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:09:36] local.INFO: GPS data processed {"connection_id":146697,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:09:36] local.INFO: Acknowledgment sent {"connection_id":146697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:10:01] local.INFO: TCP Data received {"connection_id":149268,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:10:01] local.INFO: Processing buffer {"connection_id":149268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:10:01] local.INFO: Packet analysis {"connection_id":149268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:10:01] local.INFO: Extracted packet for processing {"connection_id":149268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:10:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131633152001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:10:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785670743000,"timestamp_ms":1785670743000,"timestamp_seconds":1785670743,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24533d8"} 
[2026-08-02 17:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:10: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131633152001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131633152001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:10:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:10:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:10:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131633152001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":149268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:10:01] local.INFO: GPS data processed {"connection_id":149268,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:10:01] local.INFO: Acknowledgment sent {"connection_id":149268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:10:04] local.INFO: TCP Data received {"connection_id":146924,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:10:04] local.INFO: Processing buffer {"connection_id":146924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:10:04] local.INFO: IMEI packet received {"connection_id":146924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":146924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:10:04] local.INFO: TCP Data received {"connection_id":146924,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:10:04] local.INFO: Processing buffer {"connection_id":146924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:10:04] local.INFO: IMEI packet received {"connection_id":146924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":146924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:10:08] local.INFO: TCP Data received {"connection_id":146924,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:10:08] local.INFO: Processing buffer {"connection_id":146924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:10:08] local.INFO: IMEI packet received {"connection_id":146924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":146924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:10:09] local.INFO: TCP Data received {"connection_id":146924,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2439d98012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2439d98012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:10:09] local.INFO: Processing buffer {"connection_id":146924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2439d98012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:10:09] local.INFO: Packet analysis {"connection_id":146924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc243"} 
[2026-08-02 17:10:09] local.INFO: Extracted packet for processing {"connection_id":146924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc243"} 
[2026-08-02 17:10:09] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131678208001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785670639000,"timestamp_ms":1785670639000,"timestamp_seconds":1785670639,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2439d98"} 
[2026-08-02 17:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-02 17:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131678208001,"66":12406,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131678208001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:10:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:10:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131678208001,"power":12406,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":146924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:10:09] local.INFO: GPS data processed {"connection_id":146924,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:10:09] local.INFO: Acknowledgment sent {"connection_id":146924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:10:14] local.INFO: TCP Data received {"connection_id":146924,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc243efa0012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc243efa0012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:10:14] local.INFO: Processing buffer {"connection_id":146924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc243efa0012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:10:14] local.INFO: Packet analysis {"connection_id":146924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc243"} 
[2026-08-02 17:10:14] local.INFO: Extracted packet for processing {"connection_id":146924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc243"} 
[2026-08-02 17:10:14] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131683584001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785670660000,"timestamp_ms":1785670660000,"timestamp_seconds":1785670660,"priority":1,"record_length":96,"hex_timestamp":"0000019fc243efa0"} 
[2026-08-02 17:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131683584001,"66":12428,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131683584001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:10:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:10:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131683584001,"power":12428,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":146924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:10:14] local.INFO: GPS data processed {"connection_id":146924,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:10:14] local.INFO: Acknowledgment sent {"connection_id":146924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:10:23] local.INFO: TCP Data received {"connection_id":146925,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:10:23] local.INFO: Processing buffer {"connection_id":146925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:10:23] local.INFO: IMEI packet received {"connection_id":146925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":146925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:10:29] local.INFO: TCP Data received {"connection_id":146925,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:10:29] local.INFO: Processing buffer {"connection_id":146925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:10:29] local.INFO: IMEI packet received {"connection_id":146925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":146925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:10:30] local.INFO: TCP Data received {"connection_id":146925,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:10:30] local.INFO: Processing buffer {"connection_id":146925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:10:30] local.INFO: Packet analysis {"connection_id":146925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:10:30] local.INFO: Extracted packet for processing {"connection_id":146925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:10:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131633152001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785670743000,"timestamp_ms":1785670743000,"timestamp_seconds":1785670743,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24533d8"} 
[2026-08-02 17:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131633152001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131633152001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:10:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:10:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131633152001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":146925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:10:30] local.INFO: GPS data processed {"connection_id":146925,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:10:30] local.INFO: Acknowledgment sent {"connection_id":146925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:10:59] local.INFO: TCP Data received {"connection_id":147967,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:10:59] local.INFO: Processing buffer {"connection_id":147967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:10:59] local.INFO: IMEI packet received {"connection_id":147967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":147967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:11:02] local.INFO: TCP Data received {"connection_id":146925,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:11:02] local.INFO: Processing buffer {"connection_id":146925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:11:02] local.INFO: Packet analysis {"connection_id":146925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:11:02] local.INFO: Extracted packet for processing {"connection_id":146925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:11:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131633152001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:11:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785670743000,"timestamp_ms":1785670743000,"timestamp_seconds":1785670743,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24533d8"} 
[2026-08-02 17:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131633152001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131633152001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:11:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:11:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:11:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131633152001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":146925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:11:02] local.INFO: GPS data processed {"connection_id":146925,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:11:02] local.INFO: Acknowledgment sent {"connection_id":146925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:11:04] local.INFO: TCP Data received {"connection_id":147967,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:11:04] local.INFO: Processing buffer {"connection_id":147967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:11:04] local.INFO: IMEI packet received {"connection_id":147967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":147967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:11:04] local.INFO: TCP Data received {"connection_id":147967,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24441a8012d17c88007213290003d00bf2a..."} 
[2026-08-02 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24441a8012d17c88007213290003d00bf2a..."} 
[2026-08-02 17:11:04] local.INFO: Processing buffer {"connection_id":147967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24441a8012d17c88007213290003d00bf2a..."} 
[2026-08-02 17:11:04] local.INFO: Packet analysis {"connection_id":147967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc244"} 
[2026-08-02 17:11:04] local.INFO: Extracted packet for processing {"connection_id":147967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc244"} 
[2026-08-02 17:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131688960001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785670681000,"timestamp_ms":1785670681000,"timestamp_seconds":1785670681,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24441a8"} 
[2026-08-02 17:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-02 17:11: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-08-02 17:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131688960001,"66":12428,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131688960001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:11:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:11:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131688960001,"power":12428,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":147967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:11:04] local.INFO: GPS data processed {"connection_id":147967,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:11:04] local.INFO: Acknowledgment sent {"connection_id":147967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:11:23] local.INFO: TCP Data received {"connection_id":146698,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:11:23] local.INFO: Processing buffer {"connection_id":146698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:11:23] local.INFO: IMEI packet received {"connection_id":146698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":146698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:11:29] local.INFO: TCP Data received {"connection_id":146698,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:11:29] local.INFO: Processing buffer {"connection_id":146698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:11:29] local.INFO: IMEI packet received {"connection_id":146698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":146698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:11:31] local.INFO: TCP Data received {"connection_id":146698,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:11:31] local.INFO: Processing buffer {"connection_id":146698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:11:31] local.INFO: Packet analysis {"connection_id":146698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:11:31] local.INFO: Extracted packet for processing {"connection_id":146698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:11:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131633152001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:11:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785670743000,"timestamp_ms":1785670743000,"timestamp_seconds":1785670743,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24533d8"} 
[2026-08-02 17:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131633152001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131633152001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:11:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:11:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:11:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131633152001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":146698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:11:31] local.INFO: GPS data processed {"connection_id":146698,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:11:31] local.INFO: Acknowledgment sent {"connection_id":146698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:11:36] local.INFO: TCP Data received {"connection_id":147967,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24493b0012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24493b0012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:11:36] local.INFO: Processing buffer {"connection_id":147967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24493b0012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:11:36] local.INFO: Packet analysis {"connection_id":147967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc244"} 
[2026-08-02 17:11:36] local.INFO: Extracted packet for processing {"connection_id":147967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc244"} 
[2026-08-02 17:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131694336001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785670702000,"timestamp_ms":1785670702000,"timestamp_seconds":1785670702,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24493b0"} 
[2026-08-02 17:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:11: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-08-02 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-02 17:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131694336001,"66":12374,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131694336001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:11:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131694336001,"power":12374,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":147967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:11:36] local.INFO: GPS data processed {"connection_id":147967,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:11:36] local.INFO: Acknowledgment sent {"connection_id":147967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:11:58] local.INFO: TCP Data received {"connection_id":149269,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:11:58] local.INFO: Processing buffer {"connection_id":149269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:11:58] local.INFO: IMEI packet received {"connection_id":149269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":149269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:12:02] local.INFO: TCP Data received {"connection_id":146698,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:12:02] local.INFO: Processing buffer {"connection_id":146698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:12:02] local.INFO: Packet analysis {"connection_id":146698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:12:02] local.INFO: Extracted packet for processing {"connection_id":146698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:12:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131633152001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785670743000,"timestamp_ms":1785670743000,"timestamp_seconds":1785670743,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24533d8"} 
[2026-08-02 17:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131633152001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131633152001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:12:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:12:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:12:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131633152001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":146698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:12:02] local.INFO: GPS data processed {"connection_id":146698,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:12:02] local.INFO: Acknowledgment sent {"connection_id":146698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:12:02] local.INFO: TCP Data received {"connection_id":146926,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:02] local.INFO: Processing buffer {"connection_id":146926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:02] local.INFO: IMEI packet received {"connection_id":146926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":146926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:12:03] local.INFO: TCP Data received {"connection_id":149269,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:12:03] local.INFO: Processing buffer {"connection_id":149269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:12:03] local.INFO: IMEI packet received {"connection_id":149269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":149269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:12:04] local.INFO: TCP Data received {"connection_id":149269,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc244e5b8012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc244e5b8012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:12:04] local.INFO: Processing buffer {"connection_id":149269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc244e5b8012d17c88007213290003d00bf2d..."} 
[2026-08-02 17:12:04] local.INFO: Packet analysis {"connection_id":149269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc244"} 
[2026-08-02 17:12:04] local.INFO: Extracted packet for processing {"connection_id":149269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc244"} 
[2026-08-02 17:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131699712001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785670723000,"timestamp_ms":1785670723000,"timestamp_seconds":1785670723,"priority":1,"record_length":96,"hex_timestamp":"0000019fc244e5b8"} 
[2026-08-02 17:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 17:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131699712001,"66":12428,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131699712001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:12:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131699712001,"power":12428,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":149269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:12:04] local.INFO: GPS data processed {"connection_id":149269,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:12:04] local.INFO: Acknowledgment sent {"connection_id":149269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:12:09] local.INFO: TCP Data received {"connection_id":146926,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:09] local.INFO: Processing buffer {"connection_id":146926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:09] local.INFO: IMEI packet received {"connection_id":146926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":146926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:12:09] local.INFO: TCP Data received {"connection_id":146926,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc247d3b8012d81a24005d3e8b0000600b92d..."} 
[2026-08-02 17:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc247d3b8012d81a24005d3e8b0000600b92d..."} 
[2026-08-02 17:12:09] local.INFO: Processing buffer {"connection_id":146926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc247d3b8012d81a24005d3e8b0000600b92d..."} 
[2026-08-02 17:12:09] local.INFO: Packet analysis {"connection_id":146926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc247"} 
[2026-08-02 17:12:09] local.INFO: Extracted packet for processing {"connection_id":146926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc247"} 
[2026-08-02 17:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763470400,"raw_latitude":97773744,"longitude_deg":76.34704,"latitude_deg":9.7773744,"altitude":6,"angle":185,"satellites":45,"speed":27,"hex_longitude":"2d81a240","hex_latitude":"05d3e8b0","is_valid_coordinates":true} 
[2026-08-02 17:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131753984001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114137093738856448,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9105574734071117824,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12: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-08-02 17:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785670915000,"timestamp_ms":1785670915000,"timestamp_seconds":1785670915,"priority":1,"record_length":96,"hex_timestamp":"0000019fc247d3b8"} 
[2026-08-02 17:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-02 17:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131753984001,"66":13787,"207":206,"85":15104,"24":27,"16":114137093738856448,"45":-9105574734071117824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-02 17:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131753984001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:12:09] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-02 17:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114137093738856448,"km_value":114137093738856.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9105574734071117824,"description":"Unknown IO ID 45"} 
[2026-08-02 17:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131753984001,"power":13787,"unknown_207":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9105574734071117824}} 
[2026-08-02 17:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":146926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:12:09] local.INFO: GPS data processed {"connection_id":146926,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:12:09] local.INFO: Acknowledgment sent {"connection_id":146926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:12:31] local.INFO: TCP Data received {"connection_id":146699,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:31] local.INFO: Processing buffer {"connection_id":146699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:31] local.INFO: IMEI packet received {"connection_id":146699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":146699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:12:32] local.INFO: TCP Data received {"connection_id":146699,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:32] local.INFO: Processing buffer {"connection_id":146699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:32] local.INFO: IMEI packet received {"connection_id":146699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":146699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:12:32] local.INFO: TCP Data received {"connection_id":147968,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:12:32] local.INFO: Processing buffer {"connection_id":147968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:12:32] local.INFO: IMEI packet received {"connection_id":147968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":147968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:12:35] local.INFO: TCP Data received {"connection_id":146699,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:35] local.INFO: Processing buffer {"connection_id":146699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:35] local.INFO: IMEI packet received {"connection_id":146699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":146699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:12:35] local.INFO: TCP Data received {"connection_id":149269,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24537c0012d17c88007213290003d00bf2f..."} 
[2026-08-02 17:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24537c0012d17c88007213290003d00bf2f..."} 
[2026-08-02 17:12:35] local.INFO: Processing buffer {"connection_id":149269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24537c0012d17c88007213290003d00bf2f..."} 
[2026-08-02 17:12:35] local.INFO: Packet analysis {"connection_id":149269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:12:35] local.INFO: Extracted packet for processing {"connection_id":149269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616144,"longitude_deg":75.6533376,"latitude_deg":11.9616144,"altitude":61,"angle":191,"satellites":47,"speed":0,"hex_longitude":"2d17c880","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-08-02 17:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131705088001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10292730211074048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324561920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785670744000,"timestamp_ms":1785670744000,"timestamp_seconds":1785670744,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24537c0"} 
[2026-08-02 17:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-02 17:12: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-08-02 17:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131705088001,"66":12406,"107":206,"83":41984,"24":0,"16":10292730211074048,"45":1713760426324561920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131705088001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:12:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10292730211074048,"km_value":10292730211074.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324561920,"description":"Unknown IO ID 45"} 
[2026-08-02 17:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131705088001,"power":12406,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324561920}} 
[2026-08-02 17:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":149269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:12:35] local.INFO: GPS data processed {"connection_id":149269,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:12:35] local.INFO: Acknowledgment sent {"connection_id":149269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:12:37] local.INFO: TCP Data received {"connection_id":146699,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:37] local.INFO: Processing buffer {"connection_id":146699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:12:37] local.INFO: IMEI packet received {"connection_id":146699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":146699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:12:38] local.INFO: TCP Data received {"connection_id":147968,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:12:38] local.INFO: Processing buffer {"connection_id":147968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:12:38] local.INFO: IMEI packet received {"connection_id":147968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":147968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:12:39] local.INFO: TCP Data received {"connection_id":146699,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc247db88012d81a2c005d3e270000600ac2c..."} 
[2026-08-02 17:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc247db88012d81a2c005d3e270000600ac2c..."} 
[2026-08-02 17:12:39] local.INFO: Processing buffer {"connection_id":146699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc247db88012d81a2c005d3e270000600ac2c..."} 
[2026-08-02 17:12:39] local.INFO: Packet analysis {"connection_id":146699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc247"} 
[2026-08-02 17:12:39] local.INFO: Extracted packet for processing {"connection_id":146699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc247"} 
[2026-08-02 17:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763470528,"raw_latitude":97772144,"longitude_deg":76.3470528,"latitude_deg":9.7772144,"altitude":6,"angle":172,"satellites":44,"speed":34,"hex_longitude":"2d81a2c0","hex_latitude":"05d3e270","is_valid_coordinates":true} 
[2026-08-02 17:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131754240001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114137171048267776,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9105645102815465472,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785670917000,"timestamp_ms":1785670917000,"timestamp_seconds":1785670917,"priority":1,"record_length":96,"hex_timestamp":"0000019fc247db88"} 
[2026-08-02 17:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:12: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-08-02 17:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-02 17:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131754240001,"66":13559,"207":206,"85":15104,"24":34,"16":114137171048267776,"45":-9105645102815465472},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-02 17:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131754240001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:12:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-02 17:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114137171048267776,"km_value":114137171048267.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9105645102815465472,"description":"Unknown IO ID 45"} 
[2026-08-02 17:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131754240001,"power":13559,"unknown_207":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9105645102815465472}} 
[2026-08-02 17:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":146699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:12:39] local.INFO: GPS data processed {"connection_id":146699,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:12:39] local.INFO: Acknowledgment sent {"connection_id":146699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:12:39] local.INFO: TCP Data received {"connection_id":147968,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:12:39] local.INFO: Processing buffer {"connection_id":147968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:12:39] local.INFO: Packet analysis {"connection_id":147968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:12:39] local.INFO: Extracted packet for processing {"connection_id":147968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:12:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131633152001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785670743000,"timestamp_ms":1785670743000,"timestamp_seconds":1785670743,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24533d8"} 
[2026-08-02 17:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:12: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-08-02 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131633152001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131633152001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:12:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:12:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:12:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131633152001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":147968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:12:39] local.INFO: GPS data processed {"connection_id":147968,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:12:39] local.INFO: Acknowledgment sent {"connection_id":147968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:12:40] local.INFO: TCP Data received {"connection_id":147968,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:12:40] local.INFO: Processing buffer {"connection_id":147968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:12:40] local.INFO: Packet analysis {"connection_id":147968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:12:40] local.INFO: Extracted packet for processing {"connection_id":147968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:12:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131633152001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785670743000,"timestamp_ms":1785670743000,"timestamp_seconds":1785670743,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24533d8"} 
[2026-08-02 17:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:12: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-08-02 17: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":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131633152001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131633152001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:12:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:12:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:12:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131633152001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":147968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:12:40] local.INFO: GPS data processed {"connection_id":147968,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:12:40] local.INFO: Acknowledgment sent {"connection_id":147968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:12:43] local.INFO: TCP Data received {"connection_id":146699,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc247feb0012d81ac0005d3c0b8000600ab29..."} 
[2026-08-02 17:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc247feb0012d81ac0005d3c0b8000600ab29..."} 
[2026-08-02 17:12:43] local.INFO: Processing buffer {"connection_id":146699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc247feb0012d81ac0005d3c0b8000600ab29..."} 
[2026-08-02 17:12:43] local.INFO: Packet analysis {"connection_id":146699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc247"} 
[2026-08-02 17:12:43] local.INFO: Extracted packet for processing {"connection_id":146699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc247"} 
[2026-08-02 17:12:43] local.INFO: GPS Element Parsed {"raw_longitude":763472896,"raw_latitude":97763512,"longitude_deg":76.3472896,"latitude_deg":9.7763512,"altitude":6,"angle":171,"satellites":41,"speed":40,"hex_longitude":"2d81ac00","hex_latitude":"05d3c0b8","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131754752001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114137604839964672,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9105504365327519744,"note":"Value kept but may cause issues"} 
[2026-08-02 17:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785670926000,"timestamp_ms":1785670926000,"timestamp_seconds":1785670926,"priority":1,"record_length":96,"hex_timestamp":"0000019fc247feb0"} 
[2026-08-02 17:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-02 17:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131754752001,"66":13450,"207":206,"85":15104,"24":40,"16":114137604839964672,"45":-9105504365327519744},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-02 17:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131754752001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:12:43] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-02 17:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114137604839964672,"km_value":114137604839964.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9105504365327519744,"description":"Unknown IO ID 45"} 
[2026-08-02 17:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131754752001,"power":13450,"unknown_207":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9105504365327519744}} 
[2026-08-02 17:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":146699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:12:43] local.INFO: GPS data processed {"connection_id":146699,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:12:43] local.INFO: Acknowledgment sent {"connection_id":146699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:12:57] local.INFO: TCP Data received {"connection_id":147969,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:12:57] local.INFO: Processing buffer {"connection_id":147969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:12:57] local.INFO: IMEI packet received {"connection_id":147969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":147969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:12:58] local.INFO: TCP Data received {"connection_id":147969,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-02 17:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147969,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-02 17:12:58] local.INFO: Processing buffer {"connection_id":147969,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-02 17:12:58] local.INFO: IMEI packet received {"connection_id":147969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":147969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:12:58] local.INFO: TCP Data received {"connection_id":147969,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:12:58] local.INFO: Processing buffer {"connection_id":147969,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-02 17:12:58] local.INFO: IMEI packet received {"connection_id":147969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":147969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:13:24] local.INFO: TCP Data received {"connection_id":146927,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:13:24] local.INFO: Processing buffer {"connection_id":146927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:13:24] local.INFO: IMEI packet received {"connection_id":146927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":146927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:13:27] local.INFO: TCP Data received {"connection_id":149270,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:13:27] local.INFO: Processing buffer {"connection_id":149270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:13:27] local.INFO: IMEI packet received {"connection_id":149270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":149270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:13:29] local.INFO: TCP Data received {"connection_id":146927,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:13:29] local.INFO: Processing buffer {"connection_id":146927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:13:29] local.INFO: IMEI packet received {"connection_id":146927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":146927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:13:30] local.INFO: TCP Data received {"connection_id":146927,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:13:30] local.INFO: Processing buffer {"connection_id":146927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:13:30] local.INFO: Packet analysis {"connection_id":146927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:13:30] local.INFO: Extracted packet for processing {"connection_id":146927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:13:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131633152001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785670743000,"timestamp_ms":1785670743000,"timestamp_seconds":1785670743,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24533d8"} 
[2026-08-02 17:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131633152001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131633152001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:13:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:13:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131633152001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":146927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:13:30] local.INFO: GPS data processed {"connection_id":146927,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:13:30] local.INFO: Acknowledgment sent {"connection_id":146927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:13:32] local.INFO: TCP Data received {"connection_id":149270,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:13:32] local.INFO: Processing buffer {"connection_id":149270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:13:32] local.INFO: IMEI packet received {"connection_id":149270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":149270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:13:32] local.INFO: TCP Data received {"connection_id":149270,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc248a2c0012d81c44005d345d0000000ff2c..."} 
[2026-08-02 17:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc248a2c0012d81c44005d345d0000000ff2c..."} 
[2026-08-02 17:13:32] local.INFO: Processing buffer {"connection_id":149270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc248a2c0012d81c44005d345d0000000ff2c..."} 
[2026-08-02 17:13:32] local.INFO: Packet analysis {"connection_id":149270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc248"} 
[2026-08-02 17:13:32] local.INFO: Extracted packet for processing {"connection_id":149270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc248"} 
[2026-08-02 17:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763479104,"raw_latitude":97732048,"longitude_deg":76.3479104,"latitude_deg":9.7732048,"altitude":0,"angle":255,"satellites":44,"speed":14,"hex_longitude":"2d81c440","hex_latitude":"05d345d0","is_valid_coordinates":true} 
[2026-08-02 17:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131767552001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114139266992308224,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9095793478641252352,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785670968000,"timestamp_ms":1785670968000,"timestamp_seconds":1785670968,"priority":1,"record_length":96,"hex_timestamp":"0000019fc248a2c0"} 
[2026-08-02 17:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3259519160,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2177122309,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3221607287,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":211,"raw_value":8998192072673797376,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010054862,"corrected_to":0} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2684431745,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728695,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":149,"raw_value":2155544576,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3547951104,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57834101181142331,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.WARNING: Large IO value detected {"io_id":72,"raw_value":4971975283578634245,"note":"Value kept but may cause issues"} 
[2026-08-02 17:13:32] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,207,85,24,241,157,16,129,159,151,45,192,70,44,10,66,147,104,64,1,240,116,227,128,194,211,4,113,205,30,84,88,39,239,52,2,149,5,3,26,7,72],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2010054862,"validated":0}]} 
[2026-08-02 17:13:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":264071769817088,"timestamp_seconds":264071769817.088,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 17:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131767552001,"66":13200,"207":206,"85":15104,"24":14,"16":114139266992308224,"45":-9095793478641252352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-02 17:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131767552001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:13:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-02 17:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114139266992308224,"km_value":114139266992308.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9095793478641252352,"description":"Unknown IO ID 45"} 
[2026-08-02 17:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131767552001,"power":13200,"unknown_207":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9095793478641252352}} 
[2026-08-02 17:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":149270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:13:32] local.INFO: GPS data processed {"connection_id":149270,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:13:32] local.INFO: Acknowledgment sent {"connection_id":149270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:14:02] local.INFO: TCP Data received {"connection_id":146927,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:14:02] local.INFO: Processing buffer {"connection_id":146927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:14:02] local.INFO: Packet analysis {"connection_id":146927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:14:02] local.INFO: Extracted packet for processing {"connection_id":146927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:14:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131633152001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:14:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785670743000,"timestamp_ms":1785670743000,"timestamp_seconds":1785670743,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24533d8"} 
[2026-08-02 17:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131633152001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131633152001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:14:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:14:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:14:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131633152001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":146927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:14:02] local.INFO: GPS data processed {"connection_id":146927,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:14:02] local.INFO: Acknowledgment sent {"connection_id":146927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:14:03] local.INFO: TCP Data received {"connection_id":149270,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc248dd58012d819f0005d33d48000001042b..."} 
[2026-08-02 17:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc248dd58012d819f0005d33d48000001042b..."} 
[2026-08-02 17:14:03] local.INFO: Processing buffer {"connection_id":149270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc248dd58012d819f0005d33d48000001042b..."} 
[2026-08-02 17:14:03] local.INFO: Packet analysis {"connection_id":149270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc248"} 
[2026-08-02 17:14:03] local.INFO: Extracted packet for processing {"connection_id":149270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc248"} 
[2026-08-02 17:14:03] local.INFO: GPS Element Parsed {"raw_longitude":763469568,"raw_latitude":97729864,"longitude_deg":76.3469568,"latitude_deg":9.7729864,"altitude":0,"angle":260,"satellites":43,"speed":33,"hex_longitude":"2d819f00","hex_latitude":"05d33d48","is_valid_coordinates":true} 
[2026-08-02 17:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131767808001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114139739438710784,"note":"Value kept but may cause issues"} 
[2026-08-02 17:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096074953617977344,"note":"Value kept but may cause issues"} 
[2026-08-02 17:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785670983000,"timestamp_ms":1785670983000,"timestamp_seconds":1785670983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc248dd58"} 
[2026-08-02 17:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-02 17:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131767808001,"66":13406,"207":206,"85":15104,"24":33,"16":114139739438710784,"45":-9096074953617977344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-02 17:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131767808001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:14:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-02 17:14:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114139739438710784,"km_value":114139739438710.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096074953617977344,"description":"Unknown IO ID 45"} 
[2026-08-02 17:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131767808001,"power":13406,"unknown_207":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9096074953617977344}} 
[2026-08-02 17:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":149270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:14:03] local.INFO: GPS data processed {"connection_id":149270,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:14:03] local.INFO: Acknowledgment sent {"connection_id":149270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:14:23] local.INFO: TCP Data received {"connection_id":147971,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:14:23] local.INFO: Processing buffer {"connection_id":147971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:14:23] local.INFO: IMEI packet received {"connection_id":147971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":147971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:14:27] local.INFO: TCP Data received {"connection_id":147972,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:14:27] local.INFO: Processing buffer {"connection_id":147972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:14:27] local.INFO: IMEI packet received {"connection_id":147972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":147972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:14:29] local.INFO: TCP Data received {"connection_id":147971,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:14:29] local.INFO: Processing buffer {"connection_id":147971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:14:29] local.INFO: IMEI packet received {"connection_id":147971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":147971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:14:30] local.INFO: TCP Data received {"connection_id":147971,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:14:30] local.INFO: Processing buffer {"connection_id":147971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24533d8012cc330c007685958005800c529..."} 
[2026-08-02 17:14:30] local.INFO: Packet analysis {"connection_id":147971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:14:30] local.INFO: Extracted packet for processing {"connection_id":147971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc245"} 
[2026-08-02 17:14:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131633152001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785670743000,"timestamp_ms":1785670743000,"timestamp_seconds":1785670743,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24533d8"} 
[2026-08-02 17:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131633152001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131633152001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:14:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:14:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131633152001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":147971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:14:30] local.INFO: GPS data processed {"connection_id":147971,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:14:30] local.INFO: Acknowledgment sent {"connection_id":147971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:14:32] local.INFO: TCP Data received {"connection_id":147972,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:14:32] local.INFO: Processing buffer {"connection_id":147972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:14:32] local.INFO: IMEI packet received {"connection_id":147972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":147972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:14:33] local.INFO: TCP Data received {"connection_id":147972,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc248e528012d81990005d33cf0000001102a..."} 
[2026-08-02 17:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc248e528012d81990005d33cf0000001102a..."} 
[2026-08-02 17:14:33] local.INFO: Processing buffer {"connection_id":147972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc248e528012d81990005d33cf0000001102a..."} 
[2026-08-02 17:14:33] local.INFO: Packet analysis {"connection_id":147972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc248"} 
[2026-08-02 17:14:33] local.INFO: Extracted packet for processing {"connection_id":147972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc248"} 
[2026-08-02 17:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763468032,"raw_latitude":97729776,"longitude_deg":76.3468032,"latitude_deg":9.7729776,"altitude":0,"angle":272,"satellites":42,"speed":30,"hex_longitude":"2d819900","hex_latitude":"05d33cf0","is_valid_coordinates":true} 
[2026-08-02 17:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131771648001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114139812453154816,"note":"Value kept but may cause issues"} 
[2026-08-02 17:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106559896501008384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785670985000,"timestamp_ms":1785670985000,"timestamp_seconds":1785670985,"priority":1,"record_length":96,"hex_timestamp":"0000019fc248e528"} 
[2026-08-02 17:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:14: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-08-02 17:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 17:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131771648001,"66":13580,"207":206,"85":15104,"24":30,"16":114139812453154816,"45":-9106559896501008384},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-02 17:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131771648001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:14:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-02 17:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114139812453154816,"km_value":114139812453154.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106559896501008384,"description":"Unknown IO ID 45"} 
[2026-08-02 17:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131771648001,"power":13580,"unknown_207":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9106559896501008384}} 
[2026-08-02 17:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":147972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:14:33] local.INFO: GPS data processed {"connection_id":147972,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:14:33] local.INFO: Acknowledgment sent {"connection_id":147972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:15:02] local.INFO: TCP Data received {"connection_id":147971,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:15:02] local.INFO: Processing buffer {"connection_id":147971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:15:02] local.INFO: Packet analysis {"connection_id":147971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:15:02] local.INFO: Extracted packet for processing {"connection_id":147971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:15:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131710208001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785671044000,"timestamp_ms":1785671044000,"timestamp_seconds":1785671044,"priority":1,"record_length":96,"hex_timestamp":"0000019fc249cba0"} 
[2026-08-02 17:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 17:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131710208001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131710208001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:15:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:15:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:15:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131710208001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":147971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:15:02] local.INFO: GPS data processed {"connection_id":147971,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:15:02] local.INFO: Acknowledgment sent {"connection_id":147971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:15:04] local.INFO: TCP Data received {"connection_id":147972,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24923a8012d81754005d33e70000001122d..."} 
[2026-08-02 17:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24923a8012d81754005d33e70000001122d..."} 
[2026-08-02 17:15:04] local.INFO: Processing buffer {"connection_id":147972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24923a8012d81754005d33e70000001122d..."} 
[2026-08-02 17:15:04] local.INFO: Packet analysis {"connection_id":147972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:15:04] local.INFO: Extracted packet for processing {"connection_id":147972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763458880,"raw_latitude":97730160,"longitude_deg":76.345888,"latitude_deg":9.773016,"altitude":0,"angle":274,"satellites":45,"speed":9,"hex_longitude":"2d817540","hex_latitude":"05d33e70","is_valid_coordinates":true} 
[2026-08-02 17:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131772160001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114140250539819008,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9108248746361294848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785671001000,"timestamp_ms":1785671001000,"timestamp_seconds":1785671001,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24923a8"} 
[2026-08-02 17:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751617408,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":129,"raw_value":-4305434838063120382,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3259525160,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2177220613,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7673942450016092160,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635021297219535,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010054862,"corrected_to":0} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728695,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":149,"raw_value":2164916224,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3546673152,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241705785216597,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755528290205937,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,207,85,24,241,157,16,129,159,221,45,61,43,10,66,162,64,69,44,158,1,240,7,227,194,211,4,113,205,8,147,198,96,239,52,2,149,5,38,51,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2010054862,"validated":0}]} 
[2026-08-02 17:15:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":299247553347584,"timestamp_seconds":299247553347.584,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 17:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131772160001,"66":13222,"207":206,"85":15104,"24":9,"16":114140250539819008,"45":-9108248746361294848},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-02 17:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131772160001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:15:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-02 17:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114140250539819008,"km_value":114140250539819.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9108248746361294848,"description":"Unknown IO ID 45"} 
[2026-08-02 17:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131772160001,"power":13222,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9108248746361294848}} 
[2026-08-02 17:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":147972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:15:04] local.INFO: GPS data processed {"connection_id":147972,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:15:04] local.INFO: Acknowledgment sent {"connection_id":147972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:15:24] local.INFO: TCP Data received {"connection_id":146928,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:15:24] local.INFO: Processing buffer {"connection_id":146928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:15:24] local.INFO: IMEI packet received {"connection_id":146928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":146928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:15:27] local.INFO: TCP Data received {"connection_id":147973,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:15:27] local.INFO: Processing buffer {"connection_id":147973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:15:27] local.INFO: IMEI packet received {"connection_id":147973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":147973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:15:29] local.INFO: TCP Data received {"connection_id":146928,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:15:29] local.INFO: Processing buffer {"connection_id":146928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:15:29] local.INFO: IMEI packet received {"connection_id":146928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":146928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:15:30] local.INFO: TCP Data received {"connection_id":146928,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:15:30] local.INFO: Processing buffer {"connection_id":146928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:15:30] local.INFO: Packet analysis {"connection_id":146928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:15:30] local.INFO: Extracted packet for processing {"connection_id":146928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:15:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131710208001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785671044000,"timestamp_ms":1785671044000,"timestamp_seconds":1785671044,"priority":1,"record_length":96,"hex_timestamp":"0000019fc249cba0"} 
[2026-08-02 17:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 17:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131710208001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131710208001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:15:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:15:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131710208001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":146928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:15:30] local.INFO: GPS data processed {"connection_id":146928,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:15:30] local.INFO: Acknowledgment sent {"connection_id":146928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:15:32] local.INFO: TCP Data received {"connection_id":147973,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:15:32] local.INFO: Processing buffer {"connection_id":147973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:15:32] local.INFO: IMEI packet received {"connection_id":147973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":147973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:15:33] local.INFO: TCP Data received {"connection_id":147973,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24946d0012d81644005d33d70000001052b..."} 
[2026-08-02 17:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24946d0012d81644005d33d70000001052b..."} 
[2026-08-02 17:15:33] local.INFO: Processing buffer {"connection_id":147973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24946d0012d81644005d33d70000001052b..."} 
[2026-08-02 17:15:33] local.INFO: Packet analysis {"connection_id":147973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:15:33] local.INFO: Extracted packet for processing {"connection_id":147973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763454528,"raw_latitude":97729904,"longitude_deg":76.3454528,"latitude_deg":9.7729904,"altitude":0,"angle":261,"satellites":43,"speed":25,"hex_longitude":"2d816440","hex_latitude":"05d33d70","is_valid_coordinates":true} 
[2026-08-02 17:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131776256001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114140456698249216,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9118311476778602496,"note":"Value kept but may cause issues"} 
[2026-08-02 17:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785671010000,"timestamp_ms":1785671010000,"timestamp_seconds":1785671010,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24946d0"} 
[2026-08-02 17:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:15: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-08-02 17:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-02 17:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131776256001,"66":13504,"207":206,"85":15104,"24":25,"16":114140456698249216,"45":-9118311476778602496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-02 17:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131776256001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:15:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-02 17:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114140456698249216,"km_value":114140456698249.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9118311476778602496,"description":"Unknown IO ID 45"} 
[2026-08-02 17:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131776256001,"power":13504,"unknown_207":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9118311476778602496}} 
[2026-08-02 17:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":147973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:15:33] local.INFO: GPS data processed {"connection_id":147973,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:15:33] local.INFO: Acknowledgment sent {"connection_id":147973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:16:02] local.INFO: TCP Data received {"connection_id":146928,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:16:02] local.INFO: Processing buffer {"connection_id":146928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:16:02] local.INFO: Packet analysis {"connection_id":146928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:16:02] local.INFO: Extracted packet for processing {"connection_id":146928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:16:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131710208001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:16:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785671044000,"timestamp_ms":1785671044000,"timestamp_seconds":1785671044,"priority":1,"record_length":96,"hex_timestamp":"0000019fc249cba0"} 
[2026-08-02 17:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 17:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131710208001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131710208001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:16:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:16:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:16:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131710208001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":146928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:16:02] local.INFO: GPS data processed {"connection_id":146928,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:16:02] local.INFO: Acknowledgment sent {"connection_id":146928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:16:04] local.INFO: TCP Data received {"connection_id":147973,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24b7568012d80368005d39338000801352c..."} 
[2026-08-02 17:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24b7568012d80368005d39338000801352c..."} 
[2026-08-02 17:16:04] local.INFO: Processing buffer {"connection_id":147973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24b7568012d80368005d39338000801352c..."} 
[2026-08-02 17:16:04] local.INFO: Packet analysis {"connection_id":147973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24b"} 
[2026-08-02 17:16:04] local.INFO: Extracted packet for processing {"connection_id":147973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24b"} 
[2026-08-02 17:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763377280,"raw_latitude":97751864,"longitude_deg":76.337728,"latitude_deg":9.7751864,"altitude":8,"angle":309,"satellites":44,"speed":19,"hex_longitude":"2d803680","hex_latitude":"05d39338","is_valid_coordinates":true} 
[2026-08-02 17:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131813376001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114144459607769088,"note":"Value kept but may cause issues"} 
[2026-08-02 17:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206061300763471872,"note":"Value kept but may cause issues"} 
[2026-08-02 17:16: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-08-02 17:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785671153000,"timestamp_ms":1785671153000,"timestamp_seconds":1785671153,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24b7568"} 
[2026-08-02 17:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:16: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-08-02 17:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-02 17:16: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-08-02 17:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131813376001,"66":13526,"167":206,"85":15104,"24":19,"16":114144459607769088,"45":-9206061300763471872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-02 17:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131813376001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:16:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-02 17:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114144459607769088,"km_value":114144459607769.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206061300763471872,"description":"Unknown IO ID 45"} 
[2026-08-02 17:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131813376001,"power":13526,"unknown_167":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9206061300763471872}} 
[2026-08-02 17:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":147973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:16:04] local.INFO: GPS data processed {"connection_id":147973,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:16:04] local.INFO: Acknowledgment sent {"connection_id":147973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:16:24] local.INFO: TCP Data received {"connection_id":146930,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:16:24] local.INFO: Processing buffer {"connection_id":146930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:16:24] local.INFO: IMEI packet received {"connection_id":146930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":146930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:16:29] local.INFO: TCP Data received {"connection_id":146930,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:16:29] local.INFO: Processing buffer {"connection_id":146930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:16:29] local.INFO: IMEI packet received {"connection_id":146930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":146930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:16:30] local.INFO: TCP Data received {"connection_id":146930,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:16:30] local.INFO: Processing buffer {"connection_id":146930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:16:30] local.INFO: Packet analysis {"connection_id":146930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:16:30] local.INFO: Extracted packet for processing {"connection_id":146930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:16:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131710208001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:16:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785671044000,"timestamp_ms":1785671044000,"timestamp_seconds":1785671044,"priority":1,"record_length":96,"hex_timestamp":"0000019fc249cba0"} 
[2026-08-02 17:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 17:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131710208001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131710208001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:16:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:16:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:16:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131710208001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":146930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:16:30] local.INFO: GPS data processed {"connection_id":146930,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:16:30] local.INFO: Acknowledgment sent {"connection_id":146930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:16:34] local.INFO: TCP Data received {"connection_id":146701,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:16:34] local.INFO: Processing buffer {"connection_id":146701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:16:34] local.INFO: IMEI packet received {"connection_id":146701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":146701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:16:37] local.INFO: TCP Data received {"connection_id":146701,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:16:37] local.INFO: Processing buffer {"connection_id":146701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:16:37] local.INFO: IMEI packet received {"connection_id":146701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":146701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:16:43] local.INFO: TCP Data received {"connection_id":146701,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:16:43] local.INFO: Processing buffer {"connection_id":146701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:16:43] local.INFO: IMEI packet received {"connection_id":146701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":146701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:16:44] local.INFO: TCP Data received {"connection_id":146701,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24b7950012d80350005d39408000801262c..."} 
[2026-08-02 17:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24b7950012d80350005d39408000801262c..."} 
[2026-08-02 17:16:44] local.INFO: Processing buffer {"connection_id":146701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24b7950012d80350005d39408000801262c..."} 
[2026-08-02 17:16:44] local.INFO: Packet analysis {"connection_id":146701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24b"} 
[2026-08-02 17:16:44] local.INFO: Extracted packet for processing {"connection_id":146701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24b"} 
[2026-08-02 17:16:44] local.INFO: GPS Element Parsed {"raw_longitude":763376896,"raw_latitude":97752072,"longitude_deg":76.3376896,"latitude_deg":9.7752072,"altitude":8,"angle":294,"satellites":44,"speed":17,"hex_longitude":"2d803500","hex_latitude":"05d39408","is_valid_coordinates":true} 
[2026-08-02 17:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131815168001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114144481082605568,"note":"Value kept but may cause issues"} 
[2026-08-02 17:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208031625599567872,"note":"Value kept but may cause issues"} 
[2026-08-02 17:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785671154000,"timestamp_ms":1785671154000,"timestamp_seconds":1785671154,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24b7950"} 
[2026-08-02 17:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 17:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131815168001,"66":13515,"167":206,"85":15104,"24":17,"16":114144481082605568,"45":-9208031625599567872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-02 17:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131815168001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:16:44] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-02 17:16:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114144481082605568,"km_value":114144481082605.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208031625599567872,"description":"Unknown IO ID 45"} 
[2026-08-02 17:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131815168001,"power":13515,"unknown_167":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9208031625599567872}} 
[2026-08-02 17:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":146701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:16:44] local.INFO: GPS data processed {"connection_id":146701,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:16:44] local.INFO: Acknowledgment sent {"connection_id":146701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:17:02] local.INFO: TCP Data received {"connection_id":146930,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:17:02] local.INFO: Processing buffer {"connection_id":146930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:17:02] local.INFO: Packet analysis {"connection_id":146930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:17:02] local.INFO: Extracted packet for processing {"connection_id":146930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131710208001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:17:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785671044000,"timestamp_ms":1785671044000,"timestamp_seconds":1785671044,"priority":1,"record_length":96,"hex_timestamp":"0000019fc249cba0"} 
[2026-08-02 17:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 17:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131710208001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131710208001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:17:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:17:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:17:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131710208001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":146930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:17:02] local.INFO: GPS data processed {"connection_id":146930,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:17:02] local.INFO: Acknowledgment sent {"connection_id":146930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:17:23] local.INFO: TCP Data received {"connection_id":149271,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:17:23] local.INFO: Processing buffer {"connection_id":149271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:17:23] local.INFO: IMEI packet received {"connection_id":149271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":149271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:17:28] local.INFO: TCP Data received {"connection_id":146703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:17:28] local.INFO: Processing buffer {"connection_id":146703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:17:28] local.INFO: IMEI packet received {"connection_id":146703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":146703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:17:28] local.INFO: TCP Data received {"connection_id":146703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:17:28] local.INFO: Processing buffer {"connection_id":146703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:17:28] local.INFO: IMEI packet received {"connection_id":146703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":146703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:17:29] local.INFO: TCP Data received {"connection_id":149271,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:17:29] local.INFO: Processing buffer {"connection_id":149271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:17:29] local.INFO: IMEI packet received {"connection_id":149271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":149271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:17:30] local.INFO: TCP Data received {"connection_id":149271,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:17:30] local.INFO: Processing buffer {"connection_id":149271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:17:30] local.INFO: Packet analysis {"connection_id":149271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:17:30] local.INFO: Extracted packet for processing {"connection_id":149271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:17:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131710208001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785671044000,"timestamp_ms":1785671044000,"timestamp_seconds":1785671044,"priority":1,"record_length":96,"hex_timestamp":"0000019fc249cba0"} 
[2026-08-02 17:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 17:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131710208001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131710208001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:17:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:17:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131710208001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":149271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:17:30] local.INFO: GPS data processed {"connection_id":149271,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:17:30] local.INFO: Acknowledgment sent {"connection_id":149271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:17:32] local.INFO: TCP Data received {"connection_id":146703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:17:32] local.INFO: Processing buffer {"connection_id":146703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:17:32] local.INFO: IMEI packet received {"connection_id":146703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":146703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:17:33] local.INFO: TCP Data received {"connection_id":146703,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24b7d38012d80334005d39480000801152c..."} 
[2026-08-02 17:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24b7d38012d80334005d39480000801152c..."} 
[2026-08-02 17:17:33] local.INFO: Processing buffer {"connection_id":146703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24b7d38012d80334005d39480000801152c..."} 
[2026-08-02 17:17:33] local.INFO: Packet analysis {"connection_id":146703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24b"} 
[2026-08-02 17:17:33] local.INFO: Extracted packet for processing {"connection_id":146703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24b"} 
[2026-08-02 17:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763376448,"raw_latitude":97752192,"longitude_deg":76.3376448,"latitude_deg":9.7752192,"altitude":8,"angle":277,"satellites":44,"speed":20,"hex_longitude":"2d803340","hex_latitude":"05d39480","is_valid_coordinates":true} 
[2026-08-02 17:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131815424001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114144502557442048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208453838064580608,"note":"Value kept but may cause issues"} 
[2026-08-02 17:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785671155000,"timestamp_ms":1785671155000,"timestamp_seconds":1785671155,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24b7d38"} 
[2026-08-02 17:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:17: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-08-02 17:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-02 17:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131815424001,"66":13515,"167":206,"85":15104,"24":20,"16":114144502557442048,"45":-9208453838064580608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-02 17:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131815424001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:17:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-02 17:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114144502557442048,"km_value":114144502557442.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208453838064580608,"description":"Unknown IO ID 45"} 
[2026-08-02 17:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131815424001,"power":13515,"unknown_167":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9208453838064580608}} 
[2026-08-02 17:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":146703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:17:33] local.INFO: GPS data processed {"connection_id":146703,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:17:33] local.INFO: Acknowledgment sent {"connection_id":146703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:18:02] local.INFO: TCP Data received {"connection_id":149271,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:18:02] local.INFO: Processing buffer {"connection_id":149271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:18:02] local.INFO: Packet analysis {"connection_id":149271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:18:02] local.INFO: Extracted packet for processing {"connection_id":149271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:18:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131710208001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:18:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785671044000,"timestamp_ms":1785671044000,"timestamp_seconds":1785671044,"priority":1,"record_length":96,"hex_timestamp":"0000019fc249cba0"} 
[2026-08-02 17:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 17:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131710208001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131710208001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:18:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:18:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:18:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131710208001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":149271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:18:02] local.INFO: GPS data processed {"connection_id":149271,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:18:02] local.INFO: Acknowledgment sent {"connection_id":149271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:18:04] local.INFO: TCP Data received {"connection_id":146703,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24d4a28012d7f0dc005d33770000200e12d..."} 
[2026-08-02 17:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24d4a28012d7f0dc005d33770000200e12d..."} 
[2026-08-02 17:18:04] local.INFO: Processing buffer {"connection_id":146703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24d4a28012d7f0dc005d33770000200e12d..."} 
[2026-08-02 17:18:04] local.INFO: Packet analysis {"connection_id":146703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24d"} 
[2026-08-02 17:18:04] local.INFO: Extracted packet for processing {"connection_id":146703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24d"} 
[2026-08-02 17:18:04] local.INFO: GPS Element Parsed {"raw_longitude":763301312,"raw_latitude":97728368,"longitude_deg":76.3301312,"latitude_deg":9.7728368,"altitude":2,"angle":225,"satellites":45,"speed":30,"hex_longitude":"2d7f0dc0","hex_latitude":"05d33770","is_valid_coordinates":true} 
[2026-08-02 17:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131845888001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114148599956242432,"note":"Value kept but may cause issues"} 
[2026-08-02 17:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155184748765081600,"note":"Value kept but may cause issues"} 
[2026-08-02 17:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785671273000,"timestamp_ms":1785671273000,"timestamp_seconds":1785671273,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24d4a28"} 
[2026-08-02 17:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:18: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-08-02 17:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 17:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131845888001,"66":13406,"209":206,"85":15104,"24":30,"16":114148599956242432,"45":9155184748765081600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-02 17:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131845888001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:18:04] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-02 17:18:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114148599956242432,"km_value":114148599956242.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155184748765081600,"description":"Unknown IO ID 45"} 
[2026-08-02 17:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131845888001,"power":13406,"unknown_209":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9155184748765081600}} 
[2026-08-02 17:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":146703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:18:04] local.INFO: GPS data processed {"connection_id":146703,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:18:04] local.INFO: Acknowledgment sent {"connection_id":146703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:18:23] local.INFO: TCP Data received {"connection_id":149272,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:18:23] local.INFO: Processing buffer {"connection_id":149272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:18:23] local.INFO: IMEI packet received {"connection_id":149272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":149272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:18:27] local.INFO: TCP Data received {"connection_id":146704,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:18:27] local.INFO: Processing buffer {"connection_id":146704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:18:27] local.INFO: IMEI packet received {"connection_id":146704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":146704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:18:29] local.INFO: TCP Data received {"connection_id":149272,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:18:29] local.INFO: Processing buffer {"connection_id":149272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:18:29] local.INFO: IMEI packet received {"connection_id":149272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":149272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:18:31] local.INFO: TCP Data received {"connection_id":149272,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:18:31] local.INFO: Processing buffer {"connection_id":149272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:18:31] local.INFO: Packet analysis {"connection_id":149272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:18:31] local.INFO: Extracted packet for processing {"connection_id":149272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:18:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131710208001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:18:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785671044000,"timestamp_ms":1785671044000,"timestamp_seconds":1785671044,"priority":1,"record_length":96,"hex_timestamp":"0000019fc249cba0"} 
[2026-08-02 17:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 17:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131710208001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131710208001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:18:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:18:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:18:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131710208001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":149272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:18:31] local.INFO: GPS data processed {"connection_id":149272,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:18:31] local.INFO: Acknowledgment sent {"connection_id":149272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:18:32] local.INFO: TCP Data received {"connection_id":146704,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:18:32] local.INFO: Processing buffer {"connection_id":146704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:18:32] local.INFO: IMEI packet received {"connection_id":146704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":146704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:18:33] local.INFO: TCP Data received {"connection_id":146704,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24d5db0012d7f078005d33210000100ef2d..."} 
[2026-08-02 17:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24d5db0012d7f078005d33210000100ef2d..."} 
[2026-08-02 17:18:33] local.INFO: Processing buffer {"connection_id":146704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24d5db0012d7f078005d33210000100ef2d..."} 
[2026-08-02 17:18:33] local.INFO: Packet analysis {"connection_id":146704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24d"} 
[2026-08-02 17:18:33] local.INFO: Extracted packet for processing {"connection_id":146704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24d"} 
[2026-08-02 17:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763299712,"raw_latitude":97726992,"longitude_deg":76.3299712,"latitude_deg":9.7726992,"altitude":1,"angle":239,"satellites":45,"speed":8,"hex_longitude":"2d7f0780","hex_latitude":"05d33210","is_valid_coordinates":true} 
[2026-08-02 17:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131845888001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114148703035457536,"note":"Value kept but may cause issues"} 
[2026-08-02 17:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155184748765081600,"note":"Value kept but may cause issues"} 
[2026-08-02 17:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785671278000,"timestamp_ms":1785671278000,"timestamp_seconds":1785671278,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24d5db0"} 
[2026-08-02 17:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:18: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-08-02 17:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-02 17:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131845888001,"66":13602,"209":206,"85":15104,"24":8,"16":114148703035457536,"45":9155184748765081600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-02 17:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131845888001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:18:33] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-02 17:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114148703035457536,"km_value":114148703035457.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155184748765081600,"description":"Unknown IO ID 45"} 
[2026-08-02 17:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131845888001,"power":13602,"unknown_209":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9155184748765081600}} 
[2026-08-02 17:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":146704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:18:33] local.INFO: GPS data processed {"connection_id":146704,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:18:33] local.INFO: Acknowledgment sent {"connection_id":146704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:19:03] local.INFO: TCP Data received {"connection_id":149272,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:19:03] local.INFO: Processing buffer {"connection_id":149272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:19:03] local.INFO: Packet analysis {"connection_id":149272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:19:03] local.INFO: Extracted packet for processing {"connection_id":149272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:19:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131710208001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785671044000,"timestamp_ms":1785671044000,"timestamp_seconds":1785671044,"priority":1,"record_length":96,"hex_timestamp":"0000019fc249cba0"} 
[2026-08-02 17:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 17:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131710208001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131710208001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:19:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:19:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131710208001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":149272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:19:03] local.INFO: GPS data processed {"connection_id":149272,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:19:03] local.INFO: Acknowledgment sent {"connection_id":149272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:19:04] local.INFO: TCP Data received {"connection_id":146704,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24d6968012d7f04c005d330c0000100fc2d..."} 
[2026-08-02 17:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24d6968012d7f04c005d330c0000100fc2d..."} 
[2026-08-02 17:19:04] local.INFO: Processing buffer {"connection_id":146704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24d6968012d7f04c005d330c0000100fc2d..."} 
[2026-08-02 17:19:04] local.INFO: Packet analysis {"connection_id":146704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24d"} 
[2026-08-02 17:19:04] local.INFO: Extracted packet for processing {"connection_id":146704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24d"} 
[2026-08-02 17:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763299008,"raw_latitude":97726656,"longitude_deg":76.3299008,"latitude_deg":9.7726656,"altitude":1,"angle":252,"satellites":45,"speed":12,"hex_longitude":"2d7f04c0","hex_latitude":"05d330c0","is_valid_coordinates":true} 
[2026-08-02 17:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131847168001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114148737395195904,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153425530160287744,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785671281000,"timestamp_ms":1785671281000,"timestamp_seconds":1785671281,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24d6968"} 
[2026-08-02 17:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:19: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-08-02 17: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-02 17:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131847168001,"66":13537,"209":206,"85":15104,"24":12,"16":114148737395195904,"45":9153425530160287744},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-02 17:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131847168001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:19:04] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-02 17:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114148737395195904,"km_value":114148737395195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153425530160287744,"description":"Unknown IO ID 45"} 
[2026-08-02 17:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131847168001,"power":13537,"unknown_209":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9153425530160287744}} 
[2026-08-02 17:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":146704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:19:04] local.INFO: GPS data processed {"connection_id":146704,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:19:04] local.INFO: Acknowledgment sent {"connection_id":146704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:19:27] local.INFO: TCP Data received {"connection_id":147974,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:19:27] local.INFO: Processing buffer {"connection_id":147974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:19:27] local.INFO: IMEI packet received {"connection_id":147974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":147974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:19:29] local.INFO: TCP Data received {"connection_id":149273,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:19:29] local.INFO: Processing buffer {"connection_id":149273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:19:29] local.INFO: IMEI packet received {"connection_id":149273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":149273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:19:32] local.INFO: TCP Data received {"connection_id":147974,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:19:32] local.INFO: Processing buffer {"connection_id":147974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:19:32] local.INFO: IMEI packet received {"connection_id":147974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":147974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:19:33] local.INFO: TCP Data received {"connection_id":147974,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24d7908012d7effc005d32fb8000101072c..."} 
[2026-08-02 17:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24d7908012d7effc005d32fb8000101072c..."} 
[2026-08-02 17:19:33] local.INFO: Processing buffer {"connection_id":147974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24d7908012d7effc005d32fb8000101072c..."} 
[2026-08-02 17:19:33] local.INFO: Packet analysis {"connection_id":147974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24d"} 
[2026-08-02 17:19:33] local.INFO: Extracted packet for processing {"connection_id":147974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24d"} 
[2026-08-02 17:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763297728,"raw_latitude":97726392,"longitude_deg":76.3297728,"latitude_deg":9.7726392,"altitude":1,"angle":263,"satellites":44,"speed":12,"hex_longitude":"2d7effc0","hex_latitude":"05d32fb8","is_valid_coordinates":true} 
[2026-08-02 17:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131847936001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114148801819705344,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152651473974247424,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785671285000,"timestamp_ms":1785671285000,"timestamp_seconds":1785671285,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24d7908"} 
[2026-08-02 17:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:19: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-08-02 17:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-02 17:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131847936001,"66":13276,"209":206,"85":15104,"24":12,"16":114148801819705344,"45":9152651473974247424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-02 17:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131847936001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:19:33] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-02 17:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114148801819705344,"km_value":114148801819705.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152651473974247424,"description":"Unknown IO ID 45"} 
[2026-08-02 17:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131847936001,"power":13276,"unknown_209":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9152651473974247424}} 
[2026-08-02 17:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":147974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:19:33] local.INFO: GPS data processed {"connection_id":147974,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:19:33] local.INFO: Acknowledgment sent {"connection_id":147974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:19:34] local.INFO: TCP Data received {"connection_id":149273,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:19:34] local.INFO: Processing buffer {"connection_id":149273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:19:34] local.INFO: IMEI packet received {"connection_id":149273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":149273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:19:35] local.INFO: TCP Data received {"connection_id":149273,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:19:35] local.INFO: Processing buffer {"connection_id":149273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:19:35] local.INFO: Packet analysis {"connection_id":149273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:19:35] local.INFO: Extracted packet for processing {"connection_id":149273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:19:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131710208001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785671044000,"timestamp_ms":1785671044000,"timestamp_seconds":1785671044,"priority":1,"record_length":96,"hex_timestamp":"0000019fc249cba0"} 
[2026-08-02 17:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 17:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131710208001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131710208001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:19:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:19:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:19:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131710208001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":149273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:19:35] local.INFO: GPS data processed {"connection_id":149273,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:19:35] local.INFO: Acknowledgment sent {"connection_id":149273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:19:40] local.INFO: TCP Data received {"connection_id":149273,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:19:40] local.INFO: Processing buffer {"connection_id":149273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc249cba0012cc330c007685958005800c52b..."} 
[2026-08-02 17:19:40] local.INFO: Packet analysis {"connection_id":149273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:19:40] local.INFO: Extracted packet for processing {"connection_id":149273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc249"} 
[2026-08-02 17:19:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131710208001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785671044000,"timestamp_ms":1785671044000,"timestamp_seconds":1785671044,"priority":1,"record_length":96,"hex_timestamp":"0000019fc249cba0"} 
[2026-08-02 17:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:19: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-08-02 17:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 17:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131710208001,"66":25473,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131710208001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:19:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:19:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131710208001,"power":25473,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":149273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:19:41] local.INFO: GPS data processed {"connection_id":149273,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:19:41] local.INFO: Acknowledgment sent {"connection_id":149273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:20:04] local.INFO: TCP Data received {"connection_id":147974,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24dbb70012d7edac005d32958000401002d..."} 
[2026-08-02 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24dbb70012d7edac005d32958000401002d..."} 
[2026-08-02 17:20:04] local.INFO: Processing buffer {"connection_id":147974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24dbb70012d7edac005d32958000401002d..."} 
[2026-08-02 17:20:04] local.INFO: Packet analysis {"connection_id":147974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24d"} 
[2026-08-02 17:20:04] local.INFO: Extracted packet for processing {"connection_id":147974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24d"} 
[2026-08-02 17:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763288256,"raw_latitude":97724760,"longitude_deg":76.3288256,"latitude_deg":9.772476,"altitude":4,"angle":256,"satellites":45,"speed":33,"hex_longitude":"2d7edac0","hex_latitude":"05d32958","is_valid_coordinates":true} 
[2026-08-02 17:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131848960001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114149261381206016,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151244099090626560,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785671302000,"timestamp_ms":1785671302000,"timestamp_seconds":1785671302,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24dbb70"} 
[2026-08-02 17:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:20: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-08-02 17:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-02 17:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131848960001,"66":13276,"209":206,"85":15104,"24":33,"16":114149261381206016,"45":9151244099090626560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-02 17:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131848960001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:20:04] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-02 17:20:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114149261381206016,"km_value":114149261381206.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151244099090626560,"description":"Unknown IO ID 45"} 
[2026-08-02 17:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131848960001,"power":13276,"unknown_209":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9151244099090626560}} 
[2026-08-02 17:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":147974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:20:04] local.INFO: GPS data processed {"connection_id":147974,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:20:04] local.INFO: Acknowledgment sent {"connection_id":147974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:20:23] local.INFO: TCP Data received {"connection_id":146931,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:20:23] local.INFO: Processing buffer {"connection_id":146931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:20:23] local.INFO: IMEI packet received {"connection_id":146931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":146931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:20:27] local.INFO: TCP Data received {"connection_id":147975,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:20:27] local.INFO: Processing buffer {"connection_id":147975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:20:27] local.INFO: IMEI packet received {"connection_id":147975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":147975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:20:28] local.INFO: TCP Data received {"connection_id":147975,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:20:28] local.INFO: Processing buffer {"connection_id":147975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:20:28] local.INFO: IMEI packet received {"connection_id":147975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":147975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:20:29] local.INFO: TCP Data received {"connection_id":146931,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:20:29] local.INFO: Processing buffer {"connection_id":146931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:20:29] local.INFO: IMEI packet received {"connection_id":146931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":146931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:20:31] local.INFO: TCP Data received {"connection_id":146931,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:20:31] local.INFO: Processing buffer {"connection_id":146931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:20:31] local.INFO: Packet analysis {"connection_id":146931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:20:31] local.INFO: Extracted packet for processing {"connection_id":146931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:20:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131787264001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785671345000,"timestamp_ms":1785671345000,"timestamp_seconds":1785671345,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24e6368"} 
[2026-08-02 17:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131787264001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131787264001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:20:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:20:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131787264001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":146931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:20:31] local.INFO: GPS data processed {"connection_id":146931,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:20:31] local.INFO: Acknowledgment sent {"connection_id":146931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:20:33] local.INFO: TCP Data received {"connection_id":147975,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:20:33] local.INFO: Processing buffer {"connection_id":147975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:20:33] local.INFO: IMEI packet received {"connection_id":147975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":147975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:20:34] local.INFO: TCP Data received {"connection_id":147975,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24f51b0012d7e668005d301f0000701372c..."} 
[2026-08-02 17:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24f51b0012d7e668005d301f0000701372c..."} 
[2026-08-02 17:20:34] local.INFO: Processing buffer {"connection_id":147975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24f51b0012d7e668005d301f0000701372c..."} 
[2026-08-02 17:20:34] local.INFO: Packet analysis {"connection_id":147975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24f"} 
[2026-08-02 17:20:34] local.INFO: Extracted packet for processing {"connection_id":147975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24f"} 
[2026-08-02 17:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763258496,"raw_latitude":97714672,"longitude_deg":76.3258496,"latitude_deg":9.7714672,"altitude":7,"angle":311,"satellites":44,"speed":5,"hex_longitude":"2d7e6680","hex_latitude":"05d301f0","is_valid_coordinates":true} 
[2026-08-02 17:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131879680001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114150803274465280,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108178427650875392,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:34] 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-08-02 17:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785671406000,"timestamp_ms":1785671406000,"timestamp_seconds":1785671406,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24f51b0"} 
[2026-08-02 17:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:20: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-08-02 17:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 17:20:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:34] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3259901160,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:34] local.WARNING: Large IO value detected {"io_id":211,"raw_value":1702360663456361216,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792620238,"corrected_to":0} 
[2026-08-02 17:20:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2684431742,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:34] local.WARNING: Large IO value detected {"io_id":149,"raw_value":2336751616,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3540563968,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:34] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57834109771076923,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:34] local.WARNING: Large IO value detected {"io_id":78,"raw_value":407577061186437125,"note":"Value kept but may cause issues"} 
[2026-08-02 17:20:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,116,85,24,241,157,16,139,159,62,45,192,1,6,10,66,38,64,3,44,212,240,12,227,194,211,4,113,205,48,125,152,239,52,2,149,5,35,214,78],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2792620238,"validated":0}]} 
[2026-08-02 17:20:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432669009624956928,"timestamp_seconds":432669009624956.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 17:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131879680001,"66":13319,"116":206,"85":15104,"24":5,"16":114150803274465280,"45":9108178427650875392},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-02 17:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131879680001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:20:34] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-02 17:20:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114150803274465280,"km_value":114150803274465.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108178427650875392,"description":"Unknown IO ID 45"} 
[2026-08-02 17:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131879680001,"power":13319,"unknown_116":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9108178427650875392}} 
[2026-08-02 17:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":147975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:20:34] local.INFO: GPS data processed {"connection_id":147975,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:20:34] local.INFO: Acknowledgment sent {"connection_id":147975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:21:02] local.INFO: TCP Data received {"connection_id":146931,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:21:02] local.INFO: Processing buffer {"connection_id":146931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:21:02] local.INFO: Packet analysis {"connection_id":146931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:21:02] local.INFO: Extracted packet for processing {"connection_id":146931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:21:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131787264001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785671345000,"timestamp_ms":1785671345000,"timestamp_seconds":1785671345,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24e6368"} 
[2026-08-02 17:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131787264001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131787264001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:21:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:21:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:21:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131787264001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":146931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:21:02] local.INFO: GPS data processed {"connection_id":146931,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:21:02] local.INFO: Acknowledgment sent {"connection_id":146931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:21:05] local.INFO: TCP Data received {"connection_id":147975,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24f5598012d7e664005d302a8000701532b..."} 
[2026-08-02 17:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24f5598012d7e664005d302a8000701532b..."} 
[2026-08-02 17:21:05] local.INFO: Processing buffer {"connection_id":147975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24f5598012d7e664005d302a8000701532b..."} 
[2026-08-02 17:21:05] local.INFO: Packet analysis {"connection_id":147975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24f"} 
[2026-08-02 17:21:05] local.INFO: Extracted packet for processing {"connection_id":147975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24f"} 
[2026-08-02 17:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763258432,"raw_latitude":97714856,"longitude_deg":76.3258432,"latitude_deg":9.7714856,"altitude":7,"angle":339,"satellites":43,"speed":9,"hex_longitude":"2d7e6640","hex_latitude":"05d302a8","is_valid_coordinates":true} 
[2026-08-02 17:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131879936001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114150811864399872,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108108058906718208,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21: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-08-02 17:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785671407000,"timestamp_ms":1785671407000,"timestamp_seconds":1785671407,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24f5598"} 
[2026-08-02 17:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:21: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-08-02 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-02 17:21:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3259904160,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:05] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57885387385623867,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:05] local.WARNING: Large IO value detected {"io_id":211,"raw_value":628252152329415936,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792620238,"corrected_to":0} 
[2026-08-02 17:21:05] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2818649470,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:05] local.WARNING: Large IO value detected {"io_id":149,"raw_value":2340093952,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3540359168,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:05] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2659376874870194181,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,116,85,24,241,157,16,139,159,77,45,192,1,6,44,10,66,62,38,64,240,144,227,194,211,4,113,205,130,108,239,51,2,149,5,32,78],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2792620238,"validated":0}]} 
[2026-08-02 17:21:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504745295360622592,"timestamp_seconds":504745295360622.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 17:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:21: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-08-02 17:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131879936001,"66":13646,"116":206,"85":15104,"24":9,"16":114150811864399872,"45":9108108058906718208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-02 17:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131879936001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:21:05] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-02 17:21:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114150811864399872,"km_value":114150811864399.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108108058906718208,"description":"Unknown IO ID 45"} 
[2026-08-02 17:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131879936001,"power":13646,"unknown_116":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9108108058906718208}} 
[2026-08-02 17:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":147975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:21:05] local.INFO: GPS data processed {"connection_id":147975,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:21:05] local.INFO: Acknowledgment sent {"connection_id":147975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:21:05] local.INFO: TCP Data received {"connection_id":146932,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:21:05] local.INFO: Processing buffer {"connection_id":146932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:21:05] local.INFO: IMEI packet received {"connection_id":146932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":146932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:21:06] local.INFO: TCP Data received {"connection_id":146932,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:21:06] local.INFO: Processing buffer {"connection_id":146932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:21:06] local.INFO: IMEI packet received {"connection_id":146932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":146932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:21:10] local.INFO: TCP Data received {"connection_id":146932,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:21:10] local.INFO: Processing buffer {"connection_id":146932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:21:10] local.INFO: IMEI packet received {"connection_id":146932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":146932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:21:11] local.INFO: TCP Data received {"connection_id":146932,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24ef7d8012d1824800721b7d0004e00d32d..."} 
[2026-08-02 17:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24ef7d8012d1824800721b7d0004e00d32d..."} 
[2026-08-02 17:21:11] local.INFO: Processing buffer {"connection_id":146932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24ef7d8012d1824800721b7d0004e00d32d..."} 
[2026-08-02 17:21:11] local.INFO: Packet analysis {"connection_id":146932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:21:11] local.INFO: Extracted packet for processing {"connection_id":146932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650256,"longitude_deg":75.6556928,"latitude_deg":11.9650256,"altitude":78,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-02 17:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297523394576384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:11] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-08-02 17:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785671383000,"timestamp_ms":1785671383000,"timestamp_seconds":1785671383,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24ef7d8"} 
[2026-08-02 17:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:21: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 17:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12461,"24":0,"16":10297523394576384},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16]} 
[2026-08-02 17:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-02 17:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297523394576384,"km_value":10297523394576.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:21:11] local.INFO: IO Data Validated and Processed {"original_count":4,"validated_count":4,"validated_data":{"unknown_0":0,"power":12461,"ignition":0,"odometer":null}} 
[2026-08-02 17:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":146932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:21:11] local.INFO: GPS data processed {"connection_id":146932,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:21:11] local.INFO: Acknowledgment sent {"connection_id":146932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:21:24] local.INFO: TCP Data received {"connection_id":149274,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:21:24] local.INFO: Processing buffer {"connection_id":149274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:21:24] local.INFO: IMEI packet received {"connection_id":149274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":149274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:21:29] local.INFO: TCP Data received {"connection_id":147976,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:21:29] local.INFO: Processing buffer {"connection_id":147976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:21:29] local.INFO: IMEI packet received {"connection_id":147976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":147976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:21:29] local.INFO: TCP Data received {"connection_id":149274,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:21:29] local.INFO: Processing buffer {"connection_id":149274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:21:29] local.INFO: IMEI packet received {"connection_id":149274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":149274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:21:29] local.INFO: TCP Data received {"connection_id":147976,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:21:29] local.INFO: Processing buffer {"connection_id":147976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:21:29] local.INFO: IMEI packet received {"connection_id":147976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":147976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:21:30] local.INFO: TCP Data received {"connection_id":149274,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:21:30] local.INFO: Processing buffer {"connection_id":149274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:21:30] local.INFO: Packet analysis {"connection_id":149274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:21:30] local.INFO: Extracted packet for processing {"connection_id":149274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:21:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131787264001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785671345000,"timestamp_ms":1785671345000,"timestamp_seconds":1785671345,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24e6368"} 
[2026-08-02 17:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131787264001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131787264001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:21:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:21:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131787264001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":149274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:21:30] local.INFO: GPS data processed {"connection_id":149274,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:21:30] local.INFO: Acknowledgment sent {"connection_id":149274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:21:32] local.INFO: TCP Data received {"connection_id":147976,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:21:32] local.INFO: Processing buffer {"connection_id":147976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:21:32] local.INFO: IMEI packet received {"connection_id":147976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":147976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:21:32] local.INFO: TCP Data received {"connection_id":147976,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:21:32] local.INFO: Processing buffer {"connection_id":147976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:21:32] local.INFO: IMEI packet received {"connection_id":147976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":147976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:21:42] local.INFO: TCP Data received {"connection_id":146932,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24f49e0012d1824800721b7d0004e00d330..."} 
[2026-08-02 17:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24f49e0012d1824800721b7d0004e00d330..."} 
[2026-08-02 17:21:42] local.INFO: Processing buffer {"connection_id":146932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24f49e0012d1824800721b7d0004e00d330..."} 
[2026-08-02 17:21:42] local.INFO: Packet analysis {"connection_id":146932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24f"} 
[2026-08-02 17:21:42] local.INFO: Extracted packet for processing {"connection_id":146932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24f"} 
[2026-08-02 17:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650256,"longitude_deg":75.6556928,"latitude_deg":11.9650256,"altitude":78,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-02 17:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131874048001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297523394576384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190674944,"note":"Value kept but may cause issues"} 
[2026-08-02 17:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785671404000,"timestamp_ms":1785671404000,"timestamp_seconds":1785671404,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24f49e0"} 
[2026-08-02 17:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 17:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131874048001,"66":12461,"105":206,"83":41984,"24":0,"16":10297523394576384,"45":1739656124190674944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131874048001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:21:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297523394576384,"km_value":10297523394576.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190674944,"description":"Unknown IO ID 45"} 
[2026-08-02 17:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131874048001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190674944}} 
[2026-08-02 17:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":146932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:21:42] local.INFO: GPS data processed {"connection_id":146932,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:21:42] local.INFO: Acknowledgment sent {"connection_id":146932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:22:02] local.INFO: TCP Data received {"connection_id":149274,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:22:02] local.INFO: Processing buffer {"connection_id":149274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:22:02] local.INFO: Packet analysis {"connection_id":149274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:22:02] local.INFO: Extracted packet for processing {"connection_id":149274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:22:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131787264001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:22:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785671345000,"timestamp_ms":1785671345000,"timestamp_seconds":1785671345,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24e6368"} 
[2026-08-02 17:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131787264001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131787264001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:22:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:22:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:22:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131787264001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":149274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:22:02] local.INFO: GPS data processed {"connection_id":149274,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:22:02] local.INFO: Acknowledgment sent {"connection_id":149274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:22:13] local.INFO: TCP Data received {"connection_id":146932,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24fa7a0012d1824800721b7d0004e00d330..."} 
[2026-08-02 17:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24fa7a0012d1824800721b7d0004e00d330..."} 
[2026-08-02 17:22:13] local.INFO: Processing buffer {"connection_id":146932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24fa7a0012d1824800721b7d0004e00d330..."} 
[2026-08-02 17:22:13] local.INFO: Packet analysis {"connection_id":146932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24f"} 
[2026-08-02 17:22:13] local.INFO: Extracted packet for processing {"connection_id":146932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24f"} 
[2026-08-02 17:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650256,"longitude_deg":75.6556928,"latitude_deg":11.9650256,"altitude":78,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-02 17:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131879424001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297523394576384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190674944,"note":"Value kept but may cause issues"} 
[2026-08-02 17:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785671428000,"timestamp_ms":1785671428000,"timestamp_seconds":1785671428,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24fa7a0"} 
[2026-08-02 17:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 17:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131879424001,"66":12439,"105":206,"83":41984,"24":0,"16":10297523394576384,"45":1739656124190674944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131879424001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:22:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:22:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297523394576384,"km_value":10297523394576.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190674944,"description":"Unknown IO ID 45"} 
[2026-08-02 17:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131879424001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190674944}} 
[2026-08-02 17:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":146932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:22:13] local.INFO: GPS data processed {"connection_id":146932,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:22:13] local.INFO: Acknowledgment sent {"connection_id":146932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:22:23] local.INFO: TCP Data received {"connection_id":146933,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:22:23] local.INFO: Processing buffer {"connection_id":146933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:22:23] local.INFO: IMEI packet received {"connection_id":146933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":146933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:22:29] local.INFO: TCP Data received {"connection_id":146933,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:22:29] local.INFO: Processing buffer {"connection_id":146933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:22:29] local.INFO: IMEI packet received {"connection_id":146933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":146933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:22:30] local.INFO: TCP Data received {"connection_id":146933,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:22:30] local.INFO: Processing buffer {"connection_id":146933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:22:30] local.INFO: Packet analysis {"connection_id":146933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:22:30] local.INFO: Extracted packet for processing {"connection_id":146933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:22:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131787264001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785671345000,"timestamp_ms":1785671345000,"timestamp_seconds":1785671345,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24e6368"} 
[2026-08-02 17:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131787264001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131787264001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:22:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:22:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131787264001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":146933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:22:30] local.INFO: GPS data processed {"connection_id":146933,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:22:30] local.INFO: Acknowledgment sent {"connection_id":146933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:22:45] local.INFO: TCP Data received {"connection_id":146932,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24ff9a8012d1824800721b7d0004e00d32f..."} 
[2026-08-02 17:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24ff9a8012d1824800721b7d0004e00d32f..."} 
[2026-08-02 17:22:45] local.INFO: Processing buffer {"connection_id":146932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24ff9a8012d1824800721b7d0004e00d32f..."} 
[2026-08-02 17:22:45] local.INFO: Packet analysis {"connection_id":146932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24f"} 
[2026-08-02 17:22:45] local.INFO: Extracted packet for processing {"connection_id":146932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24f"} 
[2026-08-02 17:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650256,"longitude_deg":75.6556928,"latitude_deg":11.9650256,"altitude":78,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-02 17:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131885568001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297523394576384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190674944,"note":"Value kept but may cause issues"} 
[2026-08-02 17:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785671449000,"timestamp_ms":1785671449000,"timestamp_seconds":1785671449,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24ff9a8"} 
[2026-08-02 17:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-02 17:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131885568001,"66":12428,"105":206,"83":41984,"24":0,"16":10297523394576384,"45":1739656124190674944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131885568001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:22:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297523394576384,"km_value":10297523394576.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190674944,"description":"Unknown IO ID 45"} 
[2026-08-02 17:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131885568001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190674944}} 
[2026-08-02 17:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":146932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:22:45] local.INFO: GPS data processed {"connection_id":146932,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:22:45] local.INFO: Acknowledgment sent {"connection_id":146932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:23:02] local.INFO: TCP Data received {"connection_id":146933,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:23:02] local.INFO: Processing buffer {"connection_id":146933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:23:02] local.INFO: Packet analysis {"connection_id":146933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:23:02] local.INFO: Extracted packet for processing {"connection_id":146933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:23:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131787264001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:23:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785671345000,"timestamp_ms":1785671345000,"timestamp_seconds":1785671345,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24e6368"} 
[2026-08-02 17:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131787264001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131787264001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:23:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:23:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:23:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131787264001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":146933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:23:02] local.INFO: GPS data processed {"connection_id":146933,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:23:02] local.INFO: Acknowledgment sent {"connection_id":146933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:23:16] local.INFO: TCP Data received {"connection_id":146932,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2504bb0012d1824800721b7d0004e00d32e..."} 
[2026-08-02 17:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2504bb0012d1824800721b7d0004e00d32e..."} 
[2026-08-02 17:23:16] local.INFO: Processing buffer {"connection_id":146932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2504bb0012d1824800721b7d0004e00d32e..."} 
[2026-08-02 17:23:16] local.INFO: Packet analysis {"connection_id":146932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc250"} 
[2026-08-02 17:23:16] local.INFO: Extracted packet for processing {"connection_id":146932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc250"} 
[2026-08-02 17:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650256,"longitude_deg":75.6556928,"latitude_deg":11.9650256,"altitude":78,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-02 17:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131890944001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297523394576384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190674944,"note":"Value kept but may cause issues"} 
[2026-08-02 17:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785671470000,"timestamp_ms":1785671470000,"timestamp_seconds":1785671470,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2504bb0"} 
[2026-08-02 17:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-02 17:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131890944001,"66":12461,"105":206,"83":41984,"24":0,"16":10297523394576384,"45":1739656124190674944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131890944001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:23:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297523394576384,"km_value":10297523394576.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190674944,"description":"Unknown IO ID 45"} 
[2026-08-02 17:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131890944001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190674944}} 
[2026-08-02 17:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":146932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:23:16] local.INFO: GPS data processed {"connection_id":146932,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:23:16] local.INFO: Acknowledgment sent {"connection_id":146932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:23:23] local.INFO: TCP Data received {"connection_id":149275,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:23:23] local.INFO: Processing buffer {"connection_id":149275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:23:23] local.INFO: IMEI packet received {"connection_id":149275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":149275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:23:32] local.INFO: TCP Data received {"connection_id":149275,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:23:32] local.INFO: Processing buffer {"connection_id":149275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:23:32] local.INFO: IMEI packet received {"connection_id":149275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":149275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:23:33] local.INFO: TCP Data received {"connection_id":149275,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:23:33] local.INFO: Processing buffer {"connection_id":149275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:23:33] local.INFO: Packet analysis {"connection_id":149275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:23:33] local.INFO: Extracted packet for processing {"connection_id":149275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:23:33] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131787264001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:23:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785671345000,"timestamp_ms":1785671345000,"timestamp_seconds":1785671345,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24e6368"} 
[2026-08-02 17:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131787264001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131787264001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:23:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:23:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:23:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131787264001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":149275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:23:33] local.INFO: GPS data processed {"connection_id":149275,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:23:33] local.INFO: Acknowledgment sent {"connection_id":149275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:23:47] local.INFO: TCP Data received {"connection_id":146932,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2509db8012d1824800721b7d0004e00d331..."} 
[2026-08-02 17:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2509db8012d1824800721b7d0004e00d331..."} 
[2026-08-02 17:23:47] local.INFO: Processing buffer {"connection_id":146932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2509db8012d1824800721b7d0004e00d331..."} 
[2026-08-02 17:23:47] local.INFO: Packet analysis {"connection_id":146932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc250"} 
[2026-08-02 17:23:47] local.INFO: Extracted packet for processing {"connection_id":146932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc250"} 
[2026-08-02 17:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650256,"longitude_deg":75.6556928,"latitude_deg":11.9650256,"altitude":78,"angle":211,"satellites":49,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-02 17:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131896320001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297523394576384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190674944,"note":"Value kept but may cause issues"} 
[2026-08-02 17:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785671491000,"timestamp_ms":1785671491000,"timestamp_seconds":1785671491,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2509db8"} 
[2026-08-02 17:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 17:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131896320001,"66":12428,"105":206,"83":41984,"24":0,"16":10297523394576384,"45":1739656124190674944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131896320001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:23:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297523394576384,"km_value":10297523394576.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190674944,"description":"Unknown IO ID 45"} 
[2026-08-02 17:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131896320001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190674944}} 
[2026-08-02 17:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":146932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:23:47] local.INFO: GPS data processed {"connection_id":146932,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:23:47] local.INFO: Acknowledgment sent {"connection_id":146932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:24:04] local.INFO: TCP Data received {"connection_id":149275,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:24:04] local.INFO: Processing buffer {"connection_id":149275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:24:04] local.INFO: Packet analysis {"connection_id":149275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:24:04] local.INFO: Extracted packet for processing {"connection_id":149275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:24:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131787264001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785671345000,"timestamp_ms":1785671345000,"timestamp_seconds":1785671345,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24e6368"} 
[2026-08-02 17:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131787264001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131787264001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:24:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:24:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:24:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131787264001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":149275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:24:04] local.INFO: GPS data processed {"connection_id":149275,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:24:04] local.INFO: Acknowledgment sent {"connection_id":149275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:24:18] local.INFO: TCP Data received {"connection_id":146932,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc250efc0012d1824800721b7d0004e00d32f..."} 
[2026-08-02 17:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc250efc0012d1824800721b7d0004e00d32f..."} 
[2026-08-02 17:24:18] local.INFO: Processing buffer {"connection_id":146932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc250efc0012d1824800721b7d0004e00d32f..."} 
[2026-08-02 17:24:18] local.INFO: Packet analysis {"connection_id":146932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc250"} 
[2026-08-02 17:24:18] local.INFO: Extracted packet for processing {"connection_id":146932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc250"} 
[2026-08-02 17:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650256,"longitude_deg":75.6556928,"latitude_deg":11.9650256,"altitude":78,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-02 17:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131901696001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297523394576384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190674944,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785671512000,"timestamp_ms":1785671512000,"timestamp_seconds":1785671512,"priority":1,"record_length":96,"hex_timestamp":"0000019fc250efc0"} 
[2026-08-02 17:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-02 17:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":146932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131901696001,"66":12461,"105":206,"83":41984,"24":0,"16":10297523394576384,"45":1739656124190674944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131901696001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:24:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297523394576384,"km_value":10297523394576.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190674944,"description":"Unknown IO ID 45"} 
[2026-08-02 17:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131901696001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190674944}} 
[2026-08-02 17:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":146932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:24:18] local.INFO: GPS data processed {"connection_id":146932,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:24:18] local.INFO: Acknowledgment sent {"connection_id":146932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:24:29] local.INFO: TCP Data received {"connection_id":146706,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:24:29] local.INFO: Processing buffer {"connection_id":146706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:24:29] local.INFO: IMEI packet received {"connection_id":146706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":146706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:24:33] local.INFO: TCP Data received {"connection_id":146706,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:24:33] local.INFO: Processing buffer {"connection_id":146706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:24:33] local.INFO: IMEI packet received {"connection_id":146706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":146706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:24:35] local.INFO: TCP Data received {"connection_id":146706,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:24:35] local.INFO: Processing buffer {"connection_id":146706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:24:35] local.INFO: Packet analysis {"connection_id":146706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:24:35] local.INFO: Extracted packet for processing {"connection_id":146706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:24:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131787264001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785671345000,"timestamp_ms":1785671345000,"timestamp_seconds":1785671345,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24e6368"} 
[2026-08-02 17:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131787264001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131787264001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:24:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:24:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:24:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131787264001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":146706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:24:35] local.INFO: GPS data processed {"connection_id":146706,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:24:35] local.INFO: Acknowledgment sent {"connection_id":146706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:24:39] local.INFO: TCP Data received {"connection_id":146706,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:24:39] local.INFO: Processing buffer {"connection_id":146706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc24e6368012cc330c007685958005800c529..."} 
[2026-08-02 17:24:39] local.INFO: Packet analysis {"connection_id":146706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:24:39] local.INFO: Extracted packet for processing {"connection_id":146706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc24e"} 
[2026-08-02 17:24:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131787264001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785671345000,"timestamp_ms":1785671345000,"timestamp_seconds":1785671345,"priority":1,"record_length":96,"hex_timestamp":"0000019fc24e6368"} 
[2026-08-02 17:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:24: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-08-02 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:24: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-08-02 17: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-08-02 17:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131787264001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131787264001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:24:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:24:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:24:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131787264001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":146706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:24:39] local.INFO: GPS data processed {"connection_id":146706,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:24:39] local.INFO: Acknowledgment sent {"connection_id":146706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:24:49] local.INFO: TCP Data received {"connection_id":146932,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25141c8012d1824800721b7d0004e00d330..."} 
[2026-08-02 17:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25141c8012d1824800721b7d0004e00d330..."} 
[2026-08-02 17:24:49] local.INFO: Processing buffer {"connection_id":146932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25141c8012d1824800721b7d0004e00d330..."} 
[2026-08-02 17:24:49] local.INFO: Packet analysis {"connection_id":146932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc251"} 
[2026-08-02 17:24:49] local.INFO: Extracted packet for processing {"connection_id":146932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc251"} 
[2026-08-02 17:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650256,"longitude_deg":75.6556928,"latitude_deg":11.9650256,"altitude":78,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-02 17:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131907072001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297523394576384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190674944,"note":"Value kept but may cause issues"} 
[2026-08-02 17:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785671533000,"timestamp_ms":1785671533000,"timestamp_seconds":1785671533,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25141c8"} 
[2026-08-02 17:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 17:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131907072001,"66":12385,"105":206,"83":41984,"24":0,"16":10297523394576384,"45":1739656124190674944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131907072001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:24:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:24:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297523394576384,"km_value":10297523394576.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190674944,"description":"Unknown IO ID 45"} 
[2026-08-02 17:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131907072001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190674944}} 
[2026-08-02 17:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":146932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:24:50] local.INFO: GPS data processed {"connection_id":146932,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:24:50] local.INFO: Acknowledgment sent {"connection_id":146932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:25:08] local.INFO: TCP Data received {"connection_id":146707,"ip":"150.107.36.82","data_length":182,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-02 17:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146707,"packet_length":182,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-02 17:25:08] local.INFO: Processing buffer {"connection_id":146707,"buffer_length":182,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-02 17:25:08] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":146707,"buffer_length":182,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-08-02 17:25:08] local.INFO: TCP Data received {"connection_id":147977,"ip":"150.107.36.82","data_length":1453,"data_hex":"16030105a8010005a40303f0e37b673fb5522da716325b3cf13717880d795ea3..."} 
[2026-08-02 17:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147977,"packet_length":1453,"packet_hex":"16030105a8010005a40303f0e37b673fb5522da716325b3cf13717880d795ea3..."} 
[2026-08-02 17:25:08] local.INFO: Processing buffer {"connection_id":147977,"buffer_length":1453,"buffer_hex":"16030105a8010005a40303f0e37b673fb5522da716325b3cf13717880d795ea3..."} 
[2026-08-02 17:25:08] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":147977,"buffer_length":1453,"first_bytes_hex":"16030105a8010005a40303f0e37b673f"} 
[2026-08-02 17:25:23] local.INFO: TCP Data received {"connection_id":149278,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:25:23] local.INFO: Processing buffer {"connection_id":149278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:25:23] local.INFO: IMEI packet received {"connection_id":149278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":149278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:25:29] local.INFO: TCP Data received {"connection_id":149278,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:25:29] local.INFO: Processing buffer {"connection_id":149278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:25:29] local.INFO: IMEI packet received {"connection_id":149278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":149278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:25:30] local.INFO: TCP Data received {"connection_id":146935,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:25:30] local.INFO: Processing buffer {"connection_id":146935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:25:30] local.INFO: IMEI packet received {"connection_id":146935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":146935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:25:30] local.INFO: TCP Data received {"connection_id":149278,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:25:30] local.INFO: Processing buffer {"connection_id":149278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:25:30] local.INFO: Packet analysis {"connection_id":149278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:25:30] local.INFO: Extracted packet for processing {"connection_id":149278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:25:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131864320001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785671646000,"timestamp_ms":1785671646000,"timestamp_seconds":1785671646,"priority":1,"record_length":96,"hex_timestamp":"0000019fc252fb30"} 
[2026-08-02 17:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 17:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131864320001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131864320001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:25:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:25:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131864320001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":149278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:25:30] local.INFO: GPS data processed {"connection_id":149278,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:25:30] local.INFO: Acknowledgment sent {"connection_id":149278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:25:35] local.INFO: TCP Data received {"connection_id":146935,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:25:35] local.INFO: Processing buffer {"connection_id":146935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:25:35] local.INFO: IMEI packet received {"connection_id":146935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":146935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:25:36] local.INFO: TCP Data received {"connection_id":146935,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25193d0012d1824800721b7d0004e00d32d..."} 
[2026-08-02 17:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25193d0012d1824800721b7d0004e00d32d..."} 
[2026-08-02 17:25:36] local.INFO: Processing buffer {"connection_id":146935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25193d0012d1824800721b7d0004e00d32d..."} 
[2026-08-02 17:25:36] local.INFO: Packet analysis {"connection_id":146935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc251"} 
[2026-08-02 17:25:36] local.INFO: Extracted packet for processing {"connection_id":146935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc251"} 
[2026-08-02 17:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650256,"longitude_deg":75.6556928,"latitude_deg":11.9650256,"altitude":78,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-02 17:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131912448001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297523394576384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190674944,"note":"Value kept but may cause issues"} 
[2026-08-02 17:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785671554000,"timestamp_ms":1785671554000,"timestamp_seconds":1785671554,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25193d0"} 
[2026-08-02 17:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:25: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-08-02 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:25: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-08-02 17:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131912448001,"66":12428,"105":206,"83":41984,"24":0,"16":10297523394576384,"45":1739656124190674944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131912448001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:25:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297523394576384,"km_value":10297523394576.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190674944,"description":"Unknown IO ID 45"} 
[2026-08-02 17:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131912448001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190674944}} 
[2026-08-02 17:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":146935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:25:36] local.INFO: GPS data processed {"connection_id":146935,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:25:36] local.INFO: Acknowledgment sent {"connection_id":146935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:26:02] local.INFO: TCP Data received {"connection_id":149278,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:26:02] local.INFO: Processing buffer {"connection_id":149278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:26:02] local.INFO: Packet analysis {"connection_id":149278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:26:02] local.INFO: Extracted packet for processing {"connection_id":149278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:26:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131864320001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785671646000,"timestamp_ms":1785671646000,"timestamp_seconds":1785671646,"priority":1,"record_length":96,"hex_timestamp":"0000019fc252fb30"} 
[2026-08-02 17:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 17:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131864320001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131864320001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:26:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:26:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131864320001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":149278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:26:02] local.INFO: GPS data processed {"connection_id":149278,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:26:02] local.INFO: Acknowledgment sent {"connection_id":149278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:26:07] local.INFO: TCP Data received {"connection_id":146935,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc251e5d8012d1824800721b7d0004e00d330..."} 
[2026-08-02 17:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc251e5d8012d1824800721b7d0004e00d330..."} 
[2026-08-02 17:26:07] local.INFO: Processing buffer {"connection_id":146935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc251e5d8012d1824800721b7d0004e00d330..."} 
[2026-08-02 17:26:07] local.INFO: Packet analysis {"connection_id":146935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc251"} 
[2026-08-02 17:26:07] local.INFO: Extracted packet for processing {"connection_id":146935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc251"} 
[2026-08-02 17:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650256,"longitude_deg":75.6556928,"latitude_deg":11.9650256,"altitude":78,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-02 17:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131917824001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297523394576384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190674944,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785671575000,"timestamp_ms":1785671575000,"timestamp_seconds":1785671575,"priority":1,"record_length":96,"hex_timestamp":"0000019fc251e5d8"} 
[2026-08-02 17:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-02 17:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131917824001,"66":11830,"105":206,"83":41984,"24":0,"16":10297523394576384,"45":1739656124190674944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131917824001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:26:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297523394576384,"km_value":10297523394576.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190674944,"description":"Unknown IO ID 45"} 
[2026-08-02 17:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131917824001,"power":11830,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190674944}} 
[2026-08-02 17:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":146935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:26:07] local.INFO: GPS data processed {"connection_id":146935,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:26:07] local.INFO: Acknowledgment sent {"connection_id":146935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:26:23] local.INFO: TCP Data received {"connection_id":147978,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:26:23] local.INFO: Processing buffer {"connection_id":147978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:26:23] local.INFO: IMEI packet received {"connection_id":147978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":147978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:26:29] local.INFO: TCP Data received {"connection_id":147978,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:26:29] local.INFO: Processing buffer {"connection_id":147978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:26:29] local.INFO: IMEI packet received {"connection_id":147978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":147978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:26:30] local.INFO: TCP Data received {"connection_id":147978,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:26:30] local.INFO: Processing buffer {"connection_id":147978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:26:30] local.INFO: Packet analysis {"connection_id":147978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:26:30] local.INFO: Extracted packet for processing {"connection_id":147978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:26:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131864320001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785671646000,"timestamp_ms":1785671646000,"timestamp_seconds":1785671646,"priority":1,"record_length":96,"hex_timestamp":"0000019fc252fb30"} 
[2026-08-02 17:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 17:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131864320001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131864320001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:26:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:26:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131864320001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":147978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:26:30] local.INFO: GPS data processed {"connection_id":147978,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:26:30] local.INFO: Acknowledgment sent {"connection_id":147978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:26:32] local.INFO: TCP Data received {"connection_id":146708,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:26:33] local.INFO: Processing buffer {"connection_id":146708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:26:33] local.INFO: IMEI packet received {"connection_id":146708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":146708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:26:33] local.INFO: TCP Data received {"connection_id":146708,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2508a30012d7e3c4005d35778000501122a..."} 
[2026-08-02 17:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2508a30012d7e3c4005d35778000501122a..."} 
[2026-08-02 17:26:33] local.INFO: Processing buffer {"connection_id":146708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2508a30012d7e3c4005d35778000501122a..."} 
[2026-08-02 17:26:33] local.INFO: Packet analysis {"connection_id":146708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc250"} 
[2026-08-02 17:26:33] local.INFO: Extracted packet for processing {"connection_id":146708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc250"} 
[2026-08-02 17:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736568,"longitude_deg":76.324768,"latitude_deg":9.7736568,"altitude":5,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35778","is_valid_coordinates":true} 
[2026-08-02 17:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131895296001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097693484773980160,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785671486000,"timestamp_ms":1785671486000,"timestamp_seconds":1785671486,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2508a30"} 
[2026-08-02 17:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:26: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-08-02 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-02 17:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131895296001,"66":13428,"109":206,"85":15104,"24":0,"16":114152220613672960,"45":9097693484773980160},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-02 17:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131895296001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:26:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-02 17:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114152220613672960,"km_value":114152220613672.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097693484773980160,"description":"Unknown IO ID 45"} 
[2026-08-02 17:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131895296001,"power":13428,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9097693484773980160}} 
[2026-08-02 17:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":146708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:26:34] local.INFO: GPS data processed {"connection_id":146708,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:26:34] local.INFO: Acknowledgment sent {"connection_id":146708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:26:38] local.INFO: TCP Data received {"connection_id":146935,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25237e0012d1824800721b7d0004e00d32e..."} 
[2026-08-02 17:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25237e0012d1824800721b7d0004e00d32e..."} 
[2026-08-02 17:26:38] local.INFO: Processing buffer {"connection_id":146935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25237e0012d1824800721b7d0004e00d32e..."} 
[2026-08-02 17:26:38] local.INFO: Packet analysis {"connection_id":146935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:26:38] local.INFO: Extracted packet for processing {"connection_id":146935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650256,"longitude_deg":75.6556928,"latitude_deg":11.9650256,"altitude":78,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-02 17:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131923200001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297523394576384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190674944,"note":"Value kept but may cause issues"} 
[2026-08-02 17:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785671596000,"timestamp_ms":1785671596000,"timestamp_seconds":1785671596,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25237e0"} 
[2026-08-02 17:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-02 17:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131923200001,"66":12374,"105":206,"83":41984,"24":0,"16":10297523394576384,"45":1739656124190674944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131923200001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:26:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297523394576384,"km_value":10297523394576.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190674944,"description":"Unknown IO ID 45"} 
[2026-08-02 17:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131923200001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190674944}} 
[2026-08-02 17:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":146935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:26:38] local.INFO: GPS data processed {"connection_id":146935,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:26:38] local.INFO: Acknowledgment sent {"connection_id":146935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:27:02] local.INFO: TCP Data received {"connection_id":147978,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:27:02] local.INFO: Processing buffer {"connection_id":147978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:27:02] local.INFO: Packet analysis {"connection_id":147978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:27:02] local.INFO: Extracted packet for processing {"connection_id":147978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:27:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131864320001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785671646000,"timestamp_ms":1785671646000,"timestamp_seconds":1785671646,"priority":1,"record_length":96,"hex_timestamp":"0000019fc252fb30"} 
[2026-08-02 17:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 17:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131864320001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131864320001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:27:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:27:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:27:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131864320001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":147978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:27:02] local.INFO: GPS data processed {"connection_id":147978,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:27:02] local.INFO: Acknowledgment sent {"connection_id":147978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:27:05] local.INFO: TCP Data received {"connection_id":146708,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2508e18012d7e3c4005d35778000501122a..."} 
[2026-08-02 17:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2508e18012d7e3c4005d35778000501122a..."} 
[2026-08-02 17:27:05] local.INFO: Processing buffer {"connection_id":146708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2508e18012d7e3c4005d35778000501122a..."} 
[2026-08-02 17:27:05] local.INFO: Packet analysis {"connection_id":146708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc250"} 
[2026-08-02 17:27:05] local.INFO: Extracted packet for processing {"connection_id":146708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc250"} 
[2026-08-02 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736568,"longitude_deg":76.324768,"latitude_deg":9.7736568,"altitude":5,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35778","is_valid_coordinates":true} 
[2026-08-02 17:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131900416001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146298368,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785671487000,"timestamp_ms":1785671487000,"timestamp_seconds":1785671487,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2508e18"} 
[2026-08-02 17:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:27: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-08-02 17: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":116,"data_length":795,"current_offset":136} 
[2026-08-02 17:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131900416001,"66":13222,"109":206,"85":15104,"24":0,"16":114152220613672960,"45":9096215741146298368},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-02 17:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131900416001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:27:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-02 17:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114152220613672960,"km_value":114152220613672.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146298368,"description":"Unknown IO ID 45"} 
[2026-08-02 17:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131900416001,"power":13222,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146298368}} 
[2026-08-02 17:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":146708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:27:05] local.INFO: GPS data processed {"connection_id":146708,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:27:05] local.INFO: Acknowledgment sent {"connection_id":146708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:27:09] local.INFO: TCP Data received {"connection_id":146935,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25289e8012d1824800721b7d0004e00d32e..."} 
[2026-08-02 17:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25289e8012d1824800721b7d0004e00d32e..."} 
[2026-08-02 17:27:09] local.INFO: Processing buffer {"connection_id":146935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25289e8012d1824800721b7d0004e00d32e..."} 
[2026-08-02 17:27:09] local.INFO: Packet analysis {"connection_id":146935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:27:09] local.INFO: Extracted packet for processing {"connection_id":146935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:27:09] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650256,"longitude_deg":75.6556928,"latitude_deg":11.9650256,"altitude":78,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-02 17:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131928576001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297523394576384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190674944,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785671617000,"timestamp_ms":1785671617000,"timestamp_seconds":1785671617,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25289e8"} 
[2026-08-02 17:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 17:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131928576001,"66":12385,"105":206,"83":41984,"24":0,"16":10297523394576384,"45":1739656124190674944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131928576001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:27:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297523394576384,"km_value":10297523394576.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190674944,"description":"Unknown IO ID 45"} 
[2026-08-02 17:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131928576001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190674944}} 
[2026-08-02 17:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":146935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:27:09] local.INFO: GPS data processed {"connection_id":146935,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:27:09] local.INFO: Acknowledgment sent {"connection_id":146935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:27:29] local.INFO: TCP Data received {"connection_id":146709,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:27:29] local.INFO: Processing buffer {"connection_id":146709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:27:29] local.INFO: IMEI packet received {"connection_id":146709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":146709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:27:30] local.INFO: TCP Data received {"connection_id":147979,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:27:30] local.INFO: Processing buffer {"connection_id":147979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:27:30] local.INFO: IMEI packet received {"connection_id":147979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":147979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:27:32] local.INFO: TCP Data received {"connection_id":146710,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:27:32] local.INFO: Processing buffer {"connection_id":146710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:27:32] local.INFO: IMEI packet received {"connection_id":146710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":146710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:27:34] local.INFO: TCP Data received {"connection_id":146709,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:27:34] local.INFO: Processing buffer {"connection_id":146709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:27:34] local.INFO: IMEI packet received {"connection_id":146709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":146709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:27:35] local.INFO: TCP Data received {"connection_id":146709,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:27:35] local.INFO: Processing buffer {"connection_id":146709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:27:35] local.INFO: Packet analysis {"connection_id":146709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:27:35] local.INFO: Extracted packet for processing {"connection_id":146709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131864320001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785671646000,"timestamp_ms":1785671646000,"timestamp_seconds":1785671646,"priority":1,"record_length":96,"hex_timestamp":"0000019fc252fb30"} 
[2026-08-02 17:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 17:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131864320001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131864320001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:27:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:27:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:27:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131864320001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":146709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:27:35] local.INFO: GPS data processed {"connection_id":146709,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:27:35] local.INFO: TCP Data received {"connection_id":147979,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:27:35] local.INFO: Acknowledgment sent {"connection_id":146709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:27:35] local.INFO: Processing buffer {"connection_id":147979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:27:35] local.INFO: IMEI packet received {"connection_id":147979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":147979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:27:36] local.INFO: TCP Data received {"connection_id":147979,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc252dbf0012d1824800721b7d0004e00d32e..."} 
[2026-08-02 17:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc252dbf0012d1824800721b7d0004e00d32e..."} 
[2026-08-02 17:27:36] local.INFO: Processing buffer {"connection_id":147979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc252dbf0012d1824800721b7d0004e00d32e..."} 
[2026-08-02 17:27:36] local.INFO: Packet analysis {"connection_id":147979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:27:36] local.INFO: Extracted packet for processing {"connection_id":147979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650256,"longitude_deg":75.6556928,"latitude_deg":11.9650256,"altitude":78,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-02 17:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131933952001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297523394576384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190674944,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785671638000,"timestamp_ms":1785671638000,"timestamp_seconds":1785671638,"priority":1,"record_length":96,"hex_timestamp":"0000019fc252dbf0"} 
[2026-08-02 17:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17: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-08-02 17:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:27: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-08-02 17:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131933952001,"66":12385,"105":206,"83":41984,"24":0,"16":10297523394576384,"45":1739656124190674944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131933952001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:27:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297523394576384,"km_value":10297523394576.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190674944,"description":"Unknown IO ID 45"} 
[2026-08-02 17:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131933952001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190674944}} 
[2026-08-02 17:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":147979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:27:36] local.INFO: GPS data processed {"connection_id":147979,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:27:36] local.INFO: Acknowledgment sent {"connection_id":147979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:27:37] local.INFO: TCP Data received {"connection_id":146710,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:27:37] local.INFO: Processing buffer {"connection_id":146710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:27:37] local.INFO: IMEI packet received {"connection_id":146710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":146710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:27:39] local.INFO: TCP Data received {"connection_id":146709,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:27:39] local.INFO: Processing buffer {"connection_id":146709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:27:39] local.INFO: Packet analysis {"connection_id":146709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:27:39] local.INFO: Extracted packet for processing {"connection_id":146709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:27:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131864320001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785671646000,"timestamp_ms":1785671646000,"timestamp_seconds":1785671646,"priority":1,"record_length":96,"hex_timestamp":"0000019fc252fb30"} 
[2026-08-02 17:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:27: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-08-02 17: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":31,"data_length":795,"current_offset":136} 
[2026-08-02 17:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131864320001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131864320001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:27:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:27:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:27:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131864320001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":146709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:27:39] local.INFO: GPS data processed {"connection_id":146709,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:27:39] local.INFO: Acknowledgment sent {"connection_id":146709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:28:07] local.INFO: TCP Data received {"connection_id":147979,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2532df8012d1822800721b4b8005000d830..."} 
[2026-08-02 17:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2532df8012d1822800721b4b8005000d830..."} 
[2026-08-02 17:28:07] local.INFO: Processing buffer {"connection_id":147979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2532df8012d1822800721b4b8005000d830..."} 
[2026-08-02 17:28:07] local.INFO: Packet analysis {"connection_id":147979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc253"} 
[2026-08-02 17:28:07] local.INFO: Extracted packet for processing {"connection_id":147979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc253"} 
[2026-08-02 17:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649464,"longitude_deg":75.6556416,"latitude_deg":11.9649464,"altitude":80,"angle":216,"satellites":48,"speed":3,"hex_longitude":"2d182280","hex_latitude":"0721b4b8","is_valid_coordinates":true} 
[2026-08-02 17:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131939328001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297574934183936,"note":"Value kept but may cause issues"} 
[2026-08-02 17:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190674944,"note":"Value kept but may cause issues"} 
[2026-08-02 17:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785671659000,"timestamp_ms":1785671659000,"timestamp_seconds":1785671659,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2532df8"} 
[2026-08-02 17:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131939328001,"66":12363,"105":206,"83":41984,"24":3,"16":10297574934183936,"45":1739656124190674944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131939328001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:28:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297574934183936,"km_value":10297574934183.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190674944,"description":"Unknown IO ID 45"} 
[2026-08-02 17:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131939328001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739656124190674944}} 
[2026-08-02 17:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":147979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:28:07] local.INFO: GPS data processed {"connection_id":147979,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:28:07] local.INFO: Acknowledgment sent {"connection_id":147979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:28:25] local.INFO: TCP Data received {"connection_id":146936,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:28:25] local.INFO: Processing buffer {"connection_id":146936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:28:25] local.INFO: IMEI packet received {"connection_id":146936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":146936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:28:35] local.INFO: TCP Data received {"connection_id":149279,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:28:35] local.INFO: Processing buffer {"connection_id":149279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:28:35] local.INFO: IMEI packet received {"connection_id":149279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":149279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:28:36] local.INFO: TCP Data received {"connection_id":146936,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:28:36] local.INFO: Processing buffer {"connection_id":146936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:28:36] local.INFO: IMEI packet received {"connection_id":146936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":146936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:28:38] local.INFO: TCP Data received {"connection_id":146936,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:28:38] local.INFO: Processing buffer {"connection_id":146936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:28:38] local.INFO: Packet analysis {"connection_id":146936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:28:38] local.INFO: Extracted packet for processing {"connection_id":146936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131864320001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:28:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785671646000,"timestamp_ms":1785671646000,"timestamp_seconds":1785671646,"priority":1,"record_length":96,"hex_timestamp":"0000019fc252fb30"} 
[2026-08-02 17:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:28: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-08-02 17:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 17:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131864320001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131864320001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:28:38] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:28:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:28:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131864320001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":146936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:28:38] local.INFO: GPS data processed {"connection_id":146936,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:28:38] local.INFO: Acknowledgment sent {"connection_id":146936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:28:39] local.INFO: TCP Data received {"connection_id":146936,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:28:39] local.INFO: Processing buffer {"connection_id":146936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:28:39] local.INFO: Packet analysis {"connection_id":146936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:28:39] local.INFO: Extracted packet for processing {"connection_id":146936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:28:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131864320001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:28:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785671646000,"timestamp_ms":1785671646000,"timestamp_seconds":1785671646,"priority":1,"record_length":96,"hex_timestamp":"0000019fc252fb30"} 
[2026-08-02 17:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:28: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-08-02 17: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":31,"data_length":795,"current_offset":136} 
[2026-08-02 17:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131864320001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131864320001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:28:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:28:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:28:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131864320001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":146936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:28:39] local.INFO: GPS data processed {"connection_id":146936,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:28:39] local.INFO: Acknowledgment sent {"connection_id":146936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:28:40] local.INFO: TCP Data received {"connection_id":149279,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:28:40] local.INFO: Processing buffer {"connection_id":149279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:28:40] local.INFO: IMEI packet received {"connection_id":149279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":149279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:28:41] local.INFO: TCP Data received {"connection_id":149279,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2538000012d1822400721b488005000d930..."} 
[2026-08-02 17:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2538000012d1822400721b488005000d930..."} 
[2026-08-02 17:28:41] local.INFO: Processing buffer {"connection_id":149279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2538000012d1822400721b488005000d930..."} 
[2026-08-02 17:28:41] local.INFO: Packet analysis {"connection_id":149279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc253"} 
[2026-08-02 17:28:41] local.INFO: Extracted packet for processing {"connection_id":149279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc253"} 
[2026-08-02 17:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649416,"longitude_deg":75.6556352,"latitude_deg":11.9649416,"altitude":80,"angle":217,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131944704001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297579229151232,"note":"Value kept but may cause issues"} 
[2026-08-02 17:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237050880,"note":"Value kept but may cause issues"} 
[2026-08-02 17:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785671680000,"timestamp_ms":1785671680000,"timestamp_seconds":1785671680,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2538000"} 
[2026-08-02 17:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 17:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":149279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":149279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":149279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131944704001,"66":12341,"105":206,"83":41984,"24":0,"16":10297579229151232,"45":1739093174237050880},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131944704001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:28:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297579229151232,"km_value":10297579229151.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237050880,"description":"Unknown IO ID 45"} 
[2026-08-02 17:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131944704001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237050880}} 
[2026-08-02 17:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":149279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:28:41] local.INFO: GPS data processed {"connection_id":149279,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:28:41] local.INFO: Acknowledgment sent {"connection_id":149279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:29:12] local.INFO: TCP Data received {"connection_id":149279,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc253d208012d1822400721b488005000d92e..."} 
[2026-08-02 17:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc253d208012d1822400721b488005000d92e..."} 
[2026-08-02 17:29:12] local.INFO: Processing buffer {"connection_id":149279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc253d208012d1822400721b488005000d92e..."} 
[2026-08-02 17:29:12] local.INFO: Packet analysis {"connection_id":149279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc253"} 
[2026-08-02 17:29:12] local.INFO: Extracted packet for processing {"connection_id":149279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc253"} 
[2026-08-02 17:29:12] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649416,"longitude_deg":75.6556352,"latitude_deg":11.9649416,"altitude":80,"angle":217,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-08-02 17:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131950080001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297579229151232,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492860928,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785671701000,"timestamp_ms":1785671701000,"timestamp_seconds":1785671701,"priority":1,"record_length":96,"hex_timestamp":"0000019fc253d208"} 
[2026-08-02 17:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 17:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":149279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":149279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":149279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131950080001,"66":12298,"105":206,"83":41984,"24":0,"16":10297579229151232,"45":1739022805492860928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131950080001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:29:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:29:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297579229151232,"km_value":10297579229151.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492860928,"description":"Unknown IO ID 45"} 
[2026-08-02 17:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131950080001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492860928}} 
[2026-08-02 17:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":149279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:29:12] local.INFO: GPS data processed {"connection_id":149279,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:29:12] local.INFO: Acknowledgment sent {"connection_id":149279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:29:24] local.INFO: TCP Data received {"connection_id":146937,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:29:24] local.INFO: Processing buffer {"connection_id":146937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:29:24] local.INFO: IMEI packet received {"connection_id":146937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":146937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:29:29] local.INFO: TCP Data received {"connection_id":146937,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:29:29] local.INFO: Processing buffer {"connection_id":146937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:29:29] local.INFO: IMEI packet received {"connection_id":146937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":146937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:29:30] local.INFO: TCP Data received {"connection_id":146937,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:29:30] local.INFO: Processing buffer {"connection_id":146937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc252fb30012cc330c007685958005800c52c..."} 
[2026-08-02 17:29:30] local.INFO: Packet analysis {"connection_id":146937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:29:30] local.INFO: Extracted packet for processing {"connection_id":146937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc252"} 
[2026-08-02 17:29:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131864320001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785671646000,"timestamp_ms":1785671646000,"timestamp_seconds":1785671646,"priority":1,"record_length":96,"hex_timestamp":"0000019fc252fb30"} 
[2026-08-02 17:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 17:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131864320001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131864320001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:29:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:29:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131864320001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":146937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:29:30] local.INFO: GPS data processed {"connection_id":146937,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:29:30] local.INFO: Acknowledgment sent {"connection_id":146937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:29:30] local.INFO: TCP Data received {"connection_id":146938,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:29:30] local.INFO: Processing buffer {"connection_id":146938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:29:30] local.INFO: IMEI packet received {"connection_id":146938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":146938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:29:31] local.INFO: TCP Data received {"connection_id":146938,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:29:31] local.INFO: Processing buffer {"connection_id":146938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:29:31] local.INFO: IMEI packet received {"connection_id":146938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":146938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:29:35] local.INFO: TCP Data received {"connection_id":146938,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:29:35] local.INFO: Processing buffer {"connection_id":146938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:29:35] local.INFO: IMEI packet received {"connection_id":146938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":146938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:29:36] local.INFO: TCP Data received {"connection_id":146938,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2542410012d1822400721b488005000d931..."} 
[2026-08-02 17:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2542410012d1822400721b488005000d931..."} 
[2026-08-02 17:29:36] local.INFO: Processing buffer {"connection_id":146938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2542410012d1822400721b488005000d931..."} 
[2026-08-02 17:29:36] local.INFO: Packet analysis {"connection_id":146938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc254"} 
[2026-08-02 17:29:36] local.INFO: Extracted packet for processing {"connection_id":146938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc254"} 
[2026-08-02 17:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649416,"longitude_deg":75.6556352,"latitude_deg":11.9649416,"altitude":80,"angle":217,"satellites":49,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-08-02 17:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131955456001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297579229151232,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492860928,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785671722000,"timestamp_ms":1785671722000,"timestamp_seconds":1785671722,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2542410"} 
[2026-08-02 17:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:29: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-08-02 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":149,"raw_value":-8430738502437568511,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4444608835655755740,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513893936483139795,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3329849856740622542,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3083862094,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2508914688,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.WARNING: Large IO value detected {"io_id":78,"raw_value":59443996644081664,"note":"Value kept but may cause issues"} 
[2026-08-02 17:29:36] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,149,159,128,45,64,180,80,48,10,66,219,1,240,97,227,194,33,4,113,205,55,36,208,46,239,2,7,78],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 17:29:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764846314625957888,"timestamp_seconds":5764846314625958.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 17:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131955456001,"66":12298,"105":206,"83":41984,"24":0,"16":10297579229151232,"45":1739022805492860928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131955456001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:29:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297579229151232,"km_value":10297579229151.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492860928,"description":"Unknown IO ID 45"} 
[2026-08-02 17:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131955456001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492860928}} 
[2026-08-02 17:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":146938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:29:36] local.INFO: GPS data processed {"connection_id":146938,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:29:36] local.INFO: Acknowledgment sent {"connection_id":146938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:30:02] local.INFO: TCP Data received {"connection_id":146937,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:30:02] local.INFO: Processing buffer {"connection_id":146937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:30:02] local.INFO: Packet analysis {"connection_id":146937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:30:02] local.INFO: Extracted packet for processing {"connection_id":146937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:30:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131941376001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785671947000,"timestamp_ms":1785671947000,"timestamp_seconds":1785671947,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25792f8"} 
[2026-08-02 17:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131941376001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131941376001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:30:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:30:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:30:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131941376001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":146937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:30:02] local.INFO: GPS data processed {"connection_id":146937,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:30:02] local.INFO: Acknowledgment sent {"connection_id":146937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:30:07] local.INFO: TCP Data received {"connection_id":146938,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2547618012d1822400721b488005000d92f..."} 
[2026-08-02 17:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2547618012d1822400721b488005000d92f..."} 
[2026-08-02 17:30:07] local.INFO: Processing buffer {"connection_id":146938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2547618012d1822400721b488005000d92f..."} 
[2026-08-02 17:30:07] local.INFO: Packet analysis {"connection_id":146938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc254"} 
[2026-08-02 17:30:07] local.INFO: Extracted packet for processing {"connection_id":146938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc254"} 
[2026-08-02 17:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649416,"longitude_deg":75.6556352,"latitude_deg":11.9649416,"altitude":80,"angle":217,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-08-02 17:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131960832001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297579229151232,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492860928,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785671743000,"timestamp_ms":1785671743000,"timestamp_seconds":1785671743,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2547618"} 
[2026-08-02 17:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":149,"raw_value":-8430738502437568511,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4444518641342539740,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244071219406,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513893936483139795,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3083862094,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2508914688,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.WARNING: Large IO value detected {"io_id":78,"raw_value":59441797620826112,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,149,159,210,45,64,180,80,46,10,66,128,48,1,240,75,227,194,33,4,113,205,137,36,208,239,2,7,78],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 17:30:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764846327510859776,"timestamp_seconds":5764846327510860.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 17:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131960832001,"66":12298,"105":206,"83":41984,"24":0,"16":10297579229151232,"45":1739022805492860928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131960832001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:30:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297579229151232,"km_value":10297579229151.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492860928,"description":"Unknown IO ID 45"} 
[2026-08-02 17:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131960832001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492860928}} 
[2026-08-02 17:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":146938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:30:07] local.INFO: GPS data processed {"connection_id":146938,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:30:07] local.INFO: Acknowledgment sent {"connection_id":146938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:30:29] local.INFO: TCP Data received {"connection_id":147980,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:30:29] local.INFO: Processing buffer {"connection_id":147980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:30:29] local.INFO: IMEI packet received {"connection_id":147980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":147980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:30:30] local.INFO: TCP Data received {"connection_id":146939,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:30:30] local.INFO: Processing buffer {"connection_id":146939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:30:30] local.INFO: IMEI packet received {"connection_id":146939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":146939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:30:33] local.INFO: TCP Data received {"connection_id":146939,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:30:33] local.INFO: Processing buffer {"connection_id":146939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:30:33] local.INFO: IMEI packet received {"connection_id":146939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":146939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:30:34] local.INFO: TCP Data received {"connection_id":146939,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc254c820012d1822400721b488005000d930..."} 
[2026-08-02 17:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc254c820012d1822400721b488005000d930..."} 
[2026-08-02 17:30:34] local.INFO: Processing buffer {"connection_id":146939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc254c820012d1822400721b488005000d930..."} 
[2026-08-02 17:30:34] local.INFO: Packet analysis {"connection_id":146939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc254"} 
[2026-08-02 17:30:34] local.INFO: Extracted packet for processing {"connection_id":146939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc254"} 
[2026-08-02 17:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649416,"longitude_deg":75.6556352,"latitude_deg":11.9649416,"altitude":80,"angle":217,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-08-02 17:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131966208001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297579229151232,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492860928,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785671764000,"timestamp_ms":1785671764000,"timestamp_seconds":1785671764,"priority":1,"record_length":96,"hex_timestamp":"0000019fc254c820"} 
[2026-08-02 17:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":149,"raw_value":-8430738502437568511,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4444428447029323740,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2508914688,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068468815036622,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513893936483139795,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3031957584,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":219,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.WARNING: Large IO value detected {"io_id":78,"raw_value":59441797620826112,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,149,159,36,45,64,180,80,49,10,66,210,46,128,1,240,53,227,194,33,4,113,205,3,219,208,239,48,2,7,78],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 17:30:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764846318920925184,"timestamp_seconds":5764846318920925.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 17:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131966208001,"66":12298,"105":206,"83":41984,"24":0,"16":10297579229151232,"45":1739022805492860928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131966208001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:30:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297579229151232,"km_value":10297579229151.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492860928,"description":"Unknown IO ID 45"} 
[2026-08-02 17:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131966208001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492860928}} 
[2026-08-02 17:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":146939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:30:34] local.INFO: GPS data processed {"connection_id":146939,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:30:34] local.INFO: Acknowledgment sent {"connection_id":146939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:30:37] local.INFO: TCP Data received {"connection_id":147980,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:30:37] local.INFO: Processing buffer {"connection_id":147980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:30:37] local.INFO: IMEI packet received {"connection_id":147980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":147980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:30:38] local.INFO: TCP Data received {"connection_id":147980,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:30:38] local.INFO: Processing buffer {"connection_id":147980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:30:38] local.INFO: Packet analysis {"connection_id":147980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:30:38] local.INFO: Extracted packet for processing {"connection_id":147980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:30:38] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131941376001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785671947000,"timestamp_ms":1785671947000,"timestamp_seconds":1785671947,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25792f8"} 
[2026-08-02 17:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:30: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-08-02 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131941376001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131941376001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:30:38] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:30:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:30:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131941376001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":147980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:30:38] local.INFO: GPS data processed {"connection_id":147980,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:30:38] local.INFO: Acknowledgment sent {"connection_id":147980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:31:05] local.INFO: TCP Data received {"connection_id":146939,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2551a28012d1822400721b488005000d92e..."} 
[2026-08-02 17:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2551a28012d1822400721b488005000d92e..."} 
[2026-08-02 17:31:05] local.INFO: Processing buffer {"connection_id":146939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2551a28012d1822400721b488005000d92e..."} 
[2026-08-02 17:31:05] local.INFO: Packet analysis {"connection_id":146939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc255"} 
[2026-08-02 17:31:05] local.INFO: Extracted packet for processing {"connection_id":146939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc255"} 
[2026-08-02 17:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649416,"longitude_deg":75.6556352,"latitude_deg":11.9649416,"altitude":80,"angle":217,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-08-02 17:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131971584001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297579229151232,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492860928,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785671785000,"timestamp_ms":1785671785000,"timestamp_seconds":1785671785,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2551a28"} 
[2026-08-02 17:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:31: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-08-02 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":149,"raw_value":-8430738502437568511,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4444338252716107740,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068468815036622,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2509701120,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3028811856,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951028,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":78,"raw_value":59441797620826112,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513893936483139795,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,149,159,118,45,64,180,80,47,10,66,36,49,210,1,240,227,194,33,4,113,205,34,184,48,239,2,7,78,128,46],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 17:31:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764846323215892480,"timestamp_seconds":5764846323215892.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 17:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131971584001,"66":12287,"105":206,"83":41984,"24":0,"16":10297579229151232,"45":1739022805492860928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131971584001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:31:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297579229151232,"km_value":10297579229151.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492860928,"description":"Unknown IO ID 45"} 
[2026-08-02 17:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131971584001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492860928}} 
[2026-08-02 17:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":146939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:31:05] local.INFO: GPS data processed {"connection_id":146939,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:31:05] local.INFO: Acknowledgment sent {"connection_id":146939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:31:23] local.INFO: TCP Data received {"connection_id":146940,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:31:23] local.INFO: Processing buffer {"connection_id":146940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:31:23] local.INFO: IMEI packet received {"connection_id":146940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":146940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:31:30] local.INFO: TCP Data received {"connection_id":147981,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:31:30] local.INFO: Processing buffer {"connection_id":147981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:31:30] local.INFO: IMEI packet received {"connection_id":147981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":147981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:31:31] local.INFO: TCP Data received {"connection_id":146940,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:31:31] local.INFO: Processing buffer {"connection_id":146940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:31:31] local.INFO: IMEI packet received {"connection_id":146940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":146940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:31:35] local.INFO: TCP Data received {"connection_id":147981,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:31:35] local.INFO: Processing buffer {"connection_id":147981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:31:35] local.INFO: IMEI packet received {"connection_id":147981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":147981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:31:36] local.INFO: TCP Data received {"connection_id":147981,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2556c30012d1822400721b488005000d92c..."} 
[2026-08-02 17:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2556c30012d1822400721b488005000d92c..."} 
[2026-08-02 17:31:36] local.INFO: Processing buffer {"connection_id":147981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2556c30012d1822400721b488005000d92c..."} 
[2026-08-02 17:31:36] local.INFO: Packet analysis {"connection_id":147981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc255"} 
[2026-08-02 17:31:36] local.INFO: Extracted packet for processing {"connection_id":147981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc255"} 
[2026-08-02 17:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649416,"longitude_deg":75.6556352,"latitude_deg":11.9649416,"altitude":80,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-08-02 17:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131976960001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297579229151232,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492860928,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785671806000,"timestamp_ms":1785671806000,"timestamp_seconds":1785671806,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2556c30"} 
[2026-08-02 17:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:31: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-08-02 17:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 17:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131976960001,"66":12287,"105":206,"83":41984,"24":0,"16":10297579229151232,"45":1739022805492860928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131976960001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:31:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297579229151232,"km_value":10297579229151.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492860928,"description":"Unknown IO ID 45"} 
[2026-08-02 17:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131976960001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492860928}} 
[2026-08-02 17:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":147981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:31:36] local.INFO: GPS data processed {"connection_id":147981,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:31:36] local.INFO: Acknowledgment sent {"connection_id":147981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:31:39] local.INFO: TCP Data received {"connection_id":146940,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:31:39] local.INFO: Processing buffer {"connection_id":146940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:31:39] local.INFO: Packet analysis {"connection_id":146940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:31:39] local.INFO: Extracted packet for processing {"connection_id":146940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:31:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131941376001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785671947000,"timestamp_ms":1785671947000,"timestamp_seconds":1785671947,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25792f8"} 
[2026-08-02 17:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:31: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-08-02 17: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":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131941376001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131941376001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:31:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:31:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:31:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131941376001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":146940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:31:39] local.INFO: GPS data processed {"connection_id":146940,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:31:39] local.INFO: Acknowledgment sent {"connection_id":146940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:32:07] local.INFO: TCP Data received {"connection_id":147981,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc258f288012d181ec00721b138004d00d72b..."} 
[2026-08-02 17:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc258f288012d181ec00721b138004d00d72b..."} 
[2026-08-02 17:32:07] local.INFO: Processing buffer {"connection_id":147981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc258f288012d181ec00721b138004d00d72b..."} 
[2026-08-02 17:32:07] local.INFO: Packet analysis {"connection_id":147981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc258"} 
[2026-08-02 17:32:07] local.INFO: Extracted packet for processing {"connection_id":147981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc258"} 
[2026-08-02 17:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":77,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-08-02 17:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132036096001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297647948627968,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785672037000,"timestamp_ms":1785672037000,"timestamp_seconds":1785672037,"priority":1,"record_length":96,"hex_timestamp":"0000019fc258f288"} 
[2026-08-02 17:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 17:32: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-08-02 17:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132036096001,"66":12287,"105":206,"83":41984,"24":0,"16":10297647948627968,"45":1738037643074156544},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132036096001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:32:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297647948627968,"km_value":10297647948627.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-08-02 17:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132036096001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-08-02 17:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":147981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:32:07] local.INFO: GPS data processed {"connection_id":147981,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:32:07] local.INFO: Acknowledgment sent {"connection_id":147981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:32:29] local.INFO: TCP Data received {"connection_id":146941,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:32:29] local.INFO: Processing buffer {"connection_id":146941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:32:29] local.INFO: IMEI packet received {"connection_id":146941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":146941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:32:30] local.INFO: TCP Data received {"connection_id":146711,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:32:30] local.INFO: Processing buffer {"connection_id":146711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:32:30] local.INFO: IMEI packet received {"connection_id":146711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":146711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:32:33] local.INFO: TCP Data received {"connection_id":146941,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:32:33] local.INFO: Processing buffer {"connection_id":146941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:32:33] local.INFO: IMEI packet received {"connection_id":146941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":146941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:32:35] local.INFO: TCP Data received {"connection_id":146711,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:32:35] local.INFO: Processing buffer {"connection_id":146711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:32:35] local.INFO: IMEI packet received {"connection_id":146711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":146711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:32:36] local.INFO: TCP Data received {"connection_id":146711,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2594490012d181ec00721b138004d00d72b..."} 
[2026-08-02 17:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2594490012d181ec00721b138004d00d72b..."} 
[2026-08-02 17:32:36] local.INFO: Processing buffer {"connection_id":146711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2594490012d181ec00721b138004d00d72b..."} 
[2026-08-02 17:32:36] local.INFO: Packet analysis {"connection_id":146711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:32:36] local.INFO: Extracted packet for processing {"connection_id":146711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648568,"longitude_deg":75.6555456,"latitude_deg":11.9648568,"altitude":77,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-08-02 17:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132041472001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297647948627968,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785672058000,"timestamp_ms":1785672058000,"timestamp_seconds":1785672058,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2594490"} 
[2026-08-02 17:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:32: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-08-02 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 17:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132041472001,"66":12298,"105":206,"83":41984,"24":0,"16":10297647948627968,"45":1738037643074156544},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132041472001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:32:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297647948627968,"km_value":10297647948627.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-08-02 17:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132041472001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-08-02 17:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":146711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:32:36] local.INFO: GPS data processed {"connection_id":146711,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:32:36] local.INFO: Acknowledgment sent {"connection_id":146711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:32:46] local.INFO: TCP Data received {"connection_id":146941,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:32:46] local.INFO: Processing buffer {"connection_id":146941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:32:46] local.INFO: IMEI packet received {"connection_id":146941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":146941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:32:47] local.INFO: TCP Data received {"connection_id":146941,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:32:47] local.INFO: Processing buffer {"connection_id":146941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:32:47] local.INFO: Packet analysis {"connection_id":146941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:32:47] local.INFO: Extracted packet for processing {"connection_id":146941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131941376001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785671947000,"timestamp_ms":1785671947000,"timestamp_seconds":1785671947,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25792f8"} 
[2026-08-02 17:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:32: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-08-02 17:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131941376001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131941376001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:32:47] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:32:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131941376001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":146941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:32:47] local.INFO: GPS data processed {"connection_id":146941,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:32:47] local.INFO: Acknowledgment sent {"connection_id":146941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:32:47] local.INFO: TCP Data received {"connection_id":146942,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:32:47] local.INFO: Processing buffer {"connection_id":146942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:32:47] local.INFO: IMEI packet received {"connection_id":146942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":146942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:32:48] local.INFO: TCP Data received {"connection_id":146941,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:32:48] local.INFO: Processing buffer {"connection_id":146941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:32:48] local.INFO: Packet analysis {"connection_id":146941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:32:48] local.INFO: Extracted packet for processing {"connection_id":146941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:32:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131941376001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785671947000,"timestamp_ms":1785671947000,"timestamp_seconds":1785671947,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25792f8"} 
[2026-08-02 17:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131941376001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131941376001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:32:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:32:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:32:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131941376001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":146941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:32:48] local.INFO: GPS data processed {"connection_id":146941,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:32:48] local.INFO: Acknowledgment sent {"connection_id":146941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:32:52] local.INFO: TCP Data received {"connection_id":146942,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:32:52] local.INFO: Processing buffer {"connection_id":146942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:32:52] local.INFO: IMEI packet received {"connection_id":146942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":146942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:32:53] local.INFO: TCP Data received {"connection_id":146942,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25099d0012d7e3c4005d357780005011229..."} 
[2026-08-02 17:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25099d0012d7e3c4005d357780005011229..."} 
[2026-08-02 17:32:53] local.INFO: Processing buffer {"connection_id":146942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25099d0012d7e3c4005d357780005011229..."} 
[2026-08-02 17:32:53] local.INFO: Packet analysis {"connection_id":146942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc250"} 
[2026-08-02 17:32:53] local.INFO: Extracted packet for processing {"connection_id":146942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc250"} 
[2026-08-02 17:32:53] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736568,"longitude_deg":76.324768,"latitude_deg":9.7736568,"altitude":5,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35778","is_valid_coordinates":true} 
[2026-08-02 17:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131901440001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146298368,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785671490000,"timestamp_ms":1785671490000,"timestamp_seconds":1785671490,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25099d0"} 
[2026-08-02 17:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-02 17:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131901440001,"66":13178,"109":206,"85":15104,"24":0,"16":114152220613672960,"45":9096215741146298368},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-02 17:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131901440001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:32:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-02 17:32:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114152220613672960,"km_value":114152220613672.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146298368,"description":"Unknown IO ID 45"} 
[2026-08-02 17:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131901440001,"power":13178,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146298368}} 
[2026-08-02 17:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":146942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:32:53] local.INFO: GPS data processed {"connection_id":146942,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:32:53] local.INFO: Acknowledgment sent {"connection_id":146942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:32:58] local.INFO: TCP Data received {"connection_id":146942,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2553198012d7e3a8005d35770000501122c..."} 
[2026-08-02 17:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2553198012d7e3a8005d35770000501122c..."} 
[2026-08-02 17:32:58] local.INFO: Processing buffer {"connection_id":146942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2553198012d7e3a8005d35770000501122c..."} 
[2026-08-02 17:32:58] local.INFO: Packet analysis {"connection_id":146942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc255"} 
[2026-08-02 17:32:58] local.INFO: Extracted packet for processing {"connection_id":146942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc255"} 
[2026-08-02 17:32:58] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736560,"longitude_deg":76.3247232,"latitude_deg":9.773656,"altitude":5,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35770","is_valid_coordinates":true} 
[2026-08-02 17:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131901440001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146298368,"note":"Value kept but may cause issues"} 
[2026-08-02 17:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785671791000,"timestamp_ms":1785671791000,"timestamp_seconds":1785671791,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2553198"} 
[2026-08-02 17:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-02 17:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131901440001,"66":2253,"115":206,"85":15104,"24":0,"16":114152220613672960,"45":9096215741146298368},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-02 17:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131901440001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:32:58] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-02 17:32:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114152220613672960,"km_value":114152220613672.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146298368,"description":"Unknown IO ID 45"} 
[2026-08-02 17:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131901440001,"power":2253,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146298368}} 
[2026-08-02 17:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":146942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:32:58] local.INFO: GPS data processed {"connection_id":146942,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:32:58] local.INFO: Acknowledgment sent {"connection_id":146942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:33:06] local.INFO: TCP Data received {"connection_id":146711,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2599698012d181e800721ae48004e00d52b..."} 
[2026-08-02 17:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2599698012d181e800721ae48004e00d52b..."} 
[2026-08-02 17:33:06] local.INFO: Processing buffer {"connection_id":146711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2599698012d181e800721ae48004e00d52b..."} 
[2026-08-02 17:33:06] local.INFO: Packet analysis {"connection_id":146711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:33:06] local.INFO: Extracted packet for processing {"connection_id":146711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647816,"longitude_deg":75.6555392,"latitude_deg":11.9647816,"altitude":78,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae48","is_valid_coordinates":true} 
[2026-08-02 17:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132046848001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297695193268224,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074156544,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785672079000,"timestamp_ms":1785672079000,"timestamp_seconds":1785672079,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2599698"} 
[2026-08-02 17:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":149,"raw_value":-7493989779944505343,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4443075532331083742,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471609757902,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2973237325,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":80,"raw_value":61128448457834496,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143914,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2510422016,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513890328710742233,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,149,159,242,45,192,177,77,43,10,66,160,44,78,1,240,255,227,194,33,4,113,205,170,31,80,46,239,47,2,36,7,64],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 17:33:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548671320604016640,"timestamp_seconds":5548671320604017.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 17:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132046848001,"66":12287,"105":206,"83":41984,"24":0,"16":10297695193268224,"45":1738037643074156544},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132046848001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:33:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297695193268224,"km_value":10297695193268.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074156544,"description":"Unknown IO ID 45"} 
[2026-08-02 17:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132046848001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074156544}} 
[2026-08-02 17:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":146711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:33:07] local.INFO: GPS data processed {"connection_id":146711,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:33:07] local.INFO: Acknowledgment sent {"connection_id":146711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:33:23] local.INFO: TCP Data received {"connection_id":146943,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:33:23] local.INFO: Processing buffer {"connection_id":146943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:33:23] local.INFO: IMEI packet received {"connection_id":146943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":146943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:33:27] local.INFO: TCP Data received {"connection_id":146712,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:33:27] local.INFO: Processing buffer {"connection_id":146712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:33:27] local.INFO: IMEI packet received {"connection_id":146712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":146712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:33:32] local.INFO: TCP Data received {"connection_id":146943,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:33:32] local.INFO: Processing buffer {"connection_id":146943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:33:32] local.INFO: IMEI packet received {"connection_id":146943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":146943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:33:32] local.INFO: TCP Data received {"connection_id":146712,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:33:32] local.INFO: Processing buffer {"connection_id":146712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:33:32] local.INFO: IMEI packet received {"connection_id":146712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":146712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:33:33] local.INFO: TCP Data received {"connection_id":146943,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:33:33] local.INFO: Processing buffer {"connection_id":146943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:33:33] local.INFO: Packet analysis {"connection_id":146943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:33:33] local.INFO: Extracted packet for processing {"connection_id":146943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:33:33] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131941376001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785671947000,"timestamp_ms":1785671947000,"timestamp_seconds":1785671947,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25792f8"} 
[2026-08-02 17:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131941376001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131941376001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:33:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:33:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:33:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131941376001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":146943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:33:33] local.INFO: GPS data processed {"connection_id":146943,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:33:33] local.INFO: Acknowledgment sent {"connection_id":146943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:33:33] local.INFO: TCP Data received {"connection_id":146712,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:33:33] local.INFO: Processing buffer {"connection_id":146712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:33:33] local.INFO: Packet analysis {"connection_id":146712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:33:33] local.INFO: Extracted packet for processing {"connection_id":146712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736560,"longitude_deg":76.3247232,"latitude_deg":9.773656,"altitude":5,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35770","is_valid_coordinates":true} 
[2026-08-02 17:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131978496001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937052672,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:33] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-02 17:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785672092000,"timestamp_ms":1785672092000,"timestamp_seconds":1785672092,"priority":1,"record_length":96,"hex_timestamp":"0000019fc259c960"} 
[2026-08-02 17:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 17:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131978496001,"66":2231,"24":0,"16":114152220613672960,"45":9095723159937052672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-02 17:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131978496001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114152220613672960,"km_value":114152220613672.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937052672,"description":"Unknown IO ID 45"} 
[2026-08-02 17:33:33] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457131978496001,"power":2231,"ignition":0,"odometer":null,"unknown_45":9095723159937052672}} 
[2026-08-02 17:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":146712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:33:33] local.INFO: GPS data processed {"connection_id":146712,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:33:33] local.INFO: Acknowledgment sent {"connection_id":146712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:33:35] local.INFO: TCP Data received {"connection_id":147982,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:33:35] local.INFO: Processing buffer {"connection_id":147982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:33:35] local.INFO: IMEI packet received {"connection_id":147982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":147982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:33:40] local.INFO: TCP Data received {"connection_id":147982,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:33:40] local.INFO: Processing buffer {"connection_id":147982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:33:40] local.INFO: IMEI packet received {"connection_id":147982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":147982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:33:41] local.INFO: TCP Data received {"connection_id":147982,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc259e8a0012d181e800721ae48004e00d528..."} 
[2026-08-02 17:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc259e8a0012d181e800721ae48004e00d528..."} 
[2026-08-02 17:33:41] local.INFO: Processing buffer {"connection_id":147982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc259e8a0012d181e800721ae48004e00d528..."} 
[2026-08-02 17:33:41] local.INFO: Packet analysis {"connection_id":147982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:33:41] local.INFO: Extracted packet for processing {"connection_id":147982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647816,"longitude_deg":75.6555392,"latitude_deg":11.9647816,"altitude":78,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae48","is_valid_coordinates":true} 
[2026-08-02 17:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132052224001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297695193268224,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329786368,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785672100000,"timestamp_ms":1785672100000,"timestamp_seconds":1785672100,"priority":1,"record_length":96,"hex_timestamp":"0000019fc259e8a0"} 
[2026-08-02 17:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 17:33: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-08-02 17:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132052224001,"66":12254,"105":206,"83":41984,"24":0,"16":10297695193268224,"45":1737967274329786368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132052224001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:33:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297695193268224,"km_value":10297695193268.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329786368,"description":"Unknown IO ID 45"} 
[2026-08-02 17:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132052224001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329786368}} 
[2026-08-02 17:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":147982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:33:41] local.INFO: GPS data processed {"connection_id":147982,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:33:41] local.INFO: Acknowledgment sent {"connection_id":147982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:33:42] local.INFO: TCP Data received {"connection_id":147982,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25a3aa8012d181e800721ae48004e00d525..."} 
[2026-08-02 17:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25a3aa8012d181e800721ae48004e00d525..."} 
[2026-08-02 17:33:42] local.INFO: Processing buffer {"connection_id":147982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25a3aa8012d181e800721ae48004e00d525..."} 
[2026-08-02 17:33:42] local.INFO: Packet analysis {"connection_id":147982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25a"} 
[2026-08-02 17:33:42] local.INFO: Extracted packet for processing {"connection_id":147982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25a"} 
[2026-08-02 17:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647816,"longitude_deg":75.6555392,"latitude_deg":11.9647816,"altitude":78,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae48","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132057600001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297695193268224,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329786368,"note":"Value kept but may cause issues"} 
[2026-08-02 17:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785672121000,"timestamp_ms":1785672121000,"timestamp_seconds":1785672121,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25a3aa8"} 
[2026-08-02 17:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-02 17:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132057600001,"66":12287,"105":206,"83":41984,"24":0,"16":10297695193268224,"45":1737967274329786368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132057600001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:33:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297695193268224,"km_value":10297695193268.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329786368,"description":"Unknown IO ID 45"} 
[2026-08-02 17:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132057600001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329786368}} 
[2026-08-02 17:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":147982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:33:42] local.INFO: GPS data processed {"connection_id":147982,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:33:42] local.INFO: Acknowledgment sent {"connection_id":147982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:34:04] local.INFO: TCP Data received {"connection_id":146712,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:34:04] local.INFO: Processing buffer {"connection_id":146712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:34:04] local.INFO: Packet analysis {"connection_id":146712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:34:04] local.INFO: Extracted packet for processing {"connection_id":146712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736560,"longitude_deg":76.3247232,"latitude_deg":9.773656,"altitude":5,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35770","is_valid_coordinates":true} 
[2026-08-02 17:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131978496001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937052672,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:04] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-02 17:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785672092000,"timestamp_ms":1785672092000,"timestamp_seconds":1785672092,"priority":1,"record_length":96,"hex_timestamp":"0000019fc259c960"} 
[2026-08-02 17:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 17:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131978496001,"66":2231,"24":0,"16":114152220613672960,"45":9095723159937052672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-02 17:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131978496001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114152220613672960,"km_value":114152220613672.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937052672,"description":"Unknown IO ID 45"} 
[2026-08-02 17:34:04] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457131978496001,"power":2231,"ignition":0,"odometer":null,"unknown_45":9095723159937052672}} 
[2026-08-02 17:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":146712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:34:04] local.INFO: GPS data processed {"connection_id":146712,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:34:04] local.INFO: Acknowledgment sent {"connection_id":146712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:34:05] local.INFO: TCP Data received {"connection_id":146943,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:34:05] local.INFO: Processing buffer {"connection_id":146943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:34:05] local.INFO: Packet analysis {"connection_id":146943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:34:05] local.INFO: Extracted packet for processing {"connection_id":146943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:34:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131941376001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785671947000,"timestamp_ms":1785671947000,"timestamp_seconds":1785671947,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25792f8"} 
[2026-08-02 17:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:34: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-08-02 17:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131941376001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131941376001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:34:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:34:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:34:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131941376001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":146943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:34:05] local.INFO: GPS data processed {"connection_id":146943,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:34:05] local.INFO: Acknowledgment sent {"connection_id":146943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:34:13] local.INFO: TCP Data received {"connection_id":147982,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25a8cb0012d181e800721ae48004e00d52a..."} 
[2026-08-02 17:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25a8cb0012d181e800721ae48004e00d52a..."} 
[2026-08-02 17:34:13] local.INFO: Processing buffer {"connection_id":147982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25a8cb0012d181e800721ae48004e00d52a..."} 
[2026-08-02 17:34:13] local.INFO: Packet analysis {"connection_id":147982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25a"} 
[2026-08-02 17:34:13] local.INFO: Extracted packet for processing {"connection_id":147982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25a"} 
[2026-08-02 17:34:13] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647816,"longitude_deg":75.6555392,"latitude_deg":11.9647816,"altitude":78,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae48","is_valid_coordinates":true} 
[2026-08-02 17:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132062976001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297695193268224,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329786368,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785672142000,"timestamp_ms":1785672142000,"timestamp_seconds":1785672142,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25a8cb0"} 
[2026-08-02 17:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 17:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132062976001,"66":12298,"105":206,"83":41984,"24":0,"16":10297695193268224,"45":1737967274329786368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132062976001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:34:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297695193268224,"km_value":10297695193268.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329786368,"description":"Unknown IO ID 45"} 
[2026-08-02 17:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132062976001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329786368}} 
[2026-08-02 17:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":147982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:34:13] local.INFO: GPS data processed {"connection_id":147982,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:34:13] local.INFO: Acknowledgment sent {"connection_id":147982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:34:23] local.INFO: TCP Data received {"connection_id":146713,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:34:23] local.INFO: Processing buffer {"connection_id":146713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:34:23] local.INFO: IMEI packet received {"connection_id":146713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":146713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:34:27] local.INFO: TCP Data received {"connection_id":146714,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:34:27] local.INFO: Processing buffer {"connection_id":146714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:34:27] local.INFO: IMEI packet received {"connection_id":146714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":146714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:34:29] local.INFO: TCP Data received {"connection_id":146713,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:34:29] local.INFO: Processing buffer {"connection_id":146713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:34:29] local.INFO: IMEI packet received {"connection_id":146713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":146713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:34:30] local.INFO: TCP Data received {"connection_id":146944,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:34:30] local.INFO: TCP Data received {"connection_id":146713,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:34:30] local.INFO: Processing buffer {"connection_id":146944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:34:30] local.INFO: IMEI packet received {"connection_id":146944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":146944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:34:30] local.INFO: Processing buffer {"connection_id":146713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25792f8012cc330c007685958005800c52a..."} 
[2026-08-02 17:34:30] local.INFO: Packet analysis {"connection_id":146713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:34:30] local.INFO: Extracted packet for processing {"connection_id":146713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc257"} 
[2026-08-02 17:34:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131941376001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785671947000,"timestamp_ms":1785671947000,"timestamp_seconds":1785671947,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25792f8"} 
[2026-08-02 17:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131941376001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131941376001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:34:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:34:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457131941376001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":146713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:34:30] local.INFO: GPS data processed {"connection_id":146713,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:34:30] local.INFO: Acknowledgment sent {"connection_id":146713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:34:32] local.INFO: TCP Data received {"connection_id":146714,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:34:32] local.INFO: Processing buffer {"connection_id":146714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:34:32] local.INFO: IMEI packet received {"connection_id":146714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":146714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:34:33] local.INFO: TCP Data received {"connection_id":146714,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:34:33] local.INFO: Processing buffer {"connection_id":146714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:34:33] local.INFO: Packet analysis {"connection_id":146714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:34:33] local.INFO: Extracted packet for processing {"connection_id":146714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736560,"longitude_deg":76.3247232,"latitude_deg":9.773656,"altitude":5,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35770","is_valid_coordinates":true} 
[2026-08-02 17:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131978496001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937052672,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:33] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-02 17:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785672092000,"timestamp_ms":1785672092000,"timestamp_seconds":1785672092,"priority":1,"record_length":96,"hex_timestamp":"0000019fc259c960"} 
[2026-08-02 17:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 17:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131978496001,"66":2231,"24":0,"16":114152220613672960,"45":9095723159937052672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-02 17:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131978496001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114152220613672960,"km_value":114152220613672.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937052672,"description":"Unknown IO ID 45"} 
[2026-08-02 17:34:33] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457131978496001,"power":2231,"ignition":0,"odometer":null,"unknown_45":9095723159937052672}} 
[2026-08-02 17:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":146714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:34:33] local.INFO: GPS data processed {"connection_id":146714,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:34:33] local.INFO: Acknowledgment sent {"connection_id":146714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:34:35] local.INFO: TCP Data received {"connection_id":146944,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:34:35] local.INFO: Processing buffer {"connection_id":146944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:34:35] local.INFO: IMEI packet received {"connection_id":146944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":146944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:34:36] local.INFO: TCP Data received {"connection_id":146944,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25adeb8012d181e800721ae48004e00d52a..."} 
[2026-08-02 17:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25adeb8012d181e800721ae48004e00d52a..."} 
[2026-08-02 17:34:36] local.INFO: Processing buffer {"connection_id":146944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25adeb8012d181e800721ae48004e00d52a..."} 
[2026-08-02 17:34:36] local.INFO: Packet analysis {"connection_id":146944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25a"} 
[2026-08-02 17:34:36] local.INFO: Extracted packet for processing {"connection_id":146944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25a"} 
[2026-08-02 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647816,"longitude_deg":75.6555392,"latitude_deg":11.9647816,"altitude":78,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae48","is_valid_coordinates":true} 
[2026-08-02 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132068352001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297695193268224,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329786368,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785672163000,"timestamp_ms":1785672163000,"timestamp_seconds":1785672163,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25adeb8"} 
[2026-08-02 17:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:34: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-08-02 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":149,"raw_value":-6341068275337658367,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4442714755078219746,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921097392334,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2973237325,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2510815232,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":77,"raw_value":60565498504413184,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513886686578278615,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,149,159,58,45,128,174,78,37,10,66,232,40,150,1,240,255,227,194,33,4,113,205,242,30,56,43,239,47,2,36,7,77,192,44],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 17:34:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620726711323721728,"timestamp_seconds":5620726711323722.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 17:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132068352001,"66":12287,"105":206,"83":41984,"24":0,"16":10297695193268224,"45":1737967274329786368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132068352001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:34:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297695193268224,"km_value":10297695193268.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329786368,"description":"Unknown IO ID 45"} 
[2026-08-02 17:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132068352001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329786368}} 
[2026-08-02 17:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":146944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:34:36] local.INFO: GPS data processed {"connection_id":146944,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:34:36] local.INFO: Acknowledgment sent {"connection_id":146944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:34:40] local.INFO: TCP Data received {"connection_id":146944,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25b30c0012d181e800721ae48004e00d52a..."} 
[2026-08-02 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25b30c0012d181e800721ae48004e00d52a..."} 
[2026-08-02 17:34:40] local.INFO: Processing buffer {"connection_id":146944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25b30c0012d181e800721ae48004e00d52a..."} 
[2026-08-02 17:34:40] local.INFO: Packet analysis {"connection_id":146944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25b"} 
[2026-08-02 17:34:40] local.INFO: Extracted packet for processing {"connection_id":146944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25b"} 
[2026-08-02 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647816,"longitude_deg":75.6555392,"latitude_deg":11.9647816,"altitude":78,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae48","is_valid_coordinates":true} 
[2026-08-02 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132073728001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297695193268224,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329786368,"note":"Value kept but may cause issues"} 
[2026-08-02 17:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785672184000,"timestamp_ms":1785672184000,"timestamp_seconds":1785672184,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25b30c0"} 
[2026-08-02 17:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 17:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132073728001,"66":12287,"105":206,"83":41984,"24":0,"16":10297695193268224,"45":1737967274329786368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132073728001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:34:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:34:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297695193268224,"km_value":10297695193268.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329786368,"description":"Unknown IO ID 45"} 
[2026-08-02 17:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132073728001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329786368}} 
[2026-08-02 17:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":146944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:34:40] local.INFO: GPS data processed {"connection_id":146944,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:34:40] local.INFO: Acknowledgment sent {"connection_id":146944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:35:02] local.INFO: TCP Data received {"connection_id":146713,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:35:02] local.INFO: Processing buffer {"connection_id":146713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:35:02] local.INFO: Packet analysis {"connection_id":146713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:35:02] local.INFO: Extracted packet for processing {"connection_id":146713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:35:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132018432001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785672248000,"timestamp_ms":1785672248000,"timestamp_seconds":1785672248,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25c2ac0"} 
[2026-08-02 17:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132018432001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132018432001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:35:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:35:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:35:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132018432001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":146713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:35:02] local.INFO: GPS data processed {"connection_id":146713,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:35:02] local.INFO: Acknowledgment sent {"connection_id":146713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:35:05] local.INFO: TCP Data received {"connection_id":146714,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:35:05] local.INFO: Processing buffer {"connection_id":146714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:35:05] local.INFO: Packet analysis {"connection_id":146714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:35:05] local.INFO: Extracted packet for processing {"connection_id":146714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736560,"longitude_deg":76.3247232,"latitude_deg":9.773656,"altitude":5,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35770","is_valid_coordinates":true} 
[2026-08-02 17:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131978496001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937052672,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:05] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-02 17:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785672092000,"timestamp_ms":1785672092000,"timestamp_seconds":1785672092,"priority":1,"record_length":96,"hex_timestamp":"0000019fc259c960"} 
[2026-08-02 17:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":205,"data_length":795,"current_offset":136} 
[2026-08-02 17:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:35: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-08-02 17:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131978496001,"66":2231,"24":0,"16":114152220613672960,"45":9095723159937052672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-02 17:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131978496001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114152220613672960,"km_value":114152220613672.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937052672,"description":"Unknown IO ID 45"} 
[2026-08-02 17:35:05] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457131978496001,"power":2231,"ignition":0,"odometer":null,"unknown_45":9095723159937052672}} 
[2026-08-02 17:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":146714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:35:05] local.INFO: GPS data processed {"connection_id":146714,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:35:05] local.INFO: Acknowledgment sent {"connection_id":146714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:35:11] local.INFO: TCP Data received {"connection_id":146944,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25b82c8012d181e800721ae48004e00d529..."} 
[2026-08-02 17:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25b82c8012d181e800721ae48004e00d529..."} 
[2026-08-02 17:35:11] local.INFO: Processing buffer {"connection_id":146944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25b82c8012d181e800721ae48004e00d529..."} 
[2026-08-02 17:35:11] local.INFO: Packet analysis {"connection_id":146944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25b"} 
[2026-08-02 17:35:11] local.INFO: Extracted packet for processing {"connection_id":146944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25b"} 
[2026-08-02 17:35:11] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647816,"longitude_deg":75.6555392,"latitude_deg":11.9647816,"altitude":78,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae48","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132079104001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297695193268224,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329786368,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785672205000,"timestamp_ms":1785672205000,"timestamp_seconds":1785672205,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25b82c8"} 
[2026-08-02 17:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 17:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132079104001,"66":12287,"105":206,"83":41984,"24":0,"16":10297695193268224,"45":1737967274329786368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132079104001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:35:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:35:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297695193268224,"km_value":10297695193268.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329786368,"description":"Unknown IO ID 45"} 
[2026-08-02 17:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132079104001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329786368}} 
[2026-08-02 17:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":146944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:35:11] local.INFO: GPS data processed {"connection_id":146944,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:35:11] local.INFO: Acknowledgment sent {"connection_id":146944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:35:27] local.INFO: TCP Data received {"connection_id":146947,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:35:27] local.INFO: Processing buffer {"connection_id":146947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:35:27] local.INFO: IMEI packet received {"connection_id":146947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":146947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:35:28] local.INFO: TCP Data received {"connection_id":146946,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:35:28] local.INFO: Processing buffer {"connection_id":146946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:35:28] local.INFO: IMEI packet received {"connection_id":146946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":146946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:35:29] local.INFO: TCP Data received {"connection_id":146945,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:35:29] local.INFO: Processing buffer {"connection_id":146945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:35:29] local.INFO: IMEI packet received {"connection_id":146945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":146945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:35:30] local.INFO: TCP Data received {"connection_id":146947,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:35:30] local.INFO: Processing buffer {"connection_id":146947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:35:30] local.INFO: IMEI packet received {"connection_id":146947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":146947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:35:32] local.INFO: TCP Data received {"connection_id":146946,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:35:32] local.INFO: Processing buffer {"connection_id":146946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:35:32] local.INFO: IMEI packet received {"connection_id":146946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":146946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:35:33] local.INFO: TCP Data received {"connection_id":146946,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:35:33] local.INFO: Processing buffer {"connection_id":146946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:35:33] local.INFO: Packet analysis {"connection_id":146946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:35:33] local.INFO: Extracted packet for processing {"connection_id":146946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736560,"longitude_deg":76.3247232,"latitude_deg":9.773656,"altitude":5,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35770","is_valid_coordinates":true} 
[2026-08-02 17:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131978496001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937052672,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:33] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-02 17:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785672092000,"timestamp_ms":1785672092000,"timestamp_seconds":1785672092,"priority":1,"record_length":96,"hex_timestamp":"0000019fc259c960"} 
[2026-08-02 17:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 17:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131978496001,"66":2231,"24":0,"16":114152220613672960,"45":9095723159937052672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-02 17:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131978496001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114152220613672960,"km_value":114152220613672.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937052672,"description":"Unknown IO ID 45"} 
[2026-08-02 17:35:33] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457131978496001,"power":2231,"ignition":0,"odometer":null,"unknown_45":9095723159937052672}} 
[2026-08-02 17:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":146946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:35:33] local.INFO: GPS data processed {"connection_id":146946,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:35:33] local.INFO: Acknowledgment sent {"connection_id":146946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:35:34] local.INFO: TCP Data received {"connection_id":146945,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:35:34] local.INFO: Processing buffer {"connection_id":146945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:35:34] local.INFO: IMEI packet received {"connection_id":146945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":146945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:35:35] local.INFO: TCP Data received {"connection_id":146947,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:35:35] local.INFO: Processing buffer {"connection_id":146947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:35:35] local.INFO: IMEI packet received {"connection_id":146947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":146947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:35:35] local.INFO: TCP Data received {"connection_id":146947,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25bd4d0012d181e800721ae48004e00d52a..."} 
[2026-08-02 17:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25bd4d0012d181e800721ae48004e00d52a..."} 
[2026-08-02 17:35:35] local.INFO: Processing buffer {"connection_id":146947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25bd4d0012d181e800721ae48004e00d52a..."} 
[2026-08-02 17:35:35] local.INFO: Packet analysis {"connection_id":146947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25b"} 
[2026-08-02 17:35:35] local.INFO: Extracted packet for processing {"connection_id":146947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25b"} 
[2026-08-02 17:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647816,"longitude_deg":75.6555392,"latitude_deg":11.9647816,"altitude":78,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae48","is_valid_coordinates":true} 
[2026-08-02 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132084480001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297695193268224,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329786368,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785672226000,"timestamp_ms":1785672226000,"timestamp_seconds":1785672226,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25bd4d0"} 
[2026-08-02 17:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 17:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132084480001,"66":12319,"105":206,"83":41984,"24":0,"16":10297695193268224,"45":1737967274329786368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132084480001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:35:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297695193268224,"km_value":10297695193268.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329786368,"description":"Unknown IO ID 45"} 
[2026-08-02 17:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132084480001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329786368}} 
[2026-08-02 17:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":146947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:35:35] local.INFO: GPS data processed {"connection_id":146947,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:35:35] local.INFO: Acknowledgment sent {"connection_id":146947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:35:35] local.INFO: TCP Data received {"connection_id":146945,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:35:35] local.INFO: Processing buffer {"connection_id":146945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:35:35] local.INFO: Packet analysis {"connection_id":146945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:35:35] local.INFO: Extracted packet for processing {"connection_id":146945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:35:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132018432001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785672248000,"timestamp_ms":1785672248000,"timestamp_seconds":1785672248,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25c2ac0"} 
[2026-08-02 17:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132018432001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132018432001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:35:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:35:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:35:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132018432001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":146945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:35:35] local.INFO: GPS data processed {"connection_id":146945,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:35:35] local.INFO: Acknowledgment sent {"connection_id":146945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:35:40] local.INFO: TCP Data received {"connection_id":146945,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:35:40] local.INFO: Processing buffer {"connection_id":146945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:35:40] local.INFO: Packet analysis {"connection_id":146945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:35:40] local.INFO: Extracted packet for processing {"connection_id":146945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:35:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132018432001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785672248000,"timestamp_ms":1785672248000,"timestamp_seconds":1785672248,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25c2ac0"} 
[2026-08-02 17:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:35: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-08-02 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132018432001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132018432001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:35:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:35:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:35:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132018432001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":146945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:35:40] local.INFO: GPS data processed {"connection_id":146945,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:35:40] local.INFO: Acknowledgment sent {"connection_id":146945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:36:05] local.INFO: TCP Data received {"connection_id":146946,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:36:05] local.INFO: Processing buffer {"connection_id":146946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc259c960012d7e3a8005d35770000501122a..."} 
[2026-08-02 17:36:05] local.INFO: Packet analysis {"connection_id":146946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:36:05] local.INFO: Extracted packet for processing {"connection_id":146946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc259"} 
[2026-08-02 17:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736560,"longitude_deg":76.3247232,"latitude_deg":9.773656,"altitude":5,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35770","is_valid_coordinates":true} 
[2026-08-02 17:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457131978496001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 17:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937052672,"note":"Value kept but may cause issues"} 
[2026-08-02 17:36:05] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-02 17:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785672092000,"timestamp_ms":1785672092000,"timestamp_seconds":1785672092,"priority":1,"record_length":96,"hex_timestamp":"0000019fc259c960"} 
[2026-08-02 17:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-02 17:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:36: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-08-02 17:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457131978496001,"66":2231,"24":0,"16":114152220613672960,"45":9095723159937052672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-02 17:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457131978496001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114152220613672960,"km_value":114152220613672.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937052672,"description":"Unknown IO ID 45"} 
[2026-08-02 17:36:05] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457131978496001,"power":2231,"ignition":0,"odometer":null,"unknown_45":9095723159937052672}} 
[2026-08-02 17:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":146946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:36:05] local.INFO: GPS data processed {"connection_id":146946,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:36:05] local.INFO: Acknowledgment sent {"connection_id":146946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:36:06] local.INFO: TCP Data received {"connection_id":146947,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25d4400012d181d000721aa80004e00a128..."} 
[2026-08-02 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25d4400012d181d000721aa80004e00a128..."} 
[2026-08-02 17:36:06] local.INFO: Processing buffer {"connection_id":146947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25d4400012d181d000721aa80004e00a128..."} 
[2026-08-02 17:36:06] local.INFO: Packet analysis {"connection_id":146947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25d"} 
[2026-08-02 17:36:06] local.INFO: Extracted packet for processing {"connection_id":146947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25d"} 
[2026-08-02 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646848,"longitude_deg":75.6555008,"latitude_deg":11.9646848,"altitude":78,"angle":161,"satellites":40,"speed":4,"hex_longitude":"2d181d00","hex_latitude":"0721aa80","is_valid_coordinates":true} 
[2026-08-02 17:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132113664001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297751027843072,"note":"Value kept but may cause issues"} 
[2026-08-02 17:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120323584,"note":"Value kept but may cause issues"} 
[2026-08-02 17:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785672320000,"timestamp_ms":1785672320000,"timestamp_seconds":1785672320,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25d4400"} 
[2026-08-02 17:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-02 17:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132113664001,"66":13917,"105":206,"83":41984,"24":4,"16":10297751027843072,"45":1737474693120323584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132113664001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:36:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297751027843072,"km_value":10297751027843.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120323584,"description":"Unknown IO ID 45"} 
[2026-08-02 17:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132113664001,"power":13917,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737474693120323584}} 
[2026-08-02 17:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":146947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:36:06] local.INFO: GPS data processed {"connection_id":146947,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:36:06] local.INFO: Acknowledgment sent {"connection_id":146947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:36:24] local.INFO: TCP Data received {"connection_id":149281,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:36:24] local.INFO: Processing buffer {"connection_id":149281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:36:24] local.INFO: IMEI packet received {"connection_id":149281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":149281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:36:29] local.INFO: TCP Data received {"connection_id":149281,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:36:29] local.INFO: Processing buffer {"connection_id":149281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:36:29] local.INFO: IMEI packet received {"connection_id":149281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":149281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:36:30] local.INFO: TCP Data received {"connection_id":149282,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:36:30] local.INFO: Processing buffer {"connection_id":149282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:36:30] local.INFO: IMEI packet received {"connection_id":149282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":149282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:36:31] local.INFO: TCP Data received {"connection_id":149281,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:36:31] local.INFO: Processing buffer {"connection_id":149281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:36:31] local.INFO: Packet analysis {"connection_id":149281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:36:31] local.INFO: Extracted packet for processing {"connection_id":149281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:36:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132018432001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:36:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785672248000,"timestamp_ms":1785672248000,"timestamp_seconds":1785672248,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25c2ac0"} 
[2026-08-02 17:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132018432001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132018432001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:36:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:36:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:36:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132018432001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":149281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:36:31] local.INFO: GPS data processed {"connection_id":149281,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:36:31] local.INFO: Acknowledgment sent {"connection_id":149281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:36:35] local.INFO: TCP Data received {"connection_id":149282,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:36:35] local.INFO: Processing buffer {"connection_id":149282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:36:35] local.INFO: IMEI packet received {"connection_id":149282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":149282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:36:35] local.INFO: TCP Data received {"connection_id":149282,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25d5788012d181dc00721a900004e008a2a..."} 
[2026-08-02 17:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25d5788012d181dc00721a900004e008a2a..."} 
[2026-08-02 17:36:35] local.INFO: Processing buffer {"connection_id":149282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25d5788012d181dc00721a900004e008a2a..."} 
[2026-08-02 17:36:35] local.INFO: Packet analysis {"connection_id":149282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25d"} 
[2026-08-02 17:36:35] local.INFO: Extracted packet for processing {"connection_id":149282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25d"} 
[2026-08-02 17:36:35] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646464,"longitude_deg":75.65552,"latitude_deg":11.9646464,"altitude":78,"angle":138,"satellites":42,"speed":8,"hex_longitude":"2d181dc0","hex_latitude":"0721a900","is_valid_coordinates":true} 
[2026-08-02 17:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132113920001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297772502679552,"note":"Value kept but may cause issues"} 
[2026-08-02 17:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864472576,"note":"Value kept but may cause issues"} 
[2026-08-02 17:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785672325000,"timestamp_ms":1785672325000,"timestamp_seconds":1785672325,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25d5788"} 
[2026-08-02 17:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-02 17:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132113920001,"66":13961,"105":206,"83":41984,"24":8,"16":10297772502679552,"45":1737545061864472576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132113920001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:36:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:36:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297772502679552,"km_value":10297772502679.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864472576,"description":"Unknown IO ID 45"} 
[2026-08-02 17:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132113920001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737545061864472576}} 
[2026-08-02 17:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":149282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:36:35] local.INFO: GPS data processed {"connection_id":149282,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:36:35] local.INFO: Acknowledgment sent {"connection_id":149282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:37:03] local.INFO: TCP Data received {"connection_id":149281,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:37:03] local.INFO: Processing buffer {"connection_id":149281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:37:03] local.INFO: Packet analysis {"connection_id":149281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:37:03] local.INFO: Extracted packet for processing {"connection_id":149281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:37:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132018432001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:37:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785672248000,"timestamp_ms":1785672248000,"timestamp_seconds":1785672248,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25c2ac0"} 
[2026-08-02 17:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132018432001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132018432001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:37:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:37:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:37:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132018432001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":149281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:37:03] local.INFO: GPS data processed {"connection_id":149281,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:37:03] local.INFO: Acknowledgment sent {"connection_id":149281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:37:06] local.INFO: TCP Data received {"connection_id":149282,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25d5f58012d181f400721a798004d007e2a..."} 
[2026-08-02 17:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25d5f58012d181f400721a798004d007e2a..."} 
[2026-08-02 17:37:07] local.INFO: Processing buffer {"connection_id":149282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25d5f58012d181f400721a798004d007e2a..."} 
[2026-08-02 17:37:07] local.INFO: Packet analysis {"connection_id":149282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25d"} 
[2026-08-02 17:37:07] local.INFO: Extracted packet for processing {"connection_id":149282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25d"} 
[2026-08-02 17:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646104,"longitude_deg":75.6555584,"latitude_deg":11.9646104,"altitude":77,"angle":126,"satellites":42,"speed":12,"hex_longitude":"2d181f40","hex_latitude":"0721a798","is_valid_coordinates":true} 
[2026-08-02 17:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132115200001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297798272483328,"note":"Value kept but may cause issues"} 
[2026-08-02 17:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096907264,"note":"Value kept but may cause issues"} 
[2026-08-02 17:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785672327000,"timestamp_ms":1785672327000,"timestamp_seconds":1785672327,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25d5f58"} 
[2026-08-02 17:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-02 17:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 17:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132115200001,"66":13928,"105":206,"83":41984,"24":12,"16":10297798272483328,"45":1737756168096907264},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132115200001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:37:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297798272483328,"km_value":10297798272483.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096907264,"description":"Unknown IO ID 45"} 
[2026-08-02 17:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132115200001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737756168096907264}} 
[2026-08-02 17:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":149282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:37:07] local.INFO: GPS data processed {"connection_id":149282,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:37:07] local.INFO: Acknowledgment sent {"connection_id":149282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:37:24] local.INFO: TCP Data received {"connection_id":149283,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:37:24] local.INFO: Processing buffer {"connection_id":149283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:37:24] local.INFO: IMEI packet received {"connection_id":149283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":149283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:37:29] local.INFO: TCP Data received {"connection_id":149283,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:37:29] local.INFO: Processing buffer {"connection_id":149283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:37:29] local.INFO: IMEI packet received {"connection_id":149283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":149283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:37:30] local.INFO: TCP Data received {"connection_id":146715,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:37:30] local.INFO: Processing buffer {"connection_id":146715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:37:30] local.INFO: IMEI packet received {"connection_id":146715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":146715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:37:30] local.INFO: TCP Data received {"connection_id":149283,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:37:30] local.INFO: Processing buffer {"connection_id":149283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:37:30] local.INFO: Packet analysis {"connection_id":149283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:37:30] local.INFO: Extracted packet for processing {"connection_id":149283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:37:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132018432001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:37:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785672248000,"timestamp_ms":1785672248000,"timestamp_seconds":1785672248,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25c2ac0"} 
[2026-08-02 17:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132018432001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132018432001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:37:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:37:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:37:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132018432001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":149283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:37:30] local.INFO: GPS data processed {"connection_id":149283,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:37:30] local.INFO: Acknowledgment sent {"connection_id":149283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:37:35] local.INFO: TCP Data received {"connection_id":146715,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:37:35] local.INFO: Processing buffer {"connection_id":146715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:37:35] local.INFO: IMEI packet received {"connection_id":146715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":146715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:37:35] local.INFO: TCP Data received {"connection_id":146715,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25d76c8012d1824c00721a200004e008a28..."} 
[2026-08-02 17:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25d76c8012d1824c00721a200004e008a28..."} 
[2026-08-02 17:37:35] local.INFO: Processing buffer {"connection_id":146715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25d76c8012d1824c00721a200004e008a28..."} 
[2026-08-02 17:37:35] local.INFO: Packet analysis {"connection_id":146715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25d"} 
[2026-08-02 17:37:35] local.INFO: Extracted packet for processing {"connection_id":146715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25d"} 
[2026-08-02 17:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119644672,"longitude_deg":75.6556992,"latitude_deg":11.9644672,"altitude":78,"angle":138,"satellites":40,"speed":18,"hex_longitude":"2d1824c0","hex_latitude":"0721a200","is_valid_coordinates":true} 
[2026-08-02 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132115712001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297892761763840,"note":"Value kept but may cause issues"} 
[2026-08-02 17:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561881088,"note":"Value kept but may cause issues"} 
[2026-08-02 17:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785672333000,"timestamp_ms":1785672333000,"timestamp_seconds":1785672333,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25d76c8"} 
[2026-08-02 17:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-02 17:37: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-08-02 17:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132115712001,"66":13928,"105":206,"83":41984,"24":18,"16":10297892761763840,"45":1738178380561881088},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132115712001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:37:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297892761763840,"km_value":10297892761763.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561881088,"description":"Unknown IO ID 45"} 
[2026-08-02 17:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132115712001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1738178380561881088}} 
[2026-08-02 17:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":146715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:37:35] local.INFO: GPS data processed {"connection_id":146715,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:37:35] local.INFO: Acknowledgment sent {"connection_id":146715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:38:02] local.INFO: TCP Data received {"connection_id":149283,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:38:02] local.INFO: Processing buffer {"connection_id":149283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:38:02] local.INFO: Packet analysis {"connection_id":149283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:38:02] local.INFO: Extracted packet for processing {"connection_id":149283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:38:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 17:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132018432001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:38:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785672248000,"timestamp_ms":1785672248000,"timestamp_seconds":1785672248,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25c2ac0"} 
[2026-08-02 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-08-02 17:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 17:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132018432001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132018432001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:38:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:38:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:38:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132018432001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":149283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:38:02] local.INFO: GPS data processed {"connection_id":149283,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:38:02] local.INFO: Acknowledgment sent {"connection_id":149283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:38:07] local.INFO: TCP Data received {"connection_id":146715,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25d8668012d1829c007219d60004f007d2b..."} 
[2026-08-02 17:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25d8668012d1829c007219d60004f007d2b..."} 
[2026-08-02 17:38:07] local.INFO: Processing buffer {"connection_id":146715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25d8668012d1829c007219d60004f007d2b..."} 
[2026-08-02 17:38:07] local.INFO: Packet analysis {"connection_id":146715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25d"} 
[2026-08-02 17:38:07] local.INFO: Extracted packet for processing {"connection_id":146715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25d"} 
[2026-08-02 17:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643488,"longitude_deg":75.6558272,"latitude_deg":11.9643488,"altitude":79,"angle":125,"satellites":43,"speed":14,"hex_longitude":"2d1829c0","hex_latitude":"07219d60","is_valid_coordinates":true} 
[2026-08-02 17:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132117248001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297978661109760,"note":"Value kept but may cause issues"} 
[2026-08-02 17:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492933423104,"note":"Value kept but may cause issues"} 
[2026-08-02 17:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785672337000,"timestamp_ms":1785672337000,"timestamp_seconds":1785672337,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25d8668"} 
[2026-08-02 17:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-02 17:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132117248001,"66":13939,"105":206,"83":41984,"24":14,"16":10297978661109760,"45":1739726492933423104},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132117248001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:38:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297978661109760,"km_value":10297978661109.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492933423104,"description":"Unknown IO ID 45"} 
[2026-08-02 17:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132117248001,"power":13939,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1739726492933423104}} 
[2026-08-02 17:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":146715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:38:07] local.INFO: GPS data processed {"connection_id":146715,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:38:07] local.INFO: Acknowledgment sent {"connection_id":146715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:38:23] local.INFO: TCP Data received {"connection_id":149284,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:38:23] local.INFO: Processing buffer {"connection_id":149284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:38:23] local.INFO: IMEI packet received {"connection_id":149284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":149284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:38:29] local.INFO: TCP Data received {"connection_id":149284,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:38:29] local.INFO: Processing buffer {"connection_id":149284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:38:29] local.INFO: IMEI packet received {"connection_id":149284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":149284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:38:30] local.INFO: TCP Data received {"connection_id":147983,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:38:30] local.INFO: Processing buffer {"connection_id":147983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:38:30] local.INFO: IMEI packet received {"connection_id":147983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":147983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:38:30] local.INFO: TCP Data received {"connection_id":149284,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:38:30] local.INFO: Processing buffer {"connection_id":149284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:38:30] local.INFO: Packet analysis {"connection_id":149284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:38:30] local.INFO: Extracted packet for processing {"connection_id":149284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:38:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132018432001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785672248000,"timestamp_ms":1785672248000,"timestamp_seconds":1785672248,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25c2ac0"} 
[2026-08-02 17:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132018432001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132018432001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:38:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:38:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132018432001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":149284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:38:30] local.INFO: GPS data processed {"connection_id":149284,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:38:30] local.INFO: Acknowledgment sent {"connection_id":149284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:38:35] local.INFO: TCP Data received {"connection_id":147983,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:38:35] local.INFO: Processing buffer {"connection_id":147983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:38:35] local.INFO: IMEI packet received {"connection_id":147983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":147983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:38:36] local.INFO: TCP Data received {"connection_id":147983,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25d8e38012d182c0007219b980050008c2b..."} 
[2026-08-02 17:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25d8e38012d182c0007219b980050008c2b..."} 
[2026-08-02 17:38:36] local.INFO: Processing buffer {"connection_id":147983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25d8e38012d182c0007219b980050008c2b..."} 
[2026-08-02 17:38:36] local.INFO: Packet analysis {"connection_id":147983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25d"} 
[2026-08-02 17:38:36] local.INFO: Extracted packet for processing {"connection_id":147983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25d"} 
[2026-08-02 17:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756558848,"raw_latitude":119643032,"longitude_deg":75.6558848,"latitude_deg":11.9643032,"altitude":80,"angle":140,"satellites":43,"speed":12,"hex_longitude":"2d182c00","hex_latitude":"07219b98","is_valid_coordinates":true} 
[2026-08-02 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132118272001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10298013020848128,"note":"Value kept but may cause issues"} 
[2026-08-02 17:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816673280,"note":"Value kept but may cause issues"} 
[2026-08-02 17:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785672339000,"timestamp_ms":1785672339000,"timestamp_seconds":1785672339,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25d8e38"} 
[2026-08-02 17:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:38: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-08-02 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-02 17:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132118272001,"66":13917,"105":206,"83":41984,"24":12,"16":10298013020848128,"45":1741133867816673280},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 17:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132118272001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:38:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 17:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10298013020848128,"km_value":10298013020848.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816673280,"description":"Unknown IO ID 45"} 
[2026-08-02 17:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132118272001,"power":13917,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1741133867816673280}} 
[2026-08-02 17:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":147983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:38:36] local.INFO: GPS data processed {"connection_id":147983,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:38:36] local.INFO: Acknowledgment sent {"connection_id":147983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:39:02] local.INFO: TCP Data received {"connection_id":149284,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:39:02] local.INFO: Processing buffer {"connection_id":149284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:39:02] local.INFO: Packet analysis {"connection_id":149284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:39:02] local.INFO: Extracted packet for processing {"connection_id":149284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:39:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132018432001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:39:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785672248000,"timestamp_ms":1785672248000,"timestamp_seconds":1785672248,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25c2ac0"} 
[2026-08-02 17:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132018432001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132018432001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:39:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:39:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:39:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132018432001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":149284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:39:02] local.INFO: GPS data processed {"connection_id":149284,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:39:02] local.INFO: Acknowledgment sent {"connection_id":149284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:39:07] local.INFO: TCP Data received {"connection_id":147983,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25fff38012d18d14007212890004500a028..."} 
[2026-08-02 17:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25fff38012d18d14007212890004500a028..."} 
[2026-08-02 17:39:07] local.INFO: Processing buffer {"connection_id":147983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25fff38012d18d14007212890004500a028..."} 
[2026-08-02 17:39:07] local.INFO: Packet analysis {"connection_id":147983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25f"} 
[2026-08-02 17:39:07] local.INFO: Extracted packet for processing {"connection_id":147983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25f"} 
[2026-08-02 17:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119613584,"longitude_deg":75.6601152,"latitude_deg":11.9613584,"altitude":69,"angle":160,"satellites":40,"speed":37,"hex_longitude":"2d18d140","hex_latitude":"07212890","is_valid_coordinates":true} 
[2026-08-02 17:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132158720001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300736030113792,"note":"Value kept but may cause issues"} 
[2026-08-02 17:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786310601571938304,"note":"Value kept but may cause issues"} 
[2026-08-02 17:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785672499000,"timestamp_ms":1785672499000,"timestamp_seconds":1785672499,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25fff38"} 
[2026-08-02 17:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-02 17:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132158720001,"66":13091,"103":206,"83":41984,"24":37,"16":10300736030113792,"45":1786310601571938304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 17:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132158720001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:39:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 17:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300736030113792,"km_value":10300736030113.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786310601571938304,"description":"Unknown IO ID 45"} 
[2026-08-02 17:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132158720001,"power":13091,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1786310601571938304}} 
[2026-08-02 17:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":147983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:39:07] local.INFO: GPS data processed {"connection_id":147983,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:39:07] local.INFO: Acknowledgment sent {"connection_id":147983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:39:23] local.INFO: TCP Data received {"connection_id":149285,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:39:23] local.INFO: Processing buffer {"connection_id":149285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:39:23] local.INFO: IMEI packet received {"connection_id":149285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":149285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:39:29] local.INFO: TCP Data received {"connection_id":149285,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:39:29] local.INFO: Processing buffer {"connection_id":149285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:39:29] local.INFO: IMEI packet received {"connection_id":149285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":149285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:39:30] local.INFO: TCP Data received {"connection_id":149285,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:39:30] local.INFO: Processing buffer {"connection_id":149285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25c2ac0012cc330c007685958005800c52b..."} 
[2026-08-02 17:39:30] local.INFO: Packet analysis {"connection_id":149285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:39:30] local.INFO: Extracted packet for processing {"connection_id":149285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25c"} 
[2026-08-02 17:39:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132018432001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785672248000,"timestamp_ms":1785672248000,"timestamp_seconds":1785672248,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25c2ac0"} 
[2026-08-02 17:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 17:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132018432001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132018432001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:39:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:39:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132018432001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":149285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:39:30] local.INFO: GPS data processed {"connection_id":149285,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:39:30] local.INFO: Acknowledgment sent {"connection_id":149285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:40:02] local.INFO: TCP Data received {"connection_id":149285,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:40:02] local.INFO: Processing buffer {"connection_id":149285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:40:02] local.INFO: Packet analysis {"connection_id":149285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:40:02] local.INFO: Extracted packet for processing {"connection_id":149285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:40:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132095488001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:40:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785672549000,"timestamp_ms":1785672549000,"timestamp_seconds":1785672549,"priority":1,"record_length":96,"hex_timestamp":"0000019fc260c288"} 
[2026-08-02 17:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132095488001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132095488001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:40:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:40:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:40:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132095488001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":149285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:40:02] local.INFO: GPS data processed {"connection_id":149285,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:40:02] local.INFO: Acknowledgment sent {"connection_id":149285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:40:44] local.INFO: TCP Data received {"connection_id":147984,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:40:44] local.INFO: Processing buffer {"connection_id":147984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:40:44] local.INFO: IMEI packet received {"connection_id":147984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":147984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:40:49] local.INFO: TCP Data received {"connection_id":147984,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:40:49] local.INFO: Processing buffer {"connection_id":147984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:40:49] local.INFO: IMEI packet received {"connection_id":147984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":147984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:40:50] local.INFO: TCP Data received {"connection_id":147984,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:40:50] local.INFO: Processing buffer {"connection_id":147984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:40:50] local.INFO: Packet analysis {"connection_id":147984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:40:50] local.INFO: Extracted packet for processing {"connection_id":147984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132095488001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785672549000,"timestamp_ms":1785672549000,"timestamp_seconds":1785672549,"priority":1,"record_length":96,"hex_timestamp":"0000019fc260c288"} 
[2026-08-02 17:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132095488001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132095488001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:40:50] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:40:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132095488001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":147984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:40:50] local.INFO: GPS data processed {"connection_id":147984,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:40:50] local.INFO: Acknowledgment sent {"connection_id":147984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:40:54] local.INFO: TCP Data received {"connection_id":147984,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:40:54] local.INFO: Processing buffer {"connection_id":147984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:40:54] local.INFO: Packet analysis {"connection_id":147984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:40:54] local.INFO: Extracted packet for processing {"connection_id":147984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:40:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132095488001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:40:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785672549000,"timestamp_ms":1785672549000,"timestamp_seconds":1785672549,"priority":1,"record_length":96,"hex_timestamp":"0000019fc260c288"} 
[2026-08-02 17:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132095488001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132095488001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:40:54] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:40:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:40:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132095488001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":147984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:40:54] local.INFO: GPS data processed {"connection_id":147984,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:40:54] local.INFO: Acknowledgment sent {"connection_id":147984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:40:57] local.INFO: TCP Data received {"connection_id":146716,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:40:57] local.INFO: Processing buffer {"connection_id":146716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:40:57] local.INFO: IMEI packet received {"connection_id":146716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 17:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":146716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:41:02] local.INFO: TCP Data received {"connection_id":146716,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:41:02] local.INFO: Processing buffer {"connection_id":146716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 17:41:02] local.INFO: IMEI packet received {"connection_id":146716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 17:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":146716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:41:03] local.INFO: TCP Data received {"connection_id":146716,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fc25ebb00012d7e3a8005d35770000501122d..."} 
[2026-08-02 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc25ebb00012d7e3a8005d35770000501122d..."} 
[2026-08-02 17:41:03] local.INFO: Processing buffer {"connection_id":146716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc25ebb00012d7e3a8005d35770000501122d..."} 
[2026-08-02 17:41:03] local.INFO: Packet analysis {"connection_id":146716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc25e"} 
[2026-08-02 17:41:03] local.INFO: Extracted packet for processing {"connection_id":146716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc25e"} 
[2026-08-02 17:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736560,"longitude_deg":76.3247232,"latitude_deg":9.773656,"altitude":5,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35770","is_valid_coordinates":true} 
[2026-08-02 17:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132055552001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 17:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937052672,"note":"Value kept but may cause issues"} 
[2026-08-02 17:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785672416000,"timestamp_ms":1785672416000,"timestamp_seconds":1785672416,"priority":1,"record_length":96,"hex_timestamp":"0000019fc25ebb00"} 
[2026-08-02 17:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-02 17:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 17:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 17:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 17:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132055552001,"66":2231,"109":206,"85":15104,"24":0,"16":114152220613672960,"45":9095723159937052672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-02 17:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 17:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 17:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132055552001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:41:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-02 17:41:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 17:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114152220613672960,"km_value":114152220613672.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937052672,"description":"Unknown IO ID 45"} 
[2026-08-02 17:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132055552001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937052672}} 
[2026-08-02 17:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":146716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:41:03] local.INFO: GPS data processed {"connection_id":146716,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:41:03] local.INFO: Acknowledgment sent {"connection_id":146716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:41:24] local.INFO: TCP Data received {"connection_id":149286,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:41:24] local.INFO: Processing buffer {"connection_id":149286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:41:24] local.INFO: IMEI packet received {"connection_id":149286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":149286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:41:29] local.INFO: TCP Data received {"connection_id":149286,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:41:29] local.INFO: Processing buffer {"connection_id":149286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:41:29] local.INFO: IMEI packet received {"connection_id":149286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":149286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:41:30] local.INFO: TCP Data received {"connection_id":149286,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:41:30] local.INFO: Processing buffer {"connection_id":149286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:41:30] local.INFO: Packet analysis {"connection_id":149286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:41:30] local.INFO: Extracted packet for processing {"connection_id":149286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:41:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132095488001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:41:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785672549000,"timestamp_ms":1785672549000,"timestamp_seconds":1785672549,"priority":1,"record_length":96,"hex_timestamp":"0000019fc260c288"} 
[2026-08-02 17:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132095488001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132095488001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:41:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:41:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:41:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132095488001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":149286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:41:30] local.INFO: GPS data processed {"connection_id":149286,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:41:30] local.INFO: Acknowledgment sent {"connection_id":149286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:42:02] local.INFO: TCP Data received {"connection_id":149286,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:42:02] local.INFO: Processing buffer {"connection_id":149286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:42:02] local.INFO: Packet analysis {"connection_id":149286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:42:02] local.INFO: Extracted packet for processing {"connection_id":149286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:42:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132095488001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:42:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785672549000,"timestamp_ms":1785672549000,"timestamp_seconds":1785672549,"priority":1,"record_length":96,"hex_timestamp":"0000019fc260c288"} 
[2026-08-02 17:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132095488001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132095488001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:42:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:42:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:42:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132095488001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":149286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:42:02] local.INFO: GPS data processed {"connection_id":149286,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:42:02] local.INFO: Acknowledgment sent {"connection_id":149286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:42:21] local.INFO: TCP Data received {"connection_id":146717,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:42:21] local.INFO: Processing buffer {"connection_id":146717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:42:21] local.INFO: IMEI packet received {"connection_id":146717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":146717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:42:22] local.INFO: TCP Data received {"connection_id":146717,"ip":"42.106.6.39","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-02 17:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146717,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-02 17:42:22] local.INFO: Processing buffer {"connection_id":146717,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-02 17:42:22] local.INFO: IMEI packet received {"connection_id":146717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":146717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:42:23] local.INFO: TCP Data received {"connection_id":146717,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:42:23] local.INFO: Processing buffer {"connection_id":146717,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-02 17:42:23] local.INFO: IMEI packet received {"connection_id":146717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":146717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:42:23] local.INFO: TCP Data received {"connection_id":149287,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:42:23] local.INFO: Processing buffer {"connection_id":149287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:42:23] local.INFO: IMEI packet received {"connection_id":149287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":149287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:42:29] local.INFO: TCP Data received {"connection_id":149287,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:42:29] local.INFO: Processing buffer {"connection_id":149287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:42:29] local.INFO: IMEI packet received {"connection_id":149287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":149287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:42:30] local.INFO: TCP Data received {"connection_id":149287,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:42:30] local.INFO: Processing buffer {"connection_id":149287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:42:30] local.INFO: Packet analysis {"connection_id":149287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:42:30] local.INFO: Extracted packet for processing {"connection_id":149287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:42:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132095488001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785672549000,"timestamp_ms":1785672549000,"timestamp_seconds":1785672549,"priority":1,"record_length":96,"hex_timestamp":"0000019fc260c288"} 
[2026-08-02 17:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132095488001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132095488001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:42:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:42:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132095488001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":149287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:42:30] local.INFO: GPS data processed {"connection_id":149287,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:42:30] local.INFO: Acknowledgment sent {"connection_id":149287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:43:04] local.INFO: TCP Data received {"connection_id":149287,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:43:04] local.INFO: Processing buffer {"connection_id":149287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:43:04] local.INFO: Packet analysis {"connection_id":149287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:43:04] local.INFO: Extracted packet for processing {"connection_id":149287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132095488001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:43:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785672549000,"timestamp_ms":1785672549000,"timestamp_seconds":1785672549,"priority":1,"record_length":96,"hex_timestamp":"0000019fc260c288"} 
[2026-08-02 17:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132095488001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132095488001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:43:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:43:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:43:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132095488001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":149287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:43:04] local.INFO: GPS data processed {"connection_id":149287,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:43:04] local.INFO: Acknowledgment sent {"connection_id":149287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:43:53] local.INFO: TCP Data received {"connection_id":149288,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:43:53] local.INFO: Processing buffer {"connection_id":149288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:43:53] local.INFO: IMEI packet received {"connection_id":149288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":149288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:43:53] local.INFO: TCP Data received {"connection_id":149288,"ip":"117.224.14.1","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 17:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149288,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 17:43:53] local.INFO: Processing buffer {"connection_id":149288,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 17:43:53] local.INFO: IMEI packet received {"connection_id":149288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":149288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:43:58] local.INFO: TCP Data received {"connection_id":149288,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:43:58] local.INFO: Processing buffer {"connection_id":149288,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 17:43:58] local.INFO: IMEI packet received {"connection_id":149288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":149288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:43:59] local.INFO: TCP Data received {"connection_id":149288,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:43:59] local.INFO: Processing buffer {"connection_id":149288,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fc2..."} 
[2026-08-02 17:43:59] local.INFO: IMEI packet received {"connection_id":149288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":149288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:44:04] local.INFO: TCP Data received {"connection_id":149288,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:44:04] local.INFO: Processing buffer {"connection_id":149288,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:44:04] local.INFO: Packet analysis {"connection_id":149288,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:44:04] local.INFO: Extracted packet for processing {"connection_id":149288,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132095488001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785672549000,"timestamp_ms":1785672549000,"timestamp_seconds":1785672549,"priority":1,"record_length":96,"hex_timestamp":"0000019fc260c288"} 
[2026-08-02 17:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132095488001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132095488001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:44:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:44:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132095488001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":149288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:44:04] local.INFO: GPS data processed {"connection_id":149288,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:44:04] local.INFO: Acknowledgment sent {"connection_id":149288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:44:04] local.INFO: Packet analysis {"connection_id":149288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:44:04] local.INFO: Extracted packet for processing {"connection_id":149288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132095488001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785672549000,"timestamp_ms":1785672549000,"timestamp_seconds":1785672549,"priority":1,"record_length":96,"hex_timestamp":"0000019fc260c288"} 
[2026-08-02 17:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132095488001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132095488001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:44:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:44:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132095488001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":149288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:44:04] local.INFO: GPS data processed {"connection_id":149288,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:44:04] local.INFO: Acknowledgment sent {"connection_id":149288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:44:29] local.INFO: TCP Data received {"connection_id":146948,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:44:29] local.INFO: Processing buffer {"connection_id":146948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:44:29] local.INFO: IMEI packet received {"connection_id":146948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":146948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:44:34] local.INFO: TCP Data received {"connection_id":146948,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:44:34] local.INFO: Processing buffer {"connection_id":146948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:44:34] local.INFO: IMEI packet received {"connection_id":146948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":146948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:44:35] local.INFO: TCP Data received {"connection_id":146948,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:44:35] local.INFO: Processing buffer {"connection_id":146948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:44:35] local.INFO: Packet analysis {"connection_id":146948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:44:35] local.INFO: Extracted packet for processing {"connection_id":146948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:44:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132095488001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:44:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785672549000,"timestamp_ms":1785672549000,"timestamp_seconds":1785672549,"priority":1,"record_length":96,"hex_timestamp":"0000019fc260c288"} 
[2026-08-02 17:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132095488001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132095488001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:44:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:44:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:44:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132095488001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":146948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:44:35] local.INFO: GPS data processed {"connection_id":146948,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:44:35] local.INFO: Acknowledgment sent {"connection_id":146948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:44:40] local.INFO: TCP Data received {"connection_id":146948,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:44:40] local.INFO: Processing buffer {"connection_id":146948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc260c288012cc330c007685958005800c528..."} 
[2026-08-02 17:44:40] local.INFO: Packet analysis {"connection_id":146948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:44:40] local.INFO: Extracted packet for processing {"connection_id":146948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc260"} 
[2026-08-02 17:44:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132095488001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:44:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785672549000,"timestamp_ms":1785672549000,"timestamp_seconds":1785672549,"priority":1,"record_length":96,"hex_timestamp":"0000019fc260c288"} 
[2026-08-02 17:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:44: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-08-02 17:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132095488001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132095488001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:44:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:44:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:44:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132095488001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":146948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:44:40] local.INFO: GPS data processed {"connection_id":146948,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:44:40] local.INFO: Acknowledgment sent {"connection_id":146948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:45:29] local.INFO: TCP Data received {"connection_id":146718,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:45:29] local.INFO: Processing buffer {"connection_id":146718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:45:29] local.INFO: IMEI packet received {"connection_id":146718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":146718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:45:34] local.INFO: TCP Data received {"connection_id":146718,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:45:34] local.INFO: Processing buffer {"connection_id":146718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:45:34] local.INFO: IMEI packet received {"connection_id":146718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":146718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:45:37] local.INFO: TCP Data received {"connection_id":146718,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:45:37] local.INFO: Processing buffer {"connection_id":146718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:45:37] local.INFO: Packet analysis {"connection_id":146718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:45:37] local.INFO: Extracted packet for processing {"connection_id":146718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 17:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132172544001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:45:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785672850000,"timestamp_ms":1785672850000,"timestamp_seconds":1785672850,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2655a50"} 
[2026-08-02 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-08-02 17: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-08-02 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:45: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-08-02 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-08-02 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-08-02 17:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132172544001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 17:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132172544001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:45:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 17:45:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:45:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132172544001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":146718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:45:37] local.INFO: GPS data processed {"connection_id":146718,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:45:37] local.INFO: Acknowledgment sent {"connection_id":146718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:45:39] local.INFO: TCP Data received {"connection_id":146718,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:45:39] local.INFO: Processing buffer {"connection_id":146718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:45:39] local.INFO: Packet analysis {"connection_id":146718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:45:39] local.INFO: Extracted packet for processing {"connection_id":146718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:45:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132172544001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:45:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785672850000,"timestamp_ms":1785672850000,"timestamp_seconds":1785672850,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2655a50"} 
[2026-08-02 17:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:45: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-08-02 17:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132172544001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 17:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132172544001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:45:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 17:45:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:45:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132172544001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":146718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:45:39] local.INFO: GPS data processed {"connection_id":146718,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:45:39] local.INFO: Acknowledgment sent {"connection_id":146718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:45:53] local.INFO: TCP Data received {"connection_id":149289,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:45:53] local.INFO: Processing buffer {"connection_id":149289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:45:53] local.INFO: IMEI packet received {"connection_id":149289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":149289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:45:56] local.INFO: TCP Data received {"connection_id":149289,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:45:56] local.INFO: Processing buffer {"connection_id":149289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:45:56] local.INFO: IMEI packet received {"connection_id":149289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":149289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:45:58] local.INFO: TCP Data received {"connection_id":149289,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:45:58] local.INFO: Processing buffer {"connection_id":149289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:45:58] local.INFO: IMEI packet received {"connection_id":149289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":149289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:45:59] local.INFO: TCP Data received {"connection_id":149289,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fc265e6f0012d19c5400720a430003601132a..."} 
[2026-08-02 17:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc265e6f0012d19c5400720a430003601132a..."} 
[2026-08-02 17:45:59] local.INFO: Processing buffer {"connection_id":149289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc265e6f0012d19c5400720a430003601132a..."} 
[2026-08-02 17:45:59] local.INFO: Packet analysis {"connection_id":149289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:45:59] local.INFO: Extracted packet for processing {"connection_id":149289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756663616,"raw_latitude":119579696,"longitude_deg":75.6663616,"latitude_deg":11.9579696,"altitude":54,"angle":275,"satellites":42,"speed":20,"hex_longitude":"2d19c540","hex_latitude":"0720a430","is_valid_coordinates":true} 
[2026-08-02 17:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10308393956802560,"note":"Value kept but may cause issues"} 
[2026-08-02 17:45:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 17:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785672886000,"timestamp_ms":1785672886000,"timestamp_seconds":1785672886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc265e6f0"} 
[2026-08-02 17:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-02 17:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":149289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":149289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":149289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14070,"103":206,"83":41984,"24":20,"16":10308393956802560},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16]} 
[2026-08-02 17:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-02 17:45:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 17:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10308393956802560,"km_value":10308393956802.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:45:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null}} 
[2026-08-02 17:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":149289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:46:00] local.INFO: GPS data processed {"connection_id":149289,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:46:00] local.INFO: Acknowledgment sent {"connection_id":149289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:46:01] local.INFO: TCP Data received {"connection_id":149289,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fc265f690012d19be400720a5e80037011f2a..."} 
[2026-08-02 17:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc265f690012d19be400720a5e80037011f2a..."} 
[2026-08-02 17:46:01] local.INFO: Processing buffer {"connection_id":149289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc265f690012d19be400720a5e80037011f2a..."} 
[2026-08-02 17:46:01] local.INFO: Packet analysis {"connection_id":149289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:46:01] local.INFO: Extracted packet for processing {"connection_id":149289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:46:01] local.INFO: GPS Element Parsed {"raw_longitude":756661824,"raw_latitude":119580136,"longitude_deg":75.6661824,"latitude_deg":11.9580136,"altitude":55,"angle":287,"satellites":42,"speed":14,"hex_longitude":"2d19be40","hex_latitude":"0720a5e8","is_valid_coordinates":true} 
[2026-08-02 17:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132258816001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10308479856148480,"note":"Value kept but may cause issues"} 
[2026-08-02 17:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856960820716777472,"note":"Value kept but may cause issues"} 
[2026-08-02 17:46: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-08-02 17:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785672890000,"timestamp_ms":1785672890000,"timestamp_seconds":1785672890,"priority":1,"record_length":96,"hex_timestamp":"0000019fc265f690"} 
[2026-08-02 17:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:46: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-08-02 17:46: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":246,"data_length":795,"current_offset":136} 
[2026-08-02 17:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132258816001,"66":14135,"103":206,"83":41984,"24":14,"16":10308479856148480,"45":1856960820716777472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 17:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132258816001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:46:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 17:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10308479856148480,"km_value":10308479856148.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856960820716777472,"description":"Unknown IO ID 45"} 
[2026-08-02 17:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132258816001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1856960820716777472}} 
[2026-08-02 17:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":149289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:46:01] local.INFO: GPS data processed {"connection_id":149289,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:46:01] local.INFO: Acknowledgment sent {"connection_id":149289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:46:29] local.INFO: TCP Data received {"connection_id":147985,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:46:29] local.INFO: Processing buffer {"connection_id":147985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:46:29] local.INFO: IMEI packet received {"connection_id":147985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":147985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:46:34] local.INFO: TCP Data received {"connection_id":147985,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:46:34] local.INFO: Processing buffer {"connection_id":147985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:46:34] local.INFO: IMEI packet received {"connection_id":147985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":147985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:46:35] local.INFO: TCP Data received {"connection_id":147985,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:46:35] local.INFO: Processing buffer {"connection_id":147985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:46:35] local.INFO: Packet analysis {"connection_id":147985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:46:35] local.INFO: Extracted packet for processing {"connection_id":147985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:46:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132172544001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785672850000,"timestamp_ms":1785672850000,"timestamp_seconds":1785672850,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2655a50"} 
[2026-08-02 17:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132172544001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 17:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132172544001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:46:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 17:46:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:46:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132172544001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":147985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:46:35] local.INFO: GPS data processed {"connection_id":147985,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:46:35] local.INFO: Acknowledgment sent {"connection_id":147985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:46:40] local.INFO: TCP Data received {"connection_id":147985,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:46:40] local.INFO: Processing buffer {"connection_id":147985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:46:40] local.INFO: Packet analysis {"connection_id":147985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:46:40] local.INFO: Extracted packet for processing {"connection_id":147985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:46:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132172544001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:46:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785672850000,"timestamp_ms":1785672850000,"timestamp_seconds":1785672850,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2655a50"} 
[2026-08-02 17:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:46: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-08-02 17:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132172544001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 17:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132172544001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:46:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 17:46:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:46:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132172544001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":147985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:46:40] local.INFO: GPS data processed {"connection_id":147985,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:46:40] local.INFO: Acknowledgment sent {"connection_id":147985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:46:49] local.INFO: TCP Data received {"connection_id":147986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:46:49] local.INFO: Processing buffer {"connection_id":147986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:46:49] local.INFO: IMEI packet received {"connection_id":147986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":147986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:46:50] local.INFO: TCP Data received {"connection_id":147986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:46:50] local.INFO: Processing buffer {"connection_id":147986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:46:50] local.INFO: IMEI packet received {"connection_id":147986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":147986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:46:54] local.INFO: TCP Data received {"connection_id":147986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:46:54] local.INFO: Processing buffer {"connection_id":147986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:46:54] local.INFO: IMEI packet received {"connection_id":147986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":147986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:46:55] local.INFO: TCP Data received {"connection_id":147986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:46:55] local.INFO: Processing buffer {"connection_id":147986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:46:55] local.INFO: IMEI packet received {"connection_id":147986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":147986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:46:56] local.INFO: TCP Data received {"connection_id":147986,"ip":"42.106.6.26","data_length":327,"data_hex":"000000000000013b8e040000019fc2671f70012d18de800720f6900042013a28..."} 
[2026-08-02 17:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147986,"packet_length":327,"packet_hex":"000000000000013b8e040000019fc2671f70012d18de800720f6900042013a28..."} 
[2026-08-02 17:46:56] local.INFO: Processing buffer {"connection_id":147986,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019fc2671f70012d18de800720f6900042013a28..."} 
[2026-08-02 17:46:56] local.INFO: Packet analysis {"connection_id":147986,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019fc267"} 
[2026-08-02 17:46:56] local.INFO: Extracted packet for processing {"connection_id":147986,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019fc267"} 
[2026-08-02 17:46:56] local.INFO: GPS Element Parsed {"raw_longitude":756604544,"raw_latitude":119600784,"longitude_deg":75.6604544,"latitude_deg":11.9600784,"altitude":66,"angle":314,"satellites":40,"speed":40,"hex_longitude":"2d18de80","hex_latitude":"0720f690","is_valid_coordinates":true} 
[2026-08-02 17: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":327,"current_offset":40} 
[2026-08-02 17:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132278016001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10310558620319744,"note":"Value kept but may cause issues"} 
[2026-08-02 17:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063333156864,"note":"Value kept but may cause issues"} 
[2026-08-02 17:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785672966000,"timestamp_ms":1785672966000,"timestamp_seconds":1785672966,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2671f70"} 
[2026-08-02 17:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":56,"n8_eight_byte":27,"data_length":327,"current_offset":136} 
[2026-08-02 17:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:46:56] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147986,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-02 17:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132278016001,"66":14341,"103":206,"83":41984,"24":40,"16":10310558620319744,"45":1795177063333156864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 17:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132278016001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:46:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 17:46:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10310558620319744,"km_value":10310558620319.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063333156864,"description":"Unknown IO ID 45"} 
[2026-08-02 17:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132278016001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1795177063333156864}} 
[2026-08-02 17:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":147986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:46:57] local.INFO: GPS data processed {"connection_id":147986,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:46:57] local.INFO: Acknowledgment sent {"connection_id":147986,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:46:59] local.INFO: TCP Data received {"connection_id":147986,"ip":"42.106.6.26","data_length":93,"data_hex":"00000000000000518e010000019fc2672b28012d18d6800720ffd80042014826..."} 
[2026-08-02 17:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147986,"packet_length":93,"packet_hex":"00000000000000518e010000019fc2672b28012d18d6800720ffd80042014826..."} 
[2026-08-02 17:46:59] local.INFO: Processing buffer {"connection_id":147986,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc2672b28012d18d6800720ffd80042014826..."} 
[2026-08-02 17:46:59] local.INFO: Packet analysis {"connection_id":147986,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc267"} 
[2026-08-02 17:46:59] local.INFO: Extracted packet for processing {"connection_id":147986,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc267"} 
[2026-08-02 17:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756602496,"raw_latitude":119603160,"longitude_deg":75.6602496,"latitude_deg":11.960316,"altitude":66,"angle":328,"satellites":38,"speed":39,"hex_longitude":"2d18d680","hex_latitude":"0720ffd8","is_valid_coordinates":true} 
[2026-08-02 17: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":93,"current_offset":40} 
[2026-08-02 17:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:46:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:46:59] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 17:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147986,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 17:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 17:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 17:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 17:46:59] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 17:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":147986,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 17:46:59] local.ERROR: GPS data processing failed {"connection_id":147986,"error":"No valid data to process"} 
[2026-08-02 17:46:59] local.INFO: Acknowledgment sent {"connection_id":147986,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 17:47:24] local.INFO: TCP Data received {"connection_id":146949,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:47:24] local.INFO: Processing buffer {"connection_id":146949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:47:24] local.INFO: IMEI packet received {"connection_id":146949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":146949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:47:29] local.INFO: TCP Data received {"connection_id":146949,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:47:29] local.INFO: Processing buffer {"connection_id":146949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:47:29] local.INFO: IMEI packet received {"connection_id":146949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":146949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:47:30] local.INFO: TCP Data received {"connection_id":146949,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:47:30] local.INFO: Processing buffer {"connection_id":146949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:47:30] local.INFO: Packet analysis {"connection_id":146949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:47:30] local.INFO: Extracted packet for processing {"connection_id":146949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:47:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132172544001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785672850000,"timestamp_ms":1785672850000,"timestamp_seconds":1785672850,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2655a50"} 
[2026-08-02 17:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132172544001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 17:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132172544001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:47:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 17:47:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132172544001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":146949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:47:30] local.INFO: GPS data processed {"connection_id":146949,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:47:30] local.INFO: Acknowledgment sent {"connection_id":146949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:47:30] local.INFO: TCP Data received {"connection_id":147986,"ip":"42.106.6.26","data_length":93,"data_hex":"00000000000000518e010000019fc26732f8012d18d380072107180042015724..."} 
[2026-08-02 17:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147986,"packet_length":93,"packet_hex":"00000000000000518e010000019fc26732f8012d18d380072107180042015724..."} 
[2026-08-02 17:47:30] local.INFO: Processing buffer {"connection_id":147986,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc26732f8012d18d380072107180042015724..."} 
[2026-08-02 17:47:30] local.INFO: Packet analysis {"connection_id":147986,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc267"} 
[2026-08-02 17:47:30] local.INFO: Extracted packet for processing {"connection_id":147986,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc267"} 
[2026-08-02 17:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119605016,"longitude_deg":75.6601728,"latitude_deg":11.9605016,"altitude":66,"angle":343,"satellites":36,"speed":39,"hex_longitude":"2d18d380","hex_latitude":"07210718","is_valid_coordinates":true} 
[2026-08-02 17:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-02 17:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:47:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:47:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 17:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147986,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 17:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 17:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 17:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 17:47:30] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 17:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":147986,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 17:47:30] local.ERROR: GPS data processing failed {"connection_id":147986,"error":"No valid data to process"} 
[2026-08-02 17:47:30] local.INFO: Acknowledgment sent {"connection_id":147986,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 17:48:01] local.INFO: TCP Data received {"connection_id":147986,"ip":"42.106.6.26","data_length":93,"data_hex":"00000000000000518e010000019fc26805e8012d187b8007218180004e010d2b..."} 
[2026-08-02 17:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147986,"packet_length":93,"packet_hex":"00000000000000518e010000019fc26805e8012d187b8007218180004e010d2b..."} 
[2026-08-02 17:48:01] local.INFO: Processing buffer {"connection_id":147986,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc26805e8012d187b8007218180004e010d2b..."} 
[2026-08-02 17:48:01] local.INFO: Packet analysis {"connection_id":147986,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc268"} 
[2026-08-02 17:48:01] local.INFO: Extracted packet for processing {"connection_id":147986,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc268"} 
[2026-08-02 17:48:01] local.INFO: GPS Element Parsed {"raw_longitude":756579200,"raw_latitude":119636352,"longitude_deg":75.65792,"latitude_deg":11.9636352,"altitude":78,"angle":269,"satellites":43,"speed":25,"hex_longitude":"2d187b80","hex_latitude":"07218180","is_valid_coordinates":true} 
[2026-08-02 17: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":93,"current_offset":40} 
[2026-08-02 17:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:48:01] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:48:01] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 17:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147986,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 17:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 17:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 17:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 17:48:01] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 17:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":147986,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 17:48:01] local.ERROR: GPS data processing failed {"connection_id":147986,"error":"No valid data to process"} 
[2026-08-02 17:48:01] local.INFO: Acknowledgment sent {"connection_id":147986,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 17:48:02] local.INFO: TCP Data received {"connection_id":146949,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:48:02] local.INFO: Processing buffer {"connection_id":146949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:48:02] local.INFO: Packet analysis {"connection_id":146949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:48:02] local.INFO: Extracted packet for processing {"connection_id":146949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:48:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132172544001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:48:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785672850000,"timestamp_ms":1785672850000,"timestamp_seconds":1785672850,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2655a50"} 
[2026-08-02 17:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132172544001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 17:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132172544001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:48:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 17:48:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:48:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132172544001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":146949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:48:02] local.INFO: GPS data processed {"connection_id":146949,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:48:02] local.INFO: Acknowledgment sent {"connection_id":146949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:48:24] local.INFO: TCP Data received {"connection_id":146719,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:48:24] local.INFO: Processing buffer {"connection_id":146719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:48:24] local.INFO: IMEI packet received {"connection_id":146719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":146719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:48:29] local.INFO: TCP Data received {"connection_id":146719,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:48:29] local.INFO: Processing buffer {"connection_id":146719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:48:29] local.INFO: IMEI packet received {"connection_id":146719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":146719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:48:30] local.INFO: TCP Data received {"connection_id":146719,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:48:30] local.INFO: Processing buffer {"connection_id":146719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:48:30] local.INFO: Packet analysis {"connection_id":146719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:48:30] local.INFO: Extracted packet for processing {"connection_id":146719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:48:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132172544001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785672850000,"timestamp_ms":1785672850000,"timestamp_seconds":1785672850,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2655a50"} 
[2026-08-02 17:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132172544001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 17:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132172544001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:48:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 17:48:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132172544001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":146719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:48:30] local.INFO: GPS data processed {"connection_id":146719,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:48:30] local.INFO: Acknowledgment sent {"connection_id":146719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:48:33] local.INFO: TCP Data received {"connection_id":147986,"ip":"42.106.6.26","data_length":93,"data_hex":"00000000000000518e010000019fc2682528012d18630007218140004e011b2c..."} 
[2026-08-02 17:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147986,"packet_length":93,"packet_hex":"00000000000000518e010000019fc2682528012d18630007218140004e011b2c..."} 
[2026-08-02 17:48:33] local.INFO: Processing buffer {"connection_id":147986,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fc2682528012d18630007218140004e011b2c..."} 
[2026-08-02 17:48:33] local.INFO: Packet analysis {"connection_id":147986,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fc268"} 
[2026-08-02 17:48:33] local.INFO: Extracted packet for processing {"connection_id":147986,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fc268"} 
[2026-08-02 17:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756572928,"raw_latitude":119636288,"longitude_deg":75.6572928,"latitude_deg":11.9636288,"altitude":78,"angle":283,"satellites":44,"speed":32,"hex_longitude":"2d186300","hex_latitude":"07218140","is_valid_coordinates":true} 
[2026-08-02 17: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":93,"current_offset":40} 
[2026-08-02 17:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:48:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:48:33] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 17:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147986,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-02 17:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 17:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-02 17:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 17:48:33] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 17:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":147986,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 17:48:33] local.ERROR: GPS data processing failed {"connection_id":147986,"error":"No valid data to process"} 
[2026-08-02 17:48:33] local.INFO: Acknowledgment sent {"connection_id":147986,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 17:49:02] local.INFO: TCP Data received {"connection_id":146719,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:49:02] local.INFO: Processing buffer {"connection_id":146719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:49:02] local.INFO: Packet analysis {"connection_id":146719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:49:02] local.INFO: Extracted packet for processing {"connection_id":146719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:49:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132172544001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:49:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785672850000,"timestamp_ms":1785672850000,"timestamp_seconds":1785672850,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2655a50"} 
[2026-08-02 17:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132172544001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 17:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132172544001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:49:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 17:49:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:49:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132172544001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":146719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:49:02] local.INFO: GPS data processed {"connection_id":146719,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:49:02] local.INFO: Acknowledgment sent {"connection_id":146719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:49:05] local.INFO: TCP Data received {"connection_id":147986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc268fc00012d17ecc007217148004c00d72b..."} 
[2026-08-02 17:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc268fc00012d17ecc007217148004c00d72b..."} 
[2026-08-02 17:49:05] local.INFO: Processing buffer {"connection_id":147986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc268fc00012d17ecc007217148004c00d72b..."} 
[2026-08-02 17:49:05] local.INFO: Packet analysis {"connection_id":147986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc268"} 
[2026-08-02 17:49:05] local.INFO: Extracted packet for processing {"connection_id":147986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc268"} 
[2026-08-02 17:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756542656,"raw_latitude":119632200,"longitude_deg":75.6542656,"latitude_deg":11.96322,"altitude":76,"angle":215,"satellites":43,"speed":42,"hex_longitude":"2d17ecc0","hex_latitude":"07217148","is_valid_coordinates":true} 
[2026-08-02 17:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132308480001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10315038271209472,"note":"Value kept but may cause issues"} 
[2026-08-02 17:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1730930399909564416,"note":"Value kept but may cause issues"} 
[2026-08-02 17:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785673088000,"timestamp_ms":1785673088000,"timestamp_seconds":1785673088,"priority":1,"record_length":96,"hex_timestamp":"0000019fc268fc00"} 
[2026-08-02 17:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:49: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-08-02 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-02 17:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132308480001,"66":14298,"107":206,"83":41984,"24":42,"16":10315038271209472,"45":1730930399909564416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132308480001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:49:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10315038271209472,"km_value":10315038271209.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1730930399909564416,"description":"Unknown IO ID 45"} 
[2026-08-02 17:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132308480001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1730930399909564416}} 
[2026-08-02 17:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":147986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:49:05] local.INFO: GPS data processed {"connection_id":147986,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:49:05] local.INFO: Acknowledgment sent {"connection_id":147986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:49:23] local.INFO: TCP Data received {"connection_id":146950,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:49:23] local.INFO: Processing buffer {"connection_id":146950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:49:23] local.INFO: IMEI packet received {"connection_id":146950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":146950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:49:28] local.INFO: TCP Data received {"connection_id":146950,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:49:28] local.INFO: Processing buffer {"connection_id":146950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:49:28] local.INFO: IMEI packet received {"connection_id":146950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":146950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:49:30] local.INFO: TCP Data received {"connection_id":146950,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:49:30] local.INFO: Processing buffer {"connection_id":146950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2655a50012cc330c007685958005800c529..."} 
[2026-08-02 17:49:30] local.INFO: Packet analysis {"connection_id":146950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:49:30] local.INFO: Extracted packet for processing {"connection_id":146950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc265"} 
[2026-08-02 17:49:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132172544001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785672850000,"timestamp_ms":1785672850000,"timestamp_seconds":1785672850,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2655a50"} 
[2026-08-02 17:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132172544001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 17:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132172544001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:49:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 17:49:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132172544001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":146950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:49:30] local.INFO: GPS data processed {"connection_id":146950,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:49:30] local.INFO: Acknowledgment sent {"connection_id":146950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:49:36] local.INFO: TCP Data received {"connection_id":147986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2691f28012d17d90007214ff0004600d12c..."} 
[2026-08-02 17:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2691f28012d17d90007214ff0004600d12c..."} 
[2026-08-02 17:49:36] local.INFO: Processing buffer {"connection_id":147986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2691f28012d17d90007214ff0004600d12c..."} 
[2026-08-02 17:49:36] local.INFO: Packet analysis {"connection_id":147986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:49:36] local.INFO: Extracted packet for processing {"connection_id":147986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756537600,"raw_latitude":119623664,"longitude_deg":75.65376,"latitude_deg":11.9623664,"altitude":70,"angle":209,"satellites":44,"speed":47,"hex_longitude":"2d17d900","hex_latitude":"07214ff0","is_valid_coordinates":true} 
[2026-08-02 17:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132310528001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10315515012579328,"note":"Value kept but may cause issues"} 
[2026-08-02 17:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723963894234433536,"note":"Value kept but may cause issues"} 
[2026-08-02 17:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785673097000,"timestamp_ms":1785673097000,"timestamp_seconds":1785673097,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2691f28"} 
[2026-08-02 17:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:49: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-08-02 17:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-02 17:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132310528001,"66":14428,"107":206,"83":41984,"24":47,"16":10315515012579328,"45":1723963894234433536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132310528001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:49:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10315515012579328,"km_value":10315515012579.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723963894234433536,"description":"Unknown IO ID 45"} 
[2026-08-02 17:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132310528001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1723963894234433536}} 
[2026-08-02 17:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":147986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:49:36] local.INFO: GPS data processed {"connection_id":147986,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:49:36] local.INFO: Acknowledgment sent {"connection_id":147986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:50:01] local.INFO: TCP Data received {"connection_id":146950,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:50:01] local.INFO: Processing buffer {"connection_id":146950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:50:01] local.INFO: Packet analysis {"connection_id":146950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:50:01] local.INFO: Extracted packet for processing {"connection_id":146950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:50:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132249600001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:50:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785673150000,"timestamp_ms":1785673150000,"timestamp_seconds":1785673150,"priority":1,"record_length":96,"hex_timestamp":"0000019fc269ee30"} 
[2026-08-02 17:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:50: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132249600001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132249600001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:50:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:50:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:50:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132249600001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":146950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:50:01] local.INFO: GPS data processed {"connection_id":146950,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:50:01] local.INFO: Acknowledgment sent {"connection_id":146950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:50:07] local.INFO: TCP Data received {"connection_id":147986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2693a80012d17c6c007213250004000d52c..."} 
[2026-08-02 17:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2693a80012d17c6c007213250004000d52c..."} 
[2026-08-02 17:50:07] local.INFO: Processing buffer {"connection_id":147986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2693a80012d17c6c007213250004000d52c..."} 
[2026-08-02 17:50:07] local.INFO: Packet analysis {"connection_id":147986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:50:07] local.INFO: Extracted packet for processing {"connection_id":147986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756532928,"raw_latitude":119616080,"longitude_deg":75.6532928,"latitude_deg":11.961608,"altitude":64,"angle":213,"satellites":44,"speed":52,"hex_longitude":"2d17c6c0","hex_latitude":"07213250","is_valid_coordinates":true} 
[2026-08-02 17:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132312832001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10315948804276224,"note":"Value kept but may cause issues"} 
[2026-08-02 17:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1718404763442212864,"note":"Value kept but may cause issues"} 
[2026-08-02 17:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785673104000,"timestamp_ms":1785673104000,"timestamp_seconds":1785673104,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2693a80"} 
[2026-08-02 17:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 17:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132312832001,"66":14363,"107":206,"83":41984,"24":52,"16":10315948804276224,"45":1718404763442212864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132312832001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:50:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10315948804276224,"km_value":10315948804276.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1718404763442212864,"description":"Unknown IO ID 45"} 
[2026-08-02 17:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132312832001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1718404763442212864}} 
[2026-08-02 17:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":147986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:50:07] local.INFO: GPS data processed {"connection_id":147986,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:50:07] local.INFO: Acknowledgment sent {"connection_id":147986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:50:23] local.INFO: TCP Data received {"connection_id":149290,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:50:23] local.INFO: Processing buffer {"connection_id":149290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:50:23] local.INFO: IMEI packet received {"connection_id":149290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":149290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:50:29] local.INFO: TCP Data received {"connection_id":149290,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:50:29] local.INFO: Processing buffer {"connection_id":149290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:50:29] local.INFO: IMEI packet received {"connection_id":149290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":149290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:50:30] local.INFO: TCP Data received {"connection_id":149290,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:50:30] local.INFO: Processing buffer {"connection_id":149290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:50:30] local.INFO: Packet analysis {"connection_id":149290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:50:30] local.INFO: Extracted packet for processing {"connection_id":149290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:50:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132249600001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785673150000,"timestamp_ms":1785673150000,"timestamp_seconds":1785673150,"priority":1,"record_length":96,"hex_timestamp":"0000019fc269ee30"} 
[2026-08-02 17:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132249600001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132249600001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:50:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:50:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132249600001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":149290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:50:30] local.INFO: GPS data processed {"connection_id":149290,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:50:30] local.INFO: Acknowledgment sent {"connection_id":149290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:50:38] local.INFO: TCP Data received {"connection_id":147986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2694e08012d17b64007211ed0003e00e22c..."} 
[2026-08-02 17:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2694e08012d17b64007211ed0003e00e22c..."} 
[2026-08-02 17:50:38] local.INFO: Processing buffer {"connection_id":147986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2694e08012d17b64007211ed0003e00e22c..."} 
[2026-08-02 17:50:38] local.INFO: Packet analysis {"connection_id":147986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:50:38] local.INFO: Extracted packet for processing {"connection_id":147986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756528704,"raw_latitude":119611088,"longitude_deg":75.6528704,"latitude_deg":11.9611088,"altitude":62,"angle":226,"satellites":44,"speed":49,"hex_longitude":"2d17b640","hex_latitude":"07211ed0","is_valid_coordinates":true} 
[2026-08-02 17:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132314624001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10316262336888832,"note":"Value kept but may cause issues"} 
[2026-08-02 17:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713267845115301888,"note":"Value kept but may cause issues"} 
[2026-08-02 17:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785673109000,"timestamp_ms":1785673109000,"timestamp_seconds":1785673109,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2694e08"} 
[2026-08-02 17:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-02 17:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132314624001,"66":14374,"107":206,"83":41984,"24":49,"16":10316262336888832,"45":1713267845115301888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 17:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132314624001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:50:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 17:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10316262336888832,"km_value":10316262336888.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713267845115301888,"description":"Unknown IO ID 45"} 
[2026-08-02 17:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132314624001,"power":14374,"unknown_107":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1713267845115301888}} 
[2026-08-02 17:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":147986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:50:38] local.INFO: GPS data processed {"connection_id":147986,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:50:38] local.INFO: Acknowledgment sent {"connection_id":147986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:51:02] local.INFO: TCP Data received {"connection_id":149290,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:51:02] local.INFO: Processing buffer {"connection_id":149290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:51:02] local.INFO: Packet analysis {"connection_id":149290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:51:02] local.INFO: Extracted packet for processing {"connection_id":149290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:51:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132249600001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785673150000,"timestamp_ms":1785673150000,"timestamp_seconds":1785673150,"priority":1,"record_length":96,"hex_timestamp":"0000019fc269ee30"} 
[2026-08-02 17:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132249600001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132249600001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:51:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:51:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:51:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132249600001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":149290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:51:02] local.INFO: GPS data processed {"connection_id":149290,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:51:02] local.INFO: Acknowledgment sent {"connection_id":149290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:51:09] local.INFO: TCP Data received {"connection_id":147986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26accd8012d166e00072004b0002b00f329..."} 
[2026-08-02 17:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26accd8012d166e00072004b0002b00f329..."} 
[2026-08-02 17:51:09] local.INFO: Processing buffer {"connection_id":147986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26accd8012d166e00072004b0002b00f329..."} 
[2026-08-02 17:51:09] local.INFO: Packet analysis {"connection_id":147986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26a"} 
[2026-08-02 17:51:09] local.INFO: Extracted packet for processing {"connection_id":147986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26a"} 
[2026-08-02 17:51:09] local.INFO: GPS Element Parsed {"raw_longitude":756444672,"raw_latitude":119538864,"longitude_deg":75.6444672,"latitude_deg":11.9538864,"altitude":43,"angle":243,"satellites":41,"speed":41,"hex_longitude":"2d166e00","hex_latitude":"072004b0","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132338688001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10321609571172352,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1626080971060486144,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785673207000,"timestamp_ms":1785673207000,"timestamp_seconds":1785673207,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26accd8"} 
[2026-08-02 17:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 17:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132338688001,"66":14428,"85":206,"83":41984,"24":41,"16":10321609571172352,"45":1626080971060486144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-02 17:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132338688001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-02 17:51:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10321609571172352,"km_value":10321609571172.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1626080971060486144,"description":"Unknown IO ID 45"} 
[2026-08-02 17:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132338688001,"power":14428,"unknown_85":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1626080971060486144}} 
[2026-08-02 17:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":147986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:51:10] local.INFO: GPS data processed {"connection_id":147986,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:51:10] local.INFO: Acknowledgment sent {"connection_id":147986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:51:29] local.INFO: TCP Data received {"connection_id":146951,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:51:29] local.INFO: Processing buffer {"connection_id":146951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:51:29] local.INFO: IMEI packet received {"connection_id":146951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":146951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:51:29] local.INFO: TCP Data received {"connection_id":147987,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:51:29] local.INFO: Processing buffer {"connection_id":147987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:51:29] local.INFO: IMEI packet received {"connection_id":147987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":147987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:51:30] local.INFO: TCP Data received {"connection_id":147987,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:51:30] local.INFO: Processing buffer {"connection_id":147987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:51:30] local.INFO: IMEI packet received {"connection_id":147987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":147987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:51:34] local.INFO: TCP Data received {"connection_id":146951,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:51:34] local.INFO: Processing buffer {"connection_id":146951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:51:34] local.INFO: IMEI packet received {"connection_id":146951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":146951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:51:34] local.INFO: TCP Data received {"connection_id":147987,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:51:34] local.INFO: Processing buffer {"connection_id":147987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:51:34] local.INFO: IMEI packet received {"connection_id":147987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":147987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:51:39] local.INFO: TCP Data received {"connection_id":146951,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:51:39] local.INFO: Processing buffer {"connection_id":146951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:51:39] local.INFO: IMEI packet received {"connection_id":146951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":146951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:51:39] local.INFO: TCP Data received {"connection_id":147987,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:51:39] local.INFO: Processing buffer {"connection_id":147987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:51:39] local.INFO: IMEI packet received {"connection_id":147987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":147987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:51:40] local.INFO: TCP Data received {"connection_id":147987,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26af3e8012d164c80071ff4a0002b00f529..."} 
[2026-08-02 17:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26af3e8012d164c80071ff4a0002b00f529..."} 
[2026-08-02 17:51:40] local.INFO: Processing buffer {"connection_id":147987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26af3e8012d164c80071ff4a0002b00f529..."} 
[2026-08-02 17:51:40] local.INFO: Packet analysis {"connection_id":147987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26a"} 
[2026-08-02 17:51:40] local.INFO: Extracted packet for processing {"connection_id":147987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26a"} 
[2026-08-02 17:51:40] local.INFO: GPS Element Parsed {"raw_longitude":756436096,"raw_latitude":119534752,"longitude_deg":75.6436096,"latitude_deg":11.9534752,"altitude":43,"angle":245,"satellites":41,"speed":37,"hex_longitude":"2d164c80","hex_latitude":"071ff4a0","is_valid_coordinates":true} 
[2026-08-02 17:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132340992001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10322064837705728,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1616229346874535936,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785673217000,"timestamp_ms":1785673217000,"timestamp_seconds":1785673217,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26af3e8"} 
[2026-08-02 17:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":92,"data_length":795,"current_offset":136} 
[2026-08-02 17:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132340992001,"66":14233,"85":206,"83":41984,"24":37,"16":10322064837705728,"45":1616229346874535936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-02 17:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132340992001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-02 17:51:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10322064837705728,"km_value":10322064837705.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1616229346874535936,"description":"Unknown IO ID 45"} 
[2026-08-02 17:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132340992001,"power":14233,"unknown_85":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1616229346874535936}} 
[2026-08-02 17:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":147987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:51:40] local.INFO: GPS data processed {"connection_id":147987,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:51:40] local.INFO: Acknowledgment sent {"connection_id":147987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:51:45] local.INFO: TCP Data received {"connection_id":147987,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26b1af8012d162a80071fe508002900f72b..."} 
[2026-08-02 17:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26b1af8012d162a80071fe508002900f72b..."} 
[2026-08-02 17:51:45] local.INFO: Processing buffer {"connection_id":147987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26b1af8012d162a80071fe508002900f72b..."} 
[2026-08-02 17:51:45] local.INFO: Packet analysis {"connection_id":147987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26b"} 
[2026-08-02 17:51:45] local.INFO: Extracted packet for processing {"connection_id":147987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26b"} 
[2026-08-02 17:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756427392,"raw_latitude":119530760,"longitude_deg":75.6427392,"latitude_deg":11.953076,"altitude":41,"angle":247,"satellites":43,"speed":37,"hex_longitude":"2d162a80","hex_latitude":"071fe508","is_valid_coordinates":true} 
[2026-08-02 17:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132343552001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10322520104239104,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1606799935153676288,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785673227000,"timestamp_ms":1785673227000,"timestamp_seconds":1785673227,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26b1af8"} 
[2026-08-02 17:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-02 17:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":147987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":147987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":147987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132343552001,"66":14102,"85":206,"83":41984,"24":37,"16":10322520104239104,"45":1606799935153676288},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-02 17:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132343552001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:51:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-02 17:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10322520104239104,"km_value":10322520104239.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1606799935153676288,"description":"Unknown IO ID 45"} 
[2026-08-02 17:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132343552001,"power":14102,"unknown_85":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1606799935153676288}} 
[2026-08-02 17:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":147987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:51:45] local.INFO: GPS data processed {"connection_id":147987,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:51:45] local.INFO: Acknowledgment sent {"connection_id":147987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:51:48] local.INFO: TCP Data received {"connection_id":146951,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:51:48] local.INFO: Processing buffer {"connection_id":146951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:51:48] local.INFO: Packet analysis {"connection_id":146951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:51:48] local.INFO: Extracted packet for processing {"connection_id":146951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:51:48] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132249600001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785673150000,"timestamp_ms":1785673150000,"timestamp_seconds":1785673150,"priority":1,"record_length":96,"hex_timestamp":"0000019fc269ee30"} 
[2026-08-02 17:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132249600001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132249600001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:51:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:51:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:51:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132249600001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":146951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:51:48] local.INFO: GPS data processed {"connection_id":146951,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:51:48] local.INFO: Acknowledgment sent {"connection_id":146951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:51:49] local.INFO: TCP Data received {"connection_id":146951,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:51:49] local.INFO: Processing buffer {"connection_id":146951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:51:49] local.INFO: Packet analysis {"connection_id":146951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:51:49] local.INFO: Extracted packet for processing {"connection_id":146951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:51:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132249600001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785673150000,"timestamp_ms":1785673150000,"timestamp_seconds":1785673150,"priority":1,"record_length":96,"hex_timestamp":"0000019fc269ee30"} 
[2026-08-02 17:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132249600001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132249600001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:51:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:51:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132249600001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":146951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:51:49] local.INFO: GPS data processed {"connection_id":146951,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:51:49] local.INFO: Acknowledgment sent {"connection_id":146951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:52:17] local.INFO: TCP Data received {"connection_id":147987,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26b2a98012d161c40071fe0e0002801042a..."} 
[2026-08-02 17:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26b2a98012d161c40071fe0e0002801042a..."} 
[2026-08-02 17:52:17] local.INFO: Processing buffer {"connection_id":147987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26b2a98012d161c40071fe0e0002801042a..."} 
[2026-08-02 17:52:17] local.INFO: Packet analysis {"connection_id":147987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26b"} 
[2026-08-02 17:52:17] local.INFO: Extracted packet for processing {"connection_id":147987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26b"} 
[2026-08-02 17:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756423744,"raw_latitude":119529696,"longitude_deg":75.6423744,"latitude_deg":11.9529696,"altitude":40,"angle":260,"satellites":42,"speed":37,"hex_longitude":"2d161c40","hex_latitude":"071fe0e0","is_valid_coordinates":true} 
[2026-08-02 17:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132346112001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10322700492865536,"note":"Value kept but may cause issues"} 
[2026-08-02 17:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1597229785944492032,"note":"Value kept but may cause issues"} 
[2026-08-02 17:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785673231000,"timestamp_ms":1785673231000,"timestamp_seconds":1785673231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26b2a98"} 
[2026-08-02 17:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-02 17:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":147987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":147987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":147987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132346112001,"66":14135,"86":206,"83":41984,"24":37,"16":10322700492865536,"45":1597229785944492032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-02 17:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132346112001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:52:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-02 17:52:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10322700492865536,"km_value":10322700492865.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1597229785944492032,"description":"Unknown IO ID 45"} 
[2026-08-02 17:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132346112001,"power":14135,"unknown_86":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1597229785944492032}} 
[2026-08-02 17:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":147987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:52:17] local.INFO: GPS data processed {"connection_id":147987,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:52:17] local.INFO: Acknowledgment sent {"connection_id":147987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:52:24] local.INFO: TCP Data received {"connection_id":146720,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:52:24] local.INFO: Processing buffer {"connection_id":146720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:52:24] local.INFO: IMEI packet received {"connection_id":146720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":146720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:52:29] local.INFO: TCP Data received {"connection_id":146720,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:52:29] local.INFO: Processing buffer {"connection_id":146720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:52:29] local.INFO: IMEI packet received {"connection_id":146720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":146720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:52:30] local.INFO: TCP Data received {"connection_id":146720,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:52:30] local.INFO: Processing buffer {"connection_id":146720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:52:30] local.INFO: Packet analysis {"connection_id":146720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:52:30] local.INFO: Extracted packet for processing {"connection_id":146720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:52:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132249600001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785673150000,"timestamp_ms":1785673150000,"timestamp_seconds":1785673150,"priority":1,"record_length":96,"hex_timestamp":"0000019fc269ee30"} 
[2026-08-02 17:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132249600001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132249600001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:52:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:52:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132249600001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":146720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:52:30] local.INFO: GPS data processed {"connection_id":146720,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:52:30] local.INFO: Acknowledgment sent {"connection_id":146720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:52:48] local.INFO: TCP Data received {"connection_id":147987,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26b51a8012d15f800071fdcd0002501082a..."} 
[2026-08-02 17:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26b51a8012d15f800071fdcd0002501082a..."} 
[2026-08-02 17:52:48] local.INFO: Processing buffer {"connection_id":147987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26b51a8012d15f800071fdcd0002501082a..."} 
[2026-08-02 17:52:48] local.INFO: Packet analysis {"connection_id":147987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26b"} 
[2026-08-02 17:52:48] local.INFO: Extracted packet for processing {"connection_id":147987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26b"} 
[2026-08-02 17:52:48] local.INFO: GPS Element Parsed {"raw_longitude":756414464,"raw_latitude":119528656,"longitude_deg":75.6414464,"latitude_deg":11.9528656,"altitude":37,"angle":264,"satellites":42,"speed":34,"hex_longitude":"2d15f800","hex_latitude":"071fdcd0","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132347136001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10323142874497024,"note":"Value kept but may cause issues"} 
[2026-08-02 17:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1593218767526092800,"note":"Value kept but may cause issues"} 
[2026-08-02 17:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785673241000,"timestamp_ms":1785673241000,"timestamp_seconds":1785673241,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26b51a8"} 
[2026-08-02 17:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-02 17:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132347136001,"66":14135,"86":206,"83":41984,"24":34,"16":10323142874497024,"45":1593218767526092800},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-02 17:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132347136001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:52:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-02 17:52:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10323142874497024,"km_value":10323142874497.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1593218767526092800,"description":"Unknown IO ID 45"} 
[2026-08-02 17:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132347136001,"power":14135,"unknown_86":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1593218767526092800}} 
[2026-08-02 17:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":147987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:52:48] local.INFO: GPS data processed {"connection_id":147987,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:52:48] local.INFO: Acknowledgment sent {"connection_id":147987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:53:02] local.INFO: TCP Data received {"connection_id":146720,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:53:02] local.INFO: Processing buffer {"connection_id":146720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:53:02] local.INFO: Packet analysis {"connection_id":146720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:53:02] local.INFO: Extracted packet for processing {"connection_id":146720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:53:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132249600001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:53:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785673150000,"timestamp_ms":1785673150000,"timestamp_seconds":1785673150,"priority":1,"record_length":96,"hex_timestamp":"0000019fc269ee30"} 
[2026-08-02 17:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132249600001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132249600001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:53:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:53:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:53:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132249600001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":146720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:53:02] local.INFO: GPS data processed {"connection_id":146720,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:53:02] local.INFO: Acknowledgment sent {"connection_id":146720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:53:23] local.INFO: TCP Data received {"connection_id":147988,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:53:23] local.INFO: Processing buffer {"connection_id":147988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:53:23] local.INFO: IMEI packet received {"connection_id":147988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":147988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:53:28] local.INFO: TCP Data received {"connection_id":147988,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:53:28] local.INFO: Processing buffer {"connection_id":147988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:53:28] local.INFO: IMEI packet received {"connection_id":147988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":147988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:53:29] local.INFO: TCP Data received {"connection_id":146721,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:53:29] local.INFO: Processing buffer {"connection_id":146721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:53:29] local.INFO: IMEI packet received {"connection_id":146721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":146721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:53:30] local.INFO: TCP Data received {"connection_id":146721,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:53:30] local.INFO: Processing buffer {"connection_id":146721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:53:30] local.INFO: IMEI packet received {"connection_id":146721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":146721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:53:30] local.INFO: TCP Data received {"connection_id":147988,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:53:30] local.INFO: Processing buffer {"connection_id":147988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:53:30] local.INFO: Packet analysis {"connection_id":147988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:53:30] local.INFO: Extracted packet for processing {"connection_id":147988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132249600001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785673150000,"timestamp_ms":1785673150000,"timestamp_seconds":1785673150,"priority":1,"record_length":96,"hex_timestamp":"0000019fc269ee30"} 
[2026-08-02 17:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132249600001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132249600001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:53:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:53:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132249600001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":147988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:53:30] local.INFO: GPS data processed {"connection_id":147988,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:53:30] local.INFO: Acknowledgment sent {"connection_id":147988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:53:34] local.INFO: TCP Data received {"connection_id":146721,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:53:34] local.INFO: Processing buffer {"connection_id":146721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:53:34] local.INFO: IMEI packet received {"connection_id":146721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":146721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:53:34] local.INFO: TCP Data received {"connection_id":146721,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26b7ca0012d15d500071fd850002301032b..."} 
[2026-08-02 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26b7ca0012d15d500071fd850002301032b..."} 
[2026-08-02 17:53:34] local.INFO: Processing buffer {"connection_id":146721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26b7ca0012d15d500071fd850002301032b..."} 
[2026-08-02 17:53:34] local.INFO: Packet analysis {"connection_id":146721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26b"} 
[2026-08-02 17:53:34] local.INFO: Extracted packet for processing {"connection_id":146721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26b"} 
[2026-08-02 17:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756405504,"raw_latitude":119527504,"longitude_deg":75.6405504,"latitude_deg":11.9527504,"altitude":35,"angle":259,"satellites":43,"speed":25,"hex_longitude":"2d15d500","hex_latitude":"071fd850","is_valid_coordinates":true} 
[2026-08-02 17:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132349696001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10323572371226624,"note":"Value kept but may cause issues"} 
[2026-08-02 17:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1583015299620065280,"note":"Value kept but may cause issues"} 
[2026-08-02 17:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785673252000,"timestamp_ms":1785673252000,"timestamp_seconds":1785673252,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26b7ca0"} 
[2026-08-02 17:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-02 17:53: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-08-02 17:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132349696001,"66":14048,"86":206,"83":41984,"24":25,"16":10323572371226624,"45":1583015299620065280},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-02 17:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132349696001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:53:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-02 17:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10323572371226624,"km_value":10323572371226.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1583015299620065280,"description":"Unknown IO ID 45"} 
[2026-08-02 17:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132349696001,"power":14048,"unknown_86":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1583015299620065280}} 
[2026-08-02 17:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":146721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:53:34] local.INFO: GPS data processed {"connection_id":146721,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:53:34] local.INFO: Acknowledgment sent {"connection_id":146721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:53:40] local.INFO: TCP Data received {"connection_id":146721,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26bcea8012d15c180071fd3a00023010129..."} 
[2026-08-02 17:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26bcea8012d15c180071fd3a00023010129..."} 
[2026-08-02 17:53:40] local.INFO: Processing buffer {"connection_id":146721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26bcea8012d15c180071fd3a00023010129..."} 
[2026-08-02 17:53:40] local.INFO: Packet analysis {"connection_id":146721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26b"} 
[2026-08-02 17:53:40] local.INFO: Extracted packet for processing {"connection_id":146721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26b"} 
[2026-08-02 17:53:40] local.INFO: GPS Element Parsed {"raw_longitude":756400512,"raw_latitude":119526304,"longitude_deg":75.6400512,"latitude_deg":11.9526304,"altitude":35,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d15c180","hex_latitude":"071fd3a0","is_valid_coordinates":true} 
[2026-08-02 17:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132352512001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10323817184362496,"note":"Value kept but may cause issues"} 
[2026-08-02 17:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1573163675434897408,"note":"Value kept but may cause issues"} 
[2026-08-02 17:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785673273000,"timestamp_ms":1785673273000,"timestamp_seconds":1785673273,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26bcea8"} 
[2026-08-02 17:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-02 17:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132352512001,"66":14102,"87":206,"83":41984,"24":0,"16":10323817184362496,"45":1573163675434897408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-02 17:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132352512001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:53:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 17:53:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10323817184362496,"km_value":10323817184362.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1573163675434897408,"description":"Unknown IO ID 45"} 
[2026-08-02 17:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132352512001,"power":14102,"unknown_87":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1573163675434897408}} 
[2026-08-02 17:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":146721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:53:40] local.INFO: GPS data processed {"connection_id":146721,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:53:40] local.INFO: Acknowledgment sent {"connection_id":146721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:54:01] local.INFO: TCP Data received {"connection_id":147988,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:54:01] local.INFO: Processing buffer {"connection_id":147988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:54:01] local.INFO: Packet analysis {"connection_id":147988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:54:01] local.INFO: Extracted packet for processing {"connection_id":147988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:54:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132249600001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:54:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785673150000,"timestamp_ms":1785673150000,"timestamp_seconds":1785673150,"priority":1,"record_length":96,"hex_timestamp":"0000019fc269ee30"} 
[2026-08-02 17:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132249600001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132249600001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:54:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:54:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:54:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132249600001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":147988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:54:01] local.INFO: GPS data processed {"connection_id":147988,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:54:01] local.INFO: Acknowledgment sent {"connection_id":147988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:54:11] local.INFO: TCP Data received {"connection_id":146721,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26c20b0012d15c5c0071fd428002301012c..."} 
[2026-08-02 17:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26c20b0012d15c5c0071fd428002301012c..."} 
[2026-08-02 17:54:11] local.INFO: Processing buffer {"connection_id":146721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26c20b0012d15c5c0071fd428002301012c..."} 
[2026-08-02 17:54:11] local.INFO: Packet analysis {"connection_id":146721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26c"} 
[2026-08-02 17:54:11] local.INFO: Extracted packet for processing {"connection_id":146721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26c"} 
[2026-08-02 17:54:11] local.INFO: GPS Element Parsed {"raw_longitude":756401600,"raw_latitude":119526440,"longitude_deg":75.64016,"latitude_deg":11.952644,"altitude":35,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d15c5c0","hex_latitude":"071fd428","is_valid_coordinates":true} 
[2026-08-02 17:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132357888001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10323868723970048,"note":"Value kept but may cause issues"} 
[2026-08-02 17:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1567674913388732416,"note":"Value kept but may cause issues"} 
[2026-08-02 17:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785673294000,"timestamp_ms":1785673294000,"timestamp_seconds":1785673294,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26c20b0"} 
[2026-08-02 17:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-02 17:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132357888001,"66":14004,"87":206,"83":41984,"24":0,"16":10323868723970048,"45":1567674913388732416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-02 17:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132357888001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:54:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 17:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10323868723970048,"km_value":10323868723970.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1567674913388732416,"description":"Unknown IO ID 45"} 
[2026-08-02 17:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132357888001,"power":14004,"unknown_87":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1567674913388732416}} 
[2026-08-02 17:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":146721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:54:11] local.INFO: GPS data processed {"connection_id":146721,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:54:11] local.INFO: Acknowledgment sent {"connection_id":146721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:54:23] local.INFO: TCP Data received {"connection_id":149291,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:54:23] local.INFO: Processing buffer {"connection_id":149291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:54:23] local.INFO: IMEI packet received {"connection_id":149291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":149291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:54:29] local.INFO: TCP Data received {"connection_id":149291,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:54:29] local.INFO: Processing buffer {"connection_id":149291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:54:29] local.INFO: IMEI packet received {"connection_id":149291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":149291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:54:29] local.INFO: TCP Data received {"connection_id":146722,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:54:29] local.INFO: Processing buffer {"connection_id":146722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:54:29] local.INFO: IMEI packet received {"connection_id":146722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":146722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:54:32] local.INFO: TCP Data received {"connection_id":149291,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:54:32] local.INFO: Processing buffer {"connection_id":149291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc269ee30012cc330c007685958005800c52b..."} 
[2026-08-02 17:54:32] local.INFO: Packet analysis {"connection_id":149291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:54:32] local.INFO: Extracted packet for processing {"connection_id":149291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc269"} 
[2026-08-02 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132249600001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:54:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785673150000,"timestamp_ms":1785673150000,"timestamp_seconds":1785673150,"priority":1,"record_length":96,"hex_timestamp":"0000019fc269ee30"} 
[2026-08-02 17:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 17:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132249600001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132249600001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:54:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:54:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:54:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132249600001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":149291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:54:32] local.INFO: GPS data processed {"connection_id":149291,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:54:32] local.INFO: Acknowledgment sent {"connection_id":149291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:54:34] local.INFO: TCP Data received {"connection_id":146722,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:54:34] local.INFO: Processing buffer {"connection_id":146722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:54:34] local.INFO: IMEI packet received {"connection_id":146722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":146722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:54:35] local.INFO: TCP Data received {"connection_id":146722,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26c72b8012d15c740071fd498002101012b..."} 
[2026-08-02 17:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26c72b8012d15c740071fd498002101012b..."} 
[2026-08-02 17:54:35] local.INFO: Processing buffer {"connection_id":146722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26c72b8012d15c740071fd498002101012b..."} 
[2026-08-02 17:54:35] local.INFO: Packet analysis {"connection_id":146722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26c"} 
[2026-08-02 17:54:35] local.INFO: Extracted packet for processing {"connection_id":146722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26c"} 
[2026-08-02 17:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756401984,"raw_latitude":119526552,"longitude_deg":75.6401984,"latitude_deg":11.9526552,"altitude":33,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d15c740","hex_latitude":"071fd498","is_valid_coordinates":true} 
[2026-08-02 17:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132363264001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10323890198806528,"note":"Value kept but may cause issues"} 
[2026-08-02 17:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1568871182039787520,"note":"Value kept but may cause issues"} 
[2026-08-02 17:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785673315000,"timestamp_ms":1785673315000,"timestamp_seconds":1785673315,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26c72b8"} 
[2026-08-02 17:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:54: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-08-02 17:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-02 17:54: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-08-02 17:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132363264001,"66":14396,"87":206,"83":41984,"24":0,"16":10323890198806528,"45":1568871182039787520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-02 17:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132363264001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:54:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 17:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10323890198806528,"km_value":10323890198806.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1568871182039787520,"description":"Unknown IO ID 45"} 
[2026-08-02 17:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132363264001,"power":14396,"unknown_87":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1568871182039787520}} 
[2026-08-02 17:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":146722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:54:35] local.INFO: GPS data processed {"connection_id":146722,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:54:35] local.INFO: Acknowledgment sent {"connection_id":146722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:55:03] local.INFO: TCP Data received {"connection_id":149291,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:55:03] local.INFO: Processing buffer {"connection_id":149291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:55:03] local.INFO: Packet analysis {"connection_id":149291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:55:03] local.INFO: Extracted packet for processing {"connection_id":149291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:55:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132326400001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785673451000,"timestamp_ms":1785673451000,"timestamp_seconds":1785673451,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26e85f8"} 
[2026-08-02 17:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132326400001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132326400001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:55:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:55:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:55:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132326400001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":149291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:55:03] local.INFO: GPS data processed {"connection_id":149291,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:55:03] local.INFO: Acknowledgment sent {"connection_id":149291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:55:06] local.INFO: TCP Data received {"connection_id":146722,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26cc4c0012d15c740071fd498002101012c..."} 
[2026-08-02 17:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26cc4c0012d15c740071fd498002101012c..."} 
[2026-08-02 17:55:06] local.INFO: Processing buffer {"connection_id":146722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26cc4c0012d15c740071fd498002101012c..."} 
[2026-08-02 17:55:06] local.INFO: Packet analysis {"connection_id":146722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26c"} 
[2026-08-02 17:55:06] local.INFO: Extracted packet for processing {"connection_id":146722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26c"} 
[2026-08-02 17:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756401984,"raw_latitude":119526552,"longitude_deg":75.6401984,"latitude_deg":11.9526552,"altitude":33,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d15c740","hex_latitude":"071fd498","is_valid_coordinates":true} 
[2026-08-02 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-08-02 17:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132368640001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10323890198806528,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1569293394504882176,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785673336000,"timestamp_ms":1785673336000,"timestamp_seconds":1785673336,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26cc4c0"} 
[2026-08-02 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-08-02 17:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-02 17:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 17:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132368640001,"66":14374,"87":206,"83":41984,"24":0,"16":10323890198806528,"45":1569293394504882176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-02 17:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132368640001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:55:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 17:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10323890198806528,"km_value":10323890198806.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1569293394504882176,"description":"Unknown IO ID 45"} 
[2026-08-02 17:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132368640001,"power":14374,"unknown_87":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1569293394504882176}} 
[2026-08-02 17:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":146722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:55:06] local.INFO: GPS data processed {"connection_id":146722,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:55:06] local.INFO: Acknowledgment sent {"connection_id":146722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:55:28] local.INFO: TCP Data received {"connection_id":146723,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:55:28] local.INFO: Processing buffer {"connection_id":146723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:55:28] local.INFO: IMEI packet received {"connection_id":146723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":146723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:55:29] local.INFO: TCP Data received {"connection_id":146723,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:55:29] local.INFO: Processing buffer {"connection_id":146723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:55:29] local.INFO: IMEI packet received {"connection_id":146723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":146723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:55:32] local.INFO: TCP Data received {"connection_id":147989,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:55:32] local.INFO: Processing buffer {"connection_id":147989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:55:32] local.INFO: IMEI packet received {"connection_id":147989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":147989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:55:34] local.INFO: TCP Data received {"connection_id":146723,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:55:34] local.INFO: Processing buffer {"connection_id":146723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:55:34] local.INFO: IMEI packet received {"connection_id":146723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":146723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:55:35] local.INFO: TCP Data received {"connection_id":146723,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26e7a40012d159200071fd7a8002400f52b..."} 
[2026-08-02 17:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26e7a40012d159200071fd7a8002400f52b..."} 
[2026-08-02 17:55:35] local.INFO: Processing buffer {"connection_id":146723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26e7a40012d159200071fd7a8002400f52b..."} 
[2026-08-02 17:55:35] local.INFO: Packet analysis {"connection_id":146723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:55:35] local.INFO: Extracted packet for processing {"connection_id":146723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:55:35] local.INFO: GPS Element Parsed {"raw_longitude":756388352,"raw_latitude":119527336,"longitude_deg":75.6388352,"latitude_deg":11.9527336,"altitude":36,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d159200","hex_latitude":"071fd7a8","is_valid_coordinates":true} 
[2026-08-02 17:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132397312001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10324633228148736,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1554304851995240448,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785673448000,"timestamp_ms":1785673448000,"timestamp_seconds":1785673448,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26e7a40"} 
[2026-08-02 17:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:55: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-08-02 17: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-08-02 17: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-08-02 17:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132397312001,"66":13080,"87":206,"83":41984,"24":0,"16":10324633228148736,"45":1554304851995240448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-02 17:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132397312001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:55:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 17:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10324633228148736,"km_value":10324633228148.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1554304851995240448,"description":"Unknown IO ID 45"} 
[2026-08-02 17:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132397312001,"power":13080,"unknown_87":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1554304851995240448}} 
[2026-08-02 17:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":146723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:55:35] local.INFO: GPS data processed {"connection_id":146723,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:55:35] local.INFO: Acknowledgment sent {"connection_id":146723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:55:39] local.INFO: TCP Data received {"connection_id":147989,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:55:39] local.INFO: Processing buffer {"connection_id":147989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:55:39] local.INFO: IMEI packet received {"connection_id":147989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":147989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:55:40] local.INFO: TCP Data received {"connection_id":147989,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:55:40] local.INFO: Processing buffer {"connection_id":147989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:55:40] local.INFO: Packet analysis {"connection_id":147989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:55:40] local.INFO: Extracted packet for processing {"connection_id":147989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:55:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132326400001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785673451000,"timestamp_ms":1785673451000,"timestamp_seconds":1785673451,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26e85f8"} 
[2026-08-02 17:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:55: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-08-02 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17: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-08-02 17:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132326400001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132326400001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:55:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:55:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:55:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132326400001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":147989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:55:40] local.INFO: GPS data processed {"connection_id":147989,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:55:40] local.INFO: Acknowledgment sent {"connection_id":147989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:55:41] local.INFO: TCP Data received {"connection_id":147989,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:55:41] local.INFO: Processing buffer {"connection_id":147989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:55:41] local.INFO: Packet analysis {"connection_id":147989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:55:41] local.INFO: Extracted packet for processing {"connection_id":147989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:55:41] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132326400001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785673451000,"timestamp_ms":1785673451000,"timestamp_seconds":1785673451,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26e85f8"} 
[2026-08-02 17:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:55: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-08-02 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132326400001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132326400001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:55:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:55:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132326400001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":147989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:55:41] local.INFO: GPS data processed {"connection_id":147989,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:55:41] local.INFO: Acknowledgment sent {"connection_id":147989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:56:06] local.INFO: TCP Data received {"connection_id":146723,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26ecc48012d159200071fd7a8002400f52a..."} 
[2026-08-02 17:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26ecc48012d159200071fd7a8002400f52a..."} 
[2026-08-02 17:56:06] local.INFO: Processing buffer {"connection_id":146723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26ecc48012d159200071fd7a8002400f52a..."} 
[2026-08-02 17:56:06] local.INFO: Packet analysis {"connection_id":146723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:56:06] local.INFO: Extracted packet for processing {"connection_id":146723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756388352,"raw_latitude":119527336,"longitude_deg":75.6388352,"latitude_deg":11.9527336,"altitude":36,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d159200","hex_latitude":"071fd7a8","is_valid_coordinates":true} 
[2026-08-02 17:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132402688001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10324633228148736,"note":"Value kept but may cause issues"} 
[2026-08-02 17:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1554304851995240448,"note":"Value kept but may cause issues"} 
[2026-08-02 17:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785673469000,"timestamp_ms":1785673469000,"timestamp_seconds":1785673469,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26ecc48"} 
[2026-08-02 17:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 17:56: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-08-02 17:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132402688001,"66":12526,"87":206,"83":41984,"24":0,"16":10324633228148736,"45":1554304851995240448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-02 17:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132402688001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:56:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 17:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10324633228148736,"km_value":10324633228148.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1554304851995240448,"description":"Unknown IO ID 45"} 
[2026-08-02 17:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132402688001,"power":12526,"unknown_87":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1554304851995240448}} 
[2026-08-02 17:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":146723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:56:06] local.INFO: GPS data processed {"connection_id":146723,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:56:06] local.INFO: Acknowledgment sent {"connection_id":146723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:56:24] local.INFO: TCP Data received {"connection_id":146952,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:56:24] local.INFO: Processing buffer {"connection_id":146952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:56:24] local.INFO: IMEI packet received {"connection_id":146952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":146952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:56:29] local.INFO: TCP Data received {"connection_id":146952,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:56:29] local.INFO: Processing buffer {"connection_id":146952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:56:29] local.INFO: IMEI packet received {"connection_id":146952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":146952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:56:29] local.INFO: TCP Data received {"connection_id":146953,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:56:29] local.INFO: Processing buffer {"connection_id":146953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:56:29] local.INFO: IMEI packet received {"connection_id":146953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":146953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:56:30] local.INFO: TCP Data received {"connection_id":146952,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:56:30] local.INFO: Processing buffer {"connection_id":146952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:56:30] local.INFO: Packet analysis {"connection_id":146952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:56:30] local.INFO: Extracted packet for processing {"connection_id":146952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:56:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132326400001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785673451000,"timestamp_ms":1785673451000,"timestamp_seconds":1785673451,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26e85f8"} 
[2026-08-02 17:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132326400001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132326400001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:56:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:56:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132326400001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":146952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:56:30] local.INFO: GPS data processed {"connection_id":146952,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:56:30] local.INFO: Acknowledgment sent {"connection_id":146952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:56:34] local.INFO: TCP Data received {"connection_id":146953,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:56:34] local.INFO: Processing buffer {"connection_id":146953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:56:34] local.INFO: IMEI packet received {"connection_id":146953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":146953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:56:34] local.INFO: TCP Data received {"connection_id":146953,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26f1e50012d159200071fd7a8002400f529..."} 
[2026-08-02 17:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26f1e50012d159200071fd7a8002400f529..."} 
[2026-08-02 17:56:34] local.INFO: Processing buffer {"connection_id":146953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26f1e50012d159200071fd7a8002400f529..."} 
[2026-08-02 17:56:34] local.INFO: Packet analysis {"connection_id":146953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26f"} 
[2026-08-02 17:56:34] local.INFO: Extracted packet for processing {"connection_id":146953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26f"} 
[2026-08-02 17:56:34] local.INFO: GPS Element Parsed {"raw_longitude":756388352,"raw_latitude":119527336,"longitude_deg":75.6388352,"latitude_deg":11.9527336,"altitude":36,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d159200","hex_latitude":"071fd7a8","is_valid_coordinates":true} 
[2026-08-02 17:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132408064001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10324633228148736,"note":"Value kept but may cause issues"} 
[2026-08-02 17:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1554304851995240448,"note":"Value kept but may cause issues"} 
[2026-08-02 17:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785673490000,"timestamp_ms":1785673490000,"timestamp_seconds":1785673490,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26f1e50"} 
[2026-08-02 17:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-02 17:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132408064001,"66":13156,"87":206,"83":41984,"24":0,"16":10324633228148736,"45":1554304851995240448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-02 17:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132408064001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:56:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 17:56:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10324633228148736,"km_value":10324633228148.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1554304851995240448,"description":"Unknown IO ID 45"} 
[2026-08-02 17:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132408064001,"power":13156,"unknown_87":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1554304851995240448}} 
[2026-08-02 17:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":146953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:56:35] local.INFO: GPS data processed {"connection_id":146953,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:56:35] local.INFO: Acknowledgment sent {"connection_id":146953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:57:02] local.INFO: TCP Data received {"connection_id":146952,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:57:02] local.INFO: Processing buffer {"connection_id":146952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:57:02] local.INFO: Packet analysis {"connection_id":146952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:57:02] local.INFO: Extracted packet for processing {"connection_id":146952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:57:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132326400001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:57:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785673451000,"timestamp_ms":1785673451000,"timestamp_seconds":1785673451,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26e85f8"} 
[2026-08-02 17:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132326400001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132326400001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:57:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:57:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:57:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132326400001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":146952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:57:02] local.INFO: GPS data processed {"connection_id":146952,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:57:02] local.INFO: Acknowledgment sent {"connection_id":146952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:57:06] local.INFO: TCP Data received {"connection_id":146953,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26f7058012d159200071fd7a8002400f529..."} 
[2026-08-02 17:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26f7058012d159200071fd7a8002400f529..."} 
[2026-08-02 17:57:06] local.INFO: Processing buffer {"connection_id":146953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26f7058012d159200071fd7a8002400f529..."} 
[2026-08-02 17:57:06] local.INFO: Packet analysis {"connection_id":146953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26f"} 
[2026-08-02 17:57:06] local.INFO: Extracted packet for processing {"connection_id":146953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26f"} 
[2026-08-02 17:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756388352,"raw_latitude":119527336,"longitude_deg":75.6388352,"latitude_deg":11.9527336,"altitude":36,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d159200","hex_latitude":"071fd7a8","is_valid_coordinates":true} 
[2026-08-02 17:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132413440001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10324633228148736,"note":"Value kept but may cause issues"} 
[2026-08-02 17:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1554304851995240448,"note":"Value kept but may cause issues"} 
[2026-08-02 17:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785673511000,"timestamp_ms":1785673511000,"timestamp_seconds":1785673511,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26f7058"} 
[2026-08-02 17:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-02 17:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132413440001,"66":14189,"87":206,"83":41984,"24":0,"16":10324633228148736,"45":1554304851995240448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-02 17:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132413440001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:57:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 17:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10324633228148736,"km_value":10324633228148.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1554304851995240448,"description":"Unknown IO ID 45"} 
[2026-08-02 17:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132413440001,"power":14189,"unknown_87":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1554304851995240448}} 
[2026-08-02 17:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":146953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:57:06] local.INFO: GPS data processed {"connection_id":146953,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:57:06] local.INFO: Acknowledgment sent {"connection_id":146953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:57:29] local.INFO: TCP Data received {"connection_id":146724,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:57:29] local.INFO: Processing buffer {"connection_id":146724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:57:29] local.INFO: IMEI packet received {"connection_id":146724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":146724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:57:33] local.INFO: TCP Data received {"connection_id":146724,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:57:33] local.INFO: Processing buffer {"connection_id":146724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:57:33] local.INFO: IMEI packet received {"connection_id":146724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":146724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:57:34] local.INFO: TCP Data received {"connection_id":149292,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:57:34] local.INFO: Processing buffer {"connection_id":149292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:57:34] local.INFO: IMEI packet received {"connection_id":149292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":149292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:57:34] local.INFO: TCP Data received {"connection_id":146724,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2709550012d15c800071fd5900021003a2b..."} 
[2026-08-02 17:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2709550012d15c800071fd5900021003a2b..."} 
[2026-08-02 17:57:34] local.INFO: Processing buffer {"connection_id":146724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2709550012d15c800071fd5900021003a2b..."} 
[2026-08-02 17:57:34] local.INFO: Packet analysis {"connection_id":146724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc270"} 
[2026-08-02 17:57:34] local.INFO: Extracted packet for processing {"connection_id":146724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc270"} 
[2026-08-02 17:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756402176,"raw_latitude":119526800,"longitude_deg":75.6402176,"latitude_deg":11.95268,"altitude":33,"angle":58,"satellites":43,"speed":1,"hex_longitude":"2d15c800","hex_latitude":"071fd590","is_valid_coordinates":true} 
[2026-08-02 17:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132435968001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10325346192719872,"note":"Value kept but may cause issues"} 
[2026-08-02 17:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1569434131993276416,"note":"Value kept but may cause issues"} 
[2026-08-02 17:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785673586000,"timestamp_ms":1785673586000,"timestamp_seconds":1785673586,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2709550"} 
[2026-08-02 17:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-02 17:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132435968001,"66":14352,"87":206,"83":41984,"24":1,"16":10325346192719872,"45":1569434131993276416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-02 17:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132435968001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:57:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 17:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10325346192719872,"km_value":10325346192719.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1569434131993276416,"description":"Unknown IO ID 45"} 
[2026-08-02 17:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132435968001,"power":14352,"unknown_87":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1569434131993276416}} 
[2026-08-02 17:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":146724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:57:34] local.INFO: GPS data processed {"connection_id":146724,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:57:34] local.INFO: Acknowledgment sent {"connection_id":146724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:57:41] local.INFO: TCP Data received {"connection_id":149292,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:57:41] local.INFO: Processing buffer {"connection_id":149292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:57:41] local.INFO: IMEI packet received {"connection_id":149292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":149292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:57:42] local.INFO: TCP Data received {"connection_id":149292,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:57:42] local.INFO: Processing buffer {"connection_id":149292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:57:42] local.INFO: Packet analysis {"connection_id":149292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:57:42] local.INFO: Extracted packet for processing {"connection_id":149292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:57:42] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17: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-08-02 17:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132326400001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785673451000,"timestamp_ms":1785673451000,"timestamp_seconds":1785673451,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26e85f8"} 
[2026-08-02 17:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:57: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-08-02 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:57: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-08-02 17: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-08-02 17:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132326400001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132326400001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:57:42] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:57:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132326400001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":149292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:57:42] local.INFO: GPS data processed {"connection_id":149292,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:57:42] local.INFO: Acknowledgment sent {"connection_id":149292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:58:11] local.INFO: TCP Data received {"connection_id":146724,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc270a8d8012d15cc00071fd6e0002100462b..."} 
[2026-08-02 17:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc270a8d8012d15cc00071fd6e0002100462b..."} 
[2026-08-02 17:58:11] local.INFO: Processing buffer {"connection_id":146724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc270a8d8012d15cc00071fd6e0002100462b..."} 
[2026-08-02 17:58:11] local.INFO: Packet analysis {"connection_id":146724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc270"} 
[2026-08-02 17:58:11] local.INFO: Extracted packet for processing {"connection_id":146724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc270"} 
[2026-08-02 17:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756403200,"raw_latitude":119527136,"longitude_deg":75.64032,"latitude_deg":11.9527136,"altitude":33,"angle":70,"satellites":43,"speed":16,"hex_longitude":"2d15cc00","hex_latitude":"071fd6e0","is_valid_coordinates":true} 
[2026-08-02 17:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132438016001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10325393437360128,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1569504500737478656,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785673591000,"timestamp_ms":1785673591000,"timestamp_seconds":1785673591,"priority":1,"record_length":96,"hex_timestamp":"0000019fc270a8d8"} 
[2026-08-02 17:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":16,"data_length":795,"current_offset":136} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141248,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3262111160,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2924675072,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503757170540544,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3666870309,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637916105173591,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5188410657820967168,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1784086734,"corrected_to":0} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2684431637,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2147950555,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951466,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84747712717070299,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":232,"raw_value":10414909867167232,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.WARNING: Large IO value detected {"io_id":21,"raw_value":-7872284315275493339,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:11] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,87,83,24,241,157,16,174,159,118,45,192,213,34,39,10,66,36,64,210,37,42,32,1,240,92,227,194,31,4,113,205,12,225,155,168,43,239,54,2,7,15,206,208,232,21],"length":628,"final_offset":758,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1784086734,"validated":0}]} 
[2026-08-02 17:58:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2377964559609692160,"timestamp_seconds":2377964559609692.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 17:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132438016001,"66":14374,"87":206,"83":41984,"24":16,"16":10325393437360128,"45":1569504500737478656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-02 17:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132438016001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:58:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 17:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10325393437360128,"km_value":10325393437360.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1569504500737478656,"description":"Unknown IO ID 45"} 
[2026-08-02 17:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132438016001,"power":14374,"unknown_87":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1569504500737478656}} 
[2026-08-02 17:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":146724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:58:11] local.INFO: GPS data processed {"connection_id":146724,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:58:11] local.INFO: Acknowledgment sent {"connection_id":146724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:58:23] local.INFO: TCP Data received {"connection_id":146954,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:58:23] local.INFO: Processing buffer {"connection_id":146954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:58:23] local.INFO: IMEI packet received {"connection_id":146954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":146954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:58:29] local.INFO: TCP Data received {"connection_id":146954,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:58:29] local.INFO: Processing buffer {"connection_id":146954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:58:29] local.INFO: IMEI packet received {"connection_id":146954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":146954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:58:29] local.INFO: TCP Data received {"connection_id":146955,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:58:29] local.INFO: Processing buffer {"connection_id":146955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:58:29] local.INFO: IMEI packet received {"connection_id":146955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":146955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:58:30] local.INFO: TCP Data received {"connection_id":146955,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:58:30] local.INFO: Processing buffer {"connection_id":146955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:58:30] local.INFO: IMEI packet received {"connection_id":146955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":146955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:58:30] local.INFO: TCP Data received {"connection_id":146954,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:58:30] local.INFO: Processing buffer {"connection_id":146954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:58:30] local.INFO: Packet analysis {"connection_id":146954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:58:30] local.INFO: Extracted packet for processing {"connection_id":146954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132326400001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785673451000,"timestamp_ms":1785673451000,"timestamp_seconds":1785673451,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26e85f8"} 
[2026-08-02 17:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132326400001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132326400001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:58:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:58:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132326400001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":146954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:58:30] local.INFO: GPS data processed {"connection_id":146954,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:58:30] local.INFO: Acknowledgment sent {"connection_id":146954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:58:34] local.INFO: TCP Data received {"connection_id":146955,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:58:34] local.INFO: Processing buffer {"connection_id":146955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:58:34] local.INFO: IMEI packet received {"connection_id":146955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":146955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:58:34] local.INFO: TCP Data received {"connection_id":146955,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc270cc00012d15e1c0071fdb88002200522b..."} 
[2026-08-02 17:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc270cc00012d15e1c0071fdb88002200522b..."} 
[2026-08-02 17:58:34] local.INFO: Processing buffer {"connection_id":146955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc270cc00012d15e1c0071fdb88002200522b..."} 
[2026-08-02 17:58:34] local.INFO: Packet analysis {"connection_id":146955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc270"} 
[2026-08-02 17:58:34] local.INFO: Extracted packet for processing {"connection_id":146955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc270"} 
[2026-08-02 17:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756408768,"raw_latitude":119528328,"longitude_deg":75.6408768,"latitude_deg":11.9528328,"altitude":34,"angle":82,"satellites":43,"speed":26,"hex_longitude":"2d15e1c0","hex_latitude":"071fdb88","is_valid_coordinates":true} 
[2026-08-02 17:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132439296001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10325664020299776,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1570630400644407296,"note":"Value kept but may cause issues"} 
[2026-08-02 17:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785673600000,"timestamp_ms":1785673600000,"timestamp_seconds":1785673600,"priority":1,"record_length":96,"hex_timestamp":"0000019fc270cc00"} 
[2026-08-02 17:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-02 17:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132439296001,"66":14341,"87":206,"83":41984,"24":26,"16":10325664020299776,"45":1570630400644407296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-02 17:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132439296001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:58:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 17:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10325664020299776,"km_value":10325664020299.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1570630400644407296,"description":"Unknown IO ID 45"} 
[2026-08-02 17:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132439296001,"power":14341,"unknown_87":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1570630400644407296}} 
[2026-08-02 17:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":146955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:58:34] local.INFO: GPS data processed {"connection_id":146955,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:58:34] local.INFO: Acknowledgment sent {"connection_id":146955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:59:05] local.INFO: TCP Data received {"connection_id":146954,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:59:05] local.INFO: Processing buffer {"connection_id":146954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:59:05] local.INFO: Packet analysis {"connection_id":146954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:59:05] local.INFO: Extracted packet for processing {"connection_id":146954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:59:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132326400001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785673451000,"timestamp_ms":1785673451000,"timestamp_seconds":1785673451,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26e85f8"} 
[2026-08-02 17:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17: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-08-02 17:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132326400001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132326400001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:59:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:59:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:59:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132326400001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":146954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:59:05] local.INFO: GPS data processed {"connection_id":146954,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:59:05] local.INFO: Acknowledgment sent {"connection_id":146954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:59:05] local.INFO: TCP Data received {"connection_id":146955,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2710698012d160540071fdf90002300532a..."} 
[2026-08-02 17:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2710698012d160540071fdf90002300532a..."} 
[2026-08-02 17:59:05] local.INFO: Processing buffer {"connection_id":146955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2710698012d160540071fdf90002300532a..."} 
[2026-08-02 17:59:05] local.INFO: Packet analysis {"connection_id":146955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc271"} 
[2026-08-02 17:59:05] local.INFO: Extracted packet for processing {"connection_id":146955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc271"} 
[2026-08-02 17:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756417856,"raw_latitude":119529360,"longitude_deg":75.6417856,"latitude_deg":11.952936,"altitude":35,"angle":83,"satellites":42,"speed":26,"hex_longitude":"2d160540","hex_latitude":"071fdf90","is_valid_coordinates":true} 
[2026-08-02 17:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132441600001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10326097811996672,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1576752481388169216,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785673615000,"timestamp_ms":1785673615000,"timestamp_seconds":1785673615,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2710698"} 
[2026-08-02 17:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6975287265,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3262114160,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":168,"raw_value":10415025831284224,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503757171392512,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3537895461,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1784086734,"corrected_to":0} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2928345088,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84747725601972187,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:05] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,87,83,24,241,157,16,175,159,168,45,214,33,43,10,66,174,149,213,118,192,1,240,60,227,194,31,4,113,205,13,32,173,216,42,239,56,2,36,7,37,12,206,160],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1784086734,"validated":0}]} 
[2026-08-02 17:59:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2450048541928325120,"timestamp_seconds":2450048541928325.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 17:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132441600001,"66":14407,"87":206,"83":41984,"24":26,"16":10326097811996672,"45":1576752481388169216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-02 17:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132441600001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:59:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 17:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10326097811996672,"km_value":10326097811996.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1576752481388169216,"description":"Unknown IO ID 45"} 
[2026-08-02 17:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132441600001,"power":14407,"unknown_87":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1576752481388169216}} 
[2026-08-02 17:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":146955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:59:05] local.INFO: GPS data processed {"connection_id":146955,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:59:05] local.INFO: Acknowledgment sent {"connection_id":146955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:59:23] local.INFO: TCP Data received {"connection_id":146725,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:59:23] local.INFO: Processing buffer {"connection_id":146725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:59:23] local.INFO: IMEI packet received {"connection_id":146725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 17:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":146725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:59:29] local.INFO: TCP Data received {"connection_id":146725,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:59:29] local.INFO: Processing buffer {"connection_id":146725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 17:59:29] local.INFO: IMEI packet received {"connection_id":146725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 17:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":146725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:59:30] local.INFO: TCP Data received {"connection_id":146725,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:59:30] local.INFO: Processing buffer {"connection_id":146725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc26e85f8012cc330c007685958005800c52b..."} 
[2026-08-02 17:59:30] local.INFO: Packet analysis {"connection_id":146725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:59:30] local.INFO: Extracted packet for processing {"connection_id":146725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc26e"} 
[2026-08-02 17:59:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 17:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132326400001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785673451000,"timestamp_ms":1785673451000,"timestamp_seconds":1785673451,"priority":1,"record_length":96,"hex_timestamp":"0000019fc26e85f8"} 
[2026-08-02 17:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 17:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 17:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 17:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 17:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 17:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132326400001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 17:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 17:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 17:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132326400001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:59:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 17:59:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 17:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 17:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132326400001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 17:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":146725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:59:30] local.INFO: GPS data processed {"connection_id":146725,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:59:30] local.INFO: Acknowledgment sent {"connection_id":146725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:59:33] local.INFO: TCP Data received {"connection_id":147990,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:59:33] local.INFO: Processing buffer {"connection_id":147990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:59:33] local.INFO: IMEI packet received {"connection_id":147990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 17:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":147990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 17:59:34] local.INFO: TCP Data received {"connection_id":147990,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:59:34] local.INFO: Processing buffer {"connection_id":147990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:59:34] local.INFO: IMEI packet received {"connection_id":147990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":147990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:59:39] local.INFO: TCP Data received {"connection_id":147990,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:59:39] local.INFO: Processing buffer {"connection_id":147990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 17:59:39] local.INFO: IMEI packet received {"connection_id":147990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 17:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":147990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 17:59:40] local.INFO: TCP Data received {"connection_id":147990,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2713960012d162700071fe518002500482a..."} 
[2026-08-02 17:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2713960012d162700071fe518002500482a..."} 
[2026-08-02 17:59:40] local.INFO: Processing buffer {"connection_id":147990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2713960012d162700071fe518002500482a..."} 
[2026-08-02 17:59:40] local.INFO: Packet analysis {"connection_id":147990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc271"} 
[2026-08-02 17:59:40] local.INFO: Extracted packet for processing {"connection_id":147990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc271"} 
[2026-08-02 17:59:40] local.INFO: GPS Element Parsed {"raw_longitude":756426496,"raw_latitude":119530776,"longitude_deg":75.6426496,"latitude_deg":11.9530776,"altitude":37,"angle":72,"satellites":42,"speed":27,"hex_longitude":"2d162700","hex_latitude":"071fe518","is_valid_coordinates":true} 
[2026-08-02 17:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132445440001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10326514423824384,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1586744843061661696,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785673628000,"timestamp_ms":1785673628000,"timestamp_seconds":1785673628,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2713960"} 
[2026-08-02 17:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 17:59: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-08-02 17:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132445440001,"66":14396,"85":206,"83":41984,"24":27,"16":10326514423824384,"45":1586744843061661696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-02 17:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132445440001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-02 17:59:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10326514423824384,"km_value":10326514423824.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1586744843061661696,"description":"Unknown IO ID 45"} 
[2026-08-02 17:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132445440001,"power":14396,"unknown_85":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1586744843061661696}} 
[2026-08-02 17:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":147990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:59:40] local.INFO: GPS data processed {"connection_id":147990,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:59:40] local.INFO: Acknowledgment sent {"connection_id":147990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 17:59:43] local.INFO: TCP Data received {"connection_id":147990,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2716c28012d164880071ff538002900402b..."} 
[2026-08-02 17:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2716c28012d164880071ff538002900402b..."} 
[2026-08-02 17:59:43] local.INFO: Processing buffer {"connection_id":147990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2716c28012d164880071ff538002900402b..."} 
[2026-08-02 17:59:43] local.INFO: Packet analysis {"connection_id":147990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc271"} 
[2026-08-02 17:59:43] local.INFO: Extracted packet for processing {"connection_id":147990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc271"} 
[2026-08-02 17:59:43] local.INFO: GPS Element Parsed {"raw_longitude":756435072,"raw_latitude":119534904,"longitude_deg":75.6435072,"latitude_deg":11.9534904,"altitude":41,"angle":64,"satellites":43,"speed":32,"hex_longitude":"2d164880","hex_latitude":"071ff538","is_valid_coordinates":true} 
[2026-08-02 17:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 17:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132448768001,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10326969690357760,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1596244623526008832,"note":"Value kept but may cause issues"} 
[2026-08-02 17:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 17:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785673641000,"timestamp_ms":1785673641000,"timestamp_seconds":1785673641,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2716c28"} 
[2026-08-02 17:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 17:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-02 17:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 17:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 17:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 17:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 17:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 17:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 17:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 17:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 17:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 17:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132448768001,"66":14374,"85":206,"83":41984,"24":32,"16":10326969690357760,"45":1596244623526008832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-02 17:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 17:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 17:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132448768001,"description":"Unknown IO ID 0"} 
[2026-08-02 17:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-02 17:59:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 17:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10326969690357760,"km_value":10326969690357.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 17:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1596244623526008832,"description":"Unknown IO ID 45"} 
[2026-08-02 17:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132448768001,"power":14374,"unknown_85":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1596244623526008832}} 
[2026-08-02 17:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":147990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 17:59:43] local.INFO: GPS data processed {"connection_id":147990,"processed":1,"errors":0,"total":1} 
[2026-08-02 17:59:43] local.INFO: Acknowledgment sent {"connection_id":147990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:00:02] local.INFO: TCP Data received {"connection_id":146725,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:00:02] local.INFO: Processing buffer {"connection_id":146725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:00:02] local.INFO: Packet analysis {"connection_id":146725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:00:02] local.INFO: Extracted packet for processing {"connection_id":146725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:00:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132403456001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:00:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785673752000,"timestamp_ms":1785673752000,"timestamp_seconds":1785673752,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2731dc0"} 
[2026-08-02 18:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132403456001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132403456001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:00:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:00:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:00:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132403456001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":146725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:00:02] local.INFO: GPS data processed {"connection_id":146725,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:00:02] local.INFO: Acknowledgment sent {"connection_id":146725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:00:24] local.INFO: TCP Data received {"connection_id":149293,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:00:24] local.INFO: Processing buffer {"connection_id":149293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:00:24] local.INFO: IMEI packet received {"connection_id":149293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":149293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:00:27] local.INFO: TCP Data received {"connection_id":149294,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:00:27] local.INFO: Processing buffer {"connection_id":149294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:00:27] local.INFO: IMEI packet received {"connection_id":149294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":149294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:00:29] local.INFO: TCP Data received {"connection_id":149293,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:00:29] local.INFO: Processing buffer {"connection_id":149293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:00:29] local.INFO: IMEI packet received {"connection_id":149293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":149293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:00:29] local.INFO: TCP Data received {"connection_id":149294,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:00:29] local.INFO: Processing buffer {"connection_id":149294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:00:29] local.INFO: IMEI packet received {"connection_id":149294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":149294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:00:30] local.INFO: TCP Data received {"connection_id":149293,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:00:30] local.INFO: Processing buffer {"connection_id":149293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:00:30] local.INFO: Packet analysis {"connection_id":149293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:00:30] local.INFO: Extracted packet for processing {"connection_id":149293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:00:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132403456001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785673752000,"timestamp_ms":1785673752000,"timestamp_seconds":1785673752,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2731dc0"} 
[2026-08-02 18:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132403456001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132403456001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:00:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:00:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132403456001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":149293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:00:30] local.INFO: GPS data processed {"connection_id":149293,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:00:30] local.INFO: Acknowledgment sent {"connection_id":149293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:00:34] local.INFO: TCP Data received {"connection_id":149294,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:00:34] local.INFO: Processing buffer {"connection_id":149294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:00:34] local.INFO: IMEI packet received {"connection_id":149294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":149294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:00:34] local.INFO: TCP Data received {"connection_id":149294,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2732590012d178e40072103a0003e00352c..."} 
[2026-08-02 18:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2732590012d178e40072103a0003e00352c..."} 
[2026-08-02 18:00:34] local.INFO: Processing buffer {"connection_id":149294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2732590012d178e40072103a0003e00352c..."} 
[2026-08-02 18:00:34] local.INFO: Packet analysis {"connection_id":149294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:00:34] local.INFO: Extracted packet for processing {"connection_id":149294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756518464,"raw_latitude":119604128,"longitude_deg":75.6518464,"latitude_deg":11.9604128,"altitude":62,"angle":53,"satellites":44,"speed":39,"hex_longitude":"2d178e40","hex_latitude":"072103a0","is_valid_coordinates":true} 
[2026-08-02 18:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132478720001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10332218140393472,"note":"Value kept but may cause issues"} 
[2026-08-02 18:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1690468371997192192,"note":"Value kept but may cause issues"} 
[2026-08-02 18:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785673754000,"timestamp_ms":1785673754000,"timestamp_seconds":1785673754,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2732590"} 
[2026-08-02 18:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-02 18:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132478720001,"66":14004,"107":206,"83":41984,"24":39,"16":10332218140393472,"45":1690468371997192192},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132478720001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:00:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10332218140393472,"km_value":10332218140393.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1690468371997192192,"description":"Unknown IO ID 45"} 
[2026-08-02 18:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132478720001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1690468371997192192}} 
[2026-08-02 18:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":149294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:00:34] local.INFO: GPS data processed {"connection_id":149294,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:00:34] local.INFO: Acknowledgment sent {"connection_id":149294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:01:02] local.INFO: TCP Data received {"connection_id":149293,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:01:02] local.INFO: Processing buffer {"connection_id":149293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:01:02] local.INFO: Packet analysis {"connection_id":149293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:01:02] local.INFO: Extracted packet for processing {"connection_id":149293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:01:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132403456001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:01:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785673752000,"timestamp_ms":1785673752000,"timestamp_seconds":1785673752,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2731dc0"} 
[2026-08-02 18:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132403456001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132403456001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:01:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:01:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:01:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132403456001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":149293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:01:02] local.INFO: GPS data processed {"connection_id":149293,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:01:02] local.INFO: Acknowledgment sent {"connection_id":149293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:01:05] local.INFO: TCP Data received {"connection_id":149294,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2741f90012d17ea80072189b80049011d28..."} 
[2026-08-02 18:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2741f90012d17ea80072189b80049011d28..."} 
[2026-08-02 18:01:05] local.INFO: Processing buffer {"connection_id":149294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2741f90012d17ea80072189b80049011d28..."} 
[2026-08-02 18:01:05] local.INFO: Packet analysis {"connection_id":149294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc274"} 
[2026-08-02 18:01:05] local.INFO: Extracted packet for processing {"connection_id":149294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc274"} 
[2026-08-02 18:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756542080,"raw_latitude":119638456,"longitude_deg":75.654208,"latitude_deg":11.9638456,"altitude":73,"angle":285,"satellites":40,"speed":9,"hex_longitude":"2d17ea80","hex_latitude":"072189b8","is_valid_coordinates":true} 
[2026-08-02 18:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132495360001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10334468703256576,"note":"Value kept but may cause issues"} 
[2026-08-02 18:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726004587816966144,"note":"Value kept but may cause issues"} 
[2026-08-02 18:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785673818000,"timestamp_ms":1785673818000,"timestamp_seconds":1785673818,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2741f90"} 
[2026-08-02 18:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-02 18:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132495360001,"66":14450,"107":206,"83":41984,"24":9,"16":10334468703256576,"45":1726004587816966144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132495360001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:01:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10334468703256576,"km_value":10334468703256.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726004587816966144,"description":"Unknown IO ID 45"} 
[2026-08-02 18:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132495360001,"power":14450,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1726004587816966144}} 
[2026-08-02 18:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":149294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:01:05] local.INFO: GPS data processed {"connection_id":149294,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:01:05] local.INFO: Acknowledgment sent {"connection_id":149294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:01:23] local.INFO: TCP Data received {"connection_id":149295,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:01:23] local.INFO: Processing buffer {"connection_id":149295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:01:23] local.INFO: IMEI packet received {"connection_id":149295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":149295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:01:29] local.INFO: TCP Data received {"connection_id":149295,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:01:29] local.INFO: Processing buffer {"connection_id":149295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:01:29] local.INFO: IMEI packet received {"connection_id":149295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":149295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:01:29] local.INFO: TCP Data received {"connection_id":146956,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:01:29] local.INFO: Processing buffer {"connection_id":146956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:01:29] local.INFO: IMEI packet received {"connection_id":146956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":146956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:01:30] local.INFO: TCP Data received {"connection_id":149295,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:01:30] local.INFO: Processing buffer {"connection_id":149295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:01:30] local.INFO: Packet analysis {"connection_id":149295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:01:30] local.INFO: Extracted packet for processing {"connection_id":149295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:01:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132403456001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785673752000,"timestamp_ms":1785673752000,"timestamp_seconds":1785673752,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2731dc0"} 
[2026-08-02 18:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132403456001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132403456001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:01:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:01:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132403456001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":149295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:01:30] local.INFO: GPS data processed {"connection_id":149295,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:01:30] local.INFO: Acknowledgment sent {"connection_id":149295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:01:34] local.INFO: TCP Data received {"connection_id":146956,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:01:34] local.INFO: Processing buffer {"connection_id":146956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:01:34] local.INFO: IMEI packet received {"connection_id":146956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":146956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:01:35] local.INFO: TCP Data received {"connection_id":146956,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2743700012d17e30007218b98004b01282b..."} 
[2026-08-02 18:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2743700012d17e30007218b98004b01282b..."} 
[2026-08-02 18:01:35] local.INFO: Processing buffer {"connection_id":146956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2743700012d17e30007218b98004b01282b..."} 
[2026-08-02 18:01:35] local.INFO: Packet analysis {"connection_id":146956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc274"} 
[2026-08-02 18:01:35] local.INFO: Extracted packet for processing {"connection_id":146956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc274"} 
[2026-08-02 18:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756540160,"raw_latitude":119638936,"longitude_deg":75.654016,"latitude_deg":11.9638936,"altitude":75,"angle":296,"satellites":43,"speed":12,"hex_longitude":"2d17e300","hex_latitude":"07218b98","is_valid_coordinates":true} 
[2026-08-02 18:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132497408001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10334558897569792,"note":"Value kept but may cause issues"} 
[2026-08-02 18:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723330575538436096,"note":"Value kept but may cause issues"} 
[2026-08-02 18:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785673824000,"timestamp_ms":1785673824000,"timestamp_seconds":1785673824,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2743700"} 
[2026-08-02 18:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-02 18:01: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-08-02 18:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132497408001,"66":14537,"107":206,"83":41984,"24":12,"16":10334558897569792,"45":1723330575538436096},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132497408001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:01:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10334558897569792,"km_value":10334558897569.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723330575538436096,"description":"Unknown IO ID 45"} 
[2026-08-02 18:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132497408001,"power":14537,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1723330575538436096}} 
[2026-08-02 18:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":146956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:01:35] local.INFO: GPS data processed {"connection_id":146956,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:01:35] local.INFO: Acknowledgment sent {"connection_id":146956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:02:02] local.INFO: TCP Data received {"connection_id":149295,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:02:02] local.INFO: Processing buffer {"connection_id":149295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:02:02] local.INFO: Packet analysis {"connection_id":149295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:02:02] local.INFO: Extracted packet for processing {"connection_id":149295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:02:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132403456001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:02:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785673752000,"timestamp_ms":1785673752000,"timestamp_seconds":1785673752,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2731dc0"} 
[2026-08-02 18:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132403456001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132403456001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:02:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:02:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:02:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132403456001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":149295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:02:02] local.INFO: GPS data processed {"connection_id":149295,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:02:02] local.INFO: Acknowledgment sent {"connection_id":149295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:02:07] local.INFO: TCP Data received {"connection_id":146956,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc274fe38012d17ad000721a340004b01672a..."} 
[2026-08-02 18:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc274fe38012d17ad000721a340004b01672a..."} 
[2026-08-02 18:02:07] local.INFO: Processing buffer {"connection_id":146956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc274fe38012d17ad000721a340004b01672a..."} 
[2026-08-02 18:02:07] local.INFO: Packet analysis {"connection_id":146956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc274"} 
[2026-08-02 18:02:07] local.INFO: Extracted packet for processing {"connection_id":146956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc274"} 
[2026-08-02 18:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756526336,"raw_latitude":119644992,"longitude_deg":75.6526336,"latitude_deg":11.9644992,"altitude":75,"angle":359,"satellites":42,"speed":10,"hex_longitude":"2d17ad00","hex_latitude":"0721a340","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132511744001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10335344876584960,"note":"Value kept but may cause issues"} 
[2026-08-02 18:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706019864472346624,"note":"Value kept but may cause issues"} 
[2026-08-02 18:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785673875000,"timestamp_ms":1785673875000,"timestamp_seconds":1785673875,"priority":1,"record_length":96,"hex_timestamp":"0000019fc274fe38"} 
[2026-08-02 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-08-02 18:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-02 18:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132511744001,"66":14396,"107":206,"83":41984,"24":10,"16":10335344876584960,"45":1706019864472346624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132511744001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:02:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10335344876584960,"km_value":10335344876584.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706019864472346624,"description":"Unknown IO ID 45"} 
[2026-08-02 18:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132511744001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1706019864472346624}} 
[2026-08-02 18:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":146956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:02:07] local.INFO: GPS data processed {"connection_id":146956,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:02:07] local.INFO: Acknowledgment sent {"connection_id":146956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:02:29] local.INFO: TCP Data received {"connection_id":146726,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:02:29] local.INFO: Processing buffer {"connection_id":146726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:02:29] local.INFO: IMEI packet received {"connection_id":146726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":146726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:02:29] local.INFO: TCP Data received {"connection_id":147991,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:02:29] local.INFO: Processing buffer {"connection_id":147991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:02:29] local.INFO: IMEI packet received {"connection_id":147991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":147991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:02:32] local.INFO: TCP Data received {"connection_id":146726,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:02:32] local.INFO: Processing buffer {"connection_id":146726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:02:32] local.INFO: IMEI packet received {"connection_id":146726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":146726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:02:34] local.INFO: TCP Data received {"connection_id":146726,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:02:34] local.INFO: Processing buffer {"connection_id":146726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:02:34] local.INFO: IMEI packet received {"connection_id":146726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":146726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:02:34] local.INFO: TCP Data received {"connection_id":146726,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27509f0012d17ad400721a768004b000e2a..."} 
[2026-08-02 18:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27509f0012d17ad400721a768004b000e2a..."} 
[2026-08-02 18:02:34] local.INFO: Processing buffer {"connection_id":146726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27509f0012d17ad400721a768004b000e2a..."} 
[2026-08-02 18:02:34] local.INFO: Packet analysis {"connection_id":146726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc275"} 
[2026-08-02 18:02:34] local.INFO: Extracted packet for processing {"connection_id":146726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc275"} 
[2026-08-02 18:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756526400,"raw_latitude":119646056,"longitude_deg":75.65264,"latitude_deg":11.9646056,"altitude":75,"angle":14,"satellites":42,"speed":16,"hex_longitude":"2d17ad40","hex_latitude":"0721a768","is_valid_coordinates":true} 
[2026-08-02 18:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132512000001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10335396416192512,"note":"Value kept but may cause issues"} 
[2026-08-02 18:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706019864472403968,"note":"Value kept but may cause issues"} 
[2026-08-02 18:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785673878000,"timestamp_ms":1785673878000,"timestamp_seconds":1785673878,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27509f0"} 
[2026-08-02 18:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-02 18:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132512000001,"66":14428,"107":206,"83":41984,"24":16,"16":10335396416192512,"45":1706019864472403968},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132512000001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:02:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10335396416192512,"km_value":10335396416192.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706019864472403968,"description":"Unknown IO ID 45"} 
[2026-08-02 18:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132512000001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1706019864472403968}} 
[2026-08-02 18:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":146726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:02:35] local.INFO: GPS data processed {"connection_id":146726,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:02:35] local.INFO: Acknowledgment sent {"connection_id":146726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:02:36] local.INFO: TCP Data received {"connection_id":147991,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:02:36] local.INFO: Processing buffer {"connection_id":147991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:02:36] local.INFO: IMEI packet received {"connection_id":147991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":147991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:02:38] local.INFO: TCP Data received {"connection_id":147991,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:02:38] local.INFO: Processing buffer {"connection_id":147991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:02:38] local.INFO: Packet analysis {"connection_id":147991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:02:38] local.INFO: Extracted packet for processing {"connection_id":147991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:02:38] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132403456001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:02:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785673752000,"timestamp_ms":1785673752000,"timestamp_seconds":1785673752,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2731dc0"} 
[2026-08-02 18:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:02: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-08-02 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132403456001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132403456001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:02:38] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:02:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:02:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132403456001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":147991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:02:38] local.INFO: GPS data processed {"connection_id":147991,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:02:38] local.INFO: Acknowledgment sent {"connection_id":147991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:03:06] local.INFO: TCP Data received {"connection_id":146726,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2752160012d17ae400721b150004a000124..."} 
[2026-08-02 18:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2752160012d17ae400721b150004a000124..."} 
[2026-08-02 18:03:06] local.INFO: Processing buffer {"connection_id":146726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2752160012d17ae400721b150004a000124..."} 
[2026-08-02 18:03:06] local.INFO: Packet analysis {"connection_id":146726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc275"} 
[2026-08-02 18:03:06] local.INFO: Extracted packet for processing {"connection_id":146726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc275"} 
[2026-08-02 18:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756526656,"raw_latitude":119648592,"longitude_deg":75.6526656,"latitude_deg":11.9648592,"altitude":74,"angle":1,"satellites":36,"speed":16,"hex_longitude":"2d17ae40","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132512768001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10335520970244096,"note":"Value kept but may cause issues"} 
[2026-08-02 18:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706090233216854016,"note":"Value kept but may cause issues"} 
[2026-08-02 18:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785673884000,"timestamp_ms":1785673884000,"timestamp_seconds":1785673884,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2752160"} 
[2026-08-02 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-08-02 18:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 18:03: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-08-02 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-08-02 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-08-02 18:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132512768001,"66":14483,"107":206,"83":41984,"24":16,"16":10335520970244096,"45":1706090233216854016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132512768001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:03:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10335520970244096,"km_value":10335520970244.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706090233216854016,"description":"Unknown IO ID 45"} 
[2026-08-02 18:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132512768001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1706090233216854016}} 
[2026-08-02 18:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":146726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:03:06] local.INFO: GPS data processed {"connection_id":146726,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:03:06] local.INFO: Acknowledgment sent {"connection_id":146726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:03:23] local.INFO: TCP Data received {"connection_id":149296,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:03:23] local.INFO: Processing buffer {"connection_id":149296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:03:23] local.INFO: IMEI packet received {"connection_id":149296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":149296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:03:29] local.INFO: TCP Data received {"connection_id":149296,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:03:29] local.INFO: Processing buffer {"connection_id":149296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:03:29] local.INFO: IMEI packet received {"connection_id":149296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":149296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:03:30] local.INFO: TCP Data received {"connection_id":149296,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:03:30] local.INFO: Processing buffer {"connection_id":149296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:03:30] local.INFO: Packet analysis {"connection_id":149296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:03:30] local.INFO: Extracted packet for processing {"connection_id":149296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:03:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132403456001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785673752000,"timestamp_ms":1785673752000,"timestamp_seconds":1785673752,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2731dc0"} 
[2026-08-02 18:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132403456001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132403456001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:03:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:03:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132403456001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":149296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:03:30] local.INFO: GPS data processed {"connection_id":149296,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:03:30] local.INFO: Acknowledgment sent {"connection_id":149296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:03:34] local.INFO: TCP Data received {"connection_id":149297,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:03:34] local.INFO: Processing buffer {"connection_id":149297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:03:34] local.INFO: IMEI packet received {"connection_id":149297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":149297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:03:34] local.INFO: TCP Data received {"connection_id":149297,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:03:34] local.INFO: Processing buffer {"connection_id":149297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:03:34] local.INFO: IMEI packet received {"connection_id":149297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":149297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:03:37] local.INFO: TCP Data received {"connection_id":149297,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:03:37] local.INFO: Processing buffer {"connection_id":149297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:03:37] local.INFO: IMEI packet received {"connection_id":149297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":149297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:03:38] local.INFO: TCP Data received {"connection_id":149297,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2764658012d17a98007221a000055012c2a..."} 
[2026-08-02 18:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2764658012d17a98007221a000055012c2a..."} 
[2026-08-02 18:03:38] local.INFO: Processing buffer {"connection_id":149297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2764658012d17a98007221a000055012c2a..."} 
[2026-08-02 18:03:38] local.INFO: Packet analysis {"connection_id":149297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc276"} 
[2026-08-02 18:03:38] local.INFO: Extracted packet for processing {"connection_id":149297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc276"} 
[2026-08-02 18:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756525440,"raw_latitude":119675392,"longitude_deg":75.652544,"latitude_deg":11.9675392,"altitude":85,"angle":300,"satellites":42,"speed":12,"hex_longitude":"2d17a980","hex_latitude":"07221a00","is_valid_coordinates":true} 
[2026-08-02 18:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132532992001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10336861000040448,"note":"Value kept but may cause issues"} 
[2026-08-02 18:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705597652015011840,"note":"Value kept but may cause issues"} 
[2026-08-02 18:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785673959000,"timestamp_ms":1785673959000,"timestamp_seconds":1785673959,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2764658"} 
[2026-08-02 18:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 18:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":149297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":149297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":149297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132532992001,"66":14428,"107":206,"83":41984,"24":12,"16":10336861000040448,"45":1705597652015011840},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132532992001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:03:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10336861000040448,"km_value":10336861000040.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705597652015011840,"description":"Unknown IO ID 45"} 
[2026-08-02 18:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132532992001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1705597652015011840}} 
[2026-08-02 18:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":149297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:03:38] local.INFO: GPS data processed {"connection_id":149297,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:03:38] local.INFO: Acknowledgment sent {"connection_id":149297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:03:39] local.INFO: TCP Data received {"connection_id":149297,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27655f8012d17a50007221c180057011628..."} 
[2026-08-02 18:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27655f8012d17a50007221c180057011628..."} 
[2026-08-02 18:03:39] local.INFO: Processing buffer {"connection_id":149297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27655f8012d17a50007221c180057011628..."} 
[2026-08-02 18:03:39] local.INFO: Packet analysis {"connection_id":149297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc276"} 
[2026-08-02 18:03:39] local.INFO: Extracted packet for processing {"connection_id":149297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc276"} 
[2026-08-02 18:03:39] local.INFO: GPS Element Parsed {"raw_longitude":756524288,"raw_latitude":119675928,"longitude_deg":75.6524288,"latitude_deg":11.9675928,"altitude":87,"angle":278,"satellites":40,"speed":12,"hex_longitude":"2d17a500","hex_latitude":"07221c18","is_valid_coordinates":true} 
[2026-08-02 18:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132533504001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10336921129582592,"note":"Value kept but may cause issues"} 
[2026-08-02 18:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705034702061699072,"note":"Value kept but may cause issues"} 
[2026-08-02 18:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785673963000,"timestamp_ms":1785673963000,"timestamp_seconds":1785673963,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27655f8"} 
[2026-08-02 18:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 18:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132533504001,"66":14461,"107":206,"83":41984,"24":12,"16":10336921129582592,"45":1705034702061699072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132533504001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:03:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:03:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10336921129582592,"km_value":10336921129582.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705034702061699072,"description":"Unknown IO ID 45"} 
[2026-08-02 18:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132533504001,"power":14461,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1705034702061699072}} 
[2026-08-02 18:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":149297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:03:39] local.INFO: GPS data processed {"connection_id":149297,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:03:39] local.INFO: Acknowledgment sent {"connection_id":149297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:04:02] local.INFO: TCP Data received {"connection_id":149296,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:04:02] local.INFO: Processing buffer {"connection_id":149296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:04:02] local.INFO: Packet analysis {"connection_id":149296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:04:02] local.INFO: Extracted packet for processing {"connection_id":149296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:04:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132403456001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:04:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785673752000,"timestamp_ms":1785673752000,"timestamp_seconds":1785673752,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2731dc0"} 
[2026-08-02 18:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132403456001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132403456001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:04:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:04:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:04:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132403456001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":149296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:04:02] local.INFO: GPS data processed {"connection_id":149296,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:04:02] local.INFO: Acknowledgment sent {"connection_id":149296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:04:12] local.INFO: TCP Data received {"connection_id":149297,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2766d68012d179e0007221e280059012d28..."} 
[2026-08-02 18:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2766d68012d179e0007221e280059012d28..."} 
[2026-08-02 18:04:12] local.INFO: Processing buffer {"connection_id":149297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2766d68012d179e0007221e280059012d28..."} 
[2026-08-02 18:04:12] local.INFO: Packet analysis {"connection_id":149297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc276"} 
[2026-08-02 18:04:12] local.INFO: Extracted packet for processing {"connection_id":149297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc276"} 
[2026-08-02 18:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756522496,"raw_latitude":119676456,"longitude_deg":75.6522496,"latitude_deg":11.9676456,"altitude":89,"angle":301,"satellites":40,"speed":13,"hex_longitude":"2d179e00","hex_latitude":"07221e28","is_valid_coordinates":true} 
[2026-08-02 18:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132534528001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10337011323895808,"note":"Value kept but may cause issues"} 
[2026-08-02 18:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703768064666638336,"note":"Value kept but may cause issues"} 
[2026-08-02 18:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785673969000,"timestamp_ms":1785673969000,"timestamp_seconds":1785673969,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2766d68"} 
[2026-08-02 18:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":125,"data_length":795,"current_offset":136} 
[2026-08-02 18:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":149297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":149297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":149297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132534528001,"66":14428,"107":206,"83":41984,"24":13,"16":10337011323895808,"45":1703768064666638336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132534528001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:04:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10337011323895808,"km_value":10337011323895.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703768064666638336,"description":"Unknown IO ID 45"} 
[2026-08-02 18:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132534528001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1703768064666638336}} 
[2026-08-02 18:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":149297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:04:12] local.INFO: GPS data processed {"connection_id":149297,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:04:12] local.INFO: Acknowledgment sent {"connection_id":149297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:04:27] local.INFO: TCP Data received {"connection_id":147992,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:04:27] local.INFO: Processing buffer {"connection_id":147992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:04:27] local.INFO: IMEI packet received {"connection_id":147992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":147992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:04:28] local.INFO: TCP Data received {"connection_id":147992,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:04:28] local.INFO: Processing buffer {"connection_id":147992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:04:28] local.INFO: IMEI packet received {"connection_id":147992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":147992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:04:29] local.INFO: TCP Data received {"connection_id":146957,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:04:29] local.INFO: Processing buffer {"connection_id":146957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:04:29] local.INFO: IMEI packet received {"connection_id":146957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":146957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:04:29] local.INFO: TCP Data received {"connection_id":147992,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:04:29] local.INFO: Processing buffer {"connection_id":147992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:04:29] local.INFO: IMEI packet received {"connection_id":147992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":147992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:04:29] local.INFO: TCP Data received {"connection_id":147992,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:04:29] local.INFO: Processing buffer {"connection_id":147992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:04:29] local.INFO: IMEI packet received {"connection_id":147992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":147992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:04:34] local.INFO: TCP Data received {"connection_id":146957,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:04:34] local.INFO: Processing buffer {"connection_id":146957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:04:34] local.INFO: IMEI packet received {"connection_id":146957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":146957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:04:35] local.INFO: TCP Data received {"connection_id":146957,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:04:35] local.INFO: Processing buffer {"connection_id":146957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:04:35] local.INFO: Packet analysis {"connection_id":146957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:04:35] local.INFO: Extracted packet for processing {"connection_id":146957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132403456001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:04:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785673752000,"timestamp_ms":1785673752000,"timestamp_seconds":1785673752,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2731dc0"} 
[2026-08-02 18:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132403456001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132403456001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:04:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:04:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:04:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132403456001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":146957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:04:35] local.INFO: GPS data processed {"connection_id":146957,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:04:35] local.INFO: Acknowledgment sent {"connection_id":146957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:04:39] local.INFO: TCP Data received {"connection_id":146957,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:04:39] local.INFO: Processing buffer {"connection_id":146957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2731dc0012cc330c007685958005800c52a..."} 
[2026-08-02 18:04:39] local.INFO: Packet analysis {"connection_id":146957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:04:39] local.INFO: Extracted packet for processing {"connection_id":146957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc273"} 
[2026-08-02 18:04:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132403456001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:04:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785673752000,"timestamp_ms":1785673752000,"timestamp_seconds":1785673752,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2731dc0"} 
[2026-08-02 18:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:04: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-08-02 18: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":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132403456001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132403456001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:04:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:04:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:04:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132403456001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":146957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:04:39] local.INFO: GPS data processed {"connection_id":146957,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:04:39] local.INFO: Acknowledgment sent {"connection_id":146957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:05:24] local.INFO: TCP Data received {"connection_id":146727,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:05:24] local.INFO: Processing buffer {"connection_id":146727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:05:24] local.INFO: IMEI packet received {"connection_id":146727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":146727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:05:29] local.INFO: TCP Data received {"connection_id":146727,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:05:29] local.INFO: Processing buffer {"connection_id":146727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:05:29] local.INFO: IMEI packet received {"connection_id":146727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":146727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:05:31] local.INFO: TCP Data received {"connection_id":146727,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:05:31] local.INFO: Processing buffer {"connection_id":146727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:05:31] local.INFO: Packet analysis {"connection_id":146727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:05:31] local.INFO: Extracted packet for processing {"connection_id":146727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:05:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132480512001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785674053000,"timestamp_ms":1785674053000,"timestamp_seconds":1785674053,"priority":1,"record_length":96,"hex_timestamp":"0000019fc277b588"} 
[2026-08-02 18:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132480512001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132480512001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:05:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:05:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132480512001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":146727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:05:31] local.INFO: GPS data processed {"connection_id":146727,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:05:31] local.INFO: Acknowledgment sent {"connection_id":146727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:06:02] local.INFO: TCP Data received {"connection_id":146727,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:06:02] local.INFO: Processing buffer {"connection_id":146727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:06:02] local.INFO: Packet analysis {"connection_id":146727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:06:02] local.INFO: Extracted packet for processing {"connection_id":146727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:06:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132480512001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:06:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785674053000,"timestamp_ms":1785674053000,"timestamp_seconds":1785674053,"priority":1,"record_length":96,"hex_timestamp":"0000019fc277b588"} 
[2026-08-02 18:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132480512001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132480512001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:06:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:06:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:06:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132480512001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":146727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:06:02] local.INFO: GPS data processed {"connection_id":146727,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:06:02] local.INFO: Acknowledgment sent {"connection_id":146727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:06:23] local.INFO: TCP Data received {"connection_id":149299,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:06:23] local.INFO: Processing buffer {"connection_id":149299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:06:23] local.INFO: IMEI packet received {"connection_id":149299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":149299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:06:30] local.INFO: TCP Data received {"connection_id":149299,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:06:30] local.INFO: Processing buffer {"connection_id":149299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:06:30] local.INFO: IMEI packet received {"connection_id":149299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":149299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:06:31] local.INFO: TCP Data received {"connection_id":149299,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:06:31] local.INFO: Processing buffer {"connection_id":149299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:06:31] local.INFO: Packet analysis {"connection_id":149299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:06:31] local.INFO: Extracted packet for processing {"connection_id":149299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:06:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132480512001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:06:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785674053000,"timestamp_ms":1785674053000,"timestamp_seconds":1785674053,"priority":1,"record_length":96,"hex_timestamp":"0000019fc277b588"} 
[2026-08-02 18:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132480512001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132480512001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:06:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:06:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:06:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132480512001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":149299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:06:31] local.INFO: GPS data processed {"connection_id":149299,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:06:31] local.INFO: Acknowledgment sent {"connection_id":149299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:07:03] local.INFO: TCP Data received {"connection_id":149299,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:07:03] local.INFO: Processing buffer {"connection_id":149299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:07:03] local.INFO: Packet analysis {"connection_id":149299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:07:03] local.INFO: Extracted packet for processing {"connection_id":149299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:07:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132480512001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:07:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785674053000,"timestamp_ms":1785674053000,"timestamp_seconds":1785674053,"priority":1,"record_length":96,"hex_timestamp":"0000019fc277b588"} 
[2026-08-02 18:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132480512001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132480512001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:07:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:07:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132480512001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":149299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:07:03] local.INFO: GPS data processed {"connection_id":149299,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:07:03] local.INFO: Acknowledgment sent {"connection_id":149299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:07:23] local.INFO: TCP Data received {"connection_id":146958,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:07:23] local.INFO: Processing buffer {"connection_id":146958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:07:23] local.INFO: IMEI packet received {"connection_id":146958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":146958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:07:29] local.INFO: TCP Data received {"connection_id":146958,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:07:29] local.INFO: Processing buffer {"connection_id":146958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:07:29] local.INFO: IMEI packet received {"connection_id":146958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":146958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:07:30] local.INFO: TCP Data received {"connection_id":146958,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:07:30] local.INFO: Processing buffer {"connection_id":146958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:07:30] local.INFO: Packet analysis {"connection_id":146958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:07:30] local.INFO: Extracted packet for processing {"connection_id":146958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:07:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132480512001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785674053000,"timestamp_ms":1785674053000,"timestamp_seconds":1785674053,"priority":1,"record_length":96,"hex_timestamp":"0000019fc277b588"} 
[2026-08-02 18:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132480512001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132480512001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:07:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:07:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132480512001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":146958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:07:30] local.INFO: GPS data processed {"connection_id":146958,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:07:30] local.INFO: Acknowledgment sent {"connection_id":146958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:08:02] local.INFO: TCP Data received {"connection_id":146958,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:08:02] local.INFO: Processing buffer {"connection_id":146958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:08:02] local.INFO: Packet analysis {"connection_id":146958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:08:02] local.INFO: Extracted packet for processing {"connection_id":146958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:08:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132480512001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:08:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785674053000,"timestamp_ms":1785674053000,"timestamp_seconds":1785674053,"priority":1,"record_length":96,"hex_timestamp":"0000019fc277b588"} 
[2026-08-02 18:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132480512001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132480512001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:08:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:08:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:08:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132480512001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":146958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:08:02] local.INFO: GPS data processed {"connection_id":146958,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:08:02] local.INFO: Acknowledgment sent {"connection_id":146958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:08:30] local.INFO: TCP Data received {"connection_id":147993,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:08:30] local.INFO: Processing buffer {"connection_id":147993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:08:30] local.INFO: IMEI packet received {"connection_id":147993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":147993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:08:34] local.INFO: TCP Data received {"connection_id":147993,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:08:34] local.INFO: Processing buffer {"connection_id":147993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:08:34] local.INFO: IMEI packet received {"connection_id":147993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":147993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:08:35] local.INFO: TCP Data received {"connection_id":147993,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:08:35] local.INFO: Processing buffer {"connection_id":147993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:08:35] local.INFO: Packet analysis {"connection_id":147993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:08:35] local.INFO: Extracted packet for processing {"connection_id":147993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:08:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132480512001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:08:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785674053000,"timestamp_ms":1785674053000,"timestamp_seconds":1785674053,"priority":1,"record_length":96,"hex_timestamp":"0000019fc277b588"} 
[2026-08-02 18:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132480512001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132480512001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:08:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:08:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:08:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132480512001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":147993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:08:35] local.INFO: GPS data processed {"connection_id":147993,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:08:35] local.INFO: Acknowledgment sent {"connection_id":147993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:08:39] local.INFO: TCP Data received {"connection_id":147993,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:08:39] local.INFO: Processing buffer {"connection_id":147993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:08:39] local.INFO: Packet analysis {"connection_id":147993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:08:39] local.INFO: Extracted packet for processing {"connection_id":147993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:08:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18: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-08-02 18:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132480512001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:08:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785674053000,"timestamp_ms":1785674053000,"timestamp_seconds":1785674053,"priority":1,"record_length":96,"hex_timestamp":"0000019fc277b588"} 
[2026-08-02 18:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:08: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-08-02 18: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":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18: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-08-02 18:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132480512001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132480512001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:08:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:08:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:08:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132480512001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":147993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:08:39] local.INFO: GPS data processed {"connection_id":147993,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:08:39] local.INFO: Acknowledgment sent {"connection_id":147993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:09:24] local.INFO: TCP Data received {"connection_id":149300,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:09:24] local.INFO: Processing buffer {"connection_id":149300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:09:24] local.INFO: IMEI packet received {"connection_id":149300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":149300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:09:29] local.INFO: TCP Data received {"connection_id":149300,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:09:29] local.INFO: Processing buffer {"connection_id":149300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:09:29] local.INFO: IMEI packet received {"connection_id":149300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":149300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:09:31] local.INFO: TCP Data received {"connection_id":149300,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:09:31] local.INFO: Processing buffer {"connection_id":149300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:09:31] local.INFO: Packet analysis {"connection_id":149300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:09:31] local.INFO: Extracted packet for processing {"connection_id":149300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:09:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132480512001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:09:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785674053000,"timestamp_ms":1785674053000,"timestamp_seconds":1785674053,"priority":1,"record_length":96,"hex_timestamp":"0000019fc277b588"} 
[2026-08-02 18:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132480512001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132480512001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:09:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:09:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:09:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132480512001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":149300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:09:31] local.INFO: GPS data processed {"connection_id":149300,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:09:31] local.INFO: Acknowledgment sent {"connection_id":149300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:09:32] local.INFO: TCP Data received {"connection_id":149301,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:09:32] local.INFO: Processing buffer {"connection_id":149301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:09:32] local.INFO: IMEI packet received {"connection_id":149301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":149301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:09:34] local.INFO: TCP Data received {"connection_id":149301,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:09:34] local.INFO: Processing buffer {"connection_id":149301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:09:34] local.INFO: IMEI packet received {"connection_id":149301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":149301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:09:34] local.INFO: TCP Data received {"connection_id":149300,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:09:34] local.INFO: Processing buffer {"connection_id":149300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc277b588012cc330c007685958005800c52b..."} 
[2026-08-02 18:09:34] local.INFO: Packet analysis {"connection_id":149300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:09:34] local.INFO: Extracted packet for processing {"connection_id":149300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc277"} 
[2026-08-02 18:09:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132480512001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:09:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785674053000,"timestamp_ms":1785674053000,"timestamp_seconds":1785674053,"priority":1,"record_length":96,"hex_timestamp":"0000019fc277b588"} 
[2026-08-02 18:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132480512001,"66":25462,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132480512001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:09:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:09:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:09:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132480512001,"power":25462,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":149300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:09:34] local.INFO: GPS data processed {"connection_id":149300,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:09:34] local.INFO: Acknowledgment sent {"connection_id":149300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:09:34] local.INFO: TCP Data received {"connection_id":149301,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27a6508012d170fc007226c780089010925..."} 
[2026-08-02 18:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27a6508012d170fc007226c780089010925..."} 
[2026-08-02 18:09:34] local.INFO: Processing buffer {"connection_id":149301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27a6508012d170fc007226c780089010925..."} 
[2026-08-02 18:09:34] local.INFO: Packet analysis {"connection_id":149301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27a"} 
[2026-08-02 18:09:34] local.INFO: Extracted packet for processing {"connection_id":149301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27a"} 
[2026-08-02 18:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756486080,"raw_latitude":119696504,"longitude_deg":75.648608,"latitude_deg":11.9696504,"altitude":137,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d170fc0","hex_latitude":"07226c78","is_valid_coordinates":true} 
[2026-08-02 18:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132597248001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339429390483456,"note":"Value kept but may cause issues"} 
[2026-08-02 18:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661757924397840384,"note":"Value kept but may cause issues"} 
[2026-08-02 18:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785674229000,"timestamp_ms":1785674229000,"timestamp_seconds":1785674229,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27a6508"} 
[2026-08-02 18:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-02 18:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132597248001,"66":12809,"20":206,"83":41984,"24":0,"16":10339429390483456,"45":1661757924397840384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132597248001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:09:34] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339429390483456,"km_value":10339429390483.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661757924397840384,"description":"Unknown IO ID 45"} 
[2026-08-02 18:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132597248001,"power":12809,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661757924397840384}} 
[2026-08-02 18:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":149301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:09:35] local.INFO: GPS data processed {"connection_id":149301,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:09:35] local.INFO: Acknowledgment sent {"connection_id":149301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:10:06] local.INFO: TCP Data received {"connection_id":149301,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27ab710012d170fc007226c780089010922..."} 
[2026-08-02 18:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27ab710012d170fc007226c780089010922..."} 
[2026-08-02 18:10:06] local.INFO: Processing buffer {"connection_id":149301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27ab710012d170fc007226c780089010922..."} 
[2026-08-02 18:10:06] local.INFO: Packet analysis {"connection_id":149301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27a"} 
[2026-08-02 18:10:06] local.INFO: Extracted packet for processing {"connection_id":149301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27a"} 
[2026-08-02 18:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756486080,"raw_latitude":119696504,"longitude_deg":75.648608,"latitude_deg":11.9696504,"altitude":137,"angle":265,"satellites":34,"speed":0,"hex_longitude":"2d170fc0","hex_latitude":"07226c78","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132602624001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339429390483456,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661757924397840384,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785674250000,"timestamp_ms":1785674250000,"timestamp_seconds":1785674250,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27ab710"} 
[2026-08-02 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-08-02 18:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3221693036,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3262690160,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":194,"raw_value":8696318944108548416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712586958,"corrected_to":0} 
[2026-08-02 18:10:06] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3758173463,"corrected_to":0} 
[2026-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":51,"raw_value":4900142232885055059,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3148087296,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2480559807229091881,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,20,83,24,241,157,16,187,159,19,45,192,108,137,39,10,66,37,110,1,240,150,227,194,34,4,113,205,202,128,239,51,2,36,7,138,164,163],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1712586958,"validated":0},{"io_id":202,"original":3758173463,"validated":0}]} 
[2026-08-02 18:10:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-8574562161018273792,"timestamp_seconds":-8574562161018274.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 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-08-02 18:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132602624001,"66":12809,"20":206,"83":41984,"24":0,"16":10339429390483456,"45":1661757924397840384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132602624001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:10:06] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339429390483456,"km_value":10339429390483.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661757924397840384,"description":"Unknown IO ID 45"} 
[2026-08-02 18:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132602624001,"power":12809,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661757924397840384}} 
[2026-08-02 18:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":149301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:10:06] local.INFO: GPS data processed {"connection_id":149301,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:10:06] local.INFO: Acknowledgment sent {"connection_id":149301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:10:07] local.INFO: TCP Data received {"connection_id":149300,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:10:07] local.INFO: Processing buffer {"connection_id":149300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:10:07] local.INFO: Packet analysis {"connection_id":149300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:10:07] local.INFO: Extracted packet for processing {"connection_id":149300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:10:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132557568001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785674354000,"timestamp_ms":1785674354000,"timestamp_seconds":1785674354,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27c4d50"} 
[2026-08-02 18:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132557568001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132557568001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:10:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:10:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:10:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132557568001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":149300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:10:07] local.INFO: GPS data processed {"connection_id":149300,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:10:07] local.INFO: Acknowledgment sent {"connection_id":149300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:10:29] local.INFO: TCP Data received {"connection_id":146960,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:10:29] local.INFO: Processing buffer {"connection_id":146960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:10:29] local.INFO: IMEI packet received {"connection_id":146960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":146960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:10:29] local.INFO: TCP Data received {"connection_id":146961,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:10:29] local.INFO: Processing buffer {"connection_id":146961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:10:29] local.INFO: IMEI packet received {"connection_id":146961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":146961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:10:34] local.INFO: TCP Data received {"connection_id":146960,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:10:34] local.INFO: Processing buffer {"connection_id":146960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:10:34] local.INFO: IMEI packet received {"connection_id":146960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":146960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:10:34] local.INFO: TCP Data received {"connection_id":146961,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:10:34] local.INFO: Processing buffer {"connection_id":146961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:10:34] local.INFO: IMEI packet received {"connection_id":146961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":146961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:10:35] local.INFO: TCP Data received {"connection_id":146961,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27b0918012d170fc007226c780089010927..."} 
[2026-08-02 18:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27b0918012d170fc007226c780089010927..."} 
[2026-08-02 18:10:35] local.INFO: Processing buffer {"connection_id":146961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27b0918012d170fc007226c780089010927..."} 
[2026-08-02 18:10:35] local.INFO: Packet analysis {"connection_id":146961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27b"} 
[2026-08-02 18:10:35] local.INFO: Extracted packet for processing {"connection_id":146961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27b"} 
[2026-08-02 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756486080,"raw_latitude":119696504,"longitude_deg":75.648608,"latitude_deg":11.9696504,"altitude":137,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d170fc0","hex_latitude":"07226c78","is_valid_coordinates":true} 
[2026-08-02 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132608000001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339429390483456,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661757924397840384,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785674271000,"timestamp_ms":1785674271000,"timestamp_seconds":1785674271,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27b0918"} 
[2026-08-02 18:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3262696160,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":194,"raw_value":8697418455736324416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712586958,"corrected_to":0} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3892391191,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3221693036,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3314875164050640467,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3148349440,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2480551011136076071,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,20,83,24,241,157,16,187,159,101,45,192,108,137,37,10,66,19,39,1,240,117,227,194,34,4,113,205,28,15,120,239,51,2,36,7,138,164],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1712586958,"validated":0}]} 
[2026-08-02 18:10:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-8574562173903175680,"timestamp_seconds":-8574562173903176.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 18:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132608000001,"66":12591,"20":206,"83":41984,"24":0,"16":10339429390483456,"45":1661757924397840384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132608000001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:10:35] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339429390483456,"km_value":10339429390483.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661757924397840384,"description":"Unknown IO ID 45"} 
[2026-08-02 18:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132608000001,"power":12591,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661757924397840384}} 
[2026-08-02 18:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":146961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:10:35] local.INFO: GPS data processed {"connection_id":146961,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:10:35] local.INFO: Acknowledgment sent {"connection_id":146961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:10:35] local.INFO: TCP Data received {"connection_id":146960,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:10:35] local.INFO: Processing buffer {"connection_id":146960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:10:35] local.INFO: Packet analysis {"connection_id":146960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:10:35] local.INFO: Extracted packet for processing {"connection_id":146960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132557568001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785674354000,"timestamp_ms":1785674354000,"timestamp_seconds":1785674354,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27c4d50"} 
[2026-08-02 18:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132557568001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132557568001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:10:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:10:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:10:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132557568001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":146960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:10:35] local.INFO: GPS data processed {"connection_id":146960,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:10:35] local.INFO: Acknowledgment sent {"connection_id":146960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:10:39] local.INFO: TCP Data received {"connection_id":146960,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:10:39] local.INFO: Processing buffer {"connection_id":146960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:10:39] local.INFO: Packet analysis {"connection_id":146960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:10:39] local.INFO: Extracted packet for processing {"connection_id":146960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:10:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132557568001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785674354000,"timestamp_ms":1785674354000,"timestamp_seconds":1785674354,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27c4d50"} 
[2026-08-02 18:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:10: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-08-02 18: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":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132557568001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132557568001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:10:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:10:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:10:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132557568001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":146960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:10:39] local.INFO: GPS data processed {"connection_id":146960,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:10:39] local.INFO: Acknowledgment sent {"connection_id":146960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:11:06] local.INFO: TCP Data received {"connection_id":146961,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27b5b20012d170fc007226c780089010925..."} 
[2026-08-02 18:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27b5b20012d170fc007226c780089010925..."} 
[2026-08-02 18:11:06] local.INFO: Processing buffer {"connection_id":146961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27b5b20012d170fc007226c780089010925..."} 
[2026-08-02 18:11:06] local.INFO: Packet analysis {"connection_id":146961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27b"} 
[2026-08-02 18:11:06] local.INFO: Extracted packet for processing {"connection_id":146961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27b"} 
[2026-08-02 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756486080,"raw_latitude":119696504,"longitude_deg":75.648608,"latitude_deg":11.9696504,"altitude":137,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d170fc0","hex_latitude":"07226c78","is_valid_coordinates":true} 
[2026-08-02 18:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132613376001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339429390483456,"note":"Value kept but may cause issues"} 
[2026-08-02 18:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661757924397840384,"note":"Value kept but may cause issues"} 
[2026-08-02 18:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785674292000,"timestamp_ms":1785674292000,"timestamp_seconds":1785674292,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27b5b20"} 
[2026-08-02 18:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 18:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132613376001,"66":12689,"20":206,"83":41984,"24":0,"16":10339429390483456,"45":1661757924397840384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132613376001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:11:06] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339429390483456,"km_value":10339429390483.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661757924397840384,"description":"Unknown IO ID 45"} 
[2026-08-02 18:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132613376001,"power":12689,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661757924397840384}} 
[2026-08-02 18:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":146961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:11:06] local.INFO: GPS data processed {"connection_id":146961,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:11:06] local.INFO: Acknowledgment sent {"connection_id":146961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:11:24] local.INFO: TCP Data received {"connection_id":146962,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:11:24] local.INFO: Processing buffer {"connection_id":146962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:11:24] local.INFO: IMEI packet received {"connection_id":146962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":146962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:11:29] local.INFO: TCP Data received {"connection_id":146962,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:11:29] local.INFO: Processing buffer {"connection_id":146962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:11:29] local.INFO: IMEI packet received {"connection_id":146962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":146962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:11:30] local.INFO: TCP Data received {"connection_id":146962,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:11:30] local.INFO: Processing buffer {"connection_id":146962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:11:30] local.INFO: Packet analysis {"connection_id":146962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:11:30] local.INFO: Extracted packet for processing {"connection_id":146962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:11:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132557568001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785674354000,"timestamp_ms":1785674354000,"timestamp_seconds":1785674354,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27c4d50"} 
[2026-08-02 18:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132557568001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132557568001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:11:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:11:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132557568001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":146962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:11:30] local.INFO: GPS data processed {"connection_id":146962,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:11:30] local.INFO: Acknowledgment sent {"connection_id":146962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:11:34] local.INFO: TCP Data received {"connection_id":146729,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:11:34] local.INFO: Processing buffer {"connection_id":146729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:11:34] local.INFO: IMEI packet received {"connection_id":146729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":146729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:11:39] local.INFO: TCP Data received {"connection_id":146729,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:11:39] local.INFO: Processing buffer {"connection_id":146729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:11:39] local.INFO: IMEI packet received {"connection_id":146729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":146729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:11:39] local.INFO: TCP Data received {"connection_id":146729,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27bad28012d170fc007226c780089010925..."} 
[2026-08-02 18:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27bad28012d170fc007226c780089010925..."} 
[2026-08-02 18:11:39] local.INFO: Processing buffer {"connection_id":146729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27bad28012d170fc007226c780089010925..."} 
[2026-08-02 18:11:39] local.INFO: Packet analysis {"connection_id":146729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27b"} 
[2026-08-02 18:11:39] local.INFO: Extracted packet for processing {"connection_id":146729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27b"} 
[2026-08-02 18:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756486080,"raw_latitude":119696504,"longitude_deg":75.648608,"latitude_deg":11.9696504,"altitude":137,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d170fc0","hex_latitude":"07226c78","is_valid_coordinates":true} 
[2026-08-02 18:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132618752001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339429390483456,"note":"Value kept but may cause issues"} 
[2026-08-02 18:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661757924397840384,"note":"Value kept but may cause issues"} 
[2026-08-02 18:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785674313000,"timestamp_ms":1785674313000,"timestamp_seconds":1785674313,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27bad28"} 
[2026-08-02 18:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-02 18:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132618752001,"66":12711,"20":206,"83":41984,"24":0,"16":10339429390483456,"45":1661757924397840384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132618752001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:11:39] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:11:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339429390483456,"km_value":10339429390483.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661757924397840384,"description":"Unknown IO ID 45"} 
[2026-08-02 18:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132618752001,"power":12711,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661757924397840384}} 
[2026-08-02 18:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":146729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:11:40] local.INFO: GPS data processed {"connection_id":146729,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:11:40] local.INFO: Acknowledgment sent {"connection_id":146729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:11:40] local.INFO: TCP Data received {"connection_id":146729,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27bff30012d170fc007226c780089010921..."} 
[2026-08-02 18:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27bff30012d170fc007226c780089010921..."} 
[2026-08-02 18:11:40] local.INFO: Processing buffer {"connection_id":146729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27bff30012d170fc007226c780089010921..."} 
[2026-08-02 18:11:40] local.INFO: Packet analysis {"connection_id":146729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27b"} 
[2026-08-02 18:11:40] local.INFO: Extracted packet for processing {"connection_id":146729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27b"} 
[2026-08-02 18:11:40] local.INFO: GPS Element Parsed {"raw_longitude":756486080,"raw_latitude":119696504,"longitude_deg":75.648608,"latitude_deg":11.9696504,"altitude":137,"angle":265,"satellites":33,"speed":0,"hex_longitude":"2d170fc0","hex_latitude":"07226c78","is_valid_coordinates":true} 
[2026-08-02 18:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132624128001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339429390483456,"note":"Value kept but may cause issues"} 
[2026-08-02 18:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661757924397840384,"note":"Value kept but may cause issues"} 
[2026-08-02 18:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785674334000,"timestamp_ms":1785674334000,"timestamp_seconds":1785674334,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27bff30"} 
[2026-08-02 18:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:11: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-08-02 18:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-02 18:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132624128001,"66":12667,"20":206,"83":41984,"24":0,"16":10339429390483456,"45":1661757924397840384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132624128001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:11:40] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:11:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339429390483456,"km_value":10339429390483.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661757924397840384,"description":"Unknown IO ID 45"} 
[2026-08-02 18:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132624128001,"power":12667,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661757924397840384}} 
[2026-08-02 18:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":146729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:11:40] local.INFO: GPS data processed {"connection_id":146729,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:11:40] local.INFO: Acknowledgment sent {"connection_id":146729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:12:02] local.INFO: TCP Data received {"connection_id":146962,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:12:02] local.INFO: Processing buffer {"connection_id":146962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:12:02] local.INFO: Packet analysis {"connection_id":146962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:12:02] local.INFO: Extracted packet for processing {"connection_id":146962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:12:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132557568001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:12:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785674354000,"timestamp_ms":1785674354000,"timestamp_seconds":1785674354,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27c4d50"} 
[2026-08-02 18:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132557568001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132557568001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:12:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:12:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:12:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132557568001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":146962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:12:02] local.INFO: GPS data processed {"connection_id":146962,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:12:02] local.INFO: Acknowledgment sent {"connection_id":146962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:12:11] local.INFO: TCP Data received {"connection_id":146729,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27c5138012d170fc007226c780089010921..."} 
[2026-08-02 18:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27c5138012d170fc007226c780089010921..."} 
[2026-08-02 18:12:11] local.INFO: Processing buffer {"connection_id":146729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27c5138012d170fc007226c780089010921..."} 
[2026-08-02 18:12:11] local.INFO: Packet analysis {"connection_id":146729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:12:11] local.INFO: Extracted packet for processing {"connection_id":146729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:12:11] local.INFO: GPS Element Parsed {"raw_longitude":756486080,"raw_latitude":119696504,"longitude_deg":75.648608,"latitude_deg":11.9696504,"altitude":137,"angle":265,"satellites":33,"speed":0,"hex_longitude":"2d170fc0","hex_latitude":"07226c78","is_valid_coordinates":true} 
[2026-08-02 18:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132629504001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339429390483456,"note":"Value kept but may cause issues"} 
[2026-08-02 18:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661757924397840384,"note":"Value kept but may cause issues"} 
[2026-08-02 18:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785674355000,"timestamp_ms":1785674355000,"timestamp_seconds":1785674355,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27c5138"} 
[2026-08-02 18:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:12: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-08-02 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-02 18:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132629504001,"66":12613,"20":206,"83":41984,"24":0,"16":10339429390483456,"45":1661757924397840384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132629504001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:12:11] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:12:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339429390483456,"km_value":10339429390483.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661757924397840384,"description":"Unknown IO ID 45"} 
[2026-08-02 18:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132629504001,"power":12613,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661757924397840384}} 
[2026-08-02 18:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":146729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:12:11] local.INFO: GPS data processed {"connection_id":146729,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:12:11] local.INFO: Acknowledgment sent {"connection_id":146729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:12:24] local.INFO: TCP Data received {"connection_id":146963,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:12:24] local.INFO: Processing buffer {"connection_id":146963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:12:24] local.INFO: IMEI packet received {"connection_id":146963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":146963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:12:29] local.INFO: TCP Data received {"connection_id":146963,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:12:29] local.INFO: Processing buffer {"connection_id":146963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:12:29] local.INFO: IMEI packet received {"connection_id":146963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":146963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:12:29] local.INFO: TCP Data received {"connection_id":149302,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:12:29] local.INFO: Processing buffer {"connection_id":149302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:12:29] local.INFO: IMEI packet received {"connection_id":149302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":149302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:12:30] local.INFO: TCP Data received {"connection_id":146963,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:12:30] local.INFO: Processing buffer {"connection_id":146963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:12:30] local.INFO: Packet analysis {"connection_id":146963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:12:30] local.INFO: Extracted packet for processing {"connection_id":146963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:12:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132557568001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785674354000,"timestamp_ms":1785674354000,"timestamp_seconds":1785674354,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27c4d50"} 
[2026-08-02 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-08-02 18:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132557568001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132557568001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:12:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:12:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132557568001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":146963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:12:30] local.INFO: GPS data processed {"connection_id":146963,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:12:30] local.INFO: Acknowledgment sent {"connection_id":146963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:12:34] local.INFO: TCP Data received {"connection_id":149302,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:12:34] local.INFO: Processing buffer {"connection_id":149302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:12:34] local.INFO: IMEI packet received {"connection_id":149302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":149302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:12:35] local.INFO: TCP Data received {"connection_id":149302,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27c5908012d170e4007226940009100b622..."} 
[2026-08-02 18:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27c5908012d170e4007226940009100b622..."} 
[2026-08-02 18:12:35] local.INFO: Processing buffer {"connection_id":149302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27c5908012d170e4007226940009100b622..."} 
[2026-08-02 18:12:35] local.INFO: Packet analysis {"connection_id":149302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:12:35] local.INFO: Extracted packet for processing {"connection_id":149302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695680,"longitude_deg":75.6485696,"latitude_deg":11.969568,"altitude":145,"angle":182,"satellites":34,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226940","is_valid_coordinates":true} 
[2026-08-02 18:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132634880001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661757924397840384,"note":"Value kept but may cause issues"} 
[2026-08-02 18:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785674357000,"timestamp_ms":1785674357000,"timestamp_seconds":1785674357,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27c5908"} 
[2026-08-02 18:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-02 18:12: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-08-02 18:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132634880001,"66":12591,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661757924397840384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132634880001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:12:35] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661757924397840384,"description":"Unknown IO ID 45"} 
[2026-08-02 18:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132634880001,"power":12591,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661757924397840384}} 
[2026-08-02 18:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":149302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:12:35] local.INFO: GPS data processed {"connection_id":149302,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:12:35] local.INFO: Acknowledgment sent {"connection_id":149302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:13:02] local.INFO: TCP Data received {"connection_id":146963,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:13:02] local.INFO: Processing buffer {"connection_id":146963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:13:02] local.INFO: Packet analysis {"connection_id":146963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:13:02] local.INFO: Extracted packet for processing {"connection_id":146963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:13:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132557568001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785674354000,"timestamp_ms":1785674354000,"timestamp_seconds":1785674354,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27c4d50"} 
[2026-08-02 18:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132557568001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132557568001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:13:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:13:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:13:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132557568001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":146963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:13:02] local.INFO: GPS data processed {"connection_id":146963,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:13:02] local.INFO: Acknowledgment sent {"connection_id":146963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:13:06] local.INFO: TCP Data received {"connection_id":149302,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27cab10012d170e4007226930009100b622..."} 
[2026-08-02 18:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27cab10012d170e4007226930009100b622..."} 
[2026-08-02 18:13:06] local.INFO: Processing buffer {"connection_id":149302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27cab10012d170e4007226930009100b622..."} 
[2026-08-02 18:13:06] local.INFO: Packet analysis {"connection_id":149302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:13:06] local.INFO: Extracted packet for processing {"connection_id":149302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":34,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132635392001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932563456,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785674378000,"timestamp_ms":1785674378000,"timestamp_seconds":1785674378,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27cab10"} 
[2026-08-02 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-08-02 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 18:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132635392001,"66":12548,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932563456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132635392001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:13:06] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932563456,"description":"Unknown IO ID 45"} 
[2026-08-02 18:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132635392001,"power":12548,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932563456}} 
[2026-08-02 18:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":149302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:13:06] local.INFO: GPS data processed {"connection_id":149302,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:13:06] local.INFO: Acknowledgment sent {"connection_id":149302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:13:23] local.INFO: TCP Data received {"connection_id":146730,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:13:23] local.INFO: Processing buffer {"connection_id":146730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:13:23] local.INFO: IMEI packet received {"connection_id":146730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":146730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:13:28] local.INFO: TCP Data received {"connection_id":146730,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:13:28] local.INFO: Processing buffer {"connection_id":146730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:13:28] local.INFO: IMEI packet received {"connection_id":146730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":146730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:13:29] local.INFO: TCP Data received {"connection_id":147995,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:13:29] local.INFO: Processing buffer {"connection_id":147995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:13:29] local.INFO: IMEI packet received {"connection_id":147995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":147995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:13:29] local.INFO: TCP Data received {"connection_id":146730,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:13:29] local.INFO: Processing buffer {"connection_id":146730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:13:29] local.INFO: Packet analysis {"connection_id":146730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:13:29] local.INFO: Extracted packet for processing {"connection_id":146730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:13:29] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132557568001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785674354000,"timestamp_ms":1785674354000,"timestamp_seconds":1785674354,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27c4d50"} 
[2026-08-02 18:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132557568001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132557568001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:13:29] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:13:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132557568001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":146730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:13:29] local.INFO: GPS data processed {"connection_id":146730,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:13:29] local.INFO: Acknowledgment sent {"connection_id":146730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:13:34] local.INFO: TCP Data received {"connection_id":147995,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:13:34] local.INFO: Processing buffer {"connection_id":147995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:13:34] local.INFO: IMEI packet received {"connection_id":147995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":147995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:13:35] local.INFO: TCP Data received {"connection_id":147995,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27cfd18012d170e4007226930009100b626..."} 
[2026-08-02 18:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27cfd18012d170e4007226930009100b626..."} 
[2026-08-02 18:13:35] local.INFO: Processing buffer {"connection_id":147995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27cfd18012d170e4007226930009100b626..."} 
[2026-08-02 18:13:35] local.INFO: Packet analysis {"connection_id":147995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:13:35] local.INFO: Extracted packet for processing {"connection_id":147995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":38,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 18:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132640768001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785674399000,"timestamp_ms":1785674399000,"timestamp_seconds":1785674399,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27cfd18"} 
[2026-08-02 18:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 18:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:35] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3262843160,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712586958,"corrected_to":0} 
[2026-08-02 18:13:35] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3221693036,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:35] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748902,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:35] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3148349440,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:35] local.WARNING: Large IO value detected {"io_id":102,"raw_value":1441378739387635712,"note":"Value kept but may cause issues"} 
[2026-08-02 18:13:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,20,83,24,241,157,16,187,159,89,45,64,105,145,34,10,66,81,192,108,137,33,255,1,240,123,227,194,4,113,205,91,15,120,37,239,49,2,36,7,102],"length":485,"final_offset":615,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1712586958,"validated":0}]} 
[2026-08-02 18:13:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-7998192681064857600,"timestamp_seconds":-7998192681064858.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 18:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132640768001,"66":12548,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132640768001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:13:35] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132640768001,"power":12548,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":147995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:13:35] local.INFO: GPS data processed {"connection_id":147995,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:13:35] local.INFO: Acknowledgment sent {"connection_id":147995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:14:01] local.INFO: TCP Data received {"connection_id":146730,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:14:01] local.INFO: Processing buffer {"connection_id":146730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:14:01] local.INFO: Packet analysis {"connection_id":146730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:14:01] local.INFO: Extracted packet for processing {"connection_id":146730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:14:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18: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-08-02 18:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132557568001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785674354000,"timestamp_ms":1785674354000,"timestamp_seconds":1785674354,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27c4d50"} 
[2026-08-02 18:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18: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-08-02 18:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132557568001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132557568001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:14:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:14:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:14:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132557568001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":146730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:14:01] local.INFO: GPS data processed {"connection_id":146730,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:14:01] local.INFO: Acknowledgment sent {"connection_id":146730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:14:06] local.INFO: TCP Data received {"connection_id":147995,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27d4f20012d170e4007226930009100b627..."} 
[2026-08-02 18:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27d4f20012d170e4007226930009100b627..."} 
[2026-08-02 18:14:06] local.INFO: Processing buffer {"connection_id":147995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27d4f20012d170e4007226930009100b627..."} 
[2026-08-02 18:14:06] local.INFO: Packet analysis {"connection_id":147995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27d"} 
[2026-08-02 18:14:06] local.INFO: Extracted packet for processing {"connection_id":147995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27d"} 
[2026-08-02 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":39,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132646144001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785674420000,"timestamp_ms":1785674420000,"timestamp_seconds":1785674420,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27d4f20"} 
[2026-08-02 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-08-02 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-08-02 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-02 18:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:06] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3262864160,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712586958,"corrected_to":0} 
[2026-08-02 18:14:06] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3221693036,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:06] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847654,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3148349440,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:06] local.WARNING: Large IO value detected {"io_id":102,"raw_value":1441378739387635712,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,20,83,24,241,157,16,187,159,171,45,64,105,145,34,10,66,89,81,192,1,240,69,227,194,4,113,205,173,15,120,37,239,49,2,36,7,137,102],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1712586958,"validated":0}]} 
[2026-08-02 18:14:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-7998192663884988416,"timestamp_seconds":-7998192663884988.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 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-08-02 18:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132646144001,"66":12504,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132646144001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:14:06] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132646144001,"power":12504,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":147995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:14:06] local.INFO: GPS data processed {"connection_id":147995,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:14:06] local.INFO: Acknowledgment sent {"connection_id":147995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:14:23] local.INFO: TCP Data received {"connection_id":149303,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:14:23] local.INFO: Processing buffer {"connection_id":149303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:14:23] local.INFO: IMEI packet received {"connection_id":149303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":149303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:14:28] local.INFO: TCP Data received {"connection_id":146731,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:14:28] local.INFO: Processing buffer {"connection_id":146731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:14:28] local.INFO: IMEI packet received {"connection_id":146731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":146731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:14:29] local.INFO: TCP Data received {"connection_id":149303,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:14:29] local.INFO: Processing buffer {"connection_id":149303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:14:29] local.INFO: IMEI packet received {"connection_id":149303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":149303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:14:29] local.INFO: TCP Data received {"connection_id":146731,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:14:29] local.INFO: Processing buffer {"connection_id":146731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:14:29] local.INFO: IMEI packet received {"connection_id":146731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":146731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:14:30] local.INFO: TCP Data received {"connection_id":149303,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:14:30] local.INFO: Processing buffer {"connection_id":149303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27c4d50012cc330c007685958005800c52a..."} 
[2026-08-02 18:14:30] local.INFO: Packet analysis {"connection_id":149303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:14:30] local.INFO: Extracted packet for processing {"connection_id":149303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27c"} 
[2026-08-02 18:14:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132557568001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785674354000,"timestamp_ms":1785674354000,"timestamp_seconds":1785674354,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27c4d50"} 
[2026-08-02 18:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 18:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132557568001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132557568001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:14:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:14:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132557568001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":149303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:14:30] local.INFO: GPS data processed {"connection_id":149303,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:14:30] local.INFO: Acknowledgment sent {"connection_id":149303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:14:34] local.INFO: TCP Data received {"connection_id":146731,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:14:34] local.INFO: Processing buffer {"connection_id":146731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:14:34] local.INFO: IMEI packet received {"connection_id":146731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":146731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:14:35] local.INFO: TCP Data received {"connection_id":146731,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27da128012d170e4007226930009100b626..."} 
[2026-08-02 18:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27da128012d170e4007226930009100b626..."} 
[2026-08-02 18:14:35] local.INFO: Processing buffer {"connection_id":146731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27da128012d170e4007226930009100b626..."} 
[2026-08-02 18:14:35] local.INFO: Packet analysis {"connection_id":146731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27d"} 
[2026-08-02 18:14:35] local.INFO: Extracted packet for processing {"connection_id":146731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27d"} 
[2026-08-02 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":38,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 18:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132651520001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785674441000,"timestamp_ms":1785674441000,"timestamp_seconds":1785674441,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27da128"} 
[2026-08-02 18:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 18:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132651520001,"66":12504,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132651520001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:14:35] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132651520001,"power":12504,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":146731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:14:35] local.INFO: GPS data processed {"connection_id":146731,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:14:35] local.INFO: Acknowledgment sent {"connection_id":146731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:15:01] local.INFO: TCP Data received {"connection_id":149303,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:15:01] local.INFO: Processing buffer {"connection_id":149303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:15:01] local.INFO: Packet analysis {"connection_id":149303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:15:01] local.INFO: Extracted packet for processing {"connection_id":149303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:15:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132634624001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:15:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785674655000,"timestamp_ms":1785674655000,"timestamp_seconds":1785674655,"priority":1,"record_length":96,"hex_timestamp":"0000019fc280e518"} 
[2026-08-02 18:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132634624001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132634624001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:15:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:15:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:15:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132634624001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":149303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:15:01] local.INFO: GPS data processed {"connection_id":149303,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:15:01] local.INFO: Acknowledgment sent {"connection_id":149303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:15:06] local.INFO: TCP Data received {"connection_id":146731,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27df330012d170e4007226930009100b624..."} 
[2026-08-02 18:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27df330012d170e4007226930009100b624..."} 
[2026-08-02 18:15:06] local.INFO: Processing buffer {"connection_id":146731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27df330012d170e4007226930009100b624..."} 
[2026-08-02 18:15:06] local.INFO: Packet analysis {"connection_id":146731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27d"} 
[2026-08-02 18:15:06] local.INFO: Extracted packet for processing {"connection_id":146731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27d"} 
[2026-08-02 18:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":36,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 18:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132656896001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785674462000,"timestamp_ms":1785674462000,"timestamp_seconds":1785674462,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27df330"} 
[2026-08-02 18:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 18:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132656896001,"66":12428,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132656896001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:15:06] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132656896001,"power":12428,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":146731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:15:06] local.INFO: GPS data processed {"connection_id":146731,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:15:06] local.INFO: Acknowledgment sent {"connection_id":146731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:15:29] local.INFO: TCP Data received {"connection_id":147996,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:15:29] local.INFO: Processing buffer {"connection_id":147996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:15:29] local.INFO: IMEI packet received {"connection_id":147996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":147996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:15:29] local.INFO: TCP Data received {"connection_id":149304,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:15:29] local.INFO: Processing buffer {"connection_id":149304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:15:29] local.INFO: IMEI packet received {"connection_id":149304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":149304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:15:31] local.INFO: TCP Data received {"connection_id":147996,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:15:31] local.INFO: Processing buffer {"connection_id":147996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:15:31] local.INFO: IMEI packet received {"connection_id":147996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":147996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:15:34] local.INFO: TCP Data received {"connection_id":149304,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:15:34] local.INFO: Processing buffer {"connection_id":149304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:15:34] local.INFO: IMEI packet received {"connection_id":149304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":149304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:15:34] local.INFO: TCP Data received {"connection_id":147996,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:15:34] local.INFO: Processing buffer {"connection_id":147996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:15:34] local.INFO: IMEI packet received {"connection_id":147996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":147996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:15:35] local.INFO: TCP Data received {"connection_id":147996,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27e4538012d170e4007226930009100b626..."} 
[2026-08-02 18:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27e4538012d170e4007226930009100b626..."} 
[2026-08-02 18:15:35] local.INFO: Processing buffer {"connection_id":147996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27e4538012d170e4007226930009100b626..."} 
[2026-08-02 18:15:35] local.INFO: Packet analysis {"connection_id":147996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27e"} 
[2026-08-02 18:15:35] local.INFO: Extracted packet for processing {"connection_id":147996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27e"} 
[2026-08-02 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":38,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 18:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132662272001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785674483000,"timestamp_ms":1785674483000,"timestamp_seconds":1785674483,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27e4538"} 
[2026-08-02 18:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-02 18:15: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-08-02 18:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132662272001,"66":12461,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132662272001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:15:35] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:15:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132662272001,"power":12461,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":147996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:15:35] local.INFO: GPS data processed {"connection_id":147996,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:15:35] local.INFO: Acknowledgment sent {"connection_id":147996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:15:35] local.INFO: TCP Data received {"connection_id":149304,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:15:35] local.INFO: Processing buffer {"connection_id":149304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:15:35] local.INFO: Packet analysis {"connection_id":149304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:15:35] local.INFO: Extracted packet for processing {"connection_id":149304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132634624001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:15:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785674655000,"timestamp_ms":1785674655000,"timestamp_seconds":1785674655,"priority":1,"record_length":96,"hex_timestamp":"0000019fc280e518"} 
[2026-08-02 18:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132634624001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132634624001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:15:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:15:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:15:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132634624001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":149304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:15:35] local.INFO: GPS data processed {"connection_id":149304,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:15:35] local.INFO: Acknowledgment sent {"connection_id":149304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:16:06] local.INFO: TCP Data received {"connection_id":147996,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27e9740012d170e4007226930009100b629..."} 
[2026-08-02 18:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27e9740012d170e4007226930009100b629..."} 
[2026-08-02 18:16:06] local.INFO: Processing buffer {"connection_id":147996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27e9740012d170e4007226930009100b629..."} 
[2026-08-02 18:16:06] local.INFO: Packet analysis {"connection_id":147996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27e"} 
[2026-08-02 18:16:06] local.INFO: Extracted packet for processing {"connection_id":147996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27e"} 
[2026-08-02 18:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":41,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 18:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132667648001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785674504000,"timestamp_ms":1785674504000,"timestamp_seconds":1785674504,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27e9740"} 
[2026-08-02 18:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 18:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132667648001,"66":12461,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132667648001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:16:06] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132667648001,"power":12461,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":147996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:16:06] local.INFO: GPS data processed {"connection_id":147996,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:16:06] local.INFO: Acknowledgment sent {"connection_id":147996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:16:07] local.INFO: TCP Data received {"connection_id":149304,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:16:07] local.INFO: Processing buffer {"connection_id":149304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:16:07] local.INFO: Packet analysis {"connection_id":149304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:16:07] local.INFO: Extracted packet for processing {"connection_id":149304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:16:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132634624001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:16:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785674655000,"timestamp_ms":1785674655000,"timestamp_seconds":1785674655,"priority":1,"record_length":96,"hex_timestamp":"0000019fc280e518"} 
[2026-08-02 18:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:16: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-08-02 18:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132634624001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132634624001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:16:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:16:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:16:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132634624001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":149304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:16:08] local.INFO: GPS data processed {"connection_id":149304,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:16:08] local.INFO: Acknowledgment sent {"connection_id":149304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:16:23] local.INFO: TCP Data received {"connection_id":146732,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:16:23] local.INFO: Processing buffer {"connection_id":146732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:16:23] local.INFO: IMEI packet received {"connection_id":146732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":146732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:16:29] local.INFO: TCP Data received {"connection_id":146732,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:16:29] local.INFO: Processing buffer {"connection_id":146732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:16:29] local.INFO: IMEI packet received {"connection_id":146732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":146732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:16:29] local.INFO: TCP Data received {"connection_id":149305,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:16:29] local.INFO: Processing buffer {"connection_id":149305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:16:29] local.INFO: IMEI packet received {"connection_id":149305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":149305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:16:32] local.INFO: TCP Data received {"connection_id":146732,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:16:32] local.INFO: Processing buffer {"connection_id":146732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:16:32] local.INFO: Packet analysis {"connection_id":146732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:16:32] local.INFO: Extracted packet for processing {"connection_id":146732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:16:32] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132634624001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:16:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785674655000,"timestamp_ms":1785674655000,"timestamp_seconds":1785674655,"priority":1,"record_length":96,"hex_timestamp":"0000019fc280e518"} 
[2026-08-02 18:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":146732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":146732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":146732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132634624001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132634624001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:16:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:16:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:16:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132634624001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":146732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:16:32] local.INFO: GPS data processed {"connection_id":146732,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:16:32] local.INFO: Acknowledgment sent {"connection_id":146732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:16:34] local.INFO: TCP Data received {"connection_id":149305,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:16:34] local.INFO: Processing buffer {"connection_id":149305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:16:34] local.INFO: IMEI packet received {"connection_id":149305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":149305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:16:35] local.INFO: TCP Data received {"connection_id":149305,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27ee948012d170e4007226930009100b625..."} 
[2026-08-02 18:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27ee948012d170e4007226930009100b625..."} 
[2026-08-02 18:16:35] local.INFO: Processing buffer {"connection_id":149305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27ee948012d170e4007226930009100b625..."} 
[2026-08-02 18:16:35] local.INFO: Packet analysis {"connection_id":149305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27e"} 
[2026-08-02 18:16:35] local.INFO: Extracted packet for processing {"connection_id":149305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27e"} 
[2026-08-02 18:16:35] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":37,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 18:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132673024001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785674525000,"timestamp_ms":1785674525000,"timestamp_seconds":1785674525,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27ee948"} 
[2026-08-02 18:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 18:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132673024001,"66":12461,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132673024001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:16:35] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:16:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132673024001,"power":12461,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":149305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:16:35] local.INFO: GPS data processed {"connection_id":149305,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:16:35] local.INFO: Acknowledgment sent {"connection_id":149305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:17:03] local.INFO: TCP Data received {"connection_id":146732,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:17:03] local.INFO: Processing buffer {"connection_id":146732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:17:03] local.INFO: Packet analysis {"connection_id":146732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:17:03] local.INFO: Extracted packet for processing {"connection_id":146732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:17:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132634624001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785674655000,"timestamp_ms":1785674655000,"timestamp_seconds":1785674655,"priority":1,"record_length":96,"hex_timestamp":"0000019fc280e518"} 
[2026-08-02 18:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132634624001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132634624001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:17:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:17:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:17:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132634624001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":146732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:17:03] local.INFO: GPS data processed {"connection_id":146732,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:17:03] local.INFO: Acknowledgment sent {"connection_id":146732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:17:06] local.INFO: TCP Data received {"connection_id":149305,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc27f3b50012d170e4007226930009100b624..."} 
[2026-08-02 18:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc27f3b50012d170e4007226930009100b624..."} 
[2026-08-02 18:17:06] local.INFO: Processing buffer {"connection_id":149305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc27f3b50012d170e4007226930009100b624..."} 
[2026-08-02 18:17:06] local.INFO: Packet analysis {"connection_id":149305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc27f"} 
[2026-08-02 18:17:06] local.INFO: Extracted packet for processing {"connection_id":149305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc27f"} 
[2026-08-02 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":36,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 18:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132678400001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785674546000,"timestamp_ms":1785674546000,"timestamp_seconds":1785674546,"priority":1,"record_length":96,"hex_timestamp":"0000019fc27f3b50"} 
[2026-08-02 18:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 18:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132678400001,"66":12428,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132678400001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:17:06] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132678400001,"power":12428,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":149305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:17:06] local.INFO: GPS data processed {"connection_id":149305,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:17:06] local.INFO: Acknowledgment sent {"connection_id":149305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:17:23] local.INFO: TCP Data received {"connection_id":149306,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:17:23] local.INFO: Processing buffer {"connection_id":149306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:17:23] local.INFO: IMEI packet received {"connection_id":149306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":149306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:17:29] local.INFO: TCP Data received {"connection_id":149306,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:17:29] local.INFO: Processing buffer {"connection_id":149306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:17:29] local.INFO: IMEI packet received {"connection_id":149306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":149306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:17:30] local.INFO: TCP Data received {"connection_id":149306,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:17:30] local.INFO: Processing buffer {"connection_id":149306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:17:30] local.INFO: Packet analysis {"connection_id":149306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:17:30] local.INFO: Extracted packet for processing {"connection_id":149306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:17:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132634624001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785674655000,"timestamp_ms":1785674655000,"timestamp_seconds":1785674655,"priority":1,"record_length":96,"hex_timestamp":"0000019fc280e518"} 
[2026-08-02 18:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132634624001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132634624001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:17:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:17:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132634624001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":149306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:17:30] local.INFO: GPS data processed {"connection_id":149306,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:17:30] local.INFO: Acknowledgment sent {"connection_id":149306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:17:34] local.INFO: TCP Data received {"connection_id":146734,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:17:34] local.INFO: Processing buffer {"connection_id":146734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:17:34] local.INFO: IMEI packet received {"connection_id":146734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":146734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:17:37] local.INFO: TCP Data received {"connection_id":146734,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:17:37] local.INFO: Processing buffer {"connection_id":146734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:17:37] local.INFO: IMEI packet received {"connection_id":146734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":146734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:17:37] local.INFO: TCP Data received {"connection_id":146734,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc282c1a8012d170e4007226930009100b621..."} 
[2026-08-02 18:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc282c1a8012d170e4007226930009100b621..."} 
[2026-08-02 18:17:37] local.INFO: Processing buffer {"connection_id":146734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc282c1a8012d170e4007226930009100b621..."} 
[2026-08-02 18:17:37] local.INFO: Packet analysis {"connection_id":146734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc282"} 
[2026-08-02 18:17:37] local.INFO: Extracted packet for processing {"connection_id":146734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc282"} 
[2026-08-02 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":33,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132737536001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785674777000,"timestamp_ms":1785674777000,"timestamp_seconds":1785674777,"priority":1,"record_length":96,"hex_timestamp":"0000019fc282c1a8"} 
[2026-08-02 18:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 18:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132737536001,"66":12341,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132737536001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:17:37] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132737536001,"power":12341,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":146734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:17:38] local.INFO: GPS data processed {"connection_id":146734,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:17:38] local.INFO: Acknowledgment sent {"connection_id":146734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:17:39] local.INFO: TCP Data received {"connection_id":146734,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28313b0012d170e4007226930009100b626..."} 
[2026-08-02 18:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28313b0012d170e4007226930009100b626..."} 
[2026-08-02 18:17:39] local.INFO: Processing buffer {"connection_id":146734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28313b0012d170e4007226930009100b626..."} 
[2026-08-02 18:17:39] local.INFO: Packet analysis {"connection_id":146734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc283"} 
[2026-08-02 18:17:39] local.INFO: Extracted packet for processing {"connection_id":146734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc283"} 
[2026-08-02 18:17:39] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":38,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 18:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132742912001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785674798000,"timestamp_ms":1785674798000,"timestamp_seconds":1785674798,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28313b0"} 
[2026-08-02 18:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 18:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132742912001,"66":12156,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132742912001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:17:39] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:17:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132742912001,"power":12156,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":146734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:17:39] local.INFO: GPS data processed {"connection_id":146734,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:17:39] local.INFO: Acknowledgment sent {"connection_id":146734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:18:01] local.INFO: TCP Data received {"connection_id":149306,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:18:01] local.INFO: Processing buffer {"connection_id":149306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:18:01] local.INFO: Packet analysis {"connection_id":149306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:18:01] local.INFO: Extracted packet for processing {"connection_id":149306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:18:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132634624001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785674655000,"timestamp_ms":1785674655000,"timestamp_seconds":1785674655,"priority":1,"record_length":96,"hex_timestamp":"0000019fc280e518"} 
[2026-08-02 18:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132634624001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132634624001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:18:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:18:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:18:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132634624001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":149306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:18:01] local.INFO: GPS data processed {"connection_id":149306,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:18:01] local.INFO: Acknowledgment sent {"connection_id":149306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:18:10] local.INFO: TCP Data received {"connection_id":146734,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28365b8012d170e4007226930009100b627..."} 
[2026-08-02 18:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28365b8012d170e4007226930009100b627..."} 
[2026-08-02 18:18:10] local.INFO: Processing buffer {"connection_id":146734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28365b8012d170e4007226930009100b627..."} 
[2026-08-02 18:18:10] local.INFO: Packet analysis {"connection_id":146734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc283"} 
[2026-08-02 18:18:10] local.INFO: Extracted packet for processing {"connection_id":146734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc283"} 
[2026-08-02 18:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":39,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132748288001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785674819000,"timestamp_ms":1785674819000,"timestamp_seconds":1785674819,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28365b8"} 
[2026-08-02 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-08-02 18:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-02 18:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132748288001,"66":12298,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132748288001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:18:10] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132748288001,"power":12298,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":146734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:18:10] local.INFO: GPS data processed {"connection_id":146734,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:18:10] local.INFO: Acknowledgment sent {"connection_id":146734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:18:29] local.INFO: TCP Data received {"connection_id":146735,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:18:29] local.INFO: Processing buffer {"connection_id":146735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:18:29] local.INFO: IMEI packet received {"connection_id":146735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":146735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:18:29] local.INFO: TCP Data received {"connection_id":147997,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:18:29] local.INFO: Processing buffer {"connection_id":147997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:18:29] local.INFO: IMEI packet received {"connection_id":147997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":147997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:18:34] local.INFO: TCP Data received {"connection_id":146735,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:18:34] local.INFO: Processing buffer {"connection_id":146735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:18:34] local.INFO: IMEI packet received {"connection_id":146735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":146735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:18:34] local.INFO: TCP Data received {"connection_id":147997,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:18:34] local.INFO: Processing buffer {"connection_id":147997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:18:34] local.INFO: IMEI packet received {"connection_id":147997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":147997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:18:35] local.INFO: TCP Data received {"connection_id":146735,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:18:35] local.INFO: Processing buffer {"connection_id":146735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:18:35] local.INFO: Packet analysis {"connection_id":146735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:18:35] local.INFO: Extracted packet for processing {"connection_id":146735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:18:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132634624001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785674655000,"timestamp_ms":1785674655000,"timestamp_seconds":1785674655,"priority":1,"record_length":96,"hex_timestamp":"0000019fc280e518"} 
[2026-08-02 18:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132634624001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132634624001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:18:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:18:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:18:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132634624001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:18:35] local.INFO: TCP Data received {"connection_id":147997,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc283b7c0012d170e4007226930009100b627..."} 
[2026-08-02 18:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc283b7c0012d170e4007226930009100b627..."} 
[2026-08-02 18:18:35] local.INFO: Processing buffer {"connection_id":147997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc283b7c0012d170e4007226930009100b627..."} 
[2026-08-02 18:18:35] local.INFO: Packet analysis {"connection_id":147997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc283"} 
[2026-08-02 18:18:35] local.INFO: Extracted packet for processing {"connection_id":147997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc283"} 
[2026-08-02 18:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":39,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 18:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132753664001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785674840000,"timestamp_ms":1785674840000,"timestamp_seconds":1785674840,"priority":1,"record_length":96,"hex_timestamp":"0000019fc283b7c0"} 
[2026-08-02 18:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":187,"raw_value":-5620492334958379007,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4431217127626828018,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":64,"raw_value":514088962362507446,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":145,"raw_value":51270227203194880,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145768530126,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2182977537,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712586958,"corrected_to":0} 
[2026-08-02 18:18:35] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2415996183,"corrected_to":0} 
[2026-08-02 18:18:35] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3149004800,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:35] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,20,83,24,241,157,16,187,159,19,45,64,105,145,38,10,66,193,33,111,1,240,53,227,194,34,4,113,205,203,14,48,35,239,2,36,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1712586958,"validated":0},{"io_id":203,"original":2415996183,"validated":0}]} 
[2026-08-02 18:18:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-7998192659590021120,"timestamp_seconds":-7998192659590021.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 18:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":146735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:18:35] local.INFO: GPS data processed {"connection_id":146735,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:18:35] local.INFO: Acknowledgment sent {"connection_id":146735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132753664001,"66":12298,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132753664001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:18:35] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:18:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132753664001,"power":12298,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":147997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:18:35] local.INFO: GPS data processed {"connection_id":147997,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:18:35] local.INFO: Acknowledgment sent {"connection_id":147997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:18:39] local.INFO: TCP Data received {"connection_id":146735,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:18:39] local.INFO: Processing buffer {"connection_id":146735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:18:39] local.INFO: Packet analysis {"connection_id":146735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:18:39] local.INFO: Extracted packet for processing {"connection_id":146735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:18:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132634624001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785674655000,"timestamp_ms":1785674655000,"timestamp_seconds":1785674655,"priority":1,"record_length":96,"hex_timestamp":"0000019fc280e518"} 
[2026-08-02 18:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:18: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-08-02 18: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":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132634624001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132634624001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:18:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:18:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:18:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132634624001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":146735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:18:39] local.INFO: GPS data processed {"connection_id":146735,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:18:39] local.INFO: Acknowledgment sent {"connection_id":146735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:19:08] local.INFO: TCP Data received {"connection_id":147997,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28409c8012d170e4007226930009100b624..."} 
[2026-08-02 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28409c8012d170e4007226930009100b624..."} 
[2026-08-02 18:19:08] local.INFO: Processing buffer {"connection_id":147997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28409c8012d170e4007226930009100b624..."} 
[2026-08-02 18:19:08] local.INFO: Packet analysis {"connection_id":147997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc284"} 
[2026-08-02 18:19:08] local.INFO: Extracted packet for processing {"connection_id":147997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc284"} 
[2026-08-02 18:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":36,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 18: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-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132759040001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785674861000,"timestamp_ms":1785674861000,"timestamp_seconds":1785674861,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28409c8"} 
[2026-08-02 18:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":187,"raw_value":-5620492334958379007,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4431126933313612018,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":64,"raw_value":514088962362507446,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":145,"raw_value":51266928668311552,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068468742357198,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2188353537,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712586958,"corrected_to":0} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2550213911,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3149004800,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:08] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,20,83,24,241,157,16,187,159,101,45,64,105,145,39,10,66,19,38,193,1,240,53,227,194,34,4,113,205,29,14,48,40,239,2,36,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1712586958,"validated":0}]} 
[2026-08-02 18:19:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-7998192659590021120,"timestamp_seconds":-7998192659590021.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 18:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132759040001,"66":12287,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132759040001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:19:08] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132759040001,"power":12287,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":147997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:19:09] local.INFO: GPS data processed {"connection_id":147997,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:19:09] local.INFO: Acknowledgment sent {"connection_id":147997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:19:25] local.INFO: TCP Data received {"connection_id":146736,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:19:25] local.INFO: Processing buffer {"connection_id":146736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:19:25] local.INFO: IMEI packet received {"connection_id":146736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":146736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:19:29] local.INFO: TCP Data received {"connection_id":146736,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:19:29] local.INFO: Processing buffer {"connection_id":146736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:19:29] local.INFO: IMEI packet received {"connection_id":146736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":146736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:19:29] local.INFO: TCP Data received {"connection_id":146737,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:19:29] local.INFO: Processing buffer {"connection_id":146737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:19:29] local.INFO: IMEI packet received {"connection_id":146737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":146737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:19:30] local.INFO: TCP Data received {"connection_id":146736,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:19:30] local.INFO: Processing buffer {"connection_id":146736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:19:30] local.INFO: Packet analysis {"connection_id":146736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:19:30] local.INFO: Extracted packet for processing {"connection_id":146736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:19:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132634624001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785674655000,"timestamp_ms":1785674655000,"timestamp_seconds":1785674655,"priority":1,"record_length":96,"hex_timestamp":"0000019fc280e518"} 
[2026-08-02 18:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132634624001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132634624001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:19:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:19:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132634624001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":146736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:19:30] local.INFO: GPS data processed {"connection_id":146736,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:19:30] local.INFO: Acknowledgment sent {"connection_id":146736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:19:34] local.INFO: TCP Data received {"connection_id":146737,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:19:34] local.INFO: Processing buffer {"connection_id":146737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:19:34] local.INFO: IMEI packet received {"connection_id":146737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":146737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:19:34] local.INFO: TCP Data received {"connection_id":146736,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:19:34] local.INFO: Processing buffer {"connection_id":146736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc280e518012cc330c007685958005800c52d..."} 
[2026-08-02 18:19:34] local.INFO: Packet analysis {"connection_id":146736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:19:34] local.INFO: Extracted packet for processing {"connection_id":146736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc280"} 
[2026-08-02 18:19:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132634624001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785674655000,"timestamp_ms":1785674655000,"timestamp_seconds":1785674655,"priority":1,"record_length":96,"hex_timestamp":"0000019fc280e518"} 
[2026-08-02 18:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132634624001,"66":25451,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132634624001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:19:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:19:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:19:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132634624001,"power":25451,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":146736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:19:34] local.INFO: GPS data processed {"connection_id":146736,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:19:34] local.INFO: Acknowledgment sent {"connection_id":146736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:19:35] local.INFO: TCP Data received {"connection_id":146737,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2845bd0012d170e4007226930009100b61e..."} 
[2026-08-02 18:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2845bd0012d170e4007226930009100b61e..."} 
[2026-08-02 18:19:35] local.INFO: Processing buffer {"connection_id":146737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2845bd0012d170e4007226930009100b61e..."} 
[2026-08-02 18:19:35] local.INFO: Packet analysis {"connection_id":146737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc284"} 
[2026-08-02 18:19:35] local.INFO: Extracted packet for processing {"connection_id":146737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc284"} 
[2026-08-02 18:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":30,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 18:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132764416001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785674882000,"timestamp_ms":1785674882000,"timestamp_seconds":1785674882,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2845bd0"} 
[2026-08-02 18:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 18:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132764416001,"66":12298,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132764416001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:19:35] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132764416001,"power":12298,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":146737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:19:35] local.INFO: GPS data processed {"connection_id":146737,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:19:35] local.INFO: Acknowledgment sent {"connection_id":146737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:20:06] local.INFO: TCP Data received {"connection_id":146737,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc284add8012d170e4007226930009100b61e..."} 
[2026-08-02 18:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc284add8012d170e4007226930009100b61e..."} 
[2026-08-02 18:20:06] local.INFO: Processing buffer {"connection_id":146737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc284add8012d170e4007226930009100b61e..."} 
[2026-08-02 18:20:06] local.INFO: Packet analysis {"connection_id":146737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc284"} 
[2026-08-02 18:20:06] local.INFO: Extracted packet for processing {"connection_id":146737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc284"} 
[2026-08-02 18:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":30,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132769792001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785674903000,"timestamp_ms":1785674903000,"timestamp_seconds":1785674903,"priority":1,"record_length":96,"hex_timestamp":"0000019fc284add8"} 
[2026-08-02 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-08-02 18:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":187,"raw_value":-5620492334958379007,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4430946544687180018,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":64,"raw_value":514088962362507446,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":145,"raw_value":51269127691567104,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3149004800,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569767088334,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2199105537,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712586958,"corrected_to":0} 
[2026-08-02 18:20:06] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2818649367,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,20,83,24,241,157,16,187,159,9,45,64,105,145,36,10,66,183,39,101,1,240,227,194,34,4,113,205,193,14,48,33,239,2,7,40],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1712586958,"validated":0}]} 
[2026-08-02 18:20:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-7998192698244726784,"timestamp_seconds":-7998192698244727.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 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-08-02 18:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132769792001,"66":12287,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132769792001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:20:06] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132769792001,"power":12287,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":146737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:20:06] local.INFO: GPS data processed {"connection_id":146737,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:20:06] local.INFO: Acknowledgment sent {"connection_id":146737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:20:07] local.INFO: TCP Data received {"connection_id":146736,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:20:07] local.INFO: Processing buffer {"connection_id":146736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:20:07] local.INFO: Packet analysis {"connection_id":146736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:20:07] local.INFO: Extracted packet for processing {"connection_id":146736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:20:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132711680001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785674956000,"timestamp_ms":1785674956000,"timestamp_seconds":1785674956,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2857ce0"} 
[2026-08-02 18:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:20: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-08-02 18: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":107,"data_length":795,"current_offset":136} 
[2026-08-02 18:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132711680001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132711680001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:20:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:20:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:20:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132711680001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":146736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:20:07] local.INFO: GPS data processed {"connection_id":146736,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:20:07] local.INFO: Acknowledgment sent {"connection_id":146736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:20:24] local.INFO: TCP Data received {"connection_id":147998,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:20:24] local.INFO: Processing buffer {"connection_id":147998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:20:24] local.INFO: IMEI packet received {"connection_id":147998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":147998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:20:29] local.INFO: TCP Data received {"connection_id":146738,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:20:29] local.INFO: Processing buffer {"connection_id":146738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:20:29] local.INFO: IMEI packet received {"connection_id":146738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":146738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:20:29] local.INFO: TCP Data received {"connection_id":147998,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:20:29] local.INFO: Processing buffer {"connection_id":147998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:20:29] local.INFO: IMEI packet received {"connection_id":147998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":147998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:20:30] local.INFO: TCP Data received {"connection_id":147998,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:20:30] local.INFO: Processing buffer {"connection_id":147998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:20:30] local.INFO: Packet analysis {"connection_id":147998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:20:30] local.INFO: Extracted packet for processing {"connection_id":147998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:20:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132711680001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785674956000,"timestamp_ms":1785674956000,"timestamp_seconds":1785674956,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2857ce0"} 
[2026-08-02 18:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 18:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132711680001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132711680001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:20:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:20:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132711680001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":147998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:20:30] local.INFO: GPS data processed {"connection_id":147998,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:20:30] local.INFO: Acknowledgment sent {"connection_id":147998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:20:34] local.INFO: TCP Data received {"connection_id":147998,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:20:34] local.INFO: Processing buffer {"connection_id":147998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:20:34] local.INFO: Packet analysis {"connection_id":147998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:20:34] local.INFO: Extracted packet for processing {"connection_id":147998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:20:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132711680001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785674956000,"timestamp_ms":1785674956000,"timestamp_seconds":1785674956,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2857ce0"} 
[2026-08-02 18:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 18:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132711680001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132711680001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:20:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:20:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:20:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132711680001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":147998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:20:34] local.INFO: GPS data processed {"connection_id":147998,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:20:34] local.INFO: Acknowledgment sent {"connection_id":147998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:20:37] local.INFO: TCP Data received {"connection_id":146738,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:20:37] local.INFO: Processing buffer {"connection_id":146738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:20:37] local.INFO: IMEI packet received {"connection_id":146738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":146738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:20:52] local.INFO: TCP Data received {"connection_id":146738,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc284ffe0012d170e4007226930009100b623..."} 
[2026-08-02 18:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc284ffe0012d170e4007226930009100b623..."} 
[2026-08-02 18:20:52] local.INFO: Processing buffer {"connection_id":146738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc284ffe0012d170e4007226930009100b623..."} 
[2026-08-02 18:20:52] local.INFO: Packet analysis {"connection_id":146738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc284"} 
[2026-08-02 18:20:52] local.INFO: Extracted packet for processing {"connection_id":146738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc284"} 
[2026-08-02 18:20:52] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":35,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 18:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132775168001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785674924000,"timestamp_ms":1785674924000,"timestamp_seconds":1785674924,"priority":1,"record_length":96,"hex_timestamp":"0000019fc284ffe0"} 
[2026-08-02 18:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 18:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132775168001,"66":12341,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132775168001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:20:52] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:20:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132775168001,"power":12341,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":146738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:20:52] local.INFO: GPS data processed {"connection_id":146738,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:20:52] local.INFO: Acknowledgment sent {"connection_id":146738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:20:53] local.INFO: TCP Data received {"connection_id":146738,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28551e8012d170e4007226930009100b623..."} 
[2026-08-02 18:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28551e8012d170e4007226930009100b623..."} 
[2026-08-02 18:20:53] local.INFO: Processing buffer {"connection_id":146738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28551e8012d170e4007226930009100b623..."} 
[2026-08-02 18:20:53] local.INFO: Packet analysis {"connection_id":146738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:20:53] local.INFO: Extracted packet for processing {"connection_id":146738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:20:53] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119695664,"longitude_deg":75.6485696,"latitude_deg":11.9695664,"altitude":145,"angle":182,"satellites":35,"speed":0,"hex_longitude":"2d170e40","hex_latitude":"07226930","is_valid_coordinates":true} 
[2026-08-02 18:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132780544001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339472340156416,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711932559360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785674945000,"timestamp_ms":1785674945000,"timestamp_seconds":1785674945,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28551e8"} 
[2026-08-02 18:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 18:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132780544001,"66":12428,"20":206,"83":41984,"24":0,"16":10339472340156416,"45":1661335711932559360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-02 18:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132780544001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:20:53] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-02 18:20:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339472340156416,"km_value":10339472340156.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711932559360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132780544001,"power":12428,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661335711932559360}} 
[2026-08-02 18:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":146738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:20:53] local.INFO: GPS data processed {"connection_id":146738,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:20:53] local.INFO: Acknowledgment sent {"connection_id":146738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:21:28] local.INFO: TCP Data received {"connection_id":147999,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:21:28] local.INFO: Processing buffer {"connection_id":147999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:21:28] local.INFO: IMEI packet received {"connection_id":147999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":147999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:21:31] local.INFO: TCP Data received {"connection_id":149307,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:21:31] local.INFO: Processing buffer {"connection_id":149307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:21:31] local.INFO: IMEI packet received {"connection_id":149307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":149307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:21:34] local.INFO: TCP Data received {"connection_id":149307,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:21:34] local.INFO: Processing buffer {"connection_id":149307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:21:34] local.INFO: IMEI packet received {"connection_id":149307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":149307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:21:35] local.INFO: TCP Data received {"connection_id":149307,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2869df0012d173a0007226d400085004926..."} 
[2026-08-02 18:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2869df0012d173a0007226d400085004926..."} 
[2026-08-02 18:21:35] local.INFO: Processing buffer {"connection_id":149307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2869df0012d173a0007226d400085004926..."} 
[2026-08-02 18:21:35] local.INFO: Packet analysis {"connection_id":149307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc286"} 
[2026-08-02 18:21:35] local.INFO: Extracted packet for processing {"connection_id":149307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc286"} 
[2026-08-02 18:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756496896,"raw_latitude":119696704,"longitude_deg":75.6496896,"latitude_deg":11.9696704,"altitude":133,"angle":73,"satellites":38,"speed":28,"hex_longitude":"2d173a00","hex_latitude":"07226d40","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132805376001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10340095110414336,"note":"Value kept but may cause issues"} 
[2026-08-02 18:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1667668898908522496,"note":"Value kept but may cause issues"} 
[2026-08-02 18:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785675030000,"timestamp_ms":1785675030000,"timestamp_seconds":1785675030,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2869df0"} 
[2026-08-02 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-08-02 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-08-02 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":28,"data_length":795,"current_offset":136} 
[2026-08-02 18:21: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-08-02 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-08-02 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-08-02 18:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132805376001,"66":13993,"105":206,"83":41984,"24":28,"16":10340095110414336,"45":1667668898908522496},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132805376001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:21:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10340095110414336,"km_value":10340095110414.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1667668898908522496,"description":"Unknown IO ID 45"} 
[2026-08-02 18:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132805376001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1667668898908522496}} 
[2026-08-02 18:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":149307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:21:35] local.INFO: GPS data processed {"connection_id":149307,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:21:35] local.INFO: Acknowledgment sent {"connection_id":149307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:21:37] local.INFO: TCP Data received {"connection_id":147999,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:21:37] local.INFO: Processing buffer {"connection_id":147999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:21:37] local.INFO: IMEI packet received {"connection_id":147999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":147999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:21:37] local.INFO: TCP Data received {"connection_id":147999,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:21:37] local.INFO: Processing buffer {"connection_id":147999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:21:37] local.INFO: IMEI packet received {"connection_id":147999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":147999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:21:38] local.INFO: TCP Data received {"connection_id":147999,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:21:38] local.INFO: Processing buffer {"connection_id":147999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:21:38] local.INFO: Packet analysis {"connection_id":147999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:21:38] local.INFO: Extracted packet for processing {"connection_id":147999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132711680001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:21:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785674956000,"timestamp_ms":1785674956000,"timestamp_seconds":1785674956,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2857ce0"} 
[2026-08-02 18:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:21: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-08-02 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 18:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132711680001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132711680001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:21:38] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:21:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:21:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132711680001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":147999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:21:38] local.INFO: GPS data processed {"connection_id":147999,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:21:38] local.INFO: Acknowledgment sent {"connection_id":147999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:21:43] local.INFO: TCP Data received {"connection_id":147999,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:21:43] local.INFO: Processing buffer {"connection_id":147999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:21:43] local.INFO: Packet analysis {"connection_id":147999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:21:43] local.INFO: Extracted packet for processing {"connection_id":147999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:21:43] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132711680001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:21:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785674956000,"timestamp_ms":1785674956000,"timestamp_seconds":1785674956,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2857ce0"} 
[2026-08-02 18:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:21: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-08-02 18: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":107,"data_length":795,"current_offset":136} 
[2026-08-02 18:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132711680001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132711680001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:21:43] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:21:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:21:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132711680001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":147999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:21:43] local.INFO: GPS data processed {"connection_id":147999,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:21:43] local.INFO: Acknowledgment sent {"connection_id":147999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:21:45] local.INFO: TCP Data received {"connection_id":147999,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:21:45] local.INFO: Processing buffer {"connection_id":147999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:21:45] local.INFO: Packet analysis {"connection_id":147999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:21:45] local.INFO: Extracted packet for processing {"connection_id":147999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:21:45] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132711680001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:21:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785674956000,"timestamp_ms":1785674956000,"timestamp_seconds":1785674956,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2857ce0"} 
[2026-08-02 18:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:21: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-08-02 18:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 18:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":147999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":147999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":147999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132711680001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132711680001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:21:45] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:21:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:21:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132711680001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":147999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:21:45] local.INFO: GPS data processed {"connection_id":147999,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:21:45] local.INFO: Acknowledgment sent {"connection_id":147999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:22:06] local.INFO: TCP Data received {"connection_id":149307,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2875970012d17618007224a300064007b27..."} 
[2026-08-02 18:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2875970012d17618007224a300064007b27..."} 
[2026-08-02 18:22:06] local.INFO: Processing buffer {"connection_id":149307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2875970012d17618007224a300064007b27..."} 
[2026-08-02 18:22:06] local.INFO: Packet analysis {"connection_id":149307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc287"} 
[2026-08-02 18:22:06] local.INFO: Extracted packet for processing {"connection_id":149307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc287"} 
[2026-08-02 18:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756507008,"raw_latitude":119687728,"longitude_deg":75.6507008,"latitude_deg":11.9687728,"altitude":100,"angle":123,"satellites":39,"speed":6,"hex_longitude":"2d176180","hex_latitude":"07224a30","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132819200001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10340906859233280,"note":"Value kept but may cause issues"} 
[2026-08-02 18:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684205553788315648,"note":"Value kept but may cause issues"} 
[2026-08-02 18:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785675078000,"timestamp_ms":1785675078000,"timestamp_seconds":1785675078,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2875970"} 
[2026-08-02 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-08-02 18:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-02 18:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132819200001,"66":13961,"105":206,"83":41984,"24":6,"16":10340906859233280,"45":1684205553788315648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132819200001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:22:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10340906859233280,"km_value":10340906859233.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684205553788315648,"description":"Unknown IO ID 45"} 
[2026-08-02 18:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132819200001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1684205553788315648}} 
[2026-08-02 18:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":149307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:22:06] local.INFO: GPS data processed {"connection_id":149307,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:22:06] local.INFO: Acknowledgment sent {"connection_id":149307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:22:23] local.INFO: TCP Data received {"connection_id":146739,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:22:23] local.INFO: Processing buffer {"connection_id":146739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:22:23] local.INFO: IMEI packet received {"connection_id":146739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":146739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:22:29] local.INFO: TCP Data received {"connection_id":146739,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:22:29] local.INFO: Processing buffer {"connection_id":146739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:22:29] local.INFO: IMEI packet received {"connection_id":146739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":146739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:22:29] local.INFO: TCP Data received {"connection_id":148000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:22:29] local.INFO: Processing buffer {"connection_id":148000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:22:29] local.INFO: IMEI packet received {"connection_id":148000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":148000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:22:30] local.INFO: TCP Data received {"connection_id":146739,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:22:30] local.INFO: Processing buffer {"connection_id":146739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:22:30] local.INFO: Packet analysis {"connection_id":146739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:22:30] local.INFO: Extracted packet for processing {"connection_id":146739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:22:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132711680001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785674956000,"timestamp_ms":1785674956000,"timestamp_seconds":1785674956,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2857ce0"} 
[2026-08-02 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-08-02 18:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 18:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132711680001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132711680001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:22:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:22:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132711680001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":146739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:22:30] local.INFO: GPS data processed {"connection_id":146739,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:22:30] local.INFO: Acknowledgment sent {"connection_id":146739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:22:32] local.INFO: TCP Data received {"connection_id":148000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:22:32] local.INFO: Processing buffer {"connection_id":148000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:22:32] local.INFO: IMEI packet received {"connection_id":148000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":148000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:22:36] local.INFO: TCP Data received {"connection_id":148000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:22:36] local.INFO: Processing buffer {"connection_id":148000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:22:36] local.INFO: IMEI packet received {"connection_id":148000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":148000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:22:36] local.INFO: TCP Data received {"connection_id":148000,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2876528012d1762c0072248d00062009a27..."} 
[2026-08-02 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2876528012d1762c0072248d00062009a27..."} 
[2026-08-02 18:22:36] local.INFO: Processing buffer {"connection_id":148000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2876528012d1762c0072248d00062009a27..."} 
[2026-08-02 18:22:36] local.INFO: Packet analysis {"connection_id":148000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc287"} 
[2026-08-02 18:22:36] local.INFO: Extracted packet for processing {"connection_id":148000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc287"} 
[2026-08-02 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756507328,"raw_latitude":119687376,"longitude_deg":75.6507328,"latitude_deg":11.9687376,"altitude":98,"angle":154,"satellites":39,"speed":5,"hex_longitude":"2d1762c0","hex_latitude":"072248d0","is_valid_coordinates":true} 
[2026-08-02 18:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132819968001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10340928334069760,"note":"Value kept but may cause issues"} 
[2026-08-02 18:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684768503741689856,"note":"Value kept but may cause issues"} 
[2026-08-02 18:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785675081000,"timestamp_ms":1785675081000,"timestamp_seconds":1785675081,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2876528"} 
[2026-08-02 18:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-02 18:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132819968001,"66":13972,"105":206,"83":41984,"24":5,"16":10340928334069760,"45":1684768503741689856},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132819968001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:22:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10340928334069760,"km_value":10340928334069.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684768503741689856,"description":"Unknown IO ID 45"} 
[2026-08-02 18:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132819968001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1684768503741689856}} 
[2026-08-02 18:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":148000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:22:36] local.INFO: GPS data processed {"connection_id":148000,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:22:36] local.INFO: Acknowledgment sent {"connection_id":148000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:23:02] local.INFO: TCP Data received {"connection_id":146739,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:23:02] local.INFO: Processing buffer {"connection_id":146739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:23:02] local.INFO: Packet analysis {"connection_id":146739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:23:02] local.INFO: Extracted packet for processing {"connection_id":146739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:23:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132711680001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785674956000,"timestamp_ms":1785674956000,"timestamp_seconds":1785674956,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2857ce0"} 
[2026-08-02 18:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 18:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132711680001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132711680001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:23:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:23:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:23:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132711680001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":146739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:23:02] local.INFO: GPS data processed {"connection_id":146739,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:23:02] local.INFO: Acknowledgment sent {"connection_id":146739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:23:07] local.INFO: TCP Data received {"connection_id":148000,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2876910012d1762c007224828006100a627..."} 
[2026-08-02 18:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2876910012d1762c007224828006100a627..."} 
[2026-08-02 18:23:07] local.INFO: Processing buffer {"connection_id":148000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2876910012d1762c007224828006100a627..."} 
[2026-08-02 18:23:07] local.INFO: Packet analysis {"connection_id":148000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc287"} 
[2026-08-02 18:23:07] local.INFO: Extracted packet for processing {"connection_id":148000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc287"} 
[2026-08-02 18:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756507328,"raw_latitude":119687208,"longitude_deg":75.6507328,"latitude_deg":11.9687208,"altitude":97,"angle":166,"satellites":39,"speed":7,"hex_longitude":"2d1762c0","hex_latitude":"07224828","is_valid_coordinates":true} 
[2026-08-02 18:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132820736001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10340936924004352,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1685120347462488064,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785675082000,"timestamp_ms":1785675082000,"timestamp_seconds":1785675082,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2876910"} 
[2026-08-02 18:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-02 18:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132820736001,"66":13993,"105":206,"83":41984,"24":7,"16":10340936924004352,"45":1685120347462488064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132820736001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:23:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10340936924004352,"km_value":10340936924004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1685120347462488064,"description":"Unknown IO ID 45"} 
[2026-08-02 18:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132820736001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1685120347462488064}} 
[2026-08-02 18:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":148000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:23:07] local.INFO: GPS data processed {"connection_id":148000,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:23:07] local.INFO: Acknowledgment sent {"connection_id":148000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:23:29] local.INFO: TCP Data received {"connection_id":148001,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:23:29] local.INFO: Processing buffer {"connection_id":148001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:23:29] local.INFO: IMEI packet received {"connection_id":148001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":148001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:23:29] local.INFO: TCP Data received {"connection_id":146965,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:23:29] local.INFO: Processing buffer {"connection_id":146965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:23:29] local.INFO: IMEI packet received {"connection_id":146965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":146965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:23:31] local.INFO: TCP Data received {"connection_id":146965,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:23:31] local.INFO: Processing buffer {"connection_id":146965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:23:31] local.INFO: IMEI packet received {"connection_id":146965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":146965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:23:33] local.INFO: TCP Data received {"connection_id":146965,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:23:33] local.INFO: Processing buffer {"connection_id":146965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:23:33] local.INFO: IMEI packet received {"connection_id":146965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":146965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:23:34] local.INFO: TCP Data received {"connection_id":148001,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:23:34] local.INFO: Processing buffer {"connection_id":148001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:23:34] local.INFO: IMEI packet received {"connection_id":148001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":148001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:23:34] local.INFO: TCP Data received {"connection_id":146965,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:23:34] local.INFO: Processing buffer {"connection_id":146965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:23:34] local.INFO: IMEI packet received {"connection_id":146965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":146965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:23:34] local.INFO: TCP Data received {"connection_id":146965,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2878850012d17650007224178005d009827..."} 
[2026-08-02 18:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2878850012d17650007224178005d009827..."} 
[2026-08-02 18:23:34] local.INFO: Processing buffer {"connection_id":146965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2878850012d17650007224178005d009827..."} 
[2026-08-02 18:23:34] local.INFO: Packet analysis {"connection_id":146965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc287"} 
[2026-08-02 18:23:34] local.INFO: Extracted packet for processing {"connection_id":146965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc287"} 
[2026-08-02 18:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756507904,"raw_latitude":119685496,"longitude_deg":75.6507904,"latitude_deg":11.9685496,"altitude":93,"angle":152,"satellites":39,"speed":7,"hex_longitude":"2d176500","hex_latitude":"07224178","is_valid_coordinates":true} 
[2026-08-02 18:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132820992001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10341022823350272,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1685120347462445056,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785675090000,"timestamp_ms":1785675090000,"timestamp_seconds":1785675090,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2878850"} 
[2026-08-02 18:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-02 18:23: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-08-02 18:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132820992001,"66":14004,"105":206,"83":41984,"24":7,"16":10341022823350272,"45":1685120347462445056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132820992001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:23:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10341022823350272,"km_value":10341022823350.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1685120347462445056,"description":"Unknown IO ID 45"} 
[2026-08-02 18:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132820992001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1685120347462445056}} 
[2026-08-02 18:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":146965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:23:34] local.INFO: GPS data processed {"connection_id":146965,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:23:34] local.INFO: Acknowledgment sent {"connection_id":146965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:23:35] local.INFO: TCP Data received {"connection_id":148001,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:23:35] local.INFO: Processing buffer {"connection_id":148001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:23:35] local.INFO: Packet analysis {"connection_id":148001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:23:35] local.INFO: Extracted packet for processing {"connection_id":148001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:23:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132711680001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785674956000,"timestamp_ms":1785674956000,"timestamp_seconds":1785674956,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2857ce0"} 
[2026-08-02 18:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 18:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132711680001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132711680001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:23:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:23:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:23:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132711680001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":148001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:23:35] local.INFO: GPS data processed {"connection_id":148001,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:23:35] local.INFO: Acknowledgment sent {"connection_id":148001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:23:35] local.INFO: TCP Data received {"connection_id":146965,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2879408012d17664007223fb8005c008927..."} 
[2026-08-02 18:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2879408012d17664007223fb8005c008927..."} 
[2026-08-02 18:23:35] local.INFO: Processing buffer {"connection_id":146965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2879408012d17664007223fb8005c008927..."} 
[2026-08-02 18:23:35] local.INFO: Packet analysis {"connection_id":146965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc287"} 
[2026-08-02 18:23:35] local.INFO: Extracted packet for processing {"connection_id":146965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc287"} 
[2026-08-02 18:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756508224,"raw_latitude":119685048,"longitude_deg":75.6508224,"latitude_deg":11.9685048,"altitude":92,"angle":137,"satellites":39,"speed":8,"hex_longitude":"2d176640","hex_latitude":"07223fb8","is_valid_coordinates":true} 
[2026-08-02 18:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132823040001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10341052888121344,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1685753666159605760,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785675093000,"timestamp_ms":1785675093000,"timestamp_seconds":1785675093,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2879408"} 
[2026-08-02 18:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-02 18:23: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-08-02 18:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132823040001,"66":13222,"105":206,"83":41984,"24":8,"16":10341052888121344,"45":1685753666159605760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132823040001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:23:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10341052888121344,"km_value":10341052888121.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1685753666159605760,"description":"Unknown IO ID 45"} 
[2026-08-02 18:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132823040001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1685753666159605760}} 
[2026-08-02 18:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":146965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:23:35] local.INFO: GPS data processed {"connection_id":146965,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:23:35] local.INFO: Acknowledgment sent {"connection_id":146965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:23:39] local.INFO: TCP Data received {"connection_id":148001,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:23:39] local.INFO: Processing buffer {"connection_id":148001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:23:39] local.INFO: Packet analysis {"connection_id":148001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:23:39] local.INFO: Extracted packet for processing {"connection_id":148001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:23:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132711680001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785674956000,"timestamp_ms":1785674956000,"timestamp_seconds":1785674956,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2857ce0"} 
[2026-08-02 18:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:23: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-08-02 18: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":107,"data_length":795,"current_offset":136} 
[2026-08-02 18:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132711680001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132711680001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:23:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:23:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:23:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132711680001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":148001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:23:39] local.INFO: GPS data processed {"connection_id":148001,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:23:39] local.INFO: Acknowledgment sent {"connection_id":148001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:24:06] local.INFO: TCP Data received {"connection_id":146965,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2892e30012d179bc007222308005d00872a..."} 
[2026-08-02 18:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2892e30012d179bc007222308005d00872a..."} 
[2026-08-02 18:24:06] local.INFO: Processing buffer {"connection_id":146965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2892e30012d179bc007222308005d00872a..."} 
[2026-08-02 18:24:06] local.INFO: Packet analysis {"connection_id":146965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc289"} 
[2026-08-02 18:24:06] local.INFO: Extracted packet for processing {"connection_id":146965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc289"} 
[2026-08-02 18:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756521920,"raw_latitude":119677704,"longitude_deg":75.652192,"latitude_deg":11.9677704,"altitude":93,"angle":135,"satellites":42,"speed":11,"hex_longitude":"2d179bc0","hex_latitude":"07222308","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132850176001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10341834572169216,"note":"Value kept but may cause issues"} 
[2026-08-02 18:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1700742208667600896,"note":"Value kept but may cause issues"} 
[2026-08-02 18:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785675198000,"timestamp_ms":1785675198000,"timestamp_seconds":1785675198,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2892e30"} 
[2026-08-02 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-08-02 18:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-02 18:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132850176001,"66":13972,"105":206,"83":41984,"24":11,"16":10341834572169216,"45":1700742208667600896},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132850176001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:24:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10341834572169216,"km_value":10341834572169.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1700742208667600896,"description":"Unknown IO ID 45"} 
[2026-08-02 18:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132850176001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1700742208667600896}} 
[2026-08-02 18:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":146965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:24:06] local.INFO: GPS data processed {"connection_id":146965,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:24:06] local.INFO: Acknowledgment sent {"connection_id":146965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:24:24] local.INFO: TCP Data received {"connection_id":146740,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:24:24] local.INFO: Processing buffer {"connection_id":146740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:24:24] local.INFO: IMEI packet received {"connection_id":146740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":146740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:24:29] local.INFO: TCP Data received {"connection_id":146740,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:24:29] local.INFO: Processing buffer {"connection_id":146740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:24:29] local.INFO: IMEI packet received {"connection_id":146740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":146740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:24:29] local.INFO: TCP Data received {"connection_id":149308,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:24:29] local.INFO: Processing buffer {"connection_id":149308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:24:29] local.INFO: IMEI packet received {"connection_id":149308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":149308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:24:30] local.INFO: TCP Data received {"connection_id":149308,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:24:30] local.INFO: Processing buffer {"connection_id":149308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:24:30] local.INFO: IMEI packet received {"connection_id":149308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":149308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:24:30] local.INFO: TCP Data received {"connection_id":146740,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:24:30] local.INFO: Processing buffer {"connection_id":146740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2857ce0012cc330c007685958005800c528..."} 
[2026-08-02 18:24:30] local.INFO: Packet analysis {"connection_id":146740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:24:30] local.INFO: Extracted packet for processing {"connection_id":146740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc285"} 
[2026-08-02 18:24:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132711680001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785674956000,"timestamp_ms":1785674956000,"timestamp_seconds":1785674956,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2857ce0"} 
[2026-08-02 18:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 18:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132711680001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132711680001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:24:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:24:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132711680001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":146740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:24:30] local.INFO: GPS data processed {"connection_id":146740,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:24:30] local.INFO: Acknowledgment sent {"connection_id":146740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:24:34] local.INFO: TCP Data received {"connection_id":149308,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:24:34] local.INFO: Processing buffer {"connection_id":149308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:24:34] local.INFO: IMEI packet received {"connection_id":149308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":149308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:24:34] local.INFO: TCP Data received {"connection_id":149308,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:24:34] local.INFO: Processing buffer {"connection_id":149308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:24:34] local.INFO: IMEI packet received {"connection_id":149308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":149308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:24:35] local.INFO: TCP Data received {"connection_id":149308,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2893218012d179c8007222260005d00772a..."} 
[2026-08-02 18:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2893218012d179c8007222260005d00772a..."} 
[2026-08-02 18:24:35] local.INFO: Processing buffer {"connection_id":149308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2893218012d179c8007222260005d00772a..."} 
[2026-08-02 18:24:35] local.INFO: Packet analysis {"connection_id":149308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc289"} 
[2026-08-02 18:24:35] local.INFO: Extracted packet for processing {"connection_id":149308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc289"} 
[2026-08-02 18:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756522112,"raw_latitude":119677536,"longitude_deg":75.6522112,"latitude_deg":11.9677536,"altitude":93,"angle":119,"satellites":42,"speed":11,"hex_longitude":"2d179c80","hex_latitude":"07222260","is_valid_coordinates":true} 
[2026-08-02 18:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132850688001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10341847457071104,"note":"Value kept but may cause issues"} 
[2026-08-02 18:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701164421132519424,"note":"Value kept but may cause issues"} 
[2026-08-02 18:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785675199000,"timestamp_ms":1785675199000,"timestamp_seconds":1785675199,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2893218"} 
[2026-08-02 18:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:24: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-08-02 18:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-02 18:24: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-08-02 18:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132850688001,"66":13972,"105":206,"83":41984,"24":11,"16":10341847457071104,"45":1701164421132519424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132850688001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:24:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10341847457071104,"km_value":10341847457071.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701164421132519424,"description":"Unknown IO ID 45"} 
[2026-08-02 18:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132850688001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1701164421132519424}} 
[2026-08-02 18:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":149308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:24:35] local.INFO: GPS data processed {"connection_id":149308,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:24:35] local.INFO: Acknowledgment sent {"connection_id":149308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:24:39] local.INFO: TCP Data received {"connection_id":149308,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2893600012d179e00072221e8005d00682a..."} 
[2026-08-02 18:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2893600012d179e00072221e8005d00682a..."} 
[2026-08-02 18:24:39] local.INFO: Processing buffer {"connection_id":149308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2893600012d179e00072221e8005d00682a..."} 
[2026-08-02 18:24:39] local.INFO: Packet analysis {"connection_id":149308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc289"} 
[2026-08-02 18:24:39] local.INFO: Extracted packet for processing {"connection_id":149308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc289"} 
[2026-08-02 18:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756522496,"raw_latitude":119677416,"longitude_deg":75.6522496,"latitude_deg":11.9677416,"altitude":93,"angle":104,"satellites":42,"speed":13,"hex_longitude":"2d179e00","hex_latitude":"072221e8","is_valid_coordinates":true} 
[2026-08-02 18: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-08-02 18:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132850944001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10341868931907584,"note":"Value kept but may cause issues"} 
[2026-08-02 18:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701375527365009408,"note":"Value kept but may cause issues"} 
[2026-08-02 18:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785675200000,"timestamp_ms":1785675200000,"timestamp_seconds":1785675200,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2893600"} 
[2026-08-02 18:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-02 18:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18: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-08-02 18:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132850944001,"66":13993,"105":206,"83":41984,"24":13,"16":10341868931907584,"45":1701375527365009408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132850944001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:24:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:24:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10341868931907584,"km_value":10341868931907.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701375527365009408,"description":"Unknown IO ID 45"} 
[2026-08-02 18:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132850944001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1701375527365009408}} 
[2026-08-02 18:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":149308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:24:39] local.INFO: GPS data processed {"connection_id":149308,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:24:39] local.INFO: Acknowledgment sent {"connection_id":149308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:25:02] local.INFO: TCP Data received {"connection_id":146740,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:25:02] local.INFO: Processing buffer {"connection_id":146740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:25:02] local.INFO: Packet analysis {"connection_id":146740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:25:02] local.INFO: Extracted packet for processing {"connection_id":146740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:25:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132788736001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785675257000,"timestamp_ms":1785675257000,"timestamp_seconds":1785675257,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28a14a8"} 
[2026-08-02 18:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 18:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132788736001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132788736001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:25:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:25:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:25:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132788736001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":146740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:25:02] local.INFO: GPS data processed {"connection_id":146740,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:25:02] local.INFO: Acknowledgment sent {"connection_id":146740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:25:10] local.INFO: TCP Data received {"connection_id":149308,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc289d240012d17a6800721f470004e00b428..."} 
[2026-08-02 18:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc289d240012d17a6800721f470004e00b428..."} 
[2026-08-02 18:25:10] local.INFO: Processing buffer {"connection_id":149308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc289d240012d17a6800721f470004e00b428..."} 
[2026-08-02 18:25:10] local.INFO: Packet analysis {"connection_id":149308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc289"} 
[2026-08-02 18:25:10] local.INFO: Extracted packet for processing {"connection_id":149308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc289"} 
[2026-08-02 18:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756524672,"raw_latitude":119665776,"longitude_deg":75.6524672,"latitude_deg":11.9665776,"altitude":78,"angle":180,"satellites":40,"speed":14,"hex_longitude":"2d17a680","hex_latitude":"0721f470","is_valid_coordinates":true} 
[2026-08-02 18: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-08-02 18:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132860160001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10342543241773056,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1704682858338875392,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785675240000,"timestamp_ms":1785675240000,"timestamp_seconds":1785675240,"priority":1,"record_length":96,"hex_timestamp":"0000019fc289d240"} 
[2026-08-02 18:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 18:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6975293800,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3263786160,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503757434978304,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:10] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2306113537,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 18:25:10] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2550213911,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:10] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2147951127,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:10] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3189112832,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84749993344705050,"corrected_to":0} 
[2026-08-02 18:25:10] local.WARNING: Large IO value detected {"io_id":104,"raw_value":26177822062021632,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:10] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,190,159,179,45,192,1,84,39,10,66,147,12,90,124,128,240,27,227,194,34,4,113,205,112,172,136,41,239,56,2,36,7,92,14,206,200,104],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":84749993344705050,"validated":0}]} 
[2026-08-02 18:25:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836881892662575104,"timestamp_seconds":5836881892662575.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 18:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":149308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":149308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":149308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132860160001,"66":14515,"105":206,"83":41984,"24":14,"16":10342543241773056,"45":1704682858338875392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132860160001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:25:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10342543241773056,"km_value":10342543241773.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1704682858338875392,"description":"Unknown IO ID 45"} 
[2026-08-02 18:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132860160001,"power":14515,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1704682858338875392}} 
[2026-08-02 18:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":149308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:25:10] local.INFO: GPS data processed {"connection_id":149308,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:25:10] local.INFO: Acknowledgment sent {"connection_id":149308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:25:23] local.INFO: TCP Data received {"connection_id":146741,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:25:23] local.INFO: Processing buffer {"connection_id":146741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:25:23] local.INFO: IMEI packet received {"connection_id":146741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":146741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:25:29] local.INFO: TCP Data received {"connection_id":146741,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:25:29] local.INFO: Processing buffer {"connection_id":146741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:25:29] local.INFO: IMEI packet received {"connection_id":146741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":146741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:25:30] local.INFO: TCP Data received {"connection_id":149309,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:25:30] local.INFO: Processing buffer {"connection_id":149309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:25:30] local.INFO: IMEI packet received {"connection_id":149309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":149309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:25:30] local.INFO: TCP Data received {"connection_id":146741,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:25:30] local.INFO: Processing buffer {"connection_id":146741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:25:30] local.INFO: Packet analysis {"connection_id":146741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:25:30] local.INFO: Extracted packet for processing {"connection_id":146741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:25:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132788736001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785675257000,"timestamp_ms":1785675257000,"timestamp_seconds":1785675257,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28a14a8"} 
[2026-08-02 18:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 18:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132788736001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132788736001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:25:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:25:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132788736001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":146741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:25:30] local.INFO: GPS data processed {"connection_id":146741,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:25:30] local.INFO: Acknowledgment sent {"connection_id":146741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:25:34] local.INFO: TCP Data received {"connection_id":149309,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:25:34] local.INFO: Processing buffer {"connection_id":149309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:25:34] local.INFO: IMEI packet received {"connection_id":149309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":149309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:25:39] local.INFO: TCP Data received {"connection_id":149309,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:25:39] local.INFO: Processing buffer {"connection_id":149309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:25:39] local.INFO: IMEI packet received {"connection_id":149309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":149309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:25:39] local.INFO: TCP Data received {"connection_id":149309,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc289da10012d17a7000721f188004d00a628..."} 
[2026-08-02 18:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc289da10012d17a7000721f188004d00a628..."} 
[2026-08-02 18:25:39] local.INFO: Processing buffer {"connection_id":149309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc289da10012d17a7000721f188004d00a628..."} 
[2026-08-02 18:25:39] local.INFO: Packet analysis {"connection_id":149309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc289"} 
[2026-08-02 18:25:39] local.INFO: Extracted packet for processing {"connection_id":149309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc289"} 
[2026-08-02 18:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756524800,"raw_latitude":119665032,"longitude_deg":75.65248,"latitude_deg":11.9665032,"altitude":77,"angle":166,"satellites":40,"speed":14,"hex_longitude":"2d17a700","hex_latitude":"0721f188","is_valid_coordinates":true} 
[2026-08-02 18:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132861440001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10342581896478720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1704190277129105408,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785675242000,"timestamp_ms":1785675242000,"timestamp_seconds":1785675242,"priority":1,"record_length":96,"hex_timestamp":"0000019fc289da10"} 
[2026-08-02 18:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-02 18:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132861440001,"66":14407,"105":206,"83":41984,"24":14,"16":10342581896478720,"45":1704190277129105408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132861440001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:25:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10342581896478720,"km_value":10342581896478.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1704190277129105408,"description":"Unknown IO ID 45"} 
[2026-08-02 18:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132861440001,"power":14407,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1704190277129105408}} 
[2026-08-02 18:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":149309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:25:39] local.INFO: GPS data processed {"connection_id":149309,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:25:39] local.INFO: Acknowledgment sent {"connection_id":149309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:25:41] local.INFO: TCP Data received {"connection_id":149309,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28a2060012d17ab400721ddb0004c00b329..."} 
[2026-08-02 18:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28a2060012d17ab400721ddb0004c00b329..."} 
[2026-08-02 18:25:41] local.INFO: Processing buffer {"connection_id":149309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28a2060012d17ab400721ddb0004c00b329..."} 
[2026-08-02 18:25:41] local.INFO: Packet analysis {"connection_id":149309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:25:41] local.INFO: Extracted packet for processing {"connection_id":149309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756525888,"raw_latitude":119659952,"longitude_deg":75.6525888,"latitude_deg":11.9659952,"altitude":76,"angle":179,"satellites":41,"speed":8,"hex_longitude":"2d17ab40","hex_latitude":"0721ddb0","is_valid_coordinates":true} 
[2026-08-02 18:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132861952001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10342835299549184,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1704331014617270272,"note":"Value kept but may cause issues"} 
[2026-08-02 18:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785675260000,"timestamp_ms":1785675260000,"timestamp_seconds":1785675260,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28a2060"} 
[2026-08-02 18:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 18:25: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-08-02 18:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":149309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":149309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":149309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132861952001,"66":14461,"105":206,"83":41984,"24":8,"16":10342835299549184,"45":1704331014617270272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132861952001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:25:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10342835299549184,"km_value":10342835299549.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1704331014617270272,"description":"Unknown IO ID 45"} 
[2026-08-02 18:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132861952001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1704331014617270272}} 
[2026-08-02 18:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":149309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:25:41] local.INFO: GPS data processed {"connection_id":149309,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:25:41] local.INFO: Acknowledgment sent {"connection_id":149309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:26:02] local.INFO: TCP Data received {"connection_id":146741,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:26:02] local.INFO: Processing buffer {"connection_id":146741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:26:02] local.INFO: Packet analysis {"connection_id":146741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:26:02] local.INFO: Extracted packet for processing {"connection_id":146741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:26:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132788736001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785675257000,"timestamp_ms":1785675257000,"timestamp_seconds":1785675257,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28a14a8"} 
[2026-08-02 18:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 18:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132788736001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132788736001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:26:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:26:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132788736001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":146741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:26:02] local.INFO: GPS data processed {"connection_id":146741,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:26:02] local.INFO: Acknowledgment sent {"connection_id":146741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:26:12] local.INFO: TCP Data received {"connection_id":149309,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28a7268012d17ab400721c450004900a929..."} 
[2026-08-02 18:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28a7268012d17ab400721c450004900a929..."} 
[2026-08-02 18:26:12] local.INFO: Processing buffer {"connection_id":149309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28a7268012d17ab400721c450004900a929..."} 
[2026-08-02 18:26:12] local.INFO: Packet analysis {"connection_id":149309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:26:12] local.INFO: Extracted packet for processing {"connection_id":149309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756525888,"raw_latitude":119653456,"longitude_deg":75.6525888,"latitude_deg":11.9653456,"altitude":73,"angle":169,"satellites":41,"speed":14,"hex_longitude":"2d17ab40","hex_latitude":"0721c450","is_valid_coordinates":true} 
[2026-08-02 18:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132866560001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10343153127129088,"note":"Value kept but may cause issues"} 
[2026-08-02 18:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705527283266990080,"note":"Value kept but may cause issues"} 
[2026-08-02 18:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785675281000,"timestamp_ms":1785675281000,"timestamp_seconds":1785675281,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28a7268"} 
[2026-08-02 18:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:26: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-08-02 18:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-02 18:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":149309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":149309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":149309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132866560001,"66":14298,"107":206,"83":41984,"24":14,"16":10343153127129088,"45":1705527283266990080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132866560001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:26:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10343153127129088,"km_value":10343153127129.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705527283266990080,"description":"Unknown IO ID 45"} 
[2026-08-02 18:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132866560001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1705527283266990080}} 
[2026-08-02 18:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":149309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:26:12] local.INFO: GPS data processed {"connection_id":149309,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:26:12] local.INFO: Acknowledgment sent {"connection_id":149309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:26:26] local.INFO: TCP Data received {"connection_id":148002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:26:26] local.INFO: Processing buffer {"connection_id":148002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:26:26] local.INFO: IMEI packet received {"connection_id":148002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":148002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:26:27] local.INFO: TCP Data received {"connection_id":148002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:26:27] local.INFO: Processing buffer {"connection_id":148002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:26:27] local.INFO: IMEI packet received {"connection_id":148002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":148002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:26:29] local.INFO: TCP Data received {"connection_id":146966,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:26:29] local.INFO: Processing buffer {"connection_id":146966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:26:29] local.INFO: IMEI packet received {"connection_id":146966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":146966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:26:29] local.INFO: TCP Data received {"connection_id":148002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:26:29] local.INFO: Processing buffer {"connection_id":148002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:26:29] local.INFO: IMEI packet received {"connection_id":148002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":148002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:26:29] local.INFO: TCP Data received {"connection_id":148002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:26:29] local.INFO: Processing buffer {"connection_id":148002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:26:29] local.INFO: IMEI packet received {"connection_id":148002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":148002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:26:34] local.INFO: TCP Data received {"connection_id":146966,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:26:34] local.INFO: Processing buffer {"connection_id":146966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:26:34] local.INFO: IMEI packet received {"connection_id":146966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":146966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:26:35] local.INFO: TCP Data received {"connection_id":146966,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:26:35] local.INFO: Processing buffer {"connection_id":146966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:26:35] local.INFO: Packet analysis {"connection_id":146966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:26:35] local.INFO: Extracted packet for processing {"connection_id":146966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:26:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132788736001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:26:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785675257000,"timestamp_ms":1785675257000,"timestamp_seconds":1785675257,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28a14a8"} 
[2026-08-02 18:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 18:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132788736001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132788736001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:26:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:26:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:26:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132788736001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":146966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:26:35] local.INFO: GPS data processed {"connection_id":146966,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:26:35] local.INFO: Acknowledgment sent {"connection_id":146966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:26:41] local.INFO: TCP Data received {"connection_id":146966,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:26:41] local.INFO: Processing buffer {"connection_id":146966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:26:41] local.INFO: Packet analysis {"connection_id":146966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:26:41] local.INFO: Extracted packet for processing {"connection_id":146966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:26:41] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18: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-08-02 18:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132788736001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785675257000,"timestamp_ms":1785675257000,"timestamp_seconds":1785675257,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28a14a8"} 
[2026-08-02 18:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:26: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-08-02 18: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":31,"data_length":795,"current_offset":136} 
[2026-08-02 18:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18: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-08-02 18:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132788736001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132788736001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:26:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:26:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132788736001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":146966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:26:41] local.INFO: GPS data processed {"connection_id":146966,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:26:41] local.INFO: Acknowledgment sent {"connection_id":146966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:27:24] local.INFO: TCP Data received {"connection_id":146967,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:27:24] local.INFO: Processing buffer {"connection_id":146967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:27:24] local.INFO: IMEI packet received {"connection_id":146967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":146967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:27:29] local.INFO: TCP Data received {"connection_id":146967,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:27:29] local.INFO: Processing buffer {"connection_id":146967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:27:29] local.INFO: IMEI packet received {"connection_id":146967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":146967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:27:30] local.INFO: TCP Data received {"connection_id":146967,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:27:30] local.INFO: Processing buffer {"connection_id":146967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:27:30] local.INFO: Packet analysis {"connection_id":146967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:27:30] local.INFO: Extracted packet for processing {"connection_id":146967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:27:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132788736001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785675257000,"timestamp_ms":1785675257000,"timestamp_seconds":1785675257,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28a14a8"} 
[2026-08-02 18:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 18:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132788736001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132788736001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:27:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:27:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132788736001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":146967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:27:30] local.INFO: GPS data processed {"connection_id":146967,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:27:30] local.INFO: Acknowledgment sent {"connection_id":146967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:28:02] local.INFO: TCP Data received {"connection_id":146967,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:28:02] local.INFO: Processing buffer {"connection_id":146967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:28:02] local.INFO: Packet analysis {"connection_id":146967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:28:02] local.INFO: Extracted packet for processing {"connection_id":146967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:28:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132788736001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785675257000,"timestamp_ms":1785675257000,"timestamp_seconds":1785675257,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28a14a8"} 
[2026-08-02 18:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 18:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132788736001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132788736001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:28:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:28:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132788736001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":146967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:28:02] local.INFO: GPS data processed {"connection_id":146967,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:28:02] local.INFO: Acknowledgment sent {"connection_id":146967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:28:23] local.INFO: TCP Data received {"connection_id":148003,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:28:23] local.INFO: Processing buffer {"connection_id":148003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:28:23] local.INFO: IMEI packet received {"connection_id":148003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":148003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:28:29] local.INFO: TCP Data received {"connection_id":148003,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:28:29] local.INFO: Processing buffer {"connection_id":148003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:28:29] local.INFO: IMEI packet received {"connection_id":148003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":148003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:28:30] local.INFO: TCP Data received {"connection_id":148003,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:28:30] local.INFO: Processing buffer {"connection_id":148003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:28:30] local.INFO: Packet analysis {"connection_id":148003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:28:30] local.INFO: Extracted packet for processing {"connection_id":148003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:28:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132788736001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785675257000,"timestamp_ms":1785675257000,"timestamp_seconds":1785675257,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28a14a8"} 
[2026-08-02 18:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 18:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132788736001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132788736001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:28:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:28:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132788736001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":148003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:28:30] local.INFO: GPS data processed {"connection_id":148003,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:28:30] local.INFO: Acknowledgment sent {"connection_id":148003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:29:01] local.INFO: TCP Data received {"connection_id":148003,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:29:01] local.INFO: Processing buffer {"connection_id":148003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:29:01] local.INFO: Packet analysis {"connection_id":148003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:29:01] local.INFO: Extracted packet for processing {"connection_id":148003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132788736001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:29:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785675257000,"timestamp_ms":1785675257000,"timestamp_seconds":1785675257,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28a14a8"} 
[2026-08-02 18:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 18:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132788736001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132788736001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:29:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:29:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:29:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132788736001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":148003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:29:01] local.INFO: GPS data processed {"connection_id":148003,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:29:01] local.INFO: Acknowledgment sent {"connection_id":148003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:29:28] local.INFO: TCP Data received {"connection_id":149311,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:29:28] local.INFO: Processing buffer {"connection_id":149311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:29:28] local.INFO: IMEI packet received {"connection_id":149311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":149311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:29:29] local.INFO: TCP Data received {"connection_id":149311,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:29:29] local.INFO: Processing buffer {"connection_id":149311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:29:29] local.INFO: IMEI packet received {"connection_id":149311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":149311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:29:30] local.INFO: TCP Data received {"connection_id":149311,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:29:30] local.INFO: Processing buffer {"connection_id":149311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:29:30] local.INFO: Packet analysis {"connection_id":149311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:29:30] local.INFO: Extracted packet for processing {"connection_id":149311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:29:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132788736001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785675257000,"timestamp_ms":1785675257000,"timestamp_seconds":1785675257,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28a14a8"} 
[2026-08-02 18:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 18:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132788736001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132788736001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:29:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:29:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132788736001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":149311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:29:30] local.INFO: GPS data processed {"connection_id":149311,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:29:30] local.INFO: Acknowledgment sent {"connection_id":149311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:29:34] local.INFO: TCP Data received {"connection_id":149311,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:29:34] local.INFO: Processing buffer {"connection_id":149311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28a14a8012cc330c007685958005800c52a..."} 
[2026-08-02 18:29:34] local.INFO: Packet analysis {"connection_id":149311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:29:34] local.INFO: Extracted packet for processing {"connection_id":149311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28a"} 
[2026-08-02 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132788736001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:29:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785675257000,"timestamp_ms":1785675257000,"timestamp_seconds":1785675257,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28a14a8"} 
[2026-08-02 18:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 18:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132788736001,"66":25430,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132788736001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:29:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:29:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:29:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132788736001,"power":25430,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":149311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:29:34] local.INFO: GPS data processed {"connection_id":149311,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:29:34] local.INFO: Acknowledgment sent {"connection_id":149311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:30:06] local.INFO: TCP Data received {"connection_id":149311,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:30:06] local.INFO: Processing buffer {"connection_id":149311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:30:06] local.INFO: Packet analysis {"connection_id":149311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:30:06] local.INFO: Extracted packet for processing {"connection_id":149311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:30:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132865792001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:30:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785675558000,"timestamp_ms":1785675558000,"timestamp_seconds":1785675558,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28eac70"} 
[2026-08-02 18:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18: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-08-02 18: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":86,"data_length":795,"current_offset":136} 
[2026-08-02 18:30: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-08-02 18:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132865792001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132865792001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:30:06] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:30:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:30:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132865792001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":149311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:30:06] local.INFO: GPS data processed {"connection_id":149311,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:30:06] local.INFO: Acknowledgment sent {"connection_id":149311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:30:23] local.INFO: TCP Data received {"connection_id":148004,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:30:23] local.INFO: Processing buffer {"connection_id":148004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:30:23] local.INFO: IMEI packet received {"connection_id":148004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":148004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:30:29] local.INFO: TCP Data received {"connection_id":148004,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:30:29] local.INFO: Processing buffer {"connection_id":148004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:30:29] local.INFO: IMEI packet received {"connection_id":148004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":148004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:30:30] local.INFO: TCP Data received {"connection_id":148004,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:30:30] local.INFO: Processing buffer {"connection_id":148004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:30:30] local.INFO: Packet analysis {"connection_id":148004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:30:30] local.INFO: Extracted packet for processing {"connection_id":148004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:30:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132865792001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785675558000,"timestamp_ms":1785675558000,"timestamp_seconds":1785675558,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28eac70"} 
[2026-08-02 18:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 18:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132865792001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132865792001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:30:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:30:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132865792001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":148004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:30:30] local.INFO: GPS data processed {"connection_id":148004,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:30:30] local.INFO: Acknowledgment sent {"connection_id":148004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:31:01] local.INFO: TCP Data received {"connection_id":148004,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:31:01] local.INFO: Processing buffer {"connection_id":148004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:31:01] local.INFO: Packet analysis {"connection_id":148004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:31:01] local.INFO: Extracted packet for processing {"connection_id":148004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:31:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18: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-08-02 18:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132865792001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:31:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785675558000,"timestamp_ms":1785675558000,"timestamp_seconds":1785675558,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28eac70"} 
[2026-08-02 18:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 18:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18: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-08-02 18:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132865792001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132865792001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:31:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:31:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132865792001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":148004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:31:01] local.INFO: GPS data processed {"connection_id":148004,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:31:01] local.INFO: Acknowledgment sent {"connection_id":148004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:31:29] local.INFO: TCP Data received {"connection_id":148006,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:31:29] local.INFO: Processing buffer {"connection_id":148006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:31:29] local.INFO: IMEI packet received {"connection_id":148006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":148006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:31:34] local.INFO: TCP Data received {"connection_id":146742,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:31:34] local.INFO: Processing buffer {"connection_id":146742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:31:34] local.INFO: IMEI packet received {"connection_id":146742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":146742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:31:35] local.INFO: TCP Data received {"connection_id":146742,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28cc040012d1823400721b578004b00c62a..."} 
[2026-08-02 18:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28cc040012d1823400721b578004b00c62a..."} 
[2026-08-02 18:31:35] local.INFO: Processing buffer {"connection_id":146742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28cc040012d1823400721b578004b00c62a..."} 
[2026-08-02 18:31:35] local.INFO: Packet analysis {"connection_id":146742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28c"} 
[2026-08-02 18:31:35] local.INFO: Extracted packet for processing {"connection_id":146742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28c"} 
[2026-08-02 18:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":198,"satellites":42,"speed":5,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-08-02 18:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132909824001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345558308814848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469723136,"note":"Value kept but may cause issues"} 
[2026-08-02 18:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785675432000,"timestamp_ms":1785675432000,"timestamp_seconds":1785675432,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28cc040"} 
[2026-08-02 18:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:31: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-08-02 18:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-02 18:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132909824001,"66":13243,"105":206,"83":41984,"24":5,"16":10345558308814848,"45":1739304280469723136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132909824001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:31:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345558308814848,"km_value":10345558308814.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469723136,"description":"Unknown IO ID 45"} 
[2026-08-02 18:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132909824001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739304280469723136}} 
[2026-08-02 18:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":146742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:31:35] local.INFO: GPS data processed {"connection_id":146742,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:31:35] local.INFO: Acknowledgment sent {"connection_id":146742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:31:38] local.INFO: TCP Data received {"connection_id":148006,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:31:38] local.INFO: Processing buffer {"connection_id":148006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:31:38] local.INFO: IMEI packet received {"connection_id":148006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":148006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:31:39] local.INFO: TCP Data received {"connection_id":148006,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:31:39] local.INFO: Processing buffer {"connection_id":148006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:31:39] local.INFO: Packet analysis {"connection_id":148006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:31:39] local.INFO: Extracted packet for processing {"connection_id":148006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:31:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132865792001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:31:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785675558000,"timestamp_ms":1785675558000,"timestamp_seconds":1785675558,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28eac70"} 
[2026-08-02 18:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:31: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-08-02 18: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":86,"data_length":795,"current_offset":136} 
[2026-08-02 18:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132865792001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132865792001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:31:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:31:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:31:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132865792001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":148006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:31:39] local.INFO: GPS data processed {"connection_id":148006,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:31:39] local.INFO: Acknowledgment sent {"connection_id":148006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:31:40] local.INFO: TCP Data received {"connection_id":148006,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:31:40] local.INFO: Processing buffer {"connection_id":148006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:31:40] local.INFO: Packet analysis {"connection_id":148006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:31:40] local.INFO: Extracted packet for processing {"connection_id":148006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:31:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132865792001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:31:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785675558000,"timestamp_ms":1785675558000,"timestamp_seconds":1785675558,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28eac70"} 
[2026-08-02 18:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18: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-08-02 18:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 18:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132865792001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132865792001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:31:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:31:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:31:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132865792001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":148006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:31:40] local.INFO: GPS data processed {"connection_id":148006,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:31:40] local.INFO: Acknowledgment sent {"connection_id":148006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:32:07] local.INFO: TCP Data received {"connection_id":146742,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28ff878012d1822800721b4a0004b00d62a..."} 
[2026-08-02 18:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28ff878012d1822800721b4a0004b00d62a..."} 
[2026-08-02 18:32:07] local.INFO: Processing buffer {"connection_id":146742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28ff878012d1822800721b4a0004b00d62a..."} 
[2026-08-02 18:32:07] local.INFO: Packet analysis {"connection_id":146742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28f"} 
[2026-08-02 18:32:07] local.INFO: Extracted packet for processing {"connection_id":146742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28f"} 
[2026-08-02 18:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649440,"longitude_deg":75.6556416,"latitude_deg":11.964944,"altitude":75,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-08-02 18:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132959232001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345575488684032,"note":"Value kept but may cause issues"} 
[2026-08-02 18:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237044736,"note":"Value kept but may cause issues"} 
[2026-08-02 18:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785675643000,"timestamp_ms":1785675643000,"timestamp_seconds":1785675643,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28ff878"} 
[2026-08-02 18:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-02 18:32: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-08-02 18:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132959232001,"66":12885,"105":206,"83":41984,"24":0,"16":10345575488684032,"45":1739093174237044736},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132959232001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:32:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345575488684032,"km_value":10345575488684.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237044736,"description":"Unknown IO ID 45"} 
[2026-08-02 18:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132959232001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237044736}} 
[2026-08-02 18:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":146742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:32:07] local.INFO: GPS data processed {"connection_id":146742,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:32:07] local.INFO: Acknowledgment sent {"connection_id":146742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:32:24] local.INFO: TCP Data received {"connection_id":146743,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:32:24] local.INFO: Processing buffer {"connection_id":146743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:32:24] local.INFO: IMEI packet received {"connection_id":146743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":146743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:32:29] local.INFO: TCP Data received {"connection_id":146743,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:32:29] local.INFO: Processing buffer {"connection_id":146743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:32:29] local.INFO: IMEI packet received {"connection_id":146743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":146743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:32:29] local.INFO: TCP Data received {"connection_id":146970,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:32:29] local.INFO: Processing buffer {"connection_id":146970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:32:29] local.INFO: IMEI packet received {"connection_id":146970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":146970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:32:30] local.INFO: TCP Data received {"connection_id":146743,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:32:30] local.INFO: Processing buffer {"connection_id":146743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:32:30] local.INFO: Packet analysis {"connection_id":146743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:32:30] local.INFO: Extracted packet for processing {"connection_id":146743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:32:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132865792001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785675558000,"timestamp_ms":1785675558000,"timestamp_seconds":1785675558,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28eac70"} 
[2026-08-02 18:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 18:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132865792001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132865792001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:32:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:32:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132865792001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":146743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:32:30] local.INFO: GPS data processed {"connection_id":146743,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:32:30] local.INFO: Acknowledgment sent {"connection_id":146743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:32:34] local.INFO: TCP Data received {"connection_id":146970,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:32:34] local.INFO: Processing buffer {"connection_id":146970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:32:34] local.INFO: IMEI packet received {"connection_id":146970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":146970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:32:35] local.INFO: TCP Data received {"connection_id":146970,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2904a80012d1821c00721b438004700d62a..."} 
[2026-08-02 18:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2904a80012d1821c00721b438004700d62a..."} 
[2026-08-02 18:32:35] local.INFO: Processing buffer {"connection_id":146970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2904a80012d1821c00721b438004700d62a..."} 
[2026-08-02 18:32:35] local.INFO: Packet analysis {"connection_id":146970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc290"} 
[2026-08-02 18:32:35] local.INFO: Extracted packet for processing {"connection_id":146970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc290"} 
[2026-08-02 18:32:35] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649336,"longitude_deg":75.6556224,"latitude_deg":11.9649336,"altitude":71,"angle":214,"satellites":42,"speed":2,"hex_longitude":"2d1821c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-02 18:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132964608001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345584078618624,"note":"Value kept but may cause issues"} 
[2026-08-02 18:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237044736,"note":"Value kept but may cause issues"} 
[2026-08-02 18:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785675664000,"timestamp_ms":1785675664000,"timestamp_seconds":1785675664,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2904a80"} 
[2026-08-02 18:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:32: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-08-02 18:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 18:32: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-08-02 18:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132964608001,"66":12874,"105":206,"83":41984,"24":2,"16":10345584078618624,"45":1739093174237044736},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132964608001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:32:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345584078618624,"km_value":10345584078618.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237044736,"description":"Unknown IO ID 45"} 
[2026-08-02 18:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132964608001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739093174237044736}} 
[2026-08-02 18:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":146970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:32:35] local.INFO: GPS data processed {"connection_id":146970,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:32:35] local.INFO: Acknowledgment sent {"connection_id":146970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:33:03] local.INFO: TCP Data received {"connection_id":146743,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:33:03] local.INFO: Processing buffer {"connection_id":146743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:33:03] local.INFO: Packet analysis {"connection_id":146743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:33:03] local.INFO: Extracted packet for processing {"connection_id":146743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:33:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132865792001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:33:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785675558000,"timestamp_ms":1785675558000,"timestamp_seconds":1785675558,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28eac70"} 
[2026-08-02 18:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 18:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132865792001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132865792001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:33:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:33:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:33:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132865792001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":146743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:33:03] local.INFO: GPS data processed {"connection_id":146743,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:33:03] local.INFO: Acknowledgment sent {"connection_id":146743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:33:06] local.INFO: TCP Data received {"connection_id":146970,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2909c88012d1820400721b2f8004800d628..."} 
[2026-08-02 18:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2909c88012d1820400721b2f8004800d628..."} 
[2026-08-02 18:33:06] local.INFO: Processing buffer {"connection_id":146970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2909c88012d1820400721b2f8004800d628..."} 
[2026-08-02 18:33:06] local.INFO: Packet analysis {"connection_id":146970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc290"} 
[2026-08-02 18:33:06] local.INFO: Extracted packet for processing {"connection_id":146970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc290"} 
[2026-08-02 18:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":72,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-08-02 18:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132969984001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345614143389696,"note":"Value kept but may cause issues"} 
[2026-08-02 18:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004485120,"note":"Value kept but may cause issues"} 
[2026-08-02 18:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785675685000,"timestamp_ms":1785675685000,"timestamp_seconds":1785675685,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2909c88"} 
[2026-08-02 18:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-02 18:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132969984001,"66":12841,"105":206,"83":41984,"24":0,"16":10345614143389696,"45":1738882068004485120},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132969984001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:33:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345614143389696,"km_value":10345614143389.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004485120,"description":"Unknown IO ID 45"} 
[2026-08-02 18:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132969984001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004485120}} 
[2026-08-02 18:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":146970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:33:06] local.INFO: GPS data processed {"connection_id":146970,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:33:06] local.INFO: Acknowledgment sent {"connection_id":146970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:33:29] local.INFO: TCP Data received {"connection_id":149312,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:33:29] local.INFO: Processing buffer {"connection_id":149312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:33:29] local.INFO: IMEI packet received {"connection_id":149312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":149312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:33:29] local.INFO: TCP Data received {"connection_id":146744,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:33:29] local.INFO: Processing buffer {"connection_id":146744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:33:29] local.INFO: IMEI packet received {"connection_id":146744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":146744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:33:34] local.INFO: TCP Data received {"connection_id":146744,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:33:34] local.INFO: Processing buffer {"connection_id":146744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:33:34] local.INFO: IMEI packet received {"connection_id":146744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":146744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:33:34] local.INFO: TCP Data received {"connection_id":149312,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:33:34] local.INFO: Processing buffer {"connection_id":149312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:33:34] local.INFO: IMEI packet received {"connection_id":149312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":149312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:33:35] local.INFO: TCP Data received {"connection_id":149312,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc290ee90012d1820400721b2f8004800d629..."} 
[2026-08-02 18:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc290ee90012d1820400721b2f8004800d629..."} 
[2026-08-02 18:33:35] local.INFO: Processing buffer {"connection_id":149312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc290ee90012d1820400721b2f8004800d629..."} 
[2026-08-02 18:33:35] local.INFO: Packet analysis {"connection_id":149312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc290"} 
[2026-08-02 18:33:35] local.INFO: Extracted packet for processing {"connection_id":149312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc290"} 
[2026-08-02 18:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":72,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-08-02 18:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132975360001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345614143389696,"note":"Value kept but may cause issues"} 
[2026-08-02 18:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539337216,"note":"Value kept but may cause issues"} 
[2026-08-02 18:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785675706000,"timestamp_ms":1785675706000,"timestamp_seconds":1785675706,"priority":1,"record_length":96,"hex_timestamp":"0000019fc290ee90"} 
[2026-08-02 18:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:33: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-08-02 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-02 18:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132975360001,"66":12841,"105":206,"83":41984,"24":0,"16":10345614143389696,"45":1738459855539337216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132975360001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:33:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345614143389696,"km_value":10345614143389.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539337216,"description":"Unknown IO ID 45"} 
[2026-08-02 18:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132975360001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539337216}} 
[2026-08-02 18:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":149312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:33:35] local.INFO: GPS data processed {"connection_id":149312,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:33:35] local.INFO: Acknowledgment sent {"connection_id":149312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:33:36] local.INFO: TCP Data received {"connection_id":146744,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:33:36] local.INFO: Processing buffer {"connection_id":146744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc28eac70012cc330c007685958005800c52d..."} 
[2026-08-02 18:33:36] local.INFO: Packet analysis {"connection_id":146744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:33:36] local.INFO: Extracted packet for processing {"connection_id":146744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc28e"} 
[2026-08-02 18:33:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132865792001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:33:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785675558000,"timestamp_ms":1785675558000,"timestamp_seconds":1785675558,"priority":1,"record_length":96,"hex_timestamp":"0000019fc28eac70"} 
[2026-08-02 18:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:33: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-08-02 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 18:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132865792001,"66":25441,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132865792001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:33:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:33:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:33:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132865792001,"power":25441,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":146744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:33:36] local.INFO: GPS data processed {"connection_id":146744,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:33:36] local.INFO: Acknowledgment sent {"connection_id":146744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:34:06] local.INFO: TCP Data received {"connection_id":149312,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2914098012d1820400721b2f8004800d629..."} 
[2026-08-02 18:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2914098012d1820400721b2f8004800d629..."} 
[2026-08-02 18:34:06] local.INFO: Processing buffer {"connection_id":149312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2914098012d1820400721b2f8004800d629..."} 
[2026-08-02 18:34:06] local.INFO: Packet analysis {"connection_id":149312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc291"} 
[2026-08-02 18:34:06] local.INFO: Extracted packet for processing {"connection_id":149312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc291"} 
[2026-08-02 18:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":72,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132980736001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345614143389696,"note":"Value kept but may cause issues"} 
[2026-08-02 18:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539337216,"note":"Value kept but may cause issues"} 
[2026-08-02 18:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785675727000,"timestamp_ms":1785675727000,"timestamp_seconds":1785675727,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2914098"} 
[2026-08-02 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-08-02 18:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-02 18:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132980736001,"66":12841,"105":206,"83":41984,"24":0,"16":10345614143389696,"45":1738459855539337216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132980736001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:34:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345614143389696,"km_value":10345614143389.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539337216,"description":"Unknown IO ID 45"} 
[2026-08-02 18:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132980736001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539337216}} 
[2026-08-02 18:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":149312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:34:06] local.INFO: GPS data processed {"connection_id":149312,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:34:06] local.INFO: Acknowledgment sent {"connection_id":149312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:34:08] local.INFO: TCP Data received {"connection_id":146744,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2920000012cc330c007685958005800c52c..."} 
[2026-08-02 18:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2920000012cc330c007685958005800c52c..."} 
[2026-08-02 18:34:08] local.INFO: Processing buffer {"connection_id":146744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2920000012cc330c007685958005800c52c..."} 
[2026-08-02 18:34:08] local.INFO: Packet analysis {"connection_id":146744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:34:08] local.INFO: Extracted packet for processing {"connection_id":146744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:34:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:34: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-08-02 18:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132942848001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:34:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785675776000,"timestamp_ms":1785675776000,"timestamp_seconds":1785675776,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2920000"} 
[2026-08-02 18:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18: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-08-02 18: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":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132942848001,"66":25375,"228":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 18:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132942848001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:34:08] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 18:34:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:34:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132942848001,"power":25375,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":146744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:34:08] local.INFO: GPS data processed {"connection_id":146744,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:34:08] local.INFO: Acknowledgment sent {"connection_id":146744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:34:23] local.INFO: TCP Data received {"connection_id":146971,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:34:23] local.INFO: Processing buffer {"connection_id":146971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:34:23] local.INFO: IMEI packet received {"connection_id":146971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":146971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:34:29] local.INFO: TCP Data received {"connection_id":146971,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:34:29] local.INFO: Processing buffer {"connection_id":146971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:34:29] local.INFO: IMEI packet received {"connection_id":146971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":146971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:34:29] local.INFO: TCP Data received {"connection_id":148007,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:34:29] local.INFO: Processing buffer {"connection_id":148007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:34:29] local.INFO: IMEI packet received {"connection_id":148007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":148007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:34:30] local.INFO: TCP Data received {"connection_id":148007,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:34:30] local.INFO: Processing buffer {"connection_id":148007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:34:30] local.INFO: IMEI packet received {"connection_id":148007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":148007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:34:31] local.INFO: TCP Data received {"connection_id":146971,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2925dc0012cc3318007685918005800c527..."} 
[2026-08-02 18:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2925dc0012cc3318007685918005800c527..."} 
[2026-08-02 18:34:31] local.INFO: Processing buffer {"connection_id":146971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2925dc0012cc3318007685918005800c527..."} 
[2026-08-02 18:34:31] local.INFO: Packet analysis {"connection_id":146971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:34:31] local.INFO: Extracted packet for processing {"connection_id":146971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:34:31] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132998656001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:34:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785675800000,"timestamp_ms":1785675800000,"timestamp_seconds":1785675800,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2925dc0"} 
[2026-08-02 18:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 18:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132998656001,"66":27593,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132998656001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:34:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:34:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:34:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132998656001,"power":27593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":146971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:34:31] local.INFO: GPS data processed {"connection_id":146971,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:34:31] local.INFO: Acknowledgment sent {"connection_id":146971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:34:34] local.INFO: TCP Data received {"connection_id":148007,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:34:34] local.INFO: Processing buffer {"connection_id":148007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:34:34] local.INFO: IMEI packet received {"connection_id":148007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":148007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:34:35] local.INFO: TCP Data received {"connection_id":148007,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29192a0012d181e800721b0b8004a00cd28..."} 
[2026-08-02 18:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29192a0012d181e800721b0b8004a00cd28..."} 
[2026-08-02 18:34:35] local.INFO: Processing buffer {"connection_id":148007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29192a0012d181e800721b0b8004a00cd28..."} 
[2026-08-02 18:34:35] local.INFO: Packet analysis {"connection_id":148007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc291"} 
[2026-08-02 18:34:35] local.INFO: Extracted packet for processing {"connection_id":148007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc291"} 
[2026-08-02 18:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648440,"longitude_deg":75.6555392,"latitude_deg":11.964844,"altitude":74,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-08-02 18:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132986112001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345652798095360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539337216,"note":"Value kept but may cause issues"} 
[2026-08-02 18:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785675748000,"timestamp_ms":1785675748000,"timestamp_seconds":1785675748,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29192a0"} 
[2026-08-02 18:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:34: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-08-02 18:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-02 18:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132986112001,"66":12809,"105":206,"83":41984,"24":0,"16":10345652798095360,"45":1738459855539337216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132986112001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:34:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345652798095360,"km_value":10345652798095.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539337216,"description":"Unknown IO ID 45"} 
[2026-08-02 18:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132986112001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539337216}} 
[2026-08-02 18:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":148007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:34:35] local.INFO: GPS data processed {"connection_id":148007,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:34:35] local.INFO: Acknowledgment sent {"connection_id":148007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:35:02] local.INFO: TCP Data received {"connection_id":146971,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:35:02] local.INFO: Processing buffer {"connection_id":146971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:35:02] local.INFO: Packet analysis {"connection_id":146971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:35:02] local.INFO: Extracted packet for processing {"connection_id":146971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:35:02] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18: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-08-02 18:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133004800001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785675801000,"timestamp_ms":1785675801000,"timestamp_seconds":1785675801,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29261a8"} 
[2026-08-02 18:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-02 18:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18: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-08-02 18:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133004800001,"66":27593,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133004800001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:35:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:35:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:35:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133004800001,"power":27593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":146971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:35:02] local.INFO: GPS data processed {"connection_id":146971,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:35:02] local.INFO: Acknowledgment sent {"connection_id":146971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:35:06] local.INFO: TCP Data received {"connection_id":148007,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc291e4a8012d181e800721b0b8004a00cd27..."} 
[2026-08-02 18:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc291e4a8012d181e800721b0b8004a00cd27..."} 
[2026-08-02 18:35:06] local.INFO: Processing buffer {"connection_id":148007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc291e4a8012d181e800721b0b8004a00cd27..."} 
[2026-08-02 18:35:06] local.INFO: Packet analysis {"connection_id":148007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc291"} 
[2026-08-02 18:35:06] local.INFO: Extracted packet for processing {"connection_id":148007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc291"} 
[2026-08-02 18:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648440,"longitude_deg":75.6555392,"latitude_deg":11.964844,"altitude":74,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132991488001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345652798095360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329946112,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785675769000,"timestamp_ms":1785675769000,"timestamp_seconds":1785675769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc291e4a8"} 
[2026-08-02 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-08-02 18:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-02 18:35:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3264194160,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:06] local.WARNING: Large IO value detected {"io_id":194,"raw_value":-8118749873981349248,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3023568967,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 18:35:06] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951028,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3242131456,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428742022178330155,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:06] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,193,159,64,45,178,72,41,10,66,238,156,1,240,227,194,33,4,113,205,2,248,34,160,42,239,50,36,7,75,164,63],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 18:35:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332487530489053184,"timestamp_seconds":5332487530489053.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 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-08-02 18:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132991488001,"66":12776,"107":206,"83":41984,"24":0,"16":10345652798095360,"45":1737967274329946112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132991488001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:35:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345652798095360,"km_value":10345652798095.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329946112,"description":"Unknown IO ID 45"} 
[2026-08-02 18:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132991488001,"power":12776,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329946112}} 
[2026-08-02 18:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":148007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:35:06] local.INFO: GPS data processed {"connection_id":148007,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:35:06] local.INFO: Acknowledgment sent {"connection_id":148007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:35:29] local.INFO: TCP Data received {"connection_id":146745,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:35:29] local.INFO: Processing buffer {"connection_id":146745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:35:29] local.INFO: IMEI packet received {"connection_id":146745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":146745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:35:33] local.INFO: TCP Data received {"connection_id":146746,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:35:33] local.INFO: Processing buffer {"connection_id":146746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:35:33] local.INFO: IMEI packet received {"connection_id":146746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":146746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:35:34] local.INFO: TCP Data received {"connection_id":146745,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:35:34] local.INFO: Processing buffer {"connection_id":146745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:35:34] local.INFO: IMEI packet received {"connection_id":146745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":146745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:35:34] local.INFO: TCP Data received {"connection_id":146746,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:35:34] local.INFO: Processing buffer {"connection_id":146746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:35:34] local.INFO: IMEI packet received {"connection_id":146746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":146746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:35:35] local.INFO: TCP Data received {"connection_id":146745,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:35:35] local.INFO: Processing buffer {"connection_id":146745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:35:35] local.INFO: Packet analysis {"connection_id":146745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:35:35] local.INFO: Extracted packet for processing {"connection_id":146745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133004800001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785675801000,"timestamp_ms":1785675801000,"timestamp_seconds":1785675801,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29261a8"} 
[2026-08-02 18:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-02 18:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133004800001,"66":27593,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133004800001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:35:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:35:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:35:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133004800001,"power":27593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":146745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:35:35] local.INFO: GPS data processed {"connection_id":146745,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:35:35] local.INFO: Acknowledgment sent {"connection_id":146745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:35:39] local.INFO: TCP Data received {"connection_id":146746,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:35:39] local.INFO: Processing buffer {"connection_id":146746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:35:39] local.INFO: IMEI packet received {"connection_id":146746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":146746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:35:39] local.INFO: TCP Data received {"connection_id":146745,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:35:39] local.INFO: Processing buffer {"connection_id":146745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:35:39] local.INFO: Packet analysis {"connection_id":146745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:35:39] local.INFO: Extracted packet for processing {"connection_id":146745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:35:39] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133004800001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785675801000,"timestamp_ms":1785675801000,"timestamp_seconds":1785675801,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29261a8"} 
[2026-08-02 18:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-02 18:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133004800001,"66":27593,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133004800001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:35:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:35:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:35:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133004800001,"power":27593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":146745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:35:39] local.INFO: GPS data processed {"connection_id":146745,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:35:39] local.INFO: Acknowledgment sent {"connection_id":146745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:35:40] local.INFO: TCP Data received {"connection_id":146746,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29236b0012d181e800721afc0004b00cc27..."} 
[2026-08-02 18:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29236b0012d181e800721afc0004b00cc27..."} 
[2026-08-02 18:35:40] local.INFO: Processing buffer {"connection_id":146746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29236b0012d181e800721afc0004b00cc27..."} 
[2026-08-02 18:35:40] local.INFO: Packet analysis {"connection_id":146746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:35:40] local.INFO: Extracted packet for processing {"connection_id":146746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648192,"longitude_deg":75.6555392,"latitude_deg":11.9648192,"altitude":75,"angle":204,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-02 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457132996864001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345665682997248,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329946112,"note":"Value kept but may cause issues"} 
[2026-08-02 18:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785675790000,"timestamp_ms":1785675790000,"timestamp_seconds":1785675790,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29236b0"} 
[2026-08-02 18:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-02 18:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457132996864001,"66":12722,"107":206,"83":41984,"24":0,"16":10345665682997248,"45":1737967274329946112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457132996864001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:35:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:35:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345665682997248,"km_value":10345665682997.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329946112,"description":"Unknown IO ID 45"} 
[2026-08-02 18:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457132996864001,"power":12722,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329946112}} 
[2026-08-02 18:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":146746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:35:40] local.INFO: GPS data processed {"connection_id":146746,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:35:40] local.INFO: Acknowledgment sent {"connection_id":146746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:36:11] local.INFO: TCP Data received {"connection_id":146746,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29288b8012d181e800721afc0004b00cc27..."} 
[2026-08-02 18:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29288b8012d181e800721afc0004b00cc27..."} 
[2026-08-02 18:36:11] local.INFO: Processing buffer {"connection_id":146746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29288b8012d181e800721afc0004b00cc27..."} 
[2026-08-02 18:36:11] local.INFO: Packet analysis {"connection_id":146746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:36:11] local.INFO: Extracted packet for processing {"connection_id":146746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648192,"longitude_deg":75.6555392,"latitude_deg":11.9648192,"altitude":75,"angle":204,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-02 18:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133002240001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345665682997248,"note":"Value kept but may cause issues"} 
[2026-08-02 18:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329882624,"note":"Value kept but may cause issues"} 
[2026-08-02 18:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785675811000,"timestamp_ms":1785675811000,"timestamp_seconds":1785675811,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29288b8"} 
[2026-08-02 18:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 18:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133002240001,"66":12776,"107":206,"83":41984,"24":0,"16":10345665682997248,"45":1737967274329882624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133002240001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:36:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:36:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345665682997248,"km_value":10345665682997.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329882624,"description":"Unknown IO ID 45"} 
[2026-08-02 18:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133002240001,"power":12776,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329882624}} 
[2026-08-02 18:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":146746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:36:11] local.INFO: GPS data processed {"connection_id":146746,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:36:11] local.INFO: Acknowledgment sent {"connection_id":146746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:36:24] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:36:24] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:36:24] local.INFO: IMEI packet received {"connection_id":146747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":146747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:36:29] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:36:29] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:36:29] local.INFO: IMEI packet received {"connection_id":146747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":146747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:36:29] local.INFO: TCP Data received {"connection_id":146748,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:36:29] local.INFO: Processing buffer {"connection_id":146748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:36:29] local.INFO: IMEI packet received {"connection_id":146748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":146748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:36:31] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:36:31] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:36:31] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:36:31] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:36:31] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133004800001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:36:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785675801000,"timestamp_ms":1785675801000,"timestamp_seconds":1785675801,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29261a8"} 
[2026-08-02 18:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-02 18:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133004800001,"66":27593,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133004800001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:36:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:36:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:36:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133004800001,"power":27593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:36:31] local.INFO: GPS data processed {"connection_id":146747,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:36:31] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:36:34] local.INFO: TCP Data received {"connection_id":146748,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:36:34] local.INFO: Processing buffer {"connection_id":146748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:36:34] local.INFO: IMEI packet received {"connection_id":146748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":146748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:36:34] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:36:34] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:36:34] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:36:34] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:36:34] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133004800001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:36:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785675801000,"timestamp_ms":1785675801000,"timestamp_seconds":1785675801,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29261a8"} 
[2026-08-02 18:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-02 18:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133004800001,"66":27593,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133004800001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:36:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:36:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:36:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133004800001,"power":27593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:36:34] local.INFO: GPS data processed {"connection_id":146747,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:36:34] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:36:35] local.INFO: TCP Data received {"connection_id":146748,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc292dac0012d181e800721afc0004b00cc28..."} 
[2026-08-02 18:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc292dac0012d181e800721afc0004b00cc28..."} 
[2026-08-02 18:36:35] local.INFO: Processing buffer {"connection_id":146748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc292dac0012d181e800721afc0004b00cc28..."} 
[2026-08-02 18:36:35] local.INFO: Packet analysis {"connection_id":146748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:36:35] local.INFO: Extracted packet for processing {"connection_id":146748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:36:35] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648192,"longitude_deg":75.6555392,"latitude_deg":11.9648192,"altitude":75,"angle":204,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-02 18:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133007616001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345665682997248,"note":"Value kept but may cause issues"} 
[2026-08-02 18:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329882624,"note":"Value kept but may cause issues"} 
[2026-08-02 18:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785675832000,"timestamp_ms":1785675832000,"timestamp_seconds":1785675832,"priority":1,"record_length":96,"hex_timestamp":"0000019fc292dac0"} 
[2026-08-02 18:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:36: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-08-02 18:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-02 18:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133007616001,"66":12722,"107":206,"83":41984,"24":0,"16":10345665682997248,"45":1737967274329882624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133007616001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:36:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:36:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345665682997248,"km_value":10345665682997.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329882624,"description":"Unknown IO ID 45"} 
[2026-08-02 18:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133007616001,"power":12722,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329882624}} 
[2026-08-02 18:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":146748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:36:35] local.INFO: GPS data processed {"connection_id":146748,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:36:35] local.INFO: Acknowledgment sent {"connection_id":146748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:37:06] local.INFO: TCP Data received {"connection_id":146748,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2932cc8012d181e800721afc0004b00cc29..."} 
[2026-08-02 18:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2932cc8012d181e800721afc0004b00cc29..."} 
[2026-08-02 18:37:06] local.INFO: Processing buffer {"connection_id":146748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2932cc8012d181e800721afc0004b00cc29..."} 
[2026-08-02 18:37:06] local.INFO: Packet analysis {"connection_id":146748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc293"} 
[2026-08-02 18:37:06] local.INFO: Extracted packet for processing {"connection_id":146748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc293"} 
[2026-08-02 18:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648192,"longitude_deg":75.6555392,"latitude_deg":11.9648192,"altitude":75,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133012992001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345665682997248,"note":"Value kept but may cause issues"} 
[2026-08-02 18:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329882624,"note":"Value kept but may cause issues"} 
[2026-08-02 18:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785675853000,"timestamp_ms":1785675853000,"timestamp_seconds":1785675853,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2932cc8"} 
[2026-08-02 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-08-02 18:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 18:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133012992001,"66":12722,"107":206,"83":41984,"24":0,"16":10345665682997248,"45":1737967274329882624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133012992001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:37:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345665682997248,"km_value":10345665682997.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329882624,"description":"Unknown IO ID 45"} 
[2026-08-02 18:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133012992001,"power":12722,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329882624}} 
[2026-08-02 18:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":146748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:37:06] local.INFO: GPS data processed {"connection_id":146748,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:37:06] local.INFO: Acknowledgment sent {"connection_id":146748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:37:06] local.INFO: TCP Data received {"connection_id":146747,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:37:06] local.INFO: Processing buffer {"connection_id":146747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:37:06] local.INFO: Packet analysis {"connection_id":146747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:37:06] local.INFO: Extracted packet for processing {"connection_id":146747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:37:06] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133004800001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785675801000,"timestamp_ms":1785675801000,"timestamp_seconds":1785675801,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29261a8"} 
[2026-08-02 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-08-02 18: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-08-02 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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-02 18:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133004800001,"66":27593,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133004800001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:37:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:37:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133004800001,"power":27593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":146747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:37:06] local.INFO: GPS data processed {"connection_id":146747,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:37:06] local.INFO: Acknowledgment sent {"connection_id":146747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:37:24] local.INFO: TCP Data received {"connection_id":149313,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:37:24] local.INFO: Processing buffer {"connection_id":149313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:37:24] local.INFO: IMEI packet received {"connection_id":149313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":149313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:37:29] local.INFO: TCP Data received {"connection_id":149313,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:37:29] local.INFO: Processing buffer {"connection_id":149313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:37:29] local.INFO: IMEI packet received {"connection_id":149313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":149313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:37:29] local.INFO: TCP Data received {"connection_id":148008,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:37:29] local.INFO: Processing buffer {"connection_id":148008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:37:29] local.INFO: IMEI packet received {"connection_id":148008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":148008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:37:30] local.INFO: TCP Data received {"connection_id":149313,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:37:30] local.INFO: Processing buffer {"connection_id":149313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29261a8012cc3318007685918005800c527..."} 
[2026-08-02 18:37:30] local.INFO: Packet analysis {"connection_id":149313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:37:30] local.INFO: Extracted packet for processing {"connection_id":149313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc292"} 
[2026-08-02 18:37:30] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133004800001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:37:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785675801000,"timestamp_ms":1785675801000,"timestamp_seconds":1785675801,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29261a8"} 
[2026-08-02 18:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-02 18:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133004800001,"66":27593,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133004800001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:37:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:37:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:37:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133004800001,"power":27593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":149313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:37:30] local.INFO: GPS data processed {"connection_id":149313,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:37:30] local.INFO: Acknowledgment sent {"connection_id":149313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:37:34] local.INFO: TCP Data received {"connection_id":148008,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:37:34] local.INFO: Processing buffer {"connection_id":148008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:37:34] local.INFO: IMEI packet received {"connection_id":148008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":148008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:37:35] local.INFO: TCP Data received {"connection_id":148008,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2937ed0012d181e800721afc0004b00cc28..."} 
[2026-08-02 18:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2937ed0012d181e800721afc0004b00cc28..."} 
[2026-08-02 18:37:35] local.INFO: Processing buffer {"connection_id":148008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2937ed0012d181e800721afc0004b00cc28..."} 
[2026-08-02 18:37:35] local.INFO: Packet analysis {"connection_id":148008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc293"} 
[2026-08-02 18:37:35] local.INFO: Extracted packet for processing {"connection_id":148008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc293"} 
[2026-08-02 18:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648192,"longitude_deg":75.6555392,"latitude_deg":11.9648192,"altitude":75,"angle":204,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-02 18:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133018368001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345665682997248,"note":"Value kept but may cause issues"} 
[2026-08-02 18:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329882624,"note":"Value kept but may cause issues"} 
[2026-08-02 18:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785675874000,"timestamp_ms":1785675874000,"timestamp_seconds":1785675874,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2937ed0"} 
[2026-08-02 18:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:37: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-08-02 18:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-02 18:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133018368001,"66":12711,"107":206,"83":41984,"24":0,"16":10345665682997248,"45":1737967274329882624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-02 18:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133018368001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:37:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-02 18:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345665682997248,"km_value":10345665682997.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329882624,"description":"Unknown IO ID 45"} 
[2026-08-02 18:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133018368001,"power":12711,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329882624}} 
[2026-08-02 18:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":148008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:37:35] local.INFO: GPS data processed {"connection_id":148008,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:37:35] local.INFO: Acknowledgment sent {"connection_id":148008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:38:02] local.INFO: TCP Data received {"connection_id":149313,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc295e418012cc330c007685958005800c52a..."} 
[2026-08-02 18:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc295e418012cc330c007685958005800c52a..."} 
[2026-08-02 18:38:02] local.INFO: Processing buffer {"connection_id":149313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc295e418012cc330c007685958005800c52a..."} 
[2026-08-02 18:38:02] local.INFO: Packet analysis {"connection_id":149313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc295"} 
[2026-08-02 18:38:02] local.INFO: Extracted packet for processing {"connection_id":149313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc295"} 
[2026-08-02 18:38:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133005056001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:38:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785676031000,"timestamp_ms":1785676031000,"timestamp_seconds":1785676031,"priority":1,"record_length":96,"hex_timestamp":"0000019fc295e418"} 
[2026-08-02 18:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-02 18:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18: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-08-02 18:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133005056001,"66":25647,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133005056001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:38:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:38:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:38:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133005056001,"power":25647,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":149313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:38:02] local.INFO: GPS data processed {"connection_id":149313,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:38:02] local.INFO: Acknowledgment sent {"connection_id":149313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:38:06] local.INFO: TCP Data received {"connection_id":148008,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc293d0d8012d181e800721afc0004b00cc29..."} 
[2026-08-02 18:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc293d0d8012d181e800721afc0004b00cc29..."} 
[2026-08-02 18:38:06] local.INFO: Processing buffer {"connection_id":148008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc293d0d8012d181e800721afc0004b00cc29..."} 
[2026-08-02 18:38:06] local.INFO: Packet analysis {"connection_id":148008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc293"} 
[2026-08-02 18:38:06] local.INFO: Extracted packet for processing {"connection_id":148008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc293"} 
[2026-08-02 18:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648192,"longitude_deg":75.6555392,"latitude_deg":11.9648192,"altitude":75,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133023744001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345665682997248,"note":"Value kept but may cause issues"} 
[2026-08-02 18:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329882624,"note":"Value kept but may cause issues"} 
[2026-08-02 18:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785675895000,"timestamp_ms":1785675895000,"timestamp_seconds":1785675895,"priority":1,"record_length":96,"hex_timestamp":"0000019fc293d0d8"} 
[2026-08-02 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-08-02 18:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":167,"data_length":795,"current_offset":136} 
[2026-08-02 18:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133023744001,"66":12689,"105":206,"83":41984,"24":0,"16":10345665682997248,"45":1737967274329882624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133023744001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:38:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345665682997248,"km_value":10345665682997.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329882624,"description":"Unknown IO ID 45"} 
[2026-08-02 18:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133023744001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329882624}} 
[2026-08-02 18:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":148008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:38:06] local.INFO: GPS data processed {"connection_id":148008,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:38:06] local.INFO: Acknowledgment sent {"connection_id":148008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:38:29] local.INFO: TCP Data received {"connection_id":149314,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:38:29] local.INFO: Processing buffer {"connection_id":149314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:38:29] local.INFO: IMEI packet received {"connection_id":149314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":149314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:38:34] local.INFO: TCP Data received {"connection_id":149314,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:38:34] local.INFO: Processing buffer {"connection_id":149314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:38:34] local.INFO: IMEI packet received {"connection_id":149314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":149314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:38:35] local.INFO: TCP Data received {"connection_id":149314,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2941b10012d181e000721aeb0004c00d92a..."} 
[2026-08-02 18:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2941b10012d181e000721aeb0004c00d92a..."} 
[2026-08-02 18:38:35] local.INFO: Processing buffer {"connection_id":149314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2941b10012d181e000721aeb0004c00d92a..."} 
[2026-08-02 18:38:35] local.INFO: Packet analysis {"connection_id":149314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc294"} 
[2026-08-02 18:38:35] local.INFO: Extracted packet for processing {"connection_id":149314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc294"} 
[2026-08-02 18:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647920,"longitude_deg":75.6555264,"latitude_deg":11.964792,"altitude":76,"angle":217,"satellites":42,"speed":1,"hex_longitude":"2d181e00","hex_latitude":"0721aeb0","is_valid_coordinates":true} 
[2026-08-02 18:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133029120001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345678567899136,"note":"Value kept but may cause issues"} 
[2026-08-02 18:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329882624,"note":"Value kept but may cause issues"} 
[2026-08-02 18:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785675914000,"timestamp_ms":1785675914000,"timestamp_seconds":1785675914,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2941b10"} 
[2026-08-02 18:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:38: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-08-02 18:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-02 18:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133029120001,"66":12461,"105":206,"83":41984,"24":1,"16":10345678567899136,"45":1737967274329882624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133029120001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:38:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:38:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345678567899136,"km_value":10345678567899.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329882624,"description":"Unknown IO ID 45"} 
[2026-08-02 18:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133029120001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737967274329882624}} 
[2026-08-02 18:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":149314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:38:35] local.INFO: GPS data processed {"connection_id":149314,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:38:35] local.INFO: Acknowledgment sent {"connection_id":149314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:38:43] local.INFO: TCP Data received {"connection_id":146972,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:38:43] local.INFO: Processing buffer {"connection_id":146972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:38:43] local.INFO: IMEI packet received {"connection_id":146972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":146972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:38:49] local.INFO: TCP Data received {"connection_id":146972,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:38:49] local.INFO: Processing buffer {"connection_id":146972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:38:49] local.INFO: IMEI packet received {"connection_id":146972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":146972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:38:50] local.INFO: TCP Data received {"connection_id":146972,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:38:50] local.INFO: Processing buffer {"connection_id":146972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:38:50] local.INFO: Packet analysis {"connection_id":146972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:38:50] local.INFO: Extracted packet for processing {"connection_id":146972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133063936001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:38:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785676047000,"timestamp_ms":1785676047000,"timestamp_seconds":1785676047,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2962298"} 
[2026-08-02 18:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 18:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133063936001,"66":27658,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133063936001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:38:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:38:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:38:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133063936001,"power":27658,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":146972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:38:50] local.INFO: GPS data processed {"connection_id":146972,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:38:50] local.INFO: Acknowledgment sent {"connection_id":146972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:39:06] local.INFO: TCP Data received {"connection_id":149314,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2946d18012d181e000721ae08004d00d229..."} 
[2026-08-02 18:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2946d18012d181e000721ae08004d00d229..."} 
[2026-08-02 18:39:06] local.INFO: Processing buffer {"connection_id":149314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2946d18012d181e000721ae08004d00d229..."} 
[2026-08-02 18:39:06] local.INFO: Packet analysis {"connection_id":149314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc294"} 
[2026-08-02 18:39:06] local.INFO: Extracted packet for processing {"connection_id":149314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc294"} 
[2026-08-02 18:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 18:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133033984001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841457664,"note":"Value kept but may cause issues"} 
[2026-08-02 18:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785675935000,"timestamp_ms":1785675935000,"timestamp_seconds":1785675935,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2946d18"} 
[2026-08-02 18:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18: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-08-02 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 18:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133033984001,"66":12613,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841457664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133033984001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:39:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841457664,"description":"Unknown IO ID 45"} 
[2026-08-02 18:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133033984001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841457664}} 
[2026-08-02 18:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":149314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:39:06] local.INFO: GPS data processed {"connection_id":149314,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:39:06] local.INFO: Acknowledgment sent {"connection_id":149314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:39:29] local.INFO: TCP Data received {"connection_id":148009,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:39:29] local.INFO: Processing buffer {"connection_id":148009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:39:29] local.INFO: IMEI packet received {"connection_id":148009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":148009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:39:29] local.INFO: TCP Data received {"connection_id":146749,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:39:29] local.INFO: Processing buffer {"connection_id":146749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:39:29] local.INFO: IMEI packet received {"connection_id":146749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":146749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:39:33] local.INFO: TCP Data received {"connection_id":148009,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:39:33] local.INFO: Processing buffer {"connection_id":148009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:39:33] local.INFO: IMEI packet received {"connection_id":148009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":148009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:39:34] local.INFO: TCP Data received {"connection_id":146749,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:39:34] local.INFO: Processing buffer {"connection_id":146749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:39:34] local.INFO: IMEI packet received {"connection_id":146749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":146749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:39:35] local.INFO: TCP Data received {"connection_id":146749,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc294bf20012d181e000721ae08004d00d22a..."} 
[2026-08-02 18:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc294bf20012d181e000721ae08004d00d22a..."} 
[2026-08-02 18:39:35] local.INFO: Processing buffer {"connection_id":146749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc294bf20012d181e000721ae08004d00d22a..."} 
[2026-08-02 18:39:35] local.INFO: Packet analysis {"connection_id":146749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc294"} 
[2026-08-02 18:39:35] local.INFO: Extracted packet for processing {"connection_id":146749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc294"} 
[2026-08-02 18:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 18:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133039360001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785675956000,"timestamp_ms":1785675956000,"timestamp_seconds":1785675956,"priority":1,"record_length":96,"hex_timestamp":"0000019fc294bf20"} 
[2026-08-02 18:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18: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-08-02 18:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-02 18:39: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-08-02 18:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133039360001,"66":12602,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841414656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133039360001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:39:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133039360001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-02 18:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":146749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:39:35] local.INFO: GPS data processed {"connection_id":146749,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:39:35] local.INFO: Acknowledgment sent {"connection_id":146749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:39:36] local.INFO: TCP Data received {"connection_id":148009,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:39:36] local.INFO: Processing buffer {"connection_id":148009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:39:36] local.INFO: Packet analysis {"connection_id":148009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:39:36] local.INFO: Extracted packet for processing {"connection_id":148009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:39:36] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133063936001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:39:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785676047000,"timestamp_ms":1785676047000,"timestamp_seconds":1785676047,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2962298"} 
[2026-08-02 18:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:39: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-08-02 18: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":47,"data_length":795,"current_offset":136} 
[2026-08-02 18:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133063936001,"66":27658,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133063936001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:39:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:39:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:39:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133063936001,"power":27658,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":148009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:39:36] local.INFO: GPS data processed {"connection_id":148009,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:39:36] local.INFO: Acknowledgment sent {"connection_id":148009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:39:40] local.INFO: TCP Data received {"connection_id":148009,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:39:40] local.INFO: Processing buffer {"connection_id":148009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:39:40] local.INFO: Packet analysis {"connection_id":148009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:39:40] local.INFO: Extracted packet for processing {"connection_id":148009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133063936001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785676047000,"timestamp_ms":1785676047000,"timestamp_seconds":1785676047,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2962298"} 
[2026-08-02 18:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 18:39: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-08-02 18:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133063936001,"66":27658,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133063936001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:39:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:39:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133063936001,"power":27658,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":148009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:39:40] local.INFO: GPS data processed {"connection_id":148009,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:39:40] local.INFO: Acknowledgment sent {"connection_id":148009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:40:07] local.INFO: TCP Data received {"connection_id":146749,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2951128012d181e000721ae08004d00d228..."} 
[2026-08-02 18:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2951128012d181e000721ae08004d00d228..."} 
[2026-08-02 18:40:07] local.INFO: Processing buffer {"connection_id":146749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2951128012d181e000721ae08004d00d228..."} 
[2026-08-02 18:40:07] local.INFO: Packet analysis {"connection_id":146749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc295"} 
[2026-08-02 18:40:07] local.INFO: Extracted packet for processing {"connection_id":146749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc295"} 
[2026-08-02 18:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 18:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133044736001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785675977000,"timestamp_ms":1785675977000,"timestamp_seconds":1785675977,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2951128"} 
[2026-08-02 18:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-02 18:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133044736001,"66":12667,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841414656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133044736001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:40:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133044736001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-02 18:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":146749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:40:07] local.INFO: GPS data processed {"connection_id":146749,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:40:07] local.INFO: Acknowledgment sent {"connection_id":146749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:40:24] local.INFO: TCP Data received {"connection_id":146973,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:40:24] local.INFO: Processing buffer {"connection_id":146973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:40:24] local.INFO: IMEI packet received {"connection_id":146973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":146973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:40:29] local.INFO: TCP Data received {"connection_id":146973,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:40:29] local.INFO: Processing buffer {"connection_id":146973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:40:29] local.INFO: IMEI packet received {"connection_id":146973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":146973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:40:34] local.INFO: TCP Data received {"connection_id":148010,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:40:34] local.INFO: Processing buffer {"connection_id":148010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:40:34] local.INFO: IMEI packet received {"connection_id":148010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":148010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:40:39] local.INFO: TCP Data received {"connection_id":148010,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:40:39] local.INFO: Processing buffer {"connection_id":148010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:40:39] local.INFO: IMEI packet received {"connection_id":148010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":148010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:40:39] local.INFO: TCP Data received {"connection_id":148010,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2956330012d181e000721ae08004d00d229..."} 
[2026-08-02 18:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2956330012d181e000721ae08004d00d229..."} 
[2026-08-02 18:40:39] local.INFO: Processing buffer {"connection_id":148010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2956330012d181e000721ae08004d00d229..."} 
[2026-08-02 18:40:39] local.INFO: Packet analysis {"connection_id":148010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc295"} 
[2026-08-02 18:40:39] local.INFO: Extracted packet for processing {"connection_id":148010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc295"} 
[2026-08-02 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 18:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133050112001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785675998000,"timestamp_ms":1785675998000,"timestamp_seconds":1785675998,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2956330"} 
[2026-08-02 18:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:40: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-08-02 18:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-02 18:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133050112001,"66":12591,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841414656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133050112001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:40:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:40:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133050112001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-02 18:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":148010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:40:39] local.INFO: GPS data processed {"connection_id":148010,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:40:39] local.INFO: Acknowledgment sent {"connection_id":148010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:40:44] local.INFO: TCP Data received {"connection_id":148010,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc295b538012d181e000721ae08004d00d229..."} 
[2026-08-02 18:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc295b538012d181e000721ae08004d00d229..."} 
[2026-08-02 18:40:44] local.INFO: Processing buffer {"connection_id":148010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc295b538012d181e000721ae08004d00d229..."} 
[2026-08-02 18:40:44] local.INFO: Packet analysis {"connection_id":148010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc295"} 
[2026-08-02 18:40:44] local.INFO: Extracted packet for processing {"connection_id":148010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc295"} 
[2026-08-02 18:40:44] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 18:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133055488001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785676019000,"timestamp_ms":1785676019000,"timestamp_seconds":1785676019,"priority":1,"record_length":96,"hex_timestamp":"0000019fc295b538"} 
[2026-08-02 18:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 18:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133055488001,"66":12558,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841414656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133055488001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:40:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:40:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133055488001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-02 18:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":148010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:40:44] local.INFO: GPS data processed {"connection_id":148010,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:40:44] local.INFO: Acknowledgment sent {"connection_id":148010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:40:58] local.INFO: TCP Data received {"connection_id":146973,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:40:58] local.INFO: Processing buffer {"connection_id":146973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:40:58] local.INFO: Packet analysis {"connection_id":146973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:40:58] local.INFO: Extracted packet for processing {"connection_id":146973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:40:58] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133063936001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:40:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785676047000,"timestamp_ms":1785676047000,"timestamp_seconds":1785676047,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2962298"} 
[2026-08-02 18:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 18:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133063936001,"66":27658,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133063936001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:40:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:40:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:40:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133063936001,"power":27658,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":146973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:40:58] local.INFO: GPS data processed {"connection_id":146973,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:40:58] local.INFO: Acknowledgment sent {"connection_id":146973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:41:23] local.INFO: TCP Data received {"connection_id":146750,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:41:23] local.INFO: Processing buffer {"connection_id":146750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:41:23] local.INFO: IMEI packet received {"connection_id":146750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":146750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:41:28] local.INFO: TCP Data received {"connection_id":146974,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:41:28] local.INFO: Processing buffer {"connection_id":146974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:41:28] local.INFO: IMEI packet received {"connection_id":146974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":146974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:41:29] local.INFO: TCP Data received {"connection_id":146750,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:41:29] local.INFO: Processing buffer {"connection_id":146750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:41:29] local.INFO: IMEI packet received {"connection_id":146750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":146750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:41:29] local.INFO: TCP Data received {"connection_id":146974,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:41:29] local.INFO: Processing buffer {"connection_id":146974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:41:29] local.INFO: IMEI packet received {"connection_id":146974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":146974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:41:31] local.INFO: TCP Data received {"connection_id":146750,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:41:31] local.INFO: Processing buffer {"connection_id":146750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:41:31] local.INFO: Packet analysis {"connection_id":146750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:41:31] local.INFO: Extracted packet for processing {"connection_id":146750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:41:31] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133063936001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785676047000,"timestamp_ms":1785676047000,"timestamp_seconds":1785676047,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2962298"} 
[2026-08-02 18:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 18:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133063936001,"66":27658,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133063936001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:41:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:41:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:41:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133063936001,"power":27658,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":146750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:41:31] local.INFO: GPS data processed {"connection_id":146750,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:41:31] local.INFO: Acknowledgment sent {"connection_id":146750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:41:34] local.INFO: TCP Data received {"connection_id":146974,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:41:34] local.INFO: Processing buffer {"connection_id":146974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:41:34] local.INFO: IMEI packet received {"connection_id":146974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":146974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:41:35] local.INFO: TCP Data received {"connection_id":146974,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2960740012d181e000721ae08004d00d229..."} 
[2026-08-02 18:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2960740012d181e000721ae08004d00d229..."} 
[2026-08-02 18:41:35] local.INFO: Processing buffer {"connection_id":146974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2960740012d181e000721ae08004d00d229..."} 
[2026-08-02 18:41:35] local.INFO: Packet analysis {"connection_id":146974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:41:35] local.INFO: Extracted packet for processing {"connection_id":146974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 18:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133060864001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785676040000,"timestamp_ms":1785676040000,"timestamp_seconds":1785676040,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2960740"} 
[2026-08-02 18:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:41: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-08-02 18:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3264467160,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380666372108224,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2490177537,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2919759949,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510954,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3243704320,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-02 18:41:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,193,159,99,45,174,77,41,10,66,17,40,191,1,240,58,227,194,33,4,113,205,27,30,176,42,239,48,2,36,7,75,106,74,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 18:41:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548665814455943168,"timestamp_seconds":5548665814455943.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 18:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133060864001,"66":12613,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841414656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133060864001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:41:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133060864001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-02 18:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":146974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:41:35] local.INFO: GPS data processed {"connection_id":146974,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:41:35] local.INFO: Acknowledgment sent {"connection_id":146974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:42:03] local.INFO: TCP Data received {"connection_id":146750,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:42:03] local.INFO: Processing buffer {"connection_id":146750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:42:03] local.INFO: Packet analysis {"connection_id":146750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:42:03] local.INFO: Extracted packet for processing {"connection_id":146750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:42:03] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133063936001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:42:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785676047000,"timestamp_ms":1785676047000,"timestamp_seconds":1785676047,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2962298"} 
[2026-08-02 18:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:42: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-08-02 18:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 18:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133063936001,"66":27658,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133063936001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:42:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:42:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:42:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133063936001,"power":27658,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":146750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:42:03] local.INFO: GPS data processed {"connection_id":146750,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:42:03] local.INFO: Acknowledgment sent {"connection_id":146750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:42:06] local.INFO: TCP Data received {"connection_id":146974,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2965948012d181e000721ae08004d00d229..."} 
[2026-08-02 18:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2965948012d181e000721ae08004d00d229..."} 
[2026-08-02 18:42:06] local.INFO: Processing buffer {"connection_id":146974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2965948012d181e000721ae08004d00d229..."} 
[2026-08-02 18:42:06] local.INFO: Packet analysis {"connection_id":146974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:42:06] local.INFO: Extracted packet for processing {"connection_id":146974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133066240001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785676061000,"timestamp_ms":1785676061000,"timestamp_seconds":1785676061,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2965948"} 
[2026-08-02 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-08-02 18:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-02 18:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133066240001,"66":12591,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841414656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133066240001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:42:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133066240001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-02 18:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":146974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:42:06] local.INFO: GPS data processed {"connection_id":146974,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:42:06] local.INFO: Acknowledgment sent {"connection_id":146974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:42:23] local.INFO: TCP Data received {"connection_id":148011,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:42:23] local.INFO: Processing buffer {"connection_id":148011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:42:23] local.INFO: IMEI packet received {"connection_id":148011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":148011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:42:29] local.INFO: TCP Data received {"connection_id":148012,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:42:29] local.INFO: Processing buffer {"connection_id":148012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:42:29] local.INFO: IMEI packet received {"connection_id":148012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":148012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:42:31] local.INFO: TCP Data received {"connection_id":148011,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:42:31] local.INFO: Processing buffer {"connection_id":148011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:42:31] local.INFO: IMEI packet received {"connection_id":148011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":148011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:42:32] local.INFO: TCP Data received {"connection_id":148012,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:42:32] local.INFO: Processing buffer {"connection_id":148012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:42:32] local.INFO: IMEI packet received {"connection_id":148012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":148012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:42:32] local.INFO: TCP Data received {"connection_id":148011,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:42:32] local.INFO: Processing buffer {"connection_id":148011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:42:32] local.INFO: Packet analysis {"connection_id":148011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:42:32] local.INFO: Extracted packet for processing {"connection_id":148011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:42:32] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133063936001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:42:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785676047000,"timestamp_ms":1785676047000,"timestamp_seconds":1785676047,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2962298"} 
[2026-08-02 18:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:42: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-08-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 18:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133063936001,"66":27658,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133063936001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:42:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:42:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:42:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133063936001,"power":27658,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":148011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:42:32] local.INFO: GPS data processed {"connection_id":148011,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:42:32] local.INFO: Acknowledgment sent {"connection_id":148011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:42:33] local.INFO: TCP Data received {"connection_id":148012,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc296ab50012d181e000721ae08004d00d229..."} 
[2026-08-02 18:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc296ab50012d181e000721ae08004d00d229..."} 
[2026-08-02 18:42:33] local.INFO: Processing buffer {"connection_id":148012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc296ab50012d181e000721ae08004d00d229..."} 
[2026-08-02 18:42:33] local.INFO: Packet analysis {"connection_id":148012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:42:33] local.INFO: Extracted packet for processing {"connection_id":148012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 18:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133071616001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785676082000,"timestamp_ms":1785676082000,"timestamp_seconds":1785676082,"priority":1,"record_length":96,"hex_timestamp":"0000019fc296ab50"} 
[2026-08-02 18:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 18:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133071616001,"66":12591,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841414656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133071616001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:42:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133071616001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-02 18:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":148012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:42:33] local.INFO: GPS data processed {"connection_id":148012,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:42:33] local.INFO: Acknowledgment sent {"connection_id":148012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:43:04] local.INFO: TCP Data received {"connection_id":148011,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:43:04] local.INFO: Processing buffer {"connection_id":148011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2962298012cc3318007685918005800c52b..."} 
[2026-08-02 18:43:04] local.INFO: Packet analysis {"connection_id":148011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:43:04] local.INFO: Extracted packet for processing {"connection_id":148011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:43:04] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 18:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133063936001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785676047000,"timestamp_ms":1785676047000,"timestamp_seconds":1785676047,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2962298"} 
[2026-08-02 18:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 18:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133063936001,"66":27658,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133063936001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:43:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:43:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:43:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133063936001,"power":27658,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":148011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:43:04] local.INFO: GPS data processed {"connection_id":148011,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:43:04] local.INFO: Acknowledgment sent {"connection_id":148011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:43:04] local.INFO: TCP Data received {"connection_id":148012,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc296fd58012d181e000721ae08004d00d22a..."} 
[2026-08-02 18:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc296fd58012d181e000721ae08004d00d22a..."} 
[2026-08-02 18:43:04] local.INFO: Processing buffer {"connection_id":148012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc296fd58012d181e000721ae08004d00d22a..."} 
[2026-08-02 18:43:04] local.INFO: Packet analysis {"connection_id":148012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:43:04] local.INFO: Extracted packet for processing {"connection_id":148012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc296"} 
[2026-08-02 18:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 18:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133076992001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43: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-08-02 18:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785676103000,"timestamp_ms":1785676103000,"timestamp_seconds":1785676103,"priority":1,"record_length":96,"hex_timestamp":"0000019fc296fd58"} 
[2026-08-02 18:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:43: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-08-02 18:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-02 18:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133076992001,"66":12548,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841414656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133076992001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:43:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133076992001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-02 18:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":148012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:43:04] local.INFO: GPS data processed {"connection_id":148012,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:43:04] local.INFO: Acknowledgment sent {"connection_id":148012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:43:29] local.INFO: TCP Data received {"connection_id":146975,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:43:29] local.INFO: Processing buffer {"connection_id":146975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:43:29] local.INFO: IMEI packet received {"connection_id":146975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":146975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:43:29] local.INFO: TCP Data received {"connection_id":146976,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:43:29] local.INFO: Processing buffer {"connection_id":146976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:43:29] local.INFO: IMEI packet received {"connection_id":146976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":146976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:43:34] local.INFO: TCP Data received {"connection_id":146976,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:43:34] local.INFO: Processing buffer {"connection_id":146976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:43:34] local.INFO: IMEI packet received {"connection_id":146976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":146976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:43:35] local.INFO: TCP Data received {"connection_id":146976,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29a83b0012d181e000721ae08004d00d22b..."} 
[2026-08-02 18:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29a83b0012d181e000721ae08004d00d22b..."} 
[2026-08-02 18:43:35] local.INFO: Processing buffer {"connection_id":146976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29a83b0012d181e000721ae08004d00d22b..."} 
[2026-08-02 18:43:35] local.INFO: Packet analysis {"connection_id":146976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:43:35] local.INFO: Extracted packet for processing {"connection_id":146976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 18:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133136128001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785676334000,"timestamp_ms":1785676334000,"timestamp_seconds":1785676334,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29a83b0"} 
[2026-08-02 18:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:43: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-08-02 18:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-02 18:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133136128001,"66":12461,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841414656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133136128001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:43:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133136128001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-02 18:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":146976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:43:35] local.INFO: GPS data processed {"connection_id":146976,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:43:35] local.INFO: Acknowledgment sent {"connection_id":146976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:43:37] local.INFO: TCP Data received {"connection_id":146975,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:43:37] local.INFO: Processing buffer {"connection_id":146975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:43:37] local.INFO: IMEI packet received {"connection_id":146975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":146975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:43:45] local.INFO: TCP Data received {"connection_id":146975,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:43:45] local.INFO: Processing buffer {"connection_id":146975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:43:45] local.INFO: Packet analysis {"connection_id":146975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:43:45] local.INFO: Extracted packet for processing {"connection_id":146975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133068032001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785676351000,"timestamp_ms":1785676351000,"timestamp_seconds":1785676351,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29ac618"} 
[2026-08-02 18:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:43: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-08-02 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 18:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133068032001,"66":25538,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133068032001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:43:45] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:43:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:43:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133068032001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":146975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:43:45] local.INFO: GPS data processed {"connection_id":146975,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:43:45] local.INFO: Acknowledgment sent {"connection_id":146975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:43:46] local.INFO: TCP Data received {"connection_id":146975,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:43:46] local.INFO: Processing buffer {"connection_id":146975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:43:46] local.INFO: Packet analysis {"connection_id":146975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:43:46] local.INFO: Extracted packet for processing {"connection_id":146975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:43:46] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133068032001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785676351000,"timestamp_ms":1785676351000,"timestamp_seconds":1785676351,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29ac618"} 
[2026-08-02 18:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 18:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133068032001,"66":25538,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133068032001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:43:46] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:43:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:43:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133068032001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":146975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:43:46] local.INFO: GPS data processed {"connection_id":146975,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:43:46] local.INFO: Acknowledgment sent {"connection_id":146975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:44:06] local.INFO: TCP Data received {"connection_id":146976,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29ad5b8012d181e000721ae08004d00d22a..."} 
[2026-08-02 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29ad5b8012d181e000721ae08004d00d22a..."} 
[2026-08-02 18:44:06] local.INFO: Processing buffer {"connection_id":146976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29ad5b8012d181e000721ae08004d00d22a..."} 
[2026-08-02 18:44:06] local.INFO: Packet analysis {"connection_id":146976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:44:06] local.INFO: Extracted packet for processing {"connection_id":146976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133141504001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785676355000,"timestamp_ms":1785676355000,"timestamp_seconds":1785676355,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29ad5b8"} 
[2026-08-02 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-08-02 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":173,"data_length":795,"current_offset":136} 
[2026-08-02 18:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133141504001,"66":11808,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841414656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133141504001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:44:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133141504001,"power":11808,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-02 18:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":146976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:44:06] local.INFO: GPS data processed {"connection_id":146976,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:44:06] local.INFO: Acknowledgment sent {"connection_id":146976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:44:24] local.INFO: TCP Data received {"connection_id":149315,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:44:24] local.INFO: Processing buffer {"connection_id":149315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:44:24] local.INFO: IMEI packet received {"connection_id":149315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":149315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:44:28] local.INFO: TCP Data received {"connection_id":149315,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:44:28] local.INFO: Processing buffer {"connection_id":149315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:44:28] local.INFO: IMEI packet received {"connection_id":149315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":149315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:44:29] local.INFO: TCP Data received {"connection_id":146751,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:44:29] local.INFO: Processing buffer {"connection_id":146751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:44:29] local.INFO: IMEI packet received {"connection_id":146751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":146751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:44:30] local.INFO: TCP Data received {"connection_id":149315,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:44:30] local.INFO: Processing buffer {"connection_id":149315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:44:30] local.INFO: Packet analysis {"connection_id":149315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:44:30] local.INFO: Extracted packet for processing {"connection_id":149315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:44:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133068032001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785676351000,"timestamp_ms":1785676351000,"timestamp_seconds":1785676351,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29ac618"} 
[2026-08-02 18:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 18:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133068032001,"66":25538,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133068032001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:44:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:44:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133068032001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":149315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:44:30] local.INFO: GPS data processed {"connection_id":149315,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:44:30] local.INFO: Acknowledgment sent {"connection_id":149315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:44:34] local.INFO: TCP Data received {"connection_id":146751,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:44:34] local.INFO: Processing buffer {"connection_id":146751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:44:34] local.INFO: IMEI packet received {"connection_id":146751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":146751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:44:34] local.INFO: TCP Data received {"connection_id":146751,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29b27c0012d181e000721ae08004d00d229..."} 
[2026-08-02 18:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29b27c0012d181e000721ae08004d00d229..."} 
[2026-08-02 18:44:34] local.INFO: Processing buffer {"connection_id":146751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29b27c0012d181e000721ae08004d00d229..."} 
[2026-08-02 18:44:34] local.INFO: Packet analysis {"connection_id":146751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29b"} 
[2026-08-02 18:44:34] local.INFO: Extracted packet for processing {"connection_id":146751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29b"} 
[2026-08-02 18:44:34] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 18:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133146880001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785676376000,"timestamp_ms":1785676376000,"timestamp_seconds":1785676376,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29b27c0"} 
[2026-08-02 18:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-02 18:44:34] 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-08-02 18:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133146880001,"66":12461,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841414656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133146880001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:44:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133146880001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-02 18:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":146751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:44:34] local.INFO: GPS data processed {"connection_id":146751,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:44:34] local.INFO: Acknowledgment sent {"connection_id":146751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:45:02] local.INFO: TCP Data received {"connection_id":149315,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:45:02] local.INFO: Processing buffer {"connection_id":149315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:45:02] local.INFO: Packet analysis {"connection_id":149315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:45:02] local.INFO: Extracted packet for processing {"connection_id":149315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:45:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133068032001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:45:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785676351000,"timestamp_ms":1785676351000,"timestamp_seconds":1785676351,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29ac618"} 
[2026-08-02 18:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 18:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133068032001,"66":25538,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133068032001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:45:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:45:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:45:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133068032001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":149315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:45:02] local.INFO: GPS data processed {"connection_id":149315,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:45:02] local.INFO: Acknowledgment sent {"connection_id":149315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:45:05] local.INFO: TCP Data received {"connection_id":146751,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29b79c8012d181e000721ae08004d00d228..."} 
[2026-08-02 18:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29b79c8012d181e000721ae08004d00d228..."} 
[2026-08-02 18:45:05] local.INFO: Processing buffer {"connection_id":146751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29b79c8012d181e000721ae08004d00d228..."} 
[2026-08-02 18:45:05] local.INFO: Packet analysis {"connection_id":146751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29b"} 
[2026-08-02 18:45:05] local.INFO: Extracted packet for processing {"connection_id":146751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29b"} 
[2026-08-02 18:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 18:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133152256001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785676397000,"timestamp_ms":1785676397000,"timestamp_seconds":1785676397,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29b79c8"} 
[2026-08-02 18:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 18:45: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-08-02 18:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133152256001,"66":12461,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841414656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133152256001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:45:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133152256001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-02 18:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":146751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:45:06] local.INFO: GPS data processed {"connection_id":146751,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:45:06] local.INFO: Acknowledgment sent {"connection_id":146751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:45:23] local.INFO: TCP Data received {"connection_id":148013,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:45:23] local.INFO: Processing buffer {"connection_id":148013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:45:23] local.INFO: IMEI packet received {"connection_id":148013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":148013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:45:29] local.INFO: TCP Data received {"connection_id":146977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:45:29] local.INFO: Processing buffer {"connection_id":146977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:45:29] local.INFO: IMEI packet received {"connection_id":146977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":146977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:45:29] local.INFO: TCP Data received {"connection_id":148013,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:45:29] local.INFO: Processing buffer {"connection_id":148013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:45:29] local.INFO: IMEI packet received {"connection_id":148013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":148013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:45:31] local.INFO: TCP Data received {"connection_id":148013,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:45:31] local.INFO: Processing buffer {"connection_id":148013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:45:31] local.INFO: Packet analysis {"connection_id":148013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:45:31] local.INFO: Extracted packet for processing {"connection_id":148013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:45:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133068032001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785676351000,"timestamp_ms":1785676351000,"timestamp_seconds":1785676351,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29ac618"} 
[2026-08-02 18:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 18:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133068032001,"66":25538,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133068032001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:45:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:45:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133068032001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":148013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:45:31] local.INFO: GPS data processed {"connection_id":148013,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:45:31] local.INFO: Acknowledgment sent {"connection_id":148013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:45:34] local.INFO: TCP Data received {"connection_id":146977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:45:34] local.INFO: Processing buffer {"connection_id":146977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:45:34] local.INFO: IMEI packet received {"connection_id":146977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":146977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:45:35] local.INFO: TCP Data received {"connection_id":146977,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29bcbd0012d181e000721ae08004d00d22a..."} 
[2026-08-02 18:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29bcbd0012d181e000721ae08004d00d22a..."} 
[2026-08-02 18:45:35] local.INFO: Processing buffer {"connection_id":146977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29bcbd0012d181e000721ae08004d00d22a..."} 
[2026-08-02 18:45:35] local.INFO: Packet analysis {"connection_id":146977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29b"} 
[2026-08-02 18:45:35] local.INFO: Extracted packet for processing {"connection_id":146977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29b"} 
[2026-08-02 18:45:35] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 18:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133157632001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785676418000,"timestamp_ms":1785676418000,"timestamp_seconds":1785676418,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29bcbd0"} 
[2026-08-02 18:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:45: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-08-02 18:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 18:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133157632001,"66":12461,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841414656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133157632001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:45:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133157632001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-02 18:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":146977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:45:35] local.INFO: GPS data processed {"connection_id":146977,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:45:35] local.INFO: Acknowledgment sent {"connection_id":146977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:46:06] local.INFO: TCP Data received {"connection_id":146977,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29c1dd8012d181e000721ae08004d00d228..."} 
[2026-08-02 18:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29c1dd8012d181e000721ae08004d00d228..."} 
[2026-08-02 18:46:06] local.INFO: Processing buffer {"connection_id":146977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29c1dd8012d181e000721ae08004d00d228..."} 
[2026-08-02 18:46:06] local.INFO: Packet analysis {"connection_id":146977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29c"} 
[2026-08-02 18:46:06] local.INFO: Extracted packet for processing {"connection_id":146977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29c"} 
[2026-08-02 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":77,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133163008001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10345687157833728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785676439000,"timestamp_ms":1785676439000,"timestamp_seconds":1785676439,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29c1dd8"} 
[2026-08-02 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-08-02 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 18:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133163008001,"66":12472,"105":206,"83":41984,"24":0,"16":10345687157833728,"45":1737826536841414656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-02 18:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133163008001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:46:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 18:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10345687157833728,"km_value":10345687157833.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133163008001,"power":12472,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-02 18:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":146977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:46:06] local.INFO: GPS data processed {"connection_id":146977,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:46:06] local.INFO: Acknowledgment sent {"connection_id":146977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:46:08] local.INFO: TCP Data received {"connection_id":148013,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:46:08] local.INFO: Processing buffer {"connection_id":148013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:46:08] local.INFO: Packet analysis {"connection_id":148013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:46:08] local.INFO: Extracted packet for processing {"connection_id":148013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:46:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133068032001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785676351000,"timestamp_ms":1785676351000,"timestamp_seconds":1785676351,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29ac618"} 
[2026-08-02 18:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:46: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-08-02 18: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":10,"data_length":795,"current_offset":136} 
[2026-08-02 18:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133068032001,"66":25538,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133068032001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:46:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:46:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:46:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133068032001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":148013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:46:08] local.INFO: GPS data processed {"connection_id":148013,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:46:08] local.INFO: Acknowledgment sent {"connection_id":148013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:46:23] local.INFO: TCP Data received {"connection_id":148014,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:46:23] local.INFO: Processing buffer {"connection_id":148014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:46:23] local.INFO: IMEI packet received {"connection_id":148014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":148014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:46:29] local.INFO: TCP Data received {"connection_id":148014,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:46:29] local.INFO: Processing buffer {"connection_id":148014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:46:29] local.INFO: IMEI packet received {"connection_id":148014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":148014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:46:30] local.INFO: TCP Data received {"connection_id":148014,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:46:30] local.INFO: Processing buffer {"connection_id":148014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:46:30] local.INFO: Packet analysis {"connection_id":148014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:46:30] local.INFO: Extracted packet for processing {"connection_id":148014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:46:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133068032001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785676351000,"timestamp_ms":1785676351000,"timestamp_seconds":1785676351,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29ac618"} 
[2026-08-02 18:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 18:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133068032001,"66":25538,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133068032001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:46:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:46:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:46:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133068032001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":148014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:46:30] local.INFO: GPS data processed {"connection_id":148014,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:46:30] local.INFO: Acknowledgment sent {"connection_id":148014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:46:34] local.INFO: TCP Data received {"connection_id":146752,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:46:34] local.INFO: Processing buffer {"connection_id":146752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:46:34] local.INFO: IMEI packet received {"connection_id":146752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":146752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:46:38] local.INFO: TCP Data received {"connection_id":146752,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:46:38] local.INFO: Processing buffer {"connection_id":146752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:46:38] local.INFO: IMEI packet received {"connection_id":146752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":146752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:46:39] local.INFO: TCP Data received {"connection_id":146752,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29d94d8012d18598007218778004d007521..."} 
[2026-08-02 18:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29d94d8012d18598007218778004d007521..."} 
[2026-08-02 18:46:39] local.INFO: Processing buffer {"connection_id":146752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29d94d8012d18598007218778004d007521..."} 
[2026-08-02 18:46:39] local.INFO: Packet analysis {"connection_id":146752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29d"} 
[2026-08-02 18:46:39] local.INFO: Extracted packet for processing {"connection_id":146752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29d"} 
[2026-08-02 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119637880,"longitude_deg":75.6570496,"latitude_deg":11.963788,"altitude":77,"angle":117,"satellites":33,"speed":37,"hex_longitude":"2d185980","hex_latitude":"07218778","is_valid_coordinates":true} 
[2026-08-02 18:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133190144001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10346597690900480,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745215254978478080,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785676535000,"timestamp_ms":1785676535000,"timestamp_seconds":1785676535,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29d94d8"} 
[2026-08-02 18:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-02 18:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133190144001,"66":14048,"106":206,"83":41984,"24":37,"16":10346597690900480,"45":1745215254978478080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-02 18:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133190144001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:46:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-02 18:46:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10346597690900480,"km_value":10346597690900.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745215254978478080,"description":"Unknown IO ID 45"} 
[2026-08-02 18:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133190144001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1745215254978478080}} 
[2026-08-02 18:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":146752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:46:39] local.INFO: GPS data processed {"connection_id":146752,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:46:39] local.INFO: Acknowledgment sent {"connection_id":146752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:46:40] local.INFO: TCP Data received {"connection_id":146752,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29da090012d186400072182e0004c006921..."} 
[2026-08-02 18:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29da090012d186400072182e0004c006921..."} 
[2026-08-02 18:46:40] local.INFO: Processing buffer {"connection_id":146752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29da090012d186400072182e0004c006921..."} 
[2026-08-02 18:46:40] local.INFO: Packet analysis {"connection_id":146752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29d"} 
[2026-08-02 18:46:40] local.INFO: Extracted packet for processing {"connection_id":146752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29d"} 
[2026-08-02 18:46:40] local.INFO: GPS Element Parsed {"raw_longitude":756573184,"raw_latitude":119636704,"longitude_deg":75.6573184,"latitude_deg":11.9636704,"altitude":76,"angle":105,"satellites":33,"speed":38,"hex_longitude":"2d186400","hex_latitude":"072182e0","is_valid_coordinates":true} 
[2026-08-02 18:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133192960001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10346735129853952,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297953171456,"note":"Value kept but may cause issues"} 
[2026-08-02 18:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785676538000,"timestamp_ms":1785676538000,"timestamp_seconds":1785676538,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29da090"} 
[2026-08-02 18:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-02 18:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133192960001,"66":14341,"106":206,"83":41984,"24":38,"16":10346735129853952,"45":1754574297953171456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-02 18:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133192960001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:46:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-02 18:46:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10346735129853952,"km_value":10346735129853.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297953171456,"description":"Unknown IO ID 45"} 
[2026-08-02 18:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133192960001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1754574297953171456}} 
[2026-08-02 18:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":146752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:46:40] local.INFO: GPS data processed {"connection_id":146752,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:46:40] local.INFO: Acknowledgment sent {"connection_id":146752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:47:03] local.INFO: TCP Data received {"connection_id":148014,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:47:03] local.INFO: Processing buffer {"connection_id":148014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:47:03] local.INFO: Packet analysis {"connection_id":148014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:47:03] local.INFO: Extracted packet for processing {"connection_id":148014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133068032001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785676351000,"timestamp_ms":1785676351000,"timestamp_seconds":1785676351,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29ac618"} 
[2026-08-02 18:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 18:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133068032001,"66":25538,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133068032001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:47:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:47:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133068032001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":148014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:47:03] local.INFO: GPS data processed {"connection_id":148014,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:47:03] local.INFO: Acknowledgment sent {"connection_id":148014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:47:11] local.INFO: TCP Data received {"connection_id":146752,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29da860012d186c00072181f8004c005b20..."} 
[2026-08-02 18:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29da860012d186c00072181f8004c005b20..."} 
[2026-08-02 18:47:11] local.INFO: Processing buffer {"connection_id":146752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29da860012d186c00072181f8004c005b20..."} 
[2026-08-02 18:47:11] local.INFO: Packet analysis {"connection_id":146752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29d"} 
[2026-08-02 18:47:11] local.INFO: Extracted packet for processing {"connection_id":146752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29d"} 
[2026-08-02 18:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756575232,"raw_latitude":119636472,"longitude_deg":75.6575232,"latitude_deg":11.9636472,"altitude":76,"angle":91,"satellites":32,"speed":39,"hex_longitude":"2d186c00","hex_latitude":"072181f8","is_valid_coordinates":true} 
[2026-08-02 18:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133193728001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10346833914101760,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757529785208332288,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785676540000,"timestamp_ms":1785676540000,"timestamp_seconds":1785676540,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29da860"} 
[2026-08-02 18:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 18:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6975298843,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:11] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2638145537,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3265078160,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:11] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2727870538,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:11] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503757491404800,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-02 18:47:11] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3245408256,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84750488339685800,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:11] local.WARNING: Large IO value detected {"io_id":224,"raw_value":20829831864256512,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:11] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,106,83,24,241,157,16,194,159,148,45,128,135,77,33,10,66,105,64,149,75,38,193,86,1,240,153,227,4,113,205,43,32,168,42,239,55,2,36,7,74,6,206,192,224],"length":529,"final_offset":659,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-02 18:47:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476492737339850752,"timestamp_seconds":5476492737339851.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 18:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133193728001,"66":14265,"103":206,"83":41984,"24":39,"16":10346833914101760,"45":1757529785208332288},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-02 18:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133193728001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:47:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 18:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10346833914101760,"km_value":10346833914101.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757529785208332288,"description":"Unknown IO ID 45"} 
[2026-08-02 18:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133193728001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1757529785208332288}} 
[2026-08-02 18:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":146752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:47:12] local.INFO: GPS data processed {"connection_id":146752,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:47:12] local.INFO: Acknowledgment sent {"connection_id":146752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:47:26] local.INFO: TCP Data received {"connection_id":146978,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:47:26] local.INFO: Processing buffer {"connection_id":146978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:47:26] local.INFO: IMEI packet received {"connection_id":146978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":146978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:47:27] local.INFO: TCP Data received {"connection_id":146978,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:47:27] local.INFO: Processing buffer {"connection_id":146978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:47:27] local.INFO: IMEI packet received {"connection_id":146978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":146978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:47:28] local.INFO: TCP Data received {"connection_id":146978,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:47:28] local.INFO: Processing buffer {"connection_id":146978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:47:28] local.INFO: IMEI packet received {"connection_id":146978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":146978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:47:28] local.INFO: TCP Data received {"connection_id":149316,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:47:28] local.INFO: Processing buffer {"connection_id":149316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:47:28] local.INFO: IMEI packet received {"connection_id":149316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":149316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:47:29] local.INFO: TCP Data received {"connection_id":146978,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:47:29] local.INFO: Processing buffer {"connection_id":146978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:47:29] local.INFO: IMEI packet received {"connection_id":146978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":146978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:47:34] local.INFO: TCP Data received {"connection_id":149316,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:47:34] local.INFO: Processing buffer {"connection_id":149316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:47:34] local.INFO: IMEI packet received {"connection_id":149316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":149316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:47:35] local.INFO: TCP Data received {"connection_id":149316,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:47:35] local.INFO: Processing buffer {"connection_id":149316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:47:35] local.INFO: Packet analysis {"connection_id":149316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:47:35] local.INFO: Extracted packet for processing {"connection_id":149316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:47:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133068032001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785676351000,"timestamp_ms":1785676351000,"timestamp_seconds":1785676351,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29ac618"} 
[2026-08-02 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-08-02 18:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":10,"data_length":795,"current_offset":136} 
[2026-08-02 18:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 18:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133068032001,"66":25538,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133068032001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:47:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:47:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:47:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133068032001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":149316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:47:35] local.INFO: GPS data processed {"connection_id":149316,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:47:35] local.INFO: Acknowledgment sent {"connection_id":149316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:48:07] local.INFO: TCP Data received {"connection_id":149316,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:48:07] local.INFO: Processing buffer {"connection_id":149316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29ac618012cc330c007685958005800c529..."} 
[2026-08-02 18:48:07] local.INFO: Packet analysis {"connection_id":149316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:48:07] local.INFO: Extracted packet for processing {"connection_id":149316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29a"} 
[2026-08-02 18:48:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133068032001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:48:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785676351000,"timestamp_ms":1785676351000,"timestamp_seconds":1785676351,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29ac618"} 
[2026-08-02 18:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:48: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-08-02 18:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 18:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133068032001,"66":25538,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133068032001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:48:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:48:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:48:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 18:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133068032001,"power":25538,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 18:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":149316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:48:07] local.INFO: GPS data processed {"connection_id":149316,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:48:07] local.INFO: Acknowledgment sent {"connection_id":149316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:48:23] local.INFO: TCP Data received {"connection_id":146979,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:48:23] local.INFO: Processing buffer {"connection_id":146979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:48:23] local.INFO: IMEI packet received {"connection_id":146979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":146979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:48:29] local.INFO: TCP Data received {"connection_id":146979,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:48:29] local.INFO: Processing buffer {"connection_id":146979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:48:29] local.INFO: IMEI packet received {"connection_id":146979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":146979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:48:30] local.INFO: TCP Data received {"connection_id":146979,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:48:30] local.INFO: Processing buffer {"connection_id":146979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:48:30] local.INFO: Packet analysis {"connection_id":146979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:48:30] local.INFO: Extracted packet for processing {"connection_id":146979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:48:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133145856001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785676652000,"timestamp_ms":1785676652000,"timestamp_seconds":1785676652,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29f5de0"} 
[2026-08-02 18:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 18:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133145856001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133145856001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:48:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:48:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133145856001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":146979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:48:30] local.INFO: GPS data processed {"connection_id":146979,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:48:30] local.INFO: Acknowledgment sent {"connection_id":146979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:49:03] local.INFO: TCP Data received {"connection_id":146979,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:49:03] local.INFO: Processing buffer {"connection_id":146979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:49:03] local.INFO: Packet analysis {"connection_id":146979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:49:03] local.INFO: Extracted packet for processing {"connection_id":146979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:49:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133145856001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:49:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785676652000,"timestamp_ms":1785676652000,"timestamp_seconds":1785676652,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29f5de0"} 
[2026-08-02 18:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 18:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133145856001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133145856001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:49:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:49:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:49:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133145856001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":146979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:49:03] local.INFO: GPS data processed {"connection_id":146979,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:49:03] local.INFO: Acknowledgment sent {"connection_id":146979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:49:23] local.INFO: TCP Data received {"connection_id":148015,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:49:23] local.INFO: Processing buffer {"connection_id":148015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:49:23] local.INFO: IMEI packet received {"connection_id":148015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":148015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:49:29] local.INFO: TCP Data received {"connection_id":148015,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:49:29] local.INFO: Processing buffer {"connection_id":148015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:49:29] local.INFO: IMEI packet received {"connection_id":148015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":148015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:49:30] local.INFO: TCP Data received {"connection_id":148015,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:49:30] local.INFO: Processing buffer {"connection_id":148015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:49:30] local.INFO: Packet analysis {"connection_id":148015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:49:30] local.INFO: Extracted packet for processing {"connection_id":148015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:49:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133145856001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785676652000,"timestamp_ms":1785676652000,"timestamp_seconds":1785676652,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29f5de0"} 
[2026-08-02 18:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 18:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133145856001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133145856001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:49:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:49:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133145856001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":148015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:49:30] local.INFO: GPS data processed {"connection_id":148015,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:49:30] local.INFO: Acknowledgment sent {"connection_id":148015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:50:01] local.INFO: TCP Data received {"connection_id":148015,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:50:01] local.INFO: Processing buffer {"connection_id":148015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:50:01] local.INFO: Packet analysis {"connection_id":148015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:50:01] local.INFO: Extracted packet for processing {"connection_id":148015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:50:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133145856001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:50:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785676652000,"timestamp_ms":1785676652000,"timestamp_seconds":1785676652,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29f5de0"} 
[2026-08-02 18:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:50: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 18:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133145856001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133145856001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:50:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:50:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:50:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133145856001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":148015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:50:01] local.INFO: GPS data processed {"connection_id":148015,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:50:01] local.INFO: Acknowledgment sent {"connection_id":148015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:50:23] local.INFO: TCP Data received {"connection_id":146753,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:50:23] local.INFO: Processing buffer {"connection_id":146753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:50:23] local.INFO: IMEI packet received {"connection_id":146753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":146753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:50:29] local.INFO: TCP Data received {"connection_id":146753,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:50:29] local.INFO: Processing buffer {"connection_id":146753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:50:29] local.INFO: IMEI packet received {"connection_id":146753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":146753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:50:30] local.INFO: TCP Data received {"connection_id":146753,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:50:30] local.INFO: Processing buffer {"connection_id":146753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:50:30] local.INFO: Packet analysis {"connection_id":146753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:50:30] local.INFO: Extracted packet for processing {"connection_id":146753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:50:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133145856001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785676652000,"timestamp_ms":1785676652000,"timestamp_seconds":1785676652,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29f5de0"} 
[2026-08-02 18:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 18:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133145856001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133145856001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:50:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:50:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133145856001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":146753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:50:30] local.INFO: GPS data processed {"connection_id":146753,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:50:30] local.INFO: Acknowledgment sent {"connection_id":146753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:51:02] local.INFO: TCP Data received {"connection_id":146753,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:51:02] local.INFO: Processing buffer {"connection_id":146753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:51:02] local.INFO: Packet analysis {"connection_id":146753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:51:02] local.INFO: Extracted packet for processing {"connection_id":146753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:51:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133145856001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:51:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785676652000,"timestamp_ms":1785676652000,"timestamp_seconds":1785676652,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29f5de0"} 
[2026-08-02 18:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 18:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133145856001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133145856001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:51:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:51:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:51:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133145856001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":146753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:51:02] local.INFO: GPS data processed {"connection_id":146753,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:51:02] local.INFO: Acknowledgment sent {"connection_id":146753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:51:29] local.INFO: TCP Data received {"connection_id":149319,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:51:29] local.INFO: Processing buffer {"connection_id":149319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:51:29] local.INFO: IMEI packet received {"connection_id":149319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":149319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:51:34] local.INFO: TCP Data received {"connection_id":149319,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:51:34] local.INFO: Processing buffer {"connection_id":149319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:51:34] local.INFO: IMEI packet received {"connection_id":149319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":149319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:51:35] local.INFO: TCP Data received {"connection_id":149319,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:51:35] local.INFO: Processing buffer {"connection_id":149319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:51:35] local.INFO: Packet analysis {"connection_id":149319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:51:35] local.INFO: Extracted packet for processing {"connection_id":149319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:51:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133145856001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:51:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785676652000,"timestamp_ms":1785676652000,"timestamp_seconds":1785676652,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29f5de0"} 
[2026-08-02 18:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 18:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133145856001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133145856001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:51:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:51:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:51:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133145856001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":149319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:51:35] local.INFO: GPS data processed {"connection_id":149319,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:51:35] local.INFO: Acknowledgment sent {"connection_id":149319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:51:40] local.INFO: TCP Data received {"connection_id":149319,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:51:40] local.INFO: Processing buffer {"connection_id":149319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:51:40] local.INFO: Packet analysis {"connection_id":149319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:51:40] local.INFO: Extracted packet for processing {"connection_id":149319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:51:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133145856001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:51:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785676652000,"timestamp_ms":1785676652000,"timestamp_seconds":1785676652,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29f5de0"} 
[2026-08-02 18:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:51: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-08-02 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 18:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133145856001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133145856001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:51:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:51:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:51:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133145856001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":149319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:51:40] local.INFO: GPS data processed {"connection_id":149319,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:51:40] local.INFO: Acknowledgment sent {"connection_id":149319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:52:24] local.INFO: TCP Data received {"connection_id":149320,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:52:24] local.INFO: Processing buffer {"connection_id":149320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:52:24] local.INFO: IMEI packet received {"connection_id":149320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":149320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:52:29] local.INFO: TCP Data received {"connection_id":149320,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:52:29] local.INFO: Processing buffer {"connection_id":149320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:52:29] local.INFO: IMEI packet received {"connection_id":149320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":149320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:52:30] local.INFO: TCP Data received {"connection_id":149320,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:52:30] local.INFO: Processing buffer {"connection_id":149320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:52:30] local.INFO: Packet analysis {"connection_id":149320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:52:30] local.INFO: Extracted packet for processing {"connection_id":149320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:52:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133145856001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785676652000,"timestamp_ms":1785676652000,"timestamp_seconds":1785676652,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29f5de0"} 
[2026-08-02 18:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 18:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133145856001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133145856001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:52:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:52:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133145856001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":149320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:52:30] local.INFO: GPS data processed {"connection_id":149320,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:52:30] local.INFO: Acknowledgment sent {"connection_id":149320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:52:31] local.INFO: TCP Data received {"connection_id":146981,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:52:31] local.INFO: Processing buffer {"connection_id":146981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:52:31] local.INFO: IMEI packet received {"connection_id":146981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":146981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:52:34] local.INFO: TCP Data received {"connection_id":146981,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:52:34] local.INFO: Processing buffer {"connection_id":146981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:52:34] local.INFO: IMEI packet received {"connection_id":146981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":146981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:52:38] local.INFO: TCP Data received {"connection_id":146981,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:52:38] local.INFO: Processing buffer {"connection_id":146981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:52:38] local.INFO: IMEI packet received {"connection_id":146981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":146981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:52:38] local.INFO: TCP Data received {"connection_id":146981,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a2c8e0012d19a4c0071fee48003d00ca24..."} 
[2026-08-02 18:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a2c8e0012d19a4c0071fee48003d00ca24..."} 
[2026-08-02 18:52:38] local.INFO: Processing buffer {"connection_id":146981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a2c8e0012d19a4c0071fee48003d00ca24..."} 
[2026-08-02 18:52:38] local.INFO: Packet analysis {"connection_id":146981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a2"} 
[2026-08-02 18:52:38] local.INFO: Extracted packet for processing {"connection_id":146981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a2"} 
[2026-08-02 18:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756655296,"raw_latitude":119533128,"longitude_deg":75.6655296,"latitude_deg":11.9533128,"altitude":61,"angle":202,"satellites":36,"speed":9,"hex_longitude":"2d19a4c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-02 18:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133280000001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10356385921368064,"note":"Value kept but may cause issues"} 
[2026-08-02 18:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252705990656,"note":"Value kept but may cause issues"} 
[2026-08-02 18:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785676876000,"timestamp_ms":1785676876000,"timestamp_seconds":1785676876,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a2c8e0"} 
[2026-08-02 18:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-02 18:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133280000001,"66":14428,"101":206,"83":41984,"24":9,"16":10356385921368064,"45":1847883252705990656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133280000001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:52:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:52:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10356385921368064,"km_value":10356385921368.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252705990656,"description":"Unknown IO ID 45"} 
[2026-08-02 18:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133280000001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1847883252705990656}} 
[2026-08-02 18:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":146981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:52:38] local.INFO: GPS data processed {"connection_id":146981,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:52:38] local.INFO: Acknowledgment sent {"connection_id":146981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:52:39] local.INFO: TCP Data received {"connection_id":146981,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a2ccc8012d19a4c0071fed48003e00bd23..."} 
[2026-08-02 18:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a2ccc8012d19a4c0071fed48003e00bd23..."} 
[2026-08-02 18:52:39] local.INFO: Processing buffer {"connection_id":146981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a2ccc8012d19a4c0071fed48003e00bd23..."} 
[2026-08-02 18:52:39] local.INFO: Packet analysis {"connection_id":146981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a2"} 
[2026-08-02 18:52:39] local.INFO: Extracted packet for processing {"connection_id":146981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a2"} 
[2026-08-02 18:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756655296,"raw_latitude":119532872,"longitude_deg":75.6655296,"latitude_deg":11.9532872,"altitude":62,"angle":189,"satellites":35,"speed":10,"hex_longitude":"2d19a4c0","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-08-02 18:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133280256001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10356398806269952,"note":"Value kept but may cause issues"} 
[2026-08-02 18:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847812883961759744,"note":"Value kept but may cause issues"} 
[2026-08-02 18:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785676877000,"timestamp_ms":1785676877000,"timestamp_seconds":1785676877,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a2ccc8"} 
[2026-08-02 18:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 18:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133280256001,"66":14428,"101":206,"83":41984,"24":10,"16":10356398806269952,"45":1847812883961759744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133280256001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:52:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:52:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10356398806269952,"km_value":10356398806269.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847812883961759744,"description":"Unknown IO ID 45"} 
[2026-08-02 18:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133280256001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1847812883961759744}} 
[2026-08-02 18:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":146981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:52:39] local.INFO: GPS data processed {"connection_id":146981,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:52:39] local.INFO: Acknowledgment sent {"connection_id":146981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:53:01] local.INFO: TCP Data received {"connection_id":149320,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:53:01] local.INFO: Processing buffer {"connection_id":149320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc29f5de0012cc330c007685958005800c52a..."} 
[2026-08-02 18:53:01] local.INFO: Packet analysis {"connection_id":149320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:53:01] local.INFO: Extracted packet for processing {"connection_id":149320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc29f"} 
[2026-08-02 18:53:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18: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-08-02 18:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133145856001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785676652000,"timestamp_ms":1785676652000,"timestamp_seconds":1785676652,"priority":1,"record_length":96,"hex_timestamp":"0000019fc29f5de0"} 
[2026-08-02 18:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-02 18:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18: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-08-02 18:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133145856001,"66":25473,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133145856001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:53:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:53:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:53:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133145856001,"power":25473,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":149320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:53:01] local.INFO: GPS data processed {"connection_id":149320,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:53:01] local.INFO: Acknowledgment sent {"connection_id":149320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:53:10] local.INFO: TCP Data received {"connection_id":146981,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a39018012d19b840071fb0300033006620..."} 
[2026-08-02 18:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a39018012d19b840071fb0300033006620..."} 
[2026-08-02 18:53:10] local.INFO: Processing buffer {"connection_id":146981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a39018012d19b840071fb0300033006620..."} 
[2026-08-02 18:53:10] local.INFO: Packet analysis {"connection_id":146981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:53:10] local.INFO: Extracted packet for processing {"connection_id":146981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:53:10] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119517232,"longitude_deg":75.6660288,"latitude_deg":11.9517232,"altitude":51,"angle":102,"satellites":32,"speed":13,"hex_longitude":"2d19b840","hex_latitude":"071fb030","is_valid_coordinates":true} 
[2026-08-02 18:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133292288001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10357343699075072,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851472058654851072,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785676927000,"timestamp_ms":1785676927000,"timestamp_seconds":1785676927,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a39018"} 
[2026-08-02 18:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-02 18:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:10] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3556769792,"corrected_to":0} 
[2026-08-02 18:53:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3265482160,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3147300916,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:10] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2740545537,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-02 18:53:10] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3473563,"corrected_to":0} 
[2026-08-02 18:53:10] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3416719360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,203,159,124,45,64,174,51,31,10,66,120,116,1,240,224,227,194,4,113,205,19,81,171,200,36,239,55,2,7,53,13],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":203,"original":3556769792,"validated":0},{"io_id":205,"original":2019885262,"validated":0},{"io_id":200,"original":3473563,"validated":0}]} 
[2026-08-02 18:53:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675034186102341632,"timestamp_seconds":3675034186102341.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 18:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133292288001,"66":13863,"101":206,"83":41984,"24":13,"16":10357343699075072,"45":1851472058654851072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133292288001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:53:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:53:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10357343699075072,"km_value":10357343699075.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851472058654851072,"description":"Unknown IO ID 45"} 
[2026-08-02 18:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133292288001,"power":13863,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1851472058654851072}} 
[2026-08-02 18:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":146981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:53:10] local.INFO: GPS data processed {"connection_id":146981,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:53:10] local.INFO: Acknowledgment sent {"connection_id":146981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:53:23] local.INFO: TCP Data received {"connection_id":146754,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:53:23] local.INFO: Processing buffer {"connection_id":146754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:53:23] local.INFO: IMEI packet received {"connection_id":146754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":146754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:53:29] local.INFO: TCP Data received {"connection_id":146754,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:53:29] local.INFO: Processing buffer {"connection_id":146754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:53:29] local.INFO: IMEI packet received {"connection_id":146754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":146754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:53:29] local.INFO: TCP Data received {"connection_id":148017,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:53:29] local.INFO: Processing buffer {"connection_id":148017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:53:29] local.INFO: IMEI packet received {"connection_id":148017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":148017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:53:29] local.INFO: TCP Data received {"connection_id":148017,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:53:29] local.INFO: Processing buffer {"connection_id":148017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:53:29] local.INFO: IMEI packet received {"connection_id":148017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":148017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:53:30] local.INFO: TCP Data received {"connection_id":146754,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:53:30] local.INFO: Processing buffer {"connection_id":146754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:53:30] local.INFO: Packet analysis {"connection_id":146754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:53:30] local.INFO: Extracted packet for processing {"connection_id":146754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:53:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133222912001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785676953000,"timestamp_ms":1785676953000,"timestamp_seconds":1785676953,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a3f5a8"} 
[2026-08-02 18:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 18:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133222912001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133222912001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:53:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:53:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133222912001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":146754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:53:30] local.INFO: GPS data processed {"connection_id":146754,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:53:30] local.INFO: Acknowledgment sent {"connection_id":146754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:53:32] local.INFO: TCP Data received {"connection_id":148017,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:53:32] local.INFO: Processing buffer {"connection_id":148017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:53:32] local.INFO: IMEI packet received {"connection_id":148017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":148017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:53:33] local.INFO: TCP Data received {"connection_id":148017,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a3e220012d19bb40071fb0400034005f1e..."} 
[2026-08-02 18:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a3e220012d19bb40071fb0400034005f1e..."} 
[2026-08-02 18:53:33] local.INFO: Processing buffer {"connection_id":148017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a3e220012d19bb40071fb0400034005f1e..."} 
[2026-08-02 18:53:33] local.INFO: Packet analysis {"connection_id":148017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:53:33] local.INFO: Extracted packet for processing {"connection_id":148017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119517248,"longitude_deg":75.6661056,"latitude_deg":11.9517248,"altitude":52,"angle":95,"satellites":30,"speed":0,"hex_longitude":"2d19bb40","hex_latitude":"071fb040","is_valid_coordinates":true} 
[2026-08-02 18:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133293312001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10357382353780736,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646003548160,"note":"Value kept but may cause issues"} 
[2026-08-02 18:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785676948000,"timestamp_ms":1785676948000,"timestamp_seconds":1785676948,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a3e220"} 
[2026-08-02 18:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:53: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-08-02 18:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-02 18:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133293312001,"66":13993,"101":206,"83":41984,"24":0,"16":10357382353780736,"45":1853301646003548160},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133293312001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:53:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10357382353780736,"km_value":10357382353780.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646003548160,"description":"Unknown IO ID 45"} 
[2026-08-02 18:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133293312001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1853301646003548160}} 
[2026-08-02 18:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":148017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:53:33] local.INFO: GPS data processed {"connection_id":148017,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:53:33] local.INFO: Acknowledgment sent {"connection_id":148017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:54:01] local.INFO: TCP Data received {"connection_id":146754,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:54:01] local.INFO: Processing buffer {"connection_id":146754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:54:01] local.INFO: Packet analysis {"connection_id":146754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:54:01] local.INFO: Extracted packet for processing {"connection_id":146754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:54:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133222912001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785676953000,"timestamp_ms":1785676953000,"timestamp_seconds":1785676953,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a3f5a8"} 
[2026-08-02 18:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 18:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133222912001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133222912001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:54:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:54:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:54:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133222912001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":146754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:54:01] local.INFO: GPS data processed {"connection_id":146754,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:54:01] local.INFO: Acknowledgment sent {"connection_id":146754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:54:04] local.INFO: TCP Data received {"connection_id":148017,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a3e9f0012d19bb80071fb0c00035000f1e..."} 
[2026-08-02 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a3e9f0012d19bb80071fb0c00035000f1e..."} 
[2026-08-02 18:54:04] local.INFO: Processing buffer {"connection_id":148017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a3e9f0012d19bb80071fb0c00035000f1e..."} 
[2026-08-02 18:54:04] local.INFO: Packet analysis {"connection_id":148017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:54:04] local.INFO: Extracted packet for processing {"connection_id":148017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:54:04] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119517376,"longitude_deg":75.666112,"latitude_deg":11.9517376,"altitude":53,"angle":15,"satellites":30,"speed":1,"hex_longitude":"2d19bb80","hex_latitude":"071fb0c0","is_valid_coordinates":true} 
[2026-08-02 18:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133298688001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10357390943715328,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070933684224,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785676950000,"timestamp_ms":1785676950000,"timestamp_seconds":1785676950,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a3e9f0"} 
[2026-08-02 18:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-02 18:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133298688001,"66":14070,"101":206,"83":41984,"24":1,"16":10357390943715328,"45":1854146070933684224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133298688001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:54:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:54:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10357390943715328,"km_value":10357390943715.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070933684224,"description":"Unknown IO ID 45"} 
[2026-08-02 18:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133298688001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1854146070933684224}} 
[2026-08-02 18:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":148017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:54:04] local.INFO: GPS data processed {"connection_id":148017,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:54:04] local.INFO: Acknowledgment sent {"connection_id":148017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:54:23] local.INFO: TCP Data received {"connection_id":149321,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:54:23] local.INFO: Processing buffer {"connection_id":149321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:54:23] local.INFO: IMEI packet received {"connection_id":149321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":149321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:54:26] local.INFO: TCP Data received {"connection_id":148018,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:54:26] local.INFO: Processing buffer {"connection_id":148018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:54:26] local.INFO: IMEI packet received {"connection_id":148018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":148018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:54:29] local.INFO: TCP Data received {"connection_id":149321,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:54:29] local.INFO: Processing buffer {"connection_id":149321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:54:29] local.INFO: IMEI packet received {"connection_id":149321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":149321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:54:29] local.INFO: TCP Data received {"connection_id":148018,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:54:29] local.INFO: Processing buffer {"connection_id":148018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:54:29] local.INFO: IMEI packet received {"connection_id":148018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":148018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:54:30] local.INFO: TCP Data received {"connection_id":148018,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:54:30] local.INFO: Processing buffer {"connection_id":148018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:54:30] local.INFO: IMEI packet received {"connection_id":148018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":148018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:54:30] local.INFO: TCP Data received {"connection_id":149321,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:54:30] local.INFO: Processing buffer {"connection_id":149321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:54:30] local.INFO: Packet analysis {"connection_id":149321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:54:30] local.INFO: Extracted packet for processing {"connection_id":149321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:54:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133222912001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785676953000,"timestamp_ms":1785676953000,"timestamp_seconds":1785676953,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a3f5a8"} 
[2026-08-02 18:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 18:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133222912001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133222912001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:54:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:54:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133222912001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":149321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:54:30] local.INFO: GPS data processed {"connection_id":149321,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:54:30] local.INFO: Acknowledgment sent {"connection_id":149321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:54:34] local.INFO: TCP Data received {"connection_id":148018,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:54:34] local.INFO: Processing buffer {"connection_id":148018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:54:34] local.INFO: IMEI packet received {"connection_id":148018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":148018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:54:35] local.INFO: TCP Data received {"connection_id":148018,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a4e3f0012d19c300071fb088003a00a325..."} 
[2026-08-02 18:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a4e3f0012d19c300071fb088003a00a325..."} 
[2026-08-02 18:54:35] local.INFO: Processing buffer {"connection_id":148018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a4e3f0012d19c300071fb088003a00a325..."} 
[2026-08-02 18:54:35] local.INFO: Packet analysis {"connection_id":148018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a4"} 
[2026-08-02 18:54:35] local.INFO: Extracted packet for processing {"connection_id":148018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a4"} 
[2026-08-02 18:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119517320,"longitude_deg":75.666304,"latitude_deg":11.951732,"altitude":58,"angle":163,"satellites":37,"speed":5,"hex_longitude":"2d19c300","hex_latitude":"071fb088","is_valid_coordinates":true} 
[2026-08-02 18:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133315328001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10357511202799616,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856257133259065344,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677014000,"timestamp_ms":1785677014000,"timestamp_seconds":1785677014,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a4e3f0"} 
[2026-08-02 18:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 18:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133315328001,"66":13928,"101":206,"83":41984,"24":5,"16":10357511202799616,"45":1856257133259065344},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133315328001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:54:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10357511202799616,"km_value":10357511202799.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856257133259065344,"description":"Unknown IO ID 45"} 
[2026-08-02 18:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133315328001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1856257133259065344}} 
[2026-08-02 18:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":148018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:54:35] local.INFO: GPS data processed {"connection_id":148018,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:54:35] local.INFO: Acknowledgment sent {"connection_id":148018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:54:35] local.INFO: TCP Data received {"connection_id":148018,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a4e7d8012d19c300071fb030003a00b025..."} 
[2026-08-02 18:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a4e7d8012d19c300071fb030003a00b025..."} 
[2026-08-02 18:54:35] local.INFO: Processing buffer {"connection_id":148018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a4e7d8012d19c300071fb030003a00b025..."} 
[2026-08-02 18:54:35] local.INFO: Packet analysis {"connection_id":148018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a4"} 
[2026-08-02 18:54:35] local.INFO: Extracted packet for processing {"connection_id":148018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a4"} 
[2026-08-02 18:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119517232,"longitude_deg":75.666304,"latitude_deg":11.9517232,"altitude":58,"angle":176,"satellites":37,"speed":1,"hex_longitude":"2d19c300","hex_latitude":"071fb030","is_valid_coordinates":true} 
[2026-08-02 18:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133315584001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10357515497766912,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856327502003210240,"note":"Value kept but may cause issues"} 
[2026-08-02 18:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677015000,"timestamp_ms":1785677015000,"timestamp_seconds":1785677015,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a4e7d8"} 
[2026-08-02 18:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-02 18:54: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-08-02 18:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133315584001,"66":13928,"101":206,"83":41984,"24":1,"16":10357515497766912,"45":1856327502003210240},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133315584001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:54:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10357515497766912,"km_value":10357515497766.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856327502003210240,"description":"Unknown IO ID 45"} 
[2026-08-02 18:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133315584001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1856327502003210240}} 
[2026-08-02 18:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":148018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:54:35] local.INFO: GPS data processed {"connection_id":148018,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:54:35] local.INFO: Acknowledgment sent {"connection_id":148018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:55:02] local.INFO: TCP Data received {"connection_id":149321,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:55:02] local.INFO: Processing buffer {"connection_id":149321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:55:02] local.INFO: Packet analysis {"connection_id":149321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:55:02] local.INFO: Extracted packet for processing {"connection_id":149321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:55:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133222912001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785676953000,"timestamp_ms":1785676953000,"timestamp_seconds":1785676953,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a3f5a8"} 
[2026-08-02 18:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 18:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133222912001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133222912001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:55:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:55:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:55:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133222912001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":149321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:55:02] local.INFO: GPS data processed {"connection_id":149321,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:55:02] local.INFO: Acknowledgment sent {"connection_id":149321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:55:07] local.INFO: TCP Data received {"connection_id":148018,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a57478012d19a640071fc4600045016527..."} 
[2026-08-02 18:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a57478012d19a640071fc4600045016527..."} 
[2026-08-02 18:55:07] local.INFO: Processing buffer {"connection_id":148018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a57478012d19a640071fc4600045016527..."} 
[2026-08-02 18:55:07] local.INFO: Packet analysis {"connection_id":148018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a5"} 
[2026-08-02 18:55:07] local.INFO: Extracted packet for processing {"connection_id":148018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a5"} 
[2026-08-02 18:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756655680,"raw_latitude":119522400,"longitude_deg":75.665568,"latitude_deg":11.95224,"altitude":69,"angle":357,"satellites":39,"speed":12,"hex_longitude":"2d19a640","hex_latitude":"071fc460","is_valid_coordinates":true} 
[2026-08-02 18:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133324800001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358082433449984,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848305465168183296,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785677051000,"timestamp_ms":1785677051000,"timestamp_seconds":1785677051,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a57478"} 
[2026-08-02 18:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 18:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133324800001,"66":12461,"101":206,"83":41984,"24":12,"16":10358082433449984,"45":1848305465168183296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133324800001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:55:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358082433449984,"km_value":10358082433449.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848305465168183296,"description":"Unknown IO ID 45"} 
[2026-08-02 18:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133324800001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1848305465168183296}} 
[2026-08-02 18:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":148018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:55:07] local.INFO: GPS data processed {"connection_id":148018,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:55:07] local.INFO: Acknowledgment sent {"connection_id":148018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:55:29] local.INFO: TCP Data received {"connection_id":146982,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:55:29] local.INFO: Processing buffer {"connection_id":146982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:55:29] local.INFO: IMEI packet received {"connection_id":146982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":146982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:55:29] local.INFO: TCP Data received {"connection_id":146755,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:55:29] local.INFO: Processing buffer {"connection_id":146755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:55:29] local.INFO: IMEI packet received {"connection_id":146755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":146755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:55:34] local.INFO: TCP Data received {"connection_id":146982,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:55:34] local.INFO: Processing buffer {"connection_id":146982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:55:34] local.INFO: IMEI packet received {"connection_id":146982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":146982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:55:34] local.INFO: TCP Data received {"connection_id":146755,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:55:34] local.INFO: Processing buffer {"connection_id":146755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:55:34] local.INFO: IMEI packet received {"connection_id":146755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":146755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:55:35] local.INFO: TCP Data received {"connection_id":146755,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a59b88012d19a5c0071fd328003e015929..."} 
[2026-08-02 18:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a59b88012d19a5c0071fd328003e015929..."} 
[2026-08-02 18:55:35] local.INFO: Processing buffer {"connection_id":146755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a59b88012d19a5c0071fd328003e015929..."} 
[2026-08-02 18:55:35] local.INFO: Packet analysis {"connection_id":146755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a5"} 
[2026-08-02 18:55:35] local.INFO: Extracted packet for processing {"connection_id":146755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a5"} 
[2026-08-02 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":756655552,"raw_latitude":119526184,"longitude_deg":75.6655552,"latitude_deg":11.9526184,"altitude":62,"angle":345,"satellites":41,"speed":11,"hex_longitude":"2d19a5c0","hex_latitude":"071fd328","is_valid_coordinates":true} 
[2026-08-02 18:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133325056001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358267117043712,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848235096424079360,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677061000,"timestamp_ms":1785677061000,"timestamp_seconds":1785677061,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a59b88"} 
[2026-08-02 18:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:55: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-08-02 18:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-02 18:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133325056001,"66":13080,"101":206,"83":41984,"24":11,"16":10358267117043712,"45":1848235096424079360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133325056001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:55:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358267117043712,"km_value":10358267117043.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848235096424079360,"description":"Unknown IO ID 45"} 
[2026-08-02 18:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133325056001,"power":13080,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1848235096424079360}} 
[2026-08-02 18:55:35] local.INFO: TCP Data received {"connection_id":146982,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:55:35] local.INFO: Processing buffer {"connection_id":146982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:55:35] local.INFO: Packet analysis {"connection_id":146982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:55:35] local.INFO: Extracted packet for processing {"connection_id":146982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133222912001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785676953000,"timestamp_ms":1785676953000,"timestamp_seconds":1785676953,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a3f5a8"} 
[2026-08-02 18:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 18:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133222912001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133222912001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:55:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:55:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:55:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133222912001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":146982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:55:35] local.INFO: GPS data processed {"connection_id":146982,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:55:35] local.INFO: Acknowledgment sent {"connection_id":146982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":146755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:55:35] local.INFO: GPS data processed {"connection_id":146755,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:55:35] local.INFO: Acknowledgment sent {"connection_id":146755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:55:39] local.INFO: TCP Data received {"connection_id":146982,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:55:39] local.INFO: Processing buffer {"connection_id":146982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:55:39] local.INFO: Packet analysis {"connection_id":146982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:55:39] local.INFO: Extracted packet for processing {"connection_id":146982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:55:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133222912001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785676953000,"timestamp_ms":1785676953000,"timestamp_seconds":1785676953,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a3f5a8"} 
[2026-08-02 18:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 18:55: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-08-02 18:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133222912001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133222912001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:55:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:55:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:55:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133222912001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":146982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:55:39] local.INFO: GPS data processed {"connection_id":146982,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:55:39] local.INFO: Acknowledgment sent {"connection_id":146982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:56:06] local.INFO: TCP Data received {"connection_id":146755,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a5a358012d19a500071fd4e0003d014a29..."} 
[2026-08-02 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a5a358012d19a500071fd4e0003d014a29..."} 
[2026-08-02 18:56:06] local.INFO: Processing buffer {"connection_id":146755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a5a358012d19a500071fd4e0003d014a29..."} 
[2026-08-02 18:56:06] local.INFO: Packet analysis {"connection_id":146755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a5"} 
[2026-08-02 18:56:06] local.INFO: Extracted packet for processing {"connection_id":146755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a5"} 
[2026-08-02 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756655360,"raw_latitude":119526624,"longitude_deg":75.665536,"latitude_deg":11.9526624,"altitude":61,"angle":330,"satellites":41,"speed":8,"hex_longitude":"2d19a500","hex_latitude":"071fd4e0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133327616001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358288591880192,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848094358936692736,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785677063000,"timestamp_ms":1785677063000,"timestamp_seconds":1785677063,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a5a358"} 
[2026-08-02 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-08-02 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-02 18:56: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-08-02 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-08-02 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-08-02 18:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133327616001,"66":12298,"101":206,"83":41984,"24":8,"16":10358288591880192,"45":1848094358936692736},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133327616001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:56:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358288591880192,"km_value":10358288591880.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848094358936692736,"description":"Unknown IO ID 45"} 
[2026-08-02 18:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133327616001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1848094358936692736}} 
[2026-08-02 18:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":146755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:56:06] local.INFO: GPS data processed {"connection_id":146755,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:56:06] local.INFO: Acknowledgment sent {"connection_id":146755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:56:24] local.INFO: TCP Data received {"connection_id":146983,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:56:24] local.INFO: Processing buffer {"connection_id":146983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:56:24] local.INFO: IMEI packet received {"connection_id":146983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":146983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:56:29] local.INFO: TCP Data received {"connection_id":146983,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:56:29] local.INFO: Processing buffer {"connection_id":146983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:56:29] local.INFO: IMEI packet received {"connection_id":146983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":146983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:56:29] local.INFO: TCP Data received {"connection_id":149322,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:56:29] local.INFO: Processing buffer {"connection_id":149322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:56:29] local.INFO: IMEI packet received {"connection_id":149322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":149322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:56:30] local.INFO: TCP Data received {"connection_id":146983,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:56:30] local.INFO: Processing buffer {"connection_id":146983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:56:30] local.INFO: Packet analysis {"connection_id":146983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:56:30] local.INFO: Extracted packet for processing {"connection_id":146983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:56:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133222912001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785676953000,"timestamp_ms":1785676953000,"timestamp_seconds":1785676953,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a3f5a8"} 
[2026-08-02 18:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 18:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133222912001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133222912001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:56:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:56:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133222912001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":146983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:56:30] local.INFO: GPS data processed {"connection_id":146983,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:56:30] local.INFO: Acknowledgment sent {"connection_id":146983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:56:34] local.INFO: TCP Data received {"connection_id":149322,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:56:34] local.INFO: Processing buffer {"connection_id":149322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:56:34] local.INFO: IMEI packet received {"connection_id":149322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":149322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:56:35] local.INFO: TCP Data received {"connection_id":149322,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a5f560012d19a400071fd710003c014e29..."} 
[2026-08-02 18:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a5f560012d19a400071fd710003c014e29..."} 
[2026-08-02 18:56:35] local.INFO: Processing buffer {"connection_id":149322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a5f560012d19a400071fd710003c014e29..."} 
[2026-08-02 18:56:35] local.INFO: Packet analysis {"connection_id":149322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a5"} 
[2026-08-02 18:56:35] local.INFO: Extracted packet for processing {"connection_id":149322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a5"} 
[2026-08-02 18:56:35] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 18:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133328128001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252704272384,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677084000,"timestamp_ms":1785677084000,"timestamp_seconds":1785677084,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a5f560"} 
[2026-08-02 18:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513340332377964844,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263008976384,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":-7998392938210000895,"corrected_to":0} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4421020875266123350,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3675782603352637646,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":69,"raw_value":79699200052297728,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2775361537,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3256877125,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":167,"raw_value":3221692353,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817336,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3432316928,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3377699721183236,"note":"Value kept but may cause issues"} 
[2026-08-02 18:56:35] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,204,159,155,45,192,211,62,41,10,66,116,64,196,69,39,112,128,1,240,173,227,194,31,4,113,205,12,104,167,239,49,2,36,7,38],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":204,"original":-7998392938210000895,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-02 18:56:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395876251244953600,"timestamp_seconds":4395876251244953.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 18:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133328128001,"66":12972,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847883252704272384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133328128001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:56:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:56:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252704272384,"description":"Unknown IO ID 45"} 
[2026-08-02 18:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133328128001,"power":12972,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847883252704272384}} 
[2026-08-02 18:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":149322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:56:35] local.INFO: GPS data processed {"connection_id":149322,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:56:35] local.INFO: Acknowledgment sent {"connection_id":149322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:57:01] local.INFO: TCP Data received {"connection_id":146983,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:57:01] local.INFO: Processing buffer {"connection_id":146983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:57:01] local.INFO: Packet analysis {"connection_id":146983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:57:01] local.INFO: Extracted packet for processing {"connection_id":146983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:57:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133222912001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:57:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785676953000,"timestamp_ms":1785676953000,"timestamp_seconds":1785676953,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a3f5a8"} 
[2026-08-02 18:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 18:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133222912001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133222912001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:57:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:57:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:57:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133222912001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":146983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:57:01] local.INFO: GPS data processed {"connection_id":146983,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:57:01] local.INFO: Acknowledgment sent {"connection_id":146983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:57:06] local.INFO: TCP Data received {"connection_id":149322,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a64768012d19a400071fd710003c014e22..."} 
[2026-08-02 18:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a64768012d19a400071fd710003c014e22..."} 
[2026-08-02 18:57:06] local.INFO: Processing buffer {"connection_id":149322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a64768012d19a400071fd710003c014e22..."} 
[2026-08-02 18:57:06] local.INFO: Packet analysis {"connection_id":149322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a6"} 
[2026-08-02 18:57:06] local.INFO: Extracted packet for processing {"connection_id":149322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a6"} 
[2026-08-02 18:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 18:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133333504001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 18:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 18:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785677105000,"timestamp_ms":1785677105000,"timestamp_seconds":1785677105,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a64768"} 
[2026-08-02 18:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-02 18:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133333504001,"66":12939,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133333504001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:57:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 18:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133333504001,"power":12939,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 18:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":149322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:57:06] local.INFO: GPS data processed {"connection_id":149322,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:57:06] local.INFO: Acknowledgment sent {"connection_id":149322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:57:23] local.INFO: TCP Data received {"connection_id":148019,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:57:23] local.INFO: Processing buffer {"connection_id":148019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:57:23] local.INFO: IMEI packet received {"connection_id":148019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":148019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:57:28] local.INFO: TCP Data received {"connection_id":149323,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:57:28] local.INFO: Processing buffer {"connection_id":149323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:57:28] local.INFO: IMEI packet received {"connection_id":149323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":149323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:57:29] local.INFO: TCP Data received {"connection_id":148019,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:57:29] local.INFO: Processing buffer {"connection_id":148019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:57:29] local.INFO: IMEI packet received {"connection_id":148019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":148019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:57:29] local.INFO: TCP Data received {"connection_id":149323,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:57:29] local.INFO: Processing buffer {"connection_id":149323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:57:29] local.INFO: IMEI packet received {"connection_id":149323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":149323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:57:30] local.INFO: TCP Data received {"connection_id":148019,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:57:30] local.INFO: Processing buffer {"connection_id":148019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:57:30] local.INFO: Packet analysis {"connection_id":148019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:57:30] local.INFO: Extracted packet for processing {"connection_id":148019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:57:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133222912001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785676953000,"timestamp_ms":1785676953000,"timestamp_seconds":1785676953,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a3f5a8"} 
[2026-08-02 18:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 18:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133222912001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133222912001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:57:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:57:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133222912001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":148019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:57:30] local.INFO: GPS data processed {"connection_id":148019,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:57:30] local.INFO: Acknowledgment sent {"connection_id":148019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:57:34] local.INFO: TCP Data received {"connection_id":149323,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:57:34] local.INFO: Processing buffer {"connection_id":149323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:57:34] local.INFO: IMEI packet received {"connection_id":149323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":149323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:57:35] local.INFO: TCP Data received {"connection_id":149323,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a69970012d19a400071fd710003c014e20..."} 
[2026-08-02 18:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a69970012d19a400071fd710003c014e20..."} 
[2026-08-02 18:57:35] local.INFO: Processing buffer {"connection_id":149323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a69970012d19a400071fd710003c014e20..."} 
[2026-08-02 18:57:35] local.INFO: Packet analysis {"connection_id":149323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a6"} 
[2026-08-02 18:57:35] local.INFO: Extracted packet for processing {"connection_id":149323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a6"} 
[2026-08-02 18:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":32,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 18:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133338880001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 18:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 18:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677126000,"timestamp_ms":1785677126000,"timestamp_seconds":1785677126,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a69970"} 
[2026-08-02 18:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-02 18:57: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-08-02 18:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133338880001,"66":12950,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133338880001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:57:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 18:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133338880001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 18:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":149323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:57:35] local.INFO: GPS data processed {"connection_id":149323,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:57:35] local.INFO: Acknowledgment sent {"connection_id":149323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:58:01] local.INFO: TCP Data received {"connection_id":148019,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:58:01] local.INFO: Processing buffer {"connection_id":148019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a3f5a8012cc330c007685958005800c52b..."} 
[2026-08-02 18:58:01] local.INFO: Packet analysis {"connection_id":148019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:58:01] local.INFO: Extracted packet for processing {"connection_id":148019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a3"} 
[2026-08-02 18:58:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133222912001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:58:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785676953000,"timestamp_ms":1785676953000,"timestamp_seconds":1785676953,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a3f5a8"} 
[2026-08-02 18:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-02 18:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133222912001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133222912001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:58:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:58:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:58:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133222912001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":148019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:58:02] local.INFO: GPS data processed {"connection_id":148019,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:58:02] local.INFO: Acknowledgment sent {"connection_id":148019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:58:07] local.INFO: TCP Data received {"connection_id":149323,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a6eb78012d19a400071fd710003c014e24..."} 
[2026-08-02 18:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a6eb78012d19a400071fd710003c014e24..."} 
[2026-08-02 18:58:07] local.INFO: Processing buffer {"connection_id":149323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a6eb78012d19a400071fd710003c014e24..."} 
[2026-08-02 18:58:07] local.INFO: Packet analysis {"connection_id":149323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a6"} 
[2026-08-02 18:58:07] local.INFO: Extracted packet for processing {"connection_id":149323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a6"} 
[2026-08-02 18:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 18:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133344256001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 18:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 18:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785677147000,"timestamp_ms":1785677147000,"timestamp_seconds":1785677147,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a6eb78"} 
[2026-08-02 18:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-02 18:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133344256001,"66":12917,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133344256001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:58:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:58:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 18:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133344256001,"power":12917,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 18:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":149323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:58:07] local.INFO: GPS data processed {"connection_id":149323,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:58:07] local.INFO: Acknowledgment sent {"connection_id":149323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:58:23] local.INFO: TCP Data received {"connection_id":146756,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:58:23] local.INFO: Processing buffer {"connection_id":146756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:58:23] local.INFO: IMEI packet received {"connection_id":146756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":146756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:58:28] local.INFO: TCP Data received {"connection_id":146756,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:58:28] local.INFO: Processing buffer {"connection_id":146756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:58:28] local.INFO: IMEI packet received {"connection_id":146756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":146756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:58:29] local.INFO: TCP Data received {"connection_id":148020,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:58:29] local.INFO: Processing buffer {"connection_id":148020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:58:29] local.INFO: IMEI packet received {"connection_id":148020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":148020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:58:29] local.INFO: TCP Data received {"connection_id":146756,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 18:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 18:58:29] local.INFO: Processing buffer {"connection_id":146756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 18:58:29] local.INFO: Packet analysis {"connection_id":146756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 18:58:29] local.INFO: Extracted packet for processing {"connection_id":146756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133299968001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785677254000,"timestamp_ms":1785677254000,"timestamp_seconds":1785677254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a88d70"} 
[2026-08-02 18:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133299968001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133299968001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:58:29] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:58:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133299968001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":146756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:58:29] local.INFO: GPS data processed {"connection_id":146756,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:58:29] local.INFO: Acknowledgment sent {"connection_id":146756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:58:31] local.INFO: TCP Data received {"connection_id":148020,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:58:31] local.INFO: Processing buffer {"connection_id":148020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:58:31] local.INFO: IMEI packet received {"connection_id":148020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":148020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:58:34] local.INFO: TCP Data received {"connection_id":148020,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:58:34] local.INFO: Processing buffer {"connection_id":148020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:58:34] local.INFO: IMEI packet received {"connection_id":148020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":148020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:58:35] local.INFO: TCP Data received {"connection_id":148020,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a73d80012d19a400071fd710003c014e28..."} 
[2026-08-02 18:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a73d80012d19a400071fd710003c014e28..."} 
[2026-08-02 18:58:35] local.INFO: Processing buffer {"connection_id":148020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a73d80012d19a400071fd710003c014e28..."} 
[2026-08-02 18:58:35] local.INFO: Packet analysis {"connection_id":148020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a7"} 
[2026-08-02 18:58:35] local.INFO: Extracted packet for processing {"connection_id":148020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a7"} 
[2026-08-02 18:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 18:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133349632001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 18:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 18:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677168000,"timestamp_ms":1785677168000,"timestamp_seconds":1785677168,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a73d80"} 
[2026-08-02 18:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-02 18:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133349632001,"66":12885,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133349632001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:58:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 18:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133349632001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 18:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":148020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:58:35] local.INFO: GPS data processed {"connection_id":148020,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:58:35] local.INFO: Acknowledgment sent {"connection_id":148020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:59:01] local.INFO: TCP Data received {"connection_id":146756,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 18:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 18:59:01] local.INFO: Processing buffer {"connection_id":146756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 18:59:01] local.INFO: Packet analysis {"connection_id":146756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 18:59:01] local.INFO: Extracted packet for processing {"connection_id":146756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 18:59:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133299968001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785677254000,"timestamp_ms":1785677254000,"timestamp_seconds":1785677254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a88d70"} 
[2026-08-02 18:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133299968001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133299968001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:59:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:59:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:59:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133299968001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":146756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:59:01] local.INFO: GPS data processed {"connection_id":146756,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:59:01] local.INFO: Acknowledgment sent {"connection_id":146756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:59:06] local.INFO: TCP Data received {"connection_id":148020,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a78f88012d19a400071fd710003c014e27..."} 
[2026-08-02 18:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a78f88012d19a400071fd710003c014e27..."} 
[2026-08-02 18:59:06] local.INFO: Processing buffer {"connection_id":148020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a78f88012d19a400071fd710003c014e27..."} 
[2026-08-02 18:59:06] local.INFO: Packet analysis {"connection_id":148020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a7"} 
[2026-08-02 18:59:06] local.INFO: Extracted packet for processing {"connection_id":148020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a7"} 
[2026-08-02 18:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 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-08-02 18:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133355008001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785677189000,"timestamp_ms":1785677189000,"timestamp_seconds":1785677189,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a78f88"} 
[2026-08-02 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-08-02 18:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-02 18:59: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-08-02 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-08-02 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-08-02 18:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133355008001,"66":12841,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133355008001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:59:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 18:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133355008001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 18:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":148020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:59:07] local.INFO: GPS data processed {"connection_id":148020,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:59:07] local.INFO: Acknowledgment sent {"connection_id":148020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:59:24] local.INFO: TCP Data received {"connection_id":146757,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:59:24] local.INFO: Processing buffer {"connection_id":146757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:59:24] local.INFO: IMEI packet received {"connection_id":146757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 18:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":146757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:59:29] local.INFO: TCP Data received {"connection_id":146757,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:59:29] local.INFO: Processing buffer {"connection_id":146757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 18:59:29] local.INFO: IMEI packet received {"connection_id":146757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 18:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":146757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:59:30] local.INFO: TCP Data received {"connection_id":146757,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 18:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 18:59:30] local.INFO: Processing buffer {"connection_id":146757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 18:59:30] local.INFO: Packet analysis {"connection_id":146757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 18:59:30] local.INFO: Extracted packet for processing {"connection_id":146757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 18:59:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 18:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133299968001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785677254000,"timestamp_ms":1785677254000,"timestamp_seconds":1785677254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a88d70"} 
[2026-08-02 18:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 18:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 18:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 18:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 18:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 18:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133299968001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 18:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 18:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 18:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133299968001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:59:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 18:59:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 18:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 18:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133299968001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 18:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":146757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:59:30] local.INFO: GPS data processed {"connection_id":146757,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:59:30] local.INFO: Acknowledgment sent {"connection_id":146757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:59:33] local.INFO: TCP Data received {"connection_id":148021,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 18:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148021,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 18:59:33] local.INFO: Processing buffer {"connection_id":148021,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 18:59:33] local.INFO: IMEI packet received {"connection_id":148021,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-02 18:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":148021,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:59:34] local.INFO: TCP Data received {"connection_id":148021,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 18:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148021,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 18:59:34] local.INFO: Processing buffer {"connection_id":148021,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 18:59:34] local.INFO: IMEI packet received {"connection_id":148021,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 18:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":148021,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:59:34] local.INFO: TCP Data received {"connection_id":149324,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:59:34] local.INFO: Processing buffer {"connection_id":149324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:59:34] local.INFO: IMEI packet received {"connection_id":149324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 18:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":149324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 18:59:35] local.INFO: TCP Data received {"connection_id":149324,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:59:35] local.INFO: Processing buffer {"connection_id":149324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:59:35] local.INFO: IMEI packet received {"connection_id":149324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":149324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:59:38] local.INFO: TCP Data received {"connection_id":148021,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 18:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148021,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 18:59:38] local.INFO: Processing buffer {"connection_id":148021,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-02 18:59:38] local.INFO: IMEI packet received {"connection_id":148021,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-02 18:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":148021,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:59:39] local.INFO: TCP Data received {"connection_id":148021,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-02 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148021,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-02 18:59:39] local.INFO: Processing buffer {"connection_id":148021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-02 18:59:39] local.INFO: Packet analysis {"connection_id":148021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-02 18:59:39] local.INFO: Extracted packet for processing {"connection_id":148021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-02 18:59: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-08-02 18:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 18:59:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 18:59:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 18:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148021,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148021,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 18:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148021,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 18:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 18:59:39] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 18:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":148021,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 18:59:39] local.ERROR: GPS data processing failed {"connection_id":148021,"error":"No valid data to process"} 
[2026-08-02 18:59:39] local.INFO: Acknowledgment sent {"connection_id":148021,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 18:59:39] local.INFO: TCP Data received {"connection_id":149324,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:59:39] local.INFO: Processing buffer {"connection_id":149324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 18:59:39] local.INFO: IMEI packet received {"connection_id":149324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 18:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":149324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 18:59:40] local.INFO: TCP Data received {"connection_id":149324,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a7e190012d19a400071fd710003c014e29..."} 
[2026-08-02 18:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a7e190012d19a400071fd710003c014e29..."} 
[2026-08-02 18:59:40] local.INFO: Processing buffer {"connection_id":149324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a7e190012d19a400071fd710003c014e29..."} 
[2026-08-02 18:59:40] local.INFO: Packet analysis {"connection_id":149324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a7"} 
[2026-08-02 18:59:40] local.INFO: Extracted packet for processing {"connection_id":149324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a7"} 
[2026-08-02 18:59:40] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 18:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133360384001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785677210000,"timestamp_ms":1785677210000,"timestamp_seconds":1785677210,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a7e190"} 
[2026-08-02 18:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:59: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-08-02 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-02 18:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 18:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 18:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133360384001,"66":12809,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133360384001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:59:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:59:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 18:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133360384001,"power":12809,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 18:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":149324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:59:40] local.INFO: GPS data processed {"connection_id":149324,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:59:40] local.INFO: Acknowledgment sent {"connection_id":149324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 18:59:44] local.INFO: TCP Data received {"connection_id":149324,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a83398012d19a400071fd710003c014e2a..."} 
[2026-08-02 18:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a83398012d19a400071fd710003c014e2a..."} 
[2026-08-02 18:59:44] local.INFO: Processing buffer {"connection_id":149324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a83398012d19a400071fd710003c014e2a..."} 
[2026-08-02 18:59:44] local.INFO: Packet analysis {"connection_id":149324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 18:59:44] local.INFO: Extracted packet for processing {"connection_id":149324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 18:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 18:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 18:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133365760001,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 18:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785677231000,"timestamp_ms":1785677231000,"timestamp_seconds":1785677231,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a83398"} 
[2026-08-02 18:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 18:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 18: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-02 18:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":576460752471196672,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:44] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3590324224,"corrected_to":0} 
[2026-08-02 18:59:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3265656160,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:44] local.WARNING: Large IO value detected {"io_id":194,"raw_value":-6511263874172738304,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:44] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3608150076,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-02 18:59:44] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:44] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052611982211625389,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:44] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3436576768,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:44] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2293704401866541609,"note":"Value kept but may cause issues"} 
[2026-08-02 18:59:44] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,204,159,143,45,215,60,39,10,66,61,40,235,1,240,117,227,194,31,4,113,205,71,164,34,239,50,2,36,7,214],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":204,"original":3590324224,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-02 18:59:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323823055253012480,"timestamp_seconds":4323823055253012.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 18:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 18:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 18:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 18:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 18:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 18:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 18:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 18:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133365760001,"66":12863,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 18:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 18:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 18:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133365760001,"description":"Unknown IO ID 0"} 
[2026-08-02 18:59:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 18:59:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 18:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 18:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 18:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133365760001,"power":12863,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 18:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":149324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 18:59:45] local.INFO: GPS data processed {"connection_id":149324,"processed":1,"errors":0,"total":1} 
[2026-08-02 18:59:45] local.INFO: Acknowledgment sent {"connection_id":149324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:00:01] local.INFO: TCP Data received {"connection_id":146757,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:00:01] local.INFO: Processing buffer {"connection_id":146757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:00:01] local.INFO: Packet analysis {"connection_id":146757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:00:01] local.INFO: Extracted packet for processing {"connection_id":146757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:00:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133299968001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:00:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785677254000,"timestamp_ms":1785677254000,"timestamp_seconds":1785677254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a88d70"} 
[2026-08-02 19:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133299968001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133299968001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:00:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:00:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:00:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133299968001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":146757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:00:01] local.INFO: GPS data processed {"connection_id":146757,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:00:01] local.INFO: Acknowledgment sent {"connection_id":146757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:00:09] local.INFO: TCP Data received {"connection_id":148021,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-02 19:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148021,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-02 19:00:09] local.INFO: Processing buffer {"connection_id":148021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-02 19:00:09] local.INFO: Packet analysis {"connection_id":148021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 19:00:09] local.INFO: Extracted packet for processing {"connection_id":148021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-02 19:00:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 19:00:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 19:00:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 19:00:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-02 19:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148021,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148021,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 19:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148021,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-02 19:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-02 19:00:09] local.WARNING: DEBUG: No valid data to process  
[2026-08-02 19:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":148021,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-02 19:00:09] local.ERROR: GPS data processing failed {"connection_id":148021,"error":"No valid data to process"} 
[2026-08-02 19:00:09] local.INFO: Acknowledgment sent {"connection_id":148021,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-02 19:00:24] local.INFO: TCP Data received {"connection_id":146758,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:00:24] local.INFO: Processing buffer {"connection_id":146758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:00:24] local.INFO: IMEI packet received {"connection_id":146758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":146758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:00:29] local.INFO: TCP Data received {"connection_id":146758,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:00:29] local.INFO: Processing buffer {"connection_id":146758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:00:29] local.INFO: IMEI packet received {"connection_id":146758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":146758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:00:29] local.INFO: TCP Data received {"connection_id":146984,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:00:29] local.INFO: Processing buffer {"connection_id":146984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:00:29] local.INFO: IMEI packet received {"connection_id":146984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":146984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:00:30] local.INFO: TCP Data received {"connection_id":146758,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:00:30] local.INFO: Processing buffer {"connection_id":146758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:00:30] local.INFO: Packet analysis {"connection_id":146758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:00:30] local.INFO: Extracted packet for processing {"connection_id":146758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:00:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133299968001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785677254000,"timestamp_ms":1785677254000,"timestamp_seconds":1785677254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a88d70"} 
[2026-08-02 19:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133299968001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133299968001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:00:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:00:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133299968001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":146758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:00:30] local.INFO: GPS data processed {"connection_id":146758,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:00:30] local.INFO: Acknowledgment sent {"connection_id":146758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:00:34] local.INFO: TCP Data received {"connection_id":146984,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:00:34] local.INFO: Processing buffer {"connection_id":146984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:00:34] local.INFO: IMEI packet received {"connection_id":146984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":146984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:00:35] local.INFO: TCP Data received {"connection_id":146984,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a885a0012d19a400071fd710003c014e25..."} 
[2026-08-02 19:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a885a0012d19a400071fd710003c014e25..."} 
[2026-08-02 19:00:35] local.INFO: Processing buffer {"connection_id":146984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a885a0012d19a400071fd710003c014e25..."} 
[2026-08-02 19:00:35] local.INFO: Packet analysis {"connection_id":146984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:00:35] local.INFO: Extracted packet for processing {"connection_id":146984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:00:35] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 19:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133371136001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 19:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 19:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677252000,"timestamp_ms":1785677252000,"timestamp_seconds":1785677252,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a885a0"} 
[2026-08-02 19:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-02 19:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133371136001,"66":12809,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 19:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133371136001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:00:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 19:00:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 19:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133371136001,"power":12809,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 19:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":146984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:00:35] local.INFO: GPS data processed {"connection_id":146984,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:00:35] local.INFO: Acknowledgment sent {"connection_id":146984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:00:40] local.INFO: TCP Data received {"connection_id":148021,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2aafe700100000000000000000000000000..."} 
[2026-08-02 19:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2aafe700100000000000000000000000000..."} 
[2026-08-02 19:00:40] local.INFO: Processing buffer {"connection_id":148021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2aafe700100000000000000000000000000..."} 
[2026-08-02 19:00:40] local.INFO: Packet analysis {"connection_id":148021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2aa"} 
[2026-08-02 19:00:40] local.INFO: Extracted packet for processing {"connection_id":148021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2aa"} 
[2026-08-02 19:00: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-08-02 19: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-08-02 19:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 19:00:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 19:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785677414000,"timestamp_ms":1785677414000,"timestamp_seconds":1785677414,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2aafe70"} 
[2026-08-02 19:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-02 19:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 19:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 19:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 19:00: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-08-02 19:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 19:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 19:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":148021,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-02 19:00:40] local.INFO: GPS data processed {"connection_id":148021,"processed":0,"errors":0,"total":1} 
[2026-08-02 19:00:40] local.INFO: Acknowledgment sent {"connection_id":148021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:01:01] local.INFO: TCP Data received {"connection_id":146758,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:01:01] local.INFO: Processing buffer {"connection_id":146758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:01:01] local.INFO: Packet analysis {"connection_id":146758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:01:01] local.INFO: Extracted packet for processing {"connection_id":146758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:01:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133299968001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785677254000,"timestamp_ms":1785677254000,"timestamp_seconds":1785677254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a88d70"} 
[2026-08-02 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-08-02 19:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133299968001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133299968001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:01:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:01:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:01:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133299968001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":146758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:01:02] local.INFO: GPS data processed {"connection_id":146758,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:01:02] local.INFO: Acknowledgment sent {"connection_id":146758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:01:07] local.INFO: TCP Data received {"connection_id":146984,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a8d7a8012d19a400071fd710003c014e28..."} 
[2026-08-02 19:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a8d7a8012d19a400071fd710003c014e28..."} 
[2026-08-02 19:01:07] local.INFO: Processing buffer {"connection_id":146984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a8d7a8012d19a400071fd710003c014e28..."} 
[2026-08-02 19:01:07] local.INFO: Packet analysis {"connection_id":146984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:01:07] local.INFO: Extracted packet for processing {"connection_id":146984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 19:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133376512001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785677273000,"timestamp_ms":1785677273000,"timestamp_seconds":1785677273,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a8d7a8"} 
[2026-08-02 19:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-02 19:01:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:07] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3590324224,"corrected_to":0} 
[2026-08-02 19:01:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3265698160,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:07] local.WARNING: Large IO value detected {"io_id":194,"raw_value":-6465084385806146560,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3608150076,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-02 19:01:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:07] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3436576768,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879051046039981,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2294320128361319970,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,204,159,51,45,215,60,42,10,66,225,41,143,1,240,227,194,31,4,113,205,235,164,36,239,50,2,7,214],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3590324224,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-02 19:01:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323823038073143296,"timestamp_seconds":4323823038073143.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 19:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133376512001,"66":12809,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 19:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133376512001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:01:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 19:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 19:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133376512001,"power":12809,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 19:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":146984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:01:07] local.INFO: GPS data processed {"connection_id":146984,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:01:07] local.INFO: Acknowledgment sent {"connection_id":146984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:01:11] local.INFO: TCP Data received {"connection_id":148021,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ab19c8012d7e374005d34c58001700000a..."} 
[2026-08-02 19:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ab19c8012d7e374005d34c58001700000a..."} 
[2026-08-02 19:01:11] local.INFO: Processing buffer {"connection_id":148021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ab19c8012d7e374005d34c58001700000a..."} 
[2026-08-02 19:01:11] local.INFO: Packet analysis {"connection_id":148021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ab"} 
[2026-08-02 19:01:11] local.INFO: Extracted packet for processing {"connection_id":148021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ab"} 
[2026-08-02 19:01:11] local.INFO: GPS Element Parsed {"raw_longitude":763246400,"raw_latitude":97733720,"longitude_deg":76.32464,"latitude_deg":9.773372,"altitude":23,"angle":0,"satellites":10,"speed":0,"hex_longitude":"2d7e3740","hex_latitude":"05d34c58","is_valid_coordinates":true} 
[2026-08-02 19:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114152220613672960,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 19:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785677421000,"timestamp_ms":1785677421000,"timestamp_seconds":1785677421,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ab19c8"} 
[2026-08-02 19:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-02 19:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 19:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-02 19:01:11] 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-08-02 19:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-02 19:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-02 19:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12624,"109":206,"85":15104,"24":0,"16":114152220613672960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-08-02 19:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-02 19:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-02 19:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-02 19:01:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-02 19:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-02 19:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114152220613672960,"km_value":114152220613672.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:01:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12624,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-02 19:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":148021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:01:11] local.INFO: GPS data processed {"connection_id":148021,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:01:11] local.INFO: Acknowledgment sent {"connection_id":148021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:01:23] local.INFO: TCP Data received {"connection_id":149325,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:01:23] local.INFO: Processing buffer {"connection_id":149325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:01:23] local.INFO: IMEI packet received {"connection_id":149325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":149325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:01:29] local.INFO: TCP Data received {"connection_id":149325,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:01:29] local.INFO: Processing buffer {"connection_id":149325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:01:29] local.INFO: IMEI packet received {"connection_id":149325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":149325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:01:29] local.INFO: TCP Data received {"connection_id":146985,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:01:29] local.INFO: Processing buffer {"connection_id":146985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:01:29] local.INFO: IMEI packet received {"connection_id":146985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":146985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:01:30] local.INFO: TCP Data received {"connection_id":149325,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:01:30] local.INFO: Processing buffer {"connection_id":149325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:01:30] local.INFO: Packet analysis {"connection_id":149325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:01:30] local.INFO: Extracted packet for processing {"connection_id":149325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:01:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133299968001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785677254000,"timestamp_ms":1785677254000,"timestamp_seconds":1785677254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a88d70"} 
[2026-08-02 19:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133299968001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133299968001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:01:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:01:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133299968001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":149325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:01:30] local.INFO: GPS data processed {"connection_id":149325,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:01:30] local.INFO: Acknowledgment sent {"connection_id":149325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:01:34] local.INFO: TCP Data received {"connection_id":146985,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:01:34] local.INFO: Processing buffer {"connection_id":146985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:01:34] local.INFO: IMEI packet received {"connection_id":146985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":146985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:01:35] local.INFO: TCP Data received {"connection_id":146985,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a929b0012d19a400071fd710003c014e2c..."} 
[2026-08-02 19:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a929b0012d19a400071fd710003c014e2c..."} 
[2026-08-02 19:01:35] local.INFO: Processing buffer {"connection_id":146985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a929b0012d19a400071fd710003c014e2c..."} 
[2026-08-02 19:01:35] local.INFO: Packet analysis {"connection_id":146985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a9"} 
[2026-08-02 19:01:35] local.INFO: Extracted packet for processing {"connection_id":146985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a9"} 
[2026-08-02 19:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 19:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133381888001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677294000,"timestamp_ms":1785677294000,"timestamp_seconds":1785677294,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a929b0"} 
[2026-08-02 19:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-02 19:01:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:35] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3590324224,"corrected_to":0} 
[2026-08-02 19:01:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3265719160,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:35] local.WARNING: Large IO value detected {"io_id":194,"raw_value":-6441994641622850560,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3608150076,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-02 19:01:35] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:35] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:35] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964419411889747,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:35] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3436576768,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2294320128361319968,"note":"Value kept but may cause issues"} 
[2026-08-02 19:01:35] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,204,159,133,45,215,60,37,10,66,51,42,225,1,240,9,227,194,31,4,113,205,61,164,40,239,50,2,36,7,214],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":204,"original":3590324224,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-02 19:01:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323823050958045184,"timestamp_seconds":4323823050958045.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-02 19:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133381888001,"66":12798,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 19:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133381888001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:01:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 19:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 19:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133381888001,"power":12798,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 19:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":146985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:01:35] local.INFO: GPS data processed {"connection_id":146985,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:01:35] local.INFO: Acknowledgment sent {"connection_id":146985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:02:02] local.INFO: TCP Data received {"connection_id":149325,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:02:02] local.INFO: Processing buffer {"connection_id":149325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:02:02] local.INFO: Packet analysis {"connection_id":149325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:02:02] local.INFO: Extracted packet for processing {"connection_id":149325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:02:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133299968001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785677254000,"timestamp_ms":1785677254000,"timestamp_seconds":1785677254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a88d70"} 
[2026-08-02 19:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133299968001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133299968001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:02:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:02:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:02:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133299968001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":149325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:02:02] local.INFO: GPS data processed {"connection_id":149325,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:02:02] local.INFO: Acknowledgment sent {"connection_id":149325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:02:07] local.INFO: TCP Data received {"connection_id":146985,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a97bb8012d19a400071fd710003c014e28..."} 
[2026-08-02 19:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a97bb8012d19a400071fd710003c014e28..."} 
[2026-08-02 19:02:07] local.INFO: Processing buffer {"connection_id":146985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a97bb8012d19a400071fd710003c014e28..."} 
[2026-08-02 19:02:07] local.INFO: Packet analysis {"connection_id":146985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a9"} 
[2026-08-02 19:02:07] local.INFO: Extracted packet for processing {"connection_id":146985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a9"} 
[2026-08-02 19:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 19:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133387264001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785677315000,"timestamp_ms":1785677315000,"timestamp_seconds":1785677315,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a97bb8"} 
[2026-08-02 19:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-02 19:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133387264001,"66":12798,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 19:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133387264001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:02:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 19:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 19:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133387264001,"power":12798,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 19:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":146985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:02:07] local.INFO: GPS data processed {"connection_id":146985,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:02:07] local.INFO: Acknowledgment sent {"connection_id":146985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:02:29] local.INFO: TCP Data received {"connection_id":148022,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:02:29] local.INFO: Processing buffer {"connection_id":148022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:02:29] local.INFO: IMEI packet received {"connection_id":148022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":148022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:02:29] local.INFO: TCP Data received {"connection_id":146986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:02:29] local.INFO: Processing buffer {"connection_id":146986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:02:29] local.INFO: IMEI packet received {"connection_id":146986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":146986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:02:34] local.INFO: TCP Data received {"connection_id":148022,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:02:34] local.INFO: Processing buffer {"connection_id":148022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:02:34] local.INFO: IMEI packet received {"connection_id":148022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":148022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:02:34] local.INFO: TCP Data received {"connection_id":146986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:02:34] local.INFO: Processing buffer {"connection_id":146986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:02:34] local.INFO: IMEI packet received {"connection_id":146986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":146986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:02:35] local.INFO: TCP Data received {"connection_id":148022,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:02:35] local.INFO: Processing buffer {"connection_id":148022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:02:35] local.INFO: Packet analysis {"connection_id":148022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:02:35] local.INFO: Extracted packet for processing {"connection_id":148022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:02:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133299968001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677254000,"timestamp_ms":1785677254000,"timestamp_seconds":1785677254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a88d70"} 
[2026-08-02 19:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133299968001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133299968001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:02:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:02:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:02:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133299968001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":148022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:02:35] local.INFO: GPS data processed {"connection_id":148022,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:02:35] local.INFO: Acknowledgment sent {"connection_id":148022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:02:35] local.INFO: TCP Data received {"connection_id":146986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a9cdc0012d19a400071fd710003c014e29..."} 
[2026-08-02 19:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a9cdc0012d19a400071fd710003c014e29..."} 
[2026-08-02 19:02:35] local.INFO: Processing buffer {"connection_id":146986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a9cdc0012d19a400071fd710003c014e29..."} 
[2026-08-02 19:02:35] local.INFO: Packet analysis {"connection_id":146986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a9"} 
[2026-08-02 19:02:35] local.INFO: Extracted packet for processing {"connection_id":146986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a9"} 
[2026-08-02 19:02:35] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 19:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133392640001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677336000,"timestamp_ms":1785677336000,"timestamp_seconds":1785677336,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a9cdc0"} 
[2026-08-02 19:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-02 19:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133392640001,"66":12765,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 19:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133392640001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:02:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 19:02:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 19:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133392640001,"power":12765,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 19:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":146986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:02:35] local.INFO: GPS data processed {"connection_id":146986,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:02:35] local.INFO: Acknowledgment sent {"connection_id":146986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:02:39] local.INFO: TCP Data received {"connection_id":148022,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:02:39] local.INFO: Processing buffer {"connection_id":148022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2a88d70012cc330c007685958005800c524..."} 
[2026-08-02 19:02:39] local.INFO: Packet analysis {"connection_id":148022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:02:39] local.INFO: Extracted packet for processing {"connection_id":148022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2a8"} 
[2026-08-02 19:02:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133299968001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785677254000,"timestamp_ms":1785677254000,"timestamp_seconds":1785677254,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2a88d70"} 
[2026-08-02 19:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:02: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-08-02 19: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":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 19:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133299968001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133299968001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:02:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:02:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:02:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133299968001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":148022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:02:39] local.INFO: GPS data processed {"connection_id":148022,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:02:39] local.INFO: Acknowledgment sent {"connection_id":148022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:03:06] local.INFO: TCP Data received {"connection_id":146986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2aa1fc8012d19a400071fd710003c014e29..."} 
[2026-08-02 19:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2aa1fc8012d19a400071fd710003c014e29..."} 
[2026-08-02 19:03:06] local.INFO: Processing buffer {"connection_id":146986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2aa1fc8012d19a400071fd710003c014e29..."} 
[2026-08-02 19:03:06] local.INFO: Packet analysis {"connection_id":146986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2aa"} 
[2026-08-02 19:03:06] local.INFO: Extracted packet for processing {"connection_id":146986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2aa"} 
[2026-08-02 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133398016001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 19:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 19:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785677357000,"timestamp_ms":1785677357000,"timestamp_seconds":1785677357,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2aa1fc8"} 
[2026-08-02 19:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-02 19:03: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-08-02 19:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133398016001,"66":12743,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 19:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133398016001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:03:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 19:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 19:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133398016001,"power":12743,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 19:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":146986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:03:06] local.INFO: GPS data processed {"connection_id":146986,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:03:06] local.INFO: Acknowledgment sent {"connection_id":146986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:03:24] local.INFO: TCP Data received {"connection_id":148023,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:03:24] local.INFO: Processing buffer {"connection_id":148023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:03:24] local.INFO: IMEI packet received {"connection_id":148023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":148023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:03:29] local.INFO: TCP Data received {"connection_id":148023,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:03:29] local.INFO: Processing buffer {"connection_id":148023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:03:29] local.INFO: IMEI packet received {"connection_id":148023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":148023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:03:29] local.INFO: TCP Data received {"connection_id":146987,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:03:29] local.INFO: Processing buffer {"connection_id":146987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:03:29] local.INFO: IMEI packet received {"connection_id":146987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":146987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:03:30] local.INFO: TCP Data received {"connection_id":148023,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:03:30] local.INFO: Processing buffer {"connection_id":148023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:03:30] local.INFO: Packet analysis {"connection_id":148023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:03:30] local.INFO: Extracted packet for processing {"connection_id":148023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:03:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133377024001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785677555000,"timestamp_ms":1785677555000,"timestamp_seconds":1785677555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ad2538"} 
[2026-08-02 19:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133377024001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133377024001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:03:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:03:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133377024001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":148023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:03:30] local.INFO: GPS data processed {"connection_id":148023,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:03:30] local.INFO: Acknowledgment sent {"connection_id":148023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:03:34] local.INFO: TCP Data received {"connection_id":146987,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:03:34] local.INFO: Processing buffer {"connection_id":146987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:03:34] local.INFO: IMEI packet received {"connection_id":146987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":146987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:03:34] local.INFO: TCP Data received {"connection_id":148023,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:03:34] local.INFO: Processing buffer {"connection_id":148023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:03:34] local.INFO: Packet analysis {"connection_id":148023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:03:34] local.INFO: Extracted packet for processing {"connection_id":148023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:03:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133377024001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:03:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785677555000,"timestamp_ms":1785677555000,"timestamp_seconds":1785677555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ad2538"} 
[2026-08-02 19:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133377024001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133377024001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:03:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:03:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:03:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133377024001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":148023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:03:34] local.INFO: GPS data processed {"connection_id":148023,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:03:34] local.INFO: Acknowledgment sent {"connection_id":148023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:03:35] local.INFO: TCP Data received {"connection_id":146987,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2aa71d0012d19a400071fd710003c014e24..."} 
[2026-08-02 19:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2aa71d0012d19a400071fd710003c014e24..."} 
[2026-08-02 19:03:35] local.INFO: Processing buffer {"connection_id":146987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2aa71d0012d19a400071fd710003c014e24..."} 
[2026-08-02 19:03:35] local.INFO: Packet analysis {"connection_id":146987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2aa"} 
[2026-08-02 19:03:35] local.INFO: Extracted packet for processing {"connection_id":146987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2aa"} 
[2026-08-02 19:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 19:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133403392001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 19:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 19:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677378000,"timestamp_ms":1785677378000,"timestamp_seconds":1785677378,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2aa71d0"} 
[2026-08-02 19:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-02 19:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133403392001,"66":12711,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 19:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133403392001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:03:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 19:03:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 19:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133403392001,"power":12711,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 19:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":146987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:03:35] local.INFO: GPS data processed {"connection_id":146987,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:03:35] local.INFO: Acknowledgment sent {"connection_id":146987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:04:06] local.INFO: TCP Data received {"connection_id":148023,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:04:06] local.INFO: Processing buffer {"connection_id":148023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:04:06] local.INFO: Packet analysis {"connection_id":148023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:04:06] local.INFO: Extracted packet for processing {"connection_id":148023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:04:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133377024001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785677555000,"timestamp_ms":1785677555000,"timestamp_seconds":1785677555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ad2538"} 
[2026-08-02 19:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:04: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-08-02 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:04: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-08-02 19:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133377024001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133377024001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:04:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:04:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133377024001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":148023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:04:06] local.INFO: GPS data processed {"connection_id":148023,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:04:06] local.INFO: Acknowledgment sent {"connection_id":148023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:04:06] local.INFO: TCP Data received {"connection_id":146987,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2aac3d8012d19a400071fd710003c014e28..."} 
[2026-08-02 19:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2aac3d8012d19a400071fd710003c014e28..."} 
[2026-08-02 19:04:06] local.INFO: Processing buffer {"connection_id":146987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2aac3d8012d19a400071fd710003c014e28..."} 
[2026-08-02 19:04:06] local.INFO: Packet analysis {"connection_id":146987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2aa"} 
[2026-08-02 19:04:06] local.INFO: Extracted packet for processing {"connection_id":146987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2aa"} 
[2026-08-02 19:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 19:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133408768001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 19:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 19:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785677399000,"timestamp_ms":1785677399000,"timestamp_seconds":1785677399,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2aac3d8"} 
[2026-08-02 19:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-02 19:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133408768001,"66":12667,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 19:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133408768001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:04:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 19:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 19:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133408768001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 19:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":146987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:04:06] local.INFO: GPS data processed {"connection_id":146987,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:04:06] local.INFO: Acknowledgment sent {"connection_id":146987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:04:23] local.INFO: TCP Data received {"connection_id":146988,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:04:23] local.INFO: Processing buffer {"connection_id":146988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:04:23] local.INFO: IMEI packet received {"connection_id":146988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":146988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:04:28] local.INFO: TCP Data received {"connection_id":146759,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:04:28] local.INFO: Processing buffer {"connection_id":146759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:04:28] local.INFO: IMEI packet received {"connection_id":146759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":146759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:04:29] local.INFO: TCP Data received {"connection_id":146988,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:04:29] local.INFO: Processing buffer {"connection_id":146988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:04:29] local.INFO: IMEI packet received {"connection_id":146988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":146988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:04:29] local.INFO: TCP Data received {"connection_id":146759,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:04:29] local.INFO: Processing buffer {"connection_id":146759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:04:29] local.INFO: IMEI packet received {"connection_id":146759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":146759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:04:30] local.INFO: TCP Data received {"connection_id":146988,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:04:30] local.INFO: Processing buffer {"connection_id":146988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:04:30] local.INFO: Packet analysis {"connection_id":146988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:04:30] local.INFO: Extracted packet for processing {"connection_id":146988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:04:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133377024001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785677555000,"timestamp_ms":1785677555000,"timestamp_seconds":1785677555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ad2538"} 
[2026-08-02 19:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133377024001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133377024001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:04:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:04:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133377024001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":146988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:04:30] local.INFO: GPS data processed {"connection_id":146988,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:04:30] local.INFO: Acknowledgment sent {"connection_id":146988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:04:34] local.INFO: TCP Data received {"connection_id":146759,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:04:34] local.INFO: Processing buffer {"connection_id":146759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:04:34] local.INFO: IMEI packet received {"connection_id":146759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":146759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:04:35] local.INFO: TCP Data received {"connection_id":146759,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ab15e0012d19a400071fd710003c014e2a..."} 
[2026-08-02 19:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ab15e0012d19a400071fd710003c014e2a..."} 
[2026-08-02 19:04:35] local.INFO: Processing buffer {"connection_id":146759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ab15e0012d19a400071fd710003c014e2a..."} 
[2026-08-02 19:04:35] local.INFO: Packet analysis {"connection_id":146759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ab"} 
[2026-08-02 19:04:35] local.INFO: Extracted packet for processing {"connection_id":146759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ab"} 
[2026-08-02 19:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119527184,"longitude_deg":75.6655104,"latitude_deg":11.9527184,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d19a400","hex_latitude":"071fd710","is_valid_coordinates":true} 
[2026-08-02 19:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133414144001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358318656651264,"note":"Value kept but may cause issues"} 
[2026-08-02 19:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777727705088,"note":"Value kept but may cause issues"} 
[2026-08-02 19:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677420000,"timestamp_ms":1785677420000,"timestamp_seconds":1785677420,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ab15e0"} 
[2026-08-02 19:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-02 19:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133414144001,"66":12722,"101":206,"83":41984,"24":0,"16":10358318656651264,"45":1847601777727705088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 19:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133414144001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:04:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 19:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358318656651264,"km_value":10358318656651.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777727705088,"description":"Unknown IO ID 45"} 
[2026-08-02 19:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133414144001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847601777727705088}} 
[2026-08-02 19:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":146759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:04:35] local.INFO: GPS data processed {"connection_id":146759,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:04:35] local.INFO: Acknowledgment sent {"connection_id":146759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:05:01] local.INFO: TCP Data received {"connection_id":146988,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:05:01] local.INFO: Processing buffer {"connection_id":146988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:05:01] local.INFO: Packet analysis {"connection_id":146988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:05:01] local.INFO: Extracted packet for processing {"connection_id":146988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:05:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133377024001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785677555000,"timestamp_ms":1785677555000,"timestamp_seconds":1785677555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ad2538"} 
[2026-08-02 19:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:05: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133377024001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133377024001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:05:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:05:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:05:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133377024001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":146988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:05:01] local.INFO: GPS data processed {"connection_id":146988,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:05:01] local.INFO: Acknowledgment sent {"connection_id":146988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:05:06] local.INFO: TCP Data received {"connection_id":146759,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2aec730012d19a280071fed80003e01482a..."} 
[2026-08-02 19:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2aec730012d19a280071fed80003e01482a..."} 
[2026-08-02 19:05:06] local.INFO: Processing buffer {"connection_id":146759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2aec730012d19a280071fed80003e01482a..."} 
[2026-08-02 19:05:06] local.INFO: Packet analysis {"connection_id":146759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ae"} 
[2026-08-02 19:05:06] local.INFO: Extracted packet for processing {"connection_id":146759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ae"} 
[2026-08-02 19:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756654720,"raw_latitude":119532928,"longitude_deg":75.665472,"latitude_deg":11.9532928,"altitude":62,"angle":328,"satellites":42,"speed":9,"hex_longitude":"2d19a280","hex_latitude":"071fed80","is_valid_coordinates":true} 
[2026-08-02 19:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133481216001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358602124492800,"note":"Value kept but may cause issues"} 
[2026-08-02 19:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934008225792,"note":"Value kept but may cause issues"} 
[2026-08-02 19:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785677662000,"timestamp_ms":1785677662000,"timestamp_seconds":1785677662,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2aec730"} 
[2026-08-02 19:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-02 19:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133481216001,"66":13048,"101":206,"83":41984,"24":9,"16":10358602124492800,"45":1847249934008225792},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 19:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133481216001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:05:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 19:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358602124492800,"km_value":10358602124492.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934008225792,"description":"Unknown IO ID 45"} 
[2026-08-02 19:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133481216001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1847249934008225792}} 
[2026-08-02 19:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":146759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:05:06] local.INFO: GPS data processed {"connection_id":146759,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:05:06] local.INFO: Acknowledgment sent {"connection_id":146759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:05:23] local.INFO: TCP Data received {"connection_id":149326,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:05:23] local.INFO: Processing buffer {"connection_id":149326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:05:23] local.INFO: IMEI packet received {"connection_id":149326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":149326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:05:29] local.INFO: TCP Data received {"connection_id":146989,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:05:29] local.INFO: Processing buffer {"connection_id":146989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:05:29] local.INFO: IMEI packet received {"connection_id":146989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":146989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:05:29] local.INFO: TCP Data received {"connection_id":149326,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:05:29] local.INFO: Processing buffer {"connection_id":149326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:05:29] local.INFO: IMEI packet received {"connection_id":149326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":149326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:05:30] local.INFO: TCP Data received {"connection_id":146989,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:05:30] local.INFO: Processing buffer {"connection_id":146989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:05:30] local.INFO: IMEI packet received {"connection_id":146989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":146989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:05:30] local.INFO: TCP Data received {"connection_id":149326,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:05:30] local.INFO: Processing buffer {"connection_id":149326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:05:30] local.INFO: Packet analysis {"connection_id":149326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:05:30] local.INFO: Extracted packet for processing {"connection_id":149326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:05:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133377024001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785677555000,"timestamp_ms":1785677555000,"timestamp_seconds":1785677555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ad2538"} 
[2026-08-02 19:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133377024001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133377024001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:05:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:05:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133377024001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":149326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:05:30] local.INFO: GPS data processed {"connection_id":149326,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:05:30] local.INFO: Acknowledgment sent {"connection_id":149326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:05:32] local.INFO: TCP Data received {"connection_id":146989,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:05:32] local.INFO: Processing buffer {"connection_id":146989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:05:32] local.INFO: IMEI packet received {"connection_id":146989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":146989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:05:33] local.INFO: TCP Data received {"connection_id":146989,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:05:33] local.INFO: Processing buffer {"connection_id":146989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:05:33] local.INFO: IMEI packet received {"connection_id":146989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":146989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:06:02] local.INFO: TCP Data received {"connection_id":149326,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:06:02] local.INFO: Processing buffer {"connection_id":149326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:06:02] local.INFO: Packet analysis {"connection_id":149326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:06:02] local.INFO: Extracted packet for processing {"connection_id":149326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:06:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133377024001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:06:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785677555000,"timestamp_ms":1785677555000,"timestamp_seconds":1785677555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ad2538"} 
[2026-08-02 19:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133377024001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133377024001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:06:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:06:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:06:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133377024001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":149326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:06:02] local.INFO: GPS data processed {"connection_id":149326,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:06:02] local.INFO: Acknowledgment sent {"connection_id":149326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:06:29] local.INFO: TCP Data received {"connection_id":146760,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:06:29] local.INFO: Processing buffer {"connection_id":146760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:06:29] local.INFO: IMEI packet received {"connection_id":146760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":146760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:06:34] local.INFO: TCP Data received {"connection_id":146760,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:06:34] local.INFO: Processing buffer {"connection_id":146760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:06:34] local.INFO: IMEI packet received {"connection_id":146760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":146760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:06:35] local.INFO: TCP Data received {"connection_id":146760,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:06:35] local.INFO: Processing buffer {"connection_id":146760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:06:35] local.INFO: Packet analysis {"connection_id":146760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:06:35] local.INFO: Extracted packet for processing {"connection_id":146760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:06:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133377024001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:06:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677555000,"timestamp_ms":1785677555000,"timestamp_seconds":1785677555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ad2538"} 
[2026-08-02 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-08-02 19:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133377024001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133377024001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:06:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:06:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:06:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133377024001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":146760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:06:35] local.INFO: GPS data processed {"connection_id":146760,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:06:35] local.INFO: Acknowledgment sent {"connection_id":146760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:06:40] local.INFO: TCP Data received {"connection_id":146760,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:06:40] local.INFO: Processing buffer {"connection_id":146760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:06:40] local.INFO: Packet analysis {"connection_id":146760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:06:40] local.INFO: Extracted packet for processing {"connection_id":146760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:06:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133377024001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785677555000,"timestamp_ms":1785677555000,"timestamp_seconds":1785677555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ad2538"} 
[2026-08-02 19:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19: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-08-02 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 19:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133377024001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133377024001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:06:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:06:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133377024001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":146760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:06:40] local.INFO: GPS data processed {"connection_id":146760,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:06:40] local.INFO: Acknowledgment sent {"connection_id":146760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:07:24] local.INFO: TCP Data received {"connection_id":146990,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:07:24] local.INFO: Processing buffer {"connection_id":146990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:07:24] local.INFO: IMEI packet received {"connection_id":146990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":146990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:07:29] local.INFO: TCP Data received {"connection_id":146990,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:07:29] local.INFO: Processing buffer {"connection_id":146990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:07:29] local.INFO: IMEI packet received {"connection_id":146990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":146990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:07:30] local.INFO: TCP Data received {"connection_id":146990,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:07:30] local.INFO: Processing buffer {"connection_id":146990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:07:30] local.INFO: Packet analysis {"connection_id":146990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:07:30] local.INFO: Extracted packet for processing {"connection_id":146990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:07:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133377024001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785677555000,"timestamp_ms":1785677555000,"timestamp_seconds":1785677555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ad2538"} 
[2026-08-02 19:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133377024001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133377024001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:07:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:07:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133377024001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":146990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:07:30] local.INFO: GPS data processed {"connection_id":146990,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:07:30] local.INFO: Acknowledgment sent {"connection_id":146990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:08:01] local.INFO: TCP Data received {"connection_id":146990,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:08:01] local.INFO: Processing buffer {"connection_id":146990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ad2538012cc330c007685958005800c52a..."} 
[2026-08-02 19:08:01] local.INFO: Packet analysis {"connection_id":146990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:08:01] local.INFO: Extracted packet for processing {"connection_id":146990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ad"} 
[2026-08-02 19:08:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133377024001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785677555000,"timestamp_ms":1785677555000,"timestamp_seconds":1785677555,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ad2538"} 
[2026-08-02 19:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133377024001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133377024001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:08:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:08:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133377024001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":146990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:08:01] local.INFO: GPS data processed {"connection_id":146990,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:08:01] local.INFO: Acknowledgment sent {"connection_id":146990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:08:24] local.INFO: TCP Data received {"connection_id":148024,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:08:24] local.INFO: Processing buffer {"connection_id":148024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:08:24] local.INFO: IMEI packet received {"connection_id":148024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":148024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:08:29] local.INFO: TCP Data received {"connection_id":148024,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:08:29] local.INFO: Processing buffer {"connection_id":148024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:08:29] local.INFO: IMEI packet received {"connection_id":148024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":148024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:08:30] local.INFO: TCP Data received {"connection_id":148024,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:08:30] local.INFO: Processing buffer {"connection_id":148024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:08:30] local.INFO: Packet analysis {"connection_id":148024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:08:30] local.INFO: Extracted packet for processing {"connection_id":148024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:08:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133454080001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785677856000,"timestamp_ms":1785677856000,"timestamp_seconds":1785677856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b1bd00"} 
[2026-08-02 19:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133454080001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133454080001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:08:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:08:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133454080001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":148024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:08:30] local.INFO: GPS data processed {"connection_id":148024,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:08:30] local.INFO: Acknowledgment sent {"connection_id":148024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:09:01] local.INFO: TCP Data received {"connection_id":148024,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:09:01] local.INFO: Processing buffer {"connection_id":148024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:09:01] local.INFO: Packet analysis {"connection_id":148024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:09:01] local.INFO: Extracted packet for processing {"connection_id":148024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:09:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133454080001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:09:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785677856000,"timestamp_ms":1785677856000,"timestamp_seconds":1785677856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b1bd00"} 
[2026-08-02 19:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133454080001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133454080001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:09:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:09:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:09:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133454080001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":148024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:09:01] local.INFO: GPS data processed {"connection_id":148024,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:09:01] local.INFO: Acknowledgment sent {"connection_id":148024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:09:23] local.INFO: TCP Data received {"connection_id":146762,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:09:23] local.INFO: Processing buffer {"connection_id":146762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:09:23] local.INFO: IMEI packet received {"connection_id":146762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":146762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:09:29] local.INFO: TCP Data received {"connection_id":146762,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:09:29] local.INFO: Processing buffer {"connection_id":146762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:09:29] local.INFO: IMEI packet received {"connection_id":146762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":146762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:09:30] local.INFO: TCP Data received {"connection_id":146762,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:09:30] local.INFO: Processing buffer {"connection_id":146762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:09:30] local.INFO: Packet analysis {"connection_id":146762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:09:30] local.INFO: Extracted packet for processing {"connection_id":146762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133454080001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785677856000,"timestamp_ms":1785677856000,"timestamp_seconds":1785677856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b1bd00"} 
[2026-08-02 19:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133454080001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133454080001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:09:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:09:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133454080001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":146762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:09:30] local.INFO: GPS data processed {"connection_id":146762,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:09:30] local.INFO: Acknowledgment sent {"connection_id":146762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:10:02] local.INFO: TCP Data received {"connection_id":146762,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:10:02] local.INFO: Processing buffer {"connection_id":146762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:10:02] local.INFO: Packet analysis {"connection_id":146762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:10:02] local.INFO: Extracted packet for processing {"connection_id":146762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:10:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133454080001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:10:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785677856000,"timestamp_ms":1785677856000,"timestamp_seconds":1785677856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b1bd00"} 
[2026-08-02 19:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133454080001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133454080001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:10:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:10:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:10:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133454080001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":146762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:10:02] local.INFO: GPS data processed {"connection_id":146762,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:10:02] local.INFO: Acknowledgment sent {"connection_id":146762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:10:23] local.INFO: TCP Data received {"connection_id":146764,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:10:23] local.INFO: Processing buffer {"connection_id":146764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:10:23] local.INFO: IMEI packet received {"connection_id":146764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":146764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:10:33] local.INFO: TCP Data received {"connection_id":146764,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:10:33] local.INFO: Processing buffer {"connection_id":146764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:10:33] local.INFO: IMEI packet received {"connection_id":146764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":146764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:10:34] local.INFO: TCP Data received {"connection_id":149328,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:10:34] local.INFO: Processing buffer {"connection_id":149328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:10:34] local.INFO: IMEI packet received {"connection_id":149328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":149328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:10:34] local.INFO: TCP Data received {"connection_id":146764,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:10:34] local.INFO: Processing buffer {"connection_id":146764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:10:34] local.INFO: Packet analysis {"connection_id":146764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:10:34] local.INFO: Extracted packet for processing {"connection_id":146764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:10:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133454080001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:10:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785677856000,"timestamp_ms":1785677856000,"timestamp_seconds":1785677856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b1bd00"} 
[2026-08-02 19:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133454080001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133454080001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:10:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:10:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:10:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133454080001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":146764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:10:34] local.INFO: GPS data processed {"connection_id":146764,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:10:34] local.INFO: Acknowledgment sent {"connection_id":146764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:10:35] local.INFO: TCP Data received {"connection_id":149328,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2aecb18012d19a200071fedf0003e01252a..."} 
[2026-08-02 19:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2aecb18012d19a200071fedf0003e01252a..."} 
[2026-08-02 19:10:35] local.INFO: Processing buffer {"connection_id":149328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2aecb18012d19a200071fedf0003e01252a..."} 
[2026-08-02 19:10:35] local.INFO: Packet analysis {"connection_id":149328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ae"} 
[2026-08-02 19:10:35] local.INFO: Extracted packet for processing {"connection_id":149328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ae"} 
[2026-08-02 19:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756654592,"raw_latitude":119533040,"longitude_deg":75.6654592,"latitude_deg":11.953304,"altitude":62,"angle":293,"satellites":42,"speed":7,"hex_longitude":"2d19a200","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-08-02 19:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133481472001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358610714427392,"note":"Value kept but may cause issues"} 
[2026-08-02 19:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847179565264109568,"note":"Value kept but may cause issues"} 
[2026-08-02 19:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677663000,"timestamp_ms":1785677663000,"timestamp_seconds":1785677663,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2aecb18"} 
[2026-08-02 19:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-02 19:10: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-08-02 19:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133481472001,"66":13048,"101":206,"83":41984,"24":7,"16":10358610714427392,"45":1847179565264109568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 19:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133481472001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:10:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 19:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358610714427392,"km_value":10358610714427.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847179565264109568,"description":"Unknown IO ID 45"} 
[2026-08-02 19:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133481472001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1847179565264109568}} 
[2026-08-02 19:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":149328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:10:35] local.INFO: GPS data processed {"connection_id":149328,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:10:35] local.INFO: Acknowledgment sent {"connection_id":149328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:11:06] local.INFO: TCP Data received {"connection_id":146764,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:11:06] local.INFO: Processing buffer {"connection_id":146764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:11:06] local.INFO: Packet analysis {"connection_id":146764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:11:06] local.INFO: Extracted packet for processing {"connection_id":146764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:11:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133454080001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785677856000,"timestamp_ms":1785677856000,"timestamp_seconds":1785677856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b1bd00"} 
[2026-08-02 19:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19: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-08-02 19:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133454080001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133454080001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:11:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:11:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133454080001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":146764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:11:06] local.INFO: GPS data processed {"connection_id":146764,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:11:06] local.INFO: Acknowledgment sent {"connection_id":146764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:11:06] local.INFO: TCP Data received {"connection_id":149328,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2aecf00012d19a100071fee08003f01102a..."} 
[2026-08-02 19:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2aecf00012d19a100071fee08003f01102a..."} 
[2026-08-02 19:11:06] local.INFO: Processing buffer {"connection_id":149328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2aecf00012d19a100071fee08003f01102a..."} 
[2026-08-02 19:11:06] local.INFO: Packet analysis {"connection_id":149328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ae"} 
[2026-08-02 19:11:06] local.INFO: Extracted packet for processing {"connection_id":149328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ae"} 
[2026-08-02 19:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756654336,"raw_latitude":119533064,"longitude_deg":75.6654336,"latitude_deg":11.9533064,"altitude":63,"angle":272,"satellites":42,"speed":7,"hex_longitude":"2d19a100","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-08-02 19:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133481728001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358619304361984,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847038827775782912,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785677664000,"timestamp_ms":1785677664000,"timestamp_seconds":1785677664,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2aecf00"} 
[2026-08-02 19:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-02 19:11: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-08-02 19:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133481728001,"66":13678,"101":206,"83":41984,"24":7,"16":10358619304361984,"45":1847038827775782912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-02 19:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133481728001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:11:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 19:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358619304361984,"km_value":10358619304361.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847038827775782912,"description":"Unknown IO ID 45"} 
[2026-08-02 19:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133481728001,"power":13678,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1847038827775782912}} 
[2026-08-02 19:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":149328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:11:06] local.INFO: GPS data processed {"connection_id":149328,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:11:06] local.INFO: Acknowledgment sent {"connection_id":149328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:11:29] local.INFO: TCP Data received {"connection_id":146992,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:11:29] local.INFO: Processing buffer {"connection_id":146992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:11:29] local.INFO: IMEI packet received {"connection_id":146992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":146992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:11:34] local.INFO: TCP Data received {"connection_id":146992,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:11:34] local.INFO: Processing buffer {"connection_id":146992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:11:34] local.INFO: IMEI packet received {"connection_id":146992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":146992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:11:34] local.INFO: TCP Data received {"connection_id":148025,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:11:34] local.INFO: Processing buffer {"connection_id":148025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:11:34] local.INFO: IMEI packet received {"connection_id":148025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":148025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:11:35] local.INFO: TCP Data received {"connection_id":146992,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:11:35] local.INFO: Processing buffer {"connection_id":146992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:11:35] local.INFO: Packet analysis {"connection_id":146992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:11:35] local.INFO: Extracted packet for processing {"connection_id":146992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:11:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133454080001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677856000,"timestamp_ms":1785677856000,"timestamp_seconds":1785677856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b1bd00"} 
[2026-08-02 19:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133454080001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133454080001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:11:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:11:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:11:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133454080001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":146992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:11:35] local.INFO: GPS data processed {"connection_id":146992,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:11:35] local.INFO: Acknowledgment sent {"connection_id":146992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:11:39] local.INFO: TCP Data received {"connection_id":148025,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:11:39] local.INFO: Processing buffer {"connection_id":148025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:11:39] local.INFO: IMEI packet received {"connection_id":148025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":148025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:11:39] local.INFO: TCP Data received {"connection_id":146992,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:11:39] local.INFO: Processing buffer {"connection_id":146992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:11:39] local.INFO: Packet analysis {"connection_id":146992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:11:39] local.INFO: Extracted packet for processing {"connection_id":146992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:11:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133454080001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785677856000,"timestamp_ms":1785677856000,"timestamp_seconds":1785677856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b1bd00"} 
[2026-08-02 19:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:11: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-08-02 19: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":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133454080001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133454080001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:11:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:11:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:11:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133454080001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":146992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:11:39] local.INFO: GPS data processed {"connection_id":146992,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:11:39] local.INFO: Acknowledgment sent {"connection_id":146992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:11:40] local.INFO: TCP Data received {"connection_id":148025,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2af2108012d198540071fef30004100fa2b..."} 
[2026-08-02 19:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2af2108012d198540071fef30004100fa2b..."} 
[2026-08-02 19:11:40] local.INFO: Processing buffer {"connection_id":148025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2af2108012d198540071fef30004100fa2b..."} 
[2026-08-02 19:11:40] local.INFO: Packet analysis {"connection_id":148025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2af"} 
[2026-08-02 19:11:40] local.INFO: Extracted packet for processing {"connection_id":148025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2af"} 
[2026-08-02 19:11:40] local.INFO: GPS Element Parsed {"raw_longitude":756647232,"raw_latitude":119533360,"longitude_deg":75.6647232,"latitude_deg":11.953336,"altitude":65,"angle":250,"satellites":43,"speed":11,"hex_longitude":"2d198540","hex_latitude":"071fef30","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133481984001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358958606778368,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846757352799078400,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785677685000,"timestamp_ms":1785677685000,"timestamp_seconds":1785677685,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2af2108"} 
[2026-08-02 19:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:11: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-08-02 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-02 19:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133481984001,"66":14048,"102":206,"83":41984,"24":11,"16":10358958606778368,"45":1846757352799078400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133481984001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:11:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:11:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358958606778368,"km_value":10358958606778.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846757352799078400,"description":"Unknown IO ID 45"} 
[2026-08-02 19:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133481984001,"power":14048,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1846757352799078400}} 
[2026-08-02 19:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":148025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:11:40] local.INFO: GPS data processed {"connection_id":148025,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:11:40] local.INFO: Acknowledgment sent {"connection_id":148025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:11:44] local.INFO: TCP Data received {"connection_id":148025,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2af2108012d198540071fef30004100fa2b..."} 
[2026-08-02 19:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2af2108012d198540071fef30004100fa2b..."} 
[2026-08-02 19:11:44] local.INFO: Processing buffer {"connection_id":148025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2af2108012d198540071fef30004100fa2b..."} 
[2026-08-02 19:11:44] local.INFO: Packet analysis {"connection_id":148025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2af"} 
[2026-08-02 19:11:44] local.INFO: Extracted packet for processing {"connection_id":148025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2af"} 
[2026-08-02 19:11:44] local.INFO: GPS Element Parsed {"raw_longitude":756647232,"raw_latitude":119533360,"longitude_deg":75.6647232,"latitude_deg":11.953336,"altitude":65,"angle":250,"satellites":43,"speed":11,"hex_longitude":"2d198540","hex_latitude":"071fef30","is_valid_coordinates":true} 
[2026-08-02 19:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133487360001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358958606778368,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838946422195433472,"note":"Value kept but may cause issues"} 
[2026-08-02 19:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785677685000,"timestamp_ms":1785677685000,"timestamp_seconds":1785677685,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2af2108"} 
[2026-08-02 19:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-02 19:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133487360001,"66":14048,"102":206,"83":41984,"24":11,"16":10358958606778368,"45":1838946422195433472},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133487360001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:11:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:11:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358958606778368,"km_value":10358958606778.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838946422195433472,"description":"Unknown IO ID 45"} 
[2026-08-02 19:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133487360001,"power":14048,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1838946422195433472}} 
[2026-08-02 19:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":148025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:11:44] local.INFO: GPS data processed {"connection_id":148025,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:11:44] local.INFO: Acknowledgment sent {"connection_id":148025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:12:23] local.INFO: TCP Data received {"connection_id":148026,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:12:23] local.INFO: Processing buffer {"connection_id":148026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:12:23] local.INFO: IMEI packet received {"connection_id":148026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":148026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:12:29] local.INFO: TCP Data received {"connection_id":148026,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:12:29] local.INFO: Processing buffer {"connection_id":148026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:12:29] local.INFO: IMEI packet received {"connection_id":148026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":148026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:12:29] local.INFO: TCP Data received {"connection_id":146765,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:12:29] local.INFO: Processing buffer {"connection_id":146765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:12:29] local.INFO: IMEI packet received {"connection_id":146765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":146765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:12:30] local.INFO: TCP Data received {"connection_id":148026,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:12:30] local.INFO: Processing buffer {"connection_id":148026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:12:30] local.INFO: Packet analysis {"connection_id":148026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:12:30] local.INFO: Extracted packet for processing {"connection_id":148026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:12:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133454080001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785677856000,"timestamp_ms":1785677856000,"timestamp_seconds":1785677856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b1bd00"} 
[2026-08-02 19:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133454080001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133454080001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:12:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:12:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133454080001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":148026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:12:30] local.INFO: GPS data processed {"connection_id":148026,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:12:30] local.INFO: Acknowledgment sent {"connection_id":148026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:12:34] local.INFO: TCP Data received {"connection_id":146765,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:12:34] local.INFO: Processing buffer {"connection_id":146765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:12:34] local.INFO: IMEI packet received {"connection_id":146765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":146765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:12:35] local.INFO: TCP Data received {"connection_id":146765,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2af28d8012d198340071fee20004100ec2b..."} 
[2026-08-02 19:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2af28d8012d198340071fee20004100ec2b..."} 
[2026-08-02 19:12:35] local.INFO: Processing buffer {"connection_id":146765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2af28d8012d198340071fee20004100ec2b..."} 
[2026-08-02 19:12:35] local.INFO: Packet analysis {"connection_id":146765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2af"} 
[2026-08-02 19:12:35] local.INFO: Extracted packet for processing {"connection_id":146765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2af"} 
[2026-08-02 19:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756646720,"raw_latitude":119533088,"longitude_deg":75.664672,"latitude_deg":11.9533088,"altitude":65,"angle":236,"satellites":43,"speed":13,"hex_longitude":"2d198340","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-02 19:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133487360001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10358988671549440,"note":"Value kept but may cause issues"} 
[2026-08-02 19:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838946422195433472,"note":"Value kept but may cause issues"} 
[2026-08-02 19:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677687000,"timestamp_ms":1785677687000,"timestamp_seconds":1785677687,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2af28d8"} 
[2026-08-02 19:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-02 19:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133487360001,"66":14243,"102":206,"83":41984,"24":13,"16":10358988671549440,"45":1838946422195433472},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133487360001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:12:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10358988671549440,"km_value":10358988671549.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838946422195433472,"description":"Unknown IO ID 45"} 
[2026-08-02 19:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133487360001,"power":14243,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1838946422195433472}} 
[2026-08-02 19:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":146765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:12:35] local.INFO: GPS data processed {"connection_id":146765,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:12:35] local.INFO: Acknowledgment sent {"connection_id":146765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:13:01] local.INFO: TCP Data received {"connection_id":148026,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:13:01] local.INFO: Processing buffer {"connection_id":148026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b1bd00012cc330c007685958005800c528..."} 
[2026-08-02 19:13:01] local.INFO: Packet analysis {"connection_id":148026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:13:01] local.INFO: Extracted packet for processing {"connection_id":148026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b1"} 
[2026-08-02 19:13:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133454080001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:13:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785677856000,"timestamp_ms":1785677856000,"timestamp_seconds":1785677856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b1bd00"} 
[2026-08-02 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-08-02 19:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133454080001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133454080001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:13:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:13:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:13:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133454080001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":148026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:13:01] local.INFO: GPS data processed {"connection_id":148026,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:13:01] local.INFO: Acknowledgment sent {"connection_id":148026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:13:06] local.INFO: TCP Data received {"connection_id":146765,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2af3c60012d197d40071fead0003f00fd2b..."} 
[2026-08-02 19:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2af3c60012d197d40071fead0003f00fd2b..."} 
[2026-08-02 19:13:06] local.INFO: Processing buffer {"connection_id":146765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2af3c60012d197d40071fead0003f00fd2b..."} 
[2026-08-02 19:13:06] local.INFO: Packet analysis {"connection_id":146765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2af"} 
[2026-08-02 19:13:06] local.INFO: Extracted packet for processing {"connection_id":146765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2af"} 
[2026-08-02 19:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756645184,"raw_latitude":119532240,"longitude_deg":75.6645184,"latitude_deg":11.953224,"altitude":63,"angle":253,"satellites":43,"speed":13,"hex_longitude":"2d197d40","hex_latitude":"071fead0","is_valid_coordinates":true} 
[2026-08-02 19:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133487872001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359074570895360,"note":"Value kept but may cause issues"} 
[2026-08-02 19:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838383472241942528,"note":"Value kept but may cause issues"} 
[2026-08-02 19:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785677692000,"timestamp_ms":1785677692000,"timestamp_seconds":1785677692,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2af3c60"} 
[2026-08-02 19:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-02 19:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133487872001,"66":13341,"102":206,"83":41984,"24":13,"16":10359074570895360,"45":1838383472241942528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133487872001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:13:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359074570895360,"km_value":10359074570895.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838383472241942528,"description":"Unknown IO ID 45"} 
[2026-08-02 19:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133487872001,"power":13341,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1838383472241942528}} 
[2026-08-02 19:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":146765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:13:06] local.INFO: GPS data processed {"connection_id":146765,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:13:06] local.INFO: Acknowledgment sent {"connection_id":146765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:13:23] local.INFO: TCP Data received {"connection_id":149329,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:13:23] local.INFO: Processing buffer {"connection_id":149329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:13:23] local.INFO: IMEI packet received {"connection_id":149329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":149329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:13:29] local.INFO: TCP Data received {"connection_id":149329,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:13:29] local.INFO: Processing buffer {"connection_id":149329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:13:29] local.INFO: IMEI packet received {"connection_id":149329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":149329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:13:29] local.INFO: TCP Data received {"connection_id":148027,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:13:29] local.INFO: Processing buffer {"connection_id":148027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:13:29] local.INFO: IMEI packet received {"connection_id":148027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":148027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:13:30] local.INFO: TCP Data received {"connection_id":149329,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:13:30] local.INFO: Processing buffer {"connection_id":149329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:13:30] local.INFO: Packet analysis {"connection_id":149329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:13:30] local.INFO: Extracted packet for processing {"connection_id":149329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:13:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133531136001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785678157000,"timestamp_ms":1785678157000,"timestamp_seconds":1785678157,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b654c8"} 
[2026-08-02 19:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133531136001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133531136001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:13:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:13:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133531136001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":149329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:13:30] local.INFO: GPS data processed {"connection_id":149329,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:13:30] local.INFO: Acknowledgment sent {"connection_id":149329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:13:34] local.INFO: TCP Data received {"connection_id":148027,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:13:34] local.INFO: Processing buffer {"connection_id":148027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:13:34] local.INFO: IMEI packet received {"connection_id":148027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":148027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:13:35] local.INFO: TCP Data received {"connection_id":148027,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2af4048012d197c40071feaa8003f01052b..."} 
[2026-08-02 19:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2af4048012d197c40071feaa8003f01052b..."} 
[2026-08-02 19:13:35] local.INFO: Processing buffer {"connection_id":148027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2af4048012d197c40071feaa8003f01052b..."} 
[2026-08-02 19:13:35] local.INFO: Packet analysis {"connection_id":148027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2af"} 
[2026-08-02 19:13:35] local.INFO: Extracted packet for processing {"connection_id":148027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2af"} 
[2026-08-02 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756644928,"raw_latitude":119532200,"longitude_deg":75.6644928,"latitude_deg":11.95322,"altitude":63,"angle":261,"satellites":43,"speed":12,"hex_longitude":"2d197c40","hex_latitude":"071feaa8","is_valid_coordinates":true} 
[2026-08-02 19:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133489152001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836694622381461504,"note":"Value kept but may cause issues"} 
[2026-08-02 19:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677693000,"timestamp_ms":1785677693000,"timestamp_seconds":1785677693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2af4048"} 
[2026-08-02 19:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 19:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-02 19:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133489152001,"66":13341,"102":206,"83":41984,"24":12,"16":10359087455797248,"45":1836694622381461504},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133489152001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:13:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836694622381461504,"description":"Unknown IO ID 45"} 
[2026-08-02 19:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133489152001,"power":13341,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1836694622381461504}} 
[2026-08-02 19:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":148027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:13:35] local.INFO: GPS data processed {"connection_id":148027,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:13:35] local.INFO: Acknowledgment sent {"connection_id":148027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:14:05] local.INFO: TCP Data received {"connection_id":149329,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:14:05] local.INFO: Processing buffer {"connection_id":149329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:14:05] local.INFO: Packet analysis {"connection_id":149329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:14:05] local.INFO: Extracted packet for processing {"connection_id":149329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:14:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133531136001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785678157000,"timestamp_ms":1785678157000,"timestamp_seconds":1785678157,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b654c8"} 
[2026-08-02 19:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:14: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-08-02 19:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133531136001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133531136001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:14:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:14:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:14:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133531136001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":149329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:14:05] local.INFO: GPS data processed {"connection_id":149329,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:14:05] local.INFO: Acknowledgment sent {"connection_id":149329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:14:06] local.INFO: TCP Data received {"connection_id":148027,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2af4048012d197c40071feaa8003f01052b..."} 
[2026-08-02 19:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2af4048012d197c40071feaa8003f01052b..."} 
[2026-08-02 19:14:06] local.INFO: Processing buffer {"connection_id":148027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2af4048012d197c40071feaa8003f01052b..."} 
[2026-08-02 19:14:06] local.INFO: Packet analysis {"connection_id":148027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2af"} 
[2026-08-02 19:14:06] local.INFO: Extracted packet for processing {"connection_id":148027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2af"} 
[2026-08-02 19:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756644928,"raw_latitude":119532200,"longitude_deg":75.6644928,"latitude_deg":11.95322,"altitude":63,"angle":261,"satellites":43,"speed":12,"hex_longitude":"2d197c40","hex_latitude":"071feaa8","is_valid_coordinates":true} 
[2026-08-02 19:14: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-08-02 19:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133489408001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836413147404740608,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785677693000,"timestamp_ms":1785677693000,"timestamp_seconds":1785677693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2af4048"} 
[2026-08-02 19:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-02 19:14: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-08-02 19:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133489408001,"66":13341,"102":206,"83":41984,"24":12,"16":10359087455797248,"45":1836413147404740608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133489408001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:14:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836413147404740608,"description":"Unknown IO ID 45"} 
[2026-08-02 19:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133489408001,"power":13341,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1836413147404740608}} 
[2026-08-02 19:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":148027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:14:06] local.INFO: GPS data processed {"connection_id":148027,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:14:06] local.INFO: Acknowledgment sent {"connection_id":148027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:14:29] local.INFO: TCP Data received {"connection_id":146766,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:14:29] local.INFO: Processing buffer {"connection_id":146766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:14:29] local.INFO: IMEI packet received {"connection_id":146766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":146766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:14:34] local.INFO: TCP Data received {"connection_id":146766,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:14:34] local.INFO: Processing buffer {"connection_id":146766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:14:34] local.INFO: IMEI packet received {"connection_id":146766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":146766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:14:35] local.INFO: TCP Data received {"connection_id":146767,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:14:35] local.INFO: Processing buffer {"connection_id":146767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:14:35] local.INFO: IMEI packet received {"connection_id":146767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":146767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:14:35] local.INFO: TCP Data received {"connection_id":146766,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2af4048012d197c40071feaa8003f01052b..."} 
[2026-08-02 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2af4048012d197c40071feaa8003f01052b..."} 
[2026-08-02 19:14:35] local.INFO: Processing buffer {"connection_id":146766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2af4048012d197c40071feaa8003f01052b..."} 
[2026-08-02 19:14:35] local.INFO: Packet analysis {"connection_id":146766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2af"} 
[2026-08-02 19:14:35] local.INFO: Extracted packet for processing {"connection_id":146766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2af"} 
[2026-08-02 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756644928,"raw_latitude":119532200,"longitude_deg":75.6644928,"latitude_deg":11.95322,"altitude":63,"angle":261,"satellites":43,"speed":12,"hex_longitude":"2d197c40","hex_latitude":"071feaa8","is_valid_coordinates":true} 
[2026-08-02 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133489408001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836413147404740608,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677693000,"timestamp_ms":1785677693000,"timestamp_seconds":1785677693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2af4048"} 
[2026-08-02 19:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-02 19:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133489408001,"66":13341,"102":206,"83":41984,"24":12,"16":10359087455797248,"45":1836413147404740608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133489408001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:14:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836413147404740608,"description":"Unknown IO ID 45"} 
[2026-08-02 19:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133489408001,"power":13341,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1836413147404740608}} 
[2026-08-02 19:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":146766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:14:35] local.INFO: GPS data processed {"connection_id":146766,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:14:35] local.INFO: Acknowledgment sent {"connection_id":146766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:14:38] local.INFO: TCP Data received {"connection_id":146767,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:14:38] local.INFO: Processing buffer {"connection_id":146767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:14:38] local.INFO: IMEI packet received {"connection_id":146767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":146767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:14:40] local.INFO: TCP Data received {"connection_id":146767,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:14:40] local.INFO: Processing buffer {"connection_id":146767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:14:40] local.INFO: Packet analysis {"connection_id":146767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:14:40] local.INFO: Extracted packet for processing {"connection_id":146767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:14:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133531136001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785678157000,"timestamp_ms":1785678157000,"timestamp_seconds":1785678157,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b654c8"} 
[2026-08-02 19:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19: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-08-02 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 19:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133531136001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133531136001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:14:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:14:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133531136001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":146767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:14:40] local.INFO: GPS data processed {"connection_id":146767,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:14:40] local.INFO: Acknowledgment sent {"connection_id":146767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:14:44] local.INFO: TCP Data received {"connection_id":146767,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:14:44] local.INFO: Processing buffer {"connection_id":146767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:14:44] local.INFO: Packet analysis {"connection_id":146767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:14:44] local.INFO: Extracted packet for processing {"connection_id":146767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:14:44] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133531136001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785678157000,"timestamp_ms":1785678157000,"timestamp_seconds":1785678157,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b654c8"} 
[2026-08-02 19:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:14: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-08-02 19:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133531136001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133531136001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:14:44] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:14:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:14:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133531136001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":146767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:14:44] local.INFO: GPS data processed {"connection_id":146767,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:14:44] local.INFO: Acknowledgment sent {"connection_id":146767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:15:06] local.INFO: TCP Data received {"connection_id":146766,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b3e3c8012d196700071fef08003d010e2a..."} 
[2026-08-02 19:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b3e3c8012d196700071fef08003d010e2a..."} 
[2026-08-02 19:15:06] local.INFO: Processing buffer {"connection_id":146766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b3e3c8012d196700071fef08003d010e2a..."} 
[2026-08-02 19:15:06] local.INFO: Packet analysis {"connection_id":146766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b3"} 
[2026-08-02 19:15:06] local.INFO: Extracted packet for processing {"connection_id":146766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b3"} 
[2026-08-02 19:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133489408001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836413147404740608,"note":"Value kept but may cause issues"} 
[2026-08-02 19:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785677997000,"timestamp_ms":1785677997000,"timestamp_seconds":1785677997,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b3e3c8"} 
[2026-08-02 19:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-02 19:15: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-08-02 19:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133489408001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1836413147404740608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133489408001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:15:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836413147404740608,"description":"Unknown IO ID 45"} 
[2026-08-02 19:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133489408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1836413147404740608}} 
[2026-08-02 19:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":146766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:15:06] local.INFO: GPS data processed {"connection_id":146766,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:15:06] local.INFO: Acknowledgment sent {"connection_id":146766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:15:24] local.INFO: TCP Data received {"connection_id":149330,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:15:24] local.INFO: Processing buffer {"connection_id":149330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:15:24] local.INFO: IMEI packet received {"connection_id":149330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":149330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:15:29] local.INFO: TCP Data received {"connection_id":149330,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:15:29] local.INFO: Processing buffer {"connection_id":149330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:15:29] local.INFO: IMEI packet received {"connection_id":149330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":149330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:15:29] local.INFO: TCP Data received {"connection_id":148028,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:15:29] local.INFO: Processing buffer {"connection_id":148028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:15:29] local.INFO: IMEI packet received {"connection_id":148028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":148028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:15:30] local.INFO: TCP Data received {"connection_id":149330,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:15:30] local.INFO: Processing buffer {"connection_id":149330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:15:30] local.INFO: Packet analysis {"connection_id":149330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:15:30] local.INFO: Extracted packet for processing {"connection_id":149330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:15:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133531136001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785678157000,"timestamp_ms":1785678157000,"timestamp_seconds":1785678157,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b654c8"} 
[2026-08-02 19:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133531136001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133531136001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:15:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:15:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133531136001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":149330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:15:30] local.INFO: GPS data processed {"connection_id":149330,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:15:30] local.INFO: Acknowledgment sent {"connection_id":149330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:15:34] local.INFO: TCP Data received {"connection_id":148028,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:15:34] local.INFO: Processing buffer {"connection_id":148028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:15:34] local.INFO: IMEI packet received {"connection_id":148028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":148028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:15:35] local.INFO: TCP Data received {"connection_id":148028,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b3e3c8012d196700071fef08003d010e2a..."} 
[2026-08-02 19:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b3e3c8012d196700071fef08003d010e2a..."} 
[2026-08-02 19:15:35] local.INFO: Processing buffer {"connection_id":148028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b3e3c8012d196700071fef08003d010e2a..."} 
[2026-08-02 19:15:35] local.INFO: Packet analysis {"connection_id":148028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b3"} 
[2026-08-02 19:15:35] local.INFO: Extracted packet for processing {"connection_id":148028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b3"} 
[2026-08-02 19:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133489408001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836413147404740608,"note":"Value kept but may cause issues"} 
[2026-08-02 19:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785677997000,"timestamp_ms":1785677997000,"timestamp_seconds":1785677997,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b3e3c8"} 
[2026-08-02 19:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-02 19:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133489408001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1836413147404740608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133489408001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:15:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:15:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836413147404740608,"description":"Unknown IO ID 45"} 
[2026-08-02 19:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133489408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1836413147404740608}} 
[2026-08-02 19:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":148028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:15:35] local.INFO: GPS data processed {"connection_id":148028,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:15:35] local.INFO: Acknowledgment sent {"connection_id":148028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:16:02] local.INFO: TCP Data received {"connection_id":149330,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:16:02] local.INFO: Processing buffer {"connection_id":149330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:16:02] local.INFO: Packet analysis {"connection_id":149330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:16:02] local.INFO: Extracted packet for processing {"connection_id":149330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:16:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133531136001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:16:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785678157000,"timestamp_ms":1785678157000,"timestamp_seconds":1785678157,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b654c8"} 
[2026-08-02 19:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133531136001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133531136001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:16:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:16:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:16:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133531136001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":149330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:16:02] local.INFO: GPS data processed {"connection_id":149330,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:16:02] local.INFO: Acknowledgment sent {"connection_id":149330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:16:06] local.INFO: TCP Data received {"connection_id":148028,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:16:06] local.INFO: Processing buffer {"connection_id":148028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:16:06] local.INFO: Packet analysis {"connection_id":148028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:16:06] local.INFO: Extracted packet for processing {"connection_id":148028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133567232001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678298000,"timestamp_ms":1785678298000,"timestamp_seconds":1785678298,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b87b90"} 
[2026-08-02 19:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133567232001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133567232001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:16:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133567232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":148028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:16:06] local.INFO: GPS data processed {"connection_id":148028,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:16:06] local.INFO: Acknowledgment sent {"connection_id":148028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:16:24] local.INFO: TCP Data received {"connection_id":149331,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:16:24] local.INFO: Processing buffer {"connection_id":149331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:16:24] local.INFO: IMEI packet received {"connection_id":149331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":149331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:16:29] local.INFO: TCP Data received {"connection_id":149331,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:16:29] local.INFO: Processing buffer {"connection_id":149331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:16:29] local.INFO: IMEI packet received {"connection_id":149331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":149331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:16:29] local.INFO: TCP Data received {"connection_id":146768,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:16:29] local.INFO: Processing buffer {"connection_id":146768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:16:29] local.INFO: IMEI packet received {"connection_id":146768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":146768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:16:30] local.INFO: TCP Data received {"connection_id":149331,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:16:30] local.INFO: Processing buffer {"connection_id":149331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:16:30] local.INFO: Packet analysis {"connection_id":149331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:16:30] local.INFO: Extracted packet for processing {"connection_id":149331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:16:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133531136001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:16:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785678157000,"timestamp_ms":1785678157000,"timestamp_seconds":1785678157,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b654c8"} 
[2026-08-02 19:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133531136001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133531136001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:16:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:16:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:16:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133531136001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":149331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:16:30] local.INFO: GPS data processed {"connection_id":149331,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:16:30] local.INFO: Acknowledgment sent {"connection_id":149331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:16:34] local.INFO: TCP Data received {"connection_id":146768,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:16:34] local.INFO: Processing buffer {"connection_id":146768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:16:34] local.INFO: IMEI packet received {"connection_id":146768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":146768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:16:35] local.INFO: TCP Data received {"connection_id":146768,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:16:35] local.INFO: Processing buffer {"connection_id":146768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:16:35] local.INFO: Packet analysis {"connection_id":146768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:16:35] local.INFO: Extracted packet for processing {"connection_id":146768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133567232001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678298000,"timestamp_ms":1785678298000,"timestamp_seconds":1785678298,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b87b90"} 
[2026-08-02 19:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133567232001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133567232001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:16:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:16:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133567232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":146768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:16:35] local.INFO: GPS data processed {"connection_id":146768,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:16:35] local.INFO: Acknowledgment sent {"connection_id":146768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:17:01] local.INFO: TCP Data received {"connection_id":149331,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:17:01] local.INFO: Processing buffer {"connection_id":149331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:17:01] local.INFO: Packet analysis {"connection_id":149331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:17:01] local.INFO: Extracted packet for processing {"connection_id":149331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:17:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133531136001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:17:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785678157000,"timestamp_ms":1785678157000,"timestamp_seconds":1785678157,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b654c8"} 
[2026-08-02 19:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133531136001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133531136001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:17:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:17:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:17:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133531136001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":149331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:17:01] local.INFO: GPS data processed {"connection_id":149331,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:17:01] local.INFO: Acknowledgment sent {"connection_id":149331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:17:06] local.INFO: TCP Data received {"connection_id":146768,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:17:06] local.INFO: Processing buffer {"connection_id":146768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:17:06] local.INFO: Packet analysis {"connection_id":146768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:17:06] local.INFO: Extracted packet for processing {"connection_id":146768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133567232001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678298000,"timestamp_ms":1785678298000,"timestamp_seconds":1785678298,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b87b90"} 
[2026-08-02 19:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133567232001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133567232001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:17:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133567232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":146768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:17:06] local.INFO: GPS data processed {"connection_id":146768,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:17:06] local.INFO: Acknowledgment sent {"connection_id":146768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:17:23] local.INFO: TCP Data received {"connection_id":146769,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:17:23] local.INFO: Processing buffer {"connection_id":146769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:17:23] local.INFO: IMEI packet received {"connection_id":146769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":146769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:17:29] local.INFO: TCP Data received {"connection_id":146769,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:17:29] local.INFO: Processing buffer {"connection_id":146769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:17:29] local.INFO: IMEI packet received {"connection_id":146769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":146769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:17:29] local.INFO: TCP Data received {"connection_id":146993,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:17:29] local.INFO: Processing buffer {"connection_id":146993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:17:29] local.INFO: IMEI packet received {"connection_id":146993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":146993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:17:30] local.INFO: TCP Data received {"connection_id":146769,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:17:30] local.INFO: Processing buffer {"connection_id":146769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:17:30] local.INFO: Packet analysis {"connection_id":146769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:17:30] local.INFO: Extracted packet for processing {"connection_id":146769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:17:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133531136001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785678157000,"timestamp_ms":1785678157000,"timestamp_seconds":1785678157,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b654c8"} 
[2026-08-02 19:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133531136001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133531136001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:17:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:17:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133531136001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":146769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:17:30] local.INFO: GPS data processed {"connection_id":146769,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:17:30] local.INFO: Acknowledgment sent {"connection_id":146769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:17:34] local.INFO: TCP Data received {"connection_id":146993,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:17:34] local.INFO: Processing buffer {"connection_id":146993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:17:34] local.INFO: IMEI packet received {"connection_id":146993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":146993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:17:35] local.INFO: TCP Data received {"connection_id":146993,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:17:35] local.INFO: Processing buffer {"connection_id":146993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:17:35] local.INFO: Packet analysis {"connection_id":146993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:17:35] local.INFO: Extracted packet for processing {"connection_id":146993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:17:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133567232001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678298000,"timestamp_ms":1785678298000,"timestamp_seconds":1785678298,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b87b90"} 
[2026-08-02 19:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:17: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-08-02 19:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133567232001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133567232001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:17:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:17:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133567232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":146993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:17:35] local.INFO: GPS data processed {"connection_id":146993,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:17:35] local.INFO: Acknowledgment sent {"connection_id":146993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:18:02] local.INFO: TCP Data received {"connection_id":146769,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:18:02] local.INFO: Processing buffer {"connection_id":146769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b654c8012cc330c007685958005800c52b..."} 
[2026-08-02 19:18:02] local.INFO: Packet analysis {"connection_id":146769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:18:02] local.INFO: Extracted packet for processing {"connection_id":146769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b6"} 
[2026-08-02 19:18:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133531136001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785678157000,"timestamp_ms":1785678157000,"timestamp_seconds":1785678157,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b654c8"} 
[2026-08-02 19:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133531136001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133531136001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:18:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:18:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:18:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133531136001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":146769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:18:02] local.INFO: GPS data processed {"connection_id":146769,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:18:02] local.INFO: Acknowledgment sent {"connection_id":146769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:18:06] local.INFO: TCP Data received {"connection_id":146993,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:18:06] local.INFO: Processing buffer {"connection_id":146993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:18:06] local.INFO: Packet analysis {"connection_id":146993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:18:06] local.INFO: Extracted packet for processing {"connection_id":146993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133567232001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678298000,"timestamp_ms":1785678298000,"timestamp_seconds":1785678298,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b87b90"} 
[2026-08-02 19:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19: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-08-02 19: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-08-02 19: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-08-02 19: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-08-02 19:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133567232001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133567232001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:18:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133567232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":146993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:18:06] local.INFO: GPS data processed {"connection_id":146993,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:18:06] local.INFO: Acknowledgment sent {"connection_id":146993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:18:29] local.INFO: TCP Data received {"connection_id":146770,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:18:29] local.INFO: Processing buffer {"connection_id":146770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:18:29] local.INFO: IMEI packet received {"connection_id":146770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":146770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:18:29] local.INFO: TCP Data received {"connection_id":148029,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:18:29] local.INFO: Processing buffer {"connection_id":148029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:18:29] local.INFO: IMEI packet received {"connection_id":148029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":148029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:18:34] local.INFO: TCP Data received {"connection_id":146770,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:18:34] local.INFO: Processing buffer {"connection_id":146770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:18:34] local.INFO: IMEI packet received {"connection_id":146770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":146770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:18:34] local.INFO: TCP Data received {"connection_id":148029,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:18:34] local.INFO: Processing buffer {"connection_id":148029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:18:34] local.INFO: IMEI packet received {"connection_id":148029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":148029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:18:35] local.INFO: TCP Data received {"connection_id":148029,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:18:35] local.INFO: Processing buffer {"connection_id":148029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:18:35] local.INFO: Packet analysis {"connection_id":148029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:18:35] local.INFO: Extracted packet for processing {"connection_id":148029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133567232001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678298000,"timestamp_ms":1785678298000,"timestamp_seconds":1785678298,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b87b90"} 
[2026-08-02 19:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:18: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-08-02 19:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133567232001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133567232001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:18:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:18:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133567232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":148029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:18:35] local.INFO: GPS data processed {"connection_id":148029,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:18:35] local.INFO: Acknowledgment sent {"connection_id":148029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:18:35] local.INFO: TCP Data received {"connection_id":146770,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:18:35] local.INFO: Processing buffer {"connection_id":146770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:18:35] local.INFO: Packet analysis {"connection_id":146770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:18:35] local.INFO: Extracted packet for processing {"connection_id":146770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:18:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133608192001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678458000,"timestamp_ms":1785678458000,"timestamp_seconds":1785678458,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2baec90"} 
[2026-08-02 19:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133608192001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133608192001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:18:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:18:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:18:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133608192001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":146770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:18:35] local.INFO: GPS data processed {"connection_id":146770,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:18:35] local.INFO: Acknowledgment sent {"connection_id":146770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:18:40] local.INFO: TCP Data received {"connection_id":146770,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:18:40] local.INFO: Processing buffer {"connection_id":146770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:18:40] local.INFO: Packet analysis {"connection_id":146770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:18:40] local.INFO: Extracted packet for processing {"connection_id":146770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:18:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133608192001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785678458000,"timestamp_ms":1785678458000,"timestamp_seconds":1785678458,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2baec90"} 
[2026-08-02 19:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:18: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-08-02 19: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133608192001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133608192001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:18:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:18:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:18:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133608192001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":146770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:18:40] local.INFO: GPS data processed {"connection_id":146770,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:18:40] local.INFO: Acknowledgment sent {"connection_id":146770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:19:06] local.INFO: TCP Data received {"connection_id":148029,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:19:06] local.INFO: Processing buffer {"connection_id":148029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:19:06] local.INFO: Packet analysis {"connection_id":148029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:19:06] local.INFO: Extracted packet for processing {"connection_id":148029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133567232001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678298000,"timestamp_ms":1785678298000,"timestamp_seconds":1785678298,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b87b90"} 
[2026-08-02 19:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133567232001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133567232001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:19:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133567232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":148029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:19:06] local.INFO: GPS data processed {"connection_id":148029,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:19:06] local.INFO: Acknowledgment sent {"connection_id":148029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:19:24] local.INFO: TCP Data received {"connection_id":146994,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:19:24] local.INFO: Processing buffer {"connection_id":146994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:19:24] local.INFO: IMEI packet received {"connection_id":146994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":146994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:19:29] local.INFO: TCP Data received {"connection_id":146994,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:19:29] local.INFO: Processing buffer {"connection_id":146994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:19:29] local.INFO: IMEI packet received {"connection_id":146994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":146994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:19:29] local.INFO: TCP Data received {"connection_id":146771,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:19:29] local.INFO: Processing buffer {"connection_id":146771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:19:29] local.INFO: IMEI packet received {"connection_id":146771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":146771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:19:30] local.INFO: TCP Data received {"connection_id":146994,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:19:30] local.INFO: Processing buffer {"connection_id":146994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:19:30] local.INFO: Packet analysis {"connection_id":146994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:19:30] local.INFO: Extracted packet for processing {"connection_id":146994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:19:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133608192001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785678458000,"timestamp_ms":1785678458000,"timestamp_seconds":1785678458,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2baec90"} 
[2026-08-02 19:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133608192001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133608192001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:19:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:19:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133608192001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":146994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:19:30] local.INFO: GPS data processed {"connection_id":146994,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:19:30] local.INFO: Acknowledgment sent {"connection_id":146994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:19:34] local.INFO: TCP Data received {"connection_id":146771,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:19:34] local.INFO: Processing buffer {"connection_id":146771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:19:34] local.INFO: IMEI packet received {"connection_id":146771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":146771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:19:35] local.INFO: TCP Data received {"connection_id":146771,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:19:35] local.INFO: Processing buffer {"connection_id":146771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:19:35] local.INFO: Packet analysis {"connection_id":146771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:19:35] local.INFO: Extracted packet for processing {"connection_id":146771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133567232001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678298000,"timestamp_ms":1785678298000,"timestamp_seconds":1785678298,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b87b90"} 
[2026-08-02 19:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:19: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-08-02 19:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133567232001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133567232001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:19:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133567232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":146771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:19:35] local.INFO: GPS data processed {"connection_id":146771,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:19:35] local.INFO: Acknowledgment sent {"connection_id":146771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:20:05] local.INFO: TCP Data received {"connection_id":146994,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:20:05] local.INFO: Processing buffer {"connection_id":146994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:20:05] local.INFO: Packet analysis {"connection_id":146994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:20:05] local.INFO: Extracted packet for processing {"connection_id":146994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:20:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133608192001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785678458000,"timestamp_ms":1785678458000,"timestamp_seconds":1785678458,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2baec90"} 
[2026-08-02 19:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:20: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-08-02 19:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133608192001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133608192001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:20:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:20:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:20:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133608192001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":146994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:20:05] local.INFO: GPS data processed {"connection_id":146994,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:20:05] local.INFO: Acknowledgment sent {"connection_id":146994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:20:06] local.INFO: TCP Data received {"connection_id":146771,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:20:06] local.INFO: Processing buffer {"connection_id":146771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2b87b90012d196700071fef08003d010e28..."} 
[2026-08-02 19:20:06] local.INFO: Packet analysis {"connection_id":146771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:20:06] local.INFO: Extracted packet for processing {"connection_id":146771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2b8"} 
[2026-08-02 19:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133567232001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678298000,"timestamp_ms":1785678298000,"timestamp_seconds":1785678298,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2b87b90"} 
[2026-08-02 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-08-02 19:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133567232001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133567232001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:20:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133567232001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":146771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:20:06] local.INFO: GPS data processed {"connection_id":146771,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:20:06] local.INFO: Acknowledgment sent {"connection_id":146771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:20:30] local.INFO: TCP Data received {"connection_id":148030,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:20:30] local.INFO: Processing buffer {"connection_id":148030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:20:30] local.INFO: IMEI packet received {"connection_id":148030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":148030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:20:34] local.INFO: TCP Data received {"connection_id":148030,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:20:34] local.INFO: Processing buffer {"connection_id":148030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:20:34] local.INFO: IMEI packet received {"connection_id":148030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":148030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:20:34] local.INFO: TCP Data received {"connection_id":146995,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:20:34] local.INFO: Processing buffer {"connection_id":146995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:20:34] local.INFO: IMEI packet received {"connection_id":146995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":146995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:20:37] local.INFO: TCP Data received {"connection_id":148030,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:20:37] local.INFO: Processing buffer {"connection_id":148030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:20:37] local.INFO: Packet analysis {"connection_id":148030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:20:37] local.INFO: Extracted packet for processing {"connection_id":148030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133608192001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785678458000,"timestamp_ms":1785678458000,"timestamp_seconds":1785678458,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2baec90"} 
[2026-08-02 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-08-02 19:20: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-08-02 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133608192001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133608192001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:20:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:20:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133608192001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":148030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:20:37] local.INFO: GPS data processed {"connection_id":148030,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:20:37] local.INFO: Acknowledgment sent {"connection_id":148030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:20:37] local.INFO: TCP Data received {"connection_id":146995,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:20:37] local.INFO: Processing buffer {"connection_id":146995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:20:37] local.INFO: IMEI packet received {"connection_id":146995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":146995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:20:38] local.INFO: TCP Data received {"connection_id":146995,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:20:38] local.INFO: Processing buffer {"connection_id":146995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:20:38] local.INFO: Packet analysis {"connection_id":146995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:20:38] local.INFO: Extracted packet for processing {"connection_id":146995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133644288001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785678599000,"timestamp_ms":1785678599000,"timestamp_seconds":1785678599,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bd1358"} 
[2026-08-02 19:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133644288001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133644288001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:20:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133644288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":146995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:20:38] local.INFO: GPS data processed {"connection_id":146995,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:20:38] local.INFO: Acknowledgment sent {"connection_id":146995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:20:39] local.INFO: TCP Data received {"connection_id":148030,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:20:39] local.INFO: Processing buffer {"connection_id":148030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:20:39] local.INFO: Packet analysis {"connection_id":148030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:20:39] local.INFO: Extracted packet for processing {"connection_id":148030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:20:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133608192001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785678458000,"timestamp_ms":1785678458000,"timestamp_seconds":1785678458,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2baec90"} 
[2026-08-02 19:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:20: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-08-02 19:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133608192001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133608192001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:20:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:20:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:20:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133608192001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":148030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:20:39] local.INFO: GPS data processed {"connection_id":148030,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:20:39] local.INFO: Acknowledgment sent {"connection_id":148030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:20:39] local.INFO: TCP Data received {"connection_id":146995,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:20:39] local.INFO: Processing buffer {"connection_id":146995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:20:39] local.INFO: Packet analysis {"connection_id":146995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:20:39] local.INFO: Extracted packet for processing {"connection_id":146995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133644288001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785678599000,"timestamp_ms":1785678599000,"timestamp_seconds":1785678599,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bd1358"} 
[2026-08-02 19:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133644288001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133644288001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:20:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:20:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133644288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":146995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:20:39] local.INFO: GPS data processed {"connection_id":146995,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:20:39] local.INFO: Acknowledgment sent {"connection_id":146995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:21:10] local.INFO: TCP Data received {"connection_id":146995,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:21:10] local.INFO: Processing buffer {"connection_id":146995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:21:10] local.INFO: Packet analysis {"connection_id":146995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:21:10] local.INFO: Extracted packet for processing {"connection_id":146995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:21:10] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133644288001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785678599000,"timestamp_ms":1785678599000,"timestamp_seconds":1785678599,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bd1358"} 
[2026-08-02 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-08-02 19:21: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-08-02 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133644288001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133644288001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:21:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133644288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":146995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:21:10] local.INFO: GPS data processed {"connection_id":146995,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:21:10] local.INFO: Acknowledgment sent {"connection_id":146995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:21:23] local.INFO: TCP Data received {"connection_id":149332,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:21:23] local.INFO: Processing buffer {"connection_id":149332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:21:23] local.INFO: IMEI packet received {"connection_id":149332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":149332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:21:29] local.INFO: TCP Data received {"connection_id":149332,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:21:29] local.INFO: Processing buffer {"connection_id":149332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:21:29] local.INFO: IMEI packet received {"connection_id":149332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":149332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:21:29] local.INFO: TCP Data received {"connection_id":146996,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:21:29] local.INFO: Processing buffer {"connection_id":146996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:21:29] local.INFO: IMEI packet received {"connection_id":146996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":146996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:21:30] local.INFO: TCP Data received {"connection_id":149332,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:21:30] local.INFO: Processing buffer {"connection_id":149332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:21:30] local.INFO: Packet analysis {"connection_id":149332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:21:30] local.INFO: Extracted packet for processing {"connection_id":149332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:21:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133608192001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785678458000,"timestamp_ms":1785678458000,"timestamp_seconds":1785678458,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2baec90"} 
[2026-08-02 19:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133608192001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133608192001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:21:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:21:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133608192001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":149332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:21:30] local.INFO: GPS data processed {"connection_id":149332,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:21:30] local.INFO: Acknowledgment sent {"connection_id":149332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:21:34] local.INFO: TCP Data received {"connection_id":146996,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:21:34] local.INFO: Processing buffer {"connection_id":146996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:21:34] local.INFO: IMEI packet received {"connection_id":146996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":146996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:21:35] local.INFO: TCP Data received {"connection_id":146996,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:21:35] local.INFO: Processing buffer {"connection_id":146996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:21:35] local.INFO: Packet analysis {"connection_id":146996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:21:35] local.INFO: Extracted packet for processing {"connection_id":146996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133644288001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678599000,"timestamp_ms":1785678599000,"timestamp_seconds":1785678599,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bd1358"} 
[2026-08-02 19:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133644288001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133644288001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:21:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133644288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":146996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:21:35] local.INFO: GPS data processed {"connection_id":146996,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:21:35] local.INFO: Acknowledgment sent {"connection_id":146996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:22:02] local.INFO: TCP Data received {"connection_id":149332,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:22:02] local.INFO: Processing buffer {"connection_id":149332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:22:02] local.INFO: Packet analysis {"connection_id":149332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:22:02] local.INFO: Extracted packet for processing {"connection_id":149332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:22:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133608192001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:22:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785678458000,"timestamp_ms":1785678458000,"timestamp_seconds":1785678458,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2baec90"} 
[2026-08-02 19:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133608192001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133608192001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:22:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:22:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:22:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133608192001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":149332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:22:02] local.INFO: GPS data processed {"connection_id":149332,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:22:02] local.INFO: Acknowledgment sent {"connection_id":149332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:22:06] local.INFO: TCP Data received {"connection_id":146996,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:22:06] local.INFO: Processing buffer {"connection_id":146996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:22:06] local.INFO: Packet analysis {"connection_id":146996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:22:06] local.INFO: Extracted packet for processing {"connection_id":146996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133644288001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678599000,"timestamp_ms":1785678599000,"timestamp_seconds":1785678599,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bd1358"} 
[2026-08-02 19:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133644288001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133644288001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:22:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133644288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":146996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:22:06] local.INFO: GPS data processed {"connection_id":146996,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:22:06] local.INFO: Acknowledgment sent {"connection_id":146996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:22:28] local.INFO: TCP Data received {"connection_id":149334,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:22:28] local.INFO: Processing buffer {"connection_id":149334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:22:28] local.INFO: IMEI packet received {"connection_id":149334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":149334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:22:29] local.INFO: TCP Data received {"connection_id":149333,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:22:29] local.INFO: Processing buffer {"connection_id":149333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:22:29] local.INFO: IMEI packet received {"connection_id":149333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":149333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:22:34] local.INFO: TCP Data received {"connection_id":149334,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:22:34] local.INFO: Processing buffer {"connection_id":149334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:22:34] local.INFO: IMEI packet received {"connection_id":149334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":149334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:22:34] local.INFO: TCP Data received {"connection_id":149333,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:22:34] local.INFO: Processing buffer {"connection_id":149333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:22:34] local.INFO: IMEI packet received {"connection_id":149333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":149333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:22:35] local.INFO: TCP Data received {"connection_id":149333,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:22:35] local.INFO: Processing buffer {"connection_id":149333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:22:35] local.INFO: Packet analysis {"connection_id":149333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:22:35] local.INFO: Extracted packet for processing {"connection_id":149333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:22:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133644288001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678599000,"timestamp_ms":1785678599000,"timestamp_seconds":1785678599,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bd1358"} 
[2026-08-02 19:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133644288001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133644288001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:22:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133644288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":149333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:22:35] local.INFO: GPS data processed {"connection_id":149333,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:22:35] local.INFO: Acknowledgment sent {"connection_id":149333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:22:35] local.INFO: TCP Data received {"connection_id":149334,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:22:35] local.INFO: Processing buffer {"connection_id":149334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:22:35] local.INFO: Packet analysis {"connection_id":149334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:22:35] local.INFO: Extracted packet for processing {"connection_id":149334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:22:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133608192001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:22:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678458000,"timestamp_ms":1785678458000,"timestamp_seconds":1785678458,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2baec90"} 
[2026-08-02 19:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133608192001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133608192001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:22:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:22:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:22:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133608192001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":149334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:22:35] local.INFO: GPS data processed {"connection_id":149334,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:22:35] local.INFO: Acknowledgment sent {"connection_id":149334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:23:06] local.INFO: TCP Data received {"connection_id":149333,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:23:06] local.INFO: Processing buffer {"connection_id":149333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:23:06] local.INFO: Packet analysis {"connection_id":149333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:23:06] local.INFO: Extracted packet for processing {"connection_id":149333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133644288001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678599000,"timestamp_ms":1785678599000,"timestamp_seconds":1785678599,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bd1358"} 
[2026-08-02 19:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133644288001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133644288001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:23:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133644288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":149333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:23:06] local.INFO: GPS data processed {"connection_id":149333,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:23:06] local.INFO: Acknowledgment sent {"connection_id":149333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:23:06] local.INFO: TCP Data received {"connection_id":149334,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:23:06] local.INFO: Processing buffer {"connection_id":149334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2baec90012cc330c007685958005800c529..."} 
[2026-08-02 19:23:06] local.INFO: Packet analysis {"connection_id":149334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:23:06] local.INFO: Extracted packet for processing {"connection_id":149334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ba"} 
[2026-08-02 19:23:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133608192001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678458000,"timestamp_ms":1785678458000,"timestamp_seconds":1785678458,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2baec90"} 
[2026-08-02 19:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19: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-08-02 19:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133608192001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133608192001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:23:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:23:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:23:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133608192001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":149334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:23:06] local.INFO: GPS data processed {"connection_id":149334,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:23:06] local.INFO: Acknowledgment sent {"connection_id":149334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:23:29] local.INFO: TCP Data received {"connection_id":146772,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:23:29] local.INFO: Processing buffer {"connection_id":146772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:23:29] local.INFO: IMEI packet received {"connection_id":146772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":146772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:23:32] local.INFO: TCP Data received {"connection_id":149335,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:23:32] local.INFO: Processing buffer {"connection_id":149335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:23:32] local.INFO: IMEI packet received {"connection_id":149335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":149335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:23:34] local.INFO: TCP Data received {"connection_id":146772,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:23:34] local.INFO: Processing buffer {"connection_id":146772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:23:34] local.INFO: IMEI packet received {"connection_id":146772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":146772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:23:35] local.INFO: TCP Data received {"connection_id":146772,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:23:35] local.INFO: Processing buffer {"connection_id":146772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:23:35] local.INFO: Packet analysis {"connection_id":146772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:23:35] local.INFO: Extracted packet for processing {"connection_id":146772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133644288001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678599000,"timestamp_ms":1785678599000,"timestamp_seconds":1785678599,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bd1358"} 
[2026-08-02 19:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133644288001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133644288001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:23:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133644288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":146772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:23:35] local.INFO: GPS data processed {"connection_id":146772,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:23:35] local.INFO: Acknowledgment sent {"connection_id":146772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:23:35] local.INFO: TCP Data received {"connection_id":149335,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:23:35] local.INFO: Processing buffer {"connection_id":149335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:23:35] local.INFO: IMEI packet received {"connection_id":149335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":149335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:23:37] local.INFO: TCP Data received {"connection_id":149335,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:23:37] local.INFO: Processing buffer {"connection_id":149335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:23:37] local.INFO: Packet analysis {"connection_id":149335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:23:37] local.INFO: Extracted packet for processing {"connection_id":149335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:23:37] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133685248001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785678759000,"timestamp_ms":1785678759000,"timestamp_seconds":1785678759,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bf8458"} 
[2026-08-02 19:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19: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-08-02 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 19:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133685248001,"66":25462,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133685248001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:23:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:23:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133685248001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":149335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:23:37] local.INFO: GPS data processed {"connection_id":149335,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:23:37] local.INFO: Acknowledgment sent {"connection_id":149335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:23:39] local.INFO: TCP Data received {"connection_id":149335,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:23:39] local.INFO: Processing buffer {"connection_id":149335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:23:39] local.INFO: Packet analysis {"connection_id":149335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:23:39] local.INFO: Extracted packet for processing {"connection_id":149335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:23:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133685248001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785678759000,"timestamp_ms":1785678759000,"timestamp_seconds":1785678759,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bf8458"} 
[2026-08-02 19:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:23: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-08-02 19: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":53,"data_length":795,"current_offset":136} 
[2026-08-02 19:23: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-08-02 19:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133685248001,"66":25462,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133685248001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:23:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:23:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:23:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133685248001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":149335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:23:39] local.INFO: GPS data processed {"connection_id":149335,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:23:39] local.INFO: Acknowledgment sent {"connection_id":149335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:24:06] local.INFO: TCP Data received {"connection_id":146772,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:24:06] local.INFO: Processing buffer {"connection_id":146772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:24:06] local.INFO: Packet analysis {"connection_id":146772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:24:06] local.INFO: Extracted packet for processing {"connection_id":146772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133644288001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678599000,"timestamp_ms":1785678599000,"timestamp_seconds":1785678599,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bd1358"} 
[2026-08-02 19:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19: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-08-02 19:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133644288001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133644288001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:24:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133644288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":146772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:24:06] local.INFO: GPS data processed {"connection_id":146772,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:24:06] local.INFO: Acknowledgment sent {"connection_id":146772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:24:29] local.INFO: TCP Data received {"connection_id":149336,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:24:29] local.INFO: Processing buffer {"connection_id":149336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:24:29] local.INFO: IMEI packet received {"connection_id":149336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":149336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:24:29] local.INFO: TCP Data received {"connection_id":146773,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:24:29] local.INFO: Processing buffer {"connection_id":146773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:24:29] local.INFO: IMEI packet received {"connection_id":146773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":146773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:24:34] local.INFO: TCP Data received {"connection_id":146773,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:24:34] local.INFO: Processing buffer {"connection_id":146773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:24:34] local.INFO: IMEI packet received {"connection_id":146773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":146773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:24:35] local.INFO: TCP Data received {"connection_id":146773,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:24:35] local.INFO: Processing buffer {"connection_id":146773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:24:35] local.INFO: Packet analysis {"connection_id":146773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:24:35] local.INFO: Extracted packet for processing {"connection_id":146773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133644288001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678599000,"timestamp_ms":1785678599000,"timestamp_seconds":1785678599,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bd1358"} 
[2026-08-02 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-08-02 19:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133644288001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133644288001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:24:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133644288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":146773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:24:35] local.INFO: GPS data processed {"connection_id":146773,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:24:35] local.INFO: Acknowledgment sent {"connection_id":146773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:24:35] local.INFO: TCP Data received {"connection_id":149336,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:24:35] local.INFO: Processing buffer {"connection_id":149336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:24:35] local.INFO: IMEI packet received {"connection_id":149336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":149336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:24:36] local.INFO: TCP Data received {"connection_id":149336,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:24:36] local.INFO: Processing buffer {"connection_id":149336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:24:36] local.INFO: Packet analysis {"connection_id":149336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:24:36] local.INFO: Extracted packet for processing {"connection_id":149336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:24:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133685248001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:24:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785678759000,"timestamp_ms":1785678759000,"timestamp_seconds":1785678759,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bf8458"} 
[2026-08-02 19:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:24: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-08-02 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 19:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133685248001,"66":25462,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133685248001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:24:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:24:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:24:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133685248001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":149336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:24:36] local.INFO: GPS data processed {"connection_id":149336,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:24:36] local.INFO: Acknowledgment sent {"connection_id":149336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:24:42] local.INFO: TCP Data received {"connection_id":149336,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:24:42] local.INFO: Processing buffer {"connection_id":149336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:24:42] local.INFO: Packet analysis {"connection_id":149336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:24:42] local.INFO: Extracted packet for processing {"connection_id":149336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:24:42] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133685248001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785678759000,"timestamp_ms":1785678759000,"timestamp_seconds":1785678759,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bf8458"} 
[2026-08-02 19:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:24: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-08-02 19:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 19:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133685248001,"66":25462,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133685248001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:24:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:24:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133685248001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":149336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:24:42] local.INFO: GPS data processed {"connection_id":149336,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:24:42] local.INFO: Acknowledgment sent {"connection_id":149336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:25:06] local.INFO: TCP Data received {"connection_id":146773,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:25:06] local.INFO: Processing buffer {"connection_id":146773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:25:06] local.INFO: Packet analysis {"connection_id":146773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:25:06] local.INFO: Extracted packet for processing {"connection_id":146773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133644288001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678599000,"timestamp_ms":1785678599000,"timestamp_seconds":1785678599,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bd1358"} 
[2026-08-02 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-08-02 19:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133644288001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133644288001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:25:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133644288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":146773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:25:06] local.INFO: GPS data processed {"connection_id":146773,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:25:06] local.INFO: Acknowledgment sent {"connection_id":146773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:25:24] local.INFO: TCP Data received {"connection_id":149337,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:25:24] local.INFO: Processing buffer {"connection_id":149337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:25:24] local.INFO: IMEI packet received {"connection_id":149337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":149337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:25:29] local.INFO: TCP Data received {"connection_id":149337,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:25:29] local.INFO: Processing buffer {"connection_id":149337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:25:29] local.INFO: IMEI packet received {"connection_id":149337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":149337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:25:29] local.INFO: TCP Data received {"connection_id":148031,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:25:29] local.INFO: Processing buffer {"connection_id":148031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:25:29] local.INFO: IMEI packet received {"connection_id":148031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":148031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:25:30] local.INFO: TCP Data received {"connection_id":149337,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:25:30] local.INFO: Processing buffer {"connection_id":149337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:25:30] local.INFO: Packet analysis {"connection_id":149337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:25:30] local.INFO: Extracted packet for processing {"connection_id":149337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:25:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133685248001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785678759000,"timestamp_ms":1785678759000,"timestamp_seconds":1785678759,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bf8458"} 
[2026-08-02 19:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 19:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133685248001,"66":25462,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133685248001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:25:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:25:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133685248001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":149337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:25:30] local.INFO: GPS data processed {"connection_id":149337,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:25:30] local.INFO: Acknowledgment sent {"connection_id":149337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:25:34] local.INFO: TCP Data received {"connection_id":148031,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:25:34] local.INFO: Processing buffer {"connection_id":148031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:25:34] local.INFO: IMEI packet received {"connection_id":148031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":148031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:25:35] local.INFO: TCP Data received {"connection_id":148031,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:25:35] local.INFO: Processing buffer {"connection_id":148031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bd1358012d196700071fef08003d010e28..."} 
[2026-08-02 19:25:35] local.INFO: Packet analysis {"connection_id":148031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:25:35] local.INFO: Extracted packet for processing {"connection_id":148031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bd"} 
[2026-08-02 19:25:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133644288001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678599000,"timestamp_ms":1785678599000,"timestamp_seconds":1785678599,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bd1358"} 
[2026-08-02 19:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133644288001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133644288001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:25:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133644288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":148031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:25:35] local.INFO: GPS data processed {"connection_id":148031,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:25:35] local.INFO: Acknowledgment sent {"connection_id":148031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:26:02] local.INFO: TCP Data received {"connection_id":149337,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:26:02] local.INFO: Processing buffer {"connection_id":149337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:26:02] local.INFO: Packet analysis {"connection_id":149337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:26:02] local.INFO: Extracted packet for processing {"connection_id":149337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:26:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133685248001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785678759000,"timestamp_ms":1785678759000,"timestamp_seconds":1785678759,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bf8458"} 
[2026-08-02 19:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 19:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133685248001,"66":25462,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133685248001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:26:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:26:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133685248001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":149337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:26:02] local.INFO: GPS data processed {"connection_id":149337,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:26:02] local.INFO: Acknowledgment sent {"connection_id":149337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:26:06] local.INFO: TCP Data received {"connection_id":148031,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:26:06] local.INFO: Processing buffer {"connection_id":148031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:26:06] local.INFO: Packet analysis {"connection_id":148031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:26:06] local.INFO: Extracted packet for processing {"connection_id":148031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133721344001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678900000,"timestamp_ms":1785678900000,"timestamp_seconds":1785678900,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c1ab20"} 
[2026-08-02 19:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:26: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-08-02 19:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133721344001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133721344001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:26:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133721344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":148031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:26:06] local.INFO: GPS data processed {"connection_id":148031,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:26:06] local.INFO: Acknowledgment sent {"connection_id":148031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:26:23] local.INFO: TCP Data received {"connection_id":146774,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:26:23] local.INFO: Processing buffer {"connection_id":146774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:26:23] local.INFO: IMEI packet received {"connection_id":146774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":146774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:26:29] local.INFO: TCP Data received {"connection_id":146774,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:26:29] local.INFO: Processing buffer {"connection_id":146774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:26:29] local.INFO: IMEI packet received {"connection_id":146774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":146774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:26:29] local.INFO: TCP Data received {"connection_id":146775,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:26:29] local.INFO: Processing buffer {"connection_id":146775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:26:29] local.INFO: IMEI packet received {"connection_id":146775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":146775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:26:31] local.INFO: TCP Data received {"connection_id":146774,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:26:31] local.INFO: Processing buffer {"connection_id":146774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:26:31] local.INFO: Packet analysis {"connection_id":146774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:26:31] local.INFO: Extracted packet for processing {"connection_id":146774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:26:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133685248001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785678759000,"timestamp_ms":1785678759000,"timestamp_seconds":1785678759,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bf8458"} 
[2026-08-02 19:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 19:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133685248001,"66":25462,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133685248001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:26:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:26:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133685248001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":146774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:26:31] local.INFO: GPS data processed {"connection_id":146774,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:26:31] local.INFO: Acknowledgment sent {"connection_id":146774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:26:34] local.INFO: TCP Data received {"connection_id":146775,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:26:34] local.INFO: Processing buffer {"connection_id":146775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:26:34] local.INFO: IMEI packet received {"connection_id":146775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":146775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:26:35] local.INFO: TCP Data received {"connection_id":146775,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:26:35] local.INFO: Processing buffer {"connection_id":146775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:26:35] local.INFO: Packet analysis {"connection_id":146775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:26:35] local.INFO: Extracted packet for processing {"connection_id":146775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133721344001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678900000,"timestamp_ms":1785678900000,"timestamp_seconds":1785678900,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c1ab20"} 
[2026-08-02 19:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133721344001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133721344001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:26:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133721344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":146775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:26:35] local.INFO: GPS data processed {"connection_id":146775,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:26:35] local.INFO: Acknowledgment sent {"connection_id":146775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:27:02] local.INFO: TCP Data received {"connection_id":146774,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:27:02] local.INFO: Processing buffer {"connection_id":146774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:27:02] local.INFO: Packet analysis {"connection_id":146774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:27:02] local.INFO: Extracted packet for processing {"connection_id":146774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:27:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133685248001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:27:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785678759000,"timestamp_ms":1785678759000,"timestamp_seconds":1785678759,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bf8458"} 
[2026-08-02 19:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 19:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133685248001,"66":25462,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133685248001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:27:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:27:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:27:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133685248001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":146774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:27:02] local.INFO: GPS data processed {"connection_id":146774,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:27:02] local.INFO: Acknowledgment sent {"connection_id":146774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:27:06] local.INFO: TCP Data received {"connection_id":146775,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:27:06] local.INFO: Processing buffer {"connection_id":146775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:27:06] local.INFO: Packet analysis {"connection_id":146775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:27:06] local.INFO: Extracted packet for processing {"connection_id":146775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133721344001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678900000,"timestamp_ms":1785678900000,"timestamp_seconds":1785678900,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c1ab20"} 
[2026-08-02 19:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:27: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-08-02 19:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133721344001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133721344001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:27:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133721344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":146775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:27:06] local.INFO: GPS data processed {"connection_id":146775,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:27:06] local.INFO: Acknowledgment sent {"connection_id":146775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:27:23] local.INFO: TCP Data received {"connection_id":148032,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:27:23] local.INFO: Processing buffer {"connection_id":148032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:27:23] local.INFO: IMEI packet received {"connection_id":148032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":148032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:27:29] local.INFO: TCP Data received {"connection_id":148032,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:27:29] local.INFO: Processing buffer {"connection_id":148032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:27:29] local.INFO: IMEI packet received {"connection_id":148032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":148032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:27:29] local.INFO: TCP Data received {"connection_id":149338,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:27:29] local.INFO: Processing buffer {"connection_id":149338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:27:29] local.INFO: IMEI packet received {"connection_id":149338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":149338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:27:31] local.INFO: TCP Data received {"connection_id":148032,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:27:31] local.INFO: Processing buffer {"connection_id":148032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:27:31] local.INFO: Packet analysis {"connection_id":148032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:27:31] local.INFO: Extracted packet for processing {"connection_id":148032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:27:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133685248001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:27:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785678759000,"timestamp_ms":1785678759000,"timestamp_seconds":1785678759,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bf8458"} 
[2026-08-02 19:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 19:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133685248001,"66":25462,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133685248001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:27:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:27:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:27:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133685248001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":148032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:27:31] local.INFO: GPS data processed {"connection_id":148032,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:27:31] local.INFO: Acknowledgment sent {"connection_id":148032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:27:34] local.INFO: TCP Data received {"connection_id":149338,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:27:34] local.INFO: Processing buffer {"connection_id":149338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:27:34] local.INFO: IMEI packet received {"connection_id":149338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":149338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:27:35] local.INFO: TCP Data received {"connection_id":149338,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:27:35] local.INFO: Processing buffer {"connection_id":149338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:27:35] local.INFO: Packet analysis {"connection_id":149338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:27:35] local.INFO: Extracted packet for processing {"connection_id":149338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:27:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133721344001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678900000,"timestamp_ms":1785678900000,"timestamp_seconds":1785678900,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c1ab20"} 
[2026-08-02 19:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133721344001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133721344001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:27:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:27:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133721344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":149338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:27:35] local.INFO: GPS data processed {"connection_id":149338,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:27:35] local.INFO: Acknowledgment sent {"connection_id":149338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:28:03] local.INFO: TCP Data received {"connection_id":148032,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:28:03] local.INFO: Processing buffer {"connection_id":148032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2bf8458012cc330c007685958005800c52a..."} 
[2026-08-02 19:28:03] local.INFO: Packet analysis {"connection_id":148032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:28:03] local.INFO: Extracted packet for processing {"connection_id":148032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2bf"} 
[2026-08-02 19:28:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133685248001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785678759000,"timestamp_ms":1785678759000,"timestamp_seconds":1785678759,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2bf8458"} 
[2026-08-02 19:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 19:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133685248001,"66":25462,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133685248001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:28:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:28:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:28:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133685248001,"power":25462,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":148032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:28:03] local.INFO: GPS data processed {"connection_id":148032,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:28:03] local.INFO: Acknowledgment sent {"connection_id":148032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:28:06] local.INFO: TCP Data received {"connection_id":149338,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:28:06] local.INFO: Processing buffer {"connection_id":149338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:28:06] local.INFO: Packet analysis {"connection_id":149338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:28:06] local.INFO: Extracted packet for processing {"connection_id":149338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133721344001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678900000,"timestamp_ms":1785678900000,"timestamp_seconds":1785678900,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c1ab20"} 
[2026-08-02 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-08-02 19:28: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-08-02 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19: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-08-02 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-08-02 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-08-02 19:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133721344001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133721344001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:28:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133721344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":149338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:28:06] local.INFO: GPS data processed {"connection_id":149338,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:28:06] local.INFO: Acknowledgment sent {"connection_id":149338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:28:29] local.INFO: TCP Data received {"connection_id":146997,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:28:29] local.INFO: Processing buffer {"connection_id":146997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:28:29] local.INFO: IMEI packet received {"connection_id":146997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":146997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:28:29] local.INFO: TCP Data received {"connection_id":146998,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:28:29] local.INFO: Processing buffer {"connection_id":146998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:28:29] local.INFO: IMEI packet received {"connection_id":146998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":146998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:28:34] local.INFO: TCP Data received {"connection_id":146997,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:28:34] local.INFO: Processing buffer {"connection_id":146997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:28:34] local.INFO: IMEI packet received {"connection_id":146997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":146997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:28:34] local.INFO: TCP Data received {"connection_id":146998,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:28:34] local.INFO: Processing buffer {"connection_id":146998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:28:34] local.INFO: IMEI packet received {"connection_id":146998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":146998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:28:35] local.INFO: TCP Data received {"connection_id":146998,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:28:35] local.INFO: Processing buffer {"connection_id":146998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:28:35] local.INFO: Packet analysis {"connection_id":146998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:28:35] local.INFO: Extracted packet for processing {"connection_id":146998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133721344001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678900000,"timestamp_ms":1785678900000,"timestamp_seconds":1785678900,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c1ab20"} 
[2026-08-02 19:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133721344001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133721344001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:28:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133721344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":146998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:28:35] local.INFO: GPS data processed {"connection_id":146998,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:28:35] local.INFO: Acknowledgment sent {"connection_id":146998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:28:35] local.INFO: TCP Data received {"connection_id":146997,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:28:35] local.INFO: Processing buffer {"connection_id":146997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:28:35] local.INFO: Packet analysis {"connection_id":146997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:28:35] local.INFO: Extracted packet for processing {"connection_id":146997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:28:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133762304001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679060000,"timestamp_ms":1785679060000,"timestamp_seconds":1785679060,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c41c20"} 
[2026-08-02 19:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133762304001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133762304001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:28:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:28:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:28:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133762304001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":146997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:28:35] local.INFO: GPS data processed {"connection_id":146997,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:28:35] local.INFO: Acknowledgment sent {"connection_id":146997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:28:40] local.INFO: TCP Data received {"connection_id":146997,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:28:40] local.INFO: Processing buffer {"connection_id":146997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:28:40] local.INFO: Packet analysis {"connection_id":146997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:28:40] local.INFO: Extracted packet for processing {"connection_id":146997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:28:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133762304001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785679060000,"timestamp_ms":1785679060000,"timestamp_seconds":1785679060,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c41c20"} 
[2026-08-02 19:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133762304001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133762304001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:28:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:28:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133762304001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":146997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:28:40] local.INFO: GPS data processed {"connection_id":146997,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:28:40] local.INFO: Acknowledgment sent {"connection_id":146997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:29:06] local.INFO: TCP Data received {"connection_id":146998,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:29:06] local.INFO: Processing buffer {"connection_id":146998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:29:06] local.INFO: Packet analysis {"connection_id":146998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:29:06] local.INFO: Extracted packet for processing {"connection_id":146998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133721344001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678900000,"timestamp_ms":1785678900000,"timestamp_seconds":1785678900,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c1ab20"} 
[2026-08-02 19:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:29: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-08-02 19:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133721344001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133721344001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:29:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133721344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":146998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:29:06] local.INFO: GPS data processed {"connection_id":146998,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:29:06] local.INFO: Acknowledgment sent {"connection_id":146998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:29:23] local.INFO: TCP Data received {"connection_id":146776,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:29:23] local.INFO: Processing buffer {"connection_id":146776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:29:23] local.INFO: IMEI packet received {"connection_id":146776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":146776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:29:29] local.INFO: TCP Data received {"connection_id":146776,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:29:29] local.INFO: Processing buffer {"connection_id":146776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:29:29] local.INFO: IMEI packet received {"connection_id":146776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":146776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:29:29] local.INFO: TCP Data received {"connection_id":146777,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:29:29] local.INFO: Processing buffer {"connection_id":146777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:29:29] local.INFO: IMEI packet received {"connection_id":146777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":146777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:29:31] local.INFO: TCP Data received {"connection_id":146776,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:29:31] local.INFO: Processing buffer {"connection_id":146776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:29:31] local.INFO: Packet analysis {"connection_id":146776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:29:31] local.INFO: Extracted packet for processing {"connection_id":146776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:29:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133762304001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785679060000,"timestamp_ms":1785679060000,"timestamp_seconds":1785679060,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c41c20"} 
[2026-08-02 19:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133762304001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133762304001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:29:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:29:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133762304001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":146776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:29:31] local.INFO: GPS data processed {"connection_id":146776,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:29:31] local.INFO: Acknowledgment sent {"connection_id":146776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:29:34] local.INFO: TCP Data received {"connection_id":146777,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:29:34] local.INFO: Processing buffer {"connection_id":146777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:29:34] local.INFO: IMEI packet received {"connection_id":146777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":146777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:29:35] local.INFO: TCP Data received {"connection_id":146777,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:29:35] local.INFO: Processing buffer {"connection_id":146777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:29:35] local.INFO: Packet analysis {"connection_id":146777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:29:35] local.INFO: Extracted packet for processing {"connection_id":146777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133721344001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678900000,"timestamp_ms":1785678900000,"timestamp_seconds":1785678900,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c1ab20"} 
[2026-08-02 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-08-02 19:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133721344001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133721344001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:29:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133721344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":146777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:29:35] local.INFO: GPS data processed {"connection_id":146777,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:29:35] local.INFO: Acknowledgment sent {"connection_id":146777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:30:03] local.INFO: TCP Data received {"connection_id":146776,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:30:03] local.INFO: Processing buffer {"connection_id":146776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:30:03] local.INFO: Packet analysis {"connection_id":146776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:30:03] local.INFO: Extracted packet for processing {"connection_id":146776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:30:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133762304001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785679060000,"timestamp_ms":1785679060000,"timestamp_seconds":1785679060,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c41c20"} 
[2026-08-02 19:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133762304001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133762304001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:30:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:30:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133762304001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":146776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:30:03] local.INFO: GPS data processed {"connection_id":146776,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:30:03] local.INFO: Acknowledgment sent {"connection_id":146776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:30:06] local.INFO: TCP Data received {"connection_id":146777,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:30:06] local.INFO: Processing buffer {"connection_id":146777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:30:06] local.INFO: Packet analysis {"connection_id":146777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:30:06] local.INFO: Extracted packet for processing {"connection_id":146777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133721344001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785678900000,"timestamp_ms":1785678900000,"timestamp_seconds":1785678900,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c1ab20"} 
[2026-08-02 19:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:30: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-08-02 19:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133721344001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133721344001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:30:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133721344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":146777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:30:06] local.INFO: GPS data processed {"connection_id":146777,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:30:06] local.INFO: Acknowledgment sent {"connection_id":146777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:30:23] local.INFO: TCP Data received {"connection_id":148033,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:30:23] local.INFO: Processing buffer {"connection_id":148033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:30:23] local.INFO: IMEI packet received {"connection_id":148033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":148033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:30:28] local.INFO: TCP Data received {"connection_id":148033,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:30:28] local.INFO: Processing buffer {"connection_id":148033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:30:28] local.INFO: IMEI packet received {"connection_id":148033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":148033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:30:29] local.INFO: TCP Data received {"connection_id":146999,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:30:29] local.INFO: Processing buffer {"connection_id":146999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:30:29] local.INFO: IMEI packet received {"connection_id":146999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":146999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:30:29] local.INFO: TCP Data received {"connection_id":148033,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:30:29] local.INFO: Processing buffer {"connection_id":148033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:30:29] local.INFO: Packet analysis {"connection_id":148033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:30:29] local.INFO: Extracted packet for processing {"connection_id":148033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:30:29] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133762304001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:30:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785679060000,"timestamp_ms":1785679060000,"timestamp_seconds":1785679060,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c41c20"} 
[2026-08-02 19:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 19:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133762304001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133762304001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:30:29] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:30:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133762304001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":148033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:30:29] local.INFO: GPS data processed {"connection_id":148033,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:30:29] local.INFO: Acknowledgment sent {"connection_id":148033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:30:34] local.INFO: TCP Data received {"connection_id":146999,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:30:34] local.INFO: Processing buffer {"connection_id":146999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:30:34] local.INFO: IMEI packet received {"connection_id":146999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":146999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:30:35] local.INFO: TCP Data received {"connection_id":146999,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:30:35] local.INFO: Processing buffer {"connection_id":146999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c1ab20012d196700071fef08003d010e2a..."} 
[2026-08-02 19:30:35] local.INFO: Packet analysis {"connection_id":146999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:30:35] local.INFO: Extracted packet for processing {"connection_id":146999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c1"} 
[2026-08-02 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133721344001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785678900000,"timestamp_ms":1785678900000,"timestamp_seconds":1785678900,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c1ab20"} 
[2026-08-02 19:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133721344001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133721344001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:30:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133721344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":146999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:30:35] local.INFO: GPS data processed {"connection_id":146999,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:30:35] local.INFO: Acknowledgment sent {"connection_id":146999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:31:01] local.INFO: TCP Data received {"connection_id":148033,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:31:01] local.INFO: Processing buffer {"connection_id":148033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:31:01] local.INFO: Packet analysis {"connection_id":148033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:31:01] local.INFO: Extracted packet for processing {"connection_id":148033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:31:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133762304001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785679060000,"timestamp_ms":1785679060000,"timestamp_seconds":1785679060,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c41c20"} 
[2026-08-02 19:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 19:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133762304001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133762304001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:31:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:31:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133762304001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":148033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:31:01] local.INFO: GPS data processed {"connection_id":148033,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:31:01] local.INFO: Acknowledgment sent {"connection_id":148033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:31:05] local.INFO: TCP Data received {"connection_id":146999,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:31:05] local.INFO: Processing buffer {"connection_id":146999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:31:05] local.INFO: Packet analysis {"connection_id":146999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:31:05] local.INFO: Extracted packet for processing {"connection_id":146999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133798400001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785679201000,"timestamp_ms":1785679201000,"timestamp_seconds":1785679201,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c642e8"} 
[2026-08-02 19:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133798400001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133798400001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:31:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133798400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":146999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:31:05] local.INFO: GPS data processed {"connection_id":146999,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:31:05] local.INFO: Acknowledgment sent {"connection_id":146999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:31:29] local.INFO: TCP Data received {"connection_id":149339,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:31:29] local.INFO: Processing buffer {"connection_id":149339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:31:29] local.INFO: IMEI packet received {"connection_id":149339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":149339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:31:29] local.INFO: TCP Data received {"connection_id":146778,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:31:29] local.INFO: Processing buffer {"connection_id":146778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:31:29] local.INFO: IMEI packet received {"connection_id":146778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":146778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:31:34] local.INFO: TCP Data received {"connection_id":149339,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:31:34] local.INFO: Processing buffer {"connection_id":149339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:31:34] local.INFO: IMEI packet received {"connection_id":149339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":149339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:31:34] local.INFO: TCP Data received {"connection_id":146778,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:31:34] local.INFO: Processing buffer {"connection_id":146778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:31:34] local.INFO: IMEI packet received {"connection_id":146778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":146778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:31:35] local.INFO: TCP Data received {"connection_id":146778,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:31:35] local.INFO: Processing buffer {"connection_id":146778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:31:35] local.INFO: Packet analysis {"connection_id":146778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:31:35] local.INFO: Extracted packet for processing {"connection_id":146778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133798400001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679201000,"timestamp_ms":1785679201000,"timestamp_seconds":1785679201,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c642e8"} 
[2026-08-02 19:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133798400001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133798400001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:31:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133798400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":146778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:31:35] local.INFO: GPS data processed {"connection_id":146778,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:31:35] local.INFO: Acknowledgment sent {"connection_id":146778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:31:35] local.INFO: TCP Data received {"connection_id":149339,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:31:35] local.INFO: Processing buffer {"connection_id":149339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:31:35] local.INFO: Packet analysis {"connection_id":149339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:31:35] local.INFO: Extracted packet for processing {"connection_id":149339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133762304001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679060000,"timestamp_ms":1785679060000,"timestamp_seconds":1785679060,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c41c20"} 
[2026-08-02 19:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133762304001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133762304001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:31:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:31:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:31:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133762304001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":149339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:31:35] local.INFO: GPS data processed {"connection_id":149339,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:31:35] local.INFO: Acknowledgment sent {"connection_id":149339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:31:40] local.INFO: TCP Data received {"connection_id":149339,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:31:40] local.INFO: Processing buffer {"connection_id":149339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:31:40] local.INFO: Packet analysis {"connection_id":149339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:31:40] local.INFO: Extracted packet for processing {"connection_id":149339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:31:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133762304001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785679060000,"timestamp_ms":1785679060000,"timestamp_seconds":1785679060,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c41c20"} 
[2026-08-02 19:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133762304001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133762304001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:31:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:31:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:31:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133762304001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":149339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:31:40] local.INFO: GPS data processed {"connection_id":149339,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:31:40] local.INFO: Acknowledgment sent {"connection_id":149339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:32:06] local.INFO: TCP Data received {"connection_id":146778,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:32:06] local.INFO: Processing buffer {"connection_id":146778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:32:06] local.INFO: Packet analysis {"connection_id":146778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:32:06] local.INFO: Extracted packet for processing {"connection_id":146778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133798400001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785679201000,"timestamp_ms":1785679201000,"timestamp_seconds":1785679201,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c642e8"} 
[2026-08-02 19:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133798400001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133798400001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:32:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133798400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":146778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:32:06] local.INFO: GPS data processed {"connection_id":146778,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:32:06] local.INFO: Acknowledgment sent {"connection_id":146778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:32:24] local.INFO: TCP Data received {"connection_id":149340,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:32:24] local.INFO: Processing buffer {"connection_id":149340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:32:24] local.INFO: IMEI packet received {"connection_id":149340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":149340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:32:29] local.INFO: TCP Data received {"connection_id":149340,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:32:29] local.INFO: Processing buffer {"connection_id":149340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:32:29] local.INFO: IMEI packet received {"connection_id":149340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":149340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:32:29] local.INFO: TCP Data received {"connection_id":146779,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:32:29] local.INFO: Processing buffer {"connection_id":146779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:32:29] local.INFO: IMEI packet received {"connection_id":146779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":146779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:32:34] local.INFO: TCP Data received {"connection_id":146779,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:32:34] local.INFO: Processing buffer {"connection_id":146779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:32:34] local.INFO: IMEI packet received {"connection_id":146779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":146779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:32:35] local.INFO: TCP Data received {"connection_id":146779,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:32:35] local.INFO: Processing buffer {"connection_id":146779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:32:35] local.INFO: Packet analysis {"connection_id":146779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:32:35] local.INFO: Extracted packet for processing {"connection_id":146779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133798400001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679201000,"timestamp_ms":1785679201000,"timestamp_seconds":1785679201,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c642e8"} 
[2026-08-02 19:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133798400001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133798400001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:32:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133798400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":146779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:32:35] local.INFO: GPS data processed {"connection_id":146779,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:32:35] local.INFO: Acknowledgment sent {"connection_id":146779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:32:51] local.INFO: TCP Data received {"connection_id":149340,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:32:51] local.INFO: Processing buffer {"connection_id":149340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:32:51] local.INFO: Packet analysis {"connection_id":149340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:32:51] local.INFO: Extracted packet for processing {"connection_id":149340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:32:51] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133762304001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785679060000,"timestamp_ms":1785679060000,"timestamp_seconds":1785679060,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c41c20"} 
[2026-08-02 19:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133762304001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133762304001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:32:51] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:32:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133762304001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":149340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:32:51] local.INFO: GPS data processed {"connection_id":149340,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:32:51] local.INFO: Acknowledgment sent {"connection_id":149340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:32:53] local.INFO: TCP Data received {"connection_id":149340,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:32:53] local.INFO: Processing buffer {"connection_id":149340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c41c20012cc330c007685958005800c52a..."} 
[2026-08-02 19:32:53] local.INFO: Packet analysis {"connection_id":149340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:32:53] local.INFO: Extracted packet for processing {"connection_id":149340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c4"} 
[2026-08-02 19:32:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133762304001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:32:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785679060000,"timestamp_ms":1785679060000,"timestamp_seconds":1785679060,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c41c20"} 
[2026-08-02 19:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133762304001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133762304001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:32:53] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:32:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:32:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133762304001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":149340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:32:53] local.INFO: GPS data processed {"connection_id":149340,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:32:53] local.INFO: Acknowledgment sent {"connection_id":149340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:33:06] local.INFO: TCP Data received {"connection_id":146779,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:33:06] local.INFO: Processing buffer {"connection_id":146779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:33:06] local.INFO: Packet analysis {"connection_id":146779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:33:06] local.INFO: Extracted packet for processing {"connection_id":146779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133798400001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785679201000,"timestamp_ms":1785679201000,"timestamp_seconds":1785679201,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c642e8"} 
[2026-08-02 19:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133798400001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133798400001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:33:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133798400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":146779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:33:06] local.INFO: GPS data processed {"connection_id":146779,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:33:06] local.INFO: Acknowledgment sent {"connection_id":146779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:33:23] local.INFO: TCP Data received {"connection_id":147000,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:33:23] local.INFO: Processing buffer {"connection_id":147000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:33:23] local.INFO: IMEI packet received {"connection_id":147000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":147000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:33:29] local.INFO: TCP Data received {"connection_id":146780,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:33:29] local.INFO: Processing buffer {"connection_id":146780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:33:29] local.INFO: IMEI packet received {"connection_id":146780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":146780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:33:29] local.INFO: TCP Data received {"connection_id":147000,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:33:29] local.INFO: Processing buffer {"connection_id":147000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:33:29] local.INFO: IMEI packet received {"connection_id":147000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":147000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:33:30] local.INFO: TCP Data received {"connection_id":147000,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:33:30] local.INFO: Processing buffer {"connection_id":147000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:33:30] local.INFO: Packet analysis {"connection_id":147000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:33:30] local.INFO: Extracted packet for processing {"connection_id":147000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:33:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133839360001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785679361000,"timestamp_ms":1785679361000,"timestamp_seconds":1785679361,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c8b3e8"} 
[2026-08-02 19:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133839360001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133839360001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:33:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:33:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133839360001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":147000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:33:30] local.INFO: GPS data processed {"connection_id":147000,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:33:30] local.INFO: Acknowledgment sent {"connection_id":147000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:33:34] local.INFO: TCP Data received {"connection_id":146780,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:33:34] local.INFO: Processing buffer {"connection_id":146780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:33:34] local.INFO: IMEI packet received {"connection_id":146780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":146780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:33:35] local.INFO: TCP Data received {"connection_id":146780,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:33:35] local.INFO: Processing buffer {"connection_id":146780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:33:35] local.INFO: Packet analysis {"connection_id":146780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:33:35] local.INFO: Extracted packet for processing {"connection_id":146780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133798400001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679201000,"timestamp_ms":1785679201000,"timestamp_seconds":1785679201,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c642e8"} 
[2026-08-02 19:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133798400001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133798400001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:33:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133798400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":146780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:33:35] local.INFO: GPS data processed {"connection_id":146780,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:33:35] local.INFO: Acknowledgment sent {"connection_id":146780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:34:03] local.INFO: TCP Data received {"connection_id":147000,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:34:03] local.INFO: Processing buffer {"connection_id":147000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:34:03] local.INFO: Packet analysis {"connection_id":147000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:34:03] local.INFO: Extracted packet for processing {"connection_id":147000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:34:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133839360001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785679361000,"timestamp_ms":1785679361000,"timestamp_seconds":1785679361,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c8b3e8"} 
[2026-08-02 19:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133839360001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133839360001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:34:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:34:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133839360001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":147000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:34:03] local.INFO: GPS data processed {"connection_id":147000,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:34:03] local.INFO: Acknowledgment sent {"connection_id":147000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:34:06] local.INFO: TCP Data received {"connection_id":146780,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:34:06] local.INFO: Processing buffer {"connection_id":146780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:34:06] local.INFO: Packet analysis {"connection_id":146780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:34:06] local.INFO: Extracted packet for processing {"connection_id":146780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133798400001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785679201000,"timestamp_ms":1785679201000,"timestamp_seconds":1785679201,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c642e8"} 
[2026-08-02 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-08-02 19:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133798400001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133798400001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:34:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133798400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":146780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:34:06] local.INFO: GPS data processed {"connection_id":146780,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:34:06] local.INFO: Acknowledgment sent {"connection_id":146780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:34:23] local.INFO: TCP Data received {"connection_id":147001,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:34:23] local.INFO: Processing buffer {"connection_id":147001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:34:23] local.INFO: IMEI packet received {"connection_id":147001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":147001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:34:29] local.INFO: TCP Data received {"connection_id":147001,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:34:29] local.INFO: Processing buffer {"connection_id":147001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:34:29] local.INFO: IMEI packet received {"connection_id":147001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":147001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:34:29] local.INFO: TCP Data received {"connection_id":146781,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:34:29] local.INFO: Processing buffer {"connection_id":146781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:34:29] local.INFO: IMEI packet received {"connection_id":146781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":146781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:34:30] local.INFO: TCP Data received {"connection_id":147001,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:34:30] local.INFO: Processing buffer {"connection_id":147001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:34:30] local.INFO: Packet analysis {"connection_id":147001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:34:30] local.INFO: Extracted packet for processing {"connection_id":147001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:34:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133839360001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785679361000,"timestamp_ms":1785679361000,"timestamp_seconds":1785679361,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c8b3e8"} 
[2026-08-02 19:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133839360001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133839360001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:34:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:34:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133839360001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":147001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:34:30] local.INFO: GPS data processed {"connection_id":147001,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:34:30] local.INFO: Acknowledgment sent {"connection_id":147001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:34:34] local.INFO: TCP Data received {"connection_id":146781,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:34:34] local.INFO: Processing buffer {"connection_id":146781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:34:34] local.INFO: IMEI packet received {"connection_id":146781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":146781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:34:35] local.INFO: TCP Data received {"connection_id":146781,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:34:35] local.INFO: Processing buffer {"connection_id":146781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:34:35] local.INFO: Packet analysis {"connection_id":146781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:34:35] local.INFO: Extracted packet for processing {"connection_id":146781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133798400001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679201000,"timestamp_ms":1785679201000,"timestamp_seconds":1785679201,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c642e8"} 
[2026-08-02 19:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133798400001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133798400001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:34:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133798400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":146781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:34:35] local.INFO: GPS data processed {"connection_id":146781,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:34:35] local.INFO: Acknowledgment sent {"connection_id":146781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:35:01] local.INFO: TCP Data received {"connection_id":147001,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:35:01] local.INFO: Processing buffer {"connection_id":147001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:35:01] local.INFO: Packet analysis {"connection_id":147001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:35:01] local.INFO: Extracted packet for processing {"connection_id":147001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:35:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133839360001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785679361000,"timestamp_ms":1785679361000,"timestamp_seconds":1785679361,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c8b3e8"} 
[2026-08-02 19:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 19:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133839360001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133839360001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:35:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:35:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:35:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133839360001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":147001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:35:01] local.INFO: GPS data processed {"connection_id":147001,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:35:01] local.INFO: Acknowledgment sent {"connection_id":147001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:35:06] local.INFO: TCP Data received {"connection_id":146781,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:35:06] local.INFO: Processing buffer {"connection_id":146781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:35:06] local.INFO: Packet analysis {"connection_id":146781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:35:06] local.INFO: Extracted packet for processing {"connection_id":146781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133798400001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785679201000,"timestamp_ms":1785679201000,"timestamp_seconds":1785679201,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c642e8"} 
[2026-08-02 19:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133798400001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133798400001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:35:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133798400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":146781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:35:06] local.INFO: GPS data processed {"connection_id":146781,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:35:06] local.INFO: Acknowledgment sent {"connection_id":146781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:35:29] local.INFO: TCP Data received {"connection_id":146782,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:35:29] local.INFO: Processing buffer {"connection_id":146782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:35:29] local.INFO: IMEI packet received {"connection_id":146782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":146782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:35:34] local.INFO: TCP Data received {"connection_id":146782,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:35:34] local.INFO: Processing buffer {"connection_id":146782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:35:34] local.INFO: IMEI packet received {"connection_id":146782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":146782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:35:34] local.INFO: TCP Data received {"connection_id":146783,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:35:34] local.INFO: Processing buffer {"connection_id":146783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:35:34] local.INFO: IMEI packet received {"connection_id":146783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":146783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:35:35] local.INFO: TCP Data received {"connection_id":146782,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:35:35] local.INFO: Processing buffer {"connection_id":146782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:35:35] local.INFO: Packet analysis {"connection_id":146782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:35:35] local.INFO: Extracted packet for processing {"connection_id":146782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:35:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133839360001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679361000,"timestamp_ms":1785679361000,"timestamp_seconds":1785679361,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c8b3e8"} 
[2026-08-02 19:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133839360001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133839360001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:35:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:35:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:35:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133839360001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":146782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:35:35] local.INFO: GPS data processed {"connection_id":146782,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:35:35] local.INFO: Acknowledgment sent {"connection_id":146782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:35:39] local.INFO: TCP Data received {"connection_id":146783,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:35:39] local.INFO: Processing buffer {"connection_id":146783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:35:39] local.INFO: IMEI packet received {"connection_id":146783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":146783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:35:39] local.INFO: TCP Data received {"connection_id":146782,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:35:39] local.INFO: Processing buffer {"connection_id":146782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:35:39] local.INFO: Packet analysis {"connection_id":146782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:35:39] local.INFO: Extracted packet for processing {"connection_id":146782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:35:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133839360001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785679361000,"timestamp_ms":1785679361000,"timestamp_seconds":1785679361,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c8b3e8"} 
[2026-08-02 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-08-02 19:35: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-08-02 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133839360001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133839360001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:35:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:35:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:35:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133839360001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":146782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:35:39] local.INFO: GPS data processed {"connection_id":146782,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:35:39] local.INFO: Acknowledgment sent {"connection_id":146782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:35:40] local.INFO: TCP Data received {"connection_id":146783,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:35:40] local.INFO: Processing buffer {"connection_id":146783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c642e8012d196700071fef08003d010e29..."} 
[2026-08-02 19:35:40] local.INFO: Packet analysis {"connection_id":146783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:35:40] local.INFO: Extracted packet for processing {"connection_id":146783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c6"} 
[2026-08-02 19:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133798400001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785679201000,"timestamp_ms":1785679201000,"timestamp_seconds":1785679201,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c642e8"} 
[2026-08-02 19:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133798400001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133798400001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:35:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:35:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133798400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":146783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:35:40] local.INFO: GPS data processed {"connection_id":146783,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:35:40] local.INFO: Acknowledgment sent {"connection_id":146783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:35:41] local.INFO: TCP Data received {"connection_id":146783,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:35:41] local.INFO: Processing buffer {"connection_id":146783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:35:41] local.INFO: Packet analysis {"connection_id":146783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:35:41] local.INFO: Extracted packet for processing {"connection_id":146783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133875456001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785679502000,"timestamp_ms":1785679502000,"timestamp_seconds":1785679502,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cadab0"} 
[2026-08-02 19:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 19:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133875456001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133875456001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:35:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:35:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133875456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":146783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:35:41] local.INFO: GPS data processed {"connection_id":146783,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:35:41] local.INFO: Acknowledgment sent {"connection_id":146783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:36:12] local.INFO: TCP Data received {"connection_id":146783,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:36:12] local.INFO: Processing buffer {"connection_id":146783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:36:12] local.INFO: Packet analysis {"connection_id":146783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:36:12] local.INFO: Extracted packet for processing {"connection_id":146783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:36:12] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133875456001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785679502000,"timestamp_ms":1785679502000,"timestamp_seconds":1785679502,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cadab0"} 
[2026-08-02 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-08-02 19:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133875456001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133875456001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:36:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:36:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133875456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":146783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:36:12] local.INFO: GPS data processed {"connection_id":146783,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:36:12] local.INFO: Acknowledgment sent {"connection_id":146783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:36:24] local.INFO: TCP Data received {"connection_id":146784,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:36:24] local.INFO: Processing buffer {"connection_id":146784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:36:24] local.INFO: IMEI packet received {"connection_id":146784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":146784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:36:29] local.INFO: TCP Data received {"connection_id":146784,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:36:29] local.INFO: Processing buffer {"connection_id":146784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:36:29] local.INFO: IMEI packet received {"connection_id":146784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":146784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:36:29] local.INFO: TCP Data received {"connection_id":147002,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:36:29] local.INFO: Processing buffer {"connection_id":147002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:36:29] local.INFO: IMEI packet received {"connection_id":147002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":147002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:36:30] local.INFO: TCP Data received {"connection_id":146784,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:36:30] local.INFO: Processing buffer {"connection_id":146784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:36:30] local.INFO: Packet analysis {"connection_id":146784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:36:30] local.INFO: Extracted packet for processing {"connection_id":146784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:36:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133839360001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785679361000,"timestamp_ms":1785679361000,"timestamp_seconds":1785679361,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c8b3e8"} 
[2026-08-02 19:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133839360001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133839360001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:36:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:36:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133839360001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":146784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:36:30] local.INFO: GPS data processed {"connection_id":146784,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:36:30] local.INFO: Acknowledgment sent {"connection_id":146784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:36:34] local.INFO: TCP Data received {"connection_id":147002,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:36:34] local.INFO: Processing buffer {"connection_id":147002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:36:34] local.INFO: IMEI packet received {"connection_id":147002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":147002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:36:35] local.INFO: TCP Data received {"connection_id":147002,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:36:35] local.INFO: Processing buffer {"connection_id":147002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:36:35] local.INFO: Packet analysis {"connection_id":147002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:36:35] local.INFO: Extracted packet for processing {"connection_id":147002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:36:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133875456001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679502000,"timestamp_ms":1785679502000,"timestamp_seconds":1785679502,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cadab0"} 
[2026-08-02 19:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:36: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-08-02 19:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133875456001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133875456001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:36:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:36:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133875456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":147002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:36:35] local.INFO: GPS data processed {"connection_id":147002,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:36:35] local.INFO: Acknowledgment sent {"connection_id":147002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:37:01] local.INFO: TCP Data received {"connection_id":146784,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:37:01] local.INFO: Processing buffer {"connection_id":146784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:37:01] local.INFO: Packet analysis {"connection_id":146784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:37:01] local.INFO: Extracted packet for processing {"connection_id":146784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:37:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133839360001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:37:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785679361000,"timestamp_ms":1785679361000,"timestamp_seconds":1785679361,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c8b3e8"} 
[2026-08-02 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-08-02 19:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 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-08-02 19:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133839360001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133839360001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:37:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:37:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:37:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133839360001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":146784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:37:01] local.INFO: GPS data processed {"connection_id":146784,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:37:01] local.INFO: Acknowledgment sent {"connection_id":146784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:37:06] local.INFO: TCP Data received {"connection_id":147002,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:37:06] local.INFO: Processing buffer {"connection_id":147002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:37:06] local.INFO: Packet analysis {"connection_id":147002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:37:06] local.INFO: Extracted packet for processing {"connection_id":147002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133875456001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785679502000,"timestamp_ms":1785679502000,"timestamp_seconds":1785679502,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cadab0"} 
[2026-08-02 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-08-02 19:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133875456001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133875456001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:37:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133875456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":147002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:37:06] local.INFO: GPS data processed {"connection_id":147002,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:37:06] local.INFO: Acknowledgment sent {"connection_id":147002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:37:23] local.INFO: TCP Data received {"connection_id":148034,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:37:23] local.INFO: Processing buffer {"connection_id":148034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:37:23] local.INFO: IMEI packet received {"connection_id":148034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":148034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:37:29] local.INFO: TCP Data received {"connection_id":148034,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:37:29] local.INFO: Processing buffer {"connection_id":148034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:37:29] local.INFO: IMEI packet received {"connection_id":148034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":148034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:37:29] local.INFO: TCP Data received {"connection_id":146785,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:37:29] local.INFO: Processing buffer {"connection_id":146785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:37:29] local.INFO: IMEI packet received {"connection_id":146785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":146785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:37:30] local.INFO: TCP Data received {"connection_id":148034,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:37:30] local.INFO: Processing buffer {"connection_id":148034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:37:30] local.INFO: Packet analysis {"connection_id":148034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:37:30] local.INFO: Extracted packet for processing {"connection_id":148034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:37:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133839360001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:37:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785679361000,"timestamp_ms":1785679361000,"timestamp_seconds":1785679361,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c8b3e8"} 
[2026-08-02 19:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133839360001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133839360001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:37:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:37:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:37:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133839360001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":148034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:37:30] local.INFO: GPS data processed {"connection_id":148034,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:37:30] local.INFO: Acknowledgment sent {"connection_id":148034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:37:34] local.INFO: TCP Data received {"connection_id":146785,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:37:34] local.INFO: Processing buffer {"connection_id":146785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:37:34] local.INFO: IMEI packet received {"connection_id":146785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":146785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:37:35] local.INFO: TCP Data received {"connection_id":146785,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:37:35] local.INFO: Processing buffer {"connection_id":146785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:37:35] local.INFO: Packet analysis {"connection_id":146785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:37:35] local.INFO: Extracted packet for processing {"connection_id":146785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133875456001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679502000,"timestamp_ms":1785679502000,"timestamp_seconds":1785679502,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cadab0"} 
[2026-08-02 19:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:37: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-08-02 19:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133875456001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133875456001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:37:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133875456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":146785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:37:35] local.INFO: GPS data processed {"connection_id":146785,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:37:35] local.INFO: Acknowledgment sent {"connection_id":146785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:38:02] local.INFO: TCP Data received {"connection_id":148034,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:38:02] local.INFO: Processing buffer {"connection_id":148034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2c8b3e8012cc330c007685958005800c524..."} 
[2026-08-02 19:38:02] local.INFO: Packet analysis {"connection_id":148034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:38:02] local.INFO: Extracted packet for processing {"connection_id":148034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2c8"} 
[2026-08-02 19:38:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133839360001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:38:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785679361000,"timestamp_ms":1785679361000,"timestamp_seconds":1785679361,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2c8b3e8"} 
[2026-08-02 19:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 19:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 19:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133839360001,"66":25451,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133839360001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:38:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:38:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:38:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133839360001,"power":25451,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":148034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:38:02] local.INFO: GPS data processed {"connection_id":148034,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:38:02] local.INFO: Acknowledgment sent {"connection_id":148034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:38:06] local.INFO: TCP Data received {"connection_id":146785,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:38:06] local.INFO: Processing buffer {"connection_id":146785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:38:06] local.INFO: Packet analysis {"connection_id":146785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:38:06] local.INFO: Extracted packet for processing {"connection_id":146785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133875456001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785679502000,"timestamp_ms":1785679502000,"timestamp_seconds":1785679502,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cadab0"} 
[2026-08-02 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-08-02 19:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133875456001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133875456001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:38:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133875456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":146785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:38:06] local.INFO: GPS data processed {"connection_id":146785,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:38:06] local.INFO: Acknowledgment sent {"connection_id":146785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:38:23] local.INFO: TCP Data received {"connection_id":148035,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:38:23] local.INFO: Processing buffer {"connection_id":148035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:38:23] local.INFO: IMEI packet received {"connection_id":148035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":148035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:38:29] local.INFO: TCP Data received {"connection_id":149341,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:38:29] local.INFO: TCP Data received {"connection_id":148035,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:38:29] local.INFO: Processing buffer {"connection_id":149341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:38:29] local.INFO: IMEI packet received {"connection_id":149341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":149341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:38:29] local.INFO: Processing buffer {"connection_id":148035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:38:29] local.INFO: IMEI packet received {"connection_id":148035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":148035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:38:30] local.INFO: TCP Data received {"connection_id":148035,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:38:30] local.INFO: Processing buffer {"connection_id":148035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:38:30] local.INFO: Packet analysis {"connection_id":148035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:38:30] local.INFO: Extracted packet for processing {"connection_id":148035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:38:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133916416001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785679662000,"timestamp_ms":1785679662000,"timestamp_seconds":1785679662,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cd4bb0"} 
[2026-08-02 19:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133916416001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133916416001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:38:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:38:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133916416001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":148035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:38:30] local.INFO: GPS data processed {"connection_id":148035,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:38:30] local.INFO: Acknowledgment sent {"connection_id":148035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:38:34] local.INFO: TCP Data received {"connection_id":149341,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:38:34] local.INFO: Processing buffer {"connection_id":149341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:38:34] local.INFO: IMEI packet received {"connection_id":149341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":149341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:38:35] local.INFO: TCP Data received {"connection_id":149341,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:38:35] local.INFO: Processing buffer {"connection_id":149341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:38:35] local.INFO: Packet analysis {"connection_id":149341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:38:35] local.INFO: Extracted packet for processing {"connection_id":149341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133875456001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679502000,"timestamp_ms":1785679502000,"timestamp_seconds":1785679502,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cadab0"} 
[2026-08-02 19:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:38: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-08-02 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133875456001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133875456001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:38:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:38:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133875456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":149341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:38:35] local.INFO: GPS data processed {"connection_id":149341,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:38:35] local.INFO: Acknowledgment sent {"connection_id":149341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:39:01] local.INFO: TCP Data received {"connection_id":148035,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:39:01] local.INFO: Processing buffer {"connection_id":148035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:39:01] local.INFO: Packet analysis {"connection_id":148035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:39:01] local.INFO: Extracted packet for processing {"connection_id":148035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:39:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133916416001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785679662000,"timestamp_ms":1785679662000,"timestamp_seconds":1785679662,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cd4bb0"} 
[2026-08-02 19:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133916416001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133916416001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:39:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:39:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:39:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133916416001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":148035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:39:01] local.INFO: GPS data processed {"connection_id":148035,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:39:01] local.INFO: Acknowledgment sent {"connection_id":148035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:39:06] local.INFO: TCP Data received {"connection_id":149341,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:39:06] local.INFO: Processing buffer {"connection_id":149341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:39:06] local.INFO: Packet analysis {"connection_id":149341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:39:06] local.INFO: Extracted packet for processing {"connection_id":149341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133875456001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785679502000,"timestamp_ms":1785679502000,"timestamp_seconds":1785679502,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cadab0"} 
[2026-08-02 19:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133875456001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133875456001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:39:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133875456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":149341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:39:06] local.INFO: GPS data processed {"connection_id":149341,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:39:06] local.INFO: Acknowledgment sent {"connection_id":149341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:39:24] local.INFO: TCP Data received {"connection_id":146786,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:39:24] local.INFO: Processing buffer {"connection_id":146786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:39:24] local.INFO: IMEI packet received {"connection_id":146786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":146786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:39:29] local.INFO: TCP Data received {"connection_id":146786,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:39:29] local.INFO: Processing buffer {"connection_id":146786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:39:29] local.INFO: IMEI packet received {"connection_id":146786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":146786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:39:30] local.INFO: TCP Data received {"connection_id":146786,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:39:30] local.INFO: Processing buffer {"connection_id":146786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:39:30] local.INFO: Packet analysis {"connection_id":146786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:39:30] local.INFO: Extracted packet for processing {"connection_id":146786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:39:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133916416001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785679662000,"timestamp_ms":1785679662000,"timestamp_seconds":1785679662,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cd4bb0"} 
[2026-08-02 19:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133916416001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133916416001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:39:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:39:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133916416001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":146786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:39:30] local.INFO: GPS data processed {"connection_id":146786,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:39:30] local.INFO: Acknowledgment sent {"connection_id":146786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:39:34] local.INFO: TCP Data received {"connection_id":146787,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:39:34] local.INFO: Processing buffer {"connection_id":146787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:39:34] local.INFO: IMEI packet received {"connection_id":146787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":146787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:39:39] local.INFO: TCP Data received {"connection_id":146787,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:39:39] local.INFO: Processing buffer {"connection_id":146787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:39:39] local.INFO: IMEI packet received {"connection_id":146787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":146787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:39:40] local.INFO: TCP Data received {"connection_id":146787,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:39:40] local.INFO: Processing buffer {"connection_id":146787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:39:40] local.INFO: Packet analysis {"connection_id":146787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:39:40] local.INFO: Extracted packet for processing {"connection_id":146787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:39:40] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133875456001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785679502000,"timestamp_ms":1785679502000,"timestamp_seconds":1785679502,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cadab0"} 
[2026-08-02 19:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133875456001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133875456001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:39:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:39:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133875456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":146787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:39:40] local.INFO: GPS data processed {"connection_id":146787,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:39:40] local.INFO: Acknowledgment sent {"connection_id":146787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:39:44] local.INFO: TCP Data received {"connection_id":146787,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:39:44] local.INFO: Processing buffer {"connection_id":146787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:39:44] local.INFO: Packet analysis {"connection_id":146787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:39:44] local.INFO: Extracted packet for processing {"connection_id":146787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:39:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133875456001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785679502000,"timestamp_ms":1785679502000,"timestamp_seconds":1785679502,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cadab0"} 
[2026-08-02 19:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133875456001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133875456001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:39:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:39:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133875456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":146787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:39:44] local.INFO: GPS data processed {"connection_id":146787,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:39:44] local.INFO: Acknowledgment sent {"connection_id":146787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:40:02] local.INFO: TCP Data received {"connection_id":146786,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:40:02] local.INFO: Processing buffer {"connection_id":146786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:40:02] local.INFO: Packet analysis {"connection_id":146786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:40:02] local.INFO: Extracted packet for processing {"connection_id":146786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:40:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133916416001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:40:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785679662000,"timestamp_ms":1785679662000,"timestamp_seconds":1785679662,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cd4bb0"} 
[2026-08-02 19:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133916416001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133916416001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:40:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:40:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:40:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133916416001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":146786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:40:02] local.INFO: GPS data processed {"connection_id":146786,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:40:02] local.INFO: Acknowledgment sent {"connection_id":146786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:40:24] local.INFO: TCP Data received {"connection_id":148036,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:40:24] local.INFO: Processing buffer {"connection_id":148036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:40:24] local.INFO: IMEI packet received {"connection_id":148036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":148036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:40:29] local.INFO: TCP Data received {"connection_id":148036,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:40:29] local.INFO: Processing buffer {"connection_id":148036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:40:29] local.INFO: IMEI packet received {"connection_id":148036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":148036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:40:29] local.INFO: TCP Data received {"connection_id":148037,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:40:29] local.INFO: Processing buffer {"connection_id":148037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:40:29] local.INFO: IMEI packet received {"connection_id":148037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":148037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:40:31] local.INFO: TCP Data received {"connection_id":148036,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:40:31] local.INFO: Processing buffer {"connection_id":148036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:40:31] local.INFO: Packet analysis {"connection_id":148036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:40:31] local.INFO: Extracted packet for processing {"connection_id":148036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:40:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133916416001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:40:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785679662000,"timestamp_ms":1785679662000,"timestamp_seconds":1785679662,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cd4bb0"} 
[2026-08-02 19:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133916416001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133916416001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:40:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:40:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:40:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133916416001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":148036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:40:31] local.INFO: GPS data processed {"connection_id":148036,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:40:31] local.INFO: Acknowledgment sent {"connection_id":148036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:40:34] local.INFO: TCP Data received {"connection_id":148037,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:40:34] local.INFO: Processing buffer {"connection_id":148037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:40:34] local.INFO: IMEI packet received {"connection_id":148037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":148037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:40:35] local.INFO: TCP Data received {"connection_id":148037,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:40:35] local.INFO: Processing buffer {"connection_id":148037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cadab0012d196700071fef08003d010e26..."} 
[2026-08-02 19:40:35] local.INFO: Packet analysis {"connection_id":148037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:40:35] local.INFO: Extracted packet for processing {"connection_id":148037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ca"} 
[2026-08-02 19:40:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133875456001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679502000,"timestamp_ms":1785679502000,"timestamp_seconds":1785679502,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cadab0"} 
[2026-08-02 19:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:40: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-08-02 19:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:40: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-08-02 19:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133875456001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133875456001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:40:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:40:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133875456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":148037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:40:35] local.INFO: GPS data processed {"connection_id":148037,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:40:35] local.INFO: Acknowledgment sent {"connection_id":148037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:41:03] local.INFO: TCP Data received {"connection_id":148036,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:41:03] local.INFO: Processing buffer {"connection_id":148036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:41:03] local.INFO: Packet analysis {"connection_id":148036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:41:03] local.INFO: Extracted packet for processing {"connection_id":148036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:41:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133916416001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:41:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785679662000,"timestamp_ms":1785679662000,"timestamp_seconds":1785679662,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cd4bb0"} 
[2026-08-02 19:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133916416001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133916416001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:41:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:41:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:41:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133916416001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":148036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:41:03] local.INFO: GPS data processed {"connection_id":148036,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:41:03] local.INFO: Acknowledgment sent {"connection_id":148036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:41:05] local.INFO: TCP Data received {"connection_id":148037,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:41:05] local.INFO: Processing buffer {"connection_id":148037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:41:05] local.INFO: Packet analysis {"connection_id":148037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:41:05] local.INFO: Extracted packet for processing {"connection_id":148037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133952512001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785679803000,"timestamp_ms":1785679803000,"timestamp_seconds":1785679803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cf7278"} 
[2026-08-02 19:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 19:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:41: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-08-02 19:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133952512001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133952512001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:41:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133952512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":148037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:41:06] local.INFO: GPS data processed {"connection_id":148037,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:41:06] local.INFO: Acknowledgment sent {"connection_id":148037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:41:23] local.INFO: TCP Data received {"connection_id":149342,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:41:23] local.INFO: Processing buffer {"connection_id":149342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:41:23] local.INFO: IMEI packet received {"connection_id":149342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":149342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:41:29] local.INFO: TCP Data received {"connection_id":149342,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:41:29] local.INFO: Processing buffer {"connection_id":149342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:41:29] local.INFO: IMEI packet received {"connection_id":149342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":149342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:41:29] local.INFO: TCP Data received {"connection_id":146788,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:41:29] local.INFO: Processing buffer {"connection_id":146788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:41:29] local.INFO: IMEI packet received {"connection_id":146788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":146788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:41:31] local.INFO: TCP Data received {"connection_id":149342,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:41:31] local.INFO: Processing buffer {"connection_id":149342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:41:31] local.INFO: Packet analysis {"connection_id":149342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:41:31] local.INFO: Extracted packet for processing {"connection_id":149342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:41:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133916416001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:41:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785679662000,"timestamp_ms":1785679662000,"timestamp_seconds":1785679662,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cd4bb0"} 
[2026-08-02 19:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133916416001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133916416001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:41:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:41:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:41:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133916416001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":149342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:41:31] local.INFO: GPS data processed {"connection_id":149342,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:41:31] local.INFO: Acknowledgment sent {"connection_id":149342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:41:34] local.INFO: TCP Data received {"connection_id":146788,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:41:34] local.INFO: Processing buffer {"connection_id":146788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:41:34] local.INFO: IMEI packet received {"connection_id":146788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":146788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:41:35] local.INFO: TCP Data received {"connection_id":146788,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:41:35] local.INFO: Processing buffer {"connection_id":146788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:41:35] local.INFO: Packet analysis {"connection_id":146788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:41:35] local.INFO: Extracted packet for processing {"connection_id":146788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133952512001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679803000,"timestamp_ms":1785679803000,"timestamp_seconds":1785679803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cf7278"} 
[2026-08-02 19:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133952512001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133952512001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:41:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133952512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":146788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:41:35] local.INFO: GPS data processed {"connection_id":146788,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:41:35] local.INFO: Acknowledgment sent {"connection_id":146788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:42:02] local.INFO: TCP Data received {"connection_id":149342,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:42:02] local.INFO: Processing buffer {"connection_id":149342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:42:02] local.INFO: Packet analysis {"connection_id":149342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:42:02] local.INFO: Extracted packet for processing {"connection_id":149342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:42:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133916416001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:42:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785679662000,"timestamp_ms":1785679662000,"timestamp_seconds":1785679662,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cd4bb0"} 
[2026-08-02 19:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133916416001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133916416001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:42:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:42:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:42:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133916416001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":149342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:42:02] local.INFO: GPS data processed {"connection_id":149342,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:42:02] local.INFO: Acknowledgment sent {"connection_id":149342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:42:06] local.INFO: TCP Data received {"connection_id":146788,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:42:06] local.INFO: Processing buffer {"connection_id":146788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:42:06] local.INFO: Packet analysis {"connection_id":146788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:42:06] local.INFO: Extracted packet for processing {"connection_id":146788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133952512001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785679803000,"timestamp_ms":1785679803000,"timestamp_seconds":1785679803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cf7278"} 
[2026-08-02 19:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133952512001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133952512001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:42:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133952512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":146788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:42:06] local.INFO: GPS data processed {"connection_id":146788,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:42:06] local.INFO: Acknowledgment sent {"connection_id":146788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:42:23] local.INFO: TCP Data received {"connection_id":147003,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:42:23] local.INFO: Processing buffer {"connection_id":147003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:42:23] local.INFO: IMEI packet received {"connection_id":147003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":147003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:42:29] local.INFO: TCP Data received {"connection_id":148038,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:42:29] local.INFO: TCP Data received {"connection_id":147003,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:42:29] local.INFO: Processing buffer {"connection_id":148038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:42:29] local.INFO: IMEI packet received {"connection_id":148038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":148038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:42:29] local.INFO: Processing buffer {"connection_id":147003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:42:29] local.INFO: IMEI packet received {"connection_id":147003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":147003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:42:30] local.INFO: TCP Data received {"connection_id":147003,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:42:30] local.INFO: Processing buffer {"connection_id":147003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:42:30] local.INFO: Packet analysis {"connection_id":147003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:42:30] local.INFO: Extracted packet for processing {"connection_id":147003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:42:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133916416001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785679662000,"timestamp_ms":1785679662000,"timestamp_seconds":1785679662,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cd4bb0"} 
[2026-08-02 19:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133916416001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133916416001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:42:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:42:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133916416001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":147003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:42:30] local.INFO: GPS data processed {"connection_id":147003,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:42:30] local.INFO: Acknowledgment sent {"connection_id":147003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:42:34] local.INFO: TCP Data received {"connection_id":148038,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:42:34] local.INFO: Processing buffer {"connection_id":148038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:42:34] local.INFO: IMEI packet received {"connection_id":148038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":148038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:42:35] local.INFO: TCP Data received {"connection_id":148038,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:42:35] local.INFO: Processing buffer {"connection_id":148038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:42:35] local.INFO: Packet analysis {"connection_id":148038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:42:35] local.INFO: Extracted packet for processing {"connection_id":148038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133952512001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679803000,"timestamp_ms":1785679803000,"timestamp_seconds":1785679803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cf7278"} 
[2026-08-02 19:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133952512001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133952512001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:42:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133952512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":148038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:42:35] local.INFO: GPS data processed {"connection_id":148038,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:42:35] local.INFO: Acknowledgment sent {"connection_id":148038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:43:01] local.INFO: TCP Data received {"connection_id":147003,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:43:01] local.INFO: Processing buffer {"connection_id":147003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cd4bb0012cc330c007685958005800c529..."} 
[2026-08-02 19:43:01] local.INFO: Packet analysis {"connection_id":147003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:43:01] local.INFO: Extracted packet for processing {"connection_id":147003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cd"} 
[2026-08-02 19:43:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133916416001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785679662000,"timestamp_ms":1785679662000,"timestamp_seconds":1785679662,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cd4bb0"} 
[2026-08-02 19:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133916416001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133916416001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:43:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:43:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:43:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133916416001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":147003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:43:01] local.INFO: GPS data processed {"connection_id":147003,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:43:01] local.INFO: Acknowledgment sent {"connection_id":147003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:43:06] local.INFO: TCP Data received {"connection_id":148038,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:43:06] local.INFO: Processing buffer {"connection_id":148038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:43:06] local.INFO: Packet analysis {"connection_id":148038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:43:06] local.INFO: Extracted packet for processing {"connection_id":148038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133952512001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785679803000,"timestamp_ms":1785679803000,"timestamp_seconds":1785679803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cf7278"} 
[2026-08-02 19:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133952512001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133952512001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:43:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133952512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":148038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:43:06] local.INFO: GPS data processed {"connection_id":148038,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:43:06] local.INFO: Acknowledgment sent {"connection_id":148038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:43:29] local.INFO: TCP Data received {"connection_id":148039,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:43:29] local.INFO: Processing buffer {"connection_id":148039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:43:29] local.INFO: IMEI packet received {"connection_id":148039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":148039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:43:29] local.INFO: TCP Data received {"connection_id":147004,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:43:29] local.INFO: Processing buffer {"connection_id":147004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:43:29] local.INFO: IMEI packet received {"connection_id":147004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":147004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:43:34] local.INFO: TCP Data received {"connection_id":147004,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:43:34] local.INFO: Processing buffer {"connection_id":147004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:43:34] local.INFO: IMEI packet received {"connection_id":147004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":147004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:43:34] local.INFO: TCP Data received {"connection_id":148039,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:43:34] local.INFO: Processing buffer {"connection_id":148039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:43:34] local.INFO: IMEI packet received {"connection_id":148039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":148039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:43:35] local.INFO: TCP Data received {"connection_id":147004,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:43:35] local.INFO: Processing buffer {"connection_id":147004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:43:35] local.INFO: Packet analysis {"connection_id":147004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:43:35] local.INFO: Extracted packet for processing {"connection_id":147004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:43:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133993472001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679963000,"timestamp_ms":1785679963000,"timestamp_seconds":1785679963,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d1e378"} 
[2026-08-02 19:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133993472001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133993472001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:43:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:43:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:43:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133993472001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":147004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:43:35] local.INFO: GPS data processed {"connection_id":147004,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:43:35] local.INFO: Acknowledgment sent {"connection_id":147004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:43:35] local.INFO: TCP Data received {"connection_id":148039,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:43:35] local.INFO: Processing buffer {"connection_id":148039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:43:35] local.INFO: Packet analysis {"connection_id":148039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:43:35] local.INFO: Extracted packet for processing {"connection_id":148039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133952512001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679803000,"timestamp_ms":1785679803000,"timestamp_seconds":1785679803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cf7278"} 
[2026-08-02 19:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:43: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-08-02 19:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133952512001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133952512001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:43:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133952512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":148039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:43:35] local.INFO: GPS data processed {"connection_id":148039,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:43:35] local.INFO: Acknowledgment sent {"connection_id":148039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:43:40] local.INFO: TCP Data received {"connection_id":147004,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:43:40] local.INFO: Processing buffer {"connection_id":147004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:43:40] local.INFO: Packet analysis {"connection_id":147004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:43:40] local.INFO: Extracted packet for processing {"connection_id":147004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:43:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133993472001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785679963000,"timestamp_ms":1785679963000,"timestamp_seconds":1785679963,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d1e378"} 
[2026-08-02 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-08-02 19: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-08-02 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133993472001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133993472001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:43:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:43:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:43:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133993472001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":147004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:43:40] local.INFO: GPS data processed {"connection_id":147004,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:43:40] local.INFO: Acknowledgment sent {"connection_id":147004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:44:06] local.INFO: TCP Data received {"connection_id":148039,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:44:06] local.INFO: Processing buffer {"connection_id":148039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:44:06] local.INFO: Packet analysis {"connection_id":148039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:44:06] local.INFO: Extracted packet for processing {"connection_id":148039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133952512001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785679803000,"timestamp_ms":1785679803000,"timestamp_seconds":1785679803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cf7278"} 
[2026-08-02 19:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 19:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:44: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-08-02 19:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133952512001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133952512001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:44:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133952512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":148039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:44:06] local.INFO: GPS data processed {"connection_id":148039,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:44:06] local.INFO: Acknowledgment sent {"connection_id":148039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:44:24] local.INFO: TCP Data received {"connection_id":146789,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:44:24] local.INFO: Processing buffer {"connection_id":146789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:44:24] local.INFO: IMEI packet received {"connection_id":146789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":146789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:44:29] local.INFO: TCP Data received {"connection_id":146789,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:44:29] local.INFO: Processing buffer {"connection_id":146789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:44:29] local.INFO: IMEI packet received {"connection_id":146789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":146789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:44:30] local.INFO: TCP Data received {"connection_id":146789,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:44:30] local.INFO: Processing buffer {"connection_id":146789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:44:30] local.INFO: Packet analysis {"connection_id":146789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:44:30] local.INFO: Extracted packet for processing {"connection_id":146789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:44:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133993472001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785679963000,"timestamp_ms":1785679963000,"timestamp_seconds":1785679963,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d1e378"} 
[2026-08-02 19:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133993472001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133993472001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:44:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:44:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133993472001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":146789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:44:30] local.INFO: GPS data processed {"connection_id":146789,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:44:30] local.INFO: Acknowledgment sent {"connection_id":146789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:44:34] local.INFO: TCP Data received {"connection_id":146790,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:44:34] local.INFO: Processing buffer {"connection_id":146790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:44:34] local.INFO: IMEI packet received {"connection_id":146790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":146790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:44:39] local.INFO: TCP Data received {"connection_id":146790,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:44:39] local.INFO: Processing buffer {"connection_id":146790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:44:39] local.INFO: IMEI packet received {"connection_id":146790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":146790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:44:40] local.INFO: TCP Data received {"connection_id":146790,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:44:40] local.INFO: Processing buffer {"connection_id":146790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:44:40] local.INFO: Packet analysis {"connection_id":146790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:44:40] local.INFO: Extracted packet for processing {"connection_id":146790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133952512001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785679803000,"timestamp_ms":1785679803000,"timestamp_seconds":1785679803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cf7278"} 
[2026-08-02 19:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 19:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133952512001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133952512001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:44:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:44:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133952512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":146790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:44:40] local.INFO: GPS data processed {"connection_id":146790,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:44:40] local.INFO: Acknowledgment sent {"connection_id":146790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:44:44] local.INFO: TCP Data received {"connection_id":146790,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:44:44] local.INFO: Processing buffer {"connection_id":146790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:44:44] local.INFO: Packet analysis {"connection_id":146790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:44:44] local.INFO: Extracted packet for processing {"connection_id":146790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:44:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133952512001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785679803000,"timestamp_ms":1785679803000,"timestamp_seconds":1785679803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cf7278"} 
[2026-08-02 19:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133952512001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133952512001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:44:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:44:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133952512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":146790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:44:44] local.INFO: GPS data processed {"connection_id":146790,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:44:44] local.INFO: Acknowledgment sent {"connection_id":146790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:45:02] local.INFO: TCP Data received {"connection_id":146789,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:45:02] local.INFO: Processing buffer {"connection_id":146789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:45:02] local.INFO: Packet analysis {"connection_id":146789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:45:02] local.INFO: Extracted packet for processing {"connection_id":146789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:45:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133993472001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:45:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785679963000,"timestamp_ms":1785679963000,"timestamp_seconds":1785679963,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d1e378"} 
[2026-08-02 19:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133993472001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133993472001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:45:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:45:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:45:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133993472001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":146789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:45:02] local.INFO: GPS data processed {"connection_id":146789,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:45:02] local.INFO: Acknowledgment sent {"connection_id":146789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:45:23] local.INFO: TCP Data received {"connection_id":147005,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:45:23] local.INFO: Processing buffer {"connection_id":147005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:45:23] local.INFO: IMEI packet received {"connection_id":147005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":147005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:45:29] local.INFO: TCP Data received {"connection_id":147005,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:45:29] local.INFO: Processing buffer {"connection_id":147005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:45:29] local.INFO: IMEI packet received {"connection_id":147005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":147005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:45:29] local.INFO: TCP Data received {"connection_id":147006,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:45:29] local.INFO: Processing buffer {"connection_id":147006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:45:29] local.INFO: IMEI packet received {"connection_id":147006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":147006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:45:30] local.INFO: TCP Data received {"connection_id":147005,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:45:30] local.INFO: Processing buffer {"connection_id":147005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:45:30] local.INFO: Packet analysis {"connection_id":147005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:45:30] local.INFO: Extracted packet for processing {"connection_id":147005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:45:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133993472001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785679963000,"timestamp_ms":1785679963000,"timestamp_seconds":1785679963,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d1e378"} 
[2026-08-02 19:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133993472001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133993472001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:45:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:45:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133993472001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":147005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:45:30] local.INFO: GPS data processed {"connection_id":147005,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:45:30] local.INFO: Acknowledgment sent {"connection_id":147005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:45:34] local.INFO: TCP Data received {"connection_id":147006,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:45:34] local.INFO: Processing buffer {"connection_id":147006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:45:34] local.INFO: IMEI packet received {"connection_id":147006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":147006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:45:35] local.INFO: TCP Data received {"connection_id":147006,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:45:35] local.INFO: Processing buffer {"connection_id":147006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2cf7278012d196700071fef08003d010e28..."} 
[2026-08-02 19:45:35] local.INFO: Packet analysis {"connection_id":147006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:45:35] local.INFO: Extracted packet for processing {"connection_id":147006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2cf"} 
[2026-08-02 19:45:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133952512001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679803000,"timestamp_ms":1785679803000,"timestamp_seconds":1785679803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2cf7278"} 
[2026-08-02 19:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133952512001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133952512001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:45:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133952512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":147006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:45:35] local.INFO: GPS data processed {"connection_id":147006,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:45:35] local.INFO: Acknowledgment sent {"connection_id":147006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:46:01] local.INFO: TCP Data received {"connection_id":147005,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:46:01] local.INFO: Processing buffer {"connection_id":147005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:46:01] local.INFO: Packet analysis {"connection_id":147005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:46:01] local.INFO: Extracted packet for processing {"connection_id":147005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:46:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133993472001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785679963000,"timestamp_ms":1785679963000,"timestamp_seconds":1785679963,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d1e378"} 
[2026-08-02 19:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:46: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133993472001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133993472001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:46:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:46:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:46:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133993472001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":147005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:46:01] local.INFO: GPS data processed {"connection_id":147005,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:46:01] local.INFO: Acknowledgment sent {"connection_id":147005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:46:06] local.INFO: TCP Data received {"connection_id":147006,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:46:06] local.INFO: Processing buffer {"connection_id":147006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:46:06] local.INFO: Packet analysis {"connection_id":147006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:46:06] local.INFO: Extracted packet for processing {"connection_id":147006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134029568001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785680104000,"timestamp_ms":1785680104000,"timestamp_seconds":1785680104,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d40a40"} 
[2026-08-02 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-08-02 19:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134029568001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134029568001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:46:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134029568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":147006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:46:06] local.INFO: GPS data processed {"connection_id":147006,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:46:06] local.INFO: Acknowledgment sent {"connection_id":147006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:46:23] local.INFO: TCP Data received {"connection_id":146791,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:46:23] local.INFO: Processing buffer {"connection_id":146791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:46:23] local.INFO: IMEI packet received {"connection_id":146791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":146791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:46:29] local.INFO: TCP Data received {"connection_id":146791,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:46:29] local.INFO: Processing buffer {"connection_id":146791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:46:29] local.INFO: IMEI packet received {"connection_id":146791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":146791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:46:29] local.INFO: TCP Data received {"connection_id":148040,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:46:29] local.INFO: Processing buffer {"connection_id":148040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:46:29] local.INFO: IMEI packet received {"connection_id":148040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":148040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:46:30] local.INFO: TCP Data received {"connection_id":146791,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:46:30] local.INFO: Processing buffer {"connection_id":146791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:46:30] local.INFO: Packet analysis {"connection_id":146791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:46:30] local.INFO: Extracted packet for processing {"connection_id":146791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:46:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133993472001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:46:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785679963000,"timestamp_ms":1785679963000,"timestamp_seconds":1785679963,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d1e378"} 
[2026-08-02 19:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133993472001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133993472001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:46:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:46:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:46:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133993472001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":146791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:46:30] local.INFO: GPS data processed {"connection_id":146791,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:46:30] local.INFO: Acknowledgment sent {"connection_id":146791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:46:34] local.INFO: TCP Data received {"connection_id":148040,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:46:34] local.INFO: Processing buffer {"connection_id":148040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:46:34] local.INFO: IMEI packet received {"connection_id":148040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":148040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:46:35] local.INFO: TCP Data received {"connection_id":148040,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:46:35] local.INFO: Processing buffer {"connection_id":148040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:46:35] local.INFO: Packet analysis {"connection_id":148040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:46:35] local.INFO: Extracted packet for processing {"connection_id":148040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134029568001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785680104000,"timestamp_ms":1785680104000,"timestamp_seconds":1785680104,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d40a40"} 
[2026-08-02 19:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134029568001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134029568001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:46:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134029568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":148040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:46:35] local.INFO: GPS data processed {"connection_id":148040,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:46:35] local.INFO: Acknowledgment sent {"connection_id":148040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:47:01] local.INFO: TCP Data received {"connection_id":146791,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:47:01] local.INFO: Processing buffer {"connection_id":146791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:47:01] local.INFO: Packet analysis {"connection_id":146791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:47:01] local.INFO: Extracted packet for processing {"connection_id":146791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:47:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133993472001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785679963000,"timestamp_ms":1785679963000,"timestamp_seconds":1785679963,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d1e378"} 
[2026-08-02 19:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133993472001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133993472001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:47:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:47:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:47:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133993472001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":146791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:47:01] local.INFO: GPS data processed {"connection_id":146791,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:47:01] local.INFO: Acknowledgment sent {"connection_id":146791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:47:06] local.INFO: TCP Data received {"connection_id":148040,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:47:06] local.INFO: Processing buffer {"connection_id":148040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:47:06] local.INFO: Packet analysis {"connection_id":148040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:47:06] local.INFO: Extracted packet for processing {"connection_id":148040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134029568001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785680104000,"timestamp_ms":1785680104000,"timestamp_seconds":1785680104,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d40a40"} 
[2026-08-02 19:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134029568001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134029568001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:47:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134029568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":148040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:47:06] local.INFO: GPS data processed {"connection_id":148040,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:47:06] local.INFO: Acknowledgment sent {"connection_id":148040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:47:28] local.INFO: TCP Data received {"connection_id":148041,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:47:28] local.INFO: Processing buffer {"connection_id":148041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:47:28] local.INFO: IMEI packet received {"connection_id":148041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":148041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:47:28] local.INFO: TCP Data received {"connection_id":146792,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:47:29] local.INFO: Processing buffer {"connection_id":146792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:47:29] local.INFO: IMEI packet received {"connection_id":146792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":146792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:47:33] local.INFO: TCP Data received {"connection_id":148041,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:47:33] local.INFO: Processing buffer {"connection_id":148041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:47:33] local.INFO: IMEI packet received {"connection_id":148041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":148041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:47:34] local.INFO: TCP Data received {"connection_id":146792,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:47:34] local.INFO: Processing buffer {"connection_id":146792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:47:34] local.INFO: IMEI packet received {"connection_id":146792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":146792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:47:35] local.INFO: TCP Data received {"connection_id":146792,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:47:35] local.INFO: Processing buffer {"connection_id":146792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:47:35] local.INFO: Packet analysis {"connection_id":146792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:47:35] local.INFO: Extracted packet for processing {"connection_id":146792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134029568001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785680104000,"timestamp_ms":1785680104000,"timestamp_seconds":1785680104,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d40a40"} 
[2026-08-02 19:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:47: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-08-02 19:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134029568001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134029568001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:47:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134029568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":146792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:47:35] local.INFO: GPS data processed {"connection_id":146792,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:47:35] local.INFO: Acknowledgment sent {"connection_id":146792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:47:35] local.INFO: TCP Data received {"connection_id":148041,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:47:35] local.INFO: Processing buffer {"connection_id":148041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:47:35] local.INFO: Packet analysis {"connection_id":148041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:47:35] local.INFO: Extracted packet for processing {"connection_id":148041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133993472001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785679963000,"timestamp_ms":1785679963000,"timestamp_seconds":1785679963,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d1e378"} 
[2026-08-02 19:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133993472001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133993472001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:47:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:47:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:47:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133993472001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":148041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:47:35] local.INFO: GPS data processed {"connection_id":148041,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:47:35] local.INFO: Acknowledgment sent {"connection_id":148041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:47:39] local.INFO: TCP Data received {"connection_id":148041,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:47:39] local.INFO: Processing buffer {"connection_id":148041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d1e378012cc330c007685958005800c52a..."} 
[2026-08-02 19:47:39] local.INFO: Packet analysis {"connection_id":148041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:47:39] local.INFO: Extracted packet for processing {"connection_id":148041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d1"} 
[2026-08-02 19:47:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457133993472001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785679963000,"timestamp_ms":1785679963000,"timestamp_seconds":1785679963,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d1e378"} 
[2026-08-02 19:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:47: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-08-02 19:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 19:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457133993472001,"66":25441,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457133993472001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:47:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:47:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:47:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457133993472001,"power":25441,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":148041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:47:39] local.INFO: GPS data processed {"connection_id":148041,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:47:39] local.INFO: Acknowledgment sent {"connection_id":148041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:48:06] local.INFO: TCP Data received {"connection_id":146792,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:48:06] local.INFO: Processing buffer {"connection_id":146792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:48:06] local.INFO: Packet analysis {"connection_id":146792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:48:06] local.INFO: Extracted packet for processing {"connection_id":146792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134029568001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785680104000,"timestamp_ms":1785680104000,"timestamp_seconds":1785680104,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d40a40"} 
[2026-08-02 19:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:48: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-08-02 19:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134029568001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134029568001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:48:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134029568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":146792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:48:06] local.INFO: GPS data processed {"connection_id":146792,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:48:06] local.INFO: Acknowledgment sent {"connection_id":146792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:48:23] local.INFO: TCP Data received {"connection_id":146793,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:48:23] local.INFO: Processing buffer {"connection_id":146793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:48:23] local.INFO: IMEI packet received {"connection_id":146793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":146793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:48:23] local.INFO: TCP Data received {"connection_id":146793,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:48:23] local.INFO: Processing buffer {"connection_id":146793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:48:23] local.INFO: IMEI packet received {"connection_id":146793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":146793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:48:29] local.INFO: TCP Data received {"connection_id":146793,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:48:29] local.INFO: Processing buffer {"connection_id":146793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:48:29] local.INFO: IMEI packet received {"connection_id":146793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":146793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:48:30] local.INFO: TCP Data received {"connection_id":146793,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:48:30] local.INFO: Processing buffer {"connection_id":146793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:48:30] local.INFO: Packet analysis {"connection_id":146793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:48:30] local.INFO: Extracted packet for processing {"connection_id":146793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:48:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134070528001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785680264000,"timestamp_ms":1785680264000,"timestamp_seconds":1785680264,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d67b40"} 
[2026-08-02 19:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134070528001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134070528001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:48:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:48:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134070528001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":146793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:48:30] local.INFO: GPS data processed {"connection_id":146793,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:48:30] local.INFO: Acknowledgment sent {"connection_id":146793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:48:34] local.INFO: TCP Data received {"connection_id":149343,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:48:34] local.INFO: Processing buffer {"connection_id":149343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:48:34] local.INFO: IMEI packet received {"connection_id":149343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":149343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:48:39] local.INFO: TCP Data received {"connection_id":149343,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:48:39] local.INFO: Processing buffer {"connection_id":149343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:48:39] local.INFO: IMEI packet received {"connection_id":149343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":149343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:48:40] local.INFO: TCP Data received {"connection_id":149343,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:48:40] local.INFO: Processing buffer {"connection_id":149343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:48:40] local.INFO: Packet analysis {"connection_id":149343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:48:40] local.INFO: Extracted packet for processing {"connection_id":149343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:48:40] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134029568001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785680104000,"timestamp_ms":1785680104000,"timestamp_seconds":1785680104,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d40a40"} 
[2026-08-02 19:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134029568001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134029568001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:48:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:48:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134029568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":149343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:48:40] local.INFO: GPS data processed {"connection_id":149343,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:48:40] local.INFO: Acknowledgment sent {"connection_id":149343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:48:44] local.INFO: TCP Data received {"connection_id":149343,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:48:44] local.INFO: Processing buffer {"connection_id":149343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:48:44] local.INFO: Packet analysis {"connection_id":149343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:48:44] local.INFO: Extracted packet for processing {"connection_id":149343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134029568001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785680104000,"timestamp_ms":1785680104000,"timestamp_seconds":1785680104,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d40a40"} 
[2026-08-02 19:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134029568001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134029568001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:48:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:48:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134029568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":149343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:48:44] local.INFO: GPS data processed {"connection_id":149343,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:48:44] local.INFO: Acknowledgment sent {"connection_id":149343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:49:01] local.INFO: TCP Data received {"connection_id":146793,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:49:01] local.INFO: Processing buffer {"connection_id":146793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:49:01] local.INFO: Packet analysis {"connection_id":146793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:49:01] local.INFO: Extracted packet for processing {"connection_id":146793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:49:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134070528001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:49:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785680264000,"timestamp_ms":1785680264000,"timestamp_seconds":1785680264,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d67b40"} 
[2026-08-02 19:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134070528001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134070528001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:49:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:49:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:49:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134070528001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":146793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:49:01] local.INFO: GPS data processed {"connection_id":146793,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:49:01] local.INFO: Acknowledgment sent {"connection_id":146793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:49:23] local.INFO: TCP Data received {"connection_id":146794,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:49:23] local.INFO: Processing buffer {"connection_id":146794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:49:23] local.INFO: IMEI packet received {"connection_id":146794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":146794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:49:29] local.INFO: TCP Data received {"connection_id":146794,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:49:29] local.INFO: Processing buffer {"connection_id":146794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:49:29] local.INFO: IMEI packet received {"connection_id":146794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":146794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:49:29] local.INFO: TCP Data received {"connection_id":149344,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:49:29] local.INFO: Processing buffer {"connection_id":149344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:49:29] local.INFO: IMEI packet received {"connection_id":149344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":149344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:49:30] local.INFO: TCP Data received {"connection_id":146794,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:49:30] local.INFO: Processing buffer {"connection_id":146794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:49:30] local.INFO: Packet analysis {"connection_id":146794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:49:30] local.INFO: Extracted packet for processing {"connection_id":146794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:49:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134070528001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785680264000,"timestamp_ms":1785680264000,"timestamp_seconds":1785680264,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d67b40"} 
[2026-08-02 19:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134070528001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134070528001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:49:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:49:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134070528001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":146794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:49:30] local.INFO: GPS data processed {"connection_id":146794,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:49:30] local.INFO: Acknowledgment sent {"connection_id":146794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:49:34] local.INFO: TCP Data received {"connection_id":149344,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:49:34] local.INFO: Processing buffer {"connection_id":149344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:49:34] local.INFO: IMEI packet received {"connection_id":149344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":149344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:49:35] local.INFO: TCP Data received {"connection_id":149344,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:49:35] local.INFO: Processing buffer {"connection_id":149344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:49:35] local.INFO: Packet analysis {"connection_id":149344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:49:35] local.INFO: Extracted packet for processing {"connection_id":149344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134029568001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785680104000,"timestamp_ms":1785680104000,"timestamp_seconds":1785680104,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d40a40"} 
[2026-08-02 19:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134029568001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134029568001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:49:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134029568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":149344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:49:35] local.INFO: GPS data processed {"connection_id":149344,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:49:35] local.INFO: Acknowledgment sent {"connection_id":149344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:50:02] local.INFO: TCP Data received {"connection_id":146794,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:50:02] local.INFO: Processing buffer {"connection_id":146794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:50:02] local.INFO: Packet analysis {"connection_id":146794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:50:02] local.INFO: Extracted packet for processing {"connection_id":146794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:50:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134070528001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:50:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785680264000,"timestamp_ms":1785680264000,"timestamp_seconds":1785680264,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d67b40"} 
[2026-08-02 19:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134070528001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134070528001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:50:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:50:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:50:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134070528001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":146794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:50:02] local.INFO: GPS data processed {"connection_id":146794,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:50:02] local.INFO: Acknowledgment sent {"connection_id":146794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:50:06] local.INFO: TCP Data received {"connection_id":149344,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:50:06] local.INFO: Processing buffer {"connection_id":149344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:50:06] local.INFO: Packet analysis {"connection_id":149344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:50:06] local.INFO: Extracted packet for processing {"connection_id":149344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134029568001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785680104000,"timestamp_ms":1785680104000,"timestamp_seconds":1785680104,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d40a40"} 
[2026-08-02 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-08-02 19:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134029568001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134029568001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:50:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134029568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":149344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:50:06] local.INFO: GPS data processed {"connection_id":149344,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:50:06] local.INFO: Acknowledgment sent {"connection_id":149344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:50:23] local.INFO: TCP Data received {"connection_id":148042,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:50:23] local.INFO: Processing buffer {"connection_id":148042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:50:23] local.INFO: IMEI packet received {"connection_id":148042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":148042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:50:28] local.INFO: TCP Data received {"connection_id":148042,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:50:28] local.INFO: Processing buffer {"connection_id":148042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:50:28] local.INFO: IMEI packet received {"connection_id":148042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":148042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:50:29] local.INFO: TCP Data received {"connection_id":147007,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:50:29] local.INFO: Processing buffer {"connection_id":147007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:50:29] local.INFO: IMEI packet received {"connection_id":147007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":147007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:50:30] local.INFO: TCP Data received {"connection_id":148042,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:50:30] local.INFO: Processing buffer {"connection_id":148042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:50:30] local.INFO: Packet analysis {"connection_id":148042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:50:30] local.INFO: Extracted packet for processing {"connection_id":148042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:50:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134070528001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785680264000,"timestamp_ms":1785680264000,"timestamp_seconds":1785680264,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d67b40"} 
[2026-08-02 19:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134070528001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134070528001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:50:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:50:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134070528001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":148042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:50:30] local.INFO: GPS data processed {"connection_id":148042,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:50:30] local.INFO: Acknowledgment sent {"connection_id":148042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:50:34] local.INFO: TCP Data received {"connection_id":147007,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:50:34] local.INFO: Processing buffer {"connection_id":147007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:50:34] local.INFO: IMEI packet received {"connection_id":147007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":147007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:50:35] local.INFO: TCP Data received {"connection_id":147007,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:50:35] local.INFO: Processing buffer {"connection_id":147007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d40a40012d196700071fef08003d010e29..."} 
[2026-08-02 19:50:35] local.INFO: Packet analysis {"connection_id":147007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:50:35] local.INFO: Extracted packet for processing {"connection_id":147007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d4"} 
[2026-08-02 19:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134029568001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785680104000,"timestamp_ms":1785680104000,"timestamp_seconds":1785680104,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d40a40"} 
[2026-08-02 19:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134029568001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134029568001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:50:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134029568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":147007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:50:35] local.INFO: GPS data processed {"connection_id":147007,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:50:35] local.INFO: Acknowledgment sent {"connection_id":147007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:51:02] local.INFO: TCP Data received {"connection_id":148042,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:51:02] local.INFO: Processing buffer {"connection_id":148042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:51:02] local.INFO: Packet analysis {"connection_id":148042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:51:02] local.INFO: Extracted packet for processing {"connection_id":148042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:51:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134070528001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:51:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785680264000,"timestamp_ms":1785680264000,"timestamp_seconds":1785680264,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d67b40"} 
[2026-08-02 19:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134070528001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134070528001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:51:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:51:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:51:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134070528001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":148042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:51:02] local.INFO: GPS data processed {"connection_id":148042,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:51:02] local.INFO: Acknowledgment sent {"connection_id":148042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:51:05] local.INFO: TCP Data received {"connection_id":147007,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:51:05] local.INFO: Processing buffer {"connection_id":147007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:51:05] local.INFO: Packet analysis {"connection_id":147007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:51:05] local.INFO: Extracted packet for processing {"connection_id":147007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19: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-08-02 19:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134106624001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785680405000,"timestamp_ms":1785680405000,"timestamp_seconds":1785680405,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d8a208"} 
[2026-08-02 19:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 19:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134106624001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134106624001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:51:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134106624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":147007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:51:05] local.INFO: GPS data processed {"connection_id":147007,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:51:05] local.INFO: Acknowledgment sent {"connection_id":147007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:51:28] local.INFO: TCP Data received {"connection_id":146795,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:51:28] local.INFO: Processing buffer {"connection_id":146795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:51:28] local.INFO: IMEI packet received {"connection_id":146795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":146795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:51:28] local.INFO: TCP Data received {"connection_id":148043,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:51:28] local.INFO: Processing buffer {"connection_id":148043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:51:28] local.INFO: IMEI packet received {"connection_id":148043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":148043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:51:33] local.INFO: TCP Data received {"connection_id":148043,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:51:33] local.INFO: Processing buffer {"connection_id":148043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:51:33] local.INFO: IMEI packet received {"connection_id":148043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":148043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:51:34] local.INFO: TCP Data received {"connection_id":146795,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:51:34] local.INFO: Processing buffer {"connection_id":146795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:51:34] local.INFO: IMEI packet received {"connection_id":146795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":146795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:51:35] local.INFO: TCP Data received {"connection_id":146795,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:51:35] local.INFO: Processing buffer {"connection_id":146795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:51:35] local.INFO: Packet analysis {"connection_id":146795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:51:35] local.INFO: Extracted packet for processing {"connection_id":146795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:51:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134106624001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785680405000,"timestamp_ms":1785680405000,"timestamp_seconds":1785680405,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d8a208"} 
[2026-08-02 19:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134106624001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134106624001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:51:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:51:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134106624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":146795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:51:35] local.INFO: GPS data processed {"connection_id":146795,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:51:35] local.INFO: Acknowledgment sent {"connection_id":146795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:51:35] local.INFO: TCP Data received {"connection_id":148043,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:51:35] local.INFO: Processing buffer {"connection_id":148043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:51:35] local.INFO: Packet analysis {"connection_id":148043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:51:35] local.INFO: Extracted packet for processing {"connection_id":148043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:51:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134070528001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:51:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785680264000,"timestamp_ms":1785680264000,"timestamp_seconds":1785680264,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d67b40"} 
[2026-08-02 19:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134070528001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134070528001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:51:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:51:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:51:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134070528001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":148043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:51:35] local.INFO: GPS data processed {"connection_id":148043,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:51:35] local.INFO: Acknowledgment sent {"connection_id":148043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:52:06] local.INFO: TCP Data received {"connection_id":146795,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:52:06] local.INFO: Processing buffer {"connection_id":146795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:52:06] local.INFO: Packet analysis {"connection_id":146795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:52:06] local.INFO: Extracted packet for processing {"connection_id":146795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134106624001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785680405000,"timestamp_ms":1785680405000,"timestamp_seconds":1785680405,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d8a208"} 
[2026-08-02 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-08-02 19:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134106624001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134106624001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:52:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134106624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":146795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:52:06] local.INFO: GPS data processed {"connection_id":146795,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:52:06] local.INFO: Acknowledgment sent {"connection_id":146795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:52:06] local.INFO: TCP Data received {"connection_id":148043,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:52:06] local.INFO: Processing buffer {"connection_id":148043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:52:06] local.INFO: Packet analysis {"connection_id":148043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:52:06] local.INFO: Extracted packet for processing {"connection_id":148043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:52:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134070528001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:52:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785680264000,"timestamp_ms":1785680264000,"timestamp_seconds":1785680264,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d67b40"} 
[2026-08-02 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-08-02 19:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:52: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-08-02 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-08-02 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-08-02 19:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134070528001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134070528001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:52:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:52:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:52:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134070528001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":148043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:52:06] local.INFO: GPS data processed {"connection_id":148043,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:52:06] local.INFO: Acknowledgment sent {"connection_id":148043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:52:24] local.INFO: TCP Data received {"connection_id":148044,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:52:24] local.INFO: Processing buffer {"connection_id":148044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:52:24] local.INFO: IMEI packet received {"connection_id":148044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":148044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:52:28] local.INFO: TCP Data received {"connection_id":147008,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:52:28] local.INFO: Processing buffer {"connection_id":147008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:52:28] local.INFO: IMEI packet received {"connection_id":147008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":147008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:52:29] local.INFO: TCP Data received {"connection_id":148044,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:52:29] local.INFO: Processing buffer {"connection_id":148044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:52:29] local.INFO: IMEI packet received {"connection_id":148044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":148044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:52:30] local.INFO: TCP Data received {"connection_id":148044,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:52:30] local.INFO: Processing buffer {"connection_id":148044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:52:30] local.INFO: Packet analysis {"connection_id":148044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:52:30] local.INFO: Extracted packet for processing {"connection_id":148044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:52:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134070528001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785680264000,"timestamp_ms":1785680264000,"timestamp_seconds":1785680264,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d67b40"} 
[2026-08-02 19:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134070528001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134070528001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:52:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:52:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134070528001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":148044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:52:30] local.INFO: GPS data processed {"connection_id":148044,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:52:30] local.INFO: Acknowledgment sent {"connection_id":148044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:52:34] local.INFO: TCP Data received {"connection_id":147008,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:52:34] local.INFO: Processing buffer {"connection_id":147008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:52:34] local.INFO: IMEI packet received {"connection_id":147008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":147008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:52:35] local.INFO: TCP Data received {"connection_id":147008,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:52:35] local.INFO: Processing buffer {"connection_id":147008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:52:35] local.INFO: Packet analysis {"connection_id":147008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:52:35] local.INFO: Extracted packet for processing {"connection_id":147008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134106624001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785680405000,"timestamp_ms":1785680405000,"timestamp_seconds":1785680405,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d8a208"} 
[2026-08-02 19:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134106624001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134106624001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:52:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134106624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":147008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:52:35] local.INFO: GPS data processed {"connection_id":147008,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:52:35] local.INFO: Acknowledgment sent {"connection_id":147008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:53:02] local.INFO: TCP Data received {"connection_id":148044,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:53:02] local.INFO: Processing buffer {"connection_id":148044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d67b40012cc330c007685958005800c527..."} 
[2026-08-02 19:53:02] local.INFO: Packet analysis {"connection_id":148044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:53:02] local.INFO: Extracted packet for processing {"connection_id":148044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d6"} 
[2026-08-02 19:53:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134070528001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785680264000,"timestamp_ms":1785680264000,"timestamp_seconds":1785680264,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d67b40"} 
[2026-08-02 19:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-02 19:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134070528001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134070528001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:53:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:53:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:53:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134070528001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":148044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:53:02] local.INFO: GPS data processed {"connection_id":148044,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:53:02] local.INFO: Acknowledgment sent {"connection_id":148044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:53:06] local.INFO: TCP Data received {"connection_id":147008,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:53:06] local.INFO: Processing buffer {"connection_id":147008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:53:06] local.INFO: Packet analysis {"connection_id":147008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:53:06] local.INFO: Extracted packet for processing {"connection_id":147008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134106624001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785680405000,"timestamp_ms":1785680405000,"timestamp_seconds":1785680405,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d8a208"} 
[2026-08-02 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-08-02 19:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134106624001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134106624001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:53:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134106624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":147008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:53:06] local.INFO: GPS data processed {"connection_id":147008,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:53:06] local.INFO: Acknowledgment sent {"connection_id":147008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:53:23] local.INFO: TCP Data received {"connection_id":146796,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:53:23] local.INFO: Processing buffer {"connection_id":146796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:53:23] local.INFO: IMEI packet received {"connection_id":146796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":146796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:53:24] local.INFO: TCP Data received {"connection_id":146796,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:53:24] local.INFO: Processing buffer {"connection_id":146796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:53:24] local.INFO: IMEI packet received {"connection_id":146796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":146796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:53:29] local.INFO: TCP Data received {"connection_id":146796,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:53:29] local.INFO: Processing buffer {"connection_id":146796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:53:29] local.INFO: IMEI packet received {"connection_id":146796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":146796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:53:30] local.INFO: TCP Data received {"connection_id":146796,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:53:30] local.INFO: Processing buffer {"connection_id":146796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:53:30] local.INFO: Packet analysis {"connection_id":146796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:53:30] local.INFO: Extracted packet for processing {"connection_id":146796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:53:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134147584001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785680565000,"timestamp_ms":1785680565000,"timestamp_seconds":1785680565,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2db1308"} 
[2026-08-02 19:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 19:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134147584001,"66":25147,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134147584001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:53:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:53:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134147584001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":146796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:53:30] local.INFO: GPS data processed {"connection_id":146796,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:53:30] local.INFO: Acknowledgment sent {"connection_id":146796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:53:34] local.INFO: TCP Data received {"connection_id":149345,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:53:34] local.INFO: Processing buffer {"connection_id":149345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:53:34] local.INFO: IMEI packet received {"connection_id":149345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":149345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:53:39] local.INFO: TCP Data received {"connection_id":149345,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:53:39] local.INFO: Processing buffer {"connection_id":149345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:53:39] local.INFO: IMEI packet received {"connection_id":149345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":149345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:53:40] local.INFO: TCP Data received {"connection_id":149345,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:53:40] local.INFO: Processing buffer {"connection_id":149345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:53:40] local.INFO: Packet analysis {"connection_id":149345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:53:40] local.INFO: Extracted packet for processing {"connection_id":149345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:53:40] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134106624001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785680405000,"timestamp_ms":1785680405000,"timestamp_seconds":1785680405,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d8a208"} 
[2026-08-02 19:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19: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-08-02 19:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134106624001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134106624001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:53:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:53:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134106624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":149345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:53:40] local.INFO: GPS data processed {"connection_id":149345,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:53:40] local.INFO: Acknowledgment sent {"connection_id":149345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:53:44] local.INFO: TCP Data received {"connection_id":149345,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:53:44] local.INFO: Processing buffer {"connection_id":149345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:53:44] local.INFO: Packet analysis {"connection_id":149345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:53:44] local.INFO: Extracted packet for processing {"connection_id":149345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134106624001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785680405000,"timestamp_ms":1785680405000,"timestamp_seconds":1785680405,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d8a208"} 
[2026-08-02 19:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134106624001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134106624001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:53:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:53:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134106624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":149345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:53:44] local.INFO: GPS data processed {"connection_id":149345,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:53:44] local.INFO: Acknowledgment sent {"connection_id":149345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:54:02] local.INFO: TCP Data received {"connection_id":146796,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:54:02] local.INFO: Processing buffer {"connection_id":146796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:54:02] local.INFO: Packet analysis {"connection_id":146796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:54:02] local.INFO: Extracted packet for processing {"connection_id":146796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:54:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134147584001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:54:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785680565000,"timestamp_ms":1785680565000,"timestamp_seconds":1785680565,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2db1308"} 
[2026-08-02 19:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 19:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134147584001,"66":25147,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134147584001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:54:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:54:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:54:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134147584001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":146796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:54:02] local.INFO: GPS data processed {"connection_id":146796,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:54:02] local.INFO: Acknowledgment sent {"connection_id":146796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:54:23] local.INFO: TCP Data received {"connection_id":146797,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:54:23] local.INFO: Processing buffer {"connection_id":146797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:54:23] local.INFO: IMEI packet received {"connection_id":146797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":146797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:54:28] local.INFO: TCP Data received {"connection_id":146797,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:54:28] local.INFO: Processing buffer {"connection_id":146797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:54:28] local.INFO: IMEI packet received {"connection_id":146797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":146797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:54:29] local.INFO: TCP Data received {"connection_id":149346,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:54:29] local.INFO: Processing buffer {"connection_id":149346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:54:29] local.INFO: IMEI packet received {"connection_id":149346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":149346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:54:30] local.INFO: TCP Data received {"connection_id":146797,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:54:30] local.INFO: Processing buffer {"connection_id":146797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:54:30] local.INFO: Packet analysis {"connection_id":146797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:54:30] local.INFO: Extracted packet for processing {"connection_id":146797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:54:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134147584001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785680565000,"timestamp_ms":1785680565000,"timestamp_seconds":1785680565,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2db1308"} 
[2026-08-02 19:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 19:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134147584001,"66":25147,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134147584001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:54:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:54:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134147584001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":146797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:54:30] local.INFO: GPS data processed {"connection_id":146797,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:54:30] local.INFO: Acknowledgment sent {"connection_id":146797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:54:34] local.INFO: TCP Data received {"connection_id":149346,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:54:34] local.INFO: Processing buffer {"connection_id":149346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:54:34] local.INFO: IMEI packet received {"connection_id":149346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":149346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:54:35] local.INFO: TCP Data received {"connection_id":149346,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:54:35] local.INFO: Processing buffer {"connection_id":149346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:54:35] local.INFO: Packet analysis {"connection_id":149346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:54:35] local.INFO: Extracted packet for processing {"connection_id":149346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134106624001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785680405000,"timestamp_ms":1785680405000,"timestamp_seconds":1785680405,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d8a208"} 
[2026-08-02 19:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134106624001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134106624001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:54:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134106624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":149346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:54:35] local.INFO: GPS data processed {"connection_id":149346,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:54:35] local.INFO: Acknowledgment sent {"connection_id":149346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:55:02] local.INFO: TCP Data received {"connection_id":146797,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:55:02] local.INFO: Processing buffer {"connection_id":146797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:55:02] local.INFO: Packet analysis {"connection_id":146797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:55:02] local.INFO: Extracted packet for processing {"connection_id":146797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:55:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134147584001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785680565000,"timestamp_ms":1785680565000,"timestamp_seconds":1785680565,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2db1308"} 
[2026-08-02 19:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 19:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134147584001,"66":25147,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134147584001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:55:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:55:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:55:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134147584001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":146797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:55:02] local.INFO: GPS data processed {"connection_id":146797,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:55:02] local.INFO: Acknowledgment sent {"connection_id":146797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:55:06] local.INFO: TCP Data received {"connection_id":149346,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:55:06] local.INFO: Processing buffer {"connection_id":149346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:55:06] local.INFO: Packet analysis {"connection_id":149346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:55:06] local.INFO: Extracted packet for processing {"connection_id":149346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134106624001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785680405000,"timestamp_ms":1785680405000,"timestamp_seconds":1785680405,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d8a208"} 
[2026-08-02 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-08-02 19:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134106624001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134106624001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:55:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134106624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":149346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:55:06] local.INFO: GPS data processed {"connection_id":149346,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:55:06] local.INFO: Acknowledgment sent {"connection_id":149346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:55:29] local.INFO: TCP Data received {"connection_id":146798,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:55:29] local.INFO: Processing buffer {"connection_id":146798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:55:29] local.INFO: IMEI packet received {"connection_id":146798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":146798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:55:29] local.INFO: TCP Data received {"connection_id":148045,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:55:29] local.INFO: Processing buffer {"connection_id":148045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:55:29] local.INFO: IMEI packet received {"connection_id":148045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":148045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:55:33] local.INFO: TCP Data received {"connection_id":146798,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:55:33] local.INFO: Processing buffer {"connection_id":146798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:55:33] local.INFO: IMEI packet received {"connection_id":146798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":146798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:55:34] local.INFO: TCP Data received {"connection_id":148045,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:55:34] local.INFO: Processing buffer {"connection_id":148045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:55:34] local.INFO: IMEI packet received {"connection_id":148045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":148045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:55:35] local.INFO: TCP Data received {"connection_id":146798,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:55:35] local.INFO: Processing buffer {"connection_id":146798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:55:35] local.INFO: Packet analysis {"connection_id":146798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:55:35] local.INFO: Extracted packet for processing {"connection_id":146798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:55:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134147584001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785680565000,"timestamp_ms":1785680565000,"timestamp_seconds":1785680565,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2db1308"} 
[2026-08-02 19:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 19:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:55:35] local.INFO: TCP Data received {"connection_id":148045,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134147584001,"66":25147,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:55:35] local.INFO: Processing buffer {"connection_id":148045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2d8a208012d196700071fef08003d010e27..."} 
[2026-08-02 19:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:55:35] local.INFO: Packet analysis {"connection_id":148045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:55:35] local.INFO: Extracted packet for processing {"connection_id":148045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2d8"} 
[2026-08-02 19:55:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134147584001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:55:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134106624001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134147584001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785680405000,"timestamp_ms":1785680405000,"timestamp_seconds":1785680405,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2d8a208"} 
[2026-08-02 19:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 19:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134106624001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134106624001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:55:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134106624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":146798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:55:35] local.INFO: GPS data processed {"connection_id":146798,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:55:35] local.INFO: Acknowledgment sent {"connection_id":146798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":148045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:55:35] local.INFO: GPS data processed {"connection_id":148045,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:55:35] local.INFO: Acknowledgment sent {"connection_id":148045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:55:39] local.INFO: TCP Data received {"connection_id":146798,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:55:39] local.INFO: Processing buffer {"connection_id":146798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:55:39] local.INFO: Packet analysis {"connection_id":146798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:55:39] local.INFO: Extracted packet for processing {"connection_id":146798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:55:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134147584001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785680565000,"timestamp_ms":1785680565000,"timestamp_seconds":1785680565,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2db1308"} 
[2026-08-02 19:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19: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-08-02 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 19:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134147584001,"66":25147,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134147584001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:55:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:55:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:55:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134147584001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":146798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:55:39] local.INFO: GPS data processed {"connection_id":146798,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:55:39] local.INFO: Acknowledgment sent {"connection_id":146798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:56:05] local.INFO: TCP Data received {"connection_id":148045,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:56:05] local.INFO: Processing buffer {"connection_id":148045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:56:05] local.INFO: Packet analysis {"connection_id":148045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:56:05] local.INFO: Extracted packet for processing {"connection_id":148045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134183680001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785680706000,"timestamp_ms":1785680706000,"timestamp_seconds":1785680706,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dd39d0"} 
[2026-08-02 19:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:56:05] 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-08-02 19:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134183680001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134183680001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:56:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134183680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":148045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:56:06] local.INFO: GPS data processed {"connection_id":148045,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:56:06] local.INFO: Acknowledgment sent {"connection_id":148045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:56:24] local.INFO: TCP Data received {"connection_id":149347,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:56:24] local.INFO: Processing buffer {"connection_id":149347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:56:24] local.INFO: IMEI packet received {"connection_id":149347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":149347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:56:28] local.INFO: TCP Data received {"connection_id":149348,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:56:28] local.INFO: Processing buffer {"connection_id":149348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:56:28] local.INFO: IMEI packet received {"connection_id":149348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":149348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:56:28] local.INFO: TCP Data received {"connection_id":149347,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:56:28] local.INFO: Processing buffer {"connection_id":149347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:56:28] local.INFO: IMEI packet received {"connection_id":149347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":149347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:56:30] local.INFO: TCP Data received {"connection_id":149347,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:56:30] local.INFO: Processing buffer {"connection_id":149347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:56:30] local.INFO: Packet analysis {"connection_id":149347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:56:30] local.INFO: Extracted packet for processing {"connection_id":149347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:56:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134147584001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785680565000,"timestamp_ms":1785680565000,"timestamp_seconds":1785680565,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2db1308"} 
[2026-08-02 19:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 19:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134147584001,"66":25147,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134147584001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:56:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:56:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134147584001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":149347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:56:30] local.INFO: GPS data processed {"connection_id":149347,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:56:30] local.INFO: Acknowledgment sent {"connection_id":149347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:56:34] local.INFO: TCP Data received {"connection_id":149348,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:56:34] local.INFO: Processing buffer {"connection_id":149348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:56:34] local.INFO: IMEI packet received {"connection_id":149348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":149348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:56:35] local.INFO: TCP Data received {"connection_id":149348,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:56:35] local.INFO: Processing buffer {"connection_id":149348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:56:35] local.INFO: Packet analysis {"connection_id":149348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:56:35] local.INFO: Extracted packet for processing {"connection_id":149348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:56:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134183680001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785680706000,"timestamp_ms":1785680706000,"timestamp_seconds":1785680706,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dd39d0"} 
[2026-08-02 19:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134183680001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134183680001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:56:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:56:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134183680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":149348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:56:35] local.INFO: GPS data processed {"connection_id":149348,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:56:35] local.INFO: Acknowledgment sent {"connection_id":149348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:57:01] local.INFO: TCP Data received {"connection_id":149347,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:57:01] local.INFO: Processing buffer {"connection_id":149347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:57:01] local.INFO: Packet analysis {"connection_id":149347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:57:01] local.INFO: Extracted packet for processing {"connection_id":149347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:57:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134147584001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:57:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785680565000,"timestamp_ms":1785680565000,"timestamp_seconds":1785680565,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2db1308"} 
[2026-08-02 19:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 19:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134147584001,"66":25147,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134147584001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:57:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:57:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:57:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134147584001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":149347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:57:01] local.INFO: GPS data processed {"connection_id":149347,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:57:01] local.INFO: Acknowledgment sent {"connection_id":149347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:57:06] local.INFO: TCP Data received {"connection_id":149348,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:57:06] local.INFO: Processing buffer {"connection_id":149348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:57:06] local.INFO: Packet analysis {"connection_id":149348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:57:06] local.INFO: Extracted packet for processing {"connection_id":149348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134183680001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785680706000,"timestamp_ms":1785680706000,"timestamp_seconds":1785680706,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dd39d0"} 
[2026-08-02 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-08-02 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134183680001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134183680001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:57:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134183680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":149348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:57:06] local.INFO: GPS data processed {"connection_id":149348,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:57:06] local.INFO: Acknowledgment sent {"connection_id":149348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:57:23] local.INFO: TCP Data received {"connection_id":148046,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:57:23] local.INFO: Processing buffer {"connection_id":148046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:57:23] local.INFO: IMEI packet received {"connection_id":148046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":148046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:57:28] local.INFO: TCP Data received {"connection_id":148046,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:57:28] local.INFO: Processing buffer {"connection_id":148046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:57:28] local.INFO: IMEI packet received {"connection_id":148046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":148046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:57:28] local.INFO: TCP Data received {"connection_id":147009,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:57:28] local.INFO: Processing buffer {"connection_id":147009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:57:28] local.INFO: IMEI packet received {"connection_id":147009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":147009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:57:29] local.INFO: TCP Data received {"connection_id":148046,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:57:29] local.INFO: Processing buffer {"connection_id":148046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:57:29] local.INFO: Packet analysis {"connection_id":148046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:57:29] local.INFO: Extracted packet for processing {"connection_id":148046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:57:29] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134147584001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785680565000,"timestamp_ms":1785680565000,"timestamp_seconds":1785680565,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2db1308"} 
[2026-08-02 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-08-02 19:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 19:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134147584001,"66":25147,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134147584001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:57:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:57:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134147584001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":148046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:57:30] local.INFO: GPS data processed {"connection_id":148046,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:57:30] local.INFO: Acknowledgment sent {"connection_id":148046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:57:34] local.INFO: TCP Data received {"connection_id":147009,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:57:34] local.INFO: Processing buffer {"connection_id":147009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:57:34] local.INFO: IMEI packet received {"connection_id":147009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":147009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:57:35] local.INFO: TCP Data received {"connection_id":147009,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:57:35] local.INFO: Processing buffer {"connection_id":147009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:57:35] local.INFO: Packet analysis {"connection_id":147009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:57:35] local.INFO: Extracted packet for processing {"connection_id":147009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134183680001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785680706000,"timestamp_ms":1785680706000,"timestamp_seconds":1785680706,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dd39d0"} 
[2026-08-02 19:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134183680001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134183680001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:57:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134183680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":147009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:57:35] local.INFO: GPS data processed {"connection_id":147009,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:57:35] local.INFO: Acknowledgment sent {"connection_id":147009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:58:01] local.INFO: TCP Data received {"connection_id":148046,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:58:01] local.INFO: Processing buffer {"connection_id":148046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2db1308012cc330c007685958005800c52a..."} 
[2026-08-02 19:58:01] local.INFO: Packet analysis {"connection_id":148046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:58:01] local.INFO: Extracted packet for processing {"connection_id":148046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2db"} 
[2026-08-02 19:58:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 19:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134147584001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785680565000,"timestamp_ms":1785680565000,"timestamp_seconds":1785680565,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2db1308"} 
[2026-08-02 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-08-02 19:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 19:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 19:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134147584001,"66":25147,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134147584001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:58:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:58:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:58:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134147584001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":148046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:58:01] local.INFO: GPS data processed {"connection_id":148046,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:58:01] local.INFO: Acknowledgment sent {"connection_id":148046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:58:06] local.INFO: TCP Data received {"connection_id":147009,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:58:06] local.INFO: Processing buffer {"connection_id":147009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:58:06] local.INFO: Packet analysis {"connection_id":147009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:58:06] local.INFO: Extracted packet for processing {"connection_id":147009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134183680001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785680706000,"timestamp_ms":1785680706000,"timestamp_seconds":1785680706,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dd39d0"} 
[2026-08-02 19:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134183680001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134183680001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:58:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134183680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":147009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:58:06] local.INFO: GPS data processed {"connection_id":147009,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:58:06] local.INFO: Acknowledgment sent {"connection_id":147009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:58:23] local.INFO: TCP Data received {"connection_id":149349,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:58:23] local.INFO: Processing buffer {"connection_id":149349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:58:23] local.INFO: IMEI packet received {"connection_id":149349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":149349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:58:24] local.INFO: TCP Data received {"connection_id":149349,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:58:24] local.INFO: Processing buffer {"connection_id":149349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:58:24] local.INFO: IMEI packet received {"connection_id":149349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":149349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:58:29] local.INFO: TCP Data received {"connection_id":149349,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:58:29] local.INFO: Processing buffer {"connection_id":149349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:58:29] local.INFO: IMEI packet received {"connection_id":149349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":149349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:58:30] local.INFO: TCP Data received {"connection_id":149349,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 19:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 19:58:30] local.INFO: Processing buffer {"connection_id":149349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 19:58:30] local.INFO: Packet analysis {"connection_id":149349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 19:58:30] local.INFO: Extracted packet for processing {"connection_id":149349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 19:58:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134224640001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785680866000,"timestamp_ms":1785680866000,"timestamp_seconds":1785680866,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dfaad0"} 
[2026-08-02 19:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-02 19:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134224640001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134224640001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:58:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:58:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134224640001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":149349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:58:30] local.INFO: GPS data processed {"connection_id":149349,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:58:30] local.INFO: Acknowledgment sent {"connection_id":149349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:58:34] local.INFO: TCP Data received {"connection_id":148047,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:58:34] local.INFO: Processing buffer {"connection_id":148047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:58:34] local.INFO: IMEI packet received {"connection_id":148047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":148047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:58:39] local.INFO: TCP Data received {"connection_id":148047,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:58:39] local.INFO: Processing buffer {"connection_id":148047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:58:39] local.INFO: IMEI packet received {"connection_id":148047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":148047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:58:40] local.INFO: TCP Data received {"connection_id":148047,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:58:40] local.INFO: Processing buffer {"connection_id":148047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:58:40] local.INFO: Packet analysis {"connection_id":148047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:58:40] local.INFO: Extracted packet for processing {"connection_id":148047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134183680001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785680706000,"timestamp_ms":1785680706000,"timestamp_seconds":1785680706,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dd39d0"} 
[2026-08-02 19:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134183680001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134183680001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:58:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:58:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134183680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":148047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:58:40] local.INFO: GPS data processed {"connection_id":148047,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:58:40] local.INFO: Acknowledgment sent {"connection_id":148047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:58:44] local.INFO: TCP Data received {"connection_id":148047,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:58:44] local.INFO: Processing buffer {"connection_id":148047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:58:44] local.INFO: Packet analysis {"connection_id":148047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:58:44] local.INFO: Extracted packet for processing {"connection_id":148047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134183680001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785680706000,"timestamp_ms":1785680706000,"timestamp_seconds":1785680706,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dd39d0"} 
[2026-08-02 19:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134183680001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134183680001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:58:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:58:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134183680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":148047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:58:44] local.INFO: GPS data processed {"connection_id":148047,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:58:44] local.INFO: Acknowledgment sent {"connection_id":148047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:59:02] local.INFO: TCP Data received {"connection_id":149349,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 19:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 19:59:02] local.INFO: Processing buffer {"connection_id":149349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 19:59:02] local.INFO: Packet analysis {"connection_id":149349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 19:59:02] local.INFO: Extracted packet for processing {"connection_id":149349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 19:59:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134224640001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:59:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785680866000,"timestamp_ms":1785680866000,"timestamp_seconds":1785680866,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dfaad0"} 
[2026-08-02 19:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-02 19:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134224640001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134224640001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:59:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:59:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:59:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134224640001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":149349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:59:02] local.INFO: GPS data processed {"connection_id":149349,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:59:02] local.INFO: Acknowledgment sent {"connection_id":149349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:59:25] local.INFO: TCP Data received {"connection_id":146799,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:59:25] local.INFO: Processing buffer {"connection_id":146799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:59:25] local.INFO: IMEI packet received {"connection_id":146799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 19:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":146799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:59:29] local.INFO: TCP Data received {"connection_id":146799,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:59:29] local.INFO: Processing buffer {"connection_id":146799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 19:59:29] local.INFO: IMEI packet received {"connection_id":146799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 19:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":146799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:59:29] local.INFO: TCP Data received {"connection_id":149350,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:59:29] local.INFO: Processing buffer {"connection_id":149350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:59:29] local.INFO: IMEI packet received {"connection_id":149350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 19:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":149350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 19:59:30] local.INFO: TCP Data received {"connection_id":146799,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 19:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 19:59:30] local.INFO: Processing buffer {"connection_id":146799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 19:59:30] local.INFO: Packet analysis {"connection_id":146799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 19:59:30] local.INFO: Extracted packet for processing {"connection_id":146799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 19:59:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134224640001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785680866000,"timestamp_ms":1785680866000,"timestamp_seconds":1785680866,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dfaad0"} 
[2026-08-02 19:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-02 19:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134224640001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134224640001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:59:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:59:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134224640001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":146799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:59:30] local.INFO: GPS data processed {"connection_id":146799,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:59:30] local.INFO: Acknowledgment sent {"connection_id":146799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:59:34] local.INFO: TCP Data received {"connection_id":149350,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:59:34] local.INFO: Processing buffer {"connection_id":149350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 19:59:34] local.INFO: IMEI packet received {"connection_id":149350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 19:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":149350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 19:59:34] local.INFO: TCP Data received {"connection_id":146799,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 19:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 19:59:34] local.INFO: Processing buffer {"connection_id":146799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 19:59:34] local.INFO: Packet analysis {"connection_id":146799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 19:59:34] local.INFO: Extracted packet for processing {"connection_id":146799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 19:59:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 19:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134224640001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 19:59:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 19:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785680866000,"timestamp_ms":1785680866000,"timestamp_seconds":1785680866,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dfaad0"} 
[2026-08-02 19:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-02 19:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 19:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 19:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 19:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134224640001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 19:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 19:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 19:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134224640001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:59:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 19:59:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 19:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:59:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 19:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134224640001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 19:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":146799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:59:34] local.INFO: GPS data processed {"connection_id":146799,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:59:34] local.INFO: Acknowledgment sent {"connection_id":146799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 19:59:35] local.INFO: TCP Data received {"connection_id":149350,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:59:35] local.INFO: Processing buffer {"connection_id":149350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 19:59:35] local.INFO: Packet analysis {"connection_id":149350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:59:35] local.INFO: Extracted packet for processing {"connection_id":149350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 19:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 19:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 19:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134183680001,"note":"Value kept but may cause issues"} 
[2026-08-02 19:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 19:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 19:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 19:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785680706000,"timestamp_ms":1785680706000,"timestamp_seconds":1785680706,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dd39d0"} 
[2026-08-02 19:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 19:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 19:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 19:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 19:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 19:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 19:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 19:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 19:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 19:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 19:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 19:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 19:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134183680001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 19:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 19:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 19:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134183680001,"description":"Unknown IO ID 0"} 
[2026-08-02 19:59:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 19:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 19:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 19:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 19:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134183680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 19:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":149350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 19:59:35] local.INFO: GPS data processed {"connection_id":149350,"processed":1,"errors":0,"total":1} 
[2026-08-02 19:59:35] local.INFO: Acknowledgment sent {"connection_id":149350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:00:06] local.INFO: TCP Data received {"connection_id":149350,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 20:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 20:00:06] local.INFO: Processing buffer {"connection_id":149350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 20:00:06] local.INFO: Packet analysis {"connection_id":149350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 20:00:06] local.INFO: Extracted packet for processing {"connection_id":149350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134183680001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785680706000,"timestamp_ms":1785680706000,"timestamp_seconds":1785680706,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dd39d0"} 
[2026-08-02 20:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134183680001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134183680001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:00:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134183680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":149350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:00:06] local.INFO: GPS data processed {"connection_id":149350,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:00:06] local.INFO: Acknowledgment sent {"connection_id":149350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:00:06] local.INFO: TCP Data received {"connection_id":146799,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:00:06] local.INFO: Processing buffer {"connection_id":146799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:00:06] local.INFO: Packet analysis {"connection_id":146799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 20:00:06] local.INFO: Extracted packet for processing {"connection_id":146799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134224640001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785680866000,"timestamp_ms":1785680866000,"timestamp_seconds":1785680866,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dfaad0"} 
[2026-08-02 20:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-02 20:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134224640001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134224640001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:00:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:00:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134224640001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":146799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:00:06] local.INFO: GPS data processed {"connection_id":146799,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:00:06] local.INFO: Acknowledgment sent {"connection_id":146799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:00:23] local.INFO: TCP Data received {"connection_id":148048,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:00:23] local.INFO: Processing buffer {"connection_id":148048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:00:23] local.INFO: IMEI packet received {"connection_id":148048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":148048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:00:28] local.INFO: TCP Data received {"connection_id":148048,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:00:28] local.INFO: Processing buffer {"connection_id":148048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:00:28] local.INFO: IMEI packet received {"connection_id":148048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":148048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:00:29] local.INFO: TCP Data received {"connection_id":149351,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:00:29] local.INFO: Processing buffer {"connection_id":149351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:00:29] local.INFO: IMEI packet received {"connection_id":149351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":149351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:00:30] local.INFO: TCP Data received {"connection_id":148048,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:00:30] local.INFO: Processing buffer {"connection_id":148048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:00:30] local.INFO: Packet analysis {"connection_id":148048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 20:00:30] local.INFO: Extracted packet for processing {"connection_id":148048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 20:00:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134224640001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785680866000,"timestamp_ms":1785680866000,"timestamp_seconds":1785680866,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dfaad0"} 
[2026-08-02 20:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-02 20:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134224640001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134224640001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:00:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:00:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134224640001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":148048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:00:30] local.INFO: GPS data processed {"connection_id":148048,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:00:30] local.INFO: Acknowledgment sent {"connection_id":148048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:00:34] local.INFO: TCP Data received {"connection_id":149351,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:00:34] local.INFO: Processing buffer {"connection_id":149351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:00:34] local.INFO: IMEI packet received {"connection_id":149351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":149351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:00:35] local.INFO: TCP Data received {"connection_id":149351,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 20:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 20:00:35] local.INFO: Processing buffer {"connection_id":149351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dd39d0012d196700071fef08003d010e25..."} 
[2026-08-02 20:00:35] local.INFO: Packet analysis {"connection_id":149351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 20:00:35] local.INFO: Extracted packet for processing {"connection_id":149351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2dd"} 
[2026-08-02 20:00:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134183680001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785680706000,"timestamp_ms":1785680706000,"timestamp_seconds":1785680706,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dd39d0"} 
[2026-08-02 20:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134183680001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134183680001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:00:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:00:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134183680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":149351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:00:35] local.INFO: GPS data processed {"connection_id":149351,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:00:35] local.INFO: Acknowledgment sent {"connection_id":149351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:01:01] local.INFO: TCP Data received {"connection_id":148048,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:01:01] local.INFO: Processing buffer {"connection_id":148048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:01:01] local.INFO: Packet analysis {"connection_id":148048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 20:01:01] local.INFO: Extracted packet for processing {"connection_id":148048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 20:01:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134224640001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:01:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785680866000,"timestamp_ms":1785680866000,"timestamp_seconds":1785680866,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dfaad0"} 
[2026-08-02 20:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-02 20:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134224640001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134224640001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:01:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:01:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:01:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134224640001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":148048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:01:01] local.INFO: GPS data processed {"connection_id":148048,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:01:01] local.INFO: Acknowledgment sent {"connection_id":148048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:01:05] local.INFO: TCP Data received {"connection_id":149351,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:01:05] local.INFO: Processing buffer {"connection_id":149351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:01:05] local.INFO: Packet analysis {"connection_id":149351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:01:05] local.INFO: Extracted packet for processing {"connection_id":149351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134260736001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681007000,"timestamp_ms":1785681007000,"timestamp_seconds":1785681007,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e1d198"} 
[2026-08-02 20:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134260736001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134260736001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:01:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134260736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":149351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:01:06] local.INFO: GPS data processed {"connection_id":149351,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:01:06] local.INFO: Acknowledgment sent {"connection_id":149351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:01:23] local.INFO: TCP Data received {"connection_id":147010,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:01:23] local.INFO: Processing buffer {"connection_id":147010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:01:23] local.INFO: IMEI packet received {"connection_id":147010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":147010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:01:28] local.INFO: TCP Data received {"connection_id":147010,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:01:28] local.INFO: Processing buffer {"connection_id":147010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:01:28] local.INFO: IMEI packet received {"connection_id":147010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":147010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:01:28] local.INFO: TCP Data received {"connection_id":147011,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:01:28] local.INFO: Processing buffer {"connection_id":147011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:01:28] local.INFO: IMEI packet received {"connection_id":147011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":147011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:01:31] local.INFO: TCP Data received {"connection_id":147010,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:01:31] local.INFO: Processing buffer {"connection_id":147010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:01:31] local.INFO: Packet analysis {"connection_id":147010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 20:01:31] local.INFO: Extracted packet for processing {"connection_id":147010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 20:01:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134224640001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:01:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785680866000,"timestamp_ms":1785680866000,"timestamp_seconds":1785680866,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dfaad0"} 
[2026-08-02 20:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-02 20:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134224640001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134224640001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:01:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:01:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:01:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134224640001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":147010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:01:31] local.INFO: GPS data processed {"connection_id":147010,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:01:31] local.INFO: Acknowledgment sent {"connection_id":147010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:01:34] local.INFO: TCP Data received {"connection_id":147011,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:01:34] local.INFO: Processing buffer {"connection_id":147011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:01:34] local.INFO: IMEI packet received {"connection_id":147011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":147011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:01:35] local.INFO: TCP Data received {"connection_id":147011,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:01:35] local.INFO: Processing buffer {"connection_id":147011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:01:35] local.INFO: Packet analysis {"connection_id":147011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:01:35] local.INFO: Extracted packet for processing {"connection_id":147011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134260736001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785681007000,"timestamp_ms":1785681007000,"timestamp_seconds":1785681007,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e1d198"} 
[2026-08-02 20:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20: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-08-02 20:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134260736001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134260736001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:01:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134260736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":147011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:01:35] local.INFO: GPS data processed {"connection_id":147011,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:01:35] local.INFO: Acknowledgment sent {"connection_id":147011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:02:02] local.INFO: TCP Data received {"connection_id":147010,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:02:02] local.INFO: Processing buffer {"connection_id":147010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:02:02] local.INFO: Packet analysis {"connection_id":147010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 20:02:02] local.INFO: Extracted packet for processing {"connection_id":147010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 20:02:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134224640001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785680866000,"timestamp_ms":1785680866000,"timestamp_seconds":1785680866,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dfaad0"} 
[2026-08-02 20:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-02 20:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134224640001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134224640001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:02:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:02:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:02:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134224640001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":147010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:02:02] local.INFO: GPS data processed {"connection_id":147010,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:02:02] local.INFO: Acknowledgment sent {"connection_id":147010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:02:06] local.INFO: TCP Data received {"connection_id":147011,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:02:06] local.INFO: Processing buffer {"connection_id":147011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:02:06] local.INFO: Packet analysis {"connection_id":147011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:02:06] local.INFO: Extracted packet for processing {"connection_id":147011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134260736001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785681007000,"timestamp_ms":1785681007000,"timestamp_seconds":1785681007,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e1d198"} 
[2026-08-02 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-08-02 20:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134260736001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134260736001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:02:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134260736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":147011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:02:06] local.INFO: GPS data processed {"connection_id":147011,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:02:06] local.INFO: Acknowledgment sent {"connection_id":147011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:02:23] local.INFO: TCP Data received {"connection_id":149352,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:02:23] local.INFO: Processing buffer {"connection_id":149352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:02:23] local.INFO: IMEI packet received {"connection_id":149352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":149352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:02:28] local.INFO: TCP Data received {"connection_id":149352,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:02:28] local.INFO: Processing buffer {"connection_id":149352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:02:28] local.INFO: IMEI packet received {"connection_id":149352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":149352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:02:30] local.INFO: TCP Data received {"connection_id":149352,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:02:30] local.INFO: Processing buffer {"connection_id":149352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:02:30] local.INFO: Packet analysis {"connection_id":149352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 20:02:30] local.INFO: Extracted packet for processing {"connection_id":149352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 20:02:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134224640001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785680866000,"timestamp_ms":1785680866000,"timestamp_seconds":1785680866,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dfaad0"} 
[2026-08-02 20:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-02 20:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134224640001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134224640001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:02:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:02:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134224640001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":149352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:02:30] local.INFO: GPS data processed {"connection_id":149352,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:02:30] local.INFO: Acknowledgment sent {"connection_id":149352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:02:34] local.INFO: TCP Data received {"connection_id":146800,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:02:34] local.INFO: Processing buffer {"connection_id":146800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:02:34] local.INFO: IMEI packet received {"connection_id":146800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":146800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:02:39] local.INFO: TCP Data received {"connection_id":146800,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:02:39] local.INFO: Processing buffer {"connection_id":146800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:02:39] local.INFO: IMEI packet received {"connection_id":146800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":146800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:02:40] local.INFO: TCP Data received {"connection_id":146800,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:02:40] local.INFO: Processing buffer {"connection_id":146800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:02:40] local.INFO: Packet analysis {"connection_id":146800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:02:40] local.INFO: Extracted packet for processing {"connection_id":146800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:02:40] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134260736001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785681007000,"timestamp_ms":1785681007000,"timestamp_seconds":1785681007,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e1d198"} 
[2026-08-02 20:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134260736001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134260736001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:02:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:02:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134260736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":146800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:02:40] local.INFO: GPS data processed {"connection_id":146800,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:02:40] local.INFO: Acknowledgment sent {"connection_id":146800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:02:44] local.INFO: TCP Data received {"connection_id":146800,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:02:44] local.INFO: Processing buffer {"connection_id":146800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:02:44] local.INFO: Packet analysis {"connection_id":146800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:02:44] local.INFO: Extracted packet for processing {"connection_id":146800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134260736001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785681007000,"timestamp_ms":1785681007000,"timestamp_seconds":1785681007,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e1d198"} 
[2026-08-02 20:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134260736001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134260736001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:02:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:02:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134260736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":146800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:02:44] local.INFO: GPS data processed {"connection_id":146800,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:02:44] local.INFO: Acknowledgment sent {"connection_id":146800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:03:02] local.INFO: TCP Data received {"connection_id":149352,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:03:02] local.INFO: Processing buffer {"connection_id":149352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2dfaad0012cc330c007685958005800c52a..."} 
[2026-08-02 20:03:02] local.INFO: Packet analysis {"connection_id":149352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 20:03:02] local.INFO: Extracted packet for processing {"connection_id":149352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2df"} 
[2026-08-02 20:03:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134224640001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:03:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785680866000,"timestamp_ms":1785680866000,"timestamp_seconds":1785680866,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2dfaad0"} 
[2026-08-02 20:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-02 20:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134224640001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134224640001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:03:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:03:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:03:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134224640001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":149352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:03:02] local.INFO: GPS data processed {"connection_id":149352,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:03:02] local.INFO: Acknowledgment sent {"connection_id":149352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:03:25] local.INFO: TCP Data received {"connection_id":146801,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:03:25] local.INFO: Processing buffer {"connection_id":146801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:03:25] local.INFO: IMEI packet received {"connection_id":146801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":146801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:03:28] local.INFO: TCP Data received {"connection_id":146801,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:03:28] local.INFO: Processing buffer {"connection_id":146801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:03:28] local.INFO: IMEI packet received {"connection_id":146801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":146801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:03:29] local.INFO: TCP Data received {"connection_id":146802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:03:29] local.INFO: Processing buffer {"connection_id":146802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:03:29] local.INFO: IMEI packet received {"connection_id":146802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":146802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:03:33] local.INFO: TCP Data received {"connection_id":146801,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:03:33] local.INFO: Processing buffer {"connection_id":146801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:03:33] local.INFO: IMEI packet received {"connection_id":146801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":146801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:03:34] local.INFO: TCP Data received {"connection_id":146802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:03:34] local.INFO: Processing buffer {"connection_id":146802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:03:34] local.INFO: IMEI packet received {"connection_id":146802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":146802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:03:35] local.INFO: TCP Data received {"connection_id":146802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:03:35] local.INFO: Processing buffer {"connection_id":146802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:03:35] local.INFO: Packet analysis {"connection_id":146802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:03:35] local.INFO: Extracted packet for processing {"connection_id":146802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134260736001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785681007000,"timestamp_ms":1785681007000,"timestamp_seconds":1785681007,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e1d198"} 
[2026-08-02 20:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134260736001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134260736001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:03:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:03:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134260736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":146802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:03:35] local.INFO: GPS data processed {"connection_id":146802,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:03:35] local.INFO: Acknowledgment sent {"connection_id":146802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:03:35] local.INFO: TCP Data received {"connection_id":146801,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:03:35] local.INFO: Processing buffer {"connection_id":146801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:03:35] local.INFO: Packet analysis {"connection_id":146801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:03:35] local.INFO: Extracted packet for processing {"connection_id":146801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134301696001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:03:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785681167000,"timestamp_ms":1785681167000,"timestamp_seconds":1785681167,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e44298"} 
[2026-08-02 20:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134301696001,"66":25038,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134301696001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:03:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:03:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:03:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134301696001,"power":25038,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":146801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:03:35] local.INFO: GPS data processed {"connection_id":146801,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:03:35] local.INFO: Acknowledgment sent {"connection_id":146801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:04:05] local.INFO: TCP Data received {"connection_id":146802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:04:05] local.INFO: Processing buffer {"connection_id":146802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:04:05] local.INFO: Packet analysis {"connection_id":146802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:04:05] local.INFO: Extracted packet for processing {"connection_id":146802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134260736001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681007000,"timestamp_ms":1785681007000,"timestamp_seconds":1785681007,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e1d198"} 
[2026-08-02 20:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20: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-08-02 20:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134260736001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134260736001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:04:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134260736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":146802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:04:05] local.INFO: GPS data processed {"connection_id":146802,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:04:05] local.INFO: Acknowledgment sent {"connection_id":146802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:04:07] local.INFO: TCP Data received {"connection_id":146801,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:04:07] local.INFO: Processing buffer {"connection_id":146801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:04:07] local.INFO: Packet analysis {"connection_id":146801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:04:07] local.INFO: Extracted packet for processing {"connection_id":146801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:04:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134301696001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:04:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785681167000,"timestamp_ms":1785681167000,"timestamp_seconds":1785681167,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e44298"} 
[2026-08-02 20:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:04: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-08-02 20:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134301696001,"66":25038,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134301696001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:04:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:04:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:04:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134301696001,"power":25038,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":146801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:04:07] local.INFO: GPS data processed {"connection_id":146801,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:04:07] local.INFO: Acknowledgment sent {"connection_id":146801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:04:23] local.INFO: TCP Data received {"connection_id":149353,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:04:23] local.INFO: Processing buffer {"connection_id":149353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:04:23] local.INFO: IMEI packet received {"connection_id":149353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":149353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:04:28] local.INFO: TCP Data received {"connection_id":148049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:04:28] local.INFO: TCP Data received {"connection_id":149353,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:04:28] local.INFO: Processing buffer {"connection_id":148049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:04:28] local.INFO: IMEI packet received {"connection_id":148049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":148049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:04:28] local.INFO: Processing buffer {"connection_id":149353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:04:28] local.INFO: IMEI packet received {"connection_id":149353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":149353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:04:30] local.INFO: TCP Data received {"connection_id":149353,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:04:30] local.INFO: Processing buffer {"connection_id":149353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:04:30] local.INFO: Packet analysis {"connection_id":149353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:04:30] local.INFO: Extracted packet for processing {"connection_id":149353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:04:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134301696001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785681167000,"timestamp_ms":1785681167000,"timestamp_seconds":1785681167,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e44298"} 
[2026-08-02 20:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134301696001,"66":25038,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134301696001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:04:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:04:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134301696001,"power":25038,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":149353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:04:30] local.INFO: GPS data processed {"connection_id":149353,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:04:30] local.INFO: Acknowledgment sent {"connection_id":149353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:04:33] local.INFO: TCP Data received {"connection_id":148049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:04:33] local.INFO: Processing buffer {"connection_id":148049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:04:33] local.INFO: IMEI packet received {"connection_id":148049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":148049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:04:34] local.INFO: TCP Data received {"connection_id":148049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:04:34] local.INFO: Processing buffer {"connection_id":148049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:04:34] local.INFO: Packet analysis {"connection_id":148049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:04:34] local.INFO: Extracted packet for processing {"connection_id":148049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:04:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134260736001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785681007000,"timestamp_ms":1785681007000,"timestamp_seconds":1785681007,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e1d198"} 
[2026-08-02 20:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134260736001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134260736001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:04:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:04:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134260736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":148049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:04:34] local.INFO: GPS data processed {"connection_id":148049,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:04:34] local.INFO: Acknowledgment sent {"connection_id":148049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:05:01] local.INFO: TCP Data received {"connection_id":149353,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:05:01] local.INFO: Processing buffer {"connection_id":149353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:05:01] local.INFO: Packet analysis {"connection_id":149353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:05:01] local.INFO: Extracted packet for processing {"connection_id":149353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134301696001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785681167000,"timestamp_ms":1785681167000,"timestamp_seconds":1785681167,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e44298"} 
[2026-08-02 20:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134301696001,"66":25038,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134301696001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:05:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:05:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:05:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134301696001,"power":25038,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":149353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:05:01] local.INFO: GPS data processed {"connection_id":149353,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:05:01] local.INFO: Acknowledgment sent {"connection_id":149353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:05:05] local.INFO: TCP Data received {"connection_id":148049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:05:05] local.INFO: Processing buffer {"connection_id":148049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:05:05] local.INFO: Packet analysis {"connection_id":148049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:05:05] local.INFO: Extracted packet for processing {"connection_id":148049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134260736001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681007000,"timestamp_ms":1785681007000,"timestamp_seconds":1785681007,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e1d198"} 
[2026-08-02 20:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134260736001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134260736001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:05:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134260736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":148049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:05:05] local.INFO: GPS data processed {"connection_id":148049,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:05:05] local.INFO: Acknowledgment sent {"connection_id":148049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:05:23] local.INFO: TCP Data received {"connection_id":148050,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:05:23] local.INFO: Processing buffer {"connection_id":148050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:05:23] local.INFO: IMEI packet received {"connection_id":148050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":148050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:05:28] local.INFO: TCP Data received {"connection_id":148050,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:05:28] local.INFO: Processing buffer {"connection_id":148050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:05:28] local.INFO: IMEI packet received {"connection_id":148050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":148050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:05:29] local.INFO: TCP Data received {"connection_id":146803,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:05:29] local.INFO: Processing buffer {"connection_id":146803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:05:29] local.INFO: IMEI packet received {"connection_id":146803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":146803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:05:30] local.INFO: TCP Data received {"connection_id":148050,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:05:30] local.INFO: Processing buffer {"connection_id":148050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:05:30] local.INFO: Packet analysis {"connection_id":148050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:05:30] local.INFO: Extracted packet for processing {"connection_id":148050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:05:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134301696001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785681167000,"timestamp_ms":1785681167000,"timestamp_seconds":1785681167,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e44298"} 
[2026-08-02 20:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134301696001,"66":25038,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134301696001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:05:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:05:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134301696001,"power":25038,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":148050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:05:30] local.INFO: GPS data processed {"connection_id":148050,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:05:30] local.INFO: Acknowledgment sent {"connection_id":148050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:05:34] local.INFO: TCP Data received {"connection_id":146803,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:05:34] local.INFO: Processing buffer {"connection_id":146803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:05:34] local.INFO: IMEI packet received {"connection_id":146803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":146803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:05:35] local.INFO: TCP Data received {"connection_id":146803,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:05:35] local.INFO: Processing buffer {"connection_id":146803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e1d198012d196700071fef08003d010e28..."} 
[2026-08-02 20:05:35] local.INFO: Packet analysis {"connection_id":146803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:05:35] local.INFO: Extracted packet for processing {"connection_id":146803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e1"} 
[2026-08-02 20:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134260736001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785681007000,"timestamp_ms":1785681007000,"timestamp_seconds":1785681007,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e1d198"} 
[2026-08-02 20:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134260736001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134260736001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:05:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134260736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":146803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:05:35] local.INFO: GPS data processed {"connection_id":146803,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:05:35] local.INFO: Acknowledgment sent {"connection_id":146803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:06:01] local.INFO: TCP Data received {"connection_id":148050,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:06:01] local.INFO: Processing buffer {"connection_id":148050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:06:01] local.INFO: Packet analysis {"connection_id":148050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:06:01] local.INFO: Extracted packet for processing {"connection_id":148050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:06:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134301696001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:06:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785681167000,"timestamp_ms":1785681167000,"timestamp_seconds":1785681167,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e44298"} 
[2026-08-02 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-08-02 20:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134301696001,"66":25038,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134301696001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:06:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:06:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:06:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134301696001,"power":25038,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":148050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:06:01] local.INFO: GPS data processed {"connection_id":148050,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:06:01] local.INFO: Acknowledgment sent {"connection_id":148050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:06:05] local.INFO: TCP Data received {"connection_id":146803,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:06:05] local.INFO: Processing buffer {"connection_id":146803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:06:05] local.INFO: Packet analysis {"connection_id":146803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:06:05] local.INFO: Extracted packet for processing {"connection_id":146803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134337792001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681308000,"timestamp_ms":1785681308000,"timestamp_seconds":1785681308,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e66960"} 
[2026-08-02 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-08-02 20:06: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-08-02 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134337792001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134337792001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:06:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134337792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":146803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:06:05] local.INFO: GPS data processed {"connection_id":146803,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:06:05] local.INFO: Acknowledgment sent {"connection_id":146803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:06:23] local.INFO: TCP Data received {"connection_id":148051,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:06:23] local.INFO: Processing buffer {"connection_id":148051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:06:23] local.INFO: IMEI packet received {"connection_id":148051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":148051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:06:28] local.INFO: TCP Data received {"connection_id":148052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:06:28] local.INFO: Processing buffer {"connection_id":148052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:06:28] local.INFO: IMEI packet received {"connection_id":148052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":148052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:06:28] local.INFO: TCP Data received {"connection_id":148051,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:06:28] local.INFO: Processing buffer {"connection_id":148051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:06:28] local.INFO: IMEI packet received {"connection_id":148051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":148051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:06:30] local.INFO: TCP Data received {"connection_id":148051,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:06:30] local.INFO: Processing buffer {"connection_id":148051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:06:30] local.INFO: Packet analysis {"connection_id":148051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:06:30] local.INFO: Extracted packet for processing {"connection_id":148051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:06:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134301696001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785681167000,"timestamp_ms":1785681167000,"timestamp_seconds":1785681167,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e44298"} 
[2026-08-02 20:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134301696001,"66":25038,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134301696001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:06:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:06:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134301696001,"power":25038,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":148051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:06:30] local.INFO: GPS data processed {"connection_id":148051,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:06:30] local.INFO: Acknowledgment sent {"connection_id":148051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:06:33] local.INFO: TCP Data received {"connection_id":148052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:06:33] local.INFO: Processing buffer {"connection_id":148052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:06:33] local.INFO: IMEI packet received {"connection_id":148052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":148052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:06:34] local.INFO: TCP Data received {"connection_id":148052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:06:34] local.INFO: Processing buffer {"connection_id":148052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:06:34] local.INFO: Packet analysis {"connection_id":148052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:06:34] local.INFO: Extracted packet for processing {"connection_id":148052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134337792001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785681308000,"timestamp_ms":1785681308000,"timestamp_seconds":1785681308,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e66960"} 
[2026-08-02 20:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134337792001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134337792001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:06:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134337792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":148052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:06:34] local.INFO: GPS data processed {"connection_id":148052,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:06:34] local.INFO: Acknowledgment sent {"connection_id":148052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:07:01] local.INFO: TCP Data received {"connection_id":148051,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:07:01] local.INFO: Processing buffer {"connection_id":148051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:07:01] local.INFO: Packet analysis {"connection_id":148051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:07:01] local.INFO: Extracted packet for processing {"connection_id":148051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:07:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134301696001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785681167000,"timestamp_ms":1785681167000,"timestamp_seconds":1785681167,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e44298"} 
[2026-08-02 20:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134301696001,"66":25038,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134301696001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:07:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:07:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:07:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134301696001,"power":25038,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":148051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:07:02] local.INFO: GPS data processed {"connection_id":148051,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:07:02] local.INFO: Acknowledgment sent {"connection_id":148051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:07:05] local.INFO: TCP Data received {"connection_id":148052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:07:05] local.INFO: Processing buffer {"connection_id":148052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:07:05] local.INFO: Packet analysis {"connection_id":148052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:07:05] local.INFO: Extracted packet for processing {"connection_id":148052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134337792001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681308000,"timestamp_ms":1785681308000,"timestamp_seconds":1785681308,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e66960"} 
[2026-08-02 20:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:07: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-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134337792001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134337792001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:07:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134337792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":148052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:07:05] local.INFO: GPS data processed {"connection_id":148052,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:07:05] local.INFO: Acknowledgment sent {"connection_id":148052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:07:28] local.INFO: TCP Data received {"connection_id":146804,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:07:28] local.INFO: Processing buffer {"connection_id":146804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:07:28] local.INFO: IMEI packet received {"connection_id":146804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":146804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:07:28] local.INFO: TCP Data received {"connection_id":147012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:07:28] local.INFO: Processing buffer {"connection_id":147012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:07:28] local.INFO: IMEI packet received {"connection_id":147012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":147012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:07:33] local.INFO: TCP Data received {"connection_id":146804,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:07:33] local.INFO: Processing buffer {"connection_id":146804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:07:33] local.INFO: IMEI packet received {"connection_id":146804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":146804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:07:34] local.INFO: TCP Data received {"connection_id":147012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:07:34] local.INFO: Processing buffer {"connection_id":147012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:07:34] local.INFO: IMEI packet received {"connection_id":147012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":147012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:07:35] local.INFO: TCP Data received {"connection_id":147012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:07:35] local.INFO: Processing buffer {"connection_id":147012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:07:35] local.INFO: Packet analysis {"connection_id":147012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:07:35] local.INFO: Extracted packet for processing {"connection_id":147012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134337792001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785681308000,"timestamp_ms":1785681308000,"timestamp_seconds":1785681308,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e66960"} 
[2026-08-02 20:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134337792001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134337792001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:07:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134337792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:07:35] local.INFO: TCP Data received {"connection_id":146804,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:07:35] local.INFO: Processing buffer {"connection_id":146804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:07:35] local.INFO: Packet analysis {"connection_id":146804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:07:35] local.INFO: Extracted packet for processing {"connection_id":146804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:07:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134301696001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785681167000,"timestamp_ms":1785681167000,"timestamp_seconds":1785681167,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e44298"} 
[2026-08-02 20:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":147012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:07:35] local.INFO: GPS data processed {"connection_id":147012,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:07:35] local.INFO: Acknowledgment sent {"connection_id":147012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134301696001,"66":25038,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134301696001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:07:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:07:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:07:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134301696001,"power":25038,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":146804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:07:35] local.INFO: GPS data processed {"connection_id":146804,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:07:35] local.INFO: Acknowledgment sent {"connection_id":146804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:07:39] local.INFO: TCP Data received {"connection_id":146804,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:07:39] local.INFO: Processing buffer {"connection_id":146804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e44298012cc330c007685958005800c52b..."} 
[2026-08-02 20:07:39] local.INFO: Packet analysis {"connection_id":146804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:07:39] local.INFO: Extracted packet for processing {"connection_id":146804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e4"} 
[2026-08-02 20:07:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134301696001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785681167000,"timestamp_ms":1785681167000,"timestamp_seconds":1785681167,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e44298"} 
[2026-08-02 20:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:07: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-08-02 20:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134301696001,"66":25038,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134301696001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:07:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:07:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:07:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134301696001,"power":25038,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":146804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:07:39] local.INFO: GPS data processed {"connection_id":146804,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:07:39] local.INFO: Acknowledgment sent {"connection_id":146804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:08:05] local.INFO: TCP Data received {"connection_id":147012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:08:05] local.INFO: Processing buffer {"connection_id":147012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:08:05] local.INFO: Packet analysis {"connection_id":147012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:08:05] local.INFO: Extracted packet for processing {"connection_id":147012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134337792001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681308000,"timestamp_ms":1785681308000,"timestamp_seconds":1785681308,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e66960"} 
[2026-08-02 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-08-02 20:08: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-08-02 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134337792001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134337792001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:08:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134337792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":147012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:08:06] local.INFO: GPS data processed {"connection_id":147012,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:08:06] local.INFO: Acknowledgment sent {"connection_id":147012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:08:24] local.INFO: TCP Data received {"connection_id":146805,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:08:24] local.INFO: Processing buffer {"connection_id":146805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:08:24] local.INFO: IMEI packet received {"connection_id":146805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":146805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:08:26] local.INFO: TCP Data received {"connection_id":146805,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:08:26] local.INFO: Processing buffer {"connection_id":146805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:08:26] local.INFO: IMEI packet received {"connection_id":146805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":146805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:08:28] local.INFO: TCP Data received {"connection_id":146805,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:08:28] local.INFO: Processing buffer {"connection_id":146805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:08:28] local.INFO: Packet analysis {"connection_id":146805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:08:28] local.INFO: Extracted packet for processing {"connection_id":146805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:08:28] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134378752001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785681468000,"timestamp_ms":1785681468000,"timestamp_seconds":1785681468,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e8da60"} 
[2026-08-02 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-08-02 20:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-02 20:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":146805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":146805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":146805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134378752001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134378752001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:08:28] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:08:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:08:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134378752001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":146805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:08:28] local.INFO: GPS data processed {"connection_id":146805,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:08:28] local.INFO: Acknowledgment sent {"connection_id":146805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:08:34] local.INFO: TCP Data received {"connection_id":146806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:08:34] local.INFO: Processing buffer {"connection_id":146806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:08:34] local.INFO: IMEI packet received {"connection_id":146806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":146806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:08:38] local.INFO: TCP Data received {"connection_id":146806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:08:38] local.INFO: Processing buffer {"connection_id":146806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:08:38] local.INFO: IMEI packet received {"connection_id":146806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":146806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:08:39] local.INFO: TCP Data received {"connection_id":146806,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:08:39] local.INFO: Processing buffer {"connection_id":146806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:08:39] local.INFO: Packet analysis {"connection_id":146806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:08:39] local.INFO: Extracted packet for processing {"connection_id":146806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:08:39] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134337792001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785681308000,"timestamp_ms":1785681308000,"timestamp_seconds":1785681308,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e66960"} 
[2026-08-02 20:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134337792001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134337792001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:08:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:08:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134337792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":146806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:08:39] local.INFO: GPS data processed {"connection_id":146806,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:08:39] local.INFO: Acknowledgment sent {"connection_id":146806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:08:44] local.INFO: TCP Data received {"connection_id":146806,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:08:44] local.INFO: Processing buffer {"connection_id":146806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:08:44] local.INFO: Packet analysis {"connection_id":146806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:08:44] local.INFO: Extracted packet for processing {"connection_id":146806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:08:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134337792001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785681308000,"timestamp_ms":1785681308000,"timestamp_seconds":1785681308,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e66960"} 
[2026-08-02 20:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134337792001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134337792001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:08:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:08:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134337792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":146806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:08:44] local.INFO: GPS data processed {"connection_id":146806,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:08:44] local.INFO: Acknowledgment sent {"connection_id":146806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:08:59] local.INFO: TCP Data received {"connection_id":146805,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:08:59] local.INFO: Processing buffer {"connection_id":146805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:08:59] local.INFO: Packet analysis {"connection_id":146805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:08:59] local.INFO: Extracted packet for processing {"connection_id":146805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:08:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134378752001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785681468000,"timestamp_ms":1785681468000,"timestamp_seconds":1785681468,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e8da60"} 
[2026-08-02 20:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-02 20:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134378752001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134378752001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:08:59] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:08:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:08:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134378752001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":146805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:08:59] local.INFO: GPS data processed {"connection_id":146805,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:08:59] local.INFO: Acknowledgment sent {"connection_id":146805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:09:23] local.INFO: TCP Data received {"connection_id":149354,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:09:23] local.INFO: Processing buffer {"connection_id":149354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:09:23] local.INFO: IMEI packet received {"connection_id":149354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":149354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:09:28] local.INFO: TCP Data received {"connection_id":149354,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:09:28] local.INFO: Processing buffer {"connection_id":149354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:09:28] local.INFO: IMEI packet received {"connection_id":149354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":149354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:09:29] local.INFO: TCP Data received {"connection_id":147013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:09:29] local.INFO: Processing buffer {"connection_id":147013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:09:29] local.INFO: IMEI packet received {"connection_id":147013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":147013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:09:29] local.INFO: TCP Data received {"connection_id":149354,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:09:29] local.INFO: Processing buffer {"connection_id":149354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:09:29] local.INFO: Packet analysis {"connection_id":149354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:09:29] local.INFO: Extracted packet for processing {"connection_id":149354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:09:29] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134378752001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:09:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785681468000,"timestamp_ms":1785681468000,"timestamp_seconds":1785681468,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e8da60"} 
[2026-08-02 20:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-02 20:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134378752001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134378752001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:09:29] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:09:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134378752001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":149354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:09:29] local.INFO: GPS data processed {"connection_id":149354,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:09:29] local.INFO: Acknowledgment sent {"connection_id":149354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:09:34] local.INFO: TCP Data received {"connection_id":147013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:09:34] local.INFO: Processing buffer {"connection_id":147013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:09:34] local.INFO: IMEI packet received {"connection_id":147013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":147013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:09:35] local.INFO: TCP Data received {"connection_id":147013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:09:35] local.INFO: Processing buffer {"connection_id":147013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:09:35] local.INFO: Packet analysis {"connection_id":147013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:09:35] local.INFO: Extracted packet for processing {"connection_id":147013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:09:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134337792001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785681308000,"timestamp_ms":1785681308000,"timestamp_seconds":1785681308,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e66960"} 
[2026-08-02 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-08-02 20:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134337792001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134337792001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:09:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:09:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134337792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":147013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:09:35] local.INFO: GPS data processed {"connection_id":147013,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:09:35] local.INFO: Acknowledgment sent {"connection_id":147013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:10:01] local.INFO: TCP Data received {"connection_id":149354,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:10:01] local.INFO: Processing buffer {"connection_id":149354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:10:01] local.INFO: Packet analysis {"connection_id":149354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:10:01] local.INFO: Extracted packet for processing {"connection_id":149354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:10:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134378752001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785681468000,"timestamp_ms":1785681468000,"timestamp_seconds":1785681468,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e8da60"} 
[2026-08-02 20:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:10: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-02 20:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134378752001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134378752001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:10:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:10:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:10:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134378752001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":149354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:10:01] local.INFO: GPS data processed {"connection_id":149354,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:10:01] local.INFO: Acknowledgment sent {"connection_id":149354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:10:05] local.INFO: TCP Data received {"connection_id":147013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:10:05] local.INFO: Processing buffer {"connection_id":147013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:10:05] local.INFO: Packet analysis {"connection_id":147013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:10:05] local.INFO: Extracted packet for processing {"connection_id":147013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134337792001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681308000,"timestamp_ms":1785681308000,"timestamp_seconds":1785681308,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e66960"} 
[2026-08-02 20:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:10: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-08-02 20:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134337792001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134337792001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:10:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134337792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":147013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:10:05] local.INFO: GPS data processed {"connection_id":147013,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:10:05] local.INFO: Acknowledgment sent {"connection_id":147013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:10:28] local.INFO: TCP Data received {"connection_id":149356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:10:28] local.INFO: Processing buffer {"connection_id":149356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:10:28] local.INFO: IMEI packet received {"connection_id":149356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":149356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:10:28] local.INFO: TCP Data received {"connection_id":149355,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:10:28] local.INFO: Processing buffer {"connection_id":149355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:10:28] local.INFO: IMEI packet received {"connection_id":149355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":149355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:10:33] local.INFO: TCP Data received {"connection_id":149355,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:10:33] local.INFO: Processing buffer {"connection_id":149355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:10:33] local.INFO: IMEI packet received {"connection_id":149355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":149355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:10:34] local.INFO: TCP Data received {"connection_id":149356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:10:34] local.INFO: Processing buffer {"connection_id":149356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:10:34] local.INFO: IMEI packet received {"connection_id":149356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":149356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:10:34] local.INFO: TCP Data received {"connection_id":149356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:10:34] local.INFO: Processing buffer {"connection_id":149356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e66960012d196700071fef08003d010e2a..."} 
[2026-08-02 20:10:34] local.INFO: Packet analysis {"connection_id":149356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:10:34] local.INFO: Extracted packet for processing {"connection_id":149356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e6"} 
[2026-08-02 20:10:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134337792001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785681308000,"timestamp_ms":1785681308000,"timestamp_seconds":1785681308,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e66960"} 
[2026-08-02 20:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134337792001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134337792001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:10:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:10:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134337792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":149356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:10:34] local.INFO: GPS data processed {"connection_id":149356,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:10:34] local.INFO: Acknowledgment sent {"connection_id":149356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:10:35] local.INFO: TCP Data received {"connection_id":149355,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:10:35] local.INFO: Processing buffer {"connection_id":149355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:10:35] local.INFO: Packet analysis {"connection_id":149355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:10:35] local.INFO: Extracted packet for processing {"connection_id":149355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:10:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134378752001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785681468000,"timestamp_ms":1785681468000,"timestamp_seconds":1785681468,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e8da60"} 
[2026-08-02 20:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-02 20:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134378752001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134378752001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:10:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:10:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:10:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134378752001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":149355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:10:35] local.INFO: GPS data processed {"connection_id":149355,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:10:35] local.INFO: Acknowledgment sent {"connection_id":149355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:10:40] local.INFO: TCP Data received {"connection_id":149355,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:10:40] local.INFO: Processing buffer {"connection_id":149355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:10:40] local.INFO: Packet analysis {"connection_id":149355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:10:40] local.INFO: Extracted packet for processing {"connection_id":149355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:10:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134378752001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785681468000,"timestamp_ms":1785681468000,"timestamp_seconds":1785681468,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e8da60"} 
[2026-08-02 20:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20: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-08-02 20: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-02 20:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134378752001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134378752001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:10:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:10:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:10:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134378752001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":149355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:10:40] local.INFO: GPS data processed {"connection_id":149355,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:10:40] local.INFO: Acknowledgment sent {"connection_id":149355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:11:05] local.INFO: TCP Data received {"connection_id":149356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:11:05] local.INFO: Processing buffer {"connection_id":149356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:11:05] local.INFO: Packet analysis {"connection_id":149356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:11:05] local.INFO: Extracted packet for processing {"connection_id":149356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134414848001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681609000,"timestamp_ms":1785681609000,"timestamp_seconds":1785681609,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2eb0128"} 
[2026-08-02 20:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:11:05] 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-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134414848001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134414848001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:11:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134414848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":149356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:11:05] local.INFO: GPS data processed {"connection_id":149356,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:11:05] local.INFO: Acknowledgment sent {"connection_id":149356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:11:24] local.INFO: TCP Data received {"connection_id":147014,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:11:24] local.INFO: Processing buffer {"connection_id":147014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:11:24] local.INFO: IMEI packet received {"connection_id":147014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":147014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:11:28] local.INFO: TCP Data received {"connection_id":147014,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:11:28] local.INFO: Processing buffer {"connection_id":147014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:11:28] local.INFO: IMEI packet received {"connection_id":147014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":147014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:11:29] local.INFO: TCP Data received {"connection_id":149357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:11:29] local.INFO: Processing buffer {"connection_id":149357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:11:29] local.INFO: IMEI packet received {"connection_id":149357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":149357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:11:30] local.INFO: TCP Data received {"connection_id":147014,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:11:30] local.INFO: Processing buffer {"connection_id":147014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:11:30] local.INFO: Packet analysis {"connection_id":147014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:11:30] local.INFO: Extracted packet for processing {"connection_id":147014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:11:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134378752001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785681468000,"timestamp_ms":1785681468000,"timestamp_seconds":1785681468,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e8da60"} 
[2026-08-02 20:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-02 20:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134378752001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134378752001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:11:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:11:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134378752001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":147014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:11:30] local.INFO: GPS data processed {"connection_id":147014,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:11:30] local.INFO: Acknowledgment sent {"connection_id":147014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:11:34] local.INFO: TCP Data received {"connection_id":149357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:11:34] local.INFO: Processing buffer {"connection_id":149357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:11:34] local.INFO: IMEI packet received {"connection_id":149357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":149357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:11:35] local.INFO: TCP Data received {"connection_id":149357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:11:35] local.INFO: Processing buffer {"connection_id":149357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:11:35] local.INFO: Packet analysis {"connection_id":149357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:11:35] local.INFO: Extracted packet for processing {"connection_id":149357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134414848001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785681609000,"timestamp_ms":1785681609000,"timestamp_seconds":1785681609,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2eb0128"} 
[2026-08-02 20:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134414848001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134414848001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:11:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134414848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":149357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:11:35] local.INFO: GPS data processed {"connection_id":149357,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:11:35] local.INFO: Acknowledgment sent {"connection_id":149357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:12:05] local.INFO: TCP Data received {"connection_id":149357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:12:05] local.INFO: Processing buffer {"connection_id":149357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:12:05] local.INFO: Packet analysis {"connection_id":149357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:12:05] local.INFO: Extracted packet for processing {"connection_id":149357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134414848001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681609000,"timestamp_ms":1785681609000,"timestamp_seconds":1785681609,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2eb0128"} 
[2026-08-02 20:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:12:05] 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-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134414848001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134414848001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:12:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134414848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":149357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:12:05] local.INFO: GPS data processed {"connection_id":149357,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:12:05] local.INFO: Acknowledgment sent {"connection_id":149357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:12:08] local.INFO: TCP Data received {"connection_id":147014,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:12:08] local.INFO: Processing buffer {"connection_id":147014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:12:08] local.INFO: Packet analysis {"connection_id":147014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:12:08] local.INFO: Extracted packet for processing {"connection_id":147014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134378752001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:12:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785681468000,"timestamp_ms":1785681468000,"timestamp_seconds":1785681468,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e8da60"} 
[2026-08-02 20:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:12: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-08-02 20: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-02 20:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134378752001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134378752001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:12:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:12:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:12:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134378752001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":147014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:12:08] local.INFO: GPS data processed {"connection_id":147014,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:12:08] local.INFO: Acknowledgment sent {"connection_id":147014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:12:23] local.INFO: TCP Data received {"connection_id":147015,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:12:23] local.INFO: Processing buffer {"connection_id":147015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:12:23] local.INFO: IMEI packet received {"connection_id":147015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":147015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:12:28] local.INFO: TCP Data received {"connection_id":146807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:12:28] local.INFO: Processing buffer {"connection_id":146807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:12:28] local.INFO: IMEI packet received {"connection_id":146807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":146807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:12:28] local.INFO: TCP Data received {"connection_id":147015,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:12:28] local.INFO: Processing buffer {"connection_id":147015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:12:28] local.INFO: IMEI packet received {"connection_id":147015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":147015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:12:30] local.INFO: TCP Data received {"connection_id":147015,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:12:30] local.INFO: Processing buffer {"connection_id":147015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:12:30] local.INFO: Packet analysis {"connection_id":147015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:12:30] local.INFO: Extracted packet for processing {"connection_id":147015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:12:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134378752001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785681468000,"timestamp_ms":1785681468000,"timestamp_seconds":1785681468,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e8da60"} 
[2026-08-02 20:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-02 20:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134378752001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134378752001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:12:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:12:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134378752001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":147015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:12:30] local.INFO: GPS data processed {"connection_id":147015,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:12:30] local.INFO: Acknowledgment sent {"connection_id":147015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:12:33] local.INFO: TCP Data received {"connection_id":146807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:12:33] local.INFO: Processing buffer {"connection_id":146807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:12:33] local.INFO: IMEI packet received {"connection_id":146807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":146807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:12:34] local.INFO: TCP Data received {"connection_id":146807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:12:34] local.INFO: Processing buffer {"connection_id":146807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:12:34] local.INFO: Packet analysis {"connection_id":146807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:12:34] local.INFO: Extracted packet for processing {"connection_id":146807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:12:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134414848001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785681609000,"timestamp_ms":1785681609000,"timestamp_seconds":1785681609,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2eb0128"} 
[2026-08-02 20:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:12:34] 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-08-02 20:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134414848001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134414848001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:12:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134414848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":146807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:12:34] local.INFO: GPS data processed {"connection_id":146807,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:12:34] local.INFO: Acknowledgment sent {"connection_id":146807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:13:01] local.INFO: TCP Data received {"connection_id":147015,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:13:01] local.INFO: Processing buffer {"connection_id":147015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2e8da60012cc330c007685958005800c52b..."} 
[2026-08-02 20:13:01] local.INFO: Packet analysis {"connection_id":147015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:13:01] local.INFO: Extracted packet for processing {"connection_id":147015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2e8"} 
[2026-08-02 20:13:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134378752001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785681468000,"timestamp_ms":1785681468000,"timestamp_seconds":1785681468,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2e8da60"} 
[2026-08-02 20:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-02 20:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134378752001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134378752001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:13:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:13:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:13:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134378752001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":147015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:13:01] local.INFO: GPS data processed {"connection_id":147015,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:13:01] local.INFO: Acknowledgment sent {"connection_id":147015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:13:05] local.INFO: TCP Data received {"connection_id":146807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:13:05] local.INFO: Processing buffer {"connection_id":146807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:13:05] local.INFO: Packet analysis {"connection_id":146807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:13:05] local.INFO: Extracted packet for processing {"connection_id":146807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134414848001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681609000,"timestamp_ms":1785681609000,"timestamp_seconds":1785681609,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2eb0128"} 
[2026-08-02 20:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:13:05] 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-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134414848001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134414848001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:13:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134414848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":146807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:13:05] local.INFO: GPS data processed {"connection_id":146807,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:13:05] local.INFO: Acknowledgment sent {"connection_id":146807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:13:23] local.INFO: TCP Data received {"connection_id":147016,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:13:23] local.INFO: Processing buffer {"connection_id":147016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:13:23] local.INFO: IMEI packet received {"connection_id":147016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":147016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:13:28] local.INFO: TCP Data received {"connection_id":147016,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:13:28] local.INFO: Processing buffer {"connection_id":147016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:13:28] local.INFO: IMEI packet received {"connection_id":147016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":147016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:13:28] local.INFO: TCP Data received {"connection_id":147016,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:13:28] local.INFO: Processing buffer {"connection_id":147016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:13:28] local.INFO: IMEI packet received {"connection_id":147016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":147016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:13:28] local.INFO: TCP Data received {"connection_id":148053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:13:28] local.INFO: Processing buffer {"connection_id":148053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:13:28] local.INFO: IMEI packet received {"connection_id":148053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":148053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:13:29] local.INFO: TCP Data received {"connection_id":147016,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:13:29] local.INFO: Processing buffer {"connection_id":147016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:13:29] local.INFO: Packet analysis {"connection_id":147016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:13:29] local.INFO: Extracted packet for processing {"connection_id":147016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:13:29] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134455808001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785681769000,"timestamp_ms":1785681769000,"timestamp_seconds":1785681769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ed7228"} 
[2026-08-02 20:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134455808001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134455808001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:13:29] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:13:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134455808001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":147016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:13:29] local.INFO: GPS data processed {"connection_id":147016,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:13:29] local.INFO: Acknowledgment sent {"connection_id":147016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:13:34] local.INFO: TCP Data received {"connection_id":148053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:13:34] local.INFO: Processing buffer {"connection_id":148053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:13:34] local.INFO: IMEI packet received {"connection_id":148053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":148053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:13:34] local.INFO: TCP Data received {"connection_id":147016,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:13:34] local.INFO: Processing buffer {"connection_id":147016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:13:34] local.INFO: Packet analysis {"connection_id":147016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:13:34] local.INFO: Extracted packet for processing {"connection_id":147016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:13:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134455808001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785681769000,"timestamp_ms":1785681769000,"timestamp_seconds":1785681769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ed7228"} 
[2026-08-02 20:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134455808001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134455808001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:13:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:13:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:13:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134455808001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":147016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:13:34] local.INFO: GPS data processed {"connection_id":147016,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:13:34] local.INFO: Acknowledgment sent {"connection_id":147016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:13:35] local.INFO: TCP Data received {"connection_id":148053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:13:35] local.INFO: Processing buffer {"connection_id":148053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:13:35] local.INFO: Packet analysis {"connection_id":148053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:13:35] local.INFO: Extracted packet for processing {"connection_id":148053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134414848001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785681609000,"timestamp_ms":1785681609000,"timestamp_seconds":1785681609,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2eb0128"} 
[2026-08-02 20:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134414848001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134414848001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:13:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134414848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":148053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:13:35] local.INFO: GPS data processed {"connection_id":148053,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:13:35] local.INFO: Acknowledgment sent {"connection_id":148053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:14:05] local.INFO: TCP Data received {"connection_id":148053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:14:05] local.INFO: Processing buffer {"connection_id":148053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:14:05] local.INFO: Packet analysis {"connection_id":148053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:14:05] local.INFO: Extracted packet for processing {"connection_id":148053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134414848001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681609000,"timestamp_ms":1785681609000,"timestamp_seconds":1785681609,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2eb0128"} 
[2026-08-02 20:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:14:05] 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-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134414848001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134414848001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:14:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134414848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:14:06] local.INFO: TCP Data received {"connection_id":147016,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:14:06] local.INFO: Processing buffer {"connection_id":147016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:14:06] local.INFO: Packet analysis {"connection_id":147016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:14:06] local.INFO: Extracted packet for processing {"connection_id":147016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:14:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134455808001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785681769000,"timestamp_ms":1785681769000,"timestamp_seconds":1785681769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ed7228"} 
[2026-08-02 20:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134455808001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134455808001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:14:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:14:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134455808001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":147016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:14:06] local.INFO: GPS data processed {"connection_id":147016,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:14:06] local.INFO: Acknowledgment sent {"connection_id":147016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":148053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:14:06] local.INFO: GPS data processed {"connection_id":148053,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:14:06] local.INFO: Acknowledgment sent {"connection_id":148053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:14:24] local.INFO: TCP Data received {"connection_id":148054,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:14:24] local.INFO: Processing buffer {"connection_id":148054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:14:24] local.INFO: IMEI packet received {"connection_id":148054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":148054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:14:28] local.INFO: TCP Data received {"connection_id":148054,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:14:28] local.INFO: Processing buffer {"connection_id":148054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:14:28] local.INFO: IMEI packet received {"connection_id":148054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":148054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:14:30] local.INFO: TCP Data received {"connection_id":148054,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:14:30] local.INFO: Processing buffer {"connection_id":148054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:14:30] local.INFO: Packet analysis {"connection_id":148054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:14:30] local.INFO: Extracted packet for processing {"connection_id":148054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:14:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134455808001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785681769000,"timestamp_ms":1785681769000,"timestamp_seconds":1785681769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ed7228"} 
[2026-08-02 20:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134455808001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134455808001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:14:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:14:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134455808001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":148054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:14:30] local.INFO: GPS data processed {"connection_id":148054,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:14:30] local.INFO: Acknowledgment sent {"connection_id":148054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:14:34] local.INFO: TCP Data received {"connection_id":146808,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:14:34] local.INFO: Processing buffer {"connection_id":146808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:14:34] local.INFO: IMEI packet received {"connection_id":146808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":146808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:14:38] local.INFO: TCP Data received {"connection_id":146808,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:14:38] local.INFO: Processing buffer {"connection_id":146808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:14:38] local.INFO: IMEI packet received {"connection_id":146808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":146808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:14:39] local.INFO: TCP Data received {"connection_id":146808,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:14:39] local.INFO: Processing buffer {"connection_id":146808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:14:39] local.INFO: Packet analysis {"connection_id":146808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:14:39] local.INFO: Extracted packet for processing {"connection_id":146808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134414848001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785681609000,"timestamp_ms":1785681609000,"timestamp_seconds":1785681609,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2eb0128"} 
[2026-08-02 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-08-02 20:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134414848001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134414848001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:14:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:14:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134414848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":146808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:14:39] local.INFO: GPS data processed {"connection_id":146808,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:14:39] local.INFO: Acknowledgment sent {"connection_id":146808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:14:44] local.INFO: TCP Data received {"connection_id":146808,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:14:44] local.INFO: Processing buffer {"connection_id":146808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:14:44] local.INFO: Packet analysis {"connection_id":146808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:14:44] local.INFO: Extracted packet for processing {"connection_id":146808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:14:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134414848001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785681609000,"timestamp_ms":1785681609000,"timestamp_seconds":1785681609,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2eb0128"} 
[2026-08-02 20:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134414848001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134414848001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:14:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:14:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134414848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":146808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:14:44] local.INFO: GPS data processed {"connection_id":146808,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:14:44] local.INFO: Acknowledgment sent {"connection_id":146808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:15:01] local.INFO: TCP Data received {"connection_id":148054,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:15:01] local.INFO: Processing buffer {"connection_id":148054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:15:01] local.INFO: Packet analysis {"connection_id":148054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:15:01] local.INFO: Extracted packet for processing {"connection_id":148054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:15:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134455808001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:15:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785681769000,"timestamp_ms":1785681769000,"timestamp_seconds":1785681769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ed7228"} 
[2026-08-02 20:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134455808001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134455808001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:15:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:15:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:15:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134455808001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":148054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:15:01] local.INFO: GPS data processed {"connection_id":148054,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:15:01] local.INFO: Acknowledgment sent {"connection_id":148054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:15:23] local.INFO: TCP Data received {"connection_id":149358,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:15:23] local.INFO: Processing buffer {"connection_id":149358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:15:23] local.INFO: IMEI packet received {"connection_id":149358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":149358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:15:28] local.INFO: TCP Data received {"connection_id":149358,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:15:28] local.INFO: Processing buffer {"connection_id":149358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:15:28] local.INFO: IMEI packet received {"connection_id":149358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":149358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:15:29] local.INFO: TCP Data received {"connection_id":148055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:15:29] local.INFO: Processing buffer {"connection_id":148055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:15:29] local.INFO: IMEI packet received {"connection_id":148055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":148055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:15:30] local.INFO: TCP Data received {"connection_id":149358,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:15:30] local.INFO: Processing buffer {"connection_id":149358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:15:30] local.INFO: Packet analysis {"connection_id":149358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:15:30] local.INFO: Extracted packet for processing {"connection_id":149358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:15:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134455808001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785681769000,"timestamp_ms":1785681769000,"timestamp_seconds":1785681769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ed7228"} 
[2026-08-02 20:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134455808001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134455808001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:15:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:15:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134455808001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":149358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:15:30] local.INFO: GPS data processed {"connection_id":149358,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:15:30] local.INFO: Acknowledgment sent {"connection_id":149358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:15:34] local.INFO: TCP Data received {"connection_id":148055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:15:34] local.INFO: Processing buffer {"connection_id":148055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:15:34] local.INFO: IMEI packet received {"connection_id":148055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":148055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:15:35] local.INFO: TCP Data received {"connection_id":148055,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:15:35] local.INFO: Processing buffer {"connection_id":148055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2eb0128012d196700071fef08003d010e29..."} 
[2026-08-02 20:15:35] local.INFO: Packet analysis {"connection_id":148055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:15:35] local.INFO: Extracted packet for processing {"connection_id":148055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2eb"} 
[2026-08-02 20:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134414848001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785681609000,"timestamp_ms":1785681609000,"timestamp_seconds":1785681609,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2eb0128"} 
[2026-08-02 20:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134414848001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134414848001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:15:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:15:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134414848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":148055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:15:35] local.INFO: GPS data processed {"connection_id":148055,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:15:35] local.INFO: Acknowledgment sent {"connection_id":148055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:16:01] local.INFO: TCP Data received {"connection_id":149358,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:16:01] local.INFO: Processing buffer {"connection_id":149358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:16:01] local.INFO: Packet analysis {"connection_id":149358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:16:01] local.INFO: Extracted packet for processing {"connection_id":149358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:16:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134455808001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:16:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785681769000,"timestamp_ms":1785681769000,"timestamp_seconds":1785681769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ed7228"} 
[2026-08-02 20:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134455808001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134455808001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:16:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:16:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:16:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134455808001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":149358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:16:01] local.INFO: GPS data processed {"connection_id":149358,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:16:01] local.INFO: Acknowledgment sent {"connection_id":149358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:16:05] local.INFO: TCP Data received {"connection_id":148055,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:16:05] local.INFO: Processing buffer {"connection_id":148055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:16:05] local.INFO: Packet analysis {"connection_id":148055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:16:05] local.INFO: Extracted packet for processing {"connection_id":148055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134491904001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681910000,"timestamp_ms":1785681910000,"timestamp_seconds":1785681910,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ef98f0"} 
[2026-08-02 20:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134491904001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134491904001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:16:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134491904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":148055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:16:06] local.INFO: GPS data processed {"connection_id":148055,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:16:06] local.INFO: Acknowledgment sent {"connection_id":148055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:16:23] local.INFO: TCP Data received {"connection_id":149359,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:16:23] local.INFO: Processing buffer {"connection_id":149359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:16:23] local.INFO: IMEI packet received {"connection_id":149359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":149359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:16:28] local.INFO: TCP Data received {"connection_id":149359,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:16:28] local.INFO: Processing buffer {"connection_id":149359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:16:28] local.INFO: IMEI packet received {"connection_id":149359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":149359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:16:29] local.INFO: TCP Data received {"connection_id":147017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:16:29] local.INFO: Processing buffer {"connection_id":147017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:16:29] local.INFO: IMEI packet received {"connection_id":147017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":147017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:16:30] local.INFO: TCP Data received {"connection_id":149359,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:16:30] local.INFO: Processing buffer {"connection_id":149359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:16:30] local.INFO: Packet analysis {"connection_id":149359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:16:30] local.INFO: Extracted packet for processing {"connection_id":149359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134455808001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:16:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785681769000,"timestamp_ms":1785681769000,"timestamp_seconds":1785681769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ed7228"} 
[2026-08-02 20:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134455808001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134455808001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:16:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:16:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:16:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134455808001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":149359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:16:30] local.INFO: GPS data processed {"connection_id":149359,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:16:30] local.INFO: Acknowledgment sent {"connection_id":149359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:16:34] local.INFO: TCP Data received {"connection_id":147017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:16:34] local.INFO: Processing buffer {"connection_id":147017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:16:34] local.INFO: IMEI packet received {"connection_id":147017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":147017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:16:34] local.INFO: TCP Data received {"connection_id":147017,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:16:34] local.INFO: Processing buffer {"connection_id":147017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:16:34] local.INFO: Packet analysis {"connection_id":147017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:16:34] local.INFO: Extracted packet for processing {"connection_id":147017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134491904001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785681910000,"timestamp_ms":1785681910000,"timestamp_seconds":1785681910,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ef98f0"} 
[2026-08-02 20:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134491904001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134491904001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:16:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134491904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":147017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:16:35] local.INFO: GPS data processed {"connection_id":147017,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:16:35] local.INFO: Acknowledgment sent {"connection_id":147017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:17:01] local.INFO: TCP Data received {"connection_id":149359,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:17:01] local.INFO: Processing buffer {"connection_id":149359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:17:01] local.INFO: Packet analysis {"connection_id":149359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:17:01] local.INFO: Extracted packet for processing {"connection_id":149359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:17:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134455808001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785681769000,"timestamp_ms":1785681769000,"timestamp_seconds":1785681769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ed7228"} 
[2026-08-02 20:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:17: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134455808001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134455808001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:17:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:17:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:17:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134455808001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":149359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:17:01] local.INFO: GPS data processed {"connection_id":149359,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:17:01] local.INFO: Acknowledgment sent {"connection_id":149359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:17:05] local.INFO: TCP Data received {"connection_id":147017,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:17:05] local.INFO: Processing buffer {"connection_id":147017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:17:05] local.INFO: Packet analysis {"connection_id":147017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:17:05] local.INFO: Extracted packet for processing {"connection_id":147017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134491904001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681910000,"timestamp_ms":1785681910000,"timestamp_seconds":1785681910,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ef98f0"} 
[2026-08-02 20:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134491904001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134491904001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:17:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134491904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":147017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:17:05] local.INFO: GPS data processed {"connection_id":147017,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:17:05] local.INFO: Acknowledgment sent {"connection_id":147017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:17:28] local.INFO: TCP Data received {"connection_id":148056,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:17:28] local.INFO: Processing buffer {"connection_id":148056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:17:28] local.INFO: IMEI packet received {"connection_id":148056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":148056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:17:28] local.INFO: TCP Data received {"connection_id":149360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:17:28] local.INFO: Processing buffer {"connection_id":149360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:17:28] local.INFO: IMEI packet received {"connection_id":149360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":149360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:17:33] local.INFO: TCP Data received {"connection_id":148056,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:17:33] local.INFO: Processing buffer {"connection_id":148056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:17:33] local.INFO: IMEI packet received {"connection_id":148056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":148056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:17:34] local.INFO: TCP Data received {"connection_id":149360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:17:34] local.INFO: Processing buffer {"connection_id":149360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:17:34] local.INFO: IMEI packet received {"connection_id":149360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":149360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:17:35] local.INFO: TCP Data received {"connection_id":149360,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:17:35] local.INFO: Processing buffer {"connection_id":149360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:17:35] local.INFO: Packet analysis {"connection_id":149360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:17:35] local.INFO: Extracted packet for processing {"connection_id":149360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134491904001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785681910000,"timestamp_ms":1785681910000,"timestamp_seconds":1785681910,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ef98f0"} 
[2026-08-02 20:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134491904001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:17:35] local.INFO: TCP Data received {"connection_id":148056,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134491904001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:17:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:17:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134491904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:17:35] local.INFO: Processing buffer {"connection_id":148056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:17:35] local.INFO: Packet analysis {"connection_id":148056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:17:35] local.INFO: Extracted packet for processing {"connection_id":148056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134455808001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785681769000,"timestamp_ms":1785681769000,"timestamp_seconds":1785681769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ed7228"} 
[2026-08-02 20:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134455808001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134455808001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:17:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:17:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:17:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134455808001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":148056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:17:35] local.INFO: GPS data processed {"connection_id":148056,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:17:35] local.INFO: Acknowledgment sent {"connection_id":148056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":149360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:17:35] local.INFO: GPS data processed {"connection_id":149360,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:17:35] local.INFO: Acknowledgment sent {"connection_id":149360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:17:39] local.INFO: TCP Data received {"connection_id":148056,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:17:39] local.INFO: Processing buffer {"connection_id":148056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ed7228012cc330c007685958005800c52b..."} 
[2026-08-02 20:17:39] local.INFO: Packet analysis {"connection_id":148056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:17:39] local.INFO: Extracted packet for processing {"connection_id":148056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ed"} 
[2026-08-02 20:17:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134455808001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785681769000,"timestamp_ms":1785681769000,"timestamp_seconds":1785681769,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ed7228"} 
[2026-08-02 20:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:17: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-08-02 20: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":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134455808001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134455808001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:17:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:17:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:17:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134455808001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":148056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:17:39] local.INFO: GPS data processed {"connection_id":148056,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:17:39] local.INFO: Acknowledgment sent {"connection_id":148056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:18:05] local.INFO: TCP Data received {"connection_id":149360,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:18:05] local.INFO: Processing buffer {"connection_id":149360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:18:05] local.INFO: Packet analysis {"connection_id":149360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:18:05] local.INFO: Extracted packet for processing {"connection_id":149360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134491904001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681910000,"timestamp_ms":1785681910000,"timestamp_seconds":1785681910,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ef98f0"} 
[2026-08-02 20:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134491904001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134491904001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:18:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134491904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":149360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:18:06] local.INFO: GPS data processed {"connection_id":149360,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:18:06] local.INFO: Acknowledgment sent {"connection_id":149360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:18:23] local.INFO: TCP Data received {"connection_id":148057,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:18:23] local.INFO: Processing buffer {"connection_id":148057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:18:23] local.INFO: IMEI packet received {"connection_id":148057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":148057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:18:28] local.INFO: TCP Data received {"connection_id":148057,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:18:28] local.INFO: Processing buffer {"connection_id":148057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:18:28] local.INFO: IMEI packet received {"connection_id":148057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":148057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:18:28] local.INFO: TCP Data received {"connection_id":146809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:18:28] local.INFO: Processing buffer {"connection_id":146809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:18:28] local.INFO: IMEI packet received {"connection_id":146809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":146809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:18:30] local.INFO: TCP Data received {"connection_id":148057,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:18:30] local.INFO: Processing buffer {"connection_id":148057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:18:30] local.INFO: Packet analysis {"connection_id":148057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:18:30] local.INFO: Extracted packet for processing {"connection_id":148057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:18:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134532864001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682070000,"timestamp_ms":1785682070000,"timestamp_seconds":1785682070,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f209f0"} 
[2026-08-02 20:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134532864001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134532864001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:18:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:18:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134532864001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":148057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:18:30] local.INFO: GPS data processed {"connection_id":148057,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:18:30] local.INFO: Acknowledgment sent {"connection_id":148057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:18:34] local.INFO: TCP Data received {"connection_id":146809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:18:34] local.INFO: Processing buffer {"connection_id":146809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:18:34] local.INFO: IMEI packet received {"connection_id":146809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":146809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:18:34] local.INFO: TCP Data received {"connection_id":146809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:18:34] local.INFO: Processing buffer {"connection_id":146809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:18:34] local.INFO: Packet analysis {"connection_id":146809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:18:34] local.INFO: Extracted packet for processing {"connection_id":146809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134491904001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785681910000,"timestamp_ms":1785681910000,"timestamp_seconds":1785681910,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ef98f0"} 
[2026-08-02 20:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134491904001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134491904001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:18:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134491904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":146809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:18:34] local.INFO: GPS data processed {"connection_id":146809,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:18:34] local.INFO: Acknowledgment sent {"connection_id":146809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:19:02] local.INFO: TCP Data received {"connection_id":148057,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:19:02] local.INFO: Processing buffer {"connection_id":148057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:19:02] local.INFO: Packet analysis {"connection_id":148057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:19:02] local.INFO: Extracted packet for processing {"connection_id":148057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:19:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134532864001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785682070000,"timestamp_ms":1785682070000,"timestamp_seconds":1785682070,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f209f0"} 
[2026-08-02 20:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134532864001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134532864001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:19:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:19:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:19:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134532864001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":148057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:19:02] local.INFO: GPS data processed {"connection_id":148057,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:19:02] local.INFO: Acknowledgment sent {"connection_id":148057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:19:05] local.INFO: TCP Data received {"connection_id":146809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:19:05] local.INFO: Processing buffer {"connection_id":146809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:19:05] local.INFO: Packet analysis {"connection_id":146809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:19:05] local.INFO: Extracted packet for processing {"connection_id":146809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134491904001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785681910000,"timestamp_ms":1785681910000,"timestamp_seconds":1785681910,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ef98f0"} 
[2026-08-02 20:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134491904001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134491904001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:19:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134491904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":146809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:19:05] local.INFO: GPS data processed {"connection_id":146809,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:19:05] local.INFO: Acknowledgment sent {"connection_id":146809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:19:23] local.INFO: TCP Data received {"connection_id":147018,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:19:23] local.INFO: Processing buffer {"connection_id":147018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:19:23] local.INFO: IMEI packet received {"connection_id":147018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":147018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:19:28] local.INFO: TCP Data received {"connection_id":147018,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:19:28] local.INFO: Processing buffer {"connection_id":147018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:19:28] local.INFO: IMEI packet received {"connection_id":147018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":147018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:19:30] local.INFO: TCP Data received {"connection_id":147018,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:19:30] local.INFO: Processing buffer {"connection_id":147018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:19:30] local.INFO: Packet analysis {"connection_id":147018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:19:30] local.INFO: Extracted packet for processing {"connection_id":147018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:19:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134532864001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682070000,"timestamp_ms":1785682070000,"timestamp_seconds":1785682070,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f209f0"} 
[2026-08-02 20:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134532864001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134532864001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:19:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:19:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134532864001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":147018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:19:30] local.INFO: GPS data processed {"connection_id":147018,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:19:30] local.INFO: Acknowledgment sent {"connection_id":147018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:19:34] local.INFO: TCP Data received {"connection_id":148058,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:19:34] local.INFO: Processing buffer {"connection_id":148058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:19:34] local.INFO: IMEI packet received {"connection_id":148058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":148058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:19:39] local.INFO: TCP Data received {"connection_id":148058,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:19:39] local.INFO: Processing buffer {"connection_id":148058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:19:39] local.INFO: IMEI packet received {"connection_id":148058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":148058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:19:39] local.INFO: TCP Data received {"connection_id":148058,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:19:39] local.INFO: Processing buffer {"connection_id":148058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:19:39] local.INFO: Packet analysis {"connection_id":148058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:19:39] local.INFO: Extracted packet for processing {"connection_id":148058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134491904001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785681910000,"timestamp_ms":1785681910000,"timestamp_seconds":1785681910,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ef98f0"} 
[2026-08-02 20:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134491904001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134491904001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:19:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:19:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134491904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":148058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:19:40] local.INFO: GPS data processed {"connection_id":148058,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:19:40] local.INFO: Acknowledgment sent {"connection_id":148058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:19:44] local.INFO: TCP Data received {"connection_id":148058,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:19:44] local.INFO: Processing buffer {"connection_id":148058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:19:44] local.INFO: Packet analysis {"connection_id":148058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:19:44] local.INFO: Extracted packet for processing {"connection_id":148058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:19:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134491904001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785681910000,"timestamp_ms":1785681910000,"timestamp_seconds":1785681910,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ef98f0"} 
[2026-08-02 20:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134491904001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134491904001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:19:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:19:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134491904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":148058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:19:44] local.INFO: GPS data processed {"connection_id":148058,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:19:44] local.INFO: Acknowledgment sent {"connection_id":148058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:20:01] local.INFO: TCP Data received {"connection_id":147018,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:20:01] local.INFO: Processing buffer {"connection_id":147018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:20:01] local.INFO: Packet analysis {"connection_id":147018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:20:01] local.INFO: Extracted packet for processing {"connection_id":147018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:20:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134532864001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:20:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785682070000,"timestamp_ms":1785682070000,"timestamp_seconds":1785682070,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f209f0"} 
[2026-08-02 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-08-02 20:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134532864001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134532864001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:20:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:20:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:20:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134532864001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":147018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:20:01] local.INFO: GPS data processed {"connection_id":147018,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:20:01] local.INFO: Acknowledgment sent {"connection_id":147018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:20:28] local.INFO: TCP Data received {"connection_id":146810,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:20:28] local.INFO: Processing buffer {"connection_id":146810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:20:28] local.INFO: IMEI packet received {"connection_id":146810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":146810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:20:29] local.INFO: TCP Data received {"connection_id":146811,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:20:29] local.INFO: Processing buffer {"connection_id":146811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:20:29] local.INFO: IMEI packet received {"connection_id":146811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":146811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:20:34] local.INFO: TCP Data received {"connection_id":146810,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:20:34] local.INFO: Processing buffer {"connection_id":146810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:20:34] local.INFO: IMEI packet received {"connection_id":146810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":146810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:20:34] local.INFO: TCP Data received {"connection_id":146811,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:20:34] local.INFO: Processing buffer {"connection_id":146811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:20:34] local.INFO: IMEI packet received {"connection_id":146811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":146811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:20:35] local.INFO: TCP Data received {"connection_id":146811,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:20:35] local.INFO: Processing buffer {"connection_id":146811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ef98f0012d196700071fef08003d010e27..."} 
[2026-08-02 20:20:35] local.INFO: Packet analysis {"connection_id":146811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:20:35] local.INFO: Extracted packet for processing {"connection_id":146811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ef"} 
[2026-08-02 20:20:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134491904001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785681910000,"timestamp_ms":1785681910000,"timestamp_seconds":1785681910,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ef98f0"} 
[2026-08-02 20:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134491904001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134491904001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:20:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:20:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134491904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":146811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:20:35] local.INFO: GPS data processed {"connection_id":146811,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:20:35] local.INFO: Acknowledgment sent {"connection_id":146811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:20:39] local.INFO: TCP Data received {"connection_id":146810,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:20:39] local.INFO: Processing buffer {"connection_id":146810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:20:39] local.INFO: Packet analysis {"connection_id":146810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:20:39] local.INFO: Extracted packet for processing {"connection_id":146810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:20:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134532864001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:20:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785682070000,"timestamp_ms":1785682070000,"timestamp_seconds":1785682070,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f209f0"} 
[2026-08-02 20:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20: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-08-02 20:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134532864001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134532864001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:20:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:20:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:20:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134532864001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":146810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:20:39] local.INFO: GPS data processed {"connection_id":146810,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:20:39] local.INFO: Acknowledgment sent {"connection_id":146810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:20:40] local.INFO: TCP Data received {"connection_id":146810,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:20:40] local.INFO: Processing buffer {"connection_id":146810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:20:40] local.INFO: Packet analysis {"connection_id":146810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:20:40] local.INFO: Extracted packet for processing {"connection_id":146810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:20:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134532864001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785682070000,"timestamp_ms":1785682070000,"timestamp_seconds":1785682070,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f209f0"} 
[2026-08-02 20:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134532864001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134532864001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:20:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:20:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134532864001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":146810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:20:40] local.INFO: GPS data processed {"connection_id":146810,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:20:40] local.INFO: Acknowledgment sent {"connection_id":146810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:21:05] local.INFO: TCP Data received {"connection_id":146811,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:21:05] local.INFO: Processing buffer {"connection_id":146811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:21:05] local.INFO: Packet analysis {"connection_id":146811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:21:05] local.INFO: Extracted packet for processing {"connection_id":146811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134568960001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785682211000,"timestamp_ms":1785682211000,"timestamp_seconds":1785682211,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f430b8"} 
[2026-08-02 20:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134568960001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134568960001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:21:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134568960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":146811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:21:05] local.INFO: GPS data processed {"connection_id":146811,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:21:05] local.INFO: Acknowledgment sent {"connection_id":146811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:21:23] local.INFO: TCP Data received {"connection_id":147019,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:21:23] local.INFO: Processing buffer {"connection_id":147019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:21:23] local.INFO: IMEI packet received {"connection_id":147019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":147019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:21:28] local.INFO: TCP Data received {"connection_id":147019,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:21:28] local.INFO: Processing buffer {"connection_id":147019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:21:28] local.INFO: IMEI packet received {"connection_id":147019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":147019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:21:29] local.INFO: TCP Data received {"connection_id":147020,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:21:29] local.INFO: Processing buffer {"connection_id":147020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:21:29] local.INFO: IMEI packet received {"connection_id":147020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":147020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:21:30] local.INFO: TCP Data received {"connection_id":147019,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:21:30] local.INFO: Processing buffer {"connection_id":147019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:21:30] local.INFO: Packet analysis {"connection_id":147019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:21:30] local.INFO: Extracted packet for processing {"connection_id":147019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:21:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134532864001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682070000,"timestamp_ms":1785682070000,"timestamp_seconds":1785682070,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f209f0"} 
[2026-08-02 20:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134532864001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134532864001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:21:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:21:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134532864001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":147019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:21:30] local.INFO: GPS data processed {"connection_id":147019,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:21:30] local.INFO: Acknowledgment sent {"connection_id":147019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:21:34] local.INFO: TCP Data received {"connection_id":147020,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:21:34] local.INFO: Processing buffer {"connection_id":147020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:21:34] local.INFO: IMEI packet received {"connection_id":147020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":147020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:21:35] local.INFO: TCP Data received {"connection_id":147020,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:21:35] local.INFO: Processing buffer {"connection_id":147020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:21:35] local.INFO: Packet analysis {"connection_id":147020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:21:35] local.INFO: Extracted packet for processing {"connection_id":147020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134568960001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785682211000,"timestamp_ms":1785682211000,"timestamp_seconds":1785682211,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f430b8"} 
[2026-08-02 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-08-02 20:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134568960001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134568960001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:21:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134568960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":147020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:21:35] local.INFO: GPS data processed {"connection_id":147020,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:21:35] local.INFO: Acknowledgment sent {"connection_id":147020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:22:01] local.INFO: TCP Data received {"connection_id":147019,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:22:01] local.INFO: Processing buffer {"connection_id":147019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:22:01] local.INFO: Packet analysis {"connection_id":147019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:22:01] local.INFO: Extracted packet for processing {"connection_id":147019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:22:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134532864001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:22:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785682070000,"timestamp_ms":1785682070000,"timestamp_seconds":1785682070,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f209f0"} 
[2026-08-02 20:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134532864001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134532864001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:22:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:22:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:22:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134532864001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":147019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:22:01] local.INFO: GPS data processed {"connection_id":147019,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:22:01] local.INFO: Acknowledgment sent {"connection_id":147019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:22:06] local.INFO: TCP Data received {"connection_id":147020,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:22:06] local.INFO: Processing buffer {"connection_id":147020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:22:06] local.INFO: Packet analysis {"connection_id":147020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:22:06] local.INFO: Extracted packet for processing {"connection_id":147020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134568960001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785682211000,"timestamp_ms":1785682211000,"timestamp_seconds":1785682211,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f430b8"} 
[2026-08-02 20:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134568960001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134568960001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:22:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134568960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":147020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:22:06] local.INFO: GPS data processed {"connection_id":147020,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:22:06] local.INFO: Acknowledgment sent {"connection_id":147020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:22:23] local.INFO: TCP Data received {"connection_id":146812,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:22:23] local.INFO: Processing buffer {"connection_id":146812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:22:23] local.INFO: IMEI packet received {"connection_id":146812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":146812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:22:28] local.INFO: TCP Data received {"connection_id":146813,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:22:28] local.INFO: Processing buffer {"connection_id":146813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:22:28] local.INFO: IMEI packet received {"connection_id":146813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":146813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:22:28] local.INFO: TCP Data received {"connection_id":146812,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:22:28] local.INFO: Processing buffer {"connection_id":146812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:22:28] local.INFO: IMEI packet received {"connection_id":146812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":146812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:22:30] local.INFO: TCP Data received {"connection_id":146812,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:22:30] local.INFO: Processing buffer {"connection_id":146812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:22:30] local.INFO: Packet analysis {"connection_id":146812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:22:30] local.INFO: Extracted packet for processing {"connection_id":146812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:22:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134532864001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682070000,"timestamp_ms":1785682070000,"timestamp_seconds":1785682070,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f209f0"} 
[2026-08-02 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-08-02 20:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134532864001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134532864001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:22:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:22:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134532864001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":146812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:22:30] local.INFO: GPS data processed {"connection_id":146812,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:22:30] local.INFO: Acknowledgment sent {"connection_id":146812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:22:34] local.INFO: TCP Data received {"connection_id":146813,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:22:34] local.INFO: Processing buffer {"connection_id":146813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:22:34] local.INFO: IMEI packet received {"connection_id":146813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":146813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:22:35] local.INFO: TCP Data received {"connection_id":146813,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:22:35] local.INFO: Processing buffer {"connection_id":146813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:22:35] local.INFO: Packet analysis {"connection_id":146813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:22:35] local.INFO: Extracted packet for processing {"connection_id":146813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:22:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134568960001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785682211000,"timestamp_ms":1785682211000,"timestamp_seconds":1785682211,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f430b8"} 
[2026-08-02 20:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134568960001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134568960001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:22:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134568960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":146813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:22:35] local.INFO: GPS data processed {"connection_id":146813,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:22:35] local.INFO: Acknowledgment sent {"connection_id":146813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:23:02] local.INFO: TCP Data received {"connection_id":146812,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:23:02] local.INFO: Processing buffer {"connection_id":146812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f209f0012cc330c007685958005800c52a..."} 
[2026-08-02 20:23:02] local.INFO: Packet analysis {"connection_id":146812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:23:02] local.INFO: Extracted packet for processing {"connection_id":146812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f2"} 
[2026-08-02 20:23:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134532864001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785682070000,"timestamp_ms":1785682070000,"timestamp_seconds":1785682070,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f209f0"} 
[2026-08-02 20:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134532864001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134532864001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:23:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:23:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:23:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134532864001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":146812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:23:02] local.INFO: GPS data processed {"connection_id":146812,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:23:02] local.INFO: Acknowledgment sent {"connection_id":146812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:23:06] local.INFO: TCP Data received {"connection_id":146813,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:23:06] local.INFO: Processing buffer {"connection_id":146813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:23:06] local.INFO: Packet analysis {"connection_id":146813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:23:06] local.INFO: Extracted packet for processing {"connection_id":146813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134568960001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785682211000,"timestamp_ms":1785682211000,"timestamp_seconds":1785682211,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f430b8"} 
[2026-08-02 20:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134568960001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134568960001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:23:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134568960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":146813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:23:06] local.INFO: GPS data processed {"connection_id":146813,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:23:06] local.INFO: Acknowledgment sent {"connection_id":146813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:23:23] local.INFO: TCP Data received {"connection_id":147021,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:23:23] local.INFO: Processing buffer {"connection_id":147021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:23:23] local.INFO: IMEI packet received {"connection_id":147021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":147021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:23:28] local.INFO: TCP Data received {"connection_id":147021,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:23:28] local.INFO: Processing buffer {"connection_id":147021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:23:28] local.INFO: IMEI packet received {"connection_id":147021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":147021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:23:30] local.INFO: TCP Data received {"connection_id":147021,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:23:30] local.INFO: Processing buffer {"connection_id":147021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:23:30] local.INFO: Packet analysis {"connection_id":147021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:23:30] local.INFO: Extracted packet for processing {"connection_id":147021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:23:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134609920001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682371000,"timestamp_ms":1785682371000,"timestamp_seconds":1785682371,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f6a1b8"} 
[2026-08-02 20:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134609920001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134609920001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:23:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:23:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134609920001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":147021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:23:30] local.INFO: GPS data processed {"connection_id":147021,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:23:30] local.INFO: Acknowledgment sent {"connection_id":147021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:23:34] local.INFO: TCP Data received {"connection_id":149361,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:23:34] local.INFO: Processing buffer {"connection_id":149361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:23:34] local.INFO: IMEI packet received {"connection_id":149361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":149361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:23:39] local.INFO: TCP Data received {"connection_id":149361,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:23:39] local.INFO: Processing buffer {"connection_id":149361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:23:39] local.INFO: IMEI packet received {"connection_id":149361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":149361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:23:40] local.INFO: TCP Data received {"connection_id":149361,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:23:40] local.INFO: Processing buffer {"connection_id":149361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:23:40] local.INFO: Packet analysis {"connection_id":149361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:23:40] local.INFO: Extracted packet for processing {"connection_id":149361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:23:40] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134568960001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785682211000,"timestamp_ms":1785682211000,"timestamp_seconds":1785682211,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f430b8"} 
[2026-08-02 20:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134568960001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134568960001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:23:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134568960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":149361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:23:40] local.INFO: GPS data processed {"connection_id":149361,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:23:40] local.INFO: Acknowledgment sent {"connection_id":149361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:23:44] local.INFO: TCP Data received {"connection_id":149361,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:23:44] local.INFO: Processing buffer {"connection_id":149361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:23:44] local.INFO: Packet analysis {"connection_id":149361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:23:44] local.INFO: Extracted packet for processing {"connection_id":149361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134568960001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785682211000,"timestamp_ms":1785682211000,"timestamp_seconds":1785682211,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f430b8"} 
[2026-08-02 20:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134568960001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134568960001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:23:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:23:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134568960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":149361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:23:44] local.INFO: GPS data processed {"connection_id":149361,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:23:44] local.INFO: Acknowledgment sent {"connection_id":149361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:24:02] local.INFO: TCP Data received {"connection_id":147021,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:24:02] local.INFO: Processing buffer {"connection_id":147021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:24:02] local.INFO: Packet analysis {"connection_id":147021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:24:02] local.INFO: Extracted packet for processing {"connection_id":147021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:24:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134609920001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:24:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785682371000,"timestamp_ms":1785682371000,"timestamp_seconds":1785682371,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f6a1b8"} 
[2026-08-02 20:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134609920001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134609920001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:24:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:24:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:24:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134609920001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":147021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:24:02] local.INFO: GPS data processed {"connection_id":147021,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:24:02] local.INFO: Acknowledgment sent {"connection_id":147021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:24:23] local.INFO: TCP Data received {"connection_id":149362,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:24:23] local.INFO: Processing buffer {"connection_id":149362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:24:23] local.INFO: IMEI packet received {"connection_id":149362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":149362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:24:28] local.INFO: TCP Data received {"connection_id":149362,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:24:28] local.INFO: Processing buffer {"connection_id":149362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:24:28] local.INFO: IMEI packet received {"connection_id":149362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":149362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:24:29] local.INFO: TCP Data received {"connection_id":146814,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:24:29] local.INFO: Processing buffer {"connection_id":146814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:24:29] local.INFO: IMEI packet received {"connection_id":146814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":146814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:24:30] local.INFO: TCP Data received {"connection_id":149362,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:24:30] local.INFO: Processing buffer {"connection_id":149362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:24:30] local.INFO: Packet analysis {"connection_id":149362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:24:30] local.INFO: Extracted packet for processing {"connection_id":149362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:24:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134609920001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682371000,"timestamp_ms":1785682371000,"timestamp_seconds":1785682371,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f6a1b8"} 
[2026-08-02 20:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134609920001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134609920001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:24:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:24:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134609920001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":149362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:24:30] local.INFO: GPS data processed {"connection_id":149362,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:24:30] local.INFO: Acknowledgment sent {"connection_id":149362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:24:34] local.INFO: TCP Data received {"connection_id":146814,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:24:34] local.INFO: Processing buffer {"connection_id":146814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:24:34] local.INFO: IMEI packet received {"connection_id":146814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":146814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:24:34] local.INFO: TCP Data received {"connection_id":146814,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:24:34] local.INFO: Processing buffer {"connection_id":146814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:24:34] local.INFO: Packet analysis {"connection_id":146814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:24:34] local.INFO: Extracted packet for processing {"connection_id":146814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:24:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134568960001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785682211000,"timestamp_ms":1785682211000,"timestamp_seconds":1785682211,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f430b8"} 
[2026-08-02 20:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134568960001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134568960001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:24:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:24:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134568960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":146814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:24:35] local.INFO: GPS data processed {"connection_id":146814,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:24:35] local.INFO: Acknowledgment sent {"connection_id":146814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:24:39] local.INFO: TCP Data received {"connection_id":146814,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:24:39] local.INFO: Processing buffer {"connection_id":146814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:24:39] local.INFO: Packet analysis {"connection_id":146814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:24:39] local.INFO: Extracted packet for processing {"connection_id":146814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134568960001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785682211000,"timestamp_ms":1785682211000,"timestamp_seconds":1785682211,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f430b8"} 
[2026-08-02 20:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134568960001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134568960001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:24:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:24:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134568960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":146814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:24:39] local.INFO: GPS data processed {"connection_id":146814,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:24:39] local.INFO: Acknowledgment sent {"connection_id":146814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:25:02] local.INFO: TCP Data received {"connection_id":149362,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:25:02] local.INFO: Processing buffer {"connection_id":149362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:25:02] local.INFO: Packet analysis {"connection_id":149362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:25:02] local.INFO: Extracted packet for processing {"connection_id":149362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:25:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134609920001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:25:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785682371000,"timestamp_ms":1785682371000,"timestamp_seconds":1785682371,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f6a1b8"} 
[2026-08-02 20:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134609920001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134609920001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:25:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:25:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:25:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134609920001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":149362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:25:02] local.INFO: GPS data processed {"connection_id":149362,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:25:02] local.INFO: Acknowledgment sent {"connection_id":149362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:25:10] local.INFO: TCP Data received {"connection_id":146814,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:25:10] local.INFO: Processing buffer {"connection_id":146814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:25:10] local.INFO: Packet analysis {"connection_id":146814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:25:10] local.INFO: Extracted packet for processing {"connection_id":146814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134568960001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785682211000,"timestamp_ms":1785682211000,"timestamp_seconds":1785682211,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f430b8"} 
[2026-08-02 20:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134568960001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134568960001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:25:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134568960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":146814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:25:10] local.INFO: GPS data processed {"connection_id":146814,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:25:10] local.INFO: Acknowledgment sent {"connection_id":146814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:25:24] local.INFO: TCP Data received {"connection_id":149363,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:25:24] local.INFO: Processing buffer {"connection_id":149363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:25:24] local.INFO: IMEI packet received {"connection_id":149363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":149363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:25:28] local.INFO: TCP Data received {"connection_id":149363,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:25:28] local.INFO: Processing buffer {"connection_id":149363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:25:28] local.INFO: IMEI packet received {"connection_id":149363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":149363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:25:29] local.INFO: TCP Data received {"connection_id":149364,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:25:29] local.INFO: Processing buffer {"connection_id":149364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:25:29] local.INFO: IMEI packet received {"connection_id":149364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":149364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:25:30] local.INFO: TCP Data received {"connection_id":149363,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:25:30] local.INFO: Processing buffer {"connection_id":149363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:25:30] local.INFO: Packet analysis {"connection_id":149363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:25:30] local.INFO: Extracted packet for processing {"connection_id":149363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:25:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134609920001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682371000,"timestamp_ms":1785682371000,"timestamp_seconds":1785682371,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f6a1b8"} 
[2026-08-02 20:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134609920001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134609920001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:25:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:25:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134609920001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":149363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:25:30] local.INFO: GPS data processed {"connection_id":149363,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:25:30] local.INFO: Acknowledgment sent {"connection_id":149363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:25:34] local.INFO: TCP Data received {"connection_id":149364,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:25:34] local.INFO: Processing buffer {"connection_id":149364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:25:34] local.INFO: IMEI packet received {"connection_id":149364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":149364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:25:34] local.INFO: TCP Data received {"connection_id":149364,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:25:34] local.INFO: Processing buffer {"connection_id":149364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f430b8012d196700071fef08003d010e26..."} 
[2026-08-02 20:25:34] local.INFO: Packet analysis {"connection_id":149364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:25:34] local.INFO: Extracted packet for processing {"connection_id":149364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f4"} 
[2026-08-02 20:25:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134568960001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785682211000,"timestamp_ms":1785682211000,"timestamp_seconds":1785682211,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f430b8"} 
[2026-08-02 20:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134568960001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134568960001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:25:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:25:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134568960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":149364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:25:35] local.INFO: GPS data processed {"connection_id":149364,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:25:35] local.INFO: Acknowledgment sent {"connection_id":149364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:26:01] local.INFO: TCP Data received {"connection_id":149363,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:26:01] local.INFO: Processing buffer {"connection_id":149363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:26:01] local.INFO: Packet analysis {"connection_id":149363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:26:01] local.INFO: Extracted packet for processing {"connection_id":149363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:26:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134609920001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:26:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785682371000,"timestamp_ms":1785682371000,"timestamp_seconds":1785682371,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f6a1b8"} 
[2026-08-02 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-08-02 20:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134609920001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134609920001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:26:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:26:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:26:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134609920001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":149363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:26:01] local.INFO: GPS data processed {"connection_id":149363,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:26:01] local.INFO: Acknowledgment sent {"connection_id":149363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:26:06] local.INFO: TCP Data received {"connection_id":149364,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:26:06] local.INFO: Processing buffer {"connection_id":149364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:26:06] local.INFO: Packet analysis {"connection_id":149364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:26:06] local.INFO: Extracted packet for processing {"connection_id":149364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134646016001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785682512000,"timestamp_ms":1785682512000,"timestamp_seconds":1785682512,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f8c880"} 
[2026-08-02 20:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134646016001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134646016001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:26:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134646016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":149364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:26:06] local.INFO: GPS data processed {"connection_id":149364,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:26:06] local.INFO: Acknowledgment sent {"connection_id":149364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:26:23] local.INFO: TCP Data received {"connection_id":148059,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:26:23] local.INFO: Processing buffer {"connection_id":148059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:26:23] local.INFO: IMEI packet received {"connection_id":148059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":148059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:26:28] local.INFO: TCP Data received {"connection_id":148059,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:26:28] local.INFO: Processing buffer {"connection_id":148059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:26:28] local.INFO: IMEI packet received {"connection_id":148059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":148059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:26:28] local.INFO: TCP Data received {"connection_id":149365,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:26:28] local.INFO: Processing buffer {"connection_id":149365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:26:28] local.INFO: IMEI packet received {"connection_id":149365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":149365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:26:30] local.INFO: TCP Data received {"connection_id":148059,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:26:30] local.INFO: Processing buffer {"connection_id":148059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:26:30] local.INFO: Packet analysis {"connection_id":148059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:26:30] local.INFO: Extracted packet for processing {"connection_id":148059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:26:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134609920001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682371000,"timestamp_ms":1785682371000,"timestamp_seconds":1785682371,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f6a1b8"} 
[2026-08-02 20:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134609920001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134609920001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:26:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:26:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134609920001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":148059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:26:30] local.INFO: GPS data processed {"connection_id":148059,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:26:30] local.INFO: Acknowledgment sent {"connection_id":148059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:26:34] local.INFO: TCP Data received {"connection_id":149365,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:26:34] local.INFO: Processing buffer {"connection_id":149365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:26:34] local.INFO: IMEI packet received {"connection_id":149365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":149365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:26:34] local.INFO: TCP Data received {"connection_id":149365,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:26:34] local.INFO: Processing buffer {"connection_id":149365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:26:34] local.INFO: Packet analysis {"connection_id":149365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:26:34] local.INFO: Extracted packet for processing {"connection_id":149365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134646016001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785682512000,"timestamp_ms":1785682512000,"timestamp_seconds":1785682512,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f8c880"} 
[2026-08-02 20:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134646016001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134646016001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:26:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134646016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":149365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:26:35] local.INFO: GPS data processed {"connection_id":149365,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:26:35] local.INFO: Acknowledgment sent {"connection_id":149365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:27:01] local.INFO: TCP Data received {"connection_id":148059,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:27:01] local.INFO: Processing buffer {"connection_id":148059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:27:01] local.INFO: Packet analysis {"connection_id":148059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:27:01] local.INFO: Extracted packet for processing {"connection_id":148059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:27:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134609920001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785682371000,"timestamp_ms":1785682371000,"timestamp_seconds":1785682371,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f6a1b8"} 
[2026-08-02 20:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134609920001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134609920001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:27:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:27:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:27:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134609920001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":148059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:27:01] local.INFO: GPS data processed {"connection_id":148059,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:27:01] local.INFO: Acknowledgment sent {"connection_id":148059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:27:06] local.INFO: TCP Data received {"connection_id":149365,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:27:06] local.INFO: Processing buffer {"connection_id":149365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:27:06] local.INFO: Packet analysis {"connection_id":149365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:27:06] local.INFO: Extracted packet for processing {"connection_id":149365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134646016001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785682512000,"timestamp_ms":1785682512000,"timestamp_seconds":1785682512,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f8c880"} 
[2026-08-02 20:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134646016001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134646016001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:27:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134646016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":149365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:27:06] local.INFO: GPS data processed {"connection_id":149365,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:27:06] local.INFO: Acknowledgment sent {"connection_id":149365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:27:32] local.INFO: TCP Data received {"connection_id":147022,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:27:32] local.INFO: Processing buffer {"connection_id":147022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:27:32] local.INFO: IMEI packet received {"connection_id":147022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":147022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:27:33] local.INFO: TCP Data received {"connection_id":147022,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:27:33] local.INFO: Processing buffer {"connection_id":147022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:27:33] local.INFO: IMEI packet received {"connection_id":147022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":147022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:27:34] local.INFO: TCP Data received {"connection_id":149366,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:27:34] local.INFO: Processing buffer {"connection_id":149366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:27:34] local.INFO: IMEI packet received {"connection_id":149366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":149366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:27:38] local.INFO: TCP Data received {"connection_id":147022,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:27:38] local.INFO: Processing buffer {"connection_id":147022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:27:38] local.INFO: IMEI packet received {"connection_id":147022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":147022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:27:39] local.INFO: TCP Data received {"connection_id":149366,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:27:39] local.INFO: Processing buffer {"connection_id":149366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:27:39] local.INFO: IMEI packet received {"connection_id":149366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":149366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:27:40] local.INFO: TCP Data received {"connection_id":149366,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:27:40] local.INFO: Processing buffer {"connection_id":149366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:27:40] local.INFO: Packet analysis {"connection_id":149366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:27:40] local.INFO: Extracted packet for processing {"connection_id":149366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:27:40] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134646016001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785682512000,"timestamp_ms":1785682512000,"timestamp_seconds":1785682512,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f8c880"} 
[2026-08-02 20:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134646016001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134646016001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:27:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:27:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134646016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":149366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:27:40] local.INFO: GPS data processed {"connection_id":149366,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:27:40] local.INFO: Acknowledgment sent {"connection_id":149366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:27:40] local.INFO: TCP Data received {"connection_id":147022,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:27:40] local.INFO: Processing buffer {"connection_id":147022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:27:40] local.INFO: Packet analysis {"connection_id":147022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:27:40] local.INFO: Extracted packet for processing {"connection_id":147022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:27:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134609920001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785682371000,"timestamp_ms":1785682371000,"timestamp_seconds":1785682371,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f6a1b8"} 
[2026-08-02 20:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20: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-08-02 20:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134609920001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134609920001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:27:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:27:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134609920001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":147022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:27:40] local.INFO: GPS data processed {"connection_id":147022,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:27:40] local.INFO: Acknowledgment sent {"connection_id":147022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:27:44] local.INFO: TCP Data received {"connection_id":149366,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:27:44] local.INFO: Processing buffer {"connection_id":149366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:27:44] local.INFO: Packet analysis {"connection_id":149366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:27:44] local.INFO: Extracted packet for processing {"connection_id":149366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:27:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134646016001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785682512000,"timestamp_ms":1785682512000,"timestamp_seconds":1785682512,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f8c880"} 
[2026-08-02 20:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134646016001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134646016001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:27:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:27:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134646016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":149366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:27:44] local.INFO: GPS data processed {"connection_id":149366,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:27:44] local.INFO: Acknowledgment sent {"connection_id":149366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:28:23] local.INFO: TCP Data received {"connection_id":147023,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:28:23] local.INFO: Processing buffer {"connection_id":147023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:28:23] local.INFO: IMEI packet received {"connection_id":147023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":147023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:28:28] local.INFO: TCP Data received {"connection_id":147023,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:28:28] local.INFO: Processing buffer {"connection_id":147023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:28:28] local.INFO: IMEI packet received {"connection_id":147023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":147023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:28:29] local.INFO: TCP Data received {"connection_id":146815,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:28:29] local.INFO: Processing buffer {"connection_id":146815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:28:29] local.INFO: IMEI packet received {"connection_id":146815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":146815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:28:30] local.INFO: TCP Data received {"connection_id":147023,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:28:30] local.INFO: Processing buffer {"connection_id":147023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f6a1b8012cc330c007685958005800c528..."} 
[2026-08-02 20:28:30] local.INFO: Packet analysis {"connection_id":147023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:28:30] local.INFO: Extracted packet for processing {"connection_id":147023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f6"} 
[2026-08-02 20:28:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134609920001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682371000,"timestamp_ms":1785682371000,"timestamp_seconds":1785682371,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f6a1b8"} 
[2026-08-02 20:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134609920001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134609920001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:28:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:28:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134609920001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":147023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:28:30] local.INFO: GPS data processed {"connection_id":147023,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:28:30] local.INFO: Acknowledgment sent {"connection_id":147023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:28:34] local.INFO: TCP Data received {"connection_id":146815,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:28:34] local.INFO: Processing buffer {"connection_id":146815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:28:34] local.INFO: IMEI packet received {"connection_id":146815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":146815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:28:35] local.INFO: TCP Data received {"connection_id":146815,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:28:35] local.INFO: Processing buffer {"connection_id":146815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:28:35] local.INFO: Packet analysis {"connection_id":146815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:28:35] local.INFO: Extracted packet for processing {"connection_id":146815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134646016001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785682512000,"timestamp_ms":1785682512000,"timestamp_seconds":1785682512,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f8c880"} 
[2026-08-02 20:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134646016001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134646016001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:28:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134646016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":146815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:28:35] local.INFO: GPS data processed {"connection_id":146815,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:28:35] local.INFO: Acknowledgment sent {"connection_id":146815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:29:01] local.INFO: TCP Data received {"connection_id":147023,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:29:01] local.INFO: Processing buffer {"connection_id":147023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:29:01] local.INFO: Packet analysis {"connection_id":147023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:29:01] local.INFO: Extracted packet for processing {"connection_id":147023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:29:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134686976001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785682672000,"timestamp_ms":1785682672000,"timestamp_seconds":1785682672,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fb3980"} 
[2026-08-02 20:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134686976001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134686976001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:29:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:29:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:29:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134686976001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":147023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:29:01] local.INFO: GPS data processed {"connection_id":147023,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:29:01] local.INFO: Acknowledgment sent {"connection_id":147023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:29:06] local.INFO: TCP Data received {"connection_id":146815,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:29:06] local.INFO: Processing buffer {"connection_id":146815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:29:06] local.INFO: Packet analysis {"connection_id":146815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:29:06] local.INFO: Extracted packet for processing {"connection_id":146815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134646016001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785682512000,"timestamp_ms":1785682512000,"timestamp_seconds":1785682512,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f8c880"} 
[2026-08-02 20:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134646016001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134646016001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:29:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134646016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":146815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:29:06] local.INFO: GPS data processed {"connection_id":146815,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:29:06] local.INFO: Acknowledgment sent {"connection_id":146815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:29:28] local.INFO: TCP Data received {"connection_id":149367,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:29:28] local.INFO: Processing buffer {"connection_id":149367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:29:28] local.INFO: IMEI packet received {"connection_id":149367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":149367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:29:29] local.INFO: TCP Data received {"connection_id":148060,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:29:29] local.INFO: Processing buffer {"connection_id":148060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:29:29] local.INFO: IMEI packet received {"connection_id":148060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":148060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:29:33] local.INFO: TCP Data received {"connection_id":149367,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:29:33] local.INFO: Processing buffer {"connection_id":149367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:29:33] local.INFO: IMEI packet received {"connection_id":149367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":149367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:29:34] local.INFO: TCP Data received {"connection_id":148060,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:29:34] local.INFO: Processing buffer {"connection_id":148060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:29:34] local.INFO: IMEI packet received {"connection_id":148060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":148060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:29:35] local.INFO: TCP Data received {"connection_id":148060,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:29:35] local.INFO: Processing buffer {"connection_id":148060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:29:35] local.INFO: Packet analysis {"connection_id":148060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:29:35] local.INFO: Extracted packet for processing {"connection_id":148060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134646016001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785682512000,"timestamp_ms":1785682512000,"timestamp_seconds":1785682512,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f8c880"} 
[2026-08-02 20:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134646016001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134646016001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:29:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134646016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:29:35] local.INFO: TCP Data received {"connection_id":149367,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:29:35] local.INFO: Processing buffer {"connection_id":149367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:29:35] local.INFO: Packet analysis {"connection_id":149367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:29:35] local.INFO: Extracted packet for processing {"connection_id":149367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:29:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134686976001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785682672000,"timestamp_ms":1785682672000,"timestamp_seconds":1785682672,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fb3980"} 
[2026-08-02 20:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134686976001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134686976001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:29:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:29:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:29:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134686976001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":149367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:29:35] local.INFO: GPS data processed {"connection_id":149367,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:29:35] local.INFO: Acknowledgment sent {"connection_id":149367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":148060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:29:35] local.INFO: GPS data processed {"connection_id":148060,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:29:35] local.INFO: Acknowledgment sent {"connection_id":148060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:29:39] local.INFO: TCP Data received {"connection_id":149367,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:29:39] local.INFO: Processing buffer {"connection_id":149367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:29:39] local.INFO: Packet analysis {"connection_id":149367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:29:39] local.INFO: Extracted packet for processing {"connection_id":149367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:29:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134686976001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785682672000,"timestamp_ms":1785682672000,"timestamp_seconds":1785682672,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fb3980"} 
[2026-08-02 20:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20: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-08-02 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134686976001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134686976001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:29:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:29:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:29:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134686976001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":149367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:29:39] local.INFO: GPS data processed {"connection_id":149367,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:29:39] local.INFO: Acknowledgment sent {"connection_id":149367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:30:06] local.INFO: TCP Data received {"connection_id":148060,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:30:06] local.INFO: Processing buffer {"connection_id":148060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:30:06] local.INFO: Packet analysis {"connection_id":148060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:30:06] local.INFO: Extracted packet for processing {"connection_id":148060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134646016001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785682512000,"timestamp_ms":1785682512000,"timestamp_seconds":1785682512,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f8c880"} 
[2026-08-02 20:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134646016001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134646016001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:30:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134646016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":148060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:30:06] local.INFO: GPS data processed {"connection_id":148060,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:30:06] local.INFO: Acknowledgment sent {"connection_id":148060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:30:29] local.INFO: TCP Data received {"connection_id":148061,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:30:29] local.INFO: Processing buffer {"connection_id":148061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:30:29] local.INFO: IMEI packet received {"connection_id":148061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":148061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:30:30] local.INFO: TCP Data received {"connection_id":147024,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:30:30] local.INFO: Processing buffer {"connection_id":147024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:30:30] local.INFO: IMEI packet received {"connection_id":147024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":147024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:30:34] local.INFO: TCP Data received {"connection_id":148061,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:30:34] local.INFO: Processing buffer {"connection_id":148061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:30:34] local.INFO: IMEI packet received {"connection_id":148061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":148061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:30:34] local.INFO: TCP Data received {"connection_id":148061,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:30:34] local.INFO: Processing buffer {"connection_id":148061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2f8c880012d196700071fef08003d010e25..."} 
[2026-08-02 20:30:34] local.INFO: Packet analysis {"connection_id":148061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:30:34] local.INFO: Extracted packet for processing {"connection_id":148061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2f8"} 
[2026-08-02 20:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134646016001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785682512000,"timestamp_ms":1785682512000,"timestamp_seconds":1785682512,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2f8c880"} 
[2026-08-02 20:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134646016001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134646016001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:30:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134646016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":148061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:30:35] local.INFO: GPS data processed {"connection_id":148061,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:30:35] local.INFO: Acknowledgment sent {"connection_id":148061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:30:37] local.INFO: TCP Data received {"connection_id":147024,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:30:37] local.INFO: Processing buffer {"connection_id":147024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:30:37] local.INFO: IMEI packet received {"connection_id":147024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":147024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:30:44] local.INFO: TCP Data received {"connection_id":147024,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:30:44] local.INFO: Processing buffer {"connection_id":147024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:30:44] local.INFO: Packet analysis {"connection_id":147024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:30:44] local.INFO: Extracted packet for processing {"connection_id":147024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:30:44] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134686976001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:30:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785682672000,"timestamp_ms":1785682672000,"timestamp_seconds":1785682672,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fb3980"} 
[2026-08-02 20:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134686976001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134686976001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:30:44] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:30:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:30:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134686976001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":147024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:30:44] local.INFO: GPS data processed {"connection_id":147024,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:30:44] local.INFO: Acknowledgment sent {"connection_id":147024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:30:56] local.INFO: TCP Data received {"connection_id":147024,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:30:56] local.INFO: Processing buffer {"connection_id":147024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:30:56] local.INFO: Packet analysis {"connection_id":147024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:30:56] local.INFO: Extracted packet for processing {"connection_id":147024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:30:56] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134686976001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:30:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785682672000,"timestamp_ms":1785682672000,"timestamp_seconds":1785682672,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fb3980"} 
[2026-08-02 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-08-02 20:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134686976001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134686976001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:30:56] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:30:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:30:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134686976001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":147024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:30:56] local.INFO: GPS data processed {"connection_id":147024,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:30:56] local.INFO: Acknowledgment sent {"connection_id":147024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:31:06] local.INFO: TCP Data received {"connection_id":148061,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:31:06] local.INFO: Processing buffer {"connection_id":148061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:31:06] local.INFO: Packet analysis {"connection_id":148061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:31:06] local.INFO: Extracted packet for processing {"connection_id":148061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134723072001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785682813000,"timestamp_ms":1785682813000,"timestamp_seconds":1785682813,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fd6048"} 
[2026-08-02 20:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134723072001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134723072001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:31:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134723072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":148061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:31:06] local.INFO: GPS data processed {"connection_id":148061,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:31:06] local.INFO: Acknowledgment sent {"connection_id":148061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:31:23] local.INFO: TCP Data received {"connection_id":147025,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:31:23] local.INFO: Processing buffer {"connection_id":147025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:31:23] local.INFO: IMEI packet received {"connection_id":147025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":147025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:31:28] local.INFO: TCP Data received {"connection_id":149368,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:31:28] local.INFO: Processing buffer {"connection_id":149368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:31:28] local.INFO: IMEI packet received {"connection_id":149368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":149368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:31:28] local.INFO: TCP Data received {"connection_id":147025,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:31:28] local.INFO: Processing buffer {"connection_id":147025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:31:28] local.INFO: IMEI packet received {"connection_id":147025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":147025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:31:30] local.INFO: TCP Data received {"connection_id":147025,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:31:30] local.INFO: Processing buffer {"connection_id":147025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:31:30] local.INFO: Packet analysis {"connection_id":147025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:31:30] local.INFO: Extracted packet for processing {"connection_id":147025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:31:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134686976001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682672000,"timestamp_ms":1785682672000,"timestamp_seconds":1785682672,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fb3980"} 
[2026-08-02 20:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134686976001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134686976001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:31:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:31:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134686976001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":147025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:31:30] local.INFO: GPS data processed {"connection_id":147025,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:31:30] local.INFO: Acknowledgment sent {"connection_id":147025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:31:34] local.INFO: TCP Data received {"connection_id":149368,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:31:34] local.INFO: Processing buffer {"connection_id":149368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:31:34] local.INFO: IMEI packet received {"connection_id":149368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":149368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:31:35] local.INFO: TCP Data received {"connection_id":149368,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:31:35] local.INFO: Processing buffer {"connection_id":149368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:31:35] local.INFO: Packet analysis {"connection_id":149368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:31:35] local.INFO: Extracted packet for processing {"connection_id":149368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134723072001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785682813000,"timestamp_ms":1785682813000,"timestamp_seconds":1785682813,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fd6048"} 
[2026-08-02 20:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134723072001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134723072001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:31:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134723072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":149368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:31:35] local.INFO: GPS data processed {"connection_id":149368,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:31:35] local.INFO: Acknowledgment sent {"connection_id":149368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:32:02] local.INFO: TCP Data received {"connection_id":147025,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:32:02] local.INFO: Processing buffer {"connection_id":147025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:32:02] local.INFO: Packet analysis {"connection_id":147025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:32:02] local.INFO: Extracted packet for processing {"connection_id":147025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:32:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134686976001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785682672000,"timestamp_ms":1785682672000,"timestamp_seconds":1785682672,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fb3980"} 
[2026-08-02 20:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134686976001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134686976001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:32:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:32:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:32:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134686976001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":147025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:32:02] local.INFO: GPS data processed {"connection_id":147025,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:32:02] local.INFO: Acknowledgment sent {"connection_id":147025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:32:06] local.INFO: TCP Data received {"connection_id":149368,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:32:06] local.INFO: Processing buffer {"connection_id":149368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:32:06] local.INFO: Packet analysis {"connection_id":149368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:32:06] local.INFO: Extracted packet for processing {"connection_id":149368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134723072001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785682813000,"timestamp_ms":1785682813000,"timestamp_seconds":1785682813,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fd6048"} 
[2026-08-02 20:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134723072001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134723072001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:32:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134723072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":149368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:32:06] local.INFO: GPS data processed {"connection_id":149368,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:32:06] local.INFO: Acknowledgment sent {"connection_id":149368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:32:23] local.INFO: TCP Data received {"connection_id":147026,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:32:23] local.INFO: Processing buffer {"connection_id":147026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:32:23] local.INFO: IMEI packet received {"connection_id":147026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":147026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:32:28] local.INFO: TCP Data received {"connection_id":147026,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:32:28] local.INFO: Processing buffer {"connection_id":147026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:32:28] local.INFO: IMEI packet received {"connection_id":147026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":147026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:32:30] local.INFO: TCP Data received {"connection_id":147026,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:32:30] local.INFO: Processing buffer {"connection_id":147026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:32:30] local.INFO: Packet analysis {"connection_id":147026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:32:30] local.INFO: Extracted packet for processing {"connection_id":147026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:32:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134686976001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682672000,"timestamp_ms":1785682672000,"timestamp_seconds":1785682672,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fb3980"} 
[2026-08-02 20:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134686976001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134686976001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:32:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:32:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134686976001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":147026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:32:30] local.INFO: GPS data processed {"connection_id":147026,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:32:30] local.INFO: Acknowledgment sent {"connection_id":147026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:32:34] local.INFO: TCP Data received {"connection_id":147027,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:32:34] local.INFO: Processing buffer {"connection_id":147027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:32:34] local.INFO: IMEI packet received {"connection_id":147027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":147027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:32:39] local.INFO: TCP Data received {"connection_id":147027,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:32:39] local.INFO: Processing buffer {"connection_id":147027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:32:39] local.INFO: IMEI packet received {"connection_id":147027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":147027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:32:40] local.INFO: TCP Data received {"connection_id":147027,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:32:40] local.INFO: Processing buffer {"connection_id":147027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:32:40] local.INFO: Packet analysis {"connection_id":147027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:32:40] local.INFO: Extracted packet for processing {"connection_id":147027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:32:40] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134723072001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785682813000,"timestamp_ms":1785682813000,"timestamp_seconds":1785682813,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fd6048"} 
[2026-08-02 20:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134723072001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134723072001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:32:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:32:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134723072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":147027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:32:40] local.INFO: GPS data processed {"connection_id":147027,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:32:40] local.INFO: Acknowledgment sent {"connection_id":147027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:32:44] local.INFO: TCP Data received {"connection_id":147027,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:32:44] local.INFO: Processing buffer {"connection_id":147027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:32:44] local.INFO: Packet analysis {"connection_id":147027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:32:44] local.INFO: Extracted packet for processing {"connection_id":147027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:32:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134723072001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785682813000,"timestamp_ms":1785682813000,"timestamp_seconds":1785682813,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fd6048"} 
[2026-08-02 20:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134723072001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134723072001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:32:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:32:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134723072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":147027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:32:44] local.INFO: GPS data processed {"connection_id":147027,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:32:44] local.INFO: Acknowledgment sent {"connection_id":147027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:32:49] local.INFO: TCP Data received {"connection_id":147027,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:32:49] local.INFO: Processing buffer {"connection_id":147027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:32:49] local.INFO: Packet analysis {"connection_id":147027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:32:49] local.INFO: Extracted packet for processing {"connection_id":147027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134723072001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785682813000,"timestamp_ms":1785682813000,"timestamp_seconds":1785682813,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fd6048"} 
[2026-08-02 20:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134723072001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134723072001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:32:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134723072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":147027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:32:49] local.INFO: GPS data processed {"connection_id":147027,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:32:49] local.INFO: Acknowledgment sent {"connection_id":147027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:33:01] local.INFO: TCP Data received {"connection_id":147026,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:33:01] local.INFO: Processing buffer {"connection_id":147026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fb3980012cc330c007685958005800c52d..."} 
[2026-08-02 20:33:01] local.INFO: Packet analysis {"connection_id":147026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:33:01] local.INFO: Extracted packet for processing {"connection_id":147026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fb"} 
[2026-08-02 20:33:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134686976001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:33:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785682672000,"timestamp_ms":1785682672000,"timestamp_seconds":1785682672,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fb3980"} 
[2026-08-02 20:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 20:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134686976001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134686976001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:33:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:33:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:33:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134686976001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":147026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:33:01] local.INFO: GPS data processed {"connection_id":147026,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:33:01] local.INFO: Acknowledgment sent {"connection_id":147026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:33:28] local.INFO: TCP Data received {"connection_id":148062,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:33:28] local.INFO: Processing buffer {"connection_id":148062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:33:28] local.INFO: IMEI packet received {"connection_id":148062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":148062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:33:29] local.INFO: TCP Data received {"connection_id":147028,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:33:29] local.INFO: Processing buffer {"connection_id":147028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:33:29] local.INFO: IMEI packet received {"connection_id":147028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":147028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:33:31] local.INFO: TCP Data received {"connection_id":148062,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:33:31] local.INFO: Processing buffer {"connection_id":148062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:33:31] local.INFO: IMEI packet received {"connection_id":148062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":148062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:33:33] local.INFO: TCP Data received {"connection_id":148062,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:33:33] local.INFO: Processing buffer {"connection_id":148062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:33:33] local.INFO: Packet analysis {"connection_id":148062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:33:33] local.INFO: Extracted packet for processing {"connection_id":148062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:33:33] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134764032001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:33:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785682973000,"timestamp_ms":1785682973000,"timestamp_seconds":1785682973,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ffd148"} 
[2026-08-02 20:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134764032001,"66":25201,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134764032001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:33:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:33:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:33:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134764032001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":148062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:33:33] local.INFO: GPS data processed {"connection_id":148062,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:33:33] local.INFO: Acknowledgment sent {"connection_id":148062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:33:34] local.INFO: TCP Data received {"connection_id":148062,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:33:34] local.INFO: Processing buffer {"connection_id":148062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:33:34] local.INFO: Packet analysis {"connection_id":148062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:33:34] local.INFO: Extracted packet for processing {"connection_id":148062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:33:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134764032001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:33:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785682973000,"timestamp_ms":1785682973000,"timestamp_seconds":1785682973,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ffd148"} 
[2026-08-02 20:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134764032001,"66":25201,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134764032001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:33:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:33:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:33:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134764032001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":148062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:33:34] local.INFO: GPS data processed {"connection_id":148062,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:33:34] local.INFO: Acknowledgment sent {"connection_id":148062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:33:34] local.INFO: TCP Data received {"connection_id":147028,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:33:34] local.INFO: Processing buffer {"connection_id":147028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:33:34] local.INFO: IMEI packet received {"connection_id":147028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":147028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:33:35] local.INFO: TCP Data received {"connection_id":147028,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:33:35] local.INFO: Processing buffer {"connection_id":147028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:33:35] local.INFO: Packet analysis {"connection_id":147028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:33:35] local.INFO: Extracted packet for processing {"connection_id":147028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134723072001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785682813000,"timestamp_ms":1785682813000,"timestamp_seconds":1785682813,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fd6048"} 
[2026-08-02 20:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134723072001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134723072001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:33:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134723072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":147028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:33:35] local.INFO: GPS data processed {"connection_id":147028,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:33:35] local.INFO: Acknowledgment sent {"connection_id":147028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:34:05] local.INFO: TCP Data received {"connection_id":148062,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:34:05] local.INFO: Processing buffer {"connection_id":148062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:34:05] local.INFO: Packet analysis {"connection_id":148062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:34:05] local.INFO: Extracted packet for processing {"connection_id":148062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:34:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134764032001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:34:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785682973000,"timestamp_ms":1785682973000,"timestamp_seconds":1785682973,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ffd148"} 
[2026-08-02 20:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134764032001,"66":25201,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134764032001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:34:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:34:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:34:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134764032001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":148062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:34:05] local.INFO: GPS data processed {"connection_id":148062,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:34:05] local.INFO: Acknowledgment sent {"connection_id":148062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:34:06] local.INFO: TCP Data received {"connection_id":147028,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:34:06] local.INFO: Processing buffer {"connection_id":147028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:34:06] local.INFO: Packet analysis {"connection_id":147028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:34:06] local.INFO: Extracted packet for processing {"connection_id":147028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134723072001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785682813000,"timestamp_ms":1785682813000,"timestamp_seconds":1785682813,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fd6048"} 
[2026-08-02 20:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134723072001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134723072001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:34:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134723072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":147028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:34:06] local.INFO: GPS data processed {"connection_id":147028,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:34:06] local.INFO: Acknowledgment sent {"connection_id":147028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:34:23] local.INFO: TCP Data received {"connection_id":146816,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:34:23] local.INFO: Processing buffer {"connection_id":146816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:34:23] local.INFO: IMEI packet received {"connection_id":146816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":146816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:34:28] local.INFO: TCP Data received {"connection_id":146816,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:34:28] local.INFO: Processing buffer {"connection_id":146816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:34:28] local.INFO: IMEI packet received {"connection_id":146816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":146816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:34:29] local.INFO: TCP Data received {"connection_id":146817,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:34:29] local.INFO: Processing buffer {"connection_id":146817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:34:29] local.INFO: IMEI packet received {"connection_id":146817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":146817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:34:30] local.INFO: TCP Data received {"connection_id":146816,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:34:30] local.INFO: Processing buffer {"connection_id":146816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:34:30] local.INFO: Packet analysis {"connection_id":146816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:34:30] local.INFO: Extracted packet for processing {"connection_id":146816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:34:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134764032001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682973000,"timestamp_ms":1785682973000,"timestamp_seconds":1785682973,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ffd148"} 
[2026-08-02 20:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134764032001,"66":25201,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134764032001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:34:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:34:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134764032001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":146816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:34:30] local.INFO: GPS data processed {"connection_id":146816,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:34:30] local.INFO: Acknowledgment sent {"connection_id":146816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:34:34] local.INFO: TCP Data received {"connection_id":146817,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:34:34] local.INFO: Processing buffer {"connection_id":146817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:34:34] local.INFO: IMEI packet received {"connection_id":146817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":146817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:34:35] local.INFO: TCP Data received {"connection_id":146817,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:34:35] local.INFO: Processing buffer {"connection_id":146817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:34:35] local.INFO: Packet analysis {"connection_id":146817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:34:35] local.INFO: Extracted packet for processing {"connection_id":146817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134723072001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785682813000,"timestamp_ms":1785682813000,"timestamp_seconds":1785682813,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fd6048"} 
[2026-08-02 20:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134723072001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134723072001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:34:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134723072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":146817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:34:35] local.INFO: GPS data processed {"connection_id":146817,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:34:35] local.INFO: Acknowledgment sent {"connection_id":146817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:35:01] local.INFO: TCP Data received {"connection_id":146816,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:35:01] local.INFO: Processing buffer {"connection_id":146816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:35:01] local.INFO: Packet analysis {"connection_id":146816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:35:01] local.INFO: Extracted packet for processing {"connection_id":146816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:35:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134764032001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:35:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785682973000,"timestamp_ms":1785682973000,"timestamp_seconds":1785682973,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ffd148"} 
[2026-08-02 20:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134764032001,"66":25201,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134764032001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:35:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:35:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:35:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134764032001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":146816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:35:01] local.INFO: GPS data processed {"connection_id":146816,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:35:01] local.INFO: Acknowledgment sent {"connection_id":146816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:35:06] local.INFO: TCP Data received {"connection_id":146817,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:35:06] local.INFO: Processing buffer {"connection_id":146817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:35:06] local.INFO: Packet analysis {"connection_id":146817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:35:06] local.INFO: Extracted packet for processing {"connection_id":146817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134723072001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785682813000,"timestamp_ms":1785682813000,"timestamp_seconds":1785682813,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fd6048"} 
[2026-08-02 20:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134723072001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134723072001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:35:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134723072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":146817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:35:06] local.INFO: GPS data processed {"connection_id":146817,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:35:06] local.INFO: Acknowledgment sent {"connection_id":146817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:35:23] local.INFO: TCP Data received {"connection_id":149369,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:35:23] local.INFO: Processing buffer {"connection_id":149369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:35:23] local.INFO: IMEI packet received {"connection_id":149369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":149369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:35:28] local.INFO: TCP Data received {"connection_id":149369,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:35:28] local.INFO: Processing buffer {"connection_id":149369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:35:28] local.INFO: IMEI packet received {"connection_id":149369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":149369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:35:29] local.INFO: TCP Data received {"connection_id":148063,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:35:29] local.INFO: Processing buffer {"connection_id":148063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:35:29] local.INFO: IMEI packet received {"connection_id":148063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":148063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:35:30] local.INFO: TCP Data received {"connection_id":149369,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:35:30] local.INFO: Processing buffer {"connection_id":149369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:35:30] local.INFO: Packet analysis {"connection_id":149369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:35:30] local.INFO: Extracted packet for processing {"connection_id":149369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:35:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134764032001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682973000,"timestamp_ms":1785682973000,"timestamp_seconds":1785682973,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ffd148"} 
[2026-08-02 20:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134764032001,"66":25201,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134764032001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:35:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:35:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134764032001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":149369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:35:30] local.INFO: GPS data processed {"connection_id":149369,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:35:30] local.INFO: Acknowledgment sent {"connection_id":149369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:35:34] local.INFO: TCP Data received {"connection_id":148063,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:35:34] local.INFO: Processing buffer {"connection_id":148063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:35:34] local.INFO: IMEI packet received {"connection_id":148063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":148063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:35:34] local.INFO: TCP Data received {"connection_id":148063,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:35:34] local.INFO: Processing buffer {"connection_id":148063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2fd6048012d196700071fef08003d010e27..."} 
[2026-08-02 20:35:34] local.INFO: Packet analysis {"connection_id":148063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:35:34] local.INFO: Extracted packet for processing {"connection_id":148063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2fd"} 
[2026-08-02 20:35:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134723072001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785682813000,"timestamp_ms":1785682813000,"timestamp_seconds":1785682813,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2fd6048"} 
[2026-08-02 20:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134723072001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134723072001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:35:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134723072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":148063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:35:35] local.INFO: GPS data processed {"connection_id":148063,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:35:35] local.INFO: Acknowledgment sent {"connection_id":148063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:36:01] local.INFO: TCP Data received {"connection_id":149369,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:36:01] local.INFO: Processing buffer {"connection_id":149369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:36:01] local.INFO: Packet analysis {"connection_id":149369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:36:01] local.INFO: Extracted packet for processing {"connection_id":149369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:36:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134764032001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:36:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785682973000,"timestamp_ms":1785682973000,"timestamp_seconds":1785682973,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ffd148"} 
[2026-08-02 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-08-02 20:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134764032001,"66":25201,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134764032001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:36:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:36:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:36:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134764032001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":149369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:36:01] local.INFO: GPS data processed {"connection_id":149369,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:36:01] local.INFO: Acknowledgment sent {"connection_id":149369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:36:06] local.INFO: TCP Data received {"connection_id":148063,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:36:06] local.INFO: Processing buffer {"connection_id":148063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:36:06] local.INFO: Packet analysis {"connection_id":148063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:36:06] local.INFO: Extracted packet for processing {"connection_id":148063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134800128001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785683114000,"timestamp_ms":1785683114000,"timestamp_seconds":1785683114,"priority":1,"record_length":96,"hex_timestamp":"0000019fc301f810"} 
[2026-08-02 20:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134800128001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134800128001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:36:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134800128001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":148063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:36:06] local.INFO: GPS data processed {"connection_id":148063,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:36:06] local.INFO: Acknowledgment sent {"connection_id":148063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:36:23] local.INFO: TCP Data received {"connection_id":147029,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:36:23] local.INFO: Processing buffer {"connection_id":147029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:36:23] local.INFO: IMEI packet received {"connection_id":147029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":147029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:36:28] local.INFO: TCP Data received {"connection_id":147029,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:36:28] local.INFO: Processing buffer {"connection_id":147029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:36:28] local.INFO: IMEI packet received {"connection_id":147029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":147029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:36:28] local.INFO: TCP Data received {"connection_id":149370,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:36:28] local.INFO: Processing buffer {"connection_id":149370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:36:28] local.INFO: IMEI packet received {"connection_id":149370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":149370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:36:30] local.INFO: TCP Data received {"connection_id":147029,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:36:30] local.INFO: Processing buffer {"connection_id":147029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:36:30] local.INFO: Packet analysis {"connection_id":147029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:36:30] local.INFO: Extracted packet for processing {"connection_id":147029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:36:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134764032001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682973000,"timestamp_ms":1785682973000,"timestamp_seconds":1785682973,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ffd148"} 
[2026-08-02 20:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134764032001,"66":25201,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134764032001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:36:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:36:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134764032001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":147029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:36:30] local.INFO: GPS data processed {"connection_id":147029,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:36:30] local.INFO: Acknowledgment sent {"connection_id":147029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:36:34] local.INFO: TCP Data received {"connection_id":149370,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:36:34] local.INFO: Processing buffer {"connection_id":149370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:36:34] local.INFO: IMEI packet received {"connection_id":149370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":149370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:36:34] local.INFO: TCP Data received {"connection_id":149370,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:36:34] local.INFO: Processing buffer {"connection_id":149370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:36:34] local.INFO: Packet analysis {"connection_id":149370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:36:34] local.INFO: Extracted packet for processing {"connection_id":149370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:36:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134800128001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785683114000,"timestamp_ms":1785683114000,"timestamp_seconds":1785683114,"priority":1,"record_length":96,"hex_timestamp":"0000019fc301f810"} 
[2026-08-02 20:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:36: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-08-02 20:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134800128001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134800128001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:36:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:36:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134800128001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":149370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:36:35] local.INFO: GPS data processed {"connection_id":149370,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:36:35] local.INFO: Acknowledgment sent {"connection_id":149370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:37:01] local.INFO: TCP Data received {"connection_id":147029,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:37:01] local.INFO: Processing buffer {"connection_id":147029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:37:01] local.INFO: Packet analysis {"connection_id":147029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:37:01] local.INFO: Extracted packet for processing {"connection_id":147029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:37:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134764032001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785682973000,"timestamp_ms":1785682973000,"timestamp_seconds":1785682973,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ffd148"} 
[2026-08-02 20:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134764032001,"66":25201,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134764032001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:37:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:37:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:37:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134764032001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":147029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:37:01] local.INFO: GPS data processed {"connection_id":147029,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:37:01] local.INFO: Acknowledgment sent {"connection_id":147029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:37:06] local.INFO: TCP Data received {"connection_id":149370,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:37:06] local.INFO: Processing buffer {"connection_id":149370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:37:06] local.INFO: Packet analysis {"connection_id":149370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:37:06] local.INFO: Extracted packet for processing {"connection_id":149370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134800128001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785683114000,"timestamp_ms":1785683114000,"timestamp_seconds":1785683114,"priority":1,"record_length":96,"hex_timestamp":"0000019fc301f810"} 
[2026-08-02 20:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:37: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-08-02 20:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134800128001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134800128001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:37:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134800128001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":149370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:37:06] local.INFO: GPS data processed {"connection_id":149370,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:37:06] local.INFO: Acknowledgment sent {"connection_id":149370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:37:28] local.INFO: TCP Data received {"connection_id":148064,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:37:28] local.INFO: Processing buffer {"connection_id":148064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:37:28] local.INFO: IMEI packet received {"connection_id":148064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":148064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:37:28] local.INFO: TCP Data received {"connection_id":148065,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:37:28] local.INFO: Processing buffer {"connection_id":148065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:37:28] local.INFO: IMEI packet received {"connection_id":148065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":148065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:37:33] local.INFO: TCP Data received {"connection_id":148064,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:37:33] local.INFO: Processing buffer {"connection_id":148064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:37:33] local.INFO: IMEI packet received {"connection_id":148064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":148064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:37:34] local.INFO: TCP Data received {"connection_id":148065,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:37:34] local.INFO: Processing buffer {"connection_id":148065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:37:34] local.INFO: IMEI packet received {"connection_id":148065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":148065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:37:34] local.INFO: TCP Data received {"connection_id":148065,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:37:34] local.INFO: Processing buffer {"connection_id":148065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:37:34] local.INFO: Packet analysis {"connection_id":148065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:37:34] local.INFO: Extracted packet for processing {"connection_id":148065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134800128001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785683114000,"timestamp_ms":1785683114000,"timestamp_seconds":1785683114,"priority":1,"record_length":96,"hex_timestamp":"0000019fc301f810"} 
[2026-08-02 20:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134800128001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134800128001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:37:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134800128001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":148065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:37:35] local.INFO: GPS data processed {"connection_id":148065,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:37:35] local.INFO: Acknowledgment sent {"connection_id":148065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:37:35] local.INFO: TCP Data received {"connection_id":148064,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:37:35] local.INFO: Processing buffer {"connection_id":148064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:37:35] local.INFO: Packet analysis {"connection_id":148064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:37:35] local.INFO: Extracted packet for processing {"connection_id":148064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:37:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134764032001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785682973000,"timestamp_ms":1785682973000,"timestamp_seconds":1785682973,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ffd148"} 
[2026-08-02 20:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134764032001,"66":25201,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134764032001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:37:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:37:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134764032001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":148064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:37:35] local.INFO: GPS data processed {"connection_id":148064,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:37:35] local.INFO: Acknowledgment sent {"connection_id":148064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:37:39] local.INFO: TCP Data received {"connection_id":148064,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:37:39] local.INFO: Processing buffer {"connection_id":148064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:37:39] local.INFO: Packet analysis {"connection_id":148064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:37:39] local.INFO: Extracted packet for processing {"connection_id":148064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:37:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134764032001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785682973000,"timestamp_ms":1785682973000,"timestamp_seconds":1785682973,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ffd148"} 
[2026-08-02 20:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:37: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-08-02 20: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":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134764032001,"66":25201,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134764032001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:37:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:37:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:37:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134764032001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":148064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:37:39] local.INFO: GPS data processed {"connection_id":148064,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:37:39] local.INFO: Acknowledgment sent {"connection_id":148064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:38:06] local.INFO: TCP Data received {"connection_id":148065,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:38:06] local.INFO: Processing buffer {"connection_id":148065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:38:06] local.INFO: Packet analysis {"connection_id":148065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:38:06] local.INFO: Extracted packet for processing {"connection_id":148065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134800128001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785683114000,"timestamp_ms":1785683114000,"timestamp_seconds":1785683114,"priority":1,"record_length":96,"hex_timestamp":"0000019fc301f810"} 
[2026-08-02 20:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134800128001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134800128001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:38:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134800128001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":148065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:38:06] local.INFO: GPS data processed {"connection_id":148065,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:38:06] local.INFO: Acknowledgment sent {"connection_id":148065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:38:24] local.INFO: TCP Data received {"connection_id":149371,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:38:24] local.INFO: Processing buffer {"connection_id":149371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:38:24] local.INFO: IMEI packet received {"connection_id":149371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":149371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:38:28] local.INFO: TCP Data received {"connection_id":149371,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:38:28] local.INFO: Processing buffer {"connection_id":149371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:38:28] local.INFO: IMEI packet received {"connection_id":149371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":149371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:38:30] local.INFO: TCP Data received {"connection_id":149371,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:38:30] local.INFO: Processing buffer {"connection_id":149371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc2ffd148012cc330c007685958005800c52d..."} 
[2026-08-02 20:38:30] local.INFO: Packet analysis {"connection_id":149371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:38:30] local.INFO: Extracted packet for processing {"connection_id":149371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc2ff"} 
[2026-08-02 20:38:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134764032001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785682973000,"timestamp_ms":1785682973000,"timestamp_seconds":1785682973,"priority":1,"record_length":96,"hex_timestamp":"0000019fc2ffd148"} 
[2026-08-02 20:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134764032001,"66":25201,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134764032001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:38:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:38:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134764032001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":149371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:38:30] local.INFO: GPS data processed {"connection_id":149371,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:38:30] local.INFO: Acknowledgment sent {"connection_id":149371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:38:34] local.INFO: TCP Data received {"connection_id":148066,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:38:34] local.INFO: Processing buffer {"connection_id":148066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:38:34] local.INFO: IMEI packet received {"connection_id":148066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":148066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:38:39] local.INFO: TCP Data received {"connection_id":148066,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:38:39] local.INFO: Processing buffer {"connection_id":148066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:38:39] local.INFO: IMEI packet received {"connection_id":148066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":148066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:38:39] local.INFO: TCP Data received {"connection_id":148066,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:38:39] local.INFO: Processing buffer {"connection_id":148066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:38:39] local.INFO: Packet analysis {"connection_id":148066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:38:39] local.INFO: Extracted packet for processing {"connection_id":148066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:38:39] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134800128001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785683114000,"timestamp_ms":1785683114000,"timestamp_seconds":1785683114,"priority":1,"record_length":96,"hex_timestamp":"0000019fc301f810"} 
[2026-08-02 20:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134800128001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134800128001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:38:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:38:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134800128001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":148066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:38:40] local.INFO: GPS data processed {"connection_id":148066,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:38:40] local.INFO: Acknowledgment sent {"connection_id":148066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:38:44] local.INFO: TCP Data received {"connection_id":148066,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:38:44] local.INFO: Processing buffer {"connection_id":148066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:38:44] local.INFO: Packet analysis {"connection_id":148066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:38:44] local.INFO: Extracted packet for processing {"connection_id":148066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:38:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134800128001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785683114000,"timestamp_ms":1785683114000,"timestamp_seconds":1785683114,"priority":1,"record_length":96,"hex_timestamp":"0000019fc301f810"} 
[2026-08-02 20:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134800128001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134800128001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:38:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:38:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134800128001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":148066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:38:44] local.INFO: GPS data processed {"connection_id":148066,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:38:44] local.INFO: Acknowledgment sent {"connection_id":148066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:39:01] local.INFO: TCP Data received {"connection_id":149371,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:39:01] local.INFO: Processing buffer {"connection_id":149371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:39:01] local.INFO: Packet analysis {"connection_id":149371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:39:01] local.INFO: Extracted packet for processing {"connection_id":149371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:39:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134841088001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:39:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785683274000,"timestamp_ms":1785683274000,"timestamp_seconds":1785683274,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3046910"} 
[2026-08-02 20:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-02 20:39:01] 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-08-02 20:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134841088001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134841088001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:39:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:39:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:39:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134841088001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":149371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:39:01] local.INFO: GPS data processed {"connection_id":149371,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:39:01] local.INFO: Acknowledgment sent {"connection_id":149371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:39:23] local.INFO: TCP Data received {"connection_id":147030,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:39:23] local.INFO: Processing buffer {"connection_id":147030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:39:23] local.INFO: IMEI packet received {"connection_id":147030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":147030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:39:28] local.INFO: TCP Data received {"connection_id":147030,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:39:28] local.INFO: Processing buffer {"connection_id":147030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:39:28] local.INFO: IMEI packet received {"connection_id":147030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":147030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:39:29] local.INFO: TCP Data received {"connection_id":147031,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:39:29] local.INFO: Processing buffer {"connection_id":147031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:39:29] local.INFO: IMEI packet received {"connection_id":147031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":147031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:39:30] local.INFO: TCP Data received {"connection_id":147030,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:39:30] local.INFO: Processing buffer {"connection_id":147030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:39:30] local.INFO: Packet analysis {"connection_id":147030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:39:30] local.INFO: Extracted packet for processing {"connection_id":147030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:39:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134841088001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785683274000,"timestamp_ms":1785683274000,"timestamp_seconds":1785683274,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3046910"} 
[2026-08-02 20:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-02 20:39:30] 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-08-02 20:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134841088001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134841088001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:39:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:39:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134841088001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":147030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:39:30] local.INFO: GPS data processed {"connection_id":147030,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:39:30] local.INFO: Acknowledgment sent {"connection_id":147030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:39:34] local.INFO: TCP Data received {"connection_id":147031,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:39:34] local.INFO: Processing buffer {"connection_id":147031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:39:34] local.INFO: IMEI packet received {"connection_id":147031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":147031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:39:34] local.INFO: TCP Data received {"connection_id":147031,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:39:34] local.INFO: Processing buffer {"connection_id":147031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:39:34] local.INFO: Packet analysis {"connection_id":147031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:39:34] local.INFO: Extracted packet for processing {"connection_id":147031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134800128001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785683114000,"timestamp_ms":1785683114000,"timestamp_seconds":1785683114,"priority":1,"record_length":96,"hex_timestamp":"0000019fc301f810"} 
[2026-08-02 20:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134800128001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134800128001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:39:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134800128001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":147031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:39:35] local.INFO: GPS data processed {"connection_id":147031,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:39:35] local.INFO: Acknowledgment sent {"connection_id":147031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:40:01] local.INFO: TCP Data received {"connection_id":147030,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:40:01] local.INFO: Processing buffer {"connection_id":147030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:40:01] local.INFO: Packet analysis {"connection_id":147030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:40:01] local.INFO: Extracted packet for processing {"connection_id":147030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:40:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134841088001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785683274000,"timestamp_ms":1785683274000,"timestamp_seconds":1785683274,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3046910"} 
[2026-08-02 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-08-02 20:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-02 20:40:01] 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-08-02 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-08-02 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-08-02 20:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134841088001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134841088001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:40:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:40:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:40:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134841088001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":147030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:40:01] local.INFO: GPS data processed {"connection_id":147030,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:40:01] local.INFO: Acknowledgment sent {"connection_id":147030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:40:06] local.INFO: TCP Data received {"connection_id":147031,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:40:06] local.INFO: Processing buffer {"connection_id":147031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:40:06] local.INFO: Packet analysis {"connection_id":147031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:40:06] local.INFO: Extracted packet for processing {"connection_id":147031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134800128001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785683114000,"timestamp_ms":1785683114000,"timestamp_seconds":1785683114,"priority":1,"record_length":96,"hex_timestamp":"0000019fc301f810"} 
[2026-08-02 20:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134800128001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134800128001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:40:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134800128001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":147031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:40:06] local.INFO: GPS data processed {"connection_id":147031,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:40:06] local.INFO: Acknowledgment sent {"connection_id":147031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:40:28] local.INFO: TCP Data received {"connection_id":146818,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:40:28] local.INFO: Processing buffer {"connection_id":146818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:40:28] local.INFO: IMEI packet received {"connection_id":146818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":146818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:40:29] local.INFO: TCP Data received {"connection_id":149372,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:40:29] local.INFO: Processing buffer {"connection_id":149372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:40:29] local.INFO: IMEI packet received {"connection_id":149372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":149372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:40:34] local.INFO: TCP Data received {"connection_id":149372,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:40:34] local.INFO: Processing buffer {"connection_id":149372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:40:34] local.INFO: IMEI packet received {"connection_id":149372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":149372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:40:34] local.INFO: TCP Data received {"connection_id":146818,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:40:34] local.INFO: Processing buffer {"connection_id":146818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:40:34] local.INFO: IMEI packet received {"connection_id":146818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":146818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:40:35] local.INFO: TCP Data received {"connection_id":149372,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:40:35] local.INFO: Processing buffer {"connection_id":149372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc301f810012d196700071fef08003d010e27..."} 
[2026-08-02 20:40:35] local.INFO: Packet analysis {"connection_id":149372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:40:35] local.INFO: Extracted packet for processing {"connection_id":149372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc301"} 
[2026-08-02 20:40:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134800128001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785683114000,"timestamp_ms":1785683114000,"timestamp_seconds":1785683114,"priority":1,"record_length":96,"hex_timestamp":"0000019fc301f810"} 
[2026-08-02 20:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 20:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134800128001,"66":2144,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134800128001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:40:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:40:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134800128001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":149372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:40:35] local.INFO: GPS data processed {"connection_id":149372,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:40:35] local.INFO: Acknowledgment sent {"connection_id":149372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:40:36] local.INFO: TCP Data received {"connection_id":146818,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:40:36] local.INFO: Processing buffer {"connection_id":146818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:40:36] local.INFO: Packet analysis {"connection_id":146818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:40:36] local.INFO: Extracted packet for processing {"connection_id":146818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:40:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134841088001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785683274000,"timestamp_ms":1785683274000,"timestamp_seconds":1785683274,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3046910"} 
[2026-08-02 20:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-02 20:40:36] 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-08-02 20: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-08-02 20:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134841088001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134841088001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:40:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:40:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:40:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134841088001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":146818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:40:36] local.INFO: GPS data processed {"connection_id":146818,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:40:36] local.INFO: Acknowledgment sent {"connection_id":146818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:40:39] local.INFO: TCP Data received {"connection_id":146818,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:40:39] local.INFO: Processing buffer {"connection_id":146818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:40:39] local.INFO: Packet analysis {"connection_id":146818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:40:39] local.INFO: Extracted packet for processing {"connection_id":146818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:40:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134841088001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785683274000,"timestamp_ms":1785683274000,"timestamp_seconds":1785683274,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3046910"} 
[2026-08-02 20:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:40: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-08-02 20: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-02 20:40: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-08-02 20:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134841088001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134841088001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:40:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:40:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:40:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134841088001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":146818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:40:39] local.INFO: GPS data processed {"connection_id":146818,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:40:39] local.INFO: Acknowledgment sent {"connection_id":146818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:41:06] local.INFO: TCP Data received {"connection_id":149372,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:41:06] local.INFO: Processing buffer {"connection_id":149372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:41:06] local.INFO: Packet analysis {"connection_id":149372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:41:06] local.INFO: Extracted packet for processing {"connection_id":149372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134877184001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785683415000,"timestamp_ms":1785683415000,"timestamp_seconds":1785683415,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3068fd8"} 
[2026-08-02 20:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134877184001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134877184001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:41:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134877184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":149372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:41:06] local.INFO: GPS data processed {"connection_id":149372,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:41:06] local.INFO: Acknowledgment sent {"connection_id":149372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:41:23] local.INFO: TCP Data received {"connection_id":146819,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:41:23] local.INFO: Processing buffer {"connection_id":146819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:41:23] local.INFO: IMEI packet received {"connection_id":146819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":146819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:41:28] local.INFO: TCP Data received {"connection_id":149373,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:41:28] local.INFO: TCP Data received {"connection_id":146819,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:41:28] local.INFO: Processing buffer {"connection_id":146819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:41:28] local.INFO: IMEI packet received {"connection_id":146819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":146819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:41:28] local.INFO: Processing buffer {"connection_id":149373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:41:28] local.INFO: IMEI packet received {"connection_id":149373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":149373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:41:30] local.INFO: TCP Data received {"connection_id":146819,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:41:30] local.INFO: Processing buffer {"connection_id":146819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:41:30] local.INFO: Packet analysis {"connection_id":146819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:41:30] local.INFO: Extracted packet for processing {"connection_id":146819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:41:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134841088001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:41:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785683274000,"timestamp_ms":1785683274000,"timestamp_seconds":1785683274,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3046910"} 
[2026-08-02 20:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-02 20:41:30] 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-08-02 20:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134841088001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134841088001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:41:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:41:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:41:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134841088001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":146819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:41:31] local.INFO: GPS data processed {"connection_id":146819,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:41:31] local.INFO: Acknowledgment sent {"connection_id":146819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:41:34] local.INFO: TCP Data received {"connection_id":149373,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:41:34] local.INFO: Processing buffer {"connection_id":149373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:41:34] local.INFO: IMEI packet received {"connection_id":149373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":149373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:41:35] local.INFO: TCP Data received {"connection_id":149373,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:41:35] local.INFO: Processing buffer {"connection_id":149373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:41:35] local.INFO: Packet analysis {"connection_id":149373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:41:35] local.INFO: Extracted packet for processing {"connection_id":149373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134877184001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785683415000,"timestamp_ms":1785683415000,"timestamp_seconds":1785683415,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3068fd8"} 
[2026-08-02 20:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134877184001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134877184001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:41:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134877184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":149373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:41:35] local.INFO: GPS data processed {"connection_id":149373,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:41:35] local.INFO: Acknowledgment sent {"connection_id":149373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:42:02] local.INFO: TCP Data received {"connection_id":146819,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:42:02] local.INFO: Processing buffer {"connection_id":146819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:42:02] local.INFO: Packet analysis {"connection_id":146819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:42:02] local.INFO: Extracted packet for processing {"connection_id":146819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:42:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134841088001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785683274000,"timestamp_ms":1785683274000,"timestamp_seconds":1785683274,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3046910"} 
[2026-08-02 20:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-02 20:42:02] 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-08-02 20:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134841088001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134841088001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:42:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:42:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:42:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134841088001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":146819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:42:02] local.INFO: GPS data processed {"connection_id":146819,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:42:02] local.INFO: Acknowledgment sent {"connection_id":146819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:42:06] local.INFO: TCP Data received {"connection_id":149373,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:42:06] local.INFO: Processing buffer {"connection_id":149373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:42:06] local.INFO: Packet analysis {"connection_id":149373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:42:06] local.INFO: Extracted packet for processing {"connection_id":149373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134877184001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785683415000,"timestamp_ms":1785683415000,"timestamp_seconds":1785683415,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3068fd8"} 
[2026-08-02 20:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134877184001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134877184001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:42:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134877184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":149373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:42:06] local.INFO: GPS data processed {"connection_id":149373,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:42:06] local.INFO: Acknowledgment sent {"connection_id":149373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:42:23] local.INFO: TCP Data received {"connection_id":147032,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:42:23] local.INFO: Processing buffer {"connection_id":147032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:42:23] local.INFO: IMEI packet received {"connection_id":147032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":147032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:42:28] local.INFO: TCP Data received {"connection_id":147032,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:42:28] local.INFO: Processing buffer {"connection_id":147032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:42:28] local.INFO: IMEI packet received {"connection_id":147032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":147032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:42:30] local.INFO: TCP Data received {"connection_id":147032,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:42:30] local.INFO: Processing buffer {"connection_id":147032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:42:30] local.INFO: Packet analysis {"connection_id":147032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:42:30] local.INFO: Extracted packet for processing {"connection_id":147032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:42:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134841088001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785683274000,"timestamp_ms":1785683274000,"timestamp_seconds":1785683274,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3046910"} 
[2026-08-02 20:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-02 20:42:30] 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-08-02 20:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134841088001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134841088001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:42:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:42:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134841088001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":147032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:42:30] local.INFO: GPS data processed {"connection_id":147032,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:42:30] local.INFO: Acknowledgment sent {"connection_id":147032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:42:34] local.INFO: TCP Data received {"connection_id":147033,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:42:34] local.INFO: Processing buffer {"connection_id":147033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:42:34] local.INFO: IMEI packet received {"connection_id":147033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":147033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:42:39] local.INFO: TCP Data received {"connection_id":147033,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:42:39] local.INFO: Processing buffer {"connection_id":147033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:42:39] local.INFO: IMEI packet received {"connection_id":147033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":147033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:42:40] local.INFO: TCP Data received {"connection_id":147033,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:42:40] local.INFO: Processing buffer {"connection_id":147033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:42:40] local.INFO: Packet analysis {"connection_id":147033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:42:40] local.INFO: Extracted packet for processing {"connection_id":147033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:42:40] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134877184001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785683415000,"timestamp_ms":1785683415000,"timestamp_seconds":1785683415,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3068fd8"} 
[2026-08-02 20:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134877184001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134877184001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:42:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:42:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134877184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":147033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:42:40] local.INFO: GPS data processed {"connection_id":147033,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:42:40] local.INFO: Acknowledgment sent {"connection_id":147033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:42:44] local.INFO: TCP Data received {"connection_id":147033,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:42:44] local.INFO: Processing buffer {"connection_id":147033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:42:44] local.INFO: Packet analysis {"connection_id":147033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:42:44] local.INFO: Extracted packet for processing {"connection_id":147033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:42:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134877184001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785683415000,"timestamp_ms":1785683415000,"timestamp_seconds":1785683415,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3068fd8"} 
[2026-08-02 20:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134877184001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134877184001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:42:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:42:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134877184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":147033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:42:45] local.INFO: GPS data processed {"connection_id":147033,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:42:45] local.INFO: Acknowledgment sent {"connection_id":147033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:43:01] local.INFO: TCP Data received {"connection_id":147032,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:43:01] local.INFO: Processing buffer {"connection_id":147032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:43:01] local.INFO: Packet analysis {"connection_id":147032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:43:01] local.INFO: Extracted packet for processing {"connection_id":147032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:43:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134841088001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:43:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785683274000,"timestamp_ms":1785683274000,"timestamp_seconds":1785683274,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3046910"} 
[2026-08-02 20:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-02 20:43:01] 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-08-02 20:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134841088001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134841088001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:43:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:43:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:43:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134841088001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":147032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:43:01] local.INFO: GPS data processed {"connection_id":147032,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:43:01] local.INFO: Acknowledgment sent {"connection_id":147032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:43:23] local.INFO: TCP Data received {"connection_id":149374,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:43:23] local.INFO: Processing buffer {"connection_id":149374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:43:23] local.INFO: IMEI packet received {"connection_id":149374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":149374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:43:28] local.INFO: TCP Data received {"connection_id":149374,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:43:28] local.INFO: Processing buffer {"connection_id":149374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:43:28] local.INFO: IMEI packet received {"connection_id":149374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":149374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:43:29] local.INFO: TCP Data received {"connection_id":148067,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:43:29] local.INFO: Processing buffer {"connection_id":148067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:43:29] local.INFO: IMEI packet received {"connection_id":148067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":148067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:43:29] local.INFO: TCP Data received {"connection_id":149374,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:43:29] local.INFO: Processing buffer {"connection_id":149374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3046910012cc330c007685958005800c52c..."} 
[2026-08-02 20:43:29] local.INFO: Packet analysis {"connection_id":149374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:43:29] local.INFO: Extracted packet for processing {"connection_id":149374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc304"} 
[2026-08-02 20:43:29] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134841088001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:43:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785683274000,"timestamp_ms":1785683274000,"timestamp_seconds":1785683274,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3046910"} 
[2026-08-02 20:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-02 20:43:29] 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-08-02 20:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134841088001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134841088001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:43:29] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:43:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:43:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134841088001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":149374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:43:29] local.INFO: GPS data processed {"connection_id":149374,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:43:29] local.INFO: Acknowledgment sent {"connection_id":149374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:43:34] local.INFO: TCP Data received {"connection_id":148067,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:43:34] local.INFO: Processing buffer {"connection_id":148067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:43:34] local.INFO: IMEI packet received {"connection_id":148067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":148067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:43:35] local.INFO: TCP Data received {"connection_id":148067,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:43:35] local.INFO: Processing buffer {"connection_id":148067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:43:35] local.INFO: Packet analysis {"connection_id":148067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:43:35] local.INFO: Extracted packet for processing {"connection_id":148067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134877184001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785683415000,"timestamp_ms":1785683415000,"timestamp_seconds":1785683415,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3068fd8"} 
[2026-08-02 20:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134877184001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134877184001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:43:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134877184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":148067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:43:35] local.INFO: GPS data processed {"connection_id":148067,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:43:35] local.INFO: Acknowledgment sent {"connection_id":148067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:44:00] local.INFO: TCP Data received {"connection_id":149374,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:44:00] local.INFO: Processing buffer {"connection_id":149374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:44:00] local.INFO: Packet analysis {"connection_id":149374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:44:00] local.INFO: Extracted packet for processing {"connection_id":149374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:44:00] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134918144001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:44:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785683575000,"timestamp_ms":1785683575000,"timestamp_seconds":1785683575,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30900d8"} 
[2026-08-02 20:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":149374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":149374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":149374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134918144001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134918144001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:44:00] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:44:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:44:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134918144001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":149374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:44:00] local.INFO: GPS data processed {"connection_id":149374,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:44:00] local.INFO: Acknowledgment sent {"connection_id":149374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:44:06] local.INFO: TCP Data received {"connection_id":148067,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:44:06] local.INFO: Processing buffer {"connection_id":148067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:44:06] local.INFO: Packet analysis {"connection_id":148067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:44:06] local.INFO: Extracted packet for processing {"connection_id":148067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134877184001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785683415000,"timestamp_ms":1785683415000,"timestamp_seconds":1785683415,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3068fd8"} 
[2026-08-02 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-08-02 20:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134877184001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134877184001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:44:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134877184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":148067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:44:06] local.INFO: GPS data processed {"connection_id":148067,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:44:06] local.INFO: Acknowledgment sent {"connection_id":148067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:44:24] local.INFO: TCP Data received {"connection_id":146820,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:44:24] local.INFO: Processing buffer {"connection_id":146820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:44:24] local.INFO: IMEI packet received {"connection_id":146820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":146820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:44:28] local.INFO: TCP Data received {"connection_id":146820,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:44:28] local.INFO: Processing buffer {"connection_id":146820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:44:28] local.INFO: IMEI packet received {"connection_id":146820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":146820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:44:29] local.INFO: TCP Data received {"connection_id":147034,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:44:29] local.INFO: Processing buffer {"connection_id":147034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:44:29] local.INFO: IMEI packet received {"connection_id":147034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":147034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:44:30] local.INFO: TCP Data received {"connection_id":146820,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:44:30] local.INFO: Processing buffer {"connection_id":146820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:44:30] local.INFO: Packet analysis {"connection_id":146820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:44:30] local.INFO: Extracted packet for processing {"connection_id":146820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:44:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134918144001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785683575000,"timestamp_ms":1785683575000,"timestamp_seconds":1785683575,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30900d8"} 
[2026-08-02 20:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134918144001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134918144001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:44:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:44:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134918144001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":146820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:44:30] local.INFO: GPS data processed {"connection_id":146820,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:44:30] local.INFO: Acknowledgment sent {"connection_id":146820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:44:34] local.INFO: TCP Data received {"connection_id":147034,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:44:34] local.INFO: Processing buffer {"connection_id":147034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:44:34] local.INFO: IMEI packet received {"connection_id":147034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":147034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:44:35] local.INFO: TCP Data received {"connection_id":147034,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:44:35] local.INFO: Processing buffer {"connection_id":147034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:44:35] local.INFO: Packet analysis {"connection_id":147034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:44:35] local.INFO: Extracted packet for processing {"connection_id":147034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:44:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134877184001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785683415000,"timestamp_ms":1785683415000,"timestamp_seconds":1785683415,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3068fd8"} 
[2026-08-02 20:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134877184001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134877184001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:44:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134877184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":147034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:44:35] local.INFO: GPS data processed {"connection_id":147034,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:44:35] local.INFO: Acknowledgment sent {"connection_id":147034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:45:01] local.INFO: TCP Data received {"connection_id":146820,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:45:01] local.INFO: Processing buffer {"connection_id":146820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:45:01] local.INFO: Packet analysis {"connection_id":146820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:45:01] local.INFO: Extracted packet for processing {"connection_id":146820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:45:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134918144001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:45:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785683575000,"timestamp_ms":1785683575000,"timestamp_seconds":1785683575,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30900d8"} 
[2026-08-02 20:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:45: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134918144001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134918144001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:45:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:45:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:45:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134918144001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":146820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:45:01] local.INFO: GPS data processed {"connection_id":146820,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:45:01] local.INFO: Acknowledgment sent {"connection_id":146820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:45:06] local.INFO: TCP Data received {"connection_id":147034,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:45:06] local.INFO: Processing buffer {"connection_id":147034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:45:06] local.INFO: Packet analysis {"connection_id":147034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:45:06] local.INFO: Extracted packet for processing {"connection_id":147034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134877184001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785683415000,"timestamp_ms":1785683415000,"timestamp_seconds":1785683415,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3068fd8"} 
[2026-08-02 20:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134877184001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134877184001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:45:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134877184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":147034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:45:06] local.INFO: GPS data processed {"connection_id":147034,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:45:06] local.INFO: Acknowledgment sent {"connection_id":147034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:45:23] local.INFO: TCP Data received {"connection_id":149375,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:45:23] local.INFO: Processing buffer {"connection_id":149375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:45:23] local.INFO: IMEI packet received {"connection_id":149375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":149375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:45:28] local.INFO: TCP Data received {"connection_id":149375,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:45:28] local.INFO: Processing buffer {"connection_id":149375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:45:28] local.INFO: IMEI packet received {"connection_id":149375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":149375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:45:29] local.INFO: TCP Data received {"connection_id":146821,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:45:29] local.INFO: Processing buffer {"connection_id":146821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:45:29] local.INFO: IMEI packet received {"connection_id":146821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":146821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:45:30] local.INFO: TCP Data received {"connection_id":149375,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:45:30] local.INFO: Processing buffer {"connection_id":149375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:45:30] local.INFO: Packet analysis {"connection_id":149375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:45:30] local.INFO: Extracted packet for processing {"connection_id":149375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:45:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134918144001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785683575000,"timestamp_ms":1785683575000,"timestamp_seconds":1785683575,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30900d8"} 
[2026-08-02 20:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134918144001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134918144001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:45:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:45:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134918144001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":149375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:45:30] local.INFO: GPS data processed {"connection_id":149375,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:45:30] local.INFO: Acknowledgment sent {"connection_id":149375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:45:34] local.INFO: TCP Data received {"connection_id":146821,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:45:34] local.INFO: Processing buffer {"connection_id":146821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:45:34] local.INFO: IMEI packet received {"connection_id":146821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":146821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:45:35] local.INFO: TCP Data received {"connection_id":146821,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:45:35] local.INFO: Processing buffer {"connection_id":146821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3068fd8012d196700071fef08003d010e26..."} 
[2026-08-02 20:45:35] local.INFO: Packet analysis {"connection_id":146821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:45:35] local.INFO: Extracted packet for processing {"connection_id":146821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc306"} 
[2026-08-02 20:45:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134877184001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785683415000,"timestamp_ms":1785683415000,"timestamp_seconds":1785683415,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3068fd8"} 
[2026-08-02 20:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-02 20:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134877184001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134877184001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:45:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134877184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":146821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:45:35] local.INFO: GPS data processed {"connection_id":146821,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:45:35] local.INFO: Acknowledgment sent {"connection_id":146821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:46:01] local.INFO: TCP Data received {"connection_id":149375,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:46:01] local.INFO: Processing buffer {"connection_id":149375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:46:01] local.INFO: Packet analysis {"connection_id":149375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:46:01] local.INFO: Extracted packet for processing {"connection_id":149375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:46:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134918144001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785683575000,"timestamp_ms":1785683575000,"timestamp_seconds":1785683575,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30900d8"} 
[2026-08-02 20:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:46: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134918144001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134918144001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:46:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:46:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:46:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134918144001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":149375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:46:01] local.INFO: GPS data processed {"connection_id":149375,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:46:01] local.INFO: Acknowledgment sent {"connection_id":149375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:46:06] local.INFO: TCP Data received {"connection_id":146821,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:46:06] local.INFO: Processing buffer {"connection_id":146821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:46:06] local.INFO: Packet analysis {"connection_id":146821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:46:06] local.INFO: Extracted packet for processing {"connection_id":146821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134954240001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785683716000,"timestamp_ms":1785683716000,"timestamp_seconds":1785683716,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30b27a0"} 
[2026-08-02 20:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134954240001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134954240001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:46:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134954240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":146821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:46:06] local.INFO: GPS data processed {"connection_id":146821,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:46:06] local.INFO: Acknowledgment sent {"connection_id":146821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:46:23] local.INFO: TCP Data received {"connection_id":148068,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:46:23] local.INFO: Processing buffer {"connection_id":148068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:46:23] local.INFO: IMEI packet received {"connection_id":148068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":148068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:46:28] local.INFO: TCP Data received {"connection_id":148068,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:46:28] local.INFO: Processing buffer {"connection_id":148068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:46:28] local.INFO: IMEI packet received {"connection_id":148068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":148068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:46:29] local.INFO: TCP Data received {"connection_id":146822,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:46:29] local.INFO: Processing buffer {"connection_id":146822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:46:29] local.INFO: IMEI packet received {"connection_id":146822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":146822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:46:30] local.INFO: TCP Data received {"connection_id":148068,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:46:30] local.INFO: Processing buffer {"connection_id":148068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:46:30] local.INFO: Packet analysis {"connection_id":148068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:46:30] local.INFO: Extracted packet for processing {"connection_id":148068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:46:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134918144001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785683575000,"timestamp_ms":1785683575000,"timestamp_seconds":1785683575,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30900d8"} 
[2026-08-02 20:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134918144001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134918144001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:46:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:46:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:46:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134918144001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":148068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:46:30] local.INFO: GPS data processed {"connection_id":148068,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:46:30] local.INFO: Acknowledgment sent {"connection_id":148068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:46:34] local.INFO: TCP Data received {"connection_id":146822,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:46:34] local.INFO: Processing buffer {"connection_id":146822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:46:34] local.INFO: IMEI packet received {"connection_id":146822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":146822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:46:34] local.INFO: TCP Data received {"connection_id":146822,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:46:34] local.INFO: Processing buffer {"connection_id":146822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:46:34] local.INFO: Packet analysis {"connection_id":146822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:46:34] local.INFO: Extracted packet for processing {"connection_id":146822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:46:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134954240001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785683716000,"timestamp_ms":1785683716000,"timestamp_seconds":1785683716,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30b27a0"} 
[2026-08-02 20:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134954240001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134954240001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:46:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134954240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":146822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:46:35] local.INFO: GPS data processed {"connection_id":146822,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:46:35] local.INFO: Acknowledgment sent {"connection_id":146822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:46:39] local.INFO: TCP Data received {"connection_id":146822,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:46:39] local.INFO: Processing buffer {"connection_id":146822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:46:39] local.INFO: Packet analysis {"connection_id":146822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:46:39] local.INFO: Extracted packet for processing {"connection_id":146822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134954240001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785683716000,"timestamp_ms":1785683716000,"timestamp_seconds":1785683716,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30b27a0"} 
[2026-08-02 20:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134954240001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134954240001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:46:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:46:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134954240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":146822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:46:39] local.INFO: GPS data processed {"connection_id":146822,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:46:39] local.INFO: Acknowledgment sent {"connection_id":146822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:47:01] local.INFO: TCP Data received {"connection_id":148068,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:47:01] local.INFO: Processing buffer {"connection_id":148068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:47:01] local.INFO: Packet analysis {"connection_id":148068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:47:01] local.INFO: Extracted packet for processing {"connection_id":148068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:47:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134918144001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785683575000,"timestamp_ms":1785683575000,"timestamp_seconds":1785683575,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30900d8"} 
[2026-08-02 20:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134918144001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134918144001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:47:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:47:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:47:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134918144001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":148068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:47:01] local.INFO: GPS data processed {"connection_id":148068,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:47:01] local.INFO: Acknowledgment sent {"connection_id":148068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:47:10] local.INFO: TCP Data received {"connection_id":146822,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:47:10] local.INFO: Processing buffer {"connection_id":146822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:47:10] local.INFO: Packet analysis {"connection_id":146822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:47:10] local.INFO: Extracted packet for processing {"connection_id":146822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:47:10] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134954240001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785683716000,"timestamp_ms":1785683716000,"timestamp_seconds":1785683716,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30b27a0"} 
[2026-08-02 20:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134954240001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134954240001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:47:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:47:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134954240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":146822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:47:10] local.INFO: GPS data processed {"connection_id":146822,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:47:10] local.INFO: Acknowledgment sent {"connection_id":146822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:47:28] local.INFO: TCP Data received {"connection_id":147035,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:47:28] local.INFO: Processing buffer {"connection_id":147035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:47:28] local.INFO: IMEI packet received {"connection_id":147035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":147035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:47:29] local.INFO: TCP Data received {"connection_id":147036,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:47:29] local.INFO: Processing buffer {"connection_id":147036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:47:29] local.INFO: IMEI packet received {"connection_id":147036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":147036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:47:33] local.INFO: TCP Data received {"connection_id":147035,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:47:33] local.INFO: Processing buffer {"connection_id":147035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:47:33] local.INFO: IMEI packet received {"connection_id":147035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":147035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:47:34] local.INFO: TCP Data received {"connection_id":147036,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:47:34] local.INFO: Processing buffer {"connection_id":147036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:47:34] local.INFO: IMEI packet received {"connection_id":147036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":147036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:47:35] local.INFO: TCP Data received {"connection_id":147036,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:47:35] local.INFO: Processing buffer {"connection_id":147036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:47:35] local.INFO: Packet analysis {"connection_id":147036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:47:35] local.INFO: Extracted packet for processing {"connection_id":147036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134954240001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785683716000,"timestamp_ms":1785683716000,"timestamp_seconds":1785683716,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30b27a0"} 
[2026-08-02 20:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134954240001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134954240001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:47:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134954240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":147036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:47:35] local.INFO: GPS data processed {"connection_id":147036,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:47:35] local.INFO: Acknowledgment sent {"connection_id":147036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:47:36] local.INFO: TCP Data received {"connection_id":147035,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:47:36] local.INFO: Processing buffer {"connection_id":147035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:47:36] local.INFO: Packet analysis {"connection_id":147035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:47:36] local.INFO: Extracted packet for processing {"connection_id":147035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:47:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134918144001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785683575000,"timestamp_ms":1785683575000,"timestamp_seconds":1785683575,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30900d8"} 
[2026-08-02 20:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134918144001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134918144001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:47:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:47:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:47:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134918144001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":147035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:47:36] local.INFO: GPS data processed {"connection_id":147035,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:47:36] local.INFO: Acknowledgment sent {"connection_id":147035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:47:40] local.INFO: TCP Data received {"connection_id":147035,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:47:40] local.INFO: Processing buffer {"connection_id":147035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:47:40] local.INFO: Packet analysis {"connection_id":147035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:47:40] local.INFO: Extracted packet for processing {"connection_id":147035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:47:40] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134918144001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785683575000,"timestamp_ms":1785683575000,"timestamp_seconds":1785683575,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30900d8"} 
[2026-08-02 20:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:47: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-08-02 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134918144001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134918144001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:47:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:47:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:47:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134918144001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":147035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:47:40] local.INFO: GPS data processed {"connection_id":147035,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:47:40] local.INFO: Acknowledgment sent {"connection_id":147035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:48:06] local.INFO: TCP Data received {"connection_id":147036,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:48:06] local.INFO: Processing buffer {"connection_id":147036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:48:06] local.INFO: Packet analysis {"connection_id":147036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:48:06] local.INFO: Extracted packet for processing {"connection_id":147036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134954240001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785683716000,"timestamp_ms":1785683716000,"timestamp_seconds":1785683716,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30b27a0"} 
[2026-08-02 20:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134954240001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134954240001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:48:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134954240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":147036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:48:06] local.INFO: GPS data processed {"connection_id":147036,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:48:06] local.INFO: Acknowledgment sent {"connection_id":147036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:48:23] local.INFO: TCP Data received {"connection_id":149376,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:48:23] local.INFO: Processing buffer {"connection_id":149376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:48:23] local.INFO: IMEI packet received {"connection_id":149376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":149376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:48:28] local.INFO: TCP Data received {"connection_id":149376,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:48:28] local.INFO: Processing buffer {"connection_id":149376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:48:28] local.INFO: IMEI packet received {"connection_id":149376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":149376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:48:29] local.INFO: TCP Data received {"connection_id":147037,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:48:29] local.INFO: Processing buffer {"connection_id":147037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:48:29] local.INFO: IMEI packet received {"connection_id":147037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":147037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:48:30] local.INFO: TCP Data received {"connection_id":149376,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:48:30] local.INFO: Processing buffer {"connection_id":149376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30900d8012cc330c007685958005800c52d..."} 
[2026-08-02 20:48:30] local.INFO: Packet analysis {"connection_id":149376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:48:30] local.INFO: Extracted packet for processing {"connection_id":149376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc309"} 
[2026-08-02 20:48:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134918144001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785683575000,"timestamp_ms":1785683575000,"timestamp_seconds":1785683575,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30900d8"} 
[2026-08-02 20:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134918144001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134918144001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:48:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:48:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134918144001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":149376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:48:30] local.INFO: GPS data processed {"connection_id":149376,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:48:30] local.INFO: Acknowledgment sent {"connection_id":149376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:48:34] local.INFO: TCP Data received {"connection_id":147037,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:48:34] local.INFO: Processing buffer {"connection_id":147037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:48:34] local.INFO: IMEI packet received {"connection_id":147037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":147037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:48:35] local.INFO: TCP Data received {"connection_id":147037,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:48:35] local.INFO: Processing buffer {"connection_id":147037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:48:35] local.INFO: Packet analysis {"connection_id":147037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:48:35] local.INFO: Extracted packet for processing {"connection_id":147037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:48:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134954240001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785683716000,"timestamp_ms":1785683716000,"timestamp_seconds":1785683716,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30b27a0"} 
[2026-08-02 20:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134954240001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134954240001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:48:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:48:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134954240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":147037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:48:35] local.INFO: GPS data processed {"connection_id":147037,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:48:35] local.INFO: Acknowledgment sent {"connection_id":147037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:49:01] local.INFO: TCP Data received {"connection_id":149376,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:49:01] local.INFO: Processing buffer {"connection_id":149376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:49:01] local.INFO: Packet analysis {"connection_id":149376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:49:01] local.INFO: Extracted packet for processing {"connection_id":149376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:49:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134995200001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:49:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785683876000,"timestamp_ms":1785683876000,"timestamp_seconds":1785683876,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30d98a0"} 
[2026-08-02 20:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134995200001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134995200001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:49:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:49:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:49:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134995200001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":149376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:49:01] local.INFO: GPS data processed {"connection_id":149376,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:49:01] local.INFO: Acknowledgment sent {"connection_id":149376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:49:06] local.INFO: TCP Data received {"connection_id":147037,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:49:06] local.INFO: Processing buffer {"connection_id":147037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:49:06] local.INFO: Packet analysis {"connection_id":147037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:49:06] local.INFO: Extracted packet for processing {"connection_id":147037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134954240001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785683716000,"timestamp_ms":1785683716000,"timestamp_seconds":1785683716,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30b27a0"} 
[2026-08-02 20:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134954240001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134954240001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:49:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134954240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":147037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:49:06] local.INFO: GPS data processed {"connection_id":147037,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:49:06] local.INFO: Acknowledgment sent {"connection_id":147037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:49:23] local.INFO: TCP Data received {"connection_id":149377,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:49:23] local.INFO: Processing buffer {"connection_id":149377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:49:23] local.INFO: IMEI packet received {"connection_id":149377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":149377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:49:28] local.INFO: TCP Data received {"connection_id":149377,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:49:28] local.INFO: Processing buffer {"connection_id":149377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:49:28] local.INFO: IMEI packet received {"connection_id":149377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":149377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:49:29] local.INFO: TCP Data received {"connection_id":148069,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:49:29] local.INFO: Processing buffer {"connection_id":148069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:49:29] local.INFO: IMEI packet received {"connection_id":148069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":148069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:49:30] local.INFO: TCP Data received {"connection_id":149377,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:49:30] local.INFO: Processing buffer {"connection_id":149377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:49:30] local.INFO: Packet analysis {"connection_id":149377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:49:30] local.INFO: Extracted packet for processing {"connection_id":149377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:49:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134995200001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785683876000,"timestamp_ms":1785683876000,"timestamp_seconds":1785683876,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30d98a0"} 
[2026-08-02 20:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134995200001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134995200001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:49:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:49:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134995200001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":149377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:49:30] local.INFO: GPS data processed {"connection_id":149377,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:49:30] local.INFO: Acknowledgment sent {"connection_id":149377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:49:34] local.INFO: TCP Data received {"connection_id":148069,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:49:34] local.INFO: Processing buffer {"connection_id":148069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:49:34] local.INFO: IMEI packet received {"connection_id":148069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":148069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:49:35] local.INFO: TCP Data received {"connection_id":148069,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:49:35] local.INFO: Processing buffer {"connection_id":148069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:49:35] local.INFO: Packet analysis {"connection_id":148069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:49:35] local.INFO: Extracted packet for processing {"connection_id":148069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134954240001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785683716000,"timestamp_ms":1785683716000,"timestamp_seconds":1785683716,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30b27a0"} 
[2026-08-02 20:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134954240001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134954240001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:49:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134954240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":148069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:49:35] local.INFO: GPS data processed {"connection_id":148069,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:49:35] local.INFO: Acknowledgment sent {"connection_id":148069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:50:01] local.INFO: TCP Data received {"connection_id":149377,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:50:01] local.INFO: Processing buffer {"connection_id":149377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:50:01] local.INFO: Packet analysis {"connection_id":149377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:50:01] local.INFO: Extracted packet for processing {"connection_id":149377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:50:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134995200001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785683876000,"timestamp_ms":1785683876000,"timestamp_seconds":1785683876,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30d98a0"} 
[2026-08-02 20:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:50: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134995200001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134995200001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:50:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:50:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:50:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134995200001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":149377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:50:01] local.INFO: GPS data processed {"connection_id":149377,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:50:01] local.INFO: Acknowledgment sent {"connection_id":149377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:50:06] local.INFO: TCP Data received {"connection_id":148069,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:50:06] local.INFO: Processing buffer {"connection_id":148069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:50:06] local.INFO: Packet analysis {"connection_id":148069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:50:06] local.INFO: Extracted packet for processing {"connection_id":148069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134954240001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785683716000,"timestamp_ms":1785683716000,"timestamp_seconds":1785683716,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30b27a0"} 
[2026-08-02 20:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134954240001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134954240001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:50:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134954240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":148069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:50:06] local.INFO: GPS data processed {"connection_id":148069,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:50:06] local.INFO: Acknowledgment sent {"connection_id":148069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:50:28] local.INFO: TCP Data received {"connection_id":148070,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:50:28] local.INFO: Processing buffer {"connection_id":148070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:50:28] local.INFO: IMEI packet received {"connection_id":148070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":148070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:50:28] local.INFO: TCP Data received {"connection_id":149378,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:50:28] local.INFO: Processing buffer {"connection_id":149378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:50:28] local.INFO: IMEI packet received {"connection_id":149378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":149378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:50:33] local.INFO: TCP Data received {"connection_id":149378,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:50:33] local.INFO: Processing buffer {"connection_id":149378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:50:33] local.INFO: IMEI packet received {"connection_id":149378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":149378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:50:34] local.INFO: TCP Data received {"connection_id":148070,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:50:34] local.INFO: Processing buffer {"connection_id":148070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:50:34] local.INFO: IMEI packet received {"connection_id":148070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":148070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:50:35] local.INFO: TCP Data received {"connection_id":148070,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:50:35] local.INFO: Processing buffer {"connection_id":148070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30b27a0012d196700071fef08003d010e2b..."} 
[2026-08-02 20:50:35] local.INFO: Packet analysis {"connection_id":148070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:50:35] local.INFO: Extracted packet for processing {"connection_id":148070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30b"} 
[2026-08-02 20:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134954240001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785683716000,"timestamp_ms":1785683716000,"timestamp_seconds":1785683716,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30b27a0"} 
[2026-08-02 20:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134954240001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134954240001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:50:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134954240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":148070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:50:35] local.INFO: GPS data processed {"connection_id":148070,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:50:35] local.INFO: Acknowledgment sent {"connection_id":148070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:50:36] local.INFO: TCP Data received {"connection_id":149378,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:50:36] local.INFO: Processing buffer {"connection_id":149378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:50:36] local.INFO: Packet analysis {"connection_id":149378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:50:36] local.INFO: Extracted packet for processing {"connection_id":149378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:50:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134995200001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785683876000,"timestamp_ms":1785683876000,"timestamp_seconds":1785683876,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30d98a0"} 
[2026-08-02 20:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134995200001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134995200001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:50:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:50:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:50:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134995200001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":149378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:50:36] local.INFO: GPS data processed {"connection_id":149378,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:50:36] local.INFO: Acknowledgment sent {"connection_id":149378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:50:39] local.INFO: TCP Data received {"connection_id":149378,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:50:39] local.INFO: Processing buffer {"connection_id":149378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:50:39] local.INFO: Packet analysis {"connection_id":149378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:50:39] local.INFO: Extracted packet for processing {"connection_id":149378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:50:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134995200001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785683876000,"timestamp_ms":1785683876000,"timestamp_seconds":1785683876,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30d98a0"} 
[2026-08-02 20:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20: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-08-02 20: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":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134995200001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134995200001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:50:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:50:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:50:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134995200001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":149378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:50:39] local.INFO: GPS data processed {"connection_id":149378,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:50:39] local.INFO: Acknowledgment sent {"connection_id":149378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:51:06] local.INFO: TCP Data received {"connection_id":148070,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:51:06] local.INFO: Processing buffer {"connection_id":148070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:51:06] local.INFO: Packet analysis {"connection_id":148070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:51:06] local.INFO: Extracted packet for processing {"connection_id":148070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135031296001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785684017000,"timestamp_ms":1785684017000,"timestamp_seconds":1785684017,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30fbf68"} 
[2026-08-02 20:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135031296001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135031296001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:51:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135031296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":148070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:51:06] local.INFO: GPS data processed {"connection_id":148070,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:51:06] local.INFO: Acknowledgment sent {"connection_id":148070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:51:23] local.INFO: TCP Data received {"connection_id":146823,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:51:23] local.INFO: Processing buffer {"connection_id":146823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:51:23] local.INFO: IMEI packet received {"connection_id":146823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":146823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:51:28] local.INFO: TCP Data received {"connection_id":146823,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:51:28] local.INFO: Processing buffer {"connection_id":146823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:51:28] local.INFO: IMEI packet received {"connection_id":146823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":146823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:51:29] local.INFO: TCP Data received {"connection_id":146824,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:51:29] local.INFO: Processing buffer {"connection_id":146824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:51:29] local.INFO: IMEI packet received {"connection_id":146824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":146824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:51:30] local.INFO: TCP Data received {"connection_id":146823,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:51:30] local.INFO: Processing buffer {"connection_id":146823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:51:30] local.INFO: Packet analysis {"connection_id":146823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:51:30] local.INFO: Extracted packet for processing {"connection_id":146823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:51:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134995200001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785683876000,"timestamp_ms":1785683876000,"timestamp_seconds":1785683876,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30d98a0"} 
[2026-08-02 20:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134995200001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134995200001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:51:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:51:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134995200001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":146823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:51:30] local.INFO: GPS data processed {"connection_id":146823,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:51:30] local.INFO: Acknowledgment sent {"connection_id":146823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:51:34] local.INFO: TCP Data received {"connection_id":146824,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:51:34] local.INFO: Processing buffer {"connection_id":146824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:51:34] local.INFO: IMEI packet received {"connection_id":146824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":146824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:51:34] local.INFO: TCP Data received {"connection_id":146824,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:51:34] local.INFO: Processing buffer {"connection_id":146824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:51:34] local.INFO: Packet analysis {"connection_id":146824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:51:34] local.INFO: Extracted packet for processing {"connection_id":146824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135031296001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785684017000,"timestamp_ms":1785684017000,"timestamp_seconds":1785684017,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30fbf68"} 
[2026-08-02 20:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135031296001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135031296001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:51:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135031296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":146824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:51:35] local.INFO: GPS data processed {"connection_id":146824,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:51:35] local.INFO: Acknowledgment sent {"connection_id":146824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:52:02] local.INFO: TCP Data received {"connection_id":146823,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:52:02] local.INFO: Processing buffer {"connection_id":146823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:52:02] local.INFO: Packet analysis {"connection_id":146823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:52:02] local.INFO: Extracted packet for processing {"connection_id":146823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:52:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134995200001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:52:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785683876000,"timestamp_ms":1785683876000,"timestamp_seconds":1785683876,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30d98a0"} 
[2026-08-02 20:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134995200001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134995200001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:52:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:52:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:52:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134995200001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":146823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:52:02] local.INFO: GPS data processed {"connection_id":146823,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:52:02] local.INFO: Acknowledgment sent {"connection_id":146823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:52:06] local.INFO: TCP Data received {"connection_id":146824,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:52:06] local.INFO: Processing buffer {"connection_id":146824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:52:06] local.INFO: Packet analysis {"connection_id":146824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:52:06] local.INFO: Extracted packet for processing {"connection_id":146824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135031296001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785684017000,"timestamp_ms":1785684017000,"timestamp_seconds":1785684017,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30fbf68"} 
[2026-08-02 20:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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-08-02 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-08-02 20:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135031296001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135031296001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:52:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135031296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":146824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:52:06] local.INFO: GPS data processed {"connection_id":146824,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:52:06] local.INFO: Acknowledgment sent {"connection_id":146824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:52:23] local.INFO: TCP Data received {"connection_id":147038,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:52:23] local.INFO: Processing buffer {"connection_id":147038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:52:23] local.INFO: IMEI packet received {"connection_id":147038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":147038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:52:28] local.INFO: TCP Data received {"connection_id":147038,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:52:28] local.INFO: Processing buffer {"connection_id":147038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:52:28] local.INFO: IMEI packet received {"connection_id":147038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":147038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:52:29] local.INFO: TCP Data received {"connection_id":147039,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:52:29] local.INFO: Processing buffer {"connection_id":147039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:52:29] local.INFO: IMEI packet received {"connection_id":147039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":147039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:52:30] local.INFO: TCP Data received {"connection_id":147038,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:52:30] local.INFO: Processing buffer {"connection_id":147038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:52:30] local.INFO: Packet analysis {"connection_id":147038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:52:30] local.INFO: Extracted packet for processing {"connection_id":147038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:52:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134995200001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785683876000,"timestamp_ms":1785683876000,"timestamp_seconds":1785683876,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30d98a0"} 
[2026-08-02 20:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134995200001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134995200001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:52:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:52:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134995200001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":147038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:52:30] local.INFO: GPS data processed {"connection_id":147038,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:52:30] local.INFO: Acknowledgment sent {"connection_id":147038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:52:34] local.INFO: TCP Data received {"connection_id":147039,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:52:34] local.INFO: Processing buffer {"connection_id":147039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:52:34] local.INFO: IMEI packet received {"connection_id":147039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":147039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:52:35] local.INFO: TCP Data received {"connection_id":147039,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:52:35] local.INFO: Processing buffer {"connection_id":147039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:52:35] local.INFO: Packet analysis {"connection_id":147039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:52:35] local.INFO: Extracted packet for processing {"connection_id":147039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135031296001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785684017000,"timestamp_ms":1785684017000,"timestamp_seconds":1785684017,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30fbf68"} 
[2026-08-02 20:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135031296001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135031296001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:52:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135031296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":147039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:52:35] local.INFO: GPS data processed {"connection_id":147039,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:52:35] local.INFO: Acknowledgment sent {"connection_id":147039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:53:01] local.INFO: TCP Data received {"connection_id":147038,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:53:01] local.INFO: Processing buffer {"connection_id":147038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:53:01] local.INFO: Packet analysis {"connection_id":147038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:53:01] local.INFO: Extracted packet for processing {"connection_id":147038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:53:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134995200001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:53:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785683876000,"timestamp_ms":1785683876000,"timestamp_seconds":1785683876,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30d98a0"} 
[2026-08-02 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-08-02 20:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 20:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134995200001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134995200001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:53:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:53:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:53:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134995200001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":147038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:53:01] local.INFO: GPS data processed {"connection_id":147038,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:53:01] local.INFO: Acknowledgment sent {"connection_id":147038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:53:06] local.INFO: TCP Data received {"connection_id":147039,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:53:06] local.INFO: Processing buffer {"connection_id":147039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:53:06] local.INFO: Packet analysis {"connection_id":147039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:53:06] local.INFO: Extracted packet for processing {"connection_id":147039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 20:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135031296001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785684017000,"timestamp_ms":1785684017000,"timestamp_seconds":1785684017,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30fbf68"} 
[2026-08-02 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-08-02 20:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20: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-08-02 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-08-02 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-08-02 20:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135031296001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135031296001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:53:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135031296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":147039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:53:06] local.INFO: GPS data processed {"connection_id":147039,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:53:06] local.INFO: Acknowledgment sent {"connection_id":147039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:53:23] local.INFO: TCP Data received {"connection_id":148071,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:53:23] local.INFO: Processing buffer {"connection_id":148071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:53:23] local.INFO: IMEI packet received {"connection_id":148071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":148071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:53:28] local.INFO: TCP Data received {"connection_id":148071,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:53:28] local.INFO: Processing buffer {"connection_id":148071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:53:28] local.INFO: IMEI packet received {"connection_id":148071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":148071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:53:29] local.INFO: TCP Data received {"connection_id":148072,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:53:29] local.INFO: Processing buffer {"connection_id":148072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:53:29] local.INFO: IMEI packet received {"connection_id":148072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":148072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:53:30] local.INFO: TCP Data received {"connection_id":148071,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:53:30] local.INFO: Processing buffer {"connection_id":148071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30d98a0012cc330c007685958005800c52f..."} 
[2026-08-02 20:53:30] local.INFO: Packet analysis {"connection_id":148071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:53:30] local.INFO: Extracted packet for processing {"connection_id":148071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30d"} 
[2026-08-02 20:53:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457134995200001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785683876000,"timestamp_ms":1785683876000,"timestamp_seconds":1785683876,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30d98a0"} 
[2026-08-02 20:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 20:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457134995200001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457134995200001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:53:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:53:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457134995200001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":148071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:53:30] local.INFO: GPS data processed {"connection_id":148071,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:53:30] local.INFO: Acknowledgment sent {"connection_id":148071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:53:34] local.INFO: TCP Data received {"connection_id":148072,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:53:34] local.INFO: Processing buffer {"connection_id":148072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:53:34] local.INFO: IMEI packet received {"connection_id":148072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":148072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:53:35] local.INFO: TCP Data received {"connection_id":148072,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:53:35] local.INFO: Processing buffer {"connection_id":148072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:53:35] local.INFO: Packet analysis {"connection_id":148072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:53:35] local.INFO: Extracted packet for processing {"connection_id":148072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:53:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135031296001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785684017000,"timestamp_ms":1785684017000,"timestamp_seconds":1785684017,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30fbf68"} 
[2026-08-02 20:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135031296001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135031296001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:53:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:53:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135031296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":148072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:53:35] local.INFO: GPS data processed {"connection_id":148072,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:53:35] local.INFO: Acknowledgment sent {"connection_id":148072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:54:02] local.INFO: TCP Data received {"connection_id":148071,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:54:02] local.INFO: Processing buffer {"connection_id":148071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:54:02] local.INFO: Packet analysis {"connection_id":148071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:54:02] local.INFO: Extracted packet for processing {"connection_id":148071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:54:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135072256001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785684177000,"timestamp_ms":1785684177000,"timestamp_seconds":1785684177,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3123068"} 
[2026-08-02 20:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135072256001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135072256001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:54:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:54:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:54:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135072256001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":148071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:54:02] local.INFO: GPS data processed {"connection_id":148071,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:54:02] local.INFO: Acknowledgment sent {"connection_id":148071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:54:06] local.INFO: TCP Data received {"connection_id":148072,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:54:06] local.INFO: Processing buffer {"connection_id":148072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:54:06] local.INFO: Packet analysis {"connection_id":148072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:54:06] local.INFO: Extracted packet for processing {"connection_id":148072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135031296001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785684017000,"timestamp_ms":1785684017000,"timestamp_seconds":1785684017,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30fbf68"} 
[2026-08-02 20:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135031296001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135031296001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:54:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135031296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":148072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:54:06] local.INFO: GPS data processed {"connection_id":148072,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:54:06] local.INFO: Acknowledgment sent {"connection_id":148072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:54:28] local.INFO: TCP Data received {"connection_id":147040,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:54:28] local.INFO: Processing buffer {"connection_id":147040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:54:28] local.INFO: IMEI packet received {"connection_id":147040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":147040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:54:29] local.INFO: TCP Data received {"connection_id":149379,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:54:29] local.INFO: Processing buffer {"connection_id":149379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:54:29] local.INFO: IMEI packet received {"connection_id":149379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":149379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:54:33] local.INFO: TCP Data received {"connection_id":147040,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:54:33] local.INFO: Processing buffer {"connection_id":147040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:54:33] local.INFO: IMEI packet received {"connection_id":147040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":147040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:54:34] local.INFO: TCP Data received {"connection_id":149379,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:54:34] local.INFO: Processing buffer {"connection_id":149379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:54:34] local.INFO: IMEI packet received {"connection_id":149379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":149379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:54:35] local.INFO: TCP Data received {"connection_id":149379,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:54:35] local.INFO: Processing buffer {"connection_id":149379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:54:35] local.INFO: Packet analysis {"connection_id":149379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:54:35] local.INFO: Extracted packet for processing {"connection_id":149379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135031296001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785684017000,"timestamp_ms":1785684017000,"timestamp_seconds":1785684017,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30fbf68"} 
[2026-08-02 20:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135031296001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135031296001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:54:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135031296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":149379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:54:35] local.INFO: GPS data processed {"connection_id":149379,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:54:35] local.INFO: Acknowledgment sent {"connection_id":149379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:54:35] local.INFO: TCP Data received {"connection_id":147040,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:54:35] local.INFO: Processing buffer {"connection_id":147040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:54:35] local.INFO: Packet analysis {"connection_id":147040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:54:35] local.INFO: Extracted packet for processing {"connection_id":147040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135072256001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785684177000,"timestamp_ms":1785684177000,"timestamp_seconds":1785684177,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3123068"} 
[2026-08-02 20:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135072256001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135072256001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:54:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:54:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135072256001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":147040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:54:35] local.INFO: GPS data processed {"connection_id":147040,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:54:35] local.INFO: Acknowledgment sent {"connection_id":147040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:54:39] local.INFO: TCP Data received {"connection_id":147040,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:54:39] local.INFO: Processing buffer {"connection_id":147040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:54:39] local.INFO: Packet analysis {"connection_id":147040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:54:39] local.INFO: Extracted packet for processing {"connection_id":147040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:54:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135072256001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785684177000,"timestamp_ms":1785684177000,"timestamp_seconds":1785684177,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3123068"} 
[2026-08-02 20:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20: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-08-02 20: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":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:54: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-08-02 20:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135072256001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135072256001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:54:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:54:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:54:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135072256001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":147040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:54:39] local.INFO: GPS data processed {"connection_id":147040,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:54:39] local.INFO: Acknowledgment sent {"connection_id":147040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:55:06] local.INFO: TCP Data received {"connection_id":149379,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:55:06] local.INFO: Processing buffer {"connection_id":149379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:55:06] local.INFO: Packet analysis {"connection_id":149379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:55:06] local.INFO: Extracted packet for processing {"connection_id":149379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135031296001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785684017000,"timestamp_ms":1785684017000,"timestamp_seconds":1785684017,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30fbf68"} 
[2026-08-02 20:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135031296001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135031296001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:55:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135031296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":149379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:55:06] local.INFO: GPS data processed {"connection_id":149379,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:55:06] local.INFO: Acknowledgment sent {"connection_id":149379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:55:24] local.INFO: TCP Data received {"connection_id":148073,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:55:24] local.INFO: Processing buffer {"connection_id":148073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:55:24] local.INFO: IMEI packet received {"connection_id":148073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":148073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:55:28] local.INFO: TCP Data received {"connection_id":148073,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:55:28] local.INFO: Processing buffer {"connection_id":148073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:55:28] local.INFO: IMEI packet received {"connection_id":148073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":148073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:55:29] local.INFO: TCP Data received {"connection_id":149380,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:55:29] local.INFO: Processing buffer {"connection_id":149380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:55:29] local.INFO: IMEI packet received {"connection_id":149380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":149380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:55:30] local.INFO: TCP Data received {"connection_id":148073,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:55:30] local.INFO: Processing buffer {"connection_id":148073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:55:30] local.INFO: Packet analysis {"connection_id":148073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:55:30] local.INFO: Extracted packet for processing {"connection_id":148073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:55:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135072256001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:55:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785684177000,"timestamp_ms":1785684177000,"timestamp_seconds":1785684177,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3123068"} 
[2026-08-02 20:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135072256001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135072256001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:55:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:55:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:55:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135072256001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":148073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:55:30] local.INFO: GPS data processed {"connection_id":148073,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:55:30] local.INFO: Acknowledgment sent {"connection_id":148073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:55:34] local.INFO: TCP Data received {"connection_id":149380,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:55:34] local.INFO: Processing buffer {"connection_id":149380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:55:34] local.INFO: IMEI packet received {"connection_id":149380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":149380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:55:34] local.INFO: TCP Data received {"connection_id":149380,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:55:34] local.INFO: Processing buffer {"connection_id":149380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc30fbf68012d196700071fef08003d010e2c..."} 
[2026-08-02 20:55:34] local.INFO: Packet analysis {"connection_id":149380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:55:34] local.INFO: Extracted packet for processing {"connection_id":149380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc30f"} 
[2026-08-02 20:55:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135031296001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785684017000,"timestamp_ms":1785684017000,"timestamp_seconds":1785684017,"priority":1,"record_length":96,"hex_timestamp":"0000019fc30fbf68"} 
[2026-08-02 20:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135031296001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135031296001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:55:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135031296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":149380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:55:35] local.INFO: GPS data processed {"connection_id":149380,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:55:35] local.INFO: Acknowledgment sent {"connection_id":149380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:56:01] local.INFO: TCP Data received {"connection_id":148073,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:56:01] local.INFO: Processing buffer {"connection_id":148073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:56:01] local.INFO: Packet analysis {"connection_id":148073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:56:01] local.INFO: Extracted packet for processing {"connection_id":148073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:56:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135072256001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785684177000,"timestamp_ms":1785684177000,"timestamp_seconds":1785684177,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3123068"} 
[2026-08-02 20:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135072256001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135072256001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:56:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:56:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:56:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135072256001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":148073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:56:01] local.INFO: GPS data processed {"connection_id":148073,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:56:01] local.INFO: Acknowledgment sent {"connection_id":148073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:56:06] local.INFO: TCP Data received {"connection_id":149380,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:56:06] local.INFO: Processing buffer {"connection_id":149380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:56:06] local.INFO: Packet analysis {"connection_id":149380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:56:06] local.INFO: Extracted packet for processing {"connection_id":149380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135108352001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785684318000,"timestamp_ms":1785684318000,"timestamp_seconds":1785684318,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3145730"} 
[2026-08-02 20:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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-08-02 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-08-02 20:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135108352001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135108352001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:56:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135108352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":149380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:56:06] local.INFO: GPS data processed {"connection_id":149380,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:56:06] local.INFO: Acknowledgment sent {"connection_id":149380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:56:23] local.INFO: TCP Data received {"connection_id":149381,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:56:23] local.INFO: Processing buffer {"connection_id":149381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:56:23] local.INFO: IMEI packet received {"connection_id":149381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":149381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:56:28] local.INFO: TCP Data received {"connection_id":149381,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:56:28] local.INFO: Processing buffer {"connection_id":149381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:56:28] local.INFO: IMEI packet received {"connection_id":149381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":149381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:56:30] local.INFO: TCP Data received {"connection_id":149381,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:56:30] local.INFO: Processing buffer {"connection_id":149381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:56:30] local.INFO: Packet analysis {"connection_id":149381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:56:30] local.INFO: Extracted packet for processing {"connection_id":149381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:56:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135072256001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785684177000,"timestamp_ms":1785684177000,"timestamp_seconds":1785684177,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3123068"} 
[2026-08-02 20:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135072256001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135072256001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:56:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:56:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135072256001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":149381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:56:30] local.INFO: GPS data processed {"connection_id":149381,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:56:30] local.INFO: Acknowledgment sent {"connection_id":149381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:56:34] local.INFO: TCP Data received {"connection_id":148074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:56:34] local.INFO: Processing buffer {"connection_id":148074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:56:34] local.INFO: IMEI packet received {"connection_id":148074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":148074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:56:39] local.INFO: TCP Data received {"connection_id":148074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:56:39] local.INFO: Processing buffer {"connection_id":148074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:56:39] local.INFO: IMEI packet received {"connection_id":148074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":148074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:56:39] local.INFO: TCP Data received {"connection_id":148074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:56:39] local.INFO: Processing buffer {"connection_id":148074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:56:39] local.INFO: Packet analysis {"connection_id":148074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:56:39] local.INFO: Extracted packet for processing {"connection_id":148074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:56:39] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135108352001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785684318000,"timestamp_ms":1785684318000,"timestamp_seconds":1785684318,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3145730"} 
[2026-08-02 20:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135108352001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135108352001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:56:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:56:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135108352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":148074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:56:39] local.INFO: GPS data processed {"connection_id":148074,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:56:39] local.INFO: Acknowledgment sent {"connection_id":148074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:56:44] local.INFO: TCP Data received {"connection_id":148074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:56:44] local.INFO: Processing buffer {"connection_id":148074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:56:44] local.INFO: Packet analysis {"connection_id":148074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:56:44] local.INFO: Extracted packet for processing {"connection_id":148074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:56:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135108352001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785684318000,"timestamp_ms":1785684318000,"timestamp_seconds":1785684318,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3145730"} 
[2026-08-02 20:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135108352001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135108352001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:56:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:56:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135108352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":148074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:56:44] local.INFO: GPS data processed {"connection_id":148074,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:56:44] local.INFO: Acknowledgment sent {"connection_id":148074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:57:02] local.INFO: TCP Data received {"connection_id":149381,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:57:02] local.INFO: Processing buffer {"connection_id":149381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:57:02] local.INFO: Packet analysis {"connection_id":149381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:57:02] local.INFO: Extracted packet for processing {"connection_id":149381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:57:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135072256001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:57:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785684177000,"timestamp_ms":1785684177000,"timestamp_seconds":1785684177,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3123068"} 
[2026-08-02 20:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135072256001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135072256001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:57:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:57:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:57:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135072256001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":149381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:57:02] local.INFO: GPS data processed {"connection_id":149381,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:57:02] local.INFO: Acknowledgment sent {"connection_id":149381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:57:23] local.INFO: TCP Data received {"connection_id":147041,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:57:23] local.INFO: Processing buffer {"connection_id":147041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:57:23] local.INFO: IMEI packet received {"connection_id":147041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":147041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:57:28] local.INFO: TCP Data received {"connection_id":147041,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:57:28] local.INFO: Processing buffer {"connection_id":147041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:57:28] local.INFO: IMEI packet received {"connection_id":147041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":147041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:57:29] local.INFO: TCP Data received {"connection_id":147042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:57:29] local.INFO: Processing buffer {"connection_id":147042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:57:29] local.INFO: IMEI packet received {"connection_id":147042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":147042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:57:31] local.INFO: TCP Data received {"connection_id":147041,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:57:31] local.INFO: Processing buffer {"connection_id":147041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:57:31] local.INFO: Packet analysis {"connection_id":147041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:57:31] local.INFO: Extracted packet for processing {"connection_id":147041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:57:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135072256001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:57:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785684177000,"timestamp_ms":1785684177000,"timestamp_seconds":1785684177,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3123068"} 
[2026-08-02 20:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135072256001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135072256001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:57:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:57:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:57:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135072256001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":147041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:57:31] local.INFO: GPS data processed {"connection_id":147041,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:57:31] local.INFO: Acknowledgment sent {"connection_id":147041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:57:34] local.INFO: TCP Data received {"connection_id":147042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:57:34] local.INFO: Processing buffer {"connection_id":147042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:57:34] local.INFO: IMEI packet received {"connection_id":147042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":147042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:57:34] local.INFO: TCP Data received {"connection_id":147042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:57:34] local.INFO: Processing buffer {"connection_id":147042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:57:34] local.INFO: Packet analysis {"connection_id":147042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:57:34] local.INFO: Extracted packet for processing {"connection_id":147042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135108352001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785684318000,"timestamp_ms":1785684318000,"timestamp_seconds":1785684318,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3145730"} 
[2026-08-02 20:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135108352001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135108352001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:57:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135108352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":147042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:57:35] local.INFO: GPS data processed {"connection_id":147042,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:57:35] local.INFO: Acknowledgment sent {"connection_id":147042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:58:02] local.INFO: TCP Data received {"connection_id":147041,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:58:02] local.INFO: Processing buffer {"connection_id":147041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:58:02] local.INFO: Packet analysis {"connection_id":147041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:58:02] local.INFO: Extracted packet for processing {"connection_id":147041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:58:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135072256001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:58:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785684177000,"timestamp_ms":1785684177000,"timestamp_seconds":1785684177,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3123068"} 
[2026-08-02 20:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135072256001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135072256001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:58:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:58:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:58:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135072256001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":147041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:58:02] local.INFO: GPS data processed {"connection_id":147041,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:58:02] local.INFO: Acknowledgment sent {"connection_id":147041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:58:05] local.INFO: TCP Data received {"connection_id":147042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:58:05] local.INFO: Processing buffer {"connection_id":147042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:58:05] local.INFO: Packet analysis {"connection_id":147042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:58:05] local.INFO: Extracted packet for processing {"connection_id":147042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135108352001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785684318000,"timestamp_ms":1785684318000,"timestamp_seconds":1785684318,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3145730"} 
[2026-08-02 20:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:58: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-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135108352001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135108352001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:58:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135108352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":147042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:58:05] local.INFO: GPS data processed {"connection_id":147042,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:58:05] local.INFO: Acknowledgment sent {"connection_id":147042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:58:23] local.INFO: TCP Data received {"connection_id":148075,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:58:23] local.INFO: Processing buffer {"connection_id":148075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:58:23] local.INFO: IMEI packet received {"connection_id":148075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":148075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:58:28] local.INFO: TCP Data received {"connection_id":148076,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:58:28] local.INFO: Processing buffer {"connection_id":148076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:58:28] local.INFO: IMEI packet received {"connection_id":148076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":148076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:58:28] local.INFO: TCP Data received {"connection_id":148075,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:58:28] local.INFO: Processing buffer {"connection_id":148075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:58:28] local.INFO: IMEI packet received {"connection_id":148075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":148075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:58:32] local.INFO: TCP Data received {"connection_id":148075,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:58:32] local.INFO: Processing buffer {"connection_id":148075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3123068012cc330c007685958005800c52f..."} 
[2026-08-02 20:58:32] local.INFO: Packet analysis {"connection_id":148075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:58:32] local.INFO: Extracted packet for processing {"connection_id":148075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc312"} 
[2026-08-02 20:58:32] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135072256001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:58:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785684177000,"timestamp_ms":1785684177000,"timestamp_seconds":1785684177,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3123068"} 
[2026-08-02 20:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 20:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135072256001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135072256001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:58:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:58:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:58:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135072256001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":148075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:58:32] local.INFO: GPS data processed {"connection_id":148075,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:58:32] local.INFO: Acknowledgment sent {"connection_id":148075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:58:34] local.INFO: TCP Data received {"connection_id":148076,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:58:34] local.INFO: Processing buffer {"connection_id":148076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:58:34] local.INFO: IMEI packet received {"connection_id":148076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":148076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:58:34] local.INFO: TCP Data received {"connection_id":148076,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:58:34] local.INFO: Processing buffer {"connection_id":148076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:58:34] local.INFO: Packet analysis {"connection_id":148076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:58:34] local.INFO: Extracted packet for processing {"connection_id":148076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135108352001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785684318000,"timestamp_ms":1785684318000,"timestamp_seconds":1785684318,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3145730"} 
[2026-08-02 20:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135108352001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135108352001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:58:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135108352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":148076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:58:35] local.INFO: GPS data processed {"connection_id":148076,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:58:35] local.INFO: Acknowledgment sent {"connection_id":148076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:59:04] local.INFO: TCP Data received {"connection_id":148075,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 20:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 20:59:04] local.INFO: Processing buffer {"connection_id":148075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 20:59:04] local.INFO: Packet analysis {"connection_id":148075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 20:59:04] local.INFO: Extracted packet for processing {"connection_id":148075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 20:59:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135149312001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:59:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785684478000,"timestamp_ms":1785684478000,"timestamp_seconds":1785684478,"priority":1,"record_length":96,"hex_timestamp":"0000019fc316c830"} 
[2026-08-02 20:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135149312001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135149312001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:59:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:59:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:59:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135149312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":148075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:59:04] local.INFO: GPS data processed {"connection_id":148075,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:59:04] local.INFO: Acknowledgment sent {"connection_id":148075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:59:05] local.INFO: TCP Data received {"connection_id":148076,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:59:05] local.INFO: Processing buffer {"connection_id":148076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:59:05] local.INFO: Packet analysis {"connection_id":148076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:59:05] local.INFO: Extracted packet for processing {"connection_id":148076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20: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-08-02 20:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135108352001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785684318000,"timestamp_ms":1785684318000,"timestamp_seconds":1785684318,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3145730"} 
[2026-08-02 20:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:59: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-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20: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-08-02 20:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135108352001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135108352001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:59:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135108352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":148076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:59:05] local.INFO: GPS data processed {"connection_id":148076,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:59:05] local.INFO: Acknowledgment sent {"connection_id":148076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:59:23] local.INFO: TCP Data received {"connection_id":148077,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:59:23] local.INFO: Processing buffer {"connection_id":148077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:59:23] local.INFO: IMEI packet received {"connection_id":148077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 20:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":148077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:59:28] local.INFO: TCP Data received {"connection_id":146825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:59:28] local.INFO: Processing buffer {"connection_id":146825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:59:28] local.INFO: IMEI packet received {"connection_id":146825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 20:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":146825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 20:59:28] local.INFO: TCP Data received {"connection_id":148077,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:59:28] local.INFO: Processing buffer {"connection_id":148077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 20:59:28] local.INFO: IMEI packet received {"connection_id":148077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 20:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":148077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:59:31] local.INFO: TCP Data received {"connection_id":148077,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 20:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 20:59:31] local.INFO: Processing buffer {"connection_id":148077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 20:59:31] local.INFO: Packet analysis {"connection_id":148077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 20:59:31] local.INFO: Extracted packet for processing {"connection_id":148077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 20:59:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 20:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135149312001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 20:59:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 20:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785684478000,"timestamp_ms":1785684478000,"timestamp_seconds":1785684478,"priority":1,"record_length":96,"hex_timestamp":"0000019fc316c830"} 
[2026-08-02 20:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 20:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 20:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 20:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 20:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135149312001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 20:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 20:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 20:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135149312001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:59:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 20:59:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 20:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:59:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 20:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135149312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 20:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":148077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:59:31] local.INFO: GPS data processed {"connection_id":148077,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:59:31] local.INFO: Acknowledgment sent {"connection_id":148077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 20:59:34] local.INFO: TCP Data received {"connection_id":146825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:59:34] local.INFO: Processing buffer {"connection_id":146825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 20:59:34] local.INFO: IMEI packet received {"connection_id":146825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 20:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":146825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 20:59:34] local.INFO: TCP Data received {"connection_id":146825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:59:34] local.INFO: Processing buffer {"connection_id":146825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 20:59:34] local.INFO: Packet analysis {"connection_id":146825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:59:34] local.INFO: Extracted packet for processing {"connection_id":146825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 20:59:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 20:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 20:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135108352001,"note":"Value kept but may cause issues"} 
[2026-08-02 20:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 20:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 20:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 20:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785684318000,"timestamp_ms":1785684318000,"timestamp_seconds":1785684318,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3145730"} 
[2026-08-02 20:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 20:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 20:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 20:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 20:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 20:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 20:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 20:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 20:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 20:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 20:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 20:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135108352001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 20:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 20:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 20:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135108352001,"description":"Unknown IO ID 0"} 
[2026-08-02 20:59:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 20:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 20:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 20:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 20:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135108352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 20:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":146825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 20:59:35] local.INFO: GPS data processed {"connection_id":146825,"processed":1,"errors":0,"total":1} 
[2026-08-02 20:59:35] local.INFO: Acknowledgment sent {"connection_id":146825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:00:02] local.INFO: TCP Data received {"connection_id":148077,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:00:02] local.INFO: Processing buffer {"connection_id":148077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:00:02] local.INFO: Packet analysis {"connection_id":148077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:00:02] local.INFO: Extracted packet for processing {"connection_id":148077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:00:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135149312001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:00:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785684478000,"timestamp_ms":1785684478000,"timestamp_seconds":1785684478,"priority":1,"record_length":96,"hex_timestamp":"0000019fc316c830"} 
[2026-08-02 21:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135149312001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135149312001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:00:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:00:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:00:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135149312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":148077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:00:02] local.INFO: GPS data processed {"connection_id":148077,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:00:02] local.INFO: Acknowledgment sent {"connection_id":148077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:00:05] local.INFO: TCP Data received {"connection_id":146825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 21:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 21:00:05] local.INFO: Processing buffer {"connection_id":146825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 21:00:05] local.INFO: Packet analysis {"connection_id":146825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 21:00:05] local.INFO: Extracted packet for processing {"connection_id":146825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 21:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135108352001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785684318000,"timestamp_ms":1785684318000,"timestamp_seconds":1785684318,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3145730"} 
[2026-08-02 21:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:00: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-08-02 21:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135108352001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135108352001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:00:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135108352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":146825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:00:05] local.INFO: GPS data processed {"connection_id":146825,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:00:05] local.INFO: Acknowledgment sent {"connection_id":146825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:00:23] local.INFO: TCP Data received {"connection_id":148078,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:00:23] local.INFO: Processing buffer {"connection_id":148078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:00:23] local.INFO: IMEI packet received {"connection_id":148078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":148078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:00:28] local.INFO: TCP Data received {"connection_id":148079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:00:28] local.INFO: Processing buffer {"connection_id":148079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:00:28] local.INFO: IMEI packet received {"connection_id":148079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 21:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":148079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:00:28] local.INFO: TCP Data received {"connection_id":148078,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:00:28] local.INFO: Processing buffer {"connection_id":148078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:00:28] local.INFO: IMEI packet received {"connection_id":148078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":148078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:00:30] local.INFO: TCP Data received {"connection_id":148078,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:00:30] local.INFO: Processing buffer {"connection_id":148078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:00:30] local.INFO: Packet analysis {"connection_id":148078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:00:30] local.INFO: Extracted packet for processing {"connection_id":148078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:00:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135149312001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785684478000,"timestamp_ms":1785684478000,"timestamp_seconds":1785684478,"priority":1,"record_length":96,"hex_timestamp":"0000019fc316c830"} 
[2026-08-02 21:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135149312001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135149312001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:00:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:00:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135149312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":148078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:00:30] local.INFO: GPS data processed {"connection_id":148078,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:00:30] local.INFO: Acknowledgment sent {"connection_id":148078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:00:34] local.INFO: TCP Data received {"connection_id":148079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:00:34] local.INFO: Processing buffer {"connection_id":148079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:00:34] local.INFO: IMEI packet received {"connection_id":148079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 21:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":148079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:00:34] local.INFO: TCP Data received {"connection_id":148079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 21:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 21:00:34] local.INFO: Processing buffer {"connection_id":148079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3145730012d196700071fef08003d010e26..."} 
[2026-08-02 21:00:34] local.INFO: Packet analysis {"connection_id":148079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 21:00:34] local.INFO: Extracted packet for processing {"connection_id":148079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc314"} 
[2026-08-02 21:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135108352001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785684318000,"timestamp_ms":1785684318000,"timestamp_seconds":1785684318,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3145730"} 
[2026-08-02 21:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135108352001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135108352001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:00:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135108352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":148079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:00:34] local.INFO: GPS data processed {"connection_id":148079,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:00:34] local.INFO: Acknowledgment sent {"connection_id":148079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:01:01] local.INFO: TCP Data received {"connection_id":148078,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:01:01] local.INFO: Processing buffer {"connection_id":148078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:01:01] local.INFO: Packet analysis {"connection_id":148078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:01:01] local.INFO: Extracted packet for processing {"connection_id":148078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:01:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21: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-08-02 21:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135149312001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785684478000,"timestamp_ms":1785684478000,"timestamp_seconds":1785684478,"priority":1,"record_length":96,"hex_timestamp":"0000019fc316c830"} 
[2026-08-02 21:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21: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-08-02 21:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135149312001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135149312001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:01:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:01:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:01:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135149312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":148078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:01:01] local.INFO: GPS data processed {"connection_id":148078,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:01:01] local.INFO: Acknowledgment sent {"connection_id":148078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:01:05] local.INFO: TCP Data received {"connection_id":148079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:01:05] local.INFO: Processing buffer {"connection_id":148079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:01:05] local.INFO: Packet analysis {"connection_id":148079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:01:05] local.INFO: Extracted packet for processing {"connection_id":148079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135185408001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785684619000,"timestamp_ms":1785684619000,"timestamp_seconds":1785684619,"priority":1,"record_length":96,"hex_timestamp":"0000019fc318eef8"} 
[2026-08-02 21:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135185408001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135185408001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:01:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135185408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":148079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:01:05] local.INFO: GPS data processed {"connection_id":148079,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:01:05] local.INFO: Acknowledgment sent {"connection_id":148079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:01:28] local.INFO: TCP Data received {"connection_id":147043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:01:28] local.INFO: Processing buffer {"connection_id":147043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:01:28] local.INFO: IMEI packet received {"connection_id":147043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 21:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":147043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:01:28] local.INFO: TCP Data received {"connection_id":146826,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:01:28] local.INFO: Processing buffer {"connection_id":146826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:01:28] local.INFO: IMEI packet received {"connection_id":146826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":146826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:01:33] local.INFO: TCP Data received {"connection_id":147043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:01:33] local.INFO: Processing buffer {"connection_id":147043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:01:33] local.INFO: IMEI packet received {"connection_id":147043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 21:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":147043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:01:33] local.INFO: TCP Data received {"connection_id":146826,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:01:33] local.INFO: Processing buffer {"connection_id":146826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:01:33] local.INFO: IMEI packet received {"connection_id":146826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":146826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:01:34] local.INFO: TCP Data received {"connection_id":147043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:01:34] local.INFO: Processing buffer {"connection_id":147043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:01:34] local.INFO: Packet analysis {"connection_id":147043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:01:34] local.INFO: Extracted packet for processing {"connection_id":147043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135185408001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785684619000,"timestamp_ms":1785684619000,"timestamp_seconds":1785684619,"priority":1,"record_length":96,"hex_timestamp":"0000019fc318eef8"} 
[2026-08-02 21:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135185408001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135185408001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:01:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135185408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":147043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:01:34] local.INFO: GPS data processed {"connection_id":147043,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:01:34] local.INFO: Acknowledgment sent {"connection_id":147043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:01:35] local.INFO: TCP Data received {"connection_id":146826,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:01:35] local.INFO: Processing buffer {"connection_id":146826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:01:35] local.INFO: Packet analysis {"connection_id":146826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:01:35] local.INFO: Extracted packet for processing {"connection_id":146826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:01:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 21:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135149312001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785684478000,"timestamp_ms":1785684478000,"timestamp_seconds":1785684478,"priority":1,"record_length":96,"hex_timestamp":"0000019fc316c830"} 
[2026-08-02 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-08-02 21:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 21:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135149312001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135149312001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:01:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:01:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:01:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135149312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":146826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:01:35] local.INFO: GPS data processed {"connection_id":146826,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:01:35] local.INFO: Acknowledgment sent {"connection_id":146826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:01:39] local.INFO: TCP Data received {"connection_id":146826,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:01:39] local.INFO: Processing buffer {"connection_id":146826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:01:39] local.INFO: Packet analysis {"connection_id":146826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:01:39] local.INFO: Extracted packet for processing {"connection_id":146826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:01:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21: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-08-02 21:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135149312001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785684478000,"timestamp_ms":1785684478000,"timestamp_seconds":1785684478,"priority":1,"record_length":96,"hex_timestamp":"0000019fc316c830"} 
[2026-08-02 21:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21: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-08-02 21: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":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21: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-08-02 21:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135149312001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135149312001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:01:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:01:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:01:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135149312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":146826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:01:39] local.INFO: GPS data processed {"connection_id":146826,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:01:39] local.INFO: Acknowledgment sent {"connection_id":146826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:01:44] local.INFO: TCP Data received {"connection_id":146826,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:01:44] local.INFO: Processing buffer {"connection_id":146826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:01:44] local.INFO: Packet analysis {"connection_id":146826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:01:44] local.INFO: Extracted packet for processing {"connection_id":146826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:01:44] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135149312001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785684478000,"timestamp_ms":1785684478000,"timestamp_seconds":1785684478,"priority":1,"record_length":96,"hex_timestamp":"0000019fc316c830"} 
[2026-08-02 21:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135149312001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135149312001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:01:44] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:01:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:01:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135149312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":146826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:01:44] local.INFO: GPS data processed {"connection_id":146826,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:01:44] local.INFO: Acknowledgment sent {"connection_id":146826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:02:05] local.INFO: TCP Data received {"connection_id":147043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:02:05] local.INFO: Processing buffer {"connection_id":147043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:02:05] local.INFO: Packet analysis {"connection_id":147043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:02:05] local.INFO: Extracted packet for processing {"connection_id":147043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135185408001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785684619000,"timestamp_ms":1785684619000,"timestamp_seconds":1785684619,"priority":1,"record_length":96,"hex_timestamp":"0000019fc318eef8"} 
[2026-08-02 21:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135185408001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135185408001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:02:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135185408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":147043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:02:05] local.INFO: GPS data processed {"connection_id":147043,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:02:05] local.INFO: Acknowledgment sent {"connection_id":147043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:02:23] local.INFO: TCP Data received {"connection_id":146827,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:02:23] local.INFO: Processing buffer {"connection_id":146827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:02:23] local.INFO: IMEI packet received {"connection_id":146827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":146827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:02:28] local.INFO: TCP Data received {"connection_id":146827,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:02:28] local.INFO: Processing buffer {"connection_id":146827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:02:28] local.INFO: IMEI packet received {"connection_id":146827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":146827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:02:30] local.INFO: TCP Data received {"connection_id":146827,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:02:30] local.INFO: Processing buffer {"connection_id":146827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:02:30] local.INFO: Packet analysis {"connection_id":146827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:02:30] local.INFO: Extracted packet for processing {"connection_id":146827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:02:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135149312001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785684478000,"timestamp_ms":1785684478000,"timestamp_seconds":1785684478,"priority":1,"record_length":96,"hex_timestamp":"0000019fc316c830"} 
[2026-08-02 21:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135149312001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135149312001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:02:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:02:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135149312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":146827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:02:30] local.INFO: GPS data processed {"connection_id":146827,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:02:30] local.INFO: Acknowledgment sent {"connection_id":146827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:02:33] local.INFO: TCP Data received {"connection_id":148080,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:02:33] local.INFO: Processing buffer {"connection_id":148080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:02:33] local.INFO: IMEI packet received {"connection_id":148080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 21:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":148080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:02:39] local.INFO: TCP Data received {"connection_id":148080,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:02:39] local.INFO: Processing buffer {"connection_id":148080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:02:39] local.INFO: IMEI packet received {"connection_id":148080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 21:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":148080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:02:39] local.INFO: TCP Data received {"connection_id":148080,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:02:39] local.INFO: Processing buffer {"connection_id":148080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:02:39] local.INFO: Packet analysis {"connection_id":148080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:02:39] local.INFO: Extracted packet for processing {"connection_id":148080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21: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-08-02 21:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135185408001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785684619000,"timestamp_ms":1785684619000,"timestamp_seconds":1785684619,"priority":1,"record_length":96,"hex_timestamp":"0000019fc318eef8"} 
[2026-08-02 21:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21: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-08-02 21:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135185408001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135185408001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:02:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:02:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135185408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":148080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:02:39] local.INFO: GPS data processed {"connection_id":148080,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:02:39] local.INFO: Acknowledgment sent {"connection_id":148080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:02:44] local.INFO: TCP Data received {"connection_id":148080,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:02:44] local.INFO: Processing buffer {"connection_id":148080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:02:44] local.INFO: Packet analysis {"connection_id":148080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:02:44] local.INFO: Extracted packet for processing {"connection_id":148080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135185408001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785684619000,"timestamp_ms":1785684619000,"timestamp_seconds":1785684619,"priority":1,"record_length":96,"hex_timestamp":"0000019fc318eef8"} 
[2026-08-02 21:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135185408001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135185408001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:02:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:02:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135185408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":148080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:02:44] local.INFO: GPS data processed {"connection_id":148080,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:02:44] local.INFO: Acknowledgment sent {"connection_id":148080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:03:02] local.INFO: TCP Data received {"connection_id":146827,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:03:02] local.INFO: Processing buffer {"connection_id":146827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:03:02] local.INFO: Packet analysis {"connection_id":146827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:03:02] local.INFO: Extracted packet for processing {"connection_id":146827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:03:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135149312001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:03:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785684478000,"timestamp_ms":1785684478000,"timestamp_seconds":1785684478,"priority":1,"record_length":96,"hex_timestamp":"0000019fc316c830"} 
[2026-08-02 21:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135149312001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135149312001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:03:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:03:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:03:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135149312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":146827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:03:02] local.INFO: GPS data processed {"connection_id":146827,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:03:02] local.INFO: Acknowledgment sent {"connection_id":146827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:03:23] local.INFO: TCP Data received {"connection_id":149382,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:03:23] local.INFO: Processing buffer {"connection_id":149382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:03:23] local.INFO: IMEI packet received {"connection_id":149382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":149382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:03:28] local.INFO: TCP Data received {"connection_id":149382,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:03:28] local.INFO: Processing buffer {"connection_id":149382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:03:28] local.INFO: IMEI packet received {"connection_id":149382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":149382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:03:28] local.INFO: TCP Data received {"connection_id":149383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:03:28] local.INFO: Processing buffer {"connection_id":149383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:03:28] local.INFO: IMEI packet received {"connection_id":149383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 21:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":149383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:03:31] local.INFO: TCP Data received {"connection_id":149382,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:03:31] local.INFO: Processing buffer {"connection_id":149382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc316c830012cc330c007685958005800c52e..."} 
[2026-08-02 21:03:31] local.INFO: Packet analysis {"connection_id":149382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:03:31] local.INFO: Extracted packet for processing {"connection_id":149382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc316"} 
[2026-08-02 21:03:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135149312001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:03:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785684478000,"timestamp_ms":1785684478000,"timestamp_seconds":1785684478,"priority":1,"record_length":96,"hex_timestamp":"0000019fc316c830"} 
[2026-08-02 21:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135149312001,"66":25343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135149312001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:03:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:03:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:03:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135149312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":149382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:03:31] local.INFO: GPS data processed {"connection_id":149382,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:03:31] local.INFO: Acknowledgment sent {"connection_id":149382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:03:33] local.INFO: TCP Data received {"connection_id":149383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:03:33] local.INFO: Processing buffer {"connection_id":149383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:03:33] local.INFO: IMEI packet received {"connection_id":149383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 21:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":149383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:03:34] local.INFO: TCP Data received {"connection_id":149383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:03:34] local.INFO: Processing buffer {"connection_id":149383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:03:34] local.INFO: Packet analysis {"connection_id":149383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:03:34] local.INFO: Extracted packet for processing {"connection_id":149383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135185408001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785684619000,"timestamp_ms":1785684619000,"timestamp_seconds":1785684619,"priority":1,"record_length":96,"hex_timestamp":"0000019fc318eef8"} 
[2026-08-02 21:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135185408001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135185408001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:03:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135185408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":149383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:03:34] local.INFO: GPS data processed {"connection_id":149383,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:03:34] local.INFO: Acknowledgment sent {"connection_id":149383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:04:03] local.INFO: TCP Data received {"connection_id":149382,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:04:03] local.INFO: Processing buffer {"connection_id":149382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:04:03] local.INFO: Packet analysis {"connection_id":149382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:04:03] local.INFO: Extracted packet for processing {"connection_id":149382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:04:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135226368001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:04:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785684779000,"timestamp_ms":1785684779000,"timestamp_seconds":1785684779,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31b5ff8"} 
[2026-08-02 21:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":149382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":149382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":149382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135226368001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135226368001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:04:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:04:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:04:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135226368001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":149382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:04:03] local.INFO: GPS data processed {"connection_id":149382,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:04:03] local.INFO: Acknowledgment sent {"connection_id":149382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:04:05] local.INFO: TCP Data received {"connection_id":149383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:04:05] local.INFO: Processing buffer {"connection_id":149383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:04:05] local.INFO: Packet analysis {"connection_id":149383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:04:05] local.INFO: Extracted packet for processing {"connection_id":149383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 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-08-02 21:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135185408001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785684619000,"timestamp_ms":1785684619000,"timestamp_seconds":1785684619,"priority":1,"record_length":96,"hex_timestamp":"0000019fc318eef8"} 
[2026-08-02 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-08-02 21:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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-08-02 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-08-02 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-08-02 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-08-02 21:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135185408001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135185408001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:04:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135185408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":149383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:04:05] local.INFO: GPS data processed {"connection_id":149383,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:04:05] local.INFO: Acknowledgment sent {"connection_id":149383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:04:23] local.INFO: TCP Data received {"connection_id":149384,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:04:23] local.INFO: Processing buffer {"connection_id":149384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:04:23] local.INFO: IMEI packet received {"connection_id":149384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":149384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:04:28] local.INFO: TCP Data received {"connection_id":149384,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:04:28] local.INFO: Processing buffer {"connection_id":149384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:04:28] local.INFO: IMEI packet received {"connection_id":149384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":149384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:04:28] local.INFO: TCP Data received {"connection_id":146828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:04:28] local.INFO: Processing buffer {"connection_id":146828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:04:28] local.INFO: IMEI packet received {"connection_id":146828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 21:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":146828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:04:33] local.INFO: TCP Data received {"connection_id":146828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:04:33] local.INFO: Processing buffer {"connection_id":146828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:04:33] local.INFO: IMEI packet received {"connection_id":146828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 21:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":146828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:04:34] local.INFO: TCP Data received {"connection_id":146828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:04:34] local.INFO: Processing buffer {"connection_id":146828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:04:34] local.INFO: Packet analysis {"connection_id":146828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:04:34] local.INFO: Extracted packet for processing {"connection_id":146828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:04:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135185408001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785684619000,"timestamp_ms":1785684619000,"timestamp_seconds":1785684619,"priority":1,"record_length":96,"hex_timestamp":"0000019fc318eef8"} 
[2026-08-02 21:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135185408001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135185408001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:04:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:04:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135185408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":146828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:04:34] local.INFO: GPS data processed {"connection_id":146828,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:04:34] local.INFO: Acknowledgment sent {"connection_id":146828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:04:35] local.INFO: TCP Data received {"connection_id":149384,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:04:35] local.INFO: Processing buffer {"connection_id":149384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:04:35] local.INFO: Packet analysis {"connection_id":149384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:04:35] local.INFO: Extracted packet for processing {"connection_id":149384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:04:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135226368001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:04:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785684779000,"timestamp_ms":1785684779000,"timestamp_seconds":1785684779,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31b5ff8"} 
[2026-08-02 21:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135226368001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135226368001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:04:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:04:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:04:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135226368001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":149384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:04:35] local.INFO: GPS data processed {"connection_id":149384,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:04:35] local.INFO: Acknowledgment sent {"connection_id":149384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:05:05] local.INFO: TCP Data received {"connection_id":146828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:05:05] local.INFO: Processing buffer {"connection_id":146828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:05:05] local.INFO: Packet analysis {"connection_id":146828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:05:05] local.INFO: Extracted packet for processing {"connection_id":146828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135185408001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785684619000,"timestamp_ms":1785684619000,"timestamp_seconds":1785684619,"priority":1,"record_length":96,"hex_timestamp":"0000019fc318eef8"} 
[2026-08-02 21:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135185408001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135185408001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:05:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135185408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":146828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:05:05] local.INFO: GPS data processed {"connection_id":146828,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:05:05] local.INFO: Acknowledgment sent {"connection_id":146828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:05:07] local.INFO: TCP Data received {"connection_id":149384,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:05:07] local.INFO: Processing buffer {"connection_id":149384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:05:07] local.INFO: Packet analysis {"connection_id":149384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:05:07] local.INFO: Extracted packet for processing {"connection_id":149384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135226368001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:05:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785684779000,"timestamp_ms":1785684779000,"timestamp_seconds":1785684779,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31b5ff8"} 
[2026-08-02 21:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135226368001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135226368001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:05:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:05:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:05:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135226368001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":149384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:05:07] local.INFO: GPS data processed {"connection_id":149384,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:05:07] local.INFO: Acknowledgment sent {"connection_id":149384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:05:28] local.INFO: TCP Data received {"connection_id":149385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:05:28] local.INFO: Processing buffer {"connection_id":149385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:05:28] local.INFO: IMEI packet received {"connection_id":149385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 21:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":149385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:05:33] local.INFO: TCP Data received {"connection_id":149385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:05:33] local.INFO: Processing buffer {"connection_id":149385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:05:33] local.INFO: IMEI packet received {"connection_id":149385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 21:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":149385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:05:34] local.INFO: TCP Data received {"connection_id":149385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:05:34] local.INFO: Processing buffer {"connection_id":149385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc318eef8012d196700071fef08003d010e2b..."} 
[2026-08-02 21:05:34] local.INFO: Packet analysis {"connection_id":149385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:05:34] local.INFO: Extracted packet for processing {"connection_id":149385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc318"} 
[2026-08-02 21:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135185408001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785684619000,"timestamp_ms":1785684619000,"timestamp_seconds":1785684619,"priority":1,"record_length":96,"hex_timestamp":"0000019fc318eef8"} 
[2026-08-02 21:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135185408001,"66":2166,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135185408001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:05:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135185408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":149385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:05:34] local.INFO: GPS data processed {"connection_id":149385,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:05:34] local.INFO: Acknowledgment sent {"connection_id":149385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:05:49] local.INFO: TCP Data received {"connection_id":148081,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:05:49] local.INFO: Processing buffer {"connection_id":148081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:05:49] local.INFO: IMEI packet received {"connection_id":148081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":148081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:05:50] local.INFO: TCP Data received {"connection_id":148081,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:05:50] local.INFO: Processing buffer {"connection_id":148081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:05:50] local.INFO: IMEI packet received {"connection_id":148081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":148081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:05:58] local.INFO: TCP Data received {"connection_id":148081,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:05:58] local.INFO: Processing buffer {"connection_id":148081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:05:58] local.INFO: Packet analysis {"connection_id":148081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:05:58] local.INFO: Extracted packet for processing {"connection_id":148081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:05:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135226368001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:05:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785684779000,"timestamp_ms":1785684779000,"timestamp_seconds":1785684779,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31b5ff8"} 
[2026-08-02 21:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135226368001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135226368001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:05:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:05:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:05:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135226368001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":148081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:05:58] local.INFO: GPS data processed {"connection_id":148081,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:05:58] local.INFO: Acknowledgment sent {"connection_id":148081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:06:05] local.INFO: TCP Data received {"connection_id":149385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:06:05] local.INFO: Processing buffer {"connection_id":149385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:06:05] local.INFO: Packet analysis {"connection_id":149385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:06:05] local.INFO: Extracted packet for processing {"connection_id":149385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135262464001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785684920000,"timestamp_ms":1785684920000,"timestamp_seconds":1785684920,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31d86c0"} 
[2026-08-02 21:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135262464001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135262464001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:06:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135262464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":149385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:06:05] local.INFO: GPS data processed {"connection_id":149385,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:06:05] local.INFO: Acknowledgment sent {"connection_id":149385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:06:25] local.INFO: TCP Data received {"connection_id":148081,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:06:25] local.INFO: Processing buffer {"connection_id":148081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:06:25] local.INFO: Packet analysis {"connection_id":148081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:06:25] local.INFO: Extracted packet for processing {"connection_id":148081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:06:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135226368001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:06:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785684779000,"timestamp_ms":1785684779000,"timestamp_seconds":1785684779,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31b5ff8"} 
[2026-08-02 21:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135226368001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135226368001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:06:25] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:06:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:06:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135226368001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":148081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:06:25] local.INFO: GPS data processed {"connection_id":148081,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:06:25] local.INFO: Acknowledgment sent {"connection_id":148081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:06:25] local.INFO: TCP Data received {"connection_id":148082,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:06:25] local.INFO: Processing buffer {"connection_id":148082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:06:25] local.INFO: IMEI packet received {"connection_id":148082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":148082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:06:28] local.INFO: TCP Data received {"connection_id":148082,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:06:28] local.INFO: Processing buffer {"connection_id":148082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:06:28] local.INFO: IMEI packet received {"connection_id":148082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":148082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:06:29] local.INFO: TCP Data received {"connection_id":146829,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:06:29] local.INFO: Processing buffer {"connection_id":146829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:06:29] local.INFO: IMEI packet received {"connection_id":146829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 21:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":146829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:06:33] local.INFO: TCP Data received {"connection_id":146829,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:06:33] local.INFO: Processing buffer {"connection_id":146829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:06:33] local.INFO: IMEI packet received {"connection_id":146829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 21:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":146829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:06:33] local.INFO: TCP Data received {"connection_id":148082,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:06:33] local.INFO: Processing buffer {"connection_id":148082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:06:33] local.INFO: IMEI packet received {"connection_id":148082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":148082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:06:34] local.INFO: TCP Data received {"connection_id":146829,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:06:34] local.INFO: Processing buffer {"connection_id":146829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:06:34] local.INFO: Packet analysis {"connection_id":146829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:06:34] local.INFO: Extracted packet for processing {"connection_id":146829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135262464001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785684920000,"timestamp_ms":1785684920000,"timestamp_seconds":1785684920,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31d86c0"} 
[2026-08-02 21:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135262464001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135262464001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:06:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135262464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":146829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:06:34] local.INFO: GPS data processed {"connection_id":146829,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:06:34] local.INFO: Acknowledgment sent {"connection_id":146829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:06:35] local.INFO: TCP Data received {"connection_id":148082,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:06:35] local.INFO: Processing buffer {"connection_id":148082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:06:35] local.INFO: Packet analysis {"connection_id":148082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:06:35] local.INFO: Extracted packet for processing {"connection_id":148082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:06:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135226368001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:06:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785684779000,"timestamp_ms":1785684779000,"timestamp_seconds":1785684779,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31b5ff8"} 
[2026-08-02 21:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135226368001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135226368001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:06:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:06:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:06:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135226368001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":148082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:06:35] local.INFO: GPS data processed {"connection_id":148082,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:06:35] local.INFO: Acknowledgment sent {"connection_id":148082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:07:05] local.INFO: TCP Data received {"connection_id":146829,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:07:05] local.INFO: Processing buffer {"connection_id":146829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:07:05] local.INFO: Packet analysis {"connection_id":146829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:07:05] local.INFO: Extracted packet for processing {"connection_id":146829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21: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-08-02 21:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135262464001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785684920000,"timestamp_ms":1785684920000,"timestamp_seconds":1785684920,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31d86c0"} 
[2026-08-02 21:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21: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-08-02 21:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135262464001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135262464001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:07:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135262464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":146829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:07:05] local.INFO: GPS data processed {"connection_id":146829,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:07:05] local.INFO: Acknowledgment sent {"connection_id":146829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:07:07] local.INFO: TCP Data received {"connection_id":148082,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:07:07] local.INFO: Processing buffer {"connection_id":148082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:07:07] local.INFO: Packet analysis {"connection_id":148082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:07:07] local.INFO: Extracted packet for processing {"connection_id":148082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:07:07] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135226368001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:07:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785684779000,"timestamp_ms":1785684779000,"timestamp_seconds":1785684779,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31b5ff8"} 
[2026-08-02 21:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135226368001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135226368001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:07:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:07:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:07:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135226368001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":148082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:07:07] local.INFO: GPS data processed {"connection_id":148082,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:07:07] local.INFO: Acknowledgment sent {"connection_id":148082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:07:23] local.INFO: TCP Data received {"connection_id":148083,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:07:23] local.INFO: Processing buffer {"connection_id":148083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:07:23] local.INFO: IMEI packet received {"connection_id":148083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":148083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:07:28] local.INFO: TCP Data received {"connection_id":149386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:07:28] local.INFO: TCP Data received {"connection_id":148083,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:07:28] local.INFO: Processing buffer {"connection_id":149386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:07:28] local.INFO: IMEI packet received {"connection_id":149386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 21:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":149386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:07:28] local.INFO: Processing buffer {"connection_id":148083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:07:28] local.INFO: IMEI packet received {"connection_id":148083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":148083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:07:30] local.INFO: TCP Data received {"connection_id":148083,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:07:30] local.INFO: Processing buffer {"connection_id":148083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:07:30] local.INFO: Packet analysis {"connection_id":148083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:07:30] local.INFO: Extracted packet for processing {"connection_id":148083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:07:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135226368001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785684779000,"timestamp_ms":1785684779000,"timestamp_seconds":1785684779,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31b5ff8"} 
[2026-08-02 21:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135226368001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135226368001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:07:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:07:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135226368001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":148083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:07:30] local.INFO: GPS data processed {"connection_id":148083,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:07:30] local.INFO: Acknowledgment sent {"connection_id":148083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:07:33] local.INFO: TCP Data received {"connection_id":149386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:07:33] local.INFO: Processing buffer {"connection_id":149386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:07:33] local.INFO: IMEI packet received {"connection_id":149386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 21:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":149386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:07:34] local.INFO: TCP Data received {"connection_id":149386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:07:34] local.INFO: Processing buffer {"connection_id":149386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:07:34] local.INFO: Packet analysis {"connection_id":149386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:07:34] local.INFO: Extracted packet for processing {"connection_id":149386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:07:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135262464001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785684920000,"timestamp_ms":1785684920000,"timestamp_seconds":1785684920,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31d86c0"} 
[2026-08-02 21:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135262464001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135262464001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:07:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135262464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":149386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:07:34] local.INFO: GPS data processed {"connection_id":149386,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:07:34] local.INFO: Acknowledgment sent {"connection_id":149386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:08:01] local.INFO: TCP Data received {"connection_id":148083,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:08:01] local.INFO: Processing buffer {"connection_id":148083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:08:01] local.INFO: Packet analysis {"connection_id":148083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:08:01] local.INFO: Extracted packet for processing {"connection_id":148083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:08:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135226368001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785684779000,"timestamp_ms":1785684779000,"timestamp_seconds":1785684779,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31b5ff8"} 
[2026-08-02 21:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135226368001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135226368001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:08:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:08:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135226368001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":148083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:08:01] local.INFO: GPS data processed {"connection_id":148083,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:08:01] local.INFO: Acknowledgment sent {"connection_id":148083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:08:05] local.INFO: TCP Data received {"connection_id":149386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:08:05] local.INFO: Processing buffer {"connection_id":149386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:08:05] local.INFO: Packet analysis {"connection_id":149386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:08:05] local.INFO: Extracted packet for processing {"connection_id":149386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135262464001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785684920000,"timestamp_ms":1785684920000,"timestamp_seconds":1785684920,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31d86c0"} 
[2026-08-02 21:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135262464001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135262464001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:08:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135262464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":149386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:08:05] local.INFO: GPS data processed {"connection_id":149386,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:08:05] local.INFO: Acknowledgment sent {"connection_id":149386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:08:23] local.INFO: TCP Data received {"connection_id":149387,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:08:23] local.INFO: Processing buffer {"connection_id":149387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:08:23] local.INFO: IMEI packet received {"connection_id":149387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":149387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:08:28] local.INFO: TCP Data received {"connection_id":149387,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:08:28] local.INFO: Processing buffer {"connection_id":149387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:08:28] local.INFO: IMEI packet received {"connection_id":149387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":149387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:08:28] local.INFO: TCP Data received {"connection_id":146830,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:08:28] local.INFO: Processing buffer {"connection_id":146830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:08:28] local.INFO: IMEI packet received {"connection_id":146830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 21:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":146830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:08:30] local.INFO: TCP Data received {"connection_id":149387,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:08:30] local.INFO: Processing buffer {"connection_id":149387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31b5ff8012cc330c007685958005800c52d..."} 
[2026-08-02 21:08:30] local.INFO: Packet analysis {"connection_id":149387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:08:30] local.INFO: Extracted packet for processing {"connection_id":149387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31b"} 
[2026-08-02 21:08:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135226368001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785684779000,"timestamp_ms":1785684779000,"timestamp_seconds":1785684779,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31b5ff8"} 
[2026-08-02 21:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-02 21:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135226368001,"66":25375,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135226368001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:08:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:08:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135226368001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":149387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:08:30] local.INFO: GPS data processed {"connection_id":149387,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:08:30] local.INFO: Acknowledgment sent {"connection_id":149387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:08:34] local.INFO: TCP Data received {"connection_id":146830,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:08:34] local.INFO: Processing buffer {"connection_id":146830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:08:34] local.INFO: IMEI packet received {"connection_id":146830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 21:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":146830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:08:35] local.INFO: TCP Data received {"connection_id":146830,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:08:35] local.INFO: Processing buffer {"connection_id":146830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:08:35] local.INFO: Packet analysis {"connection_id":146830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:08:35] local.INFO: Extracted packet for processing {"connection_id":146830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135262464001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785684920000,"timestamp_ms":1785684920000,"timestamp_seconds":1785684920,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31d86c0"} 
[2026-08-02 21:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135262464001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135262464001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:08:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:08:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135262464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":146830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:08:35] local.INFO: GPS data processed {"connection_id":146830,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:08:35] local.INFO: Acknowledgment sent {"connection_id":146830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:09:01] local.INFO: TCP Data received {"connection_id":149387,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:09:01] local.INFO: Processing buffer {"connection_id":149387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:09:01] local.INFO: Packet analysis {"connection_id":149387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:09:01] local.INFO: Extracted packet for processing {"connection_id":149387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:09:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135303424001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785685080000,"timestamp_ms":1785685080000,"timestamp_seconds":1785685080,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31ff7c0"} 
[2026-08-02 21:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 21:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135303424001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135303424001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:09:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:09:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:09:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135303424001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":149387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:09:01] local.INFO: GPS data processed {"connection_id":149387,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:09:01] local.INFO: Acknowledgment sent {"connection_id":149387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:09:05] local.INFO: TCP Data received {"connection_id":146830,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:09:05] local.INFO: Processing buffer {"connection_id":146830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:09:05] local.INFO: Packet analysis {"connection_id":146830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:09:05] local.INFO: Extracted packet for processing {"connection_id":146830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135262464001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785684920000,"timestamp_ms":1785684920000,"timestamp_seconds":1785684920,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31d86c0"} 
[2026-08-02 21:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135262464001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135262464001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:09:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135262464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":146830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:09:05] local.INFO: GPS data processed {"connection_id":146830,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:09:05] local.INFO: Acknowledgment sent {"connection_id":146830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:09:24] local.INFO: TCP Data received {"connection_id":149388,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:09:24] local.INFO: Processing buffer {"connection_id":149388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:09:24] local.INFO: IMEI packet received {"connection_id":149388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":149388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:09:28] local.INFO: TCP Data received {"connection_id":149388,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:09:28] local.INFO: Processing buffer {"connection_id":149388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:09:28] local.INFO: IMEI packet received {"connection_id":149388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":149388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:09:30] local.INFO: TCP Data received {"connection_id":149388,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:09:30] local.INFO: Processing buffer {"connection_id":149388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:09:30] local.INFO: Packet analysis {"connection_id":149388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:09:30] local.INFO: Extracted packet for processing {"connection_id":149388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:09:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135303424001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785685080000,"timestamp_ms":1785685080000,"timestamp_seconds":1785685080,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31ff7c0"} 
[2026-08-02 21:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 21:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135303424001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135303424001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:09:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:09:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135303424001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":149388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:09:30] local.INFO: GPS data processed {"connection_id":149388,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:09:30] local.INFO: Acknowledgment sent {"connection_id":149388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:09:34] local.INFO: TCP Data received {"connection_id":149389,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:09:34] local.INFO: Processing buffer {"connection_id":149389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:09:34] local.INFO: IMEI packet received {"connection_id":149389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 21:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":149389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:09:39] local.INFO: TCP Data received {"connection_id":149389,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:09:39] local.INFO: Processing buffer {"connection_id":149389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:09:39] local.INFO: IMEI packet received {"connection_id":149389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 21:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":149389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:09:39] local.INFO: TCP Data received {"connection_id":149389,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:09:39] local.INFO: Processing buffer {"connection_id":149389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:09:39] local.INFO: Packet analysis {"connection_id":149389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:09:39] local.INFO: Extracted packet for processing {"connection_id":149389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:09:39] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21: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-08-02 21:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135262464001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785684920000,"timestamp_ms":1785684920000,"timestamp_seconds":1785684920,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31d86c0"} 
[2026-08-02 21:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21: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-08-02 21:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135262464001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135262464001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:09:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:09:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135262464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":149389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:09:40] local.INFO: GPS data processed {"connection_id":149389,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:09:40] local.INFO: Acknowledgment sent {"connection_id":149389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:09:44] local.INFO: TCP Data received {"connection_id":149389,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:09:44] local.INFO: Processing buffer {"connection_id":149389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:09:44] local.INFO: Packet analysis {"connection_id":149389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:09:44] local.INFO: Extracted packet for processing {"connection_id":149389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:09:44] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135262464001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785684920000,"timestamp_ms":1785684920000,"timestamp_seconds":1785684920,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31d86c0"} 
[2026-08-02 21:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135262464001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135262464001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:09:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:09:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135262464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":149389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:09:44] local.INFO: GPS data processed {"connection_id":149389,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:09:44] local.INFO: Acknowledgment sent {"connection_id":149389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:10:02] local.INFO: TCP Data received {"connection_id":149388,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:10:02] local.INFO: Processing buffer {"connection_id":149388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:10:02] local.INFO: Packet analysis {"connection_id":149388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:10:02] local.INFO: Extracted packet for processing {"connection_id":149388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:10:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135303424001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:10:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785685080000,"timestamp_ms":1785685080000,"timestamp_seconds":1785685080,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31ff7c0"} 
[2026-08-02 21:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 21:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135303424001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135303424001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:10:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:10:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:10:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135303424001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":149388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:10:02] local.INFO: GPS data processed {"connection_id":149388,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:10:02] local.INFO: Acknowledgment sent {"connection_id":149388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:10:23] local.INFO: TCP Data received {"connection_id":147044,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:10:23] local.INFO: Processing buffer {"connection_id":147044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:10:23] local.INFO: IMEI packet received {"connection_id":147044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":147044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:10:28] local.INFO: TCP Data received {"connection_id":147044,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:10:28] local.INFO: Processing buffer {"connection_id":147044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:10:28] local.INFO: IMEI packet received {"connection_id":147044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":147044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:10:29] local.INFO: TCP Data received {"connection_id":147045,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:10:29] local.INFO: Processing buffer {"connection_id":147045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:10:29] local.INFO: IMEI packet received {"connection_id":147045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 21:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":147045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:10:31] local.INFO: TCP Data received {"connection_id":147044,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:10:31] local.INFO: Processing buffer {"connection_id":147044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:10:31] local.INFO: Packet analysis {"connection_id":147044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:10:31] local.INFO: Extracted packet for processing {"connection_id":147044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:10:31] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135303424001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:10:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785685080000,"timestamp_ms":1785685080000,"timestamp_seconds":1785685080,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31ff7c0"} 
[2026-08-02 21:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 21:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135303424001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135303424001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:10:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:10:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:10:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135303424001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":147044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:10:31] local.INFO: GPS data processed {"connection_id":147044,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:10:31] local.INFO: Acknowledgment sent {"connection_id":147044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:10:34] local.INFO: TCP Data received {"connection_id":147045,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:10:34] local.INFO: Processing buffer {"connection_id":147045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:10:34] local.INFO: IMEI packet received {"connection_id":147045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 21:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":147045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:10:34] local.INFO: TCP Data received {"connection_id":147045,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:10:34] local.INFO: Processing buffer {"connection_id":147045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31d86c0012d196700071fef08003d010e2b..."} 
[2026-08-02 21:10:34] local.INFO: Packet analysis {"connection_id":147045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:10:34] local.INFO: Extracted packet for processing {"connection_id":147045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31d"} 
[2026-08-02 21:10:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135262464001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785684920000,"timestamp_ms":1785684920000,"timestamp_seconds":1785684920,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31d86c0"} 
[2026-08-02 21:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-02 21:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135262464001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135262464001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:10:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:10:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135262464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":147045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:10:35] local.INFO: GPS data processed {"connection_id":147045,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:10:35] local.INFO: Acknowledgment sent {"connection_id":147045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:11:02] local.INFO: TCP Data received {"connection_id":147044,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:11:02] local.INFO: Processing buffer {"connection_id":147044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:11:02] local.INFO: Packet analysis {"connection_id":147044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:11:02] local.INFO: Extracted packet for processing {"connection_id":147044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:11:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135303424001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:11:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785685080000,"timestamp_ms":1785685080000,"timestamp_seconds":1785685080,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31ff7c0"} 
[2026-08-02 21:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 21:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135303424001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135303424001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:11:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:11:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:11:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135303424001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":147044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:11:02] local.INFO: GPS data processed {"connection_id":147044,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:11:02] local.INFO: Acknowledgment sent {"connection_id":147044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:11:06] local.INFO: TCP Data received {"connection_id":147045,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3221e88012d196700071fef08003d010e28..."} 
[2026-08-02 21:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3221e88012d196700071fef08003d010e28..."} 
[2026-08-02 21:11:06] local.INFO: Processing buffer {"connection_id":147045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3221e88012d196700071fef08003d010e28..."} 
[2026-08-02 21:11:06] local.INFO: Packet analysis {"connection_id":147045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc322"} 
[2026-08-02 21:11:06] local.INFO: Extracted packet for processing {"connection_id":147045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc322"} 
[2026-08-02 21:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135339520001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785685221000,"timestamp_ms":1785685221000,"timestamp_seconds":1785685221,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3221e88"} 
[2026-08-02 21:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 21:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135339520001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135339520001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:11:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135339520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":147045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:11:06] local.INFO: GPS data processed {"connection_id":147045,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:11:06] local.INFO: Acknowledgment sent {"connection_id":147045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:11:23] local.INFO: TCP Data received {"connection_id":148084,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:11:23] local.INFO: Processing buffer {"connection_id":148084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:11:23] local.INFO: IMEI packet received {"connection_id":148084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":148084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:11:28] local.INFO: TCP Data received {"connection_id":148084,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:11:28] local.INFO: Processing buffer {"connection_id":148084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:11:28] local.INFO: IMEI packet received {"connection_id":148084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":148084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:11:29] local.INFO: TCP Data received {"connection_id":148085,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:11:29] local.INFO: Processing buffer {"connection_id":148085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:11:29] local.INFO: IMEI packet received {"connection_id":148085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 21:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":148085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:11:30] local.INFO: TCP Data received {"connection_id":148084,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:11:30] local.INFO: Processing buffer {"connection_id":148084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:11:30] local.INFO: Packet analysis {"connection_id":148084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:11:30] local.INFO: Extracted packet for processing {"connection_id":148084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:11:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135303424001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785685080000,"timestamp_ms":1785685080000,"timestamp_seconds":1785685080,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31ff7c0"} 
[2026-08-02 21:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 21:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135303424001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135303424001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:11:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:11:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135303424001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":148084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:11:30] local.INFO: GPS data processed {"connection_id":148084,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:11:30] local.INFO: Acknowledgment sent {"connection_id":148084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:11:34] local.INFO: TCP Data received {"connection_id":148085,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:11:34] local.INFO: Processing buffer {"connection_id":148085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:11:34] local.INFO: IMEI packet received {"connection_id":148085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 21:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":148085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:11:34] local.INFO: TCP Data received {"connection_id":148085,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3221e88012d196700071fef08003d010e28..."} 
[2026-08-02 21:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3221e88012d196700071fef08003d010e28..."} 
[2026-08-02 21:11:34] local.INFO: Processing buffer {"connection_id":148085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3221e88012d196700071fef08003d010e28..."} 
[2026-08-02 21:11:34] local.INFO: Packet analysis {"connection_id":148085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc322"} 
[2026-08-02 21:11:34] local.INFO: Extracted packet for processing {"connection_id":148085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc322"} 
[2026-08-02 21:11:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135339520001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785685221000,"timestamp_ms":1785685221000,"timestamp_seconds":1785685221,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3221e88"} 
[2026-08-02 21:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 21:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135339520001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135339520001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:11:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135339520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":148085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:11:34] local.INFO: GPS data processed {"connection_id":148085,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:11:34] local.INFO: Acknowledgment sent {"connection_id":148085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:12:02] local.INFO: TCP Data received {"connection_id":148084,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:12:02] local.INFO: Processing buffer {"connection_id":148084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:12:02] local.INFO: Packet analysis {"connection_id":148084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:12:02] local.INFO: Extracted packet for processing {"connection_id":148084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:12:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135303424001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:12:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785685080000,"timestamp_ms":1785685080000,"timestamp_seconds":1785685080,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31ff7c0"} 
[2026-08-02 21:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 21:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135303424001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135303424001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:12:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:12:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:12:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135303424001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":148084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:12:02] local.INFO: GPS data processed {"connection_id":148084,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:12:02] local.INFO: Acknowledgment sent {"connection_id":148084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:12:06] local.INFO: TCP Data received {"connection_id":148085,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3221e88012d196700071fef08003d010e28..."} 
[2026-08-02 21:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3221e88012d196700071fef08003d010e28..."} 
[2026-08-02 21:12:06] local.INFO: Processing buffer {"connection_id":148085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3221e88012d196700071fef08003d010e28..."} 
[2026-08-02 21:12:06] local.INFO: Packet analysis {"connection_id":148085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc322"} 
[2026-08-02 21:12:06] local.INFO: Extracted packet for processing {"connection_id":148085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc322"} 
[2026-08-02 21:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135339520001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785685221000,"timestamp_ms":1785685221000,"timestamp_seconds":1785685221,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3221e88"} 
[2026-08-02 21:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 21:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135339520001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135339520001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:12:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135339520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":148085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:12:06] local.INFO: GPS data processed {"connection_id":148085,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:12:06] local.INFO: Acknowledgment sent {"connection_id":148085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:12:23] local.INFO: TCP Data received {"connection_id":146831,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:12:23] local.INFO: Processing buffer {"connection_id":146831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:12:23] local.INFO: IMEI packet received {"connection_id":146831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":146831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:12:28] local.INFO: TCP Data received {"connection_id":146831,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:12:28] local.INFO: Processing buffer {"connection_id":146831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:12:28] local.INFO: IMEI packet received {"connection_id":146831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":146831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:12:28] local.INFO: TCP Data received {"connection_id":146832,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:12:28] local.INFO: Processing buffer {"connection_id":146832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:12:28] local.INFO: IMEI packet received {"connection_id":146832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-02 21:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":146832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:12:30] local.INFO: TCP Data received {"connection_id":146831,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:12:30] local.INFO: Processing buffer {"connection_id":146831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:12:30] local.INFO: Packet analysis {"connection_id":146831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:12:30] local.INFO: Extracted packet for processing {"connection_id":146831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:12:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135303424001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785685080000,"timestamp_ms":1785685080000,"timestamp_seconds":1785685080,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31ff7c0"} 
[2026-08-02 21:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 21:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135303424001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135303424001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:12:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:12:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135303424001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":146831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:12:30] local.INFO: GPS data processed {"connection_id":146831,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:12:30] local.INFO: Acknowledgment sent {"connection_id":146831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:12:34] local.INFO: TCP Data received {"connection_id":146832,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:12:34] local.INFO: Processing buffer {"connection_id":146832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-02 21:12:34] local.INFO: IMEI packet received {"connection_id":146832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-02 21:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":146832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:12:34] local.INFO: TCP Data received {"connection_id":146832,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3221e88012d196700071fef08003d010e28..."} 
[2026-08-02 21:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3221e88012d196700071fef08003d010e28..."} 
[2026-08-02 21:12:34] local.INFO: Processing buffer {"connection_id":146832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3221e88012d196700071fef08003d010e28..."} 
[2026-08-02 21:12:34] local.INFO: Packet analysis {"connection_id":146832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc322"} 
[2026-08-02 21:12:34] local.INFO: Extracted packet for processing {"connection_id":146832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc322"} 
[2026-08-02 21:12:34] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-02 21:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135339520001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10359087455797248,"note":"Value kept but may cause issues"} 
[2026-08-02 21:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-08-02 21:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785685221000,"timestamp_ms":1785685221000,"timestamp_seconds":1785685221,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3221e88"} 
[2026-08-02 21:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-02 21:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-02 21:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-02 21:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-02 21:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135339520001,"66":2155,"102":206,"83":41984,"24":0,"16":10359087455797248,"45":1830431804149925888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-02 21:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-02 21:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-02 21:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135339520001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:12:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-02 21:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-02 21:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10359087455797248,"km_value":10359087455797.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-08-02 21:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135339520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-08-02 21:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":146832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:12:35] local.INFO: GPS data processed {"connection_id":146832,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:12:35] local.INFO: Acknowledgment sent {"connection_id":146832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:13:01] local.INFO: TCP Data received {"connection_id":146831,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:13:01] local.INFO: Processing buffer {"connection_id":146831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:13:01] local.INFO: Packet analysis {"connection_id":146831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:13:01] local.INFO: Extracted packet for processing {"connection_id":146831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:13:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21: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-08-02 21:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135303424001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:13:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785685080000,"timestamp_ms":1785685080000,"timestamp_seconds":1785685080,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31ff7c0"} 
[2026-08-02 21:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 21:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21: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-08-02 21:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135303424001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135303424001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:13:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:13:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:13:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135303424001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":146831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:13:01] local.INFO: GPS data processed {"connection_id":146831,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:13:01] local.INFO: Acknowledgment sent {"connection_id":146831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:13:28] local.INFO: TCP Data received {"connection_id":147046,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:13:28] local.INFO: Processing buffer {"connection_id":147046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:13:28] local.INFO: IMEI packet received {"connection_id":147046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":147046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:13:34] local.INFO: TCP Data received {"connection_id":147046,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:13:34] local.INFO: Processing buffer {"connection_id":147046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:13:34] local.INFO: IMEI packet received {"connection_id":147046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":147046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:13:36] local.INFO: TCP Data received {"connection_id":147046,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:13:36] local.INFO: Processing buffer {"connection_id":147046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:13:36] local.INFO: Packet analysis {"connection_id":147046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:13:36] local.INFO: Extracted packet for processing {"connection_id":147046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:13:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135303424001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:13:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785685080000,"timestamp_ms":1785685080000,"timestamp_seconds":1785685080,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31ff7c0"} 
[2026-08-02 21:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-02 21:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135303424001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135303424001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:13:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:13:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:13:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135303424001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":147046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:13:36] local.INFO: GPS data processed {"connection_id":147046,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:13:36] local.INFO: Acknowledgment sent {"connection_id":147046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:13:39] local.INFO: TCP Data received {"connection_id":147046,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:13:39] local.INFO: Processing buffer {"connection_id":147046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc31ff7c0012cc330c007685958005800c52e..."} 
[2026-08-02 21:13:39] local.INFO: Packet analysis {"connection_id":147046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:13:39] local.INFO: Extracted packet for processing {"connection_id":147046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc31f"} 
[2026-08-02 21:13:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135303424001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:13:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785685080000,"timestamp_ms":1785685080000,"timestamp_seconds":1785685080,"priority":1,"record_length":96,"hex_timestamp":"0000019fc31ff7c0"} 
[2026-08-02 21:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21: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-08-02 21: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":31,"data_length":795,"current_offset":136} 
[2026-08-02 21:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135303424001,"66":25419,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135303424001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:13:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:13:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:13:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135303424001,"power":25419,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":147046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:13:39] local.INFO: GPS data processed {"connection_id":147046,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:13:39] local.INFO: Acknowledgment sent {"connection_id":147046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:14:23] local.INFO: TCP Data received {"connection_id":148086,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:14:23] local.INFO: Processing buffer {"connection_id":148086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:14:23] local.INFO: IMEI packet received {"connection_id":148086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":148086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:14:28] local.INFO: TCP Data received {"connection_id":148086,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:14:28] local.INFO: Processing buffer {"connection_id":148086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:14:28] local.INFO: IMEI packet received {"connection_id":148086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":148086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:14:30] local.INFO: TCP Data received {"connection_id":148086,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:14:30] local.INFO: Processing buffer {"connection_id":148086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:14:30] local.INFO: Packet analysis {"connection_id":148086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:14:30] local.INFO: Extracted packet for processing {"connection_id":148086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:14:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135380480001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785685381000,"timestamp_ms":1785685381000,"timestamp_seconds":1785685381,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3248f88"} 
[2026-08-02 21:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 21:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135380480001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135380480001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:14:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:14:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135380480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":148086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:14:30] local.INFO: GPS data processed {"connection_id":148086,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:14:30] local.INFO: Acknowledgment sent {"connection_id":148086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:15:01] local.INFO: TCP Data received {"connection_id":148086,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:15:01] local.INFO: Processing buffer {"connection_id":148086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:15:01] local.INFO: Packet analysis {"connection_id":148086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:15:01] local.INFO: Extracted packet for processing {"connection_id":148086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:15:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135380480001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:15:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785685381000,"timestamp_ms":1785685381000,"timestamp_seconds":1785685381,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3248f88"} 
[2026-08-02 21:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 21:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135380480001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135380480001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:15:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:15:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:15:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135380480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":148086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:15:01] local.INFO: GPS data processed {"connection_id":148086,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:15:01] local.INFO: Acknowledgment sent {"connection_id":148086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:15:23] local.INFO: TCP Data received {"connection_id":147047,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:15:23] local.INFO: Processing buffer {"connection_id":147047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:15:23] local.INFO: IMEI packet received {"connection_id":147047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":147047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:15:28] local.INFO: TCP Data received {"connection_id":147047,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:15:28] local.INFO: Processing buffer {"connection_id":147047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:15:28] local.INFO: IMEI packet received {"connection_id":147047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":147047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:15:30] local.INFO: TCP Data received {"connection_id":147047,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:15:30] local.INFO: Processing buffer {"connection_id":147047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:15:30] local.INFO: Packet analysis {"connection_id":147047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:15:30] local.INFO: Extracted packet for processing {"connection_id":147047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:15:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135380480001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785685381000,"timestamp_ms":1785685381000,"timestamp_seconds":1785685381,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3248f88"} 
[2026-08-02 21:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 21:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135380480001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135380480001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:15:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:15:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135380480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":147047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:15:30] local.INFO: GPS data processed {"connection_id":147047,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:15:30] local.INFO: Acknowledgment sent {"connection_id":147047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:16:01] local.INFO: TCP Data received {"connection_id":147047,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:16:01] local.INFO: Processing buffer {"connection_id":147047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:16:01] local.INFO: Packet analysis {"connection_id":147047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:16:01] local.INFO: Extracted packet for processing {"connection_id":147047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:16:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135380480001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:16:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785685381000,"timestamp_ms":1785685381000,"timestamp_seconds":1785685381,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3248f88"} 
[2026-08-02 21:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 21:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135380480001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135380480001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:16:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:16:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:16:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135380480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":147047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:16:01] local.INFO: GPS data processed {"connection_id":147047,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:16:01] local.INFO: Acknowledgment sent {"connection_id":147047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:16:23] local.INFO: TCP Data received {"connection_id":148087,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:16:23] local.INFO: Processing buffer {"connection_id":148087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:16:23] local.INFO: IMEI packet received {"connection_id":148087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":148087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:16:28] local.INFO: TCP Data received {"connection_id":148087,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:16:28] local.INFO: Processing buffer {"connection_id":148087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:16:28] local.INFO: IMEI packet received {"connection_id":148087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":148087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:16:30] local.INFO: TCP Data received {"connection_id":148087,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:16:30] local.INFO: Processing buffer {"connection_id":148087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:16:30] local.INFO: Packet analysis {"connection_id":148087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:16:30] local.INFO: Extracted packet for processing {"connection_id":148087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:16:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135380480001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:16:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785685381000,"timestamp_ms":1785685381000,"timestamp_seconds":1785685381,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3248f88"} 
[2026-08-02 21:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 21:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135380480001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135380480001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:16:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:16:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:16:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135380480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":148087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:16:30] local.INFO: GPS data processed {"connection_id":148087,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:16:30] local.INFO: Acknowledgment sent {"connection_id":148087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:17:02] local.INFO: TCP Data received {"connection_id":148087,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:17:02] local.INFO: Processing buffer {"connection_id":148087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:17:02] local.INFO: Packet analysis {"connection_id":148087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:17:02] local.INFO: Extracted packet for processing {"connection_id":148087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:17:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135380480001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:17:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785685381000,"timestamp_ms":1785685381000,"timestamp_seconds":1785685381,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3248f88"} 
[2026-08-02 21:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 21:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135380480001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135380480001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:17:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:17:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:17:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135380480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":148087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:17:02] local.INFO: GPS data processed {"connection_id":148087,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:17:02] local.INFO: Acknowledgment sent {"connection_id":148087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:17:28] local.INFO: TCP Data received {"connection_id":147048,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:17:28] local.INFO: Processing buffer {"connection_id":147048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:17:28] local.INFO: IMEI packet received {"connection_id":147048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":147048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:17:33] local.INFO: TCP Data received {"connection_id":147048,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:17:33] local.INFO: Processing buffer {"connection_id":147048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:17:33] local.INFO: IMEI packet received {"connection_id":147048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":147048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:17:35] local.INFO: TCP Data received {"connection_id":147048,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:17:35] local.INFO: Processing buffer {"connection_id":147048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:17:35] local.INFO: Packet analysis {"connection_id":147048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:17:35] local.INFO: Extracted packet for processing {"connection_id":147048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:17:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135380480001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:17:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785685381000,"timestamp_ms":1785685381000,"timestamp_seconds":1785685381,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3248f88"} 
[2026-08-02 21:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 21:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135380480001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135380480001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:17:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:17:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:17:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135380480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":147048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:17:35] local.INFO: GPS data processed {"connection_id":147048,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:17:35] local.INFO: Acknowledgment sent {"connection_id":147048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:17:39] local.INFO: TCP Data received {"connection_id":147048,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:17:39] local.INFO: Processing buffer {"connection_id":147048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:17:39] local.INFO: Packet analysis {"connection_id":147048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:17:39] local.INFO: Extracted packet for processing {"connection_id":147048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:17:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135380480001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:17:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785685381000,"timestamp_ms":1785685381000,"timestamp_seconds":1785685381,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3248f88"} 
[2026-08-02 21:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:17: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-08-02 21: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":75,"data_length":795,"current_offset":136} 
[2026-08-02 21:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135380480001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135380480001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:17:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:17:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:17:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135380480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":147048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:17:39] local.INFO: GPS data processed {"connection_id":147048,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:17:39] local.INFO: Acknowledgment sent {"connection_id":147048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:18:24] local.INFO: TCP Data received {"connection_id":149390,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:18:24] local.INFO: Processing buffer {"connection_id":149390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:18:24] local.INFO: IMEI packet received {"connection_id":149390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":149390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:18:28] local.INFO: TCP Data received {"connection_id":149390,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:18:28] local.INFO: Processing buffer {"connection_id":149390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:18:28] local.INFO: IMEI packet received {"connection_id":149390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":149390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:18:30] local.INFO: TCP Data received {"connection_id":149390,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:18:30] local.INFO: Processing buffer {"connection_id":149390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3248f88012cc330c007685958005800c52a..."} 
[2026-08-02 21:18:30] local.INFO: Packet analysis {"connection_id":149390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:18:30] local.INFO: Extracted packet for processing {"connection_id":149390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc324"} 
[2026-08-02 21:18:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135380480001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785685381000,"timestamp_ms":1785685381000,"timestamp_seconds":1785685381,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3248f88"} 
[2026-08-02 21:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-02 21:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135380480001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135380480001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:18:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:18:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135380480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":149390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:18:30] local.INFO: GPS data processed {"connection_id":149390,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:18:30] local.INFO: Acknowledgment sent {"connection_id":149390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:19:01] local.INFO: TCP Data received {"connection_id":149390,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:19:01] local.INFO: Processing buffer {"connection_id":149390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:19:01] local.INFO: Packet analysis {"connection_id":149390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:19:01] local.INFO: Extracted packet for processing {"connection_id":149390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:19:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 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-08-02 21:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135457536001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:19:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785685682000,"timestamp_ms":1785685682000,"timestamp_seconds":1785685682,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3292750"} 
[2026-08-02 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-08-02 21:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 21:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135457536001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135457536001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:19:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:19:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:19:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135457536001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":149390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:19:01] local.INFO: GPS data processed {"connection_id":149390,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:19:01] local.INFO: Acknowledgment sent {"connection_id":149390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:19:23] local.INFO: TCP Data received {"connection_id":148088,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:19:23] local.INFO: Processing buffer {"connection_id":148088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:19:23] local.INFO: IMEI packet received {"connection_id":148088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":148088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:19:28] local.INFO: TCP Data received {"connection_id":148088,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:19:28] local.INFO: Processing buffer {"connection_id":148088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:19:28] local.INFO: IMEI packet received {"connection_id":148088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":148088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:19:30] local.INFO: TCP Data received {"connection_id":148088,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:19:30] local.INFO: Processing buffer {"connection_id":148088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:19:30] local.INFO: Packet analysis {"connection_id":148088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:19:30] local.INFO: Extracted packet for processing {"connection_id":148088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:19:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135457536001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785685682000,"timestamp_ms":1785685682000,"timestamp_seconds":1785685682,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3292750"} 
[2026-08-02 21:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135457536001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135457536001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:19:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:19:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135457536001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":148088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:19:30] local.INFO: GPS data processed {"connection_id":148088,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:19:30] local.INFO: Acknowledgment sent {"connection_id":148088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:20:01] local.INFO: TCP Data received {"connection_id":148088,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:20:01] local.INFO: Processing buffer {"connection_id":148088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:20:01] local.INFO: Packet analysis {"connection_id":148088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:20:01] local.INFO: Extracted packet for processing {"connection_id":148088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21: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-08-02 21:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135457536001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:20:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785685682000,"timestamp_ms":1785685682000,"timestamp_seconds":1785685682,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3292750"} 
[2026-08-02 21:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21: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-08-02 21:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135457536001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135457536001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:20:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:20:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:20:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135457536001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":148088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:20:01] local.INFO: GPS data processed {"connection_id":148088,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:20:01] local.INFO: Acknowledgment sent {"connection_id":148088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:20:28] local.INFO: TCP Data received {"connection_id":147049,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:20:28] local.INFO: Processing buffer {"connection_id":147049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:20:28] local.INFO: IMEI packet received {"connection_id":147049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":147049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:20:33] local.INFO: TCP Data received {"connection_id":147049,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:20:33] local.INFO: Processing buffer {"connection_id":147049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:20:33] local.INFO: IMEI packet received {"connection_id":147049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":147049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:20:34] local.INFO: TCP Data received {"connection_id":147049,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:20:34] local.INFO: Processing buffer {"connection_id":147049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:20:34] local.INFO: Packet analysis {"connection_id":147049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:20:34] local.INFO: Extracted packet for processing {"connection_id":147049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:20:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135457536001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:20:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785685682000,"timestamp_ms":1785685682000,"timestamp_seconds":1785685682,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3292750"} 
[2026-08-02 21:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135457536001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135457536001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:20:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:20:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:20:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135457536001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":147049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:20:34] local.INFO: GPS data processed {"connection_id":147049,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:20:34] local.INFO: Acknowledgment sent {"connection_id":147049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:20:39] local.INFO: TCP Data received {"connection_id":147049,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:20:39] local.INFO: Processing buffer {"connection_id":147049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:20:39] local.INFO: Packet analysis {"connection_id":147049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:20:39] local.INFO: Extracted packet for processing {"connection_id":147049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:20:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135457536001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:20:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785685682000,"timestamp_ms":1785685682000,"timestamp_seconds":1785685682,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3292750"} 
[2026-08-02 21:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21: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-08-02 21:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135457536001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135457536001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:20:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:20:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:20:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135457536001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":147049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:20:39] local.INFO: GPS data processed {"connection_id":147049,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:20:39] local.INFO: Acknowledgment sent {"connection_id":147049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:21:23] local.INFO: TCP Data received {"connection_id":146833,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:21:23] local.INFO: Processing buffer {"connection_id":146833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:21:23] local.INFO: IMEI packet received {"connection_id":146833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":146833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:21:28] local.INFO: TCP Data received {"connection_id":146833,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:21:28] local.INFO: Processing buffer {"connection_id":146833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:21:28] local.INFO: IMEI packet received {"connection_id":146833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":146833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:21:30] local.INFO: TCP Data received {"connection_id":146833,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:21:30] local.INFO: Processing buffer {"connection_id":146833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:21:30] local.INFO: Packet analysis {"connection_id":146833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:21:30] local.INFO: Extracted packet for processing {"connection_id":146833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:21:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135457536001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785685682000,"timestamp_ms":1785685682000,"timestamp_seconds":1785685682,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3292750"} 
[2026-08-02 21:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135457536001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135457536001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:21:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:21:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135457536001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":146833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:21:30] local.INFO: GPS data processed {"connection_id":146833,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:21:30] local.INFO: Acknowledgment sent {"connection_id":146833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:22:01] local.INFO: TCP Data received {"connection_id":146833,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:22:01] local.INFO: Processing buffer {"connection_id":146833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:22:01] local.INFO: Packet analysis {"connection_id":146833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:22:01] local.INFO: Extracted packet for processing {"connection_id":146833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:22:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21: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-08-02 21:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135457536001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:22:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785685682000,"timestamp_ms":1785685682000,"timestamp_seconds":1785685682,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3292750"} 
[2026-08-02 21:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21: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-08-02 21:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135457536001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135457536001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:22:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:22:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:22:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135457536001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":146833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:22:01] local.INFO: GPS data processed {"connection_id":146833,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:22:01] local.INFO: Acknowledgment sent {"connection_id":146833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:22:23] local.INFO: TCP Data received {"connection_id":146834,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:22:23] local.INFO: Processing buffer {"connection_id":146834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:22:23] local.INFO: IMEI packet received {"connection_id":146834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":146834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:22:28] local.INFO: TCP Data received {"connection_id":146834,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:22:28] local.INFO: Processing buffer {"connection_id":146834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:22:28] local.INFO: IMEI packet received {"connection_id":146834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":146834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:22:30] local.INFO: TCP Data received {"connection_id":146834,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:22:30] local.INFO: Processing buffer {"connection_id":146834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:22:30] local.INFO: Packet analysis {"connection_id":146834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:22:30] local.INFO: Extracted packet for processing {"connection_id":146834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:22:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135457536001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785685682000,"timestamp_ms":1785685682000,"timestamp_seconds":1785685682,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3292750"} 
[2026-08-02 21:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135457536001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135457536001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:22:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:22:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135457536001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":146834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:22:30] local.INFO: GPS data processed {"connection_id":146834,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:22:30] local.INFO: Acknowledgment sent {"connection_id":146834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:23:01] local.INFO: TCP Data received {"connection_id":146834,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:23:01] local.INFO: Processing buffer {"connection_id":146834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:23:01] local.INFO: Packet analysis {"connection_id":146834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:23:01] local.INFO: Extracted packet for processing {"connection_id":146834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:23:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135457536001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:23:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785685682000,"timestamp_ms":1785685682000,"timestamp_seconds":1785685682,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3292750"} 
[2026-08-02 21:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135457536001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135457536001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:23:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:23:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:23:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135457536001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":146834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:23:01] local.INFO: GPS data processed {"connection_id":146834,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:23:01] local.INFO: Acknowledgment sent {"connection_id":146834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:23:23] local.INFO: TCP Data received {"connection_id":149391,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:23:23] local.INFO: Processing buffer {"connection_id":149391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:23:23] local.INFO: IMEI packet received {"connection_id":149391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":149391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:23:28] local.INFO: TCP Data received {"connection_id":149391,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:23:28] local.INFO: Processing buffer {"connection_id":149391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:23:28] local.INFO: IMEI packet received {"connection_id":149391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":149391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:23:30] local.INFO: TCP Data received {"connection_id":149391,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:23:30] local.INFO: Processing buffer {"connection_id":149391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3292750012cc330c007685958005800c52f..."} 
[2026-08-02 21:23:30] local.INFO: Packet analysis {"connection_id":149391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:23:30] local.INFO: Extracted packet for processing {"connection_id":149391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc329"} 
[2026-08-02 21:23:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135457536001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785685682000,"timestamp_ms":1785685682000,"timestamp_seconds":1785685682,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3292750"} 
[2026-08-02 21:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135457536001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135457536001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:23:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:23:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135457536001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":149391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:23:30] local.INFO: GPS data processed {"connection_id":149391,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:23:30] local.INFO: Acknowledgment sent {"connection_id":149391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:24:02] local.INFO: TCP Data received {"connection_id":149391,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:24:02] local.INFO: Processing buffer {"connection_id":149391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:24:02] local.INFO: Packet analysis {"connection_id":149391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:24:02] local.INFO: Extracted packet for processing {"connection_id":149391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:24:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135534592001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:24:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785685983000,"timestamp_ms":1785685983000,"timestamp_seconds":1785685983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc32dbf18"} 
[2026-08-02 21:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 21:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135534592001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135534592001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:24:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:24:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:24:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135534592001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":149391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:24:02] local.INFO: GPS data processed {"connection_id":149391,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:24:02] local.INFO: Acknowledgment sent {"connection_id":149391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:24:23] local.INFO: TCP Data received {"connection_id":146835,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:24:23] local.INFO: Processing buffer {"connection_id":146835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:24:23] local.INFO: IMEI packet received {"connection_id":146835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":146835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:24:28] local.INFO: TCP Data received {"connection_id":146835,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:24:28] local.INFO: Processing buffer {"connection_id":146835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:24:28] local.INFO: IMEI packet received {"connection_id":146835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":146835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:24:30] local.INFO: TCP Data received {"connection_id":146835,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:24:30] local.INFO: Processing buffer {"connection_id":146835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:24:30] local.INFO: Packet analysis {"connection_id":146835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:24:30] local.INFO: Extracted packet for processing {"connection_id":146835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:24:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135534592001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785685983000,"timestamp_ms":1785685983000,"timestamp_seconds":1785685983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc32dbf18"} 
[2026-08-02 21:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 21:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135534592001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135534592001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:24:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:24:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135534592001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":146835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:24:30] local.INFO: GPS data processed {"connection_id":146835,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:24:30] local.INFO: Acknowledgment sent {"connection_id":146835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:25:02] local.INFO: TCP Data received {"connection_id":146835,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:25:02] local.INFO: Processing buffer {"connection_id":146835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:25:02] local.INFO: Packet analysis {"connection_id":146835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:25:02] local.INFO: Extracted packet for processing {"connection_id":146835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:25:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135534592001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:25:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785685983000,"timestamp_ms":1785685983000,"timestamp_seconds":1785685983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc32dbf18"} 
[2026-08-02 21:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 21:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135534592001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135534592001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:25:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:25:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:25:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135534592001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":146835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:25:02] local.INFO: GPS data processed {"connection_id":146835,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:25:02] local.INFO: Acknowledgment sent {"connection_id":146835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:25:23] local.INFO: TCP Data received {"connection_id":148089,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:25:23] local.INFO: Processing buffer {"connection_id":148089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:25:23] local.INFO: IMEI packet received {"connection_id":148089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":148089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:25:28] local.INFO: TCP Data received {"connection_id":148089,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:25:28] local.INFO: Processing buffer {"connection_id":148089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:25:28] local.INFO: IMEI packet received {"connection_id":148089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":148089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:25:30] local.INFO: TCP Data received {"connection_id":148089,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:25:30] local.INFO: Processing buffer {"connection_id":148089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:25:30] local.INFO: Packet analysis {"connection_id":148089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:25:30] local.INFO: Extracted packet for processing {"connection_id":148089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:25:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135534592001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785685983000,"timestamp_ms":1785685983000,"timestamp_seconds":1785685983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc32dbf18"} 
[2026-08-02 21:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 21:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135534592001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135534592001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:25:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:25:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135534592001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":148089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:25:30] local.INFO: GPS data processed {"connection_id":148089,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:25:30] local.INFO: Acknowledgment sent {"connection_id":148089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:26:06] local.INFO: TCP Data received {"connection_id":148089,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:26:06] local.INFO: Processing buffer {"connection_id":148089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:26:06] local.INFO: Packet analysis {"connection_id":148089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:26:06] local.INFO: Extracted packet for processing {"connection_id":148089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:26:06] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135534592001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785685983000,"timestamp_ms":1785685983000,"timestamp_seconds":1785685983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc32dbf18"} 
[2026-08-02 21:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 21:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135534592001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135534592001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:26:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:26:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135534592001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":148089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:26:06] local.INFO: GPS data processed {"connection_id":148089,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:26:06] local.INFO: Acknowledgment sent {"connection_id":148089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:26:30] local.INFO: TCP Data received {"connection_id":147050,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:26:30] local.INFO: Processing buffer {"connection_id":147050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:26:30] local.INFO: IMEI packet received {"connection_id":147050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":147050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:26:31] local.INFO: TCP Data received {"connection_id":147050,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:26:31] local.INFO: Processing buffer {"connection_id":147050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:26:31] local.INFO: IMEI packet received {"connection_id":147050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":147050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:26:52] local.INFO: TCP Data received {"connection_id":147050,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:26:52] local.INFO: Processing buffer {"connection_id":147050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:26:52] local.INFO: Packet analysis {"connection_id":147050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:26:52] local.INFO: Extracted packet for processing {"connection_id":147050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:26:52] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135534592001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:26:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785685983000,"timestamp_ms":1785685983000,"timestamp_seconds":1785685983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc32dbf18"} 
[2026-08-02 21:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 21:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135534592001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135534592001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:26:52] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:26:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:26:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135534592001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":147050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:26:52] local.INFO: GPS data processed {"connection_id":147050,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:26:52] local.INFO: Acknowledgment sent {"connection_id":147050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:26:54] local.INFO: TCP Data received {"connection_id":147050,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:26:54] local.INFO: Processing buffer {"connection_id":147050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:26:54] local.INFO: Packet analysis {"connection_id":147050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:26:54] local.INFO: Extracted packet for processing {"connection_id":147050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:26:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135534592001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:26:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785685983000,"timestamp_ms":1785685983000,"timestamp_seconds":1785685983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc32dbf18"} 
[2026-08-02 21:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 21:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135534592001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135534592001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:26:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:26:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:26:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135534592001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":147050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:26:54] local.INFO: GPS data processed {"connection_id":147050,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:26:54] local.INFO: Acknowledgment sent {"connection_id":147050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:27:23] local.INFO: TCP Data received {"connection_id":146836,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:27:23] local.INFO: Processing buffer {"connection_id":146836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:27:23] local.INFO: IMEI packet received {"connection_id":146836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":146836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:27:28] local.INFO: TCP Data received {"connection_id":146836,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:27:28] local.INFO: Processing buffer {"connection_id":146836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:27:28] local.INFO: IMEI packet received {"connection_id":146836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":146836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:27:30] local.INFO: TCP Data received {"connection_id":146836,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:27:30] local.INFO: Processing buffer {"connection_id":146836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:27:30] local.INFO: Packet analysis {"connection_id":146836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:27:30] local.INFO: Extracted packet for processing {"connection_id":146836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:27:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135534592001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785685983000,"timestamp_ms":1785685983000,"timestamp_seconds":1785685983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc32dbf18"} 
[2026-08-02 21:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 21:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135534592001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135534592001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:27:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:27:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135534592001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":146836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:27:30] local.INFO: GPS data processed {"connection_id":146836,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:27:30] local.INFO: Acknowledgment sent {"connection_id":146836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:28:01] local.INFO: TCP Data received {"connection_id":146836,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:28:01] local.INFO: Processing buffer {"connection_id":146836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:28:01] local.INFO: Packet analysis {"connection_id":146836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:28:01] local.INFO: Extracted packet for processing {"connection_id":146836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:28:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135534592001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:28:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785685983000,"timestamp_ms":1785685983000,"timestamp_seconds":1785685983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc32dbf18"} 
[2026-08-02 21:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 21:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135534592001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135534592001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:28:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:28:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:28:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135534592001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":146836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:28:01] local.INFO: GPS data processed {"connection_id":146836,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:28:01] local.INFO: Acknowledgment sent {"connection_id":146836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:28:28] local.INFO: TCP Data received {"connection_id":147051,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:28:28] local.INFO: Processing buffer {"connection_id":147051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:28:28] local.INFO: IMEI packet received {"connection_id":147051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":147051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:28:33] local.INFO: TCP Data received {"connection_id":147051,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:28:33] local.INFO: Processing buffer {"connection_id":147051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:28:33] local.INFO: IMEI packet received {"connection_id":147051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":147051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:28:34] local.INFO: TCP Data received {"connection_id":147051,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:28:34] local.INFO: Processing buffer {"connection_id":147051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:28:34] local.INFO: Packet analysis {"connection_id":147051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:28:34] local.INFO: Extracted packet for processing {"connection_id":147051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:28:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135534592001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785685983000,"timestamp_ms":1785685983000,"timestamp_seconds":1785685983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc32dbf18"} 
[2026-08-02 21:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 21:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135534592001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135534592001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:28:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:28:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:28:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135534592001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":147051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:28:35] local.INFO: GPS data processed {"connection_id":147051,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:28:35] local.INFO: Acknowledgment sent {"connection_id":147051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:28:39] local.INFO: TCP Data received {"connection_id":147051,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:28:39] local.INFO: Processing buffer {"connection_id":147051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc32dbf18012cc330c007685958005800c52c..."} 
[2026-08-02 21:28:39] local.INFO: Packet analysis {"connection_id":147051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:28:39] local.INFO: Extracted packet for processing {"connection_id":147051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc32d"} 
[2026-08-02 21:28:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135534592001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:28:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785685983000,"timestamp_ms":1785685983000,"timestamp_seconds":1785685983,"priority":1,"record_length":96,"hex_timestamp":"0000019fc32dbf18"} 
[2026-08-02 21:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:28: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-08-02 21:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 21:28: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-08-02 21:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135534592001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135534592001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:28:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:28:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:28:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135534592001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":147051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:28:39] local.INFO: GPS data processed {"connection_id":147051,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:28:39] local.INFO: Acknowledgment sent {"connection_id":147051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:29:23] local.INFO: TCP Data received {"connection_id":149392,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:29:23] local.INFO: Processing buffer {"connection_id":149392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:29:23] local.INFO: IMEI packet received {"connection_id":149392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":149392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:29:28] local.INFO: TCP Data received {"connection_id":149392,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:29:28] local.INFO: Processing buffer {"connection_id":149392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:29:28] local.INFO: IMEI packet received {"connection_id":149392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":149392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:29:30] local.INFO: TCP Data received {"connection_id":149392,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:29:30] local.INFO: Processing buffer {"connection_id":149392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:29:30] local.INFO: Packet analysis {"connection_id":149392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:29:30] local.INFO: Extracted packet for processing {"connection_id":149392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:29:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135611648001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785686284000,"timestamp_ms":1785686284000,"timestamp_seconds":1785686284,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33256e0"} 
[2026-08-02 21:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135611648001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135611648001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:29:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:29:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135611648001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":149392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:29:30] local.INFO: GPS data processed {"connection_id":149392,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:29:30] local.INFO: Acknowledgment sent {"connection_id":149392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:30:01] local.INFO: TCP Data received {"connection_id":149392,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:30:01] local.INFO: Processing buffer {"connection_id":149392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:30:01] local.INFO: Packet analysis {"connection_id":149392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:30:01] local.INFO: Extracted packet for processing {"connection_id":149392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:30:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135611648001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:30:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785686284000,"timestamp_ms":1785686284000,"timestamp_seconds":1785686284,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33256e0"} 
[2026-08-02 21:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:30: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135611648001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135611648001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:30:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:30:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:30:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135611648001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":149392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:30:01] local.INFO: GPS data processed {"connection_id":149392,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:30:01] local.INFO: Acknowledgment sent {"connection_id":149392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:30:23] local.INFO: TCP Data received {"connection_id":148090,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:30:23] local.INFO: Processing buffer {"connection_id":148090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:30:23] local.INFO: IMEI packet received {"connection_id":148090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":148090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:30:28] local.INFO: TCP Data received {"connection_id":148090,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:30:28] local.INFO: Processing buffer {"connection_id":148090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:30:28] local.INFO: IMEI packet received {"connection_id":148090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":148090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:30:30] local.INFO: TCP Data received {"connection_id":148090,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:30:30] local.INFO: Processing buffer {"connection_id":148090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:30:30] local.INFO: Packet analysis {"connection_id":148090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:30:30] local.INFO: Extracted packet for processing {"connection_id":148090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:30:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135611648001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785686284000,"timestamp_ms":1785686284000,"timestamp_seconds":1785686284,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33256e0"} 
[2026-08-02 21:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135611648001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135611648001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:30:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:30:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135611648001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":148090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:30:30] local.INFO: GPS data processed {"connection_id":148090,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:30:30] local.INFO: Acknowledgment sent {"connection_id":148090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:31:02] local.INFO: TCP Data received {"connection_id":148090,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:31:02] local.INFO: Processing buffer {"connection_id":148090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:31:02] local.INFO: Packet analysis {"connection_id":148090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:31:02] local.INFO: Extracted packet for processing {"connection_id":148090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:31:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135611648001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:31:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785686284000,"timestamp_ms":1785686284000,"timestamp_seconds":1785686284,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33256e0"} 
[2026-08-02 21:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135611648001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135611648001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:31:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:31:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:31:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135611648001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":148090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:31:02] local.INFO: GPS data processed {"connection_id":148090,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:31:02] local.INFO: Acknowledgment sent {"connection_id":148090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:31:28] local.INFO: TCP Data received {"connection_id":149393,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:31:28] local.INFO: Processing buffer {"connection_id":149393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:31:28] local.INFO: IMEI packet received {"connection_id":149393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":149393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:31:33] local.INFO: TCP Data received {"connection_id":149393,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:31:33] local.INFO: Processing buffer {"connection_id":149393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:31:33] local.INFO: IMEI packet received {"connection_id":149393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":149393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:31:34] local.INFO: TCP Data received {"connection_id":149393,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:31:34] local.INFO: Processing buffer {"connection_id":149393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:31:34] local.INFO: Packet analysis {"connection_id":149393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:31:34] local.INFO: Extracted packet for processing {"connection_id":149393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:31:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135611648001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:31:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785686284000,"timestamp_ms":1785686284000,"timestamp_seconds":1785686284,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33256e0"} 
[2026-08-02 21:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135611648001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135611648001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:31:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:31:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:31:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135611648001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":149393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:31:34] local.INFO: GPS data processed {"connection_id":149393,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:31:34] local.INFO: Acknowledgment sent {"connection_id":149393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:31:39] local.INFO: TCP Data received {"connection_id":149393,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:31:39] local.INFO: Processing buffer {"connection_id":149393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:31:39] local.INFO: Packet analysis {"connection_id":149393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:31:39] local.INFO: Extracted packet for processing {"connection_id":149393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:31:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135611648001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:31:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785686284000,"timestamp_ms":1785686284000,"timestamp_seconds":1785686284,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33256e0"} 
[2026-08-02 21:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21: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-08-02 21: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":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135611648001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135611648001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:31:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:31:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:31:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135611648001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":149393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:31:39] local.INFO: GPS data processed {"connection_id":149393,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:31:39] local.INFO: Acknowledgment sent {"connection_id":149393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:32:23] local.INFO: TCP Data received {"connection_id":147052,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:32:23] local.INFO: Processing buffer {"connection_id":147052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:32:23] local.INFO: IMEI packet received {"connection_id":147052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":147052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:32:28] local.INFO: TCP Data received {"connection_id":147052,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:32:28] local.INFO: Processing buffer {"connection_id":147052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:32:28] local.INFO: IMEI packet received {"connection_id":147052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":147052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:32:30] local.INFO: TCP Data received {"connection_id":147052,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:32:30] local.INFO: Processing buffer {"connection_id":147052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:32:30] local.INFO: Packet analysis {"connection_id":147052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:32:30] local.INFO: Extracted packet for processing {"connection_id":147052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:32:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135611648001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785686284000,"timestamp_ms":1785686284000,"timestamp_seconds":1785686284,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33256e0"} 
[2026-08-02 21:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135611648001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135611648001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:32:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:32:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135611648001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":147052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:32:30] local.INFO: GPS data processed {"connection_id":147052,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:32:30] local.INFO: Acknowledgment sent {"connection_id":147052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:33:01] local.INFO: TCP Data received {"connection_id":147052,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:33:01] local.INFO: Processing buffer {"connection_id":147052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:33:01] local.INFO: Packet analysis {"connection_id":147052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:33:01] local.INFO: Extracted packet for processing {"connection_id":147052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:33:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135611648001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:33:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785686284000,"timestamp_ms":1785686284000,"timestamp_seconds":1785686284,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33256e0"} 
[2026-08-02 21:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135611648001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135611648001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:33:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:33:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:33:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135611648001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":147052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:33:01] local.INFO: GPS data processed {"connection_id":147052,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:33:01] local.INFO: Acknowledgment sent {"connection_id":147052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:33:23] local.INFO: TCP Data received {"connection_id":149394,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:33:23] local.INFO: Processing buffer {"connection_id":149394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:33:23] local.INFO: IMEI packet received {"connection_id":149394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":149394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:33:28] local.INFO: TCP Data received {"connection_id":149394,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:33:28] local.INFO: Processing buffer {"connection_id":149394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:33:28] local.INFO: IMEI packet received {"connection_id":149394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":149394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:33:29] local.INFO: TCP Data received {"connection_id":149394,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:33:29] local.INFO: Processing buffer {"connection_id":149394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33256e0012cc330c007685958005800c52b..."} 
[2026-08-02 21:33:29] local.INFO: Packet analysis {"connection_id":149394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:33:29] local.INFO: Extracted packet for processing {"connection_id":149394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc332"} 
[2026-08-02 21:33:29] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135611648001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:33:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785686284000,"timestamp_ms":1785686284000,"timestamp_seconds":1785686284,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33256e0"} 
[2026-08-02 21:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135611648001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135611648001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:33:29] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:33:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:33:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135611648001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":149394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:33:30] local.INFO: GPS data processed {"connection_id":149394,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:33:30] local.INFO: Acknowledgment sent {"connection_id":149394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:34:01] local.INFO: TCP Data received {"connection_id":149394,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:34:01] local.INFO: Processing buffer {"connection_id":149394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:34:01] local.INFO: Packet analysis {"connection_id":149394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:34:01] local.INFO: Extracted packet for processing {"connection_id":149394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:34:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21: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-08-02 21:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135688704001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:34:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785686585000,"timestamp_ms":1785686585000,"timestamp_seconds":1785686585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc336eea8"} 
[2026-08-02 21:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21: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-08-02 21:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135688704001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135688704001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:34:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:34:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:34:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135688704001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":149394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:34:01] local.INFO: GPS data processed {"connection_id":149394,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:34:01] local.INFO: Acknowledgment sent {"connection_id":149394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:34:29] local.INFO: TCP Data received {"connection_id":147053,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:34:29] local.INFO: Processing buffer {"connection_id":147053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:34:29] local.INFO: IMEI packet received {"connection_id":147053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":147053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:34:33] local.INFO: TCP Data received {"connection_id":147053,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:34:33] local.INFO: Processing buffer {"connection_id":147053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:34:33] local.INFO: IMEI packet received {"connection_id":147053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":147053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:34:35] local.INFO: TCP Data received {"connection_id":147053,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:34:35] local.INFO: Processing buffer {"connection_id":147053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:34:35] local.INFO: Packet analysis {"connection_id":147053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:34:35] local.INFO: Extracted packet for processing {"connection_id":147053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:34:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135688704001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:34:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785686585000,"timestamp_ms":1785686585000,"timestamp_seconds":1785686585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc336eea8"} 
[2026-08-02 21:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135688704001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135688704001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:34:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:34:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:34:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135688704001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":147053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:34:35] local.INFO: GPS data processed {"connection_id":147053,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:34:35] local.INFO: Acknowledgment sent {"connection_id":147053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:34:39] local.INFO: TCP Data received {"connection_id":147053,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:34:39] local.INFO: Processing buffer {"connection_id":147053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:34:39] local.INFO: Packet analysis {"connection_id":147053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:34:39] local.INFO: Extracted packet for processing {"connection_id":147053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:34:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135688704001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:34:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785686585000,"timestamp_ms":1785686585000,"timestamp_seconds":1785686585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc336eea8"} 
[2026-08-02 21:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21: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-08-02 21:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135688704001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135688704001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:34:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:34:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:34:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135688704001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":147053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:34:39] local.INFO: GPS data processed {"connection_id":147053,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:34:39] local.INFO: Acknowledgment sent {"connection_id":147053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:35:23] local.INFO: TCP Data received {"connection_id":147054,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:35:23] local.INFO: Processing buffer {"connection_id":147054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:35:23] local.INFO: IMEI packet received {"connection_id":147054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":147054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:35:28] local.INFO: TCP Data received {"connection_id":147054,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:35:28] local.INFO: Processing buffer {"connection_id":147054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:35:28] local.INFO: IMEI packet received {"connection_id":147054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":147054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:35:30] local.INFO: TCP Data received {"connection_id":147054,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:35:30] local.INFO: Processing buffer {"connection_id":147054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:35:30] local.INFO: Packet analysis {"connection_id":147054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:35:30] local.INFO: Extracted packet for processing {"connection_id":147054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:35:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135688704001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785686585000,"timestamp_ms":1785686585000,"timestamp_seconds":1785686585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc336eea8"} 
[2026-08-02 21:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135688704001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135688704001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:35:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:35:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135688704001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":147054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:35:30] local.INFO: GPS data processed {"connection_id":147054,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:35:30] local.INFO: Acknowledgment sent {"connection_id":147054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:36:14] local.INFO: TCP Data received {"connection_id":147054,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:36:14] local.INFO: Processing buffer {"connection_id":147054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:36:14] local.INFO: Packet analysis {"connection_id":147054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:36:14] local.INFO: Extracted packet for processing {"connection_id":147054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:36:14] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135688704001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:36:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785686585000,"timestamp_ms":1785686585000,"timestamp_seconds":1785686585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc336eea8"} 
[2026-08-02 21:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:36: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-08-02 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":147054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":147054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":147054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135688704001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135688704001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:36:14] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:36:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:36:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135688704001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":147054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:36:14] local.INFO: GPS data processed {"connection_id":147054,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:36:14] local.INFO: Acknowledgment sent {"connection_id":147054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:36:28] local.INFO: TCP Data received {"connection_id":148091,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:36:28] local.INFO: Processing buffer {"connection_id":148091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:36:28] local.INFO: IMEI packet received {"connection_id":148091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":148091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:36:33] local.INFO: TCP Data received {"connection_id":148091,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:36:33] local.INFO: Processing buffer {"connection_id":148091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:36:33] local.INFO: IMEI packet received {"connection_id":148091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":148091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:36:35] local.INFO: TCP Data received {"connection_id":148091,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:36:35] local.INFO: Processing buffer {"connection_id":148091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:36:35] local.INFO: Packet analysis {"connection_id":148091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:36:35] local.INFO: Extracted packet for processing {"connection_id":148091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:36:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135688704001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:36:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785686585000,"timestamp_ms":1785686585000,"timestamp_seconds":1785686585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc336eea8"} 
[2026-08-02 21:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135688704001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135688704001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:36:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:36:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:36:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135688704001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":148091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:36:35] local.INFO: GPS data processed {"connection_id":148091,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:36:35] local.INFO: Acknowledgment sent {"connection_id":148091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:36:43] local.INFO: TCP Data received {"connection_id":148091,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:36:43] local.INFO: Processing buffer {"connection_id":148091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:36:43] local.INFO: Packet analysis {"connection_id":148091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:36:43] local.INFO: Extracted packet for processing {"connection_id":148091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:36:43] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135688704001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:36:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785686585000,"timestamp_ms":1785686585000,"timestamp_seconds":1785686585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc336eea8"} 
[2026-08-02 21:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:36: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-08-02 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135688704001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135688704001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:36:43] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:36:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:36:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135688704001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":148091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:36:43] local.INFO: GPS data processed {"connection_id":148091,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:36:43] local.INFO: Acknowledgment sent {"connection_id":148091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:37:24] local.INFO: TCP Data received {"connection_id":149395,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:37:24] local.INFO: Processing buffer {"connection_id":149395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:37:24] local.INFO: IMEI packet received {"connection_id":149395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":149395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:37:28] local.INFO: TCP Data received {"connection_id":149395,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:37:28] local.INFO: Processing buffer {"connection_id":149395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:37:28] local.INFO: IMEI packet received {"connection_id":149395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":149395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:37:30] local.INFO: TCP Data received {"connection_id":149395,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:37:30] local.INFO: Processing buffer {"connection_id":149395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:37:30] local.INFO: Packet analysis {"connection_id":149395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:37:30] local.INFO: Extracted packet for processing {"connection_id":149395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:37:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135688704001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:37:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785686585000,"timestamp_ms":1785686585000,"timestamp_seconds":1785686585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc336eea8"} 
[2026-08-02 21:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135688704001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135688704001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:37:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:37:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:37:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135688704001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":149395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:37:30] local.INFO: GPS data processed {"connection_id":149395,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:37:30] local.INFO: Acknowledgment sent {"connection_id":149395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:38:01] local.INFO: TCP Data received {"connection_id":149395,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:38:01] local.INFO: Processing buffer {"connection_id":149395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:38:01] local.INFO: Packet analysis {"connection_id":149395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:38:01] local.INFO: Extracted packet for processing {"connection_id":149395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:38:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21: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-08-02 21:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135688704001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:38:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785686585000,"timestamp_ms":1785686585000,"timestamp_seconds":1785686585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc336eea8"} 
[2026-08-02 21:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21: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-08-02 21:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135688704001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135688704001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:38:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:38:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:38:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135688704001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":149395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:38:01] local.INFO: GPS data processed {"connection_id":149395,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:38:01] local.INFO: Acknowledgment sent {"connection_id":149395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:38:23] local.INFO: TCP Data received {"connection_id":148092,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:38:23] local.INFO: Processing buffer {"connection_id":148092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:38:23] local.INFO: IMEI packet received {"connection_id":148092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":148092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:38:28] local.INFO: TCP Data received {"connection_id":148092,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:38:28] local.INFO: Processing buffer {"connection_id":148092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:38:28] local.INFO: IMEI packet received {"connection_id":148092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":148092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:38:30] local.INFO: TCP Data received {"connection_id":148092,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:38:30] local.INFO: Processing buffer {"connection_id":148092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc336eea8012cc330c007685958005800c52a..."} 
[2026-08-02 21:38:30] local.INFO: Packet analysis {"connection_id":148092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:38:30] local.INFO: Extracted packet for processing {"connection_id":148092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc336"} 
[2026-08-02 21:38:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135688704001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785686585000,"timestamp_ms":1785686585000,"timestamp_seconds":1785686585,"priority":1,"record_length":96,"hex_timestamp":"0000019fc336eea8"} 
[2026-08-02 21:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135688704001,"66":25430,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135688704001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:38:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:38:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135688704001,"power":25430,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":148092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:38:30] local.INFO: GPS data processed {"connection_id":148092,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:38:30] local.INFO: Acknowledgment sent {"connection_id":148092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:39:02] local.INFO: TCP Data received {"connection_id":148092,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:39:02] local.INFO: Processing buffer {"connection_id":148092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:39:02] local.INFO: Packet analysis {"connection_id":148092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:39:02] local.INFO: Extracted packet for processing {"connection_id":148092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:39:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135765760001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:39:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785686886000,"timestamp_ms":1785686886000,"timestamp_seconds":1785686886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33b8670"} 
[2026-08-02 21:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135765760001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135765760001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:39:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:39:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:39:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135765760001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":148092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:39:02] local.INFO: GPS data processed {"connection_id":148092,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:39:02] local.INFO: Acknowledgment sent {"connection_id":148092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:39:23] local.INFO: TCP Data received {"connection_id":149396,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:39:23] local.INFO: Processing buffer {"connection_id":149396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:39:23] local.INFO: IMEI packet received {"connection_id":149396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":149396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:39:28] local.INFO: TCP Data received {"connection_id":149396,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:39:28] local.INFO: Processing buffer {"connection_id":149396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:39:28] local.INFO: IMEI packet received {"connection_id":149396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":149396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:39:29] local.INFO: TCP Data received {"connection_id":149396,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:39:29] local.INFO: Processing buffer {"connection_id":149396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:39:29] local.INFO: Packet analysis {"connection_id":149396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:39:29] local.INFO: Extracted packet for processing {"connection_id":149396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:39:29] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135765760001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:39:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785686886000,"timestamp_ms":1785686886000,"timestamp_seconds":1785686886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33b8670"} 
[2026-08-02 21:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135765760001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135765760001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:39:29] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:39:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:39:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135765760001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":149396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:39:30] local.INFO: GPS data processed {"connection_id":149396,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:39:30] local.INFO: Acknowledgment sent {"connection_id":149396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:40:01] local.INFO: TCP Data received {"connection_id":149396,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:40:01] local.INFO: Processing buffer {"connection_id":149396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:40:01] local.INFO: Packet analysis {"connection_id":149396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:40:01] local.INFO: Extracted packet for processing {"connection_id":149396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:40:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21: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-08-02 21:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135765760001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:40:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785686886000,"timestamp_ms":1785686886000,"timestamp_seconds":1785686886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33b8670"} 
[2026-08-02 21:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21: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-08-02 21:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135765760001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135765760001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:40:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:40:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:40:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135765760001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":149396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:40:01] local.INFO: GPS data processed {"connection_id":149396,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:40:01] local.INFO: Acknowledgment sent {"connection_id":149396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:40:23] local.INFO: TCP Data received {"connection_id":149397,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:40:23] local.INFO: Processing buffer {"connection_id":149397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:40:23] local.INFO: IMEI packet received {"connection_id":149397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":149397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:40:28] local.INFO: TCP Data received {"connection_id":149397,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:40:28] local.INFO: Processing buffer {"connection_id":149397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:40:28] local.INFO: IMEI packet received {"connection_id":149397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":149397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:40:30] local.INFO: TCP Data received {"connection_id":149397,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:40:30] local.INFO: Processing buffer {"connection_id":149397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:40:30] local.INFO: Packet analysis {"connection_id":149397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:40:30] local.INFO: Extracted packet for processing {"connection_id":149397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135765760001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785686886000,"timestamp_ms":1785686886000,"timestamp_seconds":1785686886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33b8670"} 
[2026-08-02 21:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135765760001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135765760001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:40:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:40:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135765760001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":149397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:40:30] local.INFO: GPS data processed {"connection_id":149397,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:40:30] local.INFO: Acknowledgment sent {"connection_id":149397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:41:01] local.INFO: TCP Data received {"connection_id":149397,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:41:01] local.INFO: Processing buffer {"connection_id":149397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:41:01] local.INFO: Packet analysis {"connection_id":149397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:41:01] local.INFO: Extracted packet for processing {"connection_id":149397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:41:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21: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-08-02 21:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135765760001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:41:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785686886000,"timestamp_ms":1785686886000,"timestamp_seconds":1785686886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33b8670"} 
[2026-08-02 21:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21: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-08-02 21:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135765760001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135765760001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:41:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:41:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:41:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135765760001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":149397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:41:01] local.INFO: GPS data processed {"connection_id":149397,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:41:01] local.INFO: Acknowledgment sent {"connection_id":149397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:41:28] local.INFO: TCP Data received {"connection_id":148093,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:41:28] local.INFO: Processing buffer {"connection_id":148093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:41:28] local.INFO: IMEI packet received {"connection_id":148093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":148093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:41:33] local.INFO: TCP Data received {"connection_id":148093,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:41:33] local.INFO: Processing buffer {"connection_id":148093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:41:33] local.INFO: IMEI packet received {"connection_id":148093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":148093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:41:35] local.INFO: TCP Data received {"connection_id":148093,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:41:35] local.INFO: Processing buffer {"connection_id":148093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:41:35] local.INFO: Packet analysis {"connection_id":148093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:41:35] local.INFO: Extracted packet for processing {"connection_id":148093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:41:35] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135765760001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:41:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785686886000,"timestamp_ms":1785686886000,"timestamp_seconds":1785686886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33b8670"} 
[2026-08-02 21:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135765760001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135765760001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:41:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:41:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:41:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135765760001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":148093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:41:35] local.INFO: GPS data processed {"connection_id":148093,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:41:35] local.INFO: Acknowledgment sent {"connection_id":148093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:41:39] local.INFO: TCP Data received {"connection_id":148093,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:41:39] local.INFO: Processing buffer {"connection_id":148093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:41:39] local.INFO: Packet analysis {"connection_id":148093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:41:39] local.INFO: Extracted packet for processing {"connection_id":148093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:41:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135765760001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:41:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785686886000,"timestamp_ms":1785686886000,"timestamp_seconds":1785686886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33b8670"} 
[2026-08-02 21:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21: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-08-02 21:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135765760001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135765760001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:41:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:41:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:41:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135765760001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":148093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:41:39] local.INFO: GPS data processed {"connection_id":148093,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:41:39] local.INFO: Acknowledgment sent {"connection_id":148093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:42:23] local.INFO: TCP Data received {"connection_id":146837,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:42:23] local.INFO: Processing buffer {"connection_id":146837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:42:23] local.INFO: IMEI packet received {"connection_id":146837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":146837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:42:28] local.INFO: TCP Data received {"connection_id":146837,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:42:28] local.INFO: Processing buffer {"connection_id":146837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:42:28] local.INFO: IMEI packet received {"connection_id":146837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":146837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:42:30] local.INFO: TCP Data received {"connection_id":146837,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:42:30] local.INFO: Processing buffer {"connection_id":146837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:42:30] local.INFO: Packet analysis {"connection_id":146837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:42:30] local.INFO: Extracted packet for processing {"connection_id":146837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:42:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135765760001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785686886000,"timestamp_ms":1785686886000,"timestamp_seconds":1785686886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33b8670"} 
[2026-08-02 21:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135765760001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135765760001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:42:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:42:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135765760001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":146837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:42:30] local.INFO: GPS data processed {"connection_id":146837,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:42:30] local.INFO: Acknowledgment sent {"connection_id":146837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:43:02] local.INFO: TCP Data received {"connection_id":146837,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:43:02] local.INFO: Processing buffer {"connection_id":146837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33b8670012cc330c007685958005800c52a..."} 
[2026-08-02 21:43:02] local.INFO: Packet analysis {"connection_id":146837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:43:02] local.INFO: Extracted packet for processing {"connection_id":146837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc33b"} 
[2026-08-02 21:43:02] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135765760001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:43:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785686886000,"timestamp_ms":1785686886000,"timestamp_seconds":1785686886,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33b8670"} 
[2026-08-02 21:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-02 21:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135765760001,"66":25397,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135765760001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:43:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:43:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:43:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135765760001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":146837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:43:02] local.INFO: GPS data processed {"connection_id":146837,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:43:02] local.INFO: Acknowledgment sent {"connection_id":146837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:43:24] local.INFO: TCP Data received {"connection_id":148094,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:43:24] local.INFO: Processing buffer {"connection_id":148094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:43:24] local.INFO: IMEI packet received {"connection_id":148094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":148094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:43:28] local.INFO: TCP Data received {"connection_id":148094,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:43:28] local.INFO: Processing buffer {"connection_id":148094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:43:28] local.INFO: IMEI packet received {"connection_id":148094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":148094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:43:30] local.INFO: TCP Data received {"connection_id":148094,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc33fa138012cc330c007685958005800c52b..."} 
[2026-08-02 21:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc33fa138012cc330c007685958005800c52b..."} 
[2026-08-02 21:43:30] local.INFO: Processing buffer {"connection_id":148094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc33fa138012cc330c007685958005800c52b..."} 
[2026-08-02 21:43:30] local.INFO: Packet analysis {"connection_id":148094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc33f"} 
[2026-08-02 21:43:30] local.INFO: Extracted packet for processing {"connection_id":148094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc33f"} 
[2026-08-02 21:43:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279128,"longitude_deg":75.0989504,"latitude_deg":12.4279128,"altitude":88,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685958","is_valid_coordinates":true} 
[2026-08-02 21:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135842816001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:43:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785687155000,"timestamp_ms":1785687155000,"timestamp_seconds":1785687155,"priority":1,"record_length":96,"hex_timestamp":"0000019fc33fa138"} 
[2026-08-02 21:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-02 21:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-02 21:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135842816001,"66":25321,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135842816001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:43:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:43:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:43:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135842816001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":148094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:43:30] local.INFO: GPS data processed {"connection_id":148094,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:43:30] local.INFO: Acknowledgment sent {"connection_id":148094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:44:01] local.INFO: TCP Data received {"connection_id":148094,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc34006c8012cc3318007685918005800c52c..."} 
[2026-08-02 21:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc34006c8012cc3318007685918005800c52c..."} 
[2026-08-02 21:44:01] local.INFO: Processing buffer {"connection_id":148094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc34006c8012cc3318007685918005800c52c..."} 
[2026-08-02 21:44:01] local.INFO: Packet analysis {"connection_id":148094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc340"} 
[2026-08-02 21:44:01] local.INFO: Extracted packet for processing {"connection_id":148094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc340"} 
[2026-08-02 21:44:01] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":44,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 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-08-02 21:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135911680001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:44:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383502848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785687181000,"timestamp_ms":1785687181000,"timestamp_seconds":1785687181,"priority":1,"record_length":96,"hex_timestamp":"0000019fc34006c8"} 
[2026-08-02 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-08-02 21:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-02 21:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 21:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135911680001,"66":27343,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381791299383502848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135911680001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:44:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:44:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:44:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383502848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135911680001,"power":27343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383502848}} 
[2026-08-02 21:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":148094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:44:01] local.INFO: GPS data processed {"connection_id":148094,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:44:01] local.INFO: Acknowledgment sent {"connection_id":148094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:44:23] local.INFO: TCP Data received {"connection_id":147055,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:44:23] local.INFO: Processing buffer {"connection_id":147055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:44:23] local.INFO: IMEI packet received {"connection_id":147055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":147055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:44:28] local.INFO: TCP Data received {"connection_id":147055,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:44:28] local.INFO: Processing buffer {"connection_id":147055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:44:28] local.INFO: IMEI packet received {"connection_id":147055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":147055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:44:30] local.INFO: TCP Data received {"connection_id":147055,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc34058d0012cc3318007685918005800c52a..."} 
[2026-08-02 21:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc34058d0012cc3318007685918005800c52a..."} 
[2026-08-02 21:44:30] local.INFO: Processing buffer {"connection_id":147055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc34058d0012cc3318007685918005800c52a..."} 
[2026-08-02 21:44:30] local.INFO: Packet analysis {"connection_id":147055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc340"} 
[2026-08-02 21:44:30] local.INFO: Extracted packet for processing {"connection_id":147055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc340"} 
[2026-08-02 21:44:30] local.INFO: GPS Element Parsed {"raw_longitude":750989696,"raw_latitude":124279064,"longitude_deg":75.0989696,"latitude_deg":12.4279064,"altitude":88,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2cc33180","hex_latitude":"07685918","is_valid_coordinates":true} 
[2026-08-02 21:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135918336001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275302159646720,"note":"Value kept but may cause issues"} 
[2026-08-02 21:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381580193150986240,"note":"Value kept but may cause issues"} 
[2026-08-02 21:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785687202000,"timestamp_ms":1785687202000,"timestamp_seconds":1785687202,"priority":1,"record_length":96,"hex_timestamp":"0000019fc34058d0"} 
[2026-08-02 21:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 21:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135918336001,"66":27517,"36":206,"27":54016,"24":0,"16":367275302159646720,"44":-4381580193150986240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135918336001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:44:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:44:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275302159646720,"km_value":367275302159646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381580193150986240,"description":"Unknown IO ID 44"} 
[2026-08-02 21:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135918336001,"power":27517,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381580193150986240}} 
[2026-08-02 21:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":147055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:44:30] local.INFO: GPS data processed {"connection_id":147055,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:44:30] local.INFO: Acknowledgment sent {"connection_id":147055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:45:02] local.INFO: TCP Data received {"connection_id":147055,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc34127d8012cc3380007685b90005800802e..."} 
[2026-08-02 21:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc34127d8012cc3380007685b90005800802e..."} 
[2026-08-02 21:45:02] local.INFO: Processing buffer {"connection_id":147055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc34127d8012cc3380007685b90005800802e..."} 
[2026-08-02 21:45:02] local.INFO: Packet analysis {"connection_id":147055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc341"} 
[2026-08-02 21:45:02] local.INFO: Extracted packet for processing {"connection_id":147055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc341"} 
[2026-08-02 21:45:02] local.INFO: GPS Element Parsed {"raw_longitude":750991360,"raw_latitude":124279696,"longitude_deg":75.099136,"latitude_deg":12.4279696,"altitude":88,"angle":128,"satellites":46,"speed":6,"hex_longitude":"2cc33800","hex_latitude":"07685b90","is_valid_coordinates":true} 
[2026-08-02 21:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135937024001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275409533829120,"note":"Value kept but may cause issues"} 
[2026-08-02 21:45:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379891343290542080,"note":"Value kept but may cause issues"} 
[2026-08-02 21:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785687255000,"timestamp_ms":1785687255000,"timestamp_seconds":1785687255,"priority":1,"record_length":96,"hex_timestamp":"0000019fc34127d8"} 
[2026-08-02 21:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 21:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135937024001,"66":27267,"39":206,"27":54016,"24":6,"16":367275409533829120,"44":-4379891343290542080},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 21:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135937024001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:45:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 21:45:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275409533829120,"km_value":367275409533829.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:45:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379891343290542080,"description":"Unknown IO ID 44"} 
[2026-08-02 21:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135937024001,"power":27267,"unknown_39":206,"unknown_27":54016,"ignition":6,"odometer":null,"unknown_44":-4379891343290542080}} 
[2026-08-02 21:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":147055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:45:02] local.INFO: GPS data processed {"connection_id":147055,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:45:02] local.INFO: Acknowledgment sent {"connection_id":147055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:45:23] local.INFO: TCP Data received {"connection_id":146838,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:45:23] local.INFO: Processing buffer {"connection_id":146838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:45:23] local.INFO: IMEI packet received {"connection_id":146838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":146838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:45:28] local.INFO: TCP Data received {"connection_id":146838,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:45:28] local.INFO: Processing buffer {"connection_id":146838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:45:28] local.INFO: IMEI packet received {"connection_id":146838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":146838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:45:31] local.INFO: TCP Data received {"connection_id":146838,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3412bc0012cc3384007685b180058009d2e..."} 
[2026-08-02 21:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3412bc0012cc3384007685b180058009d2e..."} 
[2026-08-02 21:45:31] local.INFO: Processing buffer {"connection_id":146838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3412bc0012cc3384007685b180058009d2e..."} 
[2026-08-02 21:45:31] local.INFO: Packet analysis {"connection_id":146838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc341"} 
[2026-08-02 21:45:31] local.INFO: Extracted packet for processing {"connection_id":146838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc341"} 
[2026-08-02 21:45:31] local.INFO: GPS Element Parsed {"raw_longitude":750991424,"raw_latitude":124279576,"longitude_deg":75.0991424,"latitude_deg":12.4279576,"altitude":88,"angle":157,"satellites":46,"speed":6,"hex_longitude":"2cc33840","hex_latitude":"07685b18","is_valid_coordinates":true} 
[2026-08-02 21:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135937280001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275418123763712,"note":"Value kept but may cause issues"} 
[2026-08-02 21:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379750605802205184,"note":"Value kept but may cause issues"} 
[2026-08-02 21:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785687256000,"timestamp_ms":1785687256000,"timestamp_seconds":1785687256,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3412bc0"} 
[2026-08-02 21:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 21:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135937280001,"66":26767,"39":206,"27":54016,"24":6,"16":367275418123763712,"44":-4379750605802205184},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 21:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135937280001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:45:31] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 21:45:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275418123763712,"km_value":367275418123763.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379750605802205184,"description":"Unknown IO ID 44"} 
[2026-08-02 21:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135937280001,"power":26767,"unknown_39":206,"unknown_27":54016,"ignition":6,"odometer":null,"unknown_44":-4379750605802205184}} 
[2026-08-02 21:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":146838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:45:31] local.INFO: GPS data processed {"connection_id":146838,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:45:31] local.INFO: Acknowledgment sent {"connection_id":146838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:46:02] local.INFO: TCP Data received {"connection_id":146838,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3412fa8012cc3388007685a88005800af2e..."} 
[2026-08-02 21:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3412fa8012cc3388007685a88005800af2e..."} 
[2026-08-02 21:46:02] local.INFO: Processing buffer {"connection_id":146838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3412fa8012cc3388007685a88005800af2e..."} 
[2026-08-02 21:46:02] local.INFO: Packet analysis {"connection_id":146838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc341"} 
[2026-08-02 21:46:02] local.INFO: Extracted packet for processing {"connection_id":146838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc341"} 
[2026-08-02 21:46:02] local.INFO: GPS Element Parsed {"raw_longitude":750991488,"raw_latitude":124279432,"longitude_deg":75.0991488,"latitude_deg":12.4279432,"altitude":88,"angle":175,"satellites":46,"speed":5,"hex_longitude":"2cc33880","hex_latitude":"07685a88","is_valid_coordinates":true} 
[2026-08-02 21:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135937536001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275422418731008,"note":"Value kept but may cause issues"} 
[2026-08-02 21:46:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379680237058058240,"note":"Value kept but may cause issues"} 
[2026-08-02 21:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785687257000,"timestamp_ms":1785687257000,"timestamp_seconds":1785687257,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3412fa8"} 
[2026-08-02 21:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-02 21:46:02] 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-08-02 21:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135937536001,"66":26767,"39":206,"27":54016,"24":5,"16":367275422418731008,"44":-4379680237058058240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 21:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135937536001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:46:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 21:46:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275422418731008,"km_value":367275422418731.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:46:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379680237058058240,"description":"Unknown IO ID 44"} 
[2026-08-02 21:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135937536001,"power":26767,"unknown_39":206,"unknown_27":54016,"ignition":5,"odometer":null,"unknown_44":-4379680237058058240}} 
[2026-08-02 21:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":146838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:46:02] local.INFO: GPS data processed {"connection_id":146838,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:46:02] local.INFO: Acknowledgment sent {"connection_id":146838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:46:25] local.INFO: TCP Data received {"connection_id":148095,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:46:25] local.INFO: Processing buffer {"connection_id":148095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:46:25] local.INFO: IMEI packet received {"connection_id":148095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":148095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:46:27] local.INFO: TCP Data received {"connection_id":148095,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:46:27] local.INFO: Processing buffer {"connection_id":148095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:46:27] local.INFO: IMEI packet received {"connection_id":148095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":148095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:46:28] local.INFO: TCP Data received {"connection_id":148095,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:46:28] local.INFO: Processing buffer {"connection_id":148095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:46:28] local.INFO: IMEI packet received {"connection_id":148095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":148095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:46:30] local.INFO: TCP Data received {"connection_id":148095,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:46:30] local.INFO: Processing buffer {"connection_id":148095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:46:30] local.INFO: IMEI packet received {"connection_id":148095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":148095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:46:31] local.INFO: TCP Data received {"connection_id":148095,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc34181b0012cc33b40076848e8005a00ad2f..."} 
[2026-08-02 21:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc34181b0012cc33b40076848e8005a00ad2f..."} 
[2026-08-02 21:46:31] local.INFO: Processing buffer {"connection_id":148095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc34181b0012cc33b40076848e8005a00ad2f..."} 
[2026-08-02 21:46:31] local.INFO: Packet analysis {"connection_id":148095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc341"} 
[2026-08-02 21:46:31] local.INFO: Extracted packet for processing {"connection_id":148095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc341"} 
[2026-08-02 21:46:31] local.INFO: GPS Element Parsed {"raw_longitude":750992192,"raw_latitude":124274920,"longitude_deg":75.0992192,"latitude_deg":12.427492,"altitude":90,"angle":173,"satellites":47,"speed":0,"hex_longitude":"2cc33b40","hex_latitude":"076848e8","is_valid_coordinates":true} 
[2026-08-02 21:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135937792001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275645757030400,"note":"Value kept but may cause issues"} 
[2026-08-02 21:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379609868313917440,"note":"Value kept but may cause issues"} 
[2026-08-02 21:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785687278000,"timestamp_ms":1785687278000,"timestamp_seconds":1785687278,"priority":1,"record_length":96,"hex_timestamp":"0000019fc34181b0"} 
[2026-08-02 21:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21:46: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":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-02 21:46:31] 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-08-02 21:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135937792001,"66":27365,"39":206,"27":54016,"24":0,"16":367275645757030400,"44":-4379609868313917440},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 21:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135937792001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:46:31] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 21:46:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275645757030400,"km_value":367275645757030.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379609868313917440,"description":"Unknown IO ID 44"} 
[2026-08-02 21:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135937792001,"power":27365,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4379609868313917440}} 
[2026-08-02 21:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":148095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:46:31] local.INFO: GPS data processed {"connection_id":148095,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:46:31] local.INFO: Acknowledgment sent {"connection_id":148095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:46:32] local.INFO: TCP Data received {"connection_id":148095,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc341b478012cc33b8007684750005a009f2e..."} 
[2026-08-02 21:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc341b478012cc33b8007684750005a009f2e..."} 
[2026-08-02 21:46:32] local.INFO: Processing buffer {"connection_id":148095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc341b478012cc33b8007684750005a009f2e..."} 
[2026-08-02 21:46:32] local.INFO: Packet analysis {"connection_id":148095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc341"} 
[2026-08-02 21:46:32] local.INFO: Extracted packet for processing {"connection_id":148095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc341"} 
[2026-08-02 21:46:32] local.INFO: GPS Element Parsed {"raw_longitude":750992256,"raw_latitude":124274512,"longitude_deg":75.0992256,"latitude_deg":12.4274512,"altitude":90,"angle":159,"satellites":46,"speed":5,"hex_longitude":"2cc33b80","hex_latitude":"07684750","is_valid_coordinates":true} 
[2026-08-02 21:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135943168001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367275667231866880,"note":"Value kept but may cause issues"} 
[2026-08-02 21:46:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4378835812129118208,"note":"Value kept but may cause issues"} 
[2026-08-02 21:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785687291000,"timestamp_ms":1785687291000,"timestamp_seconds":1785687291,"priority":1,"record_length":96,"hex_timestamp":"0000019fc341b478"} 
[2026-08-02 21:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 21:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135943168001,"66":27376,"39":206,"27":54016,"24":5,"16":367275667231866880,"44":-4378835812129118208},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-02 21:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135943168001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:46:32] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-02 21:46:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367275667231866880,"km_value":367275667231866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:46:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4378835812129118208,"description":"Unknown IO ID 44"} 
[2026-08-02 21:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135943168001,"power":27376,"unknown_39":206,"unknown_27":54016,"ignition":5,"odometer":null,"unknown_44":-4378835812129118208}} 
[2026-08-02 21:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":148095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:46:32] local.INFO: GPS data processed {"connection_id":148095,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:46:32] local.INFO: Acknowledgment sent {"connection_id":148095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:47:04] local.INFO: TCP Data received {"connection_id":148095,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc342aa90012cc38b400767a598005600be2d..."} 
[2026-08-02 21:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc342aa90012cc38b400767a598005600be2d..."} 
[2026-08-02 21:47:04] local.INFO: Processing buffer {"connection_id":148095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc342aa90012cc38b400767a598005600be2d..."} 
[2026-08-02 21:47:04] local.INFO: Packet analysis {"connection_id":148095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc342"} 
[2026-08-02 21:47:04] local.INFO: Extracted packet for processing {"connection_id":148095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc342"} 
[2026-08-02 21:47:04] local.INFO: GPS Element Parsed {"raw_longitude":751012672,"raw_latitude":124233112,"longitude_deg":75.1012672,"latitude_deg":12.4233112,"altitude":86,"angle":190,"satellites":45,"speed":26,"hex_longitude":"2cc38b40","hex_latitude":"0767a598","is_valid_coordinates":true} 
[2026-08-02 21:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135962112001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367277982219239424,"note":"Value kept but may cause issues"} 
[2026-08-02 21:47:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356247445258440704,"note":"Value kept but may cause issues"} 
[2026-08-02 21:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785687354000,"timestamp_ms":1785687354000,"timestamp_seconds":1785687354,"priority":1,"record_length":96,"hex_timestamp":"0000019fc342aa90"} 
[2026-08-02 21:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 21:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135962112001,"66":27234,"36":206,"27":54016,"24":26,"16":367277982219239424,"44":-4356247445258440704},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135962112001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:47:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:47:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367277982219239424,"km_value":367277982219239.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:47:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356247445258440704,"description":"Unknown IO ID 44"} 
[2026-08-02 21:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135962112001,"power":27234,"unknown_36":206,"unknown_27":54016,"ignition":26,"odometer":null,"unknown_44":-4356247445258440704}} 
[2026-08-02 21:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":148095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:47:04] local.INFO: GPS data processed {"connection_id":148095,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:47:04] local.INFO: Acknowledgment sent {"connection_id":148095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:47:23] local.INFO: TCP Data received {"connection_id":148096,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:47:23] local.INFO: Processing buffer {"connection_id":148096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:47:23] local.INFO: IMEI packet received {"connection_id":148096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":148096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:47:25] local.INFO: TCP Data received {"connection_id":148096,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:47:25] local.INFO: Processing buffer {"connection_id":148096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:47:25] local.INFO: IMEI packet received {"connection_id":148096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":148096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:47:26] local.INFO: TCP Data received {"connection_id":148096,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc342dd58012cc382c0076783e0005800c32d..."} 
[2026-08-02 21:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc342dd58012cc382c0076783e0005800c32d..."} 
[2026-08-02 21:47:26] local.INFO: Processing buffer {"connection_id":148096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc342dd58012cc382c0076783e0005800c32d..."} 
[2026-08-02 21:47:26] local.INFO: Packet analysis {"connection_id":148096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc342"} 
[2026-08-02 21:47:26] local.INFO: Extracted packet for processing {"connection_id":148096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc342"} 
[2026-08-02 21:47:26] local.INFO: GPS Element Parsed {"raw_longitude":751010496,"raw_latitude":124224480,"longitude_deg":75.1010496,"latitude_deg":12.422448,"altitude":88,"angle":195,"satellites":45,"speed":26,"hex_longitude":"2cc382c0","hex_latitude":"076783e0","is_valid_coordinates":true} 
[2026-08-02 21:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135962624001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367278416010936320,"note":"Value kept but may cause issues"} 
[2026-08-02 21:47:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356317814002968576,"note":"Value kept but may cause issues"} 
[2026-08-02 21:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785687367000,"timestamp_ms":1785687367000,"timestamp_seconds":1785687367,"priority":1,"record_length":96,"hex_timestamp":"0000019fc342dd58"} 
[2026-08-02 21:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-02 21:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135962624001,"66":27376,"36":206,"27":54016,"24":26,"16":367278416010936320,"44":-4356317814002968576},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135962624001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:47:26] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:47:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367278416010936320,"km_value":367278416010936.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:47:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356317814002968576,"description":"Unknown IO ID 44"} 
[2026-08-02 21:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135962624001,"power":27376,"unknown_36":206,"unknown_27":54016,"ignition":26,"odometer":null,"unknown_44":-4356317814002968576}} 
[2026-08-02 21:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":148096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:47:26] local.INFO: GPS data processed {"connection_id":148096,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:47:26] local.INFO: Acknowledgment sent {"connection_id":148096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:47:57] local.INFO: TCP Data received {"connection_id":148096,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3431408012cc3780007676188005800c72e..."} 
[2026-08-02 21:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3431408012cc3780007676188005800c72e..."} 
[2026-08-02 21:47:57] local.INFO: Processing buffer {"connection_id":148096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3431408012cc3780007676188005800c72e..."} 
[2026-08-02 21:47:57] local.INFO: Packet analysis {"connection_id":148096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc343"} 
[2026-08-02 21:47:57] local.INFO: Extracted packet for processing {"connection_id":148096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc343"} 
[2026-08-02 21:47:57] local.INFO: GPS Element Parsed {"raw_longitude":751007744,"raw_latitude":124215688,"longitude_deg":75.1007744,"latitude_deg":12.4215688,"altitude":88,"angle":199,"satellites":46,"speed":27,"hex_longitude":"2cc37800","hex_latitude":"07676188","is_valid_coordinates":true} 
[2026-08-02 21:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135965952001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367278862687535104,"note":"Value kept but may cause issues"} 
[2026-08-02 21:47:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4358710351307218944,"note":"Value kept but may cause issues"} 
[2026-08-02 21:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785687381000,"timestamp_ms":1785687381000,"timestamp_seconds":1785687381,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3431408"} 
[2026-08-02 21:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 21:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135965952001,"66":27463,"36":206,"27":54016,"24":27,"16":367278862687535104,"44":-4358710351307218944},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135965952001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:47:57] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:47:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367278862687535104,"km_value":367278862687535.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:47:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4358710351307218944,"description":"Unknown IO ID 44"} 
[2026-08-02 21:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135965952001,"power":27463,"unknown_36":206,"unknown_27":54016,"ignition":27,"odometer":null,"unknown_44":-4358710351307218944}} 
[2026-08-02 21:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":148096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:47:57] local.INFO: GPS data processed {"connection_id":148096,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:47:57] local.INFO: Acknowledgment sent {"connection_id":148096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:48:24] local.INFO: TCP Data received {"connection_id":147056,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:48:24] local.INFO: Processing buffer {"connection_id":147056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:48:24] local.INFO: IMEI packet received {"connection_id":147056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":147056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:48:24] local.INFO: TCP Data received {"connection_id":147056,"ip":"117.224.14.1","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 21:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147056,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 21:48:24] local.INFO: Processing buffer {"connection_id":147056,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 21:48:24] local.INFO: IMEI packet received {"connection_id":147056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":147056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:48:29] local.INFO: TCP Data received {"connection_id":147056,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:48:29] local.INFO: Processing buffer {"connection_id":147056,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 21:48:29] local.INFO: IMEI packet received {"connection_id":147056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":147056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:48:30] local.INFO: TCP Data received {"connection_id":147056,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3443900012cc2eac00766a508004d00f42b..."} 
[2026-08-02 21:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3443900012cc2eac00766a508004d00f42b..."} 
[2026-08-02 21:48:30] local.INFO: Processing buffer {"connection_id":147056,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fc3..."} 
[2026-08-02 21:48:30] local.INFO: IMEI packet received {"connection_id":147056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":147056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:48:33] local.INFO: TCP Data received {"connection_id":147056,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3445c28012cc2c9c007669208004b00e82c..."} 
[2026-08-02 21:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3445c28012cc2c9c007669208004b00e82c..."} 
[2026-08-02 21:48:33] local.INFO: Processing buffer {"connection_id":147056,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc3443900012cc2eac00766a508004d00f42b..."} 
[2026-08-02 21:48:33] local.INFO: Packet analysis {"connection_id":147056,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc344"} 
[2026-08-02 21:48:33] local.INFO: Extracted packet for processing {"connection_id":147056,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc344"} 
[2026-08-02 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":750971584,"raw_latitude":124167432,"longitude_deg":75.0971584,"latitude_deg":12.4167432,"altitude":77,"angle":244,"satellites":43,"speed":43,"hex_longitude":"2cc2eac0","hex_latitude":"0766a508","is_valid_coordinates":true} 
[2026-08-02 21:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135986432001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367281890639478784,"note":"Value kept but may cause issues"} 
[2026-08-02 21:48:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4391642923595927552,"note":"Value kept but may cause issues"} 
[2026-08-02 21:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785687456000,"timestamp_ms":1785687456000,"timestamp_seconds":1785687456,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3443900"} 
[2026-08-02 21:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 21:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135986432001,"66":27332,"36":206,"27":54016,"24":43,"16":367281890639478784,"44":-4391642923595927552},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135986432001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:48:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:48:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367281890639478784,"km_value":367281890639478.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:48:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4391642923595927552,"description":"Unknown IO ID 44"} 
[2026-08-02 21:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135986432001,"power":27332,"unknown_36":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-4391642923595927552}} 
[2026-08-02 21:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":147056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:48:33] local.INFO: GPS data processed {"connection_id":147056,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:48:33] local.INFO: Acknowledgment sent {"connection_id":147056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:48:33] local.INFO: Packet analysis {"connection_id":147056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc344"} 
[2026-08-02 21:48:33] local.INFO: Extracted packet for processing {"connection_id":147056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc344"} 
[2026-08-02 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":750963136,"raw_latitude":124162568,"longitude_deg":75.0963136,"latitude_deg":12.4162568,"altitude":75,"angle":232,"satellites":44,"speed":41,"hex_longitude":"2cc2c9c0","hex_latitude":"07669208","is_valid_coordinates":true} 
[2026-08-02 21:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135988736001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367282358790914048,"note":"Value kept but may cause issues"} 
[2026-08-02 21:48:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4401494547781842944,"note":"Value kept but may cause issues"} 
[2026-08-02 21:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785687465000,"timestamp_ms":1785687465000,"timestamp_seconds":1785687465,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3445c28"} 
[2026-08-02 21:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 21:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135988736001,"66":26876,"36":206,"27":54016,"24":41,"16":367282358790914048,"44":-4401494547781842944},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135988736001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:48:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:48:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367282358790914048,"km_value":367282358790914.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:48:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4401494547781842944,"description":"Unknown IO ID 44"} 
[2026-08-02 21:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135988736001,"power":26876,"unknown_36":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-4401494547781842944}} 
[2026-08-02 21:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":147056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:48:33] local.INFO: GPS data processed {"connection_id":147056,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:48:33] local.INFO: Acknowledgment sent {"connection_id":147056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:49:05] local.INFO: TCP Data received {"connection_id":147056,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3445c28012cc2c9c007669208004b00e82c..."} 
[2026-08-02 21:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3445c28012cc2c9c007669208004b00e82c..."} 
[2026-08-02 21:49:05] local.INFO: Processing buffer {"connection_id":147056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3445c28012cc2c9c007669208004b00e82c..."} 
[2026-08-02 21:49:05] local.INFO: Packet analysis {"connection_id":147056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc344"} 
[2026-08-02 21:49:05] local.INFO: Extracted packet for processing {"connection_id":147056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc344"} 
[2026-08-02 21:49:05] local.INFO: GPS Element Parsed {"raw_longitude":750963136,"raw_latitude":124162568,"longitude_deg":75.0963136,"latitude_deg":12.4162568,"altitude":75,"angle":232,"satellites":44,"speed":41,"hex_longitude":"2cc2c9c0","hex_latitude":"07669208","is_valid_coordinates":true} 
[2026-08-02 21:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135991040001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367282358790914048,"note":"Value kept but may cause issues"} 
[2026-08-02 21:49:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4410783222014539776,"note":"Value kept but may cause issues"} 
[2026-08-02 21:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785687465000,"timestamp_ms":1785687465000,"timestamp_seconds":1785687465,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3445c28"} 
[2026-08-02 21:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-02 21:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135991040001,"66":26876,"36":206,"27":54016,"24":41,"16":367282358790914048,"44":-4410783222014539776},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135991040001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:49:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:49:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367282358790914048,"km_value":367282358790914.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:49:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4410783222014539776,"description":"Unknown IO ID 44"} 
[2026-08-02 21:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135991040001,"power":26876,"unknown_36":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-4410783222014539776}} 
[2026-08-02 21:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":147056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:49:05] local.INFO: GPS data processed {"connection_id":147056,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:49:05] local.INFO: Acknowledgment sent {"connection_id":147056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:49:22] local.INFO: TCP Data received {"connection_id":149398,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:49:22] local.INFO: Processing buffer {"connection_id":149398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:49:22] local.INFO: IMEI packet received {"connection_id":149398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":149398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:49:23] local.INFO: TCP Data received {"connection_id":149398,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:49:23] local.INFO: Processing buffer {"connection_id":149398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:49:23] local.INFO: IMEI packet received {"connection_id":149398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":149398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:49:28] local.INFO: TCP Data received {"connection_id":149398,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:49:28] local.INFO: Processing buffer {"connection_id":149398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:49:28] local.INFO: IMEI packet received {"connection_id":149398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":149398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:49:30] local.INFO: TCP Data received {"connection_id":149398,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3447f50012cc2adc007667a58004c00e02c..."} 
[2026-08-02 21:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3447f50012cc2adc007667a58004c00e02c..."} 
[2026-08-02 21:49:30] local.INFO: Processing buffer {"connection_id":149398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3447f50012cc2adc007667a58004c00e02c..."} 
[2026-08-02 21:49:30] local.INFO: Packet analysis {"connection_id":149398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc344"} 
[2026-08-02 21:49:30] local.INFO: Extracted packet for processing {"connection_id":149398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc344"} 
[2026-08-02 21:49:30] local.INFO: GPS Element Parsed {"raw_longitude":750955968,"raw_latitude":124156504,"longitude_deg":75.0955968,"latitude_deg":12.4156504,"altitude":76,"angle":224,"satellites":44,"speed":42,"hex_longitude":"2cc2adc0","hex_latitude":"07667a58","is_valid_coordinates":true} 
[2026-08-02 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-08-02 21:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457135991040001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367282805467512832,"note":"Value kept but may cause issues"} 
[2026-08-02 21:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4410783222014539776,"note":"Value kept but may cause issues"} 
[2026-08-02 21:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785687474000,"timestamp_ms":1785687474000,"timestamp_seconds":1785687474,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3447f50"} 
[2026-08-02 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-08-02 21:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-02 21:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 21:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457135991040001,"66":27365,"36":206,"27":54016,"24":42,"16":367282805467512832,"44":-4410783222014539776},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-02 21:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457135991040001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:49:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-02 21:49:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367282805467512832,"km_value":367282805467512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4410783222014539776,"description":"Unknown IO ID 44"} 
[2026-08-02 21:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457135991040001,"power":27365,"unknown_36":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-4410783222014539776}} 
[2026-08-02 21:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":149398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:49:30] local.INFO: GPS data processed {"connection_id":149398,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:49:30] local.INFO: Acknowledgment sent {"connection_id":149398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:50:01] local.INFO: TCP Data received {"connection_id":149398,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc345b000012cc2810007658c28005201122d..."} 
[2026-08-02 21:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc345b000012cc2810007658c28005201122d..."} 
[2026-08-02 21:50:01] local.INFO: Processing buffer {"connection_id":149398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc345b000012cc2810007658c28005201122d..."} 
[2026-08-02 21:50:01] local.INFO: Packet analysis {"connection_id":149398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc345"} 
[2026-08-02 21:50:01] local.INFO: Extracted packet for processing {"connection_id":149398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc345"} 
[2026-08-02 21:50:01] local.INFO: GPS Element Parsed {"raw_longitude":750944512,"raw_latitude":124095528,"longitude_deg":75.0944512,"latitude_deg":12.4095528,"altitude":82,"angle":274,"satellites":45,"speed":9,"hex_longitude":"2cc28100","hex_latitude":"07658c28","is_valid_coordinates":true} 
[2026-08-02 21:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136011008001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367286078232592384,"note":"Value kept but may cause issues"} 
[2026-08-02 21:50:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4428375408075913216,"note":"Value kept but may cause issues"} 
[2026-08-02 21:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785687552000,"timestamp_ms":1785687552000,"timestamp_seconds":1785687552,"priority":1,"record_length":96,"hex_timestamp":"0000019fc345b000"} 
[2026-08-02 21:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-02 21:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136011008001,"66":27463,"37":206,"27":54016,"24":9,"16":367286078232592384,"44":-4428375408075913216},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 21:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136011008001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:50:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 21:50:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367286078232592384,"km_value":367286078232592.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:50:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4428375408075913216,"description":"Unknown IO ID 44"} 
[2026-08-02 21:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136011008001,"power":27463,"unknown_37":206,"unknown_27":54016,"ignition":9,"odometer":null,"unknown_44":-4428375408075913216}} 
[2026-08-02 21:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":149398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:50:01] local.INFO: GPS data processed {"connection_id":149398,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:50:01] local.INFO: Acknowledgment sent {"connection_id":149398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:50:23] local.INFO: TCP Data received {"connection_id":146839,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:50:23] local.INFO: Processing buffer {"connection_id":146839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:50:23] local.INFO: IMEI packet received {"connection_id":146839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":146839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:50:28] local.INFO: TCP Data received {"connection_id":146839,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:50:28] local.INFO: Processing buffer {"connection_id":146839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:50:28] local.INFO: IMEI packet received {"connection_id":146839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":146839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:50:30] local.INFO: TCP Data received {"connection_id":146839,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc345b3e8012cc2804007658c48005301202d..."} 
[2026-08-02 21:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc345b3e8012cc2804007658c48005301202d..."} 
[2026-08-02 21:50:30] local.INFO: Processing buffer {"connection_id":146839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc345b3e8012cc2804007658c48005301202d..."} 
[2026-08-02 21:50:30] local.INFO: Packet analysis {"connection_id":146839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc345"} 
[2026-08-02 21:50:30] local.INFO: Extracted packet for processing {"connection_id":146839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc345"} 
[2026-08-02 21:50:30] local.INFO: GPS Element Parsed {"raw_longitude":750944320,"raw_latitude":124095560,"longitude_deg":75.094432,"latitude_deg":12.409556,"altitude":83,"angle":288,"satellites":45,"speed":10,"hex_longitude":"2cc28040","hex_latitude":"07658c48","is_valid_coordinates":true} 
[2026-08-02 21:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136013312001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367286086822526976,"note":"Value kept but may cause issues"} 
[2026-08-02 21:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4431260526587402240,"note":"Value kept but may cause issues"} 
[2026-08-02 21:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785687553000,"timestamp_ms":1785687553000,"timestamp_seconds":1785687553,"priority":1,"record_length":96,"hex_timestamp":"0000019fc345b3e8"} 
[2026-08-02 21:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 21:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136013312001,"66":27463,"37":206,"27":54016,"24":10,"16":367286086822526976,"44":-4431260526587402240},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 21:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136013312001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:50:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 21:50:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367286086822526976,"km_value":367286086822527.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4431260526587402240,"description":"Unknown IO ID 44"} 
[2026-08-02 21:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136013312001,"power":27463,"unknown_37":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-4431260526587402240}} 
[2026-08-02 21:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":146839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:50:30] local.INFO: GPS data processed {"connection_id":146839,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:50:30] local.INFO: Acknowledgment sent {"connection_id":146839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:51:01] local.INFO: TCP Data received {"connection_id":146839,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc345b7d0012cc27f0007658cd0005301352d..."} 
[2026-08-02 21:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc345b7d0012cc27f0007658cd0005301352d..."} 
[2026-08-02 21:51:01] local.INFO: Processing buffer {"connection_id":146839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc345b7d0012cc27f0007658cd0005301352d..."} 
[2026-08-02 21:51:01] local.INFO: Packet analysis {"connection_id":146839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc345"} 
[2026-08-02 21:51:01] local.INFO: Extracted packet for processing {"connection_id":146839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc345"} 
[2026-08-02 21:51:01] local.INFO: GPS Element Parsed {"raw_longitude":750944000,"raw_latitude":124095696,"longitude_deg":75.0944,"latitude_deg":12.4095696,"altitude":83,"angle":309,"satellites":45,"speed":11,"hex_longitude":"2cc27f00","hex_latitude":"07658cd0","is_valid_coordinates":true} 
[2026-08-02 21:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136013568001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367286104002396160,"note":"Value kept but may cause issues"} 
[2026-08-02 21:51:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4431471632819927040,"note":"Value kept but may cause issues"} 
[2026-08-02 21:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785687554000,"timestamp_ms":1785687554000,"timestamp_seconds":1785687554,"priority":1,"record_length":96,"hex_timestamp":"0000019fc345b7d0"} 
[2026-08-02 21:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 21:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136013568001,"66":27343,"37":206,"27":54016,"24":11,"16":367286104002396160,"44":-4431471632819927040},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-02 21:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136013568001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:51:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-02 21:51:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367286104002396160,"km_value":367286104002396.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:51:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4431471632819927040,"description":"Unknown IO ID 44"} 
[2026-08-02 21:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136013568001,"power":27343,"unknown_37":206,"unknown_27":54016,"ignition":11,"odometer":null,"unknown_44":-4431471632819927040}} 
[2026-08-02 21:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":146839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:51:01] local.INFO: GPS data processed {"connection_id":146839,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:51:01] local.INFO: Acknowledgment sent {"connection_id":146839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:51:23] local.INFO: TCP Data received {"connection_id":147057,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:51:23] local.INFO: Processing buffer {"connection_id":147057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:51:23] local.INFO: IMEI packet received {"connection_id":147057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":147057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:51:28] local.INFO: TCP Data received {"connection_id":147057,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:51:28] local.INFO: Processing buffer {"connection_id":147057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:51:28] local.INFO: IMEI packet received {"connection_id":147057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":147057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:51:30] local.INFO: TCP Data received {"connection_id":147057,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc346b1d0012cc2cac0076526c8005500982e..."} 
[2026-08-02 21:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc346b1d0012cc2cac0076526c8005500982e..."} 
[2026-08-02 21:51:30] local.INFO: Processing buffer {"connection_id":147057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc346b1d0012cc2cac0076526c8005500982e..."} 
[2026-08-02 21:51:30] local.INFO: Packet analysis {"connection_id":147057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc346"} 
[2026-08-02 21:51:30] local.INFO: Extracted packet for processing {"connection_id":147057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc346"} 
[2026-08-02 21:51:30] local.INFO: GPS Element Parsed {"raw_longitude":750963392,"raw_latitude":124069576,"longitude_deg":75.0963392,"latitude_deg":12.4069576,"altitude":85,"angle":152,"satellites":46,"speed":47,"hex_longitude":"2cc2cac0","hex_latitude":"076526c8","is_valid_coordinates":true} 
[2026-08-02 21:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136028160001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367288281550815232,"note":"Value kept but may cause issues"} 
[2026-08-02 21:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4416412721570600960,"note":"Value kept but may cause issues"} 
[2026-08-02 21:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785687618000,"timestamp_ms":1785687618000,"timestamp_seconds":1785687618,"priority":1,"record_length":96,"hex_timestamp":"0000019fc346b1d0"} 
[2026-08-02 21:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 21:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136028160001,"66":27397,"228":206,"27":54016,"24":47,"16":367288281550815232,"44":-4416412721570600960},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 21:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136028160001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:51:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 21:51:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367288281550815232,"km_value":367288281550815.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4416412721570600960,"description":"Unknown IO ID 44"} 
[2026-08-02 21:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136028160001,"power":27397,"unknown_228":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-4416412721570600960}} 
[2026-08-02 21:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":147057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:51:30] local.INFO: GPS data processed {"connection_id":147057,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:51:30] local.INFO: Acknowledgment sent {"connection_id":147057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:52:01] local.INFO: TCP Data received {"connection_id":147057,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc346c558012cc2d34007651050005300a52f..."} 
[2026-08-02 21:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc346c558012cc2d34007651050005300a52f..."} 
[2026-08-02 21:52:01] local.INFO: Processing buffer {"connection_id":147057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc346c558012cc2d34007651050005300a52f..."} 
[2026-08-02 21:52:01] local.INFO: Packet analysis {"connection_id":147057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc346"} 
[2026-08-02 21:52:01] local.INFO: Extracted packet for processing {"connection_id":147057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc346"} 
[2026-08-02 21:52:01] local.INFO: GPS Element Parsed {"raw_longitude":750965568,"raw_latitude":124063824,"longitude_deg":75.0965568,"latitude_deg":12.4063824,"altitude":83,"angle":165,"satellites":47,"speed":50,"hex_longitude":"2cc2d340","hex_latitude":"07651050","is_valid_coordinates":true} 
[2026-08-02 21: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-08-02 21:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136030208001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367288577903558656,"note":"Value kept but may cause issues"} 
[2026-08-02 21:52:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4410501747061635072,"note":"Value kept but may cause issues"} 
[2026-08-02 21:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785687623000,"timestamp_ms":1785687623000,"timestamp_seconds":1785687623,"priority":1,"record_length":96,"hex_timestamp":"0000019fc346c558"} 
[2026-08-02 21:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 21:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21: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-08-02 21:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136030208001,"66":27376,"228":206,"27":54016,"24":50,"16":367288577903558656,"44":-4410501747061635072},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-02 21:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136030208001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:52:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-02 21:52:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367288577903558656,"km_value":367288577903558.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:52:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4410501747061635072,"description":"Unknown IO ID 44"} 
[2026-08-02 21:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136030208001,"power":27376,"unknown_228":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-4410501747061635072}} 
[2026-08-02 21:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":147057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:52:01] local.INFO: GPS data processed {"connection_id":147057,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:52:01] local.INFO: Acknowledgment sent {"connection_id":147057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:52:28] local.INFO: TCP Data received {"connection_id":149399,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:52:28] local.INFO: Processing buffer {"connection_id":149399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:52:28] local.INFO: IMEI packet received {"connection_id":149399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":149399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:52:29] local.INFO: TCP Data received {"connection_id":149399,"ip":"117.224.14.1","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 21:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149399,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 21:52:29] local.INFO: Processing buffer {"connection_id":149399,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 21:52:29] local.INFO: IMEI packet received {"connection_id":149399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":149399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:52:33] local.INFO: TCP Data received {"connection_id":149399,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:52:33] local.INFO: Processing buffer {"connection_id":149399,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 21:52:33] local.INFO: IMEI packet received {"connection_id":149399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":149399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:52:35] local.INFO: TCP Data received {"connection_id":149399,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc347c340012cc2eb000763e060005300c72e..."} 
[2026-08-02 21:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc347c340012cc2eb000763e060005300c72e..."} 
[2026-08-02 21:52:35] local.INFO: Processing buffer {"connection_id":149399,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fc3..."} 
[2026-08-02 21:52:35] local.INFO: IMEI packet received {"connection_id":149399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":149399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:52:37] local.INFO: TCP Data received {"connection_id":149399,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc347de98012cc2e0000763bf28005300c42e..."} 
[2026-08-02 21:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc347de98012cc2e0000763bf28005300c42e..."} 
[2026-08-02 21:52:37] local.INFO: Processing buffer {"connection_id":149399,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc347c340012cc2eb000763e060005300c72e..."} 
[2026-08-02 21:52:37] local.INFO: Packet analysis {"connection_id":149399,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc347"} 
[2026-08-02 21:52:37] local.INFO: Extracted packet for processing {"connection_id":149399,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc347"} 
[2026-08-02 21:52:37] local.INFO: GPS Element Parsed {"raw_longitude":750971648,"raw_latitude":123986016,"longitude_deg":75.0971648,"latitude_deg":12.3986016,"altitude":83,"angle":199,"satellites":46,"speed":52,"hex_longitude":"2cc2eb00","hex_latitude":"0763e060","is_valid_coordinates":true} 
[2026-08-02 21:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136046336001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367292434784190464,"note":"Value kept but may cause issues"} 
[2026-08-02 21:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4398609429314717696,"note":"Value kept but may cause issues"} 
[2026-08-02 21:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785687688000,"timestamp_ms":1785687688000,"timestamp_seconds":1785687688,"priority":1,"record_length":96,"hex_timestamp":"0000019fc347c340"} 
[2026-08-02 21:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21: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-08-02 21: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-02 21:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136046336001,"66":27397,"227":206,"27":54016,"24":52,"16":367292434784190464,"44":-4398609429314717696},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 21:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136046336001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:52:37] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 21:52:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367292434784190464,"km_value":367292434784190.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4398609429314717696,"description":"Unknown IO ID 44"} 
[2026-08-02 21:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136046336001,"power":27397,"unknown_227":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-4398609429314717696}} 
[2026-08-02 21:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":149399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:52:37] local.INFO: GPS data processed {"connection_id":149399,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:52:37] local.INFO: Acknowledgment sent {"connection_id":149399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:52:37] local.INFO: Packet analysis {"connection_id":149399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc347"} 
[2026-08-02 21:52:37] local.INFO: Extracted packet for processing {"connection_id":149399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc347"} 
[2026-08-02 21:52:37] local.INFO: GPS Element Parsed {"raw_longitude":750968832,"raw_latitude":123977512,"longitude_deg":75.0968832,"latitude_deg":12.3977512,"altitude":83,"angle":196,"satellites":46,"speed":50,"hex_longitude":"2cc2e000","hex_latitude":"0763bf28","is_valid_coordinates":true} 
[2026-08-02 21:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136048128001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367292868575887360,"note":"Value kept but may cause issues"} 
[2026-08-02 21:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4401424179084107776,"note":"Value kept but may cause issues"} 
[2026-08-02 21:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785687695000,"timestamp_ms":1785687695000,"timestamp_seconds":1785687695,"priority":1,"record_length":96,"hex_timestamp":"0000019fc347de98"} 
[2026-08-02 21:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21: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-08-02 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 21:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136048128001,"66":27397,"227":206,"27":54016,"24":50,"16":367292868575887360,"44":-4401424179084107776},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 21:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136048128001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:52:37] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 21:52:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367292868575887360,"km_value":367292868575887.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4401424179084107776,"description":"Unknown IO ID 44"} 
[2026-08-02 21:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136048128001,"power":27397,"unknown_227":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-4401424179084107776}} 
[2026-08-02 21:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":149399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:52:37] local.INFO: GPS data processed {"connection_id":149399,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:52:37] local.INFO: Acknowledgment sent {"connection_id":149399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:52:38] local.INFO: TCP Data received {"connection_id":149399,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc347f9f0012cc2d9c007639cf8005500ba2f..."} 
[2026-08-02 21:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc347f9f0012cc2d9c007639cf8005500ba2f..."} 
[2026-08-02 21:52:38] local.INFO: Processing buffer {"connection_id":149399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc347f9f0012cc2d9c007639cf8005500ba2f..."} 
[2026-08-02 21:52:38] local.INFO: Packet analysis {"connection_id":149399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc347"} 
[2026-08-02 21:52:38] local.INFO: Extracted packet for processing {"connection_id":149399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc347"} 
[2026-08-02 21:52:38] local.INFO: GPS Element Parsed {"raw_longitude":750967232,"raw_latitude":123968760,"longitude_deg":75.0967232,"latitude_deg":12.396876,"altitude":85,"angle":186,"satellites":47,"speed":49,"hex_longitude":"2cc2d9c0","hex_latitude":"07639cf8","is_valid_coordinates":true} 
[2026-08-02 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-08-02 21:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136049920001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367293298072616960,"note":"Value kept but may cause issues"} 
[2026-08-02 21:52:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4404520403830102016,"note":"Value kept but may cause issues"} 
[2026-08-02 21:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785687702000,"timestamp_ms":1785687702000,"timestamp_seconds":1785687702,"priority":1,"record_length":96,"hex_timestamp":"0000019fc347f9f0"} 
[2026-08-02 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-08-02 21:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 21:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 21:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":149399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":149399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":149399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136049920001,"66":27343,"227":206,"27":54016,"24":49,"16":367293298072616960,"44":-4404520403830102016},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 21:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136049920001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:52:38] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 21:52:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367293298072616960,"km_value":367293298072616.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:52:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4404520403830102016,"description":"Unknown IO ID 44"} 
[2026-08-02 21:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136049920001,"power":27343,"unknown_227":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4404520403830102016}} 
[2026-08-02 21:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":149399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:52:38] local.INFO: GPS data processed {"connection_id":149399,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:52:38] local.INFO: Acknowledgment sent {"connection_id":149399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:53:23] local.INFO: TCP Data received {"connection_id":148097,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:53:23] local.INFO: Processing buffer {"connection_id":148097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:53:23] local.INFO: IMEI packet received {"connection_id":148097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":148097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:53:26] local.INFO: TCP Data received {"connection_id":148097,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:53:26] local.INFO: Processing buffer {"connection_id":148097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:53:26] local.INFO: IMEI packet received {"connection_id":148097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":148097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:53:28] local.INFO: TCP Data received {"connection_id":148097,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc348c8f8012cc365000762fc20004f007630..."} 
[2026-08-02 21:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc348c8f8012cc365000762fc20004f007630..."} 
[2026-08-02 21:53:28] local.INFO: Processing buffer {"connection_id":148097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc348c8f8012cc365000762fc20004f007630..."} 
[2026-08-02 21:53:28] local.INFO: Packet analysis {"connection_id":148097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc348"} 
[2026-08-02 21:53:28] local.INFO: Extracted packet for processing {"connection_id":148097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc348"} 
[2026-08-02 21:53:28] local.INFO: GPS Element Parsed {"raw_longitude":751002880,"raw_latitude":123927584,"longitude_deg":75.100288,"latitude_deg":12.3927584,"altitude":79,"angle":118,"satellites":48,"speed":53,"hex_longitude":"2cc36500","hex_latitude":"0762fc20","is_valid_coordinates":true} 
[2026-08-02 21:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136064512001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367296476348416000,"note":"Value kept but may cause issues"} 
[2026-08-02 21:53:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4371306356590649344,"note":"Value kept but may cause issues"} 
[2026-08-02 21:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785687755000,"timestamp_ms":1785687755000,"timestamp_seconds":1785687755,"priority":1,"record_length":96,"hex_timestamp":"0000019fc348c8f8"} 
[2026-08-02 21:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-02 21:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":148097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":148097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":148097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136064512001,"66":27332,"227":206,"27":54016,"24":53,"16":367296476348416000,"44":-4371306356590649344},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 21:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136064512001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:53:28] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 21:53:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367296476348416000,"km_value":367296476348416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:53:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4371306356590649344,"description":"Unknown IO ID 44"} 
[2026-08-02 21:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136064512001,"power":27332,"unknown_227":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4371306356590649344}} 
[2026-08-02 21:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":148097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:53:28] local.INFO: GPS data processed {"connection_id":148097,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:53:28] local.INFO: Acknowledgment sent {"connection_id":148097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:53:29] local.INFO: TCP Data received {"connection_id":148097,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc348d4b0012cc371c00762f2a8004e008631..."} 
[2026-08-02 21:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc348d4b0012cc371c00762f2a8004e008631..."} 
[2026-08-02 21:53:29] local.INFO: Processing buffer {"connection_id":148097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc348d4b0012cc371c00762f2a8004e008631..."} 
[2026-08-02 21:53:29] local.INFO: Packet analysis {"connection_id":148097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc348"} 
[2026-08-02 21:53:29] local.INFO: Extracted packet for processing {"connection_id":148097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc348"} 
[2026-08-02 21:53:29] local.INFO: GPS Element Parsed {"raw_longitude":751006144,"raw_latitude":123925160,"longitude_deg":75.1006144,"latitude_deg":12.392516,"altitude":78,"angle":134,"satellites":49,"speed":53,"hex_longitude":"2cc371c0","hex_latitude":"0762f2a8","is_valid_coordinates":true} 
[2026-08-02 21:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136065280001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367296673916911616,"note":"Value kept but may cause issues"} 
[2026-08-02 21:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4367084231940366336,"note":"Value kept but may cause issues"} 
[2026-08-02 21:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785687758000,"timestamp_ms":1785687758000,"timestamp_seconds":1785687758,"priority":1,"record_length":96,"hex_timestamp":"0000019fc348d4b0"} 
[2026-08-02 21:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 21:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136065280001,"66":27213,"227":206,"27":54016,"24":53,"16":367296673916911616,"44":-4367084231940366336},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 21:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136065280001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:53:29] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 21:53:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367296673916911616,"km_value":367296673916911.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4367084231940366336,"description":"Unknown IO ID 44"} 
[2026-08-02 21:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136065280001,"power":27213,"unknown_227":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4367084231940366336}} 
[2026-08-02 21:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":148097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:53:29] local.INFO: GPS data processed {"connection_id":148097,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:53:29] local.INFO: Acknowledgment sent {"connection_id":148097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:54:01] local.INFO: TCP Data received {"connection_id":148097,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc348e068012cc37c000762e640004d009431..."} 
[2026-08-02 21:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc348e068012cc37c000762e640004d009431..."} 
[2026-08-02 21:54:01] local.INFO: Processing buffer {"connection_id":148097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc348e068012cc37c000762e640004d009431..."} 
[2026-08-02 21:54:01] local.INFO: Packet analysis {"connection_id":148097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc348"} 
[2026-08-02 21:54:01] local.INFO: Extracted packet for processing {"connection_id":148097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc348"} 
[2026-08-02 21:54:01] local.INFO: GPS Element Parsed {"raw_longitude":751008768,"raw_latitude":123921984,"longitude_deg":75.1008768,"latitude_deg":12.3921984,"altitude":77,"angle":148,"satellites":49,"speed":53,"hex_longitude":"2cc37c00","hex_latitude":"0762e640","is_valid_coordinates":true} 
[2026-08-02 21:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136066048001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367296871485407232,"note":"Value kept but may cause issues"} 
[2026-08-02 21:54:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4363495425987926016,"note":"Value kept but may cause issues"} 
[2026-08-02 21:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785687761000,"timestamp_ms":1785687761000,"timestamp_seconds":1785687761,"priority":1,"record_length":96,"hex_timestamp":"0000019fc348e068"} 
[2026-08-02 21:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 21:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136066048001,"66":27213,"227":206,"27":54016,"24":53,"16":367296871485407232,"44":-4363495425987926016},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 21:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136066048001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:54:01] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 21:54:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367296871485407232,"km_value":367296871485407.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:54:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4363495425987926016,"description":"Unknown IO ID 44"} 
[2026-08-02 21:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136066048001,"power":27213,"unknown_227":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4363495425987926016}} 
[2026-08-02 21:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":148097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:54:01] local.INFO: GPS data processed {"connection_id":148097,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:54:01] local.INFO: Acknowledgment sent {"connection_id":148097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:54:22] local.INFO: TCP Data received {"connection_id":147058,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:54:22] local.INFO: Processing buffer {"connection_id":147058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:54:22] local.INFO: IMEI packet received {"connection_id":147058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":147058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:54:23] local.INFO: TCP Data received {"connection_id":147058,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:54:23] local.INFO: Processing buffer {"connection_id":147058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:54:23] local.INFO: IMEI packet received {"connection_id":147058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":147058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:54:27] local.INFO: TCP Data received {"connection_id":147058,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:54:27] local.INFO: Processing buffer {"connection_id":147058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:54:27] local.INFO: IMEI packet received {"connection_id":147058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":147058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:54:29] local.INFO: TCP Data received {"connection_id":147058,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc348fbc0012cc38a800762c3f0004a009e31..."} 
[2026-08-02 21:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc348fbc0012cc38a800762c3f0004a009e31..."} 
[2026-08-02 21:54:29] local.INFO: Processing buffer {"connection_id":147058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc348fbc0012cc38a800762c3f0004a009e31..."} 
[2026-08-02 21:54:29] local.INFO: Packet analysis {"connection_id":147058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc348"} 
[2026-08-02 21:54:29] local.INFO: Extracted packet for processing {"connection_id":147058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc348"} 
[2026-08-02 21:54:29] local.INFO: GPS Element Parsed {"raw_longitude":751012480,"raw_latitude":123913200,"longitude_deg":75.101248,"latitude_deg":12.39132,"altitude":74,"angle":158,"satellites":49,"speed":54,"hex_longitude":"2cc38a80","hex_latitude":"0762c3f0","is_valid_coordinates":true} 
[2026-08-02 21:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136066816001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367297331046907904,"note":"Value kept but may cause issues"} 
[2026-08-02 21:54:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4360610307477454848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785687768000,"timestamp_ms":1785687768000,"timestamp_seconds":1785687768,"priority":1,"record_length":96,"hex_timestamp":"0000019fc348fbc0"} 
[2026-08-02 21:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 21:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136066816001,"66":27343,"227":206,"27":54016,"24":54,"16":367297331046907904,"44":-4360610307477454848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-02 21:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136066816001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:54:29] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-02 21:54:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367297331046907904,"km_value":367297331046907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4360610307477454848,"description":"Unknown IO ID 44"} 
[2026-08-02 21:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136066816001,"power":27343,"unknown_227":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4360610307477454848}} 
[2026-08-02 21:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":147058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:54:29] local.INFO: GPS data processed {"connection_id":147058,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:54:29] local.INFO: Acknowledgment sent {"connection_id":147058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:55:00] local.INFO: TCP Data received {"connection_id":147058,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc34a2888012cc37dc00761b018003e00cf31..."} 
[2026-08-02 21:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc34a2888012cc37dc00761b018003e00cf31..."} 
[2026-08-02 21:55:00] local.INFO: Processing buffer {"connection_id":147058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc34a2888012cc37dc00761b018003e00cf31..."} 
[2026-08-02 21:55:00] local.INFO: Packet analysis {"connection_id":147058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc34a"} 
[2026-08-02 21:55:00] local.INFO: Extracted packet for processing {"connection_id":147058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc34a"} 
[2026-08-02 21:55:00] local.INFO: GPS Element Parsed {"raw_longitude":751009216,"raw_latitude":123842584,"longitude_deg":75.1009216,"latitude_deg":12.3842584,"altitude":62,"angle":207,"satellites":49,"speed":23,"hex_longitude":"2cc37dc0","hex_latitude":"0761b018","is_valid_coordinates":true} 
[2026-08-02 21:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136085504001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367300874394927104,"note":"Value kept but may cause issues"} 
[2026-08-02 21:55:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4357514082751789056,"note":"Value kept but may cause issues"} 
[2026-08-02 21:55:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,27,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 21:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785687845000,"timestamp_ms":1785687845000,"timestamp_seconds":1785687845,"priority":1,"record_length":96,"hex_timestamp":"0000019fc34a2888"} 
[2026-08-02 21:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 21:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136085504001,"66":27397,"24":23,"27":54016,"16":367300874394927104,"44":-4357514082751789056},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,27,16,44]} 
[2026-08-02 21:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136085504001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:55:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367300874394927104,"km_value":367300874394927.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:55:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4357514082751789056,"description":"Unknown IO ID 44"} 
[2026-08-02 21:55:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457136085504001,"power":27397,"ignition":23,"unknown_27":54016,"odometer":null,"unknown_44":-4357514082751789056}} 
[2026-08-02 21:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":147058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:55:00] local.INFO: GPS data processed {"connection_id":147058,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:55:00] local.INFO: Acknowledgment sent {"connection_id":147058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:55:23] local.INFO: TCP Data received {"connection_id":149400,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:55:23] local.INFO: Processing buffer {"connection_id":149400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:55:23] local.INFO: IMEI packet received {"connection_id":149400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":149400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 21:55:26] local.INFO: TCP Data received {"connection_id":149400,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:55:26] local.INFO: Processing buffer {"connection_id":149400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:55:26] local.INFO: IMEI packet received {"connection_id":149400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":149400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:55:28] local.INFO: TCP Data received {"connection_id":149400,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:55:28] local.INFO: Processing buffer {"connection_id":149400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:55:28] local.INFO: IMEI packet received {"connection_id":149400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 21:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":149400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 21:55:29] local.INFO: TCP Data received {"connection_id":149400,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc34a3828012cc37a000761a8b0003e00c230..."} 
[2026-08-02 21:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc34a3828012cc37a000761a8b0003e00c230..."} 
[2026-08-02 21:55:29] local.INFO: Processing buffer {"connection_id":149400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc34a3828012cc37a000761a8b0003e00c230..."} 
[2026-08-02 21:55:29] local.INFO: Packet analysis {"connection_id":149400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc34a"} 
[2026-08-02 21:55:29] local.INFO: Extracted packet for processing {"connection_id":149400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc34a"} 
[2026-08-02 21:55:29] local.INFO: GPS Element Parsed {"raw_longitude":751008256,"raw_latitude":123840688,"longitude_deg":75.1008256,"latitude_deg":12.3840688,"altitude":62,"angle":194,"satellites":48,"speed":23,"hex_longitude":"2cc37a00","hex_latitude":"0761a8b0","is_valid_coordinates":true} 
[2026-08-02 21:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136088320001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367300977474142208,"note":"Value kept but may cause issues"} 
[2026-08-02 21:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4360117726288537600,"note":"Value kept but may cause issues"} 
[2026-08-02 21:55:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,27,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 21:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785687849000,"timestamp_ms":1785687849000,"timestamp_seconds":1785687849,"priority":1,"record_length":96,"hex_timestamp":"0000019fc34a3828"} 
[2026-08-02 21:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 21:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:55:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136088320001,"66":27267,"24":23,"27":54016,"16":367300977474142208,"44":-4360117726288537600},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,27,16,44]} 
[2026-08-02 21:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136088320001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:55:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367300977474142208,"km_value":367300977474142.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4360117726288537600,"description":"Unknown IO ID 44"} 
[2026-08-02 21:55:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457136088320001,"power":27267,"ignition":23,"unknown_27":54016,"odometer":null,"unknown_44":-4360117726288537600}} 
[2026-08-02 21:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":149400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:55:29] local.INFO: GPS data processed {"connection_id":149400,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:55:29] local.INFO: Acknowledgment sent {"connection_id":149400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:55:34] local.INFO: TCP Data received {"connection_id":149400,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc34a5f38012cc37640076189e0003d00b630..."} 
[2026-08-02 21:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc34a5f38012cc37640076189e0003d00b630..."} 
[2026-08-02 21:55:34] local.INFO: Processing buffer {"connection_id":149400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc34a5f38012cc37640076189e0003d00b630..."} 
[2026-08-02 21:55:34] local.INFO: Packet analysis {"connection_id":149400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc34a"} 
[2026-08-02 21:55:34] local.INFO: Extracted packet for processing {"connection_id":149400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc34a"} 
[2026-08-02 21:55:34] local.INFO: GPS Element Parsed {"raw_longitude":751007296,"raw_latitude":123832800,"longitude_deg":75.1007296,"latitude_deg":12.38328,"altitude":61,"angle":182,"satellites":48,"speed":36,"hex_longitude":"2cc37640","hex_latitude":"076189e0","is_valid_coordinates":true} 
[2026-08-02 21:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136089344001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367301364021198848,"note":"Value kept but may cause issues"} 
[2026-08-02 21:55:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4361173257451687936,"note":"Value kept but may cause issues"} 
[2026-08-02 21:55:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,27,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 21:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785687859000,"timestamp_ms":1785687859000,"timestamp_seconds":1785687859,"priority":1,"record_length":96,"hex_timestamp":"0000019fc34a5f38"} 
[2026-08-02 21:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 21:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 21:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136089344001,"66":27397,"24":36,"27":54016,"16":367301364021198848,"44":-4361173257451687936},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,27,16,44]} 
[2026-08-02 21:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136089344001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:55:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367301364021198848,"km_value":367301364021198.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:55:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4361173257451687936,"description":"Unknown IO ID 44"} 
[2026-08-02 21:55:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457136089344001,"power":27397,"ignition":36,"unknown_27":54016,"odometer":null,"unknown_44":-4361173257451687936}} 
[2026-08-02 21:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":149400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:55:34] local.INFO: GPS data processed {"connection_id":149400,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:55:34] local.INFO: Acknowledgment sent {"connection_id":149400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:56:36] local.INFO: TCP Data received {"connection_id":149400,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc34a8648012cc3760007616370003d00b331..."} 
[2026-08-02 21:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc34a8648012cc3760007616370003d00b331..."} 
[2026-08-02 21:56:36] local.INFO: Processing buffer {"connection_id":149400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc34a8648012cc3760007616370003d00b331..."} 
[2026-08-02 21:56:36] local.INFO: Packet analysis {"connection_id":149400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc34a"} 
[2026-08-02 21:56:36] local.INFO: Extracted packet for processing {"connection_id":149400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc34a"} 
[2026-08-02 21:56:36] local.INFO: GPS Element Parsed {"raw_longitude":751007232,"raw_latitude":123822960,"longitude_deg":75.1007232,"latitude_deg":12.382296,"altitude":61,"angle":179,"satellites":49,"speed":39,"hex_longitude":"2cc37600","hex_latitude":"07616370","is_valid_coordinates":true} 
[2026-08-02 21:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 21:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136091904001,"note":"Value kept but may cause issues"} 
[2026-08-02 21:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367301840762568704,"note":"Value kept but may cause issues"} 
[2026-08-02 21:56:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4362228788616372224,"note":"Value kept but may cause issues"} 
[2026-08-02 21:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 21:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785687869000,"timestamp_ms":1785687869000,"timestamp_seconds":1785687869,"priority":1,"record_length":96,"hex_timestamp":"0000019fc34a8648"} 
[2026-08-02 21:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 21:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 21:56: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-08-02 21:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 21:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 21:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 21:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 21:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 21:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 21:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 21:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 21:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136091904001,"66":27343,"23":206,"27":54016,"24":39,"16":367301840762568704,"44":-4362228788616372224},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,27,24,16,44]} 
[2026-08-02 21:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 21:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 21:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136091904001,"description":"Unknown IO ID 0"} 
[2026-08-02 21:56:36] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-02 21:56:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-02 21:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367301840762568704,"km_value":367301840762568.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 21:56:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4362228788616372224,"description":"Unknown IO ID 44"} 
[2026-08-02 21:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136091904001,"power":27343,"unknown_23":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-4362228788616372224}} 
[2026-08-02 21:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":149400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 21:56:36] local.INFO: GPS data processed {"connection_id":149400,"processed":1,"errors":0,"total":1} 
[2026-08-02 21:56:36] local.INFO: Acknowledgment sent {"connection_id":149400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 21:56:39] local.INFO: TCP Data received {"connection_id":148098,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:56:39] local.INFO: Processing buffer {"connection_id":148098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 21:56:39] local.INFO: IMEI packet received {"connection_id":148098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 21:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":148098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:01:43] local.INFO: TCP Data received {"connection_id":147060,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:01:43] local.INFO: Processing buffer {"connection_id":147060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:01:43] local.INFO: IMEI packet received {"connection_id":147060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":147060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:01:45] local.INFO: TCP Data received {"connection_id":147060,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc34ff100012cc37240075c1e80001a008a31..."} 
[2026-08-02 22:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc34ff100012cc37240075c1e80001a008a31..."} 
[2026-08-02 22:01:45] local.INFO: Processing buffer {"connection_id":147060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc34ff100012cc37240075c1e80001a008a31..."} 
[2026-08-02 22:01:45] local.INFO: Packet analysis {"connection_id":147060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc34f"} 
[2026-08-02 22:01:45] local.INFO: Extracted packet for processing {"connection_id":147060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc34f"} 
[2026-08-02 22:01:45] local.INFO: GPS Element Parsed {"raw_longitude":751006272,"raw_latitude":123477632,"longitude_deg":75.1006272,"latitude_deg":12.3477632,"altitude":26,"angle":138,"satellites":49,"speed":35,"hex_longitude":"2cc37240","hex_latitude":"075c1e80","is_valid_coordinates":true} 
[2026-08-02 22:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136182528001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367321425813438464,"note":"Value kept but may cause issues"} 
[2026-08-02 22:01:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4370180456797564928,"note":"Value kept but may cause issues"} 
[2026-08-02 22:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785688224000,"timestamp_ms":1785688224000,"timestamp_seconds":1785688224,"priority":1,"record_length":96,"hex_timestamp":"0000019fc34ff100"} 
[2026-08-02 22:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 22:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":147060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":147060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":147060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136182528001,"66":27376,"176":206,"2":54016,"24":35,"16":367321425813438464,"44":-4370180456797564928},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,2,24,16,44]} 
[2026-08-02 22:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136182528001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:01:45] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-02 22:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367321425813438464,"km_value":367321425813438.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:01:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4370180456797564928,"description":"Unknown IO ID 44"} 
[2026-08-02 22:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136182528001,"power":27376,"unknown_176":206,"power_alt":54016,"ignition":35,"odometer":null,"unknown_44":-4370180456797564928}} 
[2026-08-02 22:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":147060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:01:45] local.INFO: GPS data processed {"connection_id":147060,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:01:45] local.INFO: Acknowledgment sent {"connection_id":147060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:02:23] local.INFO: TCP Data received {"connection_id":148100,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:02:23] local.INFO: Processing buffer {"connection_id":148100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:02:23] local.INFO: IMEI packet received {"connection_id":148100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":148100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:02:25] local.INFO: TCP Data received {"connection_id":148100,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:02:25] local.INFO: Processing buffer {"connection_id":148100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:02:25] local.INFO: IMEI packet received {"connection_id":148100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":148100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:02:33] local.INFO: TCP Data received {"connection_id":148100,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:02:33] local.INFO: Processing buffer {"connection_id":148100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:02:33] local.INFO: IMEI packet received {"connection_id":148100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":148100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:02:35] local.INFO: TCP Data received {"connection_id":148100,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3501810012cc38a00075c0368001d008930..."} 
[2026-08-02 22:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3501810012cc38a00075c0368001d008930..."} 
[2026-08-02 22:02:35] local.INFO: Processing buffer {"connection_id":148100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3501810012cc38a00075c0368001d008930..."} 
[2026-08-02 22:02:35] local.INFO: Packet analysis {"connection_id":148100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc350"} 
[2026-08-02 22:02:35] local.INFO: Extracted packet for processing {"connection_id":148100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc350"} 
[2026-08-02 22:02:35] local.INFO: GPS Element Parsed {"raw_longitude":751012352,"raw_latitude":123470696,"longitude_deg":75.1012352,"latitude_deg":12.3470696,"altitude":29,"angle":137,"satellites":48,"speed":36,"hex_longitude":"2cc38a00","hex_latitude":"075c0368","is_valid_coordinates":true} 
[2026-08-02 22:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136185344001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367321868195069952,"note":"Value kept but may cause issues"} 
[2026-08-02 22:02:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4363354688614137856,"note":"Value kept but may cause issues"} 
[2026-08-02 22:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785688234000,"timestamp_ms":1785688234000,"timestamp_seconds":1785688234,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3501810"} 
[2026-08-02 22:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136185344001,"66":27365,"176":206,"2":54016,"24":36,"16":367321868195069952,"44":-4363354688614137856},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,2,24,16,44]} 
[2026-08-02 22:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136185344001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:02:35] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-02 22:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367321868195069952,"km_value":367321868195069.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:02:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4363354688614137856,"description":"Unknown IO ID 44"} 
[2026-08-02 22:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136185344001,"power":27365,"unknown_176":206,"power_alt":54016,"ignition":36,"odometer":null,"unknown_44":-4363354688614137856}} 
[2026-08-02 22:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":148100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:02:35] local.INFO: GPS data processed {"connection_id":148100,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:02:35] local.INFO: Acknowledgment sent {"connection_id":148100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:03:13] local.INFO: TCP Data received {"connection_id":148100,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3518b28012cc428c0075ad728002e008c30..."} 
[2026-08-02 22:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3518b28012cc428c0075ad728002e008c30..."} 
[2026-08-02 22:03:13] local.INFO: Processing buffer {"connection_id":148100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3518b28012cc428c0075ad728002e008c30..."} 
[2026-08-02 22:03:13] local.INFO: Packet analysis {"connection_id":148100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc351"} 
[2026-08-02 22:03:13] local.INFO: Extracted packet for processing {"connection_id":148100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc351"} 
[2026-08-02 22:03:13] local.INFO: GPS Element Parsed {"raw_longitude":751052992,"raw_latitude":123393832,"longitude_deg":75.1052992,"latitude_deg":12.3393832,"altitude":46,"angle":140,"satellites":48,"speed":34,"hex_longitude":"2cc428c0","hex_latitude":"075ad728","is_valid_coordinates":true} 
[2026-08-02 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-08-02 22:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136209408001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367326296306352128,"note":"Value kept but may cause issues"} 
[2026-08-02 22:03:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4318811273569204224,"note":"Value kept but may cause issues"} 
[2026-08-02 22:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785688329000,"timestamp_ms":1785688329000,"timestamp_seconds":1785688329,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3518b28"} 
[2026-08-02 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-08-02 22:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-02 22:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 22:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136209408001,"66":27234,"174":206,"2":54016,"24":34,"16":367326296306352128,"44":-4318811273569204224},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-08-02 22:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136209408001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:03:13] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-02 22:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367326296306352128,"km_value":367326296306352.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:03:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4318811273569204224,"description":"Unknown IO ID 44"} 
[2026-08-02 22:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136209408001,"power":27234,"unknown_174":206,"power_alt":54016,"ignition":34,"odometer":null,"unknown_44":-4318811273569204224}} 
[2026-08-02 22:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":148100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:03:13] local.INFO: GPS data processed {"connection_id":148100,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:03:13] local.INFO: Acknowledgment sent {"connection_id":148100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:03:33] local.INFO: TCP Data received {"connection_id":147061,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:03:33] local.INFO: Processing buffer {"connection_id":147061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:03:33] local.INFO: IMEI packet received {"connection_id":147061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":147061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:03:39] local.INFO: TCP Data received {"connection_id":147061,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:03:39] local.INFO: Processing buffer {"connection_id":147061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:03:39] local.INFO: IMEI packet received {"connection_id":147061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":147061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:03:40] local.INFO: TCP Data received {"connection_id":147061,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc351b238012cc44040075abc28002f008930..."} 
[2026-08-02 22:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc351b238012cc44040075abc28002f008930..."} 
[2026-08-02 22:03:40] local.INFO: Processing buffer {"connection_id":147061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc351b238012cc44040075abc28002f008930..."} 
[2026-08-02 22:03:40] local.INFO: Packet analysis {"connection_id":147061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc351"} 
[2026-08-02 22:03:40] local.INFO: Extracted packet for processing {"connection_id":147061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc351"} 
[2026-08-02 22:03:40] local.INFO: GPS Element Parsed {"raw_longitude":751059008,"raw_latitude":123386920,"longitude_deg":75.1059008,"latitude_deg":12.338692,"altitude":47,"angle":137,"satellites":48,"speed":38,"hex_longitude":"2cc44040","hex_latitude":"075abc28","is_valid_coordinates":true} 
[2026-08-02 22:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136212224001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367326734393016320,"note":"Value kept but may cause issues"} 
[2026-08-02 22:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4311985505385895936,"note":"Value kept but may cause issues"} 
[2026-08-02 22:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785688339000,"timestamp_ms":1785688339000,"timestamp_seconds":1785688339,"priority":1,"record_length":96,"hex_timestamp":"0000019fc351b238"} 
[2026-08-02 22:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-02 22:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136212224001,"66":27463,"174":206,"2":54016,"24":38,"16":367326734393016320,"44":-4311985505385895936},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-08-02 22:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136212224001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:03:40] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-02 22:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367326734393016320,"km_value":367326734393016.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4311985505385895936,"description":"Unknown IO ID 44"} 
[2026-08-02 22:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136212224001,"power":27463,"unknown_174":206,"power_alt":54016,"ignition":38,"odometer":null,"unknown_44":-4311985505385895936}} 
[2026-08-02 22:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":147061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:03:40] local.INFO: GPS data processed {"connection_id":147061,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:03:40] local.INFO: Acknowledgment sent {"connection_id":147061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:04:23] local.INFO: TCP Data received {"connection_id":149403,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:04:23] local.INFO: Processing buffer {"connection_id":149403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:04:23] local.INFO: IMEI packet received {"connection_id":149403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":149403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:04:28] local.INFO: TCP Data received {"connection_id":149403,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:04:28] local.INFO: Processing buffer {"connection_id":149403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:04:28] local.INFO: IMEI packet received {"connection_id":149403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":149403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:04:30] local.INFO: TCP Data received {"connection_id":149403,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc351d560012cc458c0075aa2a0002f008832..."} 
[2026-08-02 22:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc351d560012cc458c0075aa2a0002f008832..."} 
[2026-08-02 22:04:30] local.INFO: Processing buffer {"connection_id":149403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc351d560012cc458c0075aa2a0002f008832..."} 
[2026-08-02 22:04:30] local.INFO: Packet analysis {"connection_id":149403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc351"} 
[2026-08-02 22:04:30] local.INFO: Extracted packet for processing {"connection_id":149403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc351"} 
[2026-08-02 22:04:30] local.INFO: GPS Element Parsed {"raw_longitude":751065280,"raw_latitude":123380384,"longitude_deg":75.106528,"latitude_deg":12.3380384,"altitude":47,"angle":136,"satellites":50,"speed":40,"hex_longitude":"2cc458c0","hex_latitude":"075aa2a0","is_valid_coordinates":true} 
[2026-08-02 22:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136214784001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367327168184713216,"note":"Value kept but may cause issues"} 
[2026-08-02 22:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4305370843434964992,"note":"Value kept but may cause issues"} 
[2026-08-02 22:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785688348000,"timestamp_ms":1785688348000,"timestamp_seconds":1785688348,"priority":1,"record_length":96,"hex_timestamp":"0000019fc351d560"} 
[2026-08-02 22:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 22:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136214784001,"66":27234,"174":206,"2":54016,"24":40,"16":367327168184713216,"44":-4305370843434964992},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-08-02 22:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136214784001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:04:30] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-02 22:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367327168184713216,"km_value":367327168184713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4305370843434964992,"description":"Unknown IO ID 44"} 
[2026-08-02 22:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136214784001,"power":27234,"unknown_174":206,"power_alt":54016,"ignition":40,"odometer":null,"unknown_44":-4305370843434964992}} 
[2026-08-02 22:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":149403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:04:30] local.INFO: GPS data processed {"connection_id":149403,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:04:30] local.INFO: Acknowledgment sent {"connection_id":149403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:05:01] local.INFO: TCP Data received {"connection_id":149403,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3535430012cc4e78007593da8002900b72e..."} 
[2026-08-02 22:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3535430012cc4e78007593da8002900b72e..."} 
[2026-08-02 22:05:01] local.INFO: Processing buffer {"connection_id":149403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3535430012cc4e78007593da8002900b72e..."} 
[2026-08-02 22:05:01] local.INFO: Packet analysis {"connection_id":149403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc353"} 
[2026-08-02 22:05:01] local.INFO: Extracted packet for processing {"connection_id":149403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc353"} 
[2026-08-02 22:05:01] local.INFO: GPS Element Parsed {"raw_longitude":751101824,"raw_latitude":123289000,"longitude_deg":75.1101824,"latitude_deg":12.3289,"altitude":41,"angle":183,"satellites":46,"speed":46,"hex_longitude":"2cc4e780","hex_latitude":"07593da8","is_valid_coordinates":true} 
[2026-08-02 22:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136241408001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367332055857496064,"note":"Value kept but may cause issues"} 
[2026-08-02 22:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4258434891092645888,"note":"Value kept but may cause issues"} 
[2026-08-02 22:05:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 22:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785688446000,"timestamp_ms":1785688446000,"timestamp_seconds":1785688446,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3535430"} 
[2026-08-02 22:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 22:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136241408001,"66":27267,"2":54016,"24":46,"16":367332055857496064,"44":-4258434891092645888},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,44]} 
[2026-08-02 22:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136241408001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367332055857496064,"km_value":367332055857496.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:05:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4258434891092645888,"description":"Unknown IO ID 44"} 
[2026-08-02 22:05:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457136241408001,"power":27267,"power_alt":54016,"ignition":46,"odometer":null,"unknown_44":-4258434891092645888}} 
[2026-08-02 22:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":149403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:05:01] local.INFO: GPS data processed {"connection_id":149403,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:05:01] local.INFO: Acknowledgment sent {"connection_id":149403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:05:23] local.INFO: TCP Data received {"connection_id":147062,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:05:23] local.INFO: Processing buffer {"connection_id":147062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:05:23] local.INFO: IMEI packet received {"connection_id":147062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":147062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:05:25] local.INFO: TCP Data received {"connection_id":147062,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:05:25] local.INFO: Processing buffer {"connection_id":147062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:05:25] local.INFO: IMEI packet received {"connection_id":147062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":147062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:05:28] local.INFO: TCP Data received {"connection_id":147062,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:05:28] local.INFO: Processing buffer {"connection_id":147062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:05:28] local.INFO: IMEI packet received {"connection_id":147062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":147062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:05:35] local.INFO: TCP Data received {"connection_id":147062,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3536ba0012cc4e28007592280002700c430..."} 
[2026-08-02 22:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3536ba0012cc4e28007592280002700c430..."} 
[2026-08-02 22:05:35] local.INFO: Processing buffer {"connection_id":147062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3536ba0012cc4e28007592280002700c430..."} 
[2026-08-02 22:05:35] local.INFO: Packet analysis {"connection_id":147062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc353"} 
[2026-08-02 22:05:35] local.INFO: Extracted packet for processing {"connection_id":147062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc353"} 
[2026-08-02 22:05:35] local.INFO: GPS Element Parsed {"raw_longitude":751100544,"raw_latitude":123282048,"longitude_deg":75.1100544,"latitude_deg":12.3282048,"altitude":39,"angle":196,"satellites":48,"speed":48,"hex_longitude":"2cc4e280","hex_latitude":"07592280","is_valid_coordinates":true} 
[2026-08-02 22:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136242176001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367332399454879744,"note":"Value kept but may cause issues"} 
[2026-08-02 22:05:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4258294153605175296,"note":"Value kept but may cause issues"} 
[2026-08-02 22:05:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 22:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785688452000,"timestamp_ms":1785688452000,"timestamp_seconds":1785688452,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3536ba0"} 
[2026-08-02 22:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 22:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136242176001,"66":27267,"2":54016,"24":48,"16":367332399454879744,"44":-4258294153605175296},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,44]} 
[2026-08-02 22:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136242176001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367332399454879744,"km_value":367332399454879.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:05:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4258294153605175296,"description":"Unknown IO ID 44"} 
[2026-08-02 22:05:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457136242176001,"power":27267,"power_alt":54016,"ignition":48,"odometer":null,"unknown_44":-4258294153605175296}} 
[2026-08-02 22:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":147062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:05:35] local.INFO: GPS data processed {"connection_id":147062,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:05:35] local.INFO: Acknowledgment sent {"connection_id":147062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:06:06] local.INFO: TCP Data received {"connection_id":147062,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35386f8012cc4d7c007590078002500c430..."} 
[2026-08-02 22:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35386f8012cc4d7c007590078002500c430..."} 
[2026-08-02 22:06:06] local.INFO: Processing buffer {"connection_id":147062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35386f8012cc4d7c007590078002500c430..."} 
[2026-08-02 22:06:06] local.INFO: Packet analysis {"connection_id":147062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc353"} 
[2026-08-02 22:06:06] local.INFO: Extracted packet for processing {"connection_id":147062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc353"} 
[2026-08-02 22:06:06] local.INFO: GPS Element Parsed {"raw_longitude":751097792,"raw_latitude":123273336,"longitude_deg":75.1097792,"latitude_deg":12.3273336,"altitude":37,"angle":196,"satellites":48,"speed":54,"hex_longitude":"2cc4d7c0","hex_latitude":"07590078","is_valid_coordinates":true} 
[2026-08-02 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-08-02 22:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136243712001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367332841836511232,"note":"Value kept but may cause issues"} 
[2026-08-02 22:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4259701528490508288,"note":"Value kept but may cause issues"} 
[2026-08-02 22:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785688459000,"timestamp_ms":1785688459000,"timestamp_seconds":1785688459,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35386f8"} 
[2026-08-02 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-08-02 22:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 22:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 22:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136243712001,"66":27365,"177":206,"2":54016,"24":54,"16":367332841836511232,"44":-4259701528490508288},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,2,24,16,44]} 
[2026-08-02 22:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136243712001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:06:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-02 22:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367332841836511232,"km_value":367332841836511.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4259701528490508288,"description":"Unknown IO ID 44"} 
[2026-08-02 22:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136243712001,"power":27365,"unknown_177":206,"power_alt":54016,"ignition":54,"odometer":null,"unknown_44":-4259701528490508288}} 
[2026-08-02 22:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":147062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:06:06] local.INFO: GPS data processed {"connection_id":147062,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:06:06] local.INFO: Acknowledgment sent {"connection_id":147062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:06:23] local.INFO: TCP Data received {"connection_id":148101,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:06:23] local.INFO: Processing buffer {"connection_id":148101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:06:23] local.INFO: IMEI packet received {"connection_id":148101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":148101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:06:27] local.INFO: TCP Data received {"connection_id":148101,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:06:27] local.INFO: Processing buffer {"connection_id":148101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:06:27] local.INFO: IMEI packet received {"connection_id":148101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":148101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:06:32] local.INFO: TCP Data received {"connection_id":148101,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:06:32] local.INFO: Processing buffer {"connection_id":148101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:06:32] local.INFO: IMEI packet received {"connection_id":148101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":148101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:06:34] local.INFO: TCP Data received {"connection_id":148101,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc353a250012cc4cb800758dc38002200c631..."} 
[2026-08-02 22:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc353a250012cc4cb800758dc38002200c631..."} 
[2026-08-02 22:06:34] local.INFO: Processing buffer {"connection_id":148101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc353a250012cc4cb800758dc38002200c631..."} 
[2026-08-02 22:06:34] local.INFO: Packet analysis {"connection_id":148101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc353"} 
[2026-08-02 22:06:34] local.INFO: Extracted packet for processing {"connection_id":148101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc353"} 
[2026-08-02 22:06:34] local.INFO: GPS Element Parsed {"raw_longitude":751094656,"raw_latitude":123264056,"longitude_deg":75.1094656,"latitude_deg":12.3264056,"altitude":34,"angle":198,"satellites":49,"speed":56,"hex_longitude":"2cc4cb80","hex_latitude":"0758dc38","is_valid_coordinates":true} 
[2026-08-02 22:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136245504001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367333318577881088,"note":"Value kept but may cause issues"} 
[2026-08-02 22:06:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4262727384492378112,"note":"Value kept but may cause issues"} 
[2026-08-02 22:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785688466000,"timestamp_ms":1785688466000,"timestamp_seconds":1785688466,"priority":1,"record_length":96,"hex_timestamp":"0000019fc353a250"} 
[2026-08-02 22:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 22:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136245504001,"66":27376,"177":206,"2":54016,"24":56,"16":367333318577881088,"44":-4262727384492378112},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,2,24,16,44]} 
[2026-08-02 22:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136245504001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:06:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-02 22:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367333318577881088,"km_value":367333318577881.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:06:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4262727384492378112,"description":"Unknown IO ID 44"} 
[2026-08-02 22:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136245504001,"power":27376,"unknown_177":206,"power_alt":54016,"ignition":56,"odometer":null,"unknown_44":-4262727384492378112}} 
[2026-08-02 22:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":148101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:06:34] local.INFO: GPS data processed {"connection_id":148101,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:06:34] local.INFO: Acknowledgment sent {"connection_id":148101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:06:35] local.INFO: TCP Data received {"connection_id":148101,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc353bda8012cc4bec00758b750001f00c631..."} 
[2026-08-02 22:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc353bda8012cc4bec00758b750001f00c631..."} 
[2026-08-02 22:06:35] local.INFO: Processing buffer {"connection_id":148101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc353bda8012cc4bec00758b750001f00c631..."} 
[2026-08-02 22:06:35] local.INFO: Packet analysis {"connection_id":148101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc353"} 
[2026-08-02 22:06:35] local.INFO: Extracted packet for processing {"connection_id":148101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc353"} 
[2026-08-02 22:06:35] local.INFO: GPS Element Parsed {"raw_longitude":751091392,"raw_latitude":123254608,"longitude_deg":75.1091392,"latitude_deg":12.3254608,"altitude":31,"angle":198,"satellites":49,"speed":56,"hex_longitude":"2cc4bec0","hex_latitude":"0758b750","is_valid_coordinates":true} 
[2026-08-02 22:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136247296001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367333799614218240,"note":"Value kept but may cause issues"} 
[2026-08-02 22:06:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4266175452959459328,"note":"Value kept but may cause issues"} 
[2026-08-02 22:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785688473000,"timestamp_ms":1785688473000,"timestamp_seconds":1785688473,"priority":1,"record_length":96,"hex_timestamp":"0000019fc353bda8"} 
[2026-08-02 22:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136247296001,"66":27376,"177":206,"2":54016,"24":56,"16":367333799614218240,"44":-4266175452959459328},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,2,24,16,44]} 
[2026-08-02 22:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136247296001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:06:35] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-02 22:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367333799614218240,"km_value":367333799614218.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:06:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4266175452959459328,"description":"Unknown IO ID 44"} 
[2026-08-02 22:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136247296001,"power":27376,"unknown_177":206,"power_alt":54016,"ignition":56,"odometer":null,"unknown_44":-4266175452959459328}} 
[2026-08-02 22:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":148101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:06:35] local.INFO: GPS data processed {"connection_id":148101,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:06:35] local.INFO: Acknowledgment sent {"connection_id":148101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:07:07] local.INFO: TCP Data received {"connection_id":148101,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3552cd8012cc43500075710c8001900c62d..."} 
[2026-08-02 22:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3552cd8012cc43500075710c8001900c62d..."} 
[2026-08-02 22:07:07] local.INFO: Processing buffer {"connection_id":148101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3552cd8012cc43500075710c8001900c62d..."} 
[2026-08-02 22:07:07] local.INFO: Packet analysis {"connection_id":148101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc355"} 
[2026-08-02 22:07:07] local.INFO: Extracted packet for processing {"connection_id":148101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc355"} 
[2026-08-02 22:07:07] local.INFO: GPS Element Parsed {"raw_longitude":751056128,"raw_latitude":123146440,"longitude_deg":75.1056128,"latitude_deg":12.314644,"altitude":25,"angle":198,"satellites":45,"speed":46,"hex_longitude":"2cc43500","hex_latitude":"075710c8","is_valid_coordinates":true} 
[2026-08-02 22:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136270848001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367339331532095488,"note":"Value kept but may cause issues"} 
[2026-08-02 22:07:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4305089368517498880,"note":"Value kept but may cause issues"} 
[2026-08-02 22:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785688567000,"timestamp_ms":1785688567000,"timestamp_seconds":1785688567,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3552cd8"} 
[2026-08-02 22:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 22:07: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-08-02 22:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136270848001,"66":27213,"3":206,"2":54016,"24":46,"16":367339331532095488,"44":-4305089368517498880},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,2,24,16,44]} 
[2026-08-02 22:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136270848001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:07:07] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-02 22:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367339331532095488,"km_value":367339331532095.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:07:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4305089368517498880,"description":"Unknown IO ID 44"} 
[2026-08-02 22:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136270848001,"power":27213,"unknown_3":206,"power_alt":54016,"ignition":46,"odometer":null,"unknown_44":-4305089368517498880}} 
[2026-08-02 22:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":148101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:07:07] local.INFO: GPS data processed {"connection_id":148101,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:07:07] local.INFO: Acknowledgment sent {"connection_id":148101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:07:23] local.INFO: TCP Data received {"connection_id":146840,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:07:23] local.INFO: Processing buffer {"connection_id":146840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:07:23] local.INFO: IMEI packet received {"connection_id":146840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":146840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:07:27] local.INFO: TCP Data received {"connection_id":146840,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:07:27] local.INFO: Processing buffer {"connection_id":146840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:07:27] local.INFO: IMEI packet received {"connection_id":146840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":146840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:07:28] local.INFO: TCP Data received {"connection_id":146840,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:07:28] local.INFO: Processing buffer {"connection_id":146840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:07:28] local.INFO: IMEI packet received {"connection_id":146840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":146840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:07:29] local.INFO: TCP Data received {"connection_id":146840,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3554c18012cc427400756ec08001700c92f..."} 
[2026-08-02 22:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3554c18012cc427400756ec08001700c92f..."} 
[2026-08-02 22:07:29] local.INFO: Processing buffer {"connection_id":146840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3554c18012cc427400756ec08001700c92f..."} 
[2026-08-02 22:07:29] local.INFO: Packet analysis {"connection_id":146840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc355"} 
[2026-08-02 22:07:29] local.INFO: Extracted packet for processing {"connection_id":146840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc355"} 
[2026-08-02 22:07:29] local.INFO: GPS Element Parsed {"raw_longitude":751052608,"raw_latitude":123137032,"longitude_deg":75.1052608,"latitude_deg":12.3137032,"altitude":23,"angle":201,"satellites":47,"speed":52,"hex_longitude":"2cc42740","hex_latitude":"0756ec08","is_valid_coordinates":true} 
[2026-08-02 22: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-08-02 22:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136273152001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367339816863399936,"note":"Value kept but may cause issues"} 
[2026-08-02 22:07:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4308537436984522752,"note":"Value kept but may cause issues"} 
[2026-08-02 22:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785688575000,"timestamp_ms":1785688575000,"timestamp_seconds":1785688575,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3554c18"} 
[2026-08-02 22:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 22:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22: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-08-02 22:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136273152001,"66":27365,"3":206,"2":54016,"24":52,"16":367339816863399936,"44":-4308537436984522752},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,2,24,16,44]} 
[2026-08-02 22:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136273152001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:07:29] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-02 22:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367339816863399936,"km_value":367339816863399.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4308537436984522752,"description":"Unknown IO ID 44"} 
[2026-08-02 22:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136273152001,"power":27365,"unknown_3":206,"power_alt":54016,"ignition":52,"odometer":null,"unknown_44":-4308537436984522752}} 
[2026-08-02 22:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":146840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:07:29] local.INFO: GPS data processed {"connection_id":146840,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:07:29] local.INFO: Acknowledgment sent {"connection_id":146840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:07:33] local.INFO: TCP Data received {"connection_id":146840,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3556770012cc419800756c9c8001400c92e..."} 
[2026-08-02 22:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3556770012cc419800756c9c8001400c92e..."} 
[2026-08-02 22:07:33] local.INFO: Processing buffer {"connection_id":146840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3556770012cc419800756c9c8001400c92e..."} 
[2026-08-02 22:07:33] local.INFO: Packet analysis {"connection_id":146840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc355"} 
[2026-08-02 22:07:33] local.INFO: Extracted packet for processing {"connection_id":146840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc355"} 
[2026-08-02 22:07:33] local.INFO: GPS Element Parsed {"raw_longitude":751049088,"raw_latitude":123128264,"longitude_deg":75.1049088,"latitude_deg":12.3128264,"altitude":20,"angle":201,"satellites":46,"speed":54,"hex_longitude":"2cc41980","hex_latitude":"0756c9c8","is_valid_coordinates":true} 
[2026-08-02 22:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136275200001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367340272129933312,"note":"Value kept but may cause issues"} 
[2026-08-02 22:07:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4312407717916702720,"note":"Value kept but may cause issues"} 
[2026-08-02 22:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785688582000,"timestamp_ms":1785688582000,"timestamp_seconds":1785688582,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3556770"} 
[2026-08-02 22:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 22:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136275200001,"66":27365,"3":206,"2":54016,"24":54,"16":367340272129933312,"44":-4312407717916702720},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,2,24,16,44]} 
[2026-08-02 22:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136275200001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:07:33] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-02 22:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367340272129933312,"km_value":367340272129933.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:07:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4312407717916702720,"description":"Unknown IO ID 44"} 
[2026-08-02 22:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136275200001,"power":27365,"unknown_3":206,"power_alt":54016,"ignition":54,"odometer":null,"unknown_44":-4312407717916702720}} 
[2026-08-02 22:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":146840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:07:33] local.INFO: GPS data processed {"connection_id":146840,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:07:33] local.INFO: Acknowledgment sent {"connection_id":146840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:08:08] local.INFO: TCP Data received {"connection_id":146840,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35582c8012cc40e400756a4e8001100bc2f..."} 
[2026-08-02 22:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35582c8012cc40e400756a4e8001100bc2f..."} 
[2026-08-02 22:08:08] local.INFO: Processing buffer {"connection_id":146840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35582c8012cc40e400756a4e8001100bc2f..."} 
[2026-08-02 22:08:08] local.INFO: Packet analysis {"connection_id":146840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc355"} 
[2026-08-02 22:08:08] local.INFO: Extracted packet for processing {"connection_id":146840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc355"} 
[2026-08-02 22:08:08] local.INFO: GPS Element Parsed {"raw_longitude":751046208,"raw_latitude":123118824,"longitude_deg":75.1046208,"latitude_deg":12.3118824,"altitude":17,"angle":188,"satellites":47,"speed":56,"hex_longitude":"2cc40e40","hex_latitude":"0756a4e8","is_valid_coordinates":true} 
[2026-08-02 22: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-08-02 22:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136276992001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367340748871303168,"note":"Value kept but may cause issues"} 
[2026-08-02 22:08:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4316277998848718848,"note":"Value kept but may cause issues"} 
[2026-08-02 22:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785688589000,"timestamp_ms":1785688589000,"timestamp_seconds":1785688589,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35582c8"} 
[2026-08-02 22:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 22:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22: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-08-02 22:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136276992001,"66":27376,"212":206,"2":54016,"24":56,"16":367340748871303168,"44":-4316277998848718848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-08-02 22:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136276992001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:08:08] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-02 22:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367340748871303168,"km_value":367340748871303.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:08:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4316277998848718848,"description":"Unknown IO ID 44"} 
[2026-08-02 22:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136276992001,"power":27376,"unknown_212":206,"power_alt":54016,"ignition":56,"odometer":null,"unknown_44":-4316277998848718848}} 
[2026-08-02 22:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":146840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:08:08] local.INFO: GPS data processed {"connection_id":146840,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:08:08] local.INFO: Acknowledgment sent {"connection_id":146840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:08:25] local.INFO: TCP Data received {"connection_id":149404,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:08:25] local.INFO: Processing buffer {"connection_id":149404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:08:25] local.INFO: IMEI packet received {"connection_id":149404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":149404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:08:29] local.INFO: TCP Data received {"connection_id":149404,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:08:29] local.INFO: Processing buffer {"connection_id":149404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:08:29] local.INFO: IMEI packet received {"connection_id":149404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":149404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:08:33] local.INFO: TCP Data received {"connection_id":149404,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:08:33] local.INFO: Processing buffer {"connection_id":149404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:08:33] local.INFO: IMEI packet received {"connection_id":149404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":149404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:08:34] local.INFO: TCP Data received {"connection_id":149404,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35582c8012cc40e400756a4e8001100bc2f..."} 
[2026-08-02 22:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35582c8012cc40e400756a4e8001100bc2f..."} 
[2026-08-02 22:08:34] local.INFO: Processing buffer {"connection_id":149404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35582c8012cc40e400756a4e8001100bc2f..."} 
[2026-08-02 22:08:34] local.INFO: Packet analysis {"connection_id":149404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc355"} 
[2026-08-02 22:08:34] local.INFO: Extracted packet for processing {"connection_id":149404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc355"} 
[2026-08-02 22:08:34] local.INFO: GPS Element Parsed {"raw_longitude":751046208,"raw_latitude":123118824,"longitude_deg":75.1046208,"latitude_deg":12.3118824,"altitude":17,"angle":188,"satellites":47,"speed":56,"hex_longitude":"2cc40e40","hex_latitude":"0756a4e8","is_valid_coordinates":true} 
[2026-08-02 22:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136278784001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367340748871303168,"note":"Value kept but may cause issues"} 
[2026-08-02 22:08:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4319444592339130368,"note":"Value kept but may cause issues"} 
[2026-08-02 22:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785688589000,"timestamp_ms":1785688589000,"timestamp_seconds":1785688589,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35582c8"} 
[2026-08-02 22:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136278784001,"66":27376,"212":206,"2":54016,"24":56,"16":367340748871303168,"44":-4319444592339130368},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-08-02 22:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136278784001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:08:34] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-02 22:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367340748871303168,"km_value":367340748871303.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:08:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4319444592339130368,"description":"Unknown IO ID 44"} 
[2026-08-02 22:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136278784001,"power":27376,"unknown_212":206,"power_alt":54016,"ignition":56,"odometer":null,"unknown_44":-4319444592339130368}} 
[2026-08-02 22:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":149404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:08:34] local.INFO: GPS data processed {"connection_id":149404,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:08:34] local.INFO: Acknowledgment sent {"connection_id":149404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:08:39] local.INFO: TCP Data received {"connection_id":149404,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3559650012cc40d0007568930000f00b02e..."} 
[2026-08-02 22:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3559650012cc40d0007568930000f00b02e..."} 
[2026-08-02 22:08:39] local.INFO: Processing buffer {"connection_id":149404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3559650012cc40d0007568930000f00b02e..."} 
[2026-08-02 22:08:39] local.INFO: Packet analysis {"connection_id":149404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc355"} 
[2026-08-02 22:08:39] local.INFO: Extracted packet for processing {"connection_id":149404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc355"} 
[2026-08-02 22:08:39] local.INFO: GPS Element Parsed {"raw_longitude":751045888,"raw_latitude":123111728,"longitude_deg":75.1045888,"latitude_deg":12.3111728,"altitude":15,"angle":176,"satellites":46,"speed":55,"hex_longitude":"2cc40d00","hex_latitude":"07568930","is_valid_coordinates":true} 
[2026-08-02 22: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-08-02 22:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136278784001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367341096763654144,"note":"Value kept but may cause issues"} 
[2026-08-02 22:08:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4319444592339130368,"note":"Value kept but may cause issues"} 
[2026-08-02 22:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785688594000,"timestamp_ms":1785688594000,"timestamp_seconds":1785688594,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3559650"} 
[2026-08-02 22:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22: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-08-02 22:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136278784001,"66":27343,"212":206,"2":54016,"24":55,"16":367341096763654144,"44":-4319444592339130368},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-08-02 22:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136278784001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:08:39] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-02 22:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367341096763654144,"km_value":367341096763654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:08:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4319444592339130368,"description":"Unknown IO ID 44"} 
[2026-08-02 22:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136278784001,"power":27343,"unknown_212":206,"power_alt":54016,"ignition":55,"odometer":null,"unknown_44":-4319444592339130368}} 
[2026-08-02 22:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":149404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:08:39] local.INFO: GPS data processed {"connection_id":149404,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:08:39] local.INFO: Acknowledgment sent {"connection_id":149404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:09:23] local.INFO: TCP Data received {"connection_id":147063,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:09:23] local.INFO: Processing buffer {"connection_id":147063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:09:23] local.INFO: IMEI packet received {"connection_id":147063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":147063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:09:24] local.INFO: TCP Data received {"connection_id":147063,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:09:24] local.INFO: Processing buffer {"connection_id":147063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:09:24] local.INFO: IMEI packet received {"connection_id":147063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":147063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:09:28] local.INFO: TCP Data received {"connection_id":147063,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:09:28] local.INFO: Processing buffer {"connection_id":147063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:09:28] local.INFO: IMEI packet received {"connection_id":147063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":147063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:09:30] local.INFO: TCP Data received {"connection_id":147063,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3574018012cc422c00754e158000a00bb31..."} 
[2026-08-02 22:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3574018012cc422c00754e158000a00bb31..."} 
[2026-08-02 22:09:30] local.INFO: Processing buffer {"connection_id":147063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3574018012cc422c00754e158000a00bb31..."} 
[2026-08-02 22:09:30] local.INFO: Packet analysis {"connection_id":147063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc357"} 
[2026-08-02 22:09:30] local.INFO: Extracted packet for processing {"connection_id":147063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc357"} 
[2026-08-02 22:09:30] local.INFO: GPS Element Parsed {"raw_longitude":751051456,"raw_latitude":123003224,"longitude_deg":75.1051456,"latitude_deg":12.3003224,"altitude":10,"angle":187,"satellites":49,"speed":54,"hex_longitude":"2cc422c0","hex_latitude":"0754e158","is_valid_coordinates":true} 
[2026-08-02 22:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136306176001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367346422523101184,"note":"Value kept but may cause issues"} 
[2026-08-02 22:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4312689192925239296,"note":"Value kept but may cause issues"} 
[2026-08-02 22:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785688703000,"timestamp_ms":1785688703000,"timestamp_seconds":1785688703,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3574018"} 
[2026-08-02 22:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-02 22:09:30] 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-08-02 22:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136306176001,"66":27310,"213":206,"2":54016,"24":54,"16":367346422523101184,"44":-4312689192925239296},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,2,24,16,44]} 
[2026-08-02 22:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136306176001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:09:30] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-02 22:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367346422523101184,"km_value":367346422523101.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4312689192925239296,"description":"Unknown IO ID 44"} 
[2026-08-02 22:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136306176001,"power":27310,"unknown_213":206,"power_alt":54016,"ignition":54,"odometer":null,"unknown_44":-4312689192925239296}} 
[2026-08-02 22:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":147063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:09:30] local.INFO: GPS data processed {"connection_id":147063,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:09:30] local.INFO: Acknowledgment sent {"connection_id":147063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:10:06] local.INFO: TCP Data received {"connection_id":147063,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3575b70012cc41a800754bd98000a00c730..."} 
[2026-08-02 22:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3575b70012cc41a800754bd98000a00c730..."} 
[2026-08-02 22:10:06] local.INFO: Processing buffer {"connection_id":147063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3575b70012cc41a800754bd98000a00c730..."} 
[2026-08-02 22:10:06] local.INFO: Packet analysis {"connection_id":147063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc357"} 
[2026-08-02 22:10:06] local.INFO: Extracted packet for processing {"connection_id":147063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc357"} 
[2026-08-02 22:10:06] local.INFO: GPS Element Parsed {"raw_longitude":751049344,"raw_latitude":122994072,"longitude_deg":75.1049344,"latitude_deg":12.2994072,"altitude":10,"angle":199,"satellites":48,"speed":52,"hex_longitude":"2cc41a80","hex_latitude":"0754bd98","is_valid_coordinates":true} 
[2026-08-02 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-08-02 22:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136307968001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367346877789634560,"note":"Value kept but may cause issues"} 
[2026-08-02 22:10:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4313674355346155520,"note":"Value kept but may cause issues"} 
[2026-08-02 22:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785688710000,"timestamp_ms":1785688710000,"timestamp_seconds":1785688710,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3575b70"} 
[2026-08-02 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-08-02 22:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-02 22:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 22:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136307968001,"66":27376,"213":206,"2":54016,"24":52,"16":367346877789634560,"44":-4313674355346155520},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,2,24,16,44]} 
[2026-08-02 22:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136307968001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:10:06] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-02 22:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367346877789634560,"km_value":367346877789634.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:10:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4313674355346155520,"description":"Unknown IO ID 44"} 
[2026-08-02 22:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136307968001,"power":27376,"unknown_213":206,"power_alt":54016,"ignition":52,"odometer":null,"unknown_44":-4313674355346155520}} 
[2026-08-02 22:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":147063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:10:07] local.INFO: GPS data processed {"connection_id":147063,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:10:07] local.INFO: Acknowledgment sent {"connection_id":147063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:10:23] local.INFO: TCP Data received {"connection_id":146841,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:10:23] local.INFO: Processing buffer {"connection_id":146841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:10:23] local.INFO: IMEI packet received {"connection_id":146841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":146841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:10:25] local.INFO: TCP Data received {"connection_id":146841,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:10:25] local.INFO: Processing buffer {"connection_id":146841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:10:25] local.INFO: IMEI packet received {"connection_id":146841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":146841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:10:28] local.INFO: TCP Data received {"connection_id":146841,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:10:28] local.INFO: Processing buffer {"connection_id":146841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:10:28] local.INFO: IMEI packet received {"connection_id":146841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":146841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:10:33] local.INFO: TCP Data received {"connection_id":146841,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3585188012cc3e8400753b358000e009b33..."} 
[2026-08-02 22:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3585188012cc3e8400753b358000e009b33..."} 
[2026-08-02 22:10:33] local.INFO: Processing buffer {"connection_id":146841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3585188012cc3e8400753b358000e009b33..."} 
[2026-08-02 22:10:33] local.INFO: Packet analysis {"connection_id":146841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc358"} 
[2026-08-02 22:10:33] local.INFO: Extracted packet for processing {"connection_id":146841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc358"} 
[2026-08-02 22:10:33] local.INFO: GPS Element Parsed {"raw_longitude":751036480,"raw_latitude":122925912,"longitude_deg":75.103648,"latitude_deg":12.2925912,"altitude":14,"angle":155,"satellites":51,"speed":55,"hex_longitude":"2cc3e840","hex_latitude":"0753b358","is_valid_coordinates":true} 
[2026-08-02 22:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136324096001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367350627296083968,"note":"Value kept but may cause issues"} 
[2026-08-02 22:10:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4334644241128654848,"note":"Value kept but may cause issues"} 
[2026-08-02 22:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785688773000,"timestamp_ms":1785688773000,"timestamp_seconds":1785688773,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3585188"} 
[2026-08-02 22:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 22:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136324096001,"66":27300,"246":206,"2":54016,"24":55,"16":367350627296083968,"44":-4334644241128654848},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-08-02 22:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136324096001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367350627296083968,"km_value":367350627296083.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:10:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4334644241128654848,"description":"Unknown IO ID 44"} 
[2026-08-02 22:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136324096001,"power":27300,"main_input_voltage":206,"power_alt":54016,"ignition":55,"odometer":null,"unknown_44":-4334644241128654848}} 
[2026-08-02 22:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":146841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:10:33] local.INFO: GPS data processed {"connection_id":146841,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:10:33] local.INFO: Acknowledgment sent {"connection_id":146841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:11:05] local.INFO: TCP Data received {"connection_id":146841,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3586ce0012cc3f6c007539068000d009e32..."} 
[2026-08-02 22:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3586ce0012cc3f6c007539068000d009e32..."} 
[2026-08-02 22:11:05] local.INFO: Processing buffer {"connection_id":146841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3586ce0012cc3f6c007539068000d009e32..."} 
[2026-08-02 22:11:05] local.INFO: Packet analysis {"connection_id":146841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc358"} 
[2026-08-02 22:11:05] local.INFO: Extracted packet for processing {"connection_id":146841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc358"} 
[2026-08-02 22:11:05] local.INFO: GPS Element Parsed {"raw_longitude":751040192,"raw_latitude":122916968,"longitude_deg":75.1040192,"latitude_deg":12.2916968,"altitude":13,"angle":158,"satellites":50,"speed":54,"hex_longitude":"2cc3f6c0","hex_latitude":"07539068","is_valid_coordinates":true} 
[2026-08-02 22:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136325888001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367351095447519232,"note":"Value kept but may cause issues"} 
[2026-08-02 22:11:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4330140641503520768,"note":"Value kept but may cause issues"} 
[2026-08-02 22:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785688780000,"timestamp_ms":1785688780000,"timestamp_seconds":1785688780,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3586ce0"} 
[2026-08-02 22:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 22:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136325888001,"66":27343,"246":206,"2":54016,"24":54,"16":367351095447519232,"44":-4330140641503520768},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-08-02 22:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136325888001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367351095447519232,"km_value":367351095447519.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:11:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4330140641503520768,"description":"Unknown IO ID 44"} 
[2026-08-02 22:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136325888001,"power":27343,"main_input_voltage":206,"power_alt":54016,"ignition":54,"odometer":null,"unknown_44":-4330140641503520768}} 
[2026-08-02 22:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":146841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:11:05] local.INFO: GPS data processed {"connection_id":146841,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:11:05] local.INFO: Acknowledgment sent {"connection_id":146841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:11:23] local.INFO: TCP Data received {"connection_id":148102,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:11:23] local.INFO: Processing buffer {"connection_id":148102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:11:23] local.INFO: IMEI packet received {"connection_id":148102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":148102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:11:27] local.INFO: TCP Data received {"connection_id":148102,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:11:27] local.INFO: Processing buffer {"connection_id":148102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:11:27] local.INFO: IMEI packet received {"connection_id":148102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":148102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:11:28] local.INFO: TCP Data received {"connection_id":148102,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:11:28] local.INFO: Processing buffer {"connection_id":148102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:11:28] local.INFO: IMEI packet received {"connection_id":148102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":148102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:11:29] local.INFO: TCP Data received {"connection_id":148102,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3588838012cc4038007536ff0000c009f31..."} 
[2026-08-02 22:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3588838012cc4038007536ff0000c009f31..."} 
[2026-08-02 22:11:29] local.INFO: Processing buffer {"connection_id":148102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3588838012cc4038007536ff0000c009f31..."} 
[2026-08-02 22:11:29] local.INFO: Packet analysis {"connection_id":148102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc358"} 
[2026-08-02 22:11:29] local.INFO: Extracted packet for processing {"connection_id":148102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc358"} 
[2026-08-02 22:11:29] local.INFO: GPS Element Parsed {"raw_longitude":751043456,"raw_latitude":122908656,"longitude_deg":75.1043456,"latitude_deg":12.2908656,"altitude":12,"angle":159,"satellites":49,"speed":48,"hex_longitude":"2cc40380","hex_latitude":"07536ff0","is_valid_coordinates":true} 
[2026-08-02 22:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136327680001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367351529239216128,"note":"Value kept but may cause issues"} 
[2026-08-02 22:11:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4326059254343505920,"note":"Value kept but may cause issues"} 
[2026-08-02 22:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785688787000,"timestamp_ms":1785688787000,"timestamp_seconds":1785688787,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3588838"} 
[2026-08-02 22:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 22:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136327680001,"66":27343,"246":206,"2":54016,"24":48,"16":367351529239216128,"44":-4326059254343505920},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-08-02 22:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136327680001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367351529239216128,"km_value":367351529239216.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:11:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4326059254343505920,"description":"Unknown IO ID 44"} 
[2026-08-02 22:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136327680001,"power":27343,"main_input_voltage":206,"power_alt":54016,"ignition":48,"odometer":null,"unknown_44":-4326059254343505920}} 
[2026-08-02 22:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":148102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:11:29] local.INFO: GPS data processed {"connection_id":148102,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:11:29] local.INFO: Acknowledgment sent {"connection_id":148102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:11:34] local.INFO: TCP Data received {"connection_id":148102,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc358a778012cc4118007534dc0000b009d32..."} 
[2026-08-02 22:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc358a778012cc4118007534dc0000b009d32..."} 
[2026-08-02 22:11:34] local.INFO: Processing buffer {"connection_id":148102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc358a778012cc4118007534dc0000b009d32..."} 
[2026-08-02 22:11:34] local.INFO: Packet analysis {"connection_id":148102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc358"} 
[2026-08-02 22:11:34] local.INFO: Extracted packet for processing {"connection_id":148102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc358"} 
[2026-08-02 22:11:34] local.INFO: GPS Element Parsed {"raw_longitude":751047040,"raw_latitude":122899904,"longitude_deg":75.104704,"latitude_deg":12.2899904,"altitude":11,"angle":157,"satellites":50,"speed":47,"hex_longitude":"2cc41180","hex_latitude":"07534dc0","is_valid_coordinates":true} 
[2026-08-02 22:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136329472001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367351984505749504,"note":"Value kept but may cause issues"} 
[2026-08-02 22:11:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4322470448392572928,"note":"Value kept but may cause issues"} 
[2026-08-02 22:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785688795000,"timestamp_ms":1785688795000,"timestamp_seconds":1785688795,"priority":1,"record_length":96,"hex_timestamp":"0000019fc358a778"} 
[2026-08-02 22:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 22:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136329472001,"66":27267,"246":206,"2":54016,"24":47,"16":367351984505749504,"44":-4322470448392572928},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-08-02 22:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136329472001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367351984505749504,"km_value":367351984505749.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:11:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4322470448392572928,"description":"Unknown IO ID 44"} 
[2026-08-02 22:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136329472001,"power":27267,"main_input_voltage":206,"power_alt":54016,"ignition":47,"odometer":null,"unknown_44":-4322470448392572928}} 
[2026-08-02 22:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":148102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:11:34] local.INFO: GPS data processed {"connection_id":148102,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:11:34] local.INFO: Acknowledgment sent {"connection_id":148102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:12:05] local.INFO: TCP Data received {"connection_id":148102,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc358c6b8012cc4208007532908000b009d31..."} 
[2026-08-02 22:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc358c6b8012cc4208007532908000b009d31..."} 
[2026-08-02 22:12:05] local.INFO: Processing buffer {"connection_id":148102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc358c6b8012cc4208007532908000b009d31..."} 
[2026-08-02 22:12:05] local.INFO: Packet analysis {"connection_id":148102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc358"} 
[2026-08-02 22:12:05] local.INFO: Extracted packet for processing {"connection_id":148102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc358"} 
[2026-08-02 22:12:05] local.INFO: GPS Element Parsed {"raw_longitude":751050880,"raw_latitude":122890504,"longitude_deg":75.105088,"latitude_deg":12.2890504,"altitude":11,"angle":157,"satellites":49,"speed":52,"hex_longitude":"2cc42080","hex_latitude":"07532908","is_valid_coordinates":true} 
[2026-08-02 22:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136331520001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367352474132021248,"note":"Value kept but may cause issues"} 
[2026-08-02 22:12:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4318529798720864256,"note":"Value kept but may cause issues"} 
[2026-08-02 22:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785688803000,"timestamp_ms":1785688803000,"timestamp_seconds":1785688803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc358c6b8"} 
[2026-08-02 22:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 22:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136331520001,"66":27343,"246":206,"2":54016,"24":52,"16":367352474132021248,"44":-4318529798720864256},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-08-02 22:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136331520001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367352474132021248,"km_value":367352474132021.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:12:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4318529798720864256,"description":"Unknown IO ID 44"} 
[2026-08-02 22:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136331520001,"power":27343,"main_input_voltage":206,"power_alt":54016,"ignition":52,"odometer":null,"unknown_44":-4318529798720864256}} 
[2026-08-02 22:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":148102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:12:05] local.INFO: GPS data processed {"connection_id":148102,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:12:05] local.INFO: Acknowledgment sent {"connection_id":148102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:12:23] local.INFO: TCP Data received {"connection_id":146842,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:12:23] local.INFO: Processing buffer {"connection_id":146842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:12:23] local.INFO: IMEI packet received {"connection_id":146842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":146842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:12:28] local.INFO: TCP Data received {"connection_id":146842,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:12:28] local.INFO: Processing buffer {"connection_id":146842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:12:28] local.INFO: IMEI packet received {"connection_id":146842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":146842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:12:30] local.INFO: TCP Data received {"connection_id":146842,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35a0708012cc4bf000751b0e8000a009e32..."} 
[2026-08-02 22:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35a0708012cc4bf000751b0e8000a009e32..."} 
[2026-08-02 22:12:30] local.INFO: Processing buffer {"connection_id":146842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35a0708012cc4bf000751b0e8000a009e32..."} 
[2026-08-02 22:12:30] local.INFO: Packet analysis {"connection_id":146842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35a"} 
[2026-08-02 22:12:30] local.INFO: Extracted packet for processing {"connection_id":146842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35a"} 
[2026-08-02 22:12:30] local.INFO: GPS Element Parsed {"raw_longitude":751091456,"raw_latitude":122794216,"longitude_deg":75.1091456,"latitude_deg":12.2794216,"altitude":10,"angle":158,"satellites":50,"speed":50,"hex_longitude":"2cc4bf00","hex_latitude":"0751b0e8","is_valid_coordinates":true} 
[2026-08-02 22:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136352512001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367357525013561344,"note":"Value kept but may cause issues"} 
[2026-08-02 22:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4273986383681062912,"note":"Value kept but may cause issues"} 
[2026-08-02 22:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785688885000,"timestamp_ms":1785688885000,"timestamp_seconds":1785688885,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35a0708"} 
[2026-08-02 22:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 22:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136352512001,"66":27321,"244":206,"2":54016,"24":50,"16":367357525013561344,"44":-4273986383681062912},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-08-02 22:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136352512001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:12:30] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-02 22:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367357525013561344,"km_value":367357525013561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4273986383681062912,"description":"Unknown IO ID 44"} 
[2026-08-02 22:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136352512001,"power":27321,"unknown_244":206,"power_alt":54016,"ignition":50,"odometer":null,"unknown_44":-4273986383681062912}} 
[2026-08-02 22:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":146842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:12:30] local.INFO: GPS data processed {"connection_id":146842,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:12:30] local.INFO: Acknowledgment sent {"connection_id":146842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:13:02] local.INFO: TCP Data received {"connection_id":146842,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35a2648012cc4ce4007518ce8000a009e32..."} 
[2026-08-02 22:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35a2648012cc4ce4007518ce8000a009e32..."} 
[2026-08-02 22:13:02] local.INFO: Processing buffer {"connection_id":146842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35a2648012cc4ce4007518ce8000a009e32..."} 
[2026-08-02 22:13:02] local.INFO: Packet analysis {"connection_id":146842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35a"} 
[2026-08-02 22:13:02] local.INFO: Extracted packet for processing {"connection_id":146842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35a"} 
[2026-08-02 22:13:02] local.INFO: GPS Element Parsed {"raw_longitude":751095360,"raw_latitude":122785000,"longitude_deg":75.109536,"latitude_deg":12.2785,"altitude":10,"angle":158,"satellites":50,"speed":48,"hex_longitude":"2cc4ce40","hex_latitude":"07518ce8","is_valid_coordinates":true} 
[2026-08-02 22:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136354560001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367358006049898496,"note":"Value kept but may cause issues"} 
[2026-08-02 22:13:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4269693890288621568,"note":"Value kept but may cause issues"} 
[2026-08-02 22:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785688893000,"timestamp_ms":1785688893000,"timestamp_seconds":1785688893,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35a2648"} 
[2026-08-02 22:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 22:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136354560001,"66":27397,"244":206,"2":54016,"24":48,"16":367358006049898496,"44":-4269693890288621568},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-08-02 22:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136354560001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:13:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-02 22:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367358006049898496,"km_value":367358006049898.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:13:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4269693890288621568,"description":"Unknown IO ID 44"} 
[2026-08-02 22:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136354560001,"power":27397,"unknown_244":206,"power_alt":54016,"ignition":48,"odometer":null,"unknown_44":-4269693890288621568}} 
[2026-08-02 22:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":146842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:13:02] local.INFO: GPS data processed {"connection_id":146842,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:13:02] local.INFO: Acknowledgment sent {"connection_id":146842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:13:28] local.INFO: TCP Data received {"connection_id":149405,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:13:28] local.INFO: Processing buffer {"connection_id":149405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:13:28] local.INFO: IMEI packet received {"connection_id":149405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":149405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:13:33] local.INFO: TCP Data received {"connection_id":149405,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:13:33] local.INFO: Processing buffer {"connection_id":149405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:13:33] local.INFO: IMEI packet received {"connection_id":149405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":149405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:13:34] local.INFO: TCP Data received {"connection_id":149405,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35a4970012cc4dac007516ba00009009f32..."} 
[2026-08-02 22:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35a4970012cc4dac007516ba00009009f32..."} 
[2026-08-02 22:13:34] local.INFO: Processing buffer {"connection_id":149405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35a4970012cc4dac007516ba00009009f32..."} 
[2026-08-02 22:13:34] local.INFO: Packet analysis {"connection_id":149405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35a"} 
[2026-08-02 22:13:34] local.INFO: Extracted packet for processing {"connection_id":149405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35a"} 
[2026-08-02 22:13:34] local.INFO: GPS Element Parsed {"raw_longitude":751098560,"raw_latitude":122776480,"longitude_deg":75.109856,"latitude_deg":12.277648,"altitude":9,"angle":159,"satellites":50,"speed":31,"hex_longitude":"2cc4dac0","hex_latitude":"07516ba0","is_valid_coordinates":true} 
[2026-08-02 22:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136356608001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367358448431529984,"note":"Value kept but may cause issues"} 
[2026-08-02 22:13:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4265401396896143360,"note":"Value kept but may cause issues"} 
[2026-08-02 22:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785688902000,"timestamp_ms":1785688902000,"timestamp_seconds":1785688902,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35a4970"} 
[2026-08-02 22:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 22:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136356608001,"66":27397,"244":206,"2":54016,"24":31,"16":367358448431529984,"44":-4265401396896143360},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-08-02 22:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136356608001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:13:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-02 22:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367358448431529984,"km_value":367358448431530.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:13:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4265401396896143360,"description":"Unknown IO ID 44"} 
[2026-08-02 22:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136356608001,"power":27397,"unknown_244":206,"power_alt":54016,"ignition":31,"odometer":null,"unknown_44":-4265401396896143360}} 
[2026-08-02 22:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":149405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:13:34] local.INFO: GPS data processed {"connection_id":149405,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:13:34] local.INFO: Acknowledgment sent {"connection_id":149405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:13:36] local.INFO: TCP Data received {"connection_id":149405,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35a7468012cc4e84007514a00000a00a033..."} 
[2026-08-02 22:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35a7468012cc4e84007514a00000a00a033..."} 
[2026-08-02 22:13:36] local.INFO: Processing buffer {"connection_id":149405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35a7468012cc4e84007514a00000a00a033..."} 
[2026-08-02 22:13:36] local.INFO: Packet analysis {"connection_id":149405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35a"} 
[2026-08-02 22:13:36] local.INFO: Extracted packet for processing {"connection_id":149405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35a"} 
[2026-08-02 22:13:36] local.INFO: GPS Element Parsed {"raw_longitude":751102016,"raw_latitude":122767872,"longitude_deg":75.1102016,"latitude_deg":12.2767872,"altitude":10,"angle":160,"satellites":51,"speed":31,"hex_longitude":"2cc4e840","hex_latitude":"07514a00","is_valid_coordinates":true} 
[2026-08-02 22:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136358912001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367358895108128768,"note":"Value kept but may cause issues"} 
[2026-08-02 22:13:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4261882959689441280,"note":"Value kept but may cause issues"} 
[2026-08-02 22:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785688913000,"timestamp_ms":1785688913000,"timestamp_seconds":1785688913,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35a7468"} 
[2026-08-02 22:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 22:13: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-08-02 22:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136358912001,"66":26767,"244":206,"2":54016,"24":31,"16":367358895108128768,"44":-4261882959689441280},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-08-02 22:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136358912001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:13:36] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-02 22:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367358895108128768,"km_value":367358895108128.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:13:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4261882959689441280,"description":"Unknown IO ID 44"} 
[2026-08-02 22:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136358912001,"power":26767,"unknown_244":206,"power_alt":54016,"ignition":31,"odometer":null,"unknown_44":-4261882959689441280}} 
[2026-08-02 22:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":149405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:13:36] local.INFO: GPS data processed {"connection_id":149405,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:13:36] local.INFO: Acknowledgment sent {"connection_id":149405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:14:08] local.INFO: TCP Data received {"connection_id":149405,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35aa348012cc4f500075128b0000a00a033..."} 
[2026-08-02 22:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35aa348012cc4f500075128b0000a00a033..."} 
[2026-08-02 22:14:08] local.INFO: Processing buffer {"connection_id":149405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35aa348012cc4f500075128b0000a00a033..."} 
[2026-08-02 22:14:08] local.INFO: Packet analysis {"connection_id":149405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35a"} 
[2026-08-02 22:14:08] local.INFO: Extracted packet for processing {"connection_id":149405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35a"} 
[2026-08-02 22:14:08] local.INFO: GPS Element Parsed {"raw_longitude":751105280,"raw_latitude":122759344,"longitude_deg":75.110528,"latitude_deg":12.2759344,"altitude":10,"angle":160,"satellites":51,"speed":28,"hex_longitude":"2cc4f500","hex_latitude":"075128b0","is_valid_coordinates":true} 
[2026-08-02 22:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136361728001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367359337489760256,"note":"Value kept but may cause issues"} 
[2026-08-02 22:14:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4258083047506051072,"note":"Value kept but may cause issues"} 
[2026-08-02 22:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785688925000,"timestamp_ms":1785688925000,"timestamp_seconds":1785688925,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35aa348"} 
[2026-08-02 22:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-02 22:14:08] 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-08-02 22:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":149405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":149405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":149405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136361728001,"66":27365,"244":206,"2":54016,"24":28,"16":367359337489760256,"44":-4258083047506051072},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-08-02 22:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136361728001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:14:08] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-02 22:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367359337489760256,"km_value":367359337489760.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:14:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4258083047506051072,"description":"Unknown IO ID 44"} 
[2026-08-02 22:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136361728001,"power":27365,"unknown_244":206,"power_alt":54016,"ignition":28,"odometer":null,"unknown_44":-4258083047506051072}} 
[2026-08-02 22:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":149405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:14:08] local.INFO: GPS data processed {"connection_id":149405,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:14:08] local.INFO: Acknowledgment sent {"connection_id":149405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:14:23] local.INFO: TCP Data received {"connection_id":147064,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:14:23] local.INFO: Processing buffer {"connection_id":147064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:14:23] local.INFO: IMEI packet received {"connection_id":147064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":147064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:14:28] local.INFO: TCP Data received {"connection_id":147064,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:14:28] local.INFO: Processing buffer {"connection_id":147064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:14:28] local.INFO: IMEI packet received {"connection_id":147064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":147064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:14:30] local.INFO: TCP Data received {"connection_id":147064,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35ace40012cc4fd0007510d80000900ab33..."} 
[2026-08-02 22:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35ace40012cc4fd0007510d80000900ab33..."} 
[2026-08-02 22:14:30] local.INFO: Processing buffer {"connection_id":147064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35ace40012cc4fd0007510d80000900ab33..."} 
[2026-08-02 22:14:30] local.INFO: Packet analysis {"connection_id":147064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35a"} 
[2026-08-02 22:14:30] local.INFO: Extracted packet for processing {"connection_id":147064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35a"} 
[2026-08-02 22:14:30] local.INFO: GPS Element Parsed {"raw_longitude":751107328,"raw_latitude":122752384,"longitude_deg":75.1107328,"latitude_deg":12.2752384,"altitude":9,"angle":171,"satellites":51,"speed":22,"hex_longitude":"2cc4fd00","hex_latitude":"07510d80","is_valid_coordinates":true} 
[2026-08-02 22:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136364800001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367359689677078528,"note":"Value kept but may cause issues"} 
[2026-08-02 22:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4254494241555173376,"note":"Value kept but may cause issues"} 
[2026-08-02 22:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785688936000,"timestamp_ms":1785688936000,"timestamp_seconds":1785688936,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35ace40"} 
[2026-08-02 22:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 22:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136364800001,"66":27376,"244":206,"2":54016,"24":22,"16":367359689677078528,"44":-4254494241555173376},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-08-02 22:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136364800001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:14:30] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-02 22:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367359689677078528,"km_value":367359689677078.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4254494241555173376,"description":"Unknown IO ID 44"} 
[2026-08-02 22:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136364800001,"power":27376,"unknown_244":206,"power_alt":54016,"ignition":22,"odometer":null,"unknown_44":-4254494241555173376}} 
[2026-08-02 22:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":147064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:14:30] local.INFO: GPS data processed {"connection_id":147064,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:14:30] local.INFO: Acknowledgment sent {"connection_id":147064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:15:01] local.INFO: TCP Data received {"connection_id":147064,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35b1490012cc506400750eb50000800a233..."} 
[2026-08-02 22:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35b1490012cc506400750eb50000800a233..."} 
[2026-08-02 22:15:01] local.INFO: Processing buffer {"connection_id":147064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35b1490012cc506400750eb50000800a233..."} 
[2026-08-02 22:15:01] local.INFO: Packet analysis {"connection_id":147064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35b"} 
[2026-08-02 22:15:01] local.INFO: Extracted packet for processing {"connection_id":147064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35b"} 
[2026-08-02 22:15:01] local.INFO: GPS Element Parsed {"raw_longitude":751109696,"raw_latitude":122743632,"longitude_deg":75.1109696,"latitude_deg":12.2743632,"altitude":8,"angle":162,"satellites":51,"speed":15,"hex_longitude":"2cc50640","hex_latitude":"0750eb50","is_valid_coordinates":true} 
[2026-08-02 22:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136367616001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367360132058710016,"note":"Value kept but may cause issues"} 
[2026-08-02 22:15:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4252242441743269888,"note":"Value kept but may cause issues"} 
[2026-08-02 22:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785688954000,"timestamp_ms":1785688954000,"timestamp_seconds":1785688954,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35b1490"} 
[2026-08-02 22:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136367616001,"66":27300,"1":206,"2":54016,"24":15,"16":367360132058710016,"44":-4252242441743269888},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,44]} 
[2026-08-02 22:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136367616001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367360132058710016,"km_value":367360132058710.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:15:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4252242441743269888,"description":"Unknown IO ID 44"} 
[2026-08-02 22:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136367616001,"power":27300,"imei":206,"power_alt":54016,"ignition":15,"odometer":null,"unknown_44":-4252242441743269888}} 
[2026-08-02 22:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":147064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:15:01] local.INFO: GPS data processed {"connection_id":147064,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:15:01] local.INFO: Acknowledgment sent {"connection_id":147064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:15:23] local.INFO: TCP Data received {"connection_id":148103,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:15:23] local.INFO: Processing buffer {"connection_id":148103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:15:23] local.INFO: IMEI packet received {"connection_id":148103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":148103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:15:24] local.INFO: TCP Data received {"connection_id":148103,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:15:24] local.INFO: Processing buffer {"connection_id":148103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:15:24] local.INFO: IMEI packet received {"connection_id":148103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":148103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:15:28] local.INFO: TCP Data received {"connection_id":148103,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:15:28] local.INFO: Processing buffer {"connection_id":148103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:15:28] local.INFO: IMEI packet received {"connection_id":148103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":148103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:15:30] local.INFO: TCP Data received {"connection_id":148103,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35b6698012cc50d000750d230000a00a431..."} 
[2026-08-02 22:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35b6698012cc50d000750d230000a00a431..."} 
[2026-08-02 22:15:30] local.INFO: Processing buffer {"connection_id":148103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35b6698012cc50d000750d230000a00a431..."} 
[2026-08-02 22:15:30] local.INFO: Packet analysis {"connection_id":148103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35b"} 
[2026-08-02 22:15:30] local.INFO: Extracted packet for processing {"connection_id":148103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35b"} 
[2026-08-02 22:15:30] local.INFO: GPS Element Parsed {"raw_longitude":751111424,"raw_latitude":122737200,"longitude_deg":75.1111424,"latitude_deg":12.27372,"altitude":10,"angle":164,"satellites":49,"speed":17,"hex_longitude":"2cc50d00","hex_latitude":"0750d230","is_valid_coordinates":true} 
[2026-08-02 22:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136372224001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367360454181257216,"note":"Value kept but may cause issues"} 
[2026-08-02 22:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4249638798210936832,"note":"Value kept but may cause issues"} 
[2026-08-02 22:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785688975000,"timestamp_ms":1785688975000,"timestamp_seconds":1785688975,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35b6698"} 
[2026-08-02 22:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 22:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136372224001,"66":27321,"1":206,"2":54016,"24":17,"16":367360454181257216,"44":-4249638798210936832},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,44]} 
[2026-08-02 22:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136372224001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367360454181257216,"km_value":367360454181257.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4249638798210936832,"description":"Unknown IO ID 44"} 
[2026-08-02 22:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136372224001,"power":27321,"imei":206,"power_alt":54016,"ignition":17,"odometer":null,"unknown_44":-4249638798210936832}} 
[2026-08-02 22:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":148103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:15:30] local.INFO: GPS data processed {"connection_id":148103,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:15:30] local.INFO: Acknowledgment sent {"connection_id":148103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:16:01] local.INFO: TCP Data received {"connection_id":148103,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35bb8a0012cc517400750b330000c009e32..."} 
[2026-08-02 22:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35bb8a0012cc517400750b330000c009e32..."} 
[2026-08-02 22:16:01] local.INFO: Processing buffer {"connection_id":148103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35bb8a0012cc517400750b330000c009e32..."} 
[2026-08-02 22:16:01] local.INFO: Packet analysis {"connection_id":148103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35b"} 
[2026-08-02 22:16:01] local.INFO: Extracted packet for processing {"connection_id":148103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35b"} 
[2026-08-02 22:16:01] local.INFO: GPS Element Parsed {"raw_longitude":751114048,"raw_latitude":122729264,"longitude_deg":75.1114048,"latitude_deg":12.2729264,"altitude":12,"angle":158,"satellites":50,"speed":13,"hex_longitude":"2cc51740","hex_latitude":"0750b330","is_valid_coordinates":true} 
[2026-08-02 22:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136377600001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367360862203150336,"note":"Value kept but may cause issues"} 
[2026-08-02 22:16:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4247738842119786496,"note":"Value kept but may cause issues"} 
[2026-08-02 22:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785688996000,"timestamp_ms":1785688996000,"timestamp_seconds":1785688996,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35bb8a0"} 
[2026-08-02 22:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 22:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136377600001,"66":27300,"1":206,"2":54016,"24":13,"16":367360862203150336,"44":-4247738842119786496},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,44]} 
[2026-08-02 22:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136377600001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367360862203150336,"km_value":367360862203150.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:16:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4247738842119786496,"description":"Unknown IO ID 44"} 
[2026-08-02 22:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136377600001,"power":27300,"imei":206,"power_alt":54016,"ignition":13,"odometer":null,"unknown_44":-4247738842119786496}} 
[2026-08-02 22:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":148103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:16:01] local.INFO: GPS data processed {"connection_id":148103,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:16:01] local.INFO: Acknowledgment sent {"connection_id":148103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:16:23] local.INFO: TCP Data received {"connection_id":149406,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:16:23] local.INFO: Processing buffer {"connection_id":149406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:16:23] local.INFO: IMEI packet received {"connection_id":149406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":149406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:16:28] local.INFO: TCP Data received {"connection_id":149406,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:16:28] local.INFO: Processing buffer {"connection_id":149406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:16:28] local.INFO: IMEI packet received {"connection_id":149406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":149406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:16:29] local.INFO: TCP Data received {"connection_id":149406,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35c0aa8012cc5220007509460000d009d32..."} 
[2026-08-02 22:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35c0aa8012cc5220007509460000d009d32..."} 
[2026-08-02 22:16:30] local.INFO: Processing buffer {"connection_id":149406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35c0aa8012cc5220007509460000d009d32..."} 
[2026-08-02 22:16:30] local.INFO: Packet analysis {"connection_id":149406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35c"} 
[2026-08-02 22:16:30] local.INFO: Extracted packet for processing {"connection_id":149406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35c"} 
[2026-08-02 22:16:30] local.INFO: GPS Element Parsed {"raw_longitude":751116800,"raw_latitude":122721376,"longitude_deg":75.11168,"latitude_deg":12.2721376,"altitude":13,"angle":157,"satellites":50,"speed":22,"hex_longitude":"2cc52200","hex_latitude":"07509460","is_valid_coordinates":true} 
[2026-08-02 22:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136382976001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367361265930076160,"note":"Value kept but may cause issues"} 
[2026-08-02 22:16:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4244853723610533888,"note":"Value kept but may cause issues"} 
[2026-08-02 22:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785689017000,"timestamp_ms":1785689017000,"timestamp_seconds":1785689017,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35c0aa8"} 
[2026-08-02 22:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 22:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136382976001,"66":27539,"254":206,"2":54016,"24":22,"16":367361265930076160,"44":-4244853723610533888},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-08-02 22:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136382976001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:16:30] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-02 22:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367361265930076160,"km_value":367361265930076.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:16:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4244853723610533888,"description":"Unknown IO ID 44"} 
[2026-08-02 22:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136382976001,"power":27539,"unknown_254":206,"power_alt":54016,"ignition":22,"odometer":null,"unknown_44":-4244853723610533888}} 
[2026-08-02 22:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":149406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:16:30] local.INFO: GPS data processed {"connection_id":149406,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:16:30] local.INFO: Acknowledgment sent {"connection_id":149406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:17:01] local.INFO: TCP Data received {"connection_id":149406,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35c4928012cc53180075074680011009932..."} 
[2026-08-02 22:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35c4928012cc53180075074680011009932..."} 
[2026-08-02 22:17:01] local.INFO: Processing buffer {"connection_id":149406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35c4928012cc53180075074680011009932..."} 
[2026-08-02 22:17:01] local.INFO: Packet analysis {"connection_id":149406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35c"} 
[2026-08-02 22:17:01] local.INFO: Extracted packet for processing {"connection_id":149406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35c"} 
[2026-08-02 22:17:01] local.INFO: GPS Element Parsed {"raw_longitude":751120768,"raw_latitude":122713192,"longitude_deg":75.1120768,"latitude_deg":12.2713192,"altitude":17,"angle":153,"satellites":50,"speed":24,"hex_longitude":"2cc53180","hex_latitude":"07507468","is_valid_coordinates":true} 
[2026-08-02 22:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136388352001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367361704016740352,"note":"Value kept but may cause issues"} 
[2026-08-02 22:17:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4241827867612913664,"note":"Value kept but may cause issues"} 
[2026-08-02 22:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785689033000,"timestamp_ms":1785689033000,"timestamp_seconds":1785689033,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35c4928"} 
[2026-08-02 22:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-02 22:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136388352001,"66":26810,"254":206,"2":54016,"24":24,"16":367361704016740352,"44":-4241827867612913664},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-08-02 22:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136388352001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:17:01] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-02 22:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367361704016740352,"km_value":367361704016740.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:17:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4241827867612913664,"description":"Unknown IO ID 44"} 
[2026-08-02 22:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136388352001,"power":26810,"unknown_254":206,"power_alt":54016,"ignition":24,"odometer":null,"unknown_44":-4241827867612913664}} 
[2026-08-02 22:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":149406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:17:01] local.INFO: GPS data processed {"connection_id":149406,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:17:01] local.INFO: Acknowledgment sent {"connection_id":149406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:17:23] local.INFO: TCP Data received {"connection_id":146843,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:17:23] local.INFO: Processing buffer {"connection_id":146843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:17:23] local.INFO: IMEI packet received {"connection_id":146843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":146843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:17:28] local.INFO: TCP Data received {"connection_id":146843,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:17:28] local.INFO: Processing buffer {"connection_id":146843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:17:28] local.INFO: IMEI packet received {"connection_id":146843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":146843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:17:29] local.INFO: TCP Data received {"connection_id":146843,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35c9360012cc53f8007505330001100a132..."} 
[2026-08-02 22:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35c9360012cc53f8007505330001100a132..."} 
[2026-08-02 22:17:29] local.INFO: Processing buffer {"connection_id":146843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35c9360012cc53f8007505330001100a132..."} 
[2026-08-02 22:17:29] local.INFO: Packet analysis {"connection_id":146843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35c"} 
[2026-08-02 22:17:29] local.INFO: Extracted packet for processing {"connection_id":146843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35c"} 
[2026-08-02 22:17:29] local.INFO: GPS Element Parsed {"raw_longitude":751124352,"raw_latitude":122704688,"longitude_deg":75.1124352,"latitude_deg":12.2704688,"altitude":17,"angle":161,"satellites":50,"speed":17,"hex_longitude":"2cc53f80","hex_latitude":"07505330","is_valid_coordinates":true} 
[2026-08-02 22:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136392448001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367362150693339136,"note":"Value kept but may cause issues"} 
[2026-08-02 22:17:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4237465005475993600,"note":"Value kept but may cause issues"} 
[2026-08-02 22:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785689052000,"timestamp_ms":1785689052000,"timestamp_seconds":1785689052,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35c9360"} 
[2026-08-02 22:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-02 22:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2392,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136392448001,"66":27213,"255":206,"2":54016,"24":17,"16":367362150693339136,"44":-4237465005475993600},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,2,24,16,44]} 
[2026-08-02 22:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136392448001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:17:29] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-02 22:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367362150693339136,"km_value":367362150693339.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4237465005475993600,"description":"Unknown IO ID 44"} 
[2026-08-02 22:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136392448001,"power":27213,"unknown_255":206,"power_alt":54016,"ignition":17,"odometer":null,"unknown_44":-4237465005475993600}} 
[2026-08-02 22:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":146843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:17:29] local.INFO: GPS data processed {"connection_id":146843,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:17:29] local.INFO: Acknowledgment sent {"connection_id":146843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:18:01] local.INFO: TCP Data received {"connection_id":146843,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35cd9b0012cc54ac007503200001200a232..."} 
[2026-08-02 22:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35cd9b0012cc54ac007503200001200a232..."} 
[2026-08-02 22:18:01] local.INFO: Processing buffer {"connection_id":146843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35cd9b0012cc54ac007503200001200a232..."} 
[2026-08-02 22:18:01] local.INFO: Packet analysis {"connection_id":146843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35c"} 
[2026-08-02 22:18:01] local.INFO: Extracted packet for processing {"connection_id":146843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35c"} 
[2026-08-02 22:18:01] local.INFO: GPS Element Parsed {"raw_longitude":751127232,"raw_latitude":122696192,"longitude_deg":75.1127232,"latitude_deg":12.2696192,"altitude":18,"angle":162,"satellites":50,"speed":22,"hex_longitude":"2cc54ac0","hex_latitude":"07503200","is_valid_coordinates":true} 
[2026-08-02 22:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136397312001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367362584485036032,"note":"Value kept but may cause issues"} 
[2026-08-02 22:18:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4233524355804221440,"note":"Value kept but may cause issues"} 
[2026-08-02 22:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785689070000,"timestamp_ms":1785689070000,"timestamp_seconds":1785689070,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35cd9b0"} 
[2026-08-02 22:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 22:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136397312001,"66":27397,"255":206,"2":54016,"24":22,"16":367362584485036032,"44":-4233524355804221440},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,2,24,16,44]} 
[2026-08-02 22:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136397312001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:18:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-02 22:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367362584485036032,"km_value":367362584485036.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:18:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4233524355804221440,"description":"Unknown IO ID 44"} 
[2026-08-02 22:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136397312001,"power":27397,"unknown_255":206,"power_alt":54016,"ignition":22,"odometer":null,"unknown_44":-4233524355804221440}} 
[2026-08-02 22:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":146843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:18:01] local.INFO: GPS data processed {"connection_id":146843,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:18:01] local.INFO: Acknowledgment sent {"connection_id":146843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:18:28] local.INFO: TCP Data received {"connection_id":147065,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:18:28] local.INFO: Processing buffer {"connection_id":147065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:18:28] local.INFO: IMEI packet received {"connection_id":147065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":147065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:18:29] local.INFO: TCP Data received {"connection_id":147065,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:18:29] local.INFO: Processing buffer {"connection_id":147065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:18:29] local.INFO: IMEI packet received {"connection_id":147065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":147065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:18:33] local.INFO: TCP Data received {"connection_id":147065,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:18:33] local.INFO: Processing buffer {"connection_id":147065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:18:33] local.INFO: IMEI packet received {"connection_id":147065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":147065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:18:34] local.INFO: TCP Data received {"connection_id":147065,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35f6608012cc5adc0074f5ec8000b00a131..."} 
[2026-08-02 22:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35f6608012cc5adc0074f5ec8000b00a131..."} 
[2026-08-02 22:18:34] local.INFO: Processing buffer {"connection_id":147065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35f6608012cc5adc0074f5ec8000b00a131..."} 
[2026-08-02 22:18:34] local.INFO: Packet analysis {"connection_id":147065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35f"} 
[2026-08-02 22:18:34] local.INFO: Extracted packet for processing {"connection_id":147065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35f"} 
[2026-08-02 22:18:34] local.INFO: GPS Element Parsed {"raw_longitude":751152576,"raw_latitude":122642120,"longitude_deg":75.1152576,"latitude_deg":12.264212,"altitude":11,"angle":161,"satellites":49,"speed":14,"hex_longitude":"2cc5adc0","hex_latitude":"074f5ec8","is_valid_coordinates":true} 
[2026-08-02 22:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136444160001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367365496472862720,"note":"Value kept but may cause issues"} 
[2026-08-02 22:18:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4202843583358629888,"note":"Value kept but may cause issues"} 
[2026-08-02 22:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785689237000,"timestamp_ms":1785689237000,"timestamp_seconds":1785689237,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35f6608"} 
[2026-08-02 22:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136444160001,"66":27332,"238":206,"2":54016,"24":14,"16":367365496472862720,"44":-4202843583358629888},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,2,24,16,44]} 
[2026-08-02 22:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136444160001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:18:34] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-02 22:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367365496472862720,"km_value":367365496472862.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:18:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4202843583358629888,"description":"Unknown IO ID 44"} 
[2026-08-02 22:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136444160001,"power":27332,"unknown_238":206,"power_alt":54016,"ignition":14,"odometer":null,"unknown_44":-4202843583358629888}} 
[2026-08-02 22:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":147065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:18:34] local.INFO: GPS data processed {"connection_id":147065,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:18:34] local.INFO: Acknowledgment sent {"connection_id":147065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:18:37] local.INFO: TCP Data received {"connection_id":147065,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35fa0a0012cc5b700074f3d48000900a631..."} 
[2026-08-02 22:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35fa0a0012cc5b700074f3d48000900a631..."} 
[2026-08-02 22:18:37] local.INFO: Processing buffer {"connection_id":147065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35fa0a0012cc5b700074f3d48000900a631..."} 
[2026-08-02 22:18:37] local.INFO: Packet analysis {"connection_id":147065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35f"} 
[2026-08-02 22:18:37] local.INFO: Extracted packet for processing {"connection_id":147065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35f"} 
[2026-08-02 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":751154944,"raw_latitude":122633544,"longitude_deg":75.1154944,"latitude_deg":12.2633544,"altitude":9,"angle":166,"satellites":49,"speed":31,"hex_longitude":"2cc5b700","hex_latitude":"074f3d48","is_valid_coordinates":true} 
[2026-08-02 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-08-02 22:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136444672001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367365925969592320,"note":"Value kept but may cause issues"} 
[2026-08-02 22:18:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4202491739637889024,"note":"Value kept but may cause issues"} 
[2026-08-02 22:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785689252000,"timestamp_ms":1785689252000,"timestamp_seconds":1785689252,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35fa0a0"} 
[2026-08-02 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-08-02 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 22:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 22:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136444672001,"66":27310,"238":206,"2":54016,"24":31,"16":367365925969592320,"44":-4202491739637889024},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,2,24,16,44]} 
[2026-08-02 22:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136444672001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:18:37] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-02 22:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367365925969592320,"km_value":367365925969592.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:18:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4202491739637889024,"description":"Unknown IO ID 44"} 
[2026-08-02 22:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136444672001,"power":27310,"unknown_238":206,"power_alt":54016,"ignition":31,"odometer":null,"unknown_44":-4202491739637889024}} 
[2026-08-02 22:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":147065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:18:38] local.INFO: GPS data processed {"connection_id":147065,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:18:38] local.INFO: Acknowledgment sent {"connection_id":147065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:19:22] local.INFO: TCP Data received {"connection_id":147066,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:19:22] local.INFO: Processing buffer {"connection_id":147066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:19:22] local.INFO: IMEI packet received {"connection_id":147066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":147066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:19:23] local.INFO: TCP Data received {"connection_id":147066,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:19:23] local.INFO: Processing buffer {"connection_id":147066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:19:23] local.INFO: IMEI packet received {"connection_id":147066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":147066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:19:28] local.INFO: TCP Data received {"connection_id":147066,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:19:28] local.INFO: Processing buffer {"connection_id":147066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:19:28] local.INFO: IMEI packet received {"connection_id":147066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":147066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:19:29] local.INFO: TCP Data received {"connection_id":147066,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc35fc7b0012cc5bec0074f19d8000800a731..."} 
[2026-08-02 22:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc35fc7b0012cc5bec0074f19d8000800a731..."} 
[2026-08-02 22:19:29] local.INFO: Processing buffer {"connection_id":147066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc35fc7b0012cc5bec0074f19d8000800a731..."} 
[2026-08-02 22:19:29] local.INFO: Packet analysis {"connection_id":147066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc35f"} 
[2026-08-02 22:19:29] local.INFO: Extracted packet for processing {"connection_id":147066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc35f"} 
[2026-08-02 22:19:29] local.INFO: GPS Element Parsed {"raw_longitude":751156928,"raw_latitude":122624472,"longitude_deg":75.1156928,"latitude_deg":12.2624472,"altitude":8,"angle":167,"satellites":49,"speed":40,"hex_longitude":"2cc5bec0","hex_latitude":"074f19d8","is_valid_coordinates":true} 
[2026-08-02 22:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136448512001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367366376941158400,"note":"Value kept but may cause issues"} 
[2026-08-02 22:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4199888096105510912,"note":"Value kept but may cause issues"} 
[2026-08-02 22:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785689262000,"timestamp_ms":1785689262000,"timestamp_seconds":1785689262,"priority":1,"record_length":96,"hex_timestamp":"0000019fc35fc7b0"} 
[2026-08-02 22:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-02 22:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136448512001,"66":26495,"238":206,"2":54016,"24":40,"16":367366376941158400,"44":-4199888096105510912},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,2,24,16,44]} 
[2026-08-02 22:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136448512001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:19:29] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-02 22:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367366376941158400,"km_value":367366376941158.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4199888096105510912,"description":"Unknown IO ID 44"} 
[2026-08-02 22:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136448512001,"power":26495,"unknown_238":206,"power_alt":54016,"ignition":40,"odometer":null,"unknown_44":-4199888096105510912}} 
[2026-08-02 22:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":147066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:19:29] local.INFO: GPS data processed {"connection_id":147066,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:19:29] local.INFO: Acknowledgment sent {"connection_id":147066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:20:01] local.INFO: TCP Data received {"connection_id":147066,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36113b8012cc666c0074db2b0000b007732..."} 
[2026-08-02 22:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36113b8012cc666c0074db2b0000b007732..."} 
[2026-08-02 22:20:01] local.INFO: Processing buffer {"connection_id":147066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36113b8012cc666c0074db2b0000b007732..."} 
[2026-08-02 22:20:01] local.INFO: Packet analysis {"connection_id":147066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc361"} 
[2026-08-02 22:20:01] local.INFO: Extracted packet for processing {"connection_id":147066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc361"} 
[2026-08-02 22:20:01] local.INFO: GPS Element Parsed {"raw_longitude":751199936,"raw_latitude":122532528,"longitude_deg":75.1199936,"latitude_deg":12.2532528,"altitude":11,"angle":119,"satellites":50,"speed":51,"hex_longitude":"2cc666c0","hex_latitude":"074db2b0","is_valid_coordinates":true} 
[2026-08-02 22: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-08-02 22:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136471808001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367371337628385280,"note":"Value kept but may cause issues"} 
[2026-08-02 22:20:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4154992837345269760,"note":"Value kept but may cause issues"} 
[2026-08-02 22:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785689347000,"timestamp_ms":1785689347000,"timestamp_seconds":1785689347,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36113b8"} 
[2026-08-02 22:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 22:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22: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-08-02 22:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136471808001,"66":27321,"164":206,"2":54016,"24":51,"16":367371337628385280,"44":-4154992837345269760},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-08-02 22:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136471808001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:20:01] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-02 22:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367371337628385280,"km_value":367371337628385.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:20:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4154992837345269760,"description":"Unknown IO ID 44"} 
[2026-08-02 22:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136471808001,"power":27321,"unknown_164":206,"power_alt":54016,"ignition":51,"odometer":null,"unknown_44":-4154992837345269760}} 
[2026-08-02 22:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":147066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:20:01] local.INFO: GPS data processed {"connection_id":147066,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:20:01] local.INFO: Acknowledgment sent {"connection_id":147066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:20:23] local.INFO: TCP Data received {"connection_id":148104,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:20:23] local.INFO: Processing buffer {"connection_id":148104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:20:23] local.INFO: IMEI packet received {"connection_id":148104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":148104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:20:28] local.INFO: TCP Data received {"connection_id":148104,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:20:28] local.INFO: Processing buffer {"connection_id":148104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:20:28] local.INFO: IMEI packet received {"connection_id":148104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":148104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:20:29] local.INFO: TCP Data received {"connection_id":148104,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3612358012cc67980074dab080009006931..."} 
[2026-08-02 22:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3612358012cc67980074dab080009006931..."} 
[2026-08-02 22:20:29] local.INFO: Processing buffer {"connection_id":148104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3612358012cc67980074dab080009006931..."} 
[2026-08-02 22:20:29] local.INFO: Packet analysis {"connection_id":148104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc361"} 
[2026-08-02 22:20:29] local.INFO: Extracted packet for processing {"connection_id":148104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc361"} 
[2026-08-02 22:20:29] local.INFO: GPS Element Parsed {"raw_longitude":751204736,"raw_latitude":122530568,"longitude_deg":75.1204736,"latitude_deg":12.2530568,"altitude":9,"angle":105,"satellites":49,"speed":47,"hex_longitude":"2cc67980","hex_latitude":"074dab08","is_valid_coordinates":true} 
[2026-08-02 22:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136472832001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367371586736488448,"note":"Value kept but may cause issues"} 
[2026-08-02 22:20:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4150418868974473216,"note":"Value kept but may cause issues"} 
[2026-08-02 22:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785689351000,"timestamp_ms":1785689351000,"timestamp_seconds":1785689351,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3612358"} 
[2026-08-02 22:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 22:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136472832001,"66":27343,"164":206,"2":54016,"24":47,"16":367371586736488448,"44":-4150418868974473216},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-08-02 22:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136472832001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:20:29] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-02 22:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367371586736488448,"km_value":367371586736488.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:20:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4150418868974473216,"description":"Unknown IO ID 44"} 
[2026-08-02 22:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136472832001,"power":27343,"unknown_164":206,"power_alt":54016,"ignition":47,"odometer":null,"unknown_44":-4150418868974473216}} 
[2026-08-02 22:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":148104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:20:29] local.INFO: GPS data processed {"connection_id":148104,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:20:29] local.INFO: Acknowledgment sent {"connection_id":148104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:21:01] local.INFO: TCP Data received {"connection_id":148104,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3614680012cc69fc0074da2c00008006b32..."} 
[2026-08-02 22:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3614680012cc69fc0074da2c00008006b32..."} 
[2026-08-02 22:21:01] local.INFO: Processing buffer {"connection_id":148104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3614680012cc69fc0074da2c00008006b32..."} 
[2026-08-02 22:21:01] local.INFO: Packet analysis {"connection_id":148104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc361"} 
[2026-08-02 22:21:01] local.INFO: Extracted packet for processing {"connection_id":148104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc361"} 
[2026-08-02 22:21:01] local.INFO: GPS Element Parsed {"raw_longitude":751214528,"raw_latitude":122528448,"longitude_deg":75.1214528,"latitude_deg":12.2528448,"altitude":8,"angle":107,"satellites":50,"speed":36,"hex_longitude":"2cc69fc0","hex_latitude":"074da2c0","is_valid_coordinates":true} 
[2026-08-02 22: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-08-02 22:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136473856001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367372059182891008,"note":"Value kept but may cause issues"} 
[2026-08-02 22:21:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4145141213161650176,"note":"Value kept but may cause issues"} 
[2026-08-02 22:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785689360000,"timestamp_ms":1785689360000,"timestamp_seconds":1785689360,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3614680"} 
[2026-08-02 22:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 22:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22: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-08-02 22:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136473856001,"66":27267,"164":206,"2":54016,"24":36,"16":367372059182891008,"44":-4145141213161650176},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-08-02 22:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136473856001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:21:01] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-02 22:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367372059182891008,"km_value":367372059182891.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:21:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4145141213161650176,"description":"Unknown IO ID 44"} 
[2026-08-02 22:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136473856001,"power":27267,"unknown_164":206,"power_alt":54016,"ignition":36,"odometer":null,"unknown_44":-4145141213161650176}} 
[2026-08-02 22:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":148104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:21:01] local.INFO: GPS data processed {"connection_id":148104,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:21:01] local.INFO: Acknowledgment sent {"connection_id":148104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:21:23] local.INFO: TCP Data received {"connection_id":149407,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:21:23] local.INFO: Processing buffer {"connection_id":149407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:21:23] local.INFO: IMEI packet received {"connection_id":149407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":149407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:21:28] local.INFO: TCP Data received {"connection_id":149407,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:21:28] local.INFO: Processing buffer {"connection_id":149407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:21:28] local.INFO: IMEI packet received {"connection_id":149407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":149407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:21:29] local.INFO: TCP Data received {"connection_id":149407,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3617560012cc6c1c0074d96900009007531..."} 
[2026-08-02 22:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3617560012cc6c1c0074d96900009007531..."} 
[2026-08-02 22:21:29] local.INFO: Processing buffer {"connection_id":149407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3617560012cc6c1c0074d96900009007531..."} 
[2026-08-02 22:21:29] local.INFO: Packet analysis {"connection_id":149407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc361"} 
[2026-08-02 22:21:29] local.INFO: Extracted packet for processing {"connection_id":149407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc361"} 
[2026-08-02 22:21:29] local.INFO: GPS Element Parsed {"raw_longitude":751223232,"raw_latitude":122525328,"longitude_deg":75.1223232,"latitude_deg":12.2525328,"altitude":9,"angle":117,"satellites":49,"speed":22,"hex_longitude":"2cc6c1c0","hex_latitude":"074d9690","is_valid_coordinates":true} 
[2026-08-02 22:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136476160001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367372501564522496,"note":"Value kept but may cause issues"} 
[2026-08-02 22:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4134374795303010304,"note":"Value kept but may cause issues"} 
[2026-08-02 22:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785689372000,"timestamp_ms":1785689372000,"timestamp_seconds":1785689372,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3617560"} 
[2026-08-02 22:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 22:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136476160001,"66":27245,"164":206,"2":54016,"24":22,"16":367372501564522496,"44":-4134374795303010304},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-08-02 22:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136476160001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:21:29] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-02 22:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367372501564522496,"km_value":367372501564522.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4134374795303010304,"description":"Unknown IO ID 44"} 
[2026-08-02 22:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136476160001,"power":27245,"unknown_164":206,"power_alt":54016,"ignition":22,"odometer":null,"unknown_44":-4134374795303010304}} 
[2026-08-02 22:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":149407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:21:29] local.INFO: GPS data processed {"connection_id":149407,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:21:29] local.INFO: Acknowledgment sent {"connection_id":149407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:22:00] local.INFO: TCP Data received {"connection_id":149407,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc361c768012cc6df80074d83280008007831..."} 
[2026-08-02 22:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc361c768012cc6df80074d83280008007831..."} 
[2026-08-02 22:22:00] local.INFO: Processing buffer {"connection_id":149407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc361c768012cc6df80074d83280008007831..."} 
[2026-08-02 22:22:00] local.INFO: Packet analysis {"connection_id":149407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc361"} 
[2026-08-02 22:22:00] local.INFO: Extracted packet for processing {"connection_id":149407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc361"} 
[2026-08-02 22:22:00] local.INFO: GPS Element Parsed {"raw_longitude":751230848,"raw_latitude":122520360,"longitude_deg":75.1230848,"latitude_deg":12.252036,"altitude":8,"angle":120,"satellites":49,"speed":13,"hex_longitude":"2cc6df80","hex_latitude":"074d8328","is_valid_coordinates":true} 
[2026-08-02 22:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136479232001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367372935356219392,"note":"Value kept but may cause issues"} 
[2026-08-02 22:22:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4124804646095646720,"note":"Value kept but may cause issues"} 
[2026-08-02 22:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785689393000,"timestamp_ms":1785689393000,"timestamp_seconds":1785689393,"priority":1,"record_length":96,"hex_timestamp":"0000019fc361c768"} 
[2026-08-02 22:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-02 22:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":149407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":149407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":149407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136479232001,"66":27463,"164":206,"2":54016,"24":13,"16":367372935356219392,"44":-4124804646095646720},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-08-02 22:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136479232001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:22:00] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-02 22:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367372935356219392,"km_value":367372935356219.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:22:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4124804646095646720,"description":"Unknown IO ID 44"} 
[2026-08-02 22:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136479232001,"power":27463,"unknown_164":206,"power_alt":54016,"ignition":13,"odometer":null,"unknown_44":-4124804646095646720}} 
[2026-08-02 22:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":149407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:22:00] local.INFO: GPS data processed {"connection_id":149407,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:22:00] local.INFO: Acknowledgment sent {"connection_id":149407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:22:23] local.INFO: TCP Data received {"connection_id":147067,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:22:23] local.INFO: Processing buffer {"connection_id":147067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:22:23] local.INFO: IMEI packet received {"connection_id":147067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":147067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:22:26] local.INFO: TCP Data received {"connection_id":147067,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:22:26] local.INFO: Processing buffer {"connection_id":147067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:22:26] local.INFO: IMEI packet received {"connection_id":147067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":147067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:22:28] local.INFO: TCP Data received {"connection_id":147067,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:22:28] local.INFO: Processing buffer {"connection_id":147067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:22:28] local.INFO: IMEI packet received {"connection_id":147067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":147067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:22:29] local.INFO: TCP Data received {"connection_id":147067,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc361c768012cc6df80074d83280008007831..."} 
[2026-08-02 22:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc361c768012cc6df80074d83280008007831..."} 
[2026-08-02 22:22:29] local.INFO: Processing buffer {"connection_id":147067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc361c768012cc6df80074d83280008007831..."} 
[2026-08-02 22:22:29] local.INFO: Packet analysis {"connection_id":147067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc361"} 
[2026-08-02 22:22:29] local.INFO: Extracted packet for processing {"connection_id":147067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc361"} 
[2026-08-02 22:22:29] local.INFO: GPS Element Parsed {"raw_longitude":751230848,"raw_latitude":122520360,"longitude_deg":75.1230848,"latitude_deg":12.252036,"altitude":8,"angle":120,"satellites":49,"speed":13,"hex_longitude":"2cc6df80","hex_latitude":"074d8328","is_valid_coordinates":true} 
[2026-08-02 22:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136484608001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367372935356219392,"note":"Value kept but may cause issues"} 
[2026-08-02 22:22:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4116430765539776512,"note":"Value kept but may cause issues"} 
[2026-08-02 22:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785689393000,"timestamp_ms":1785689393000,"timestamp_seconds":1785689393,"priority":1,"record_length":96,"hex_timestamp":"0000019fc361c768"} 
[2026-08-02 22:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 22:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136484608001,"66":27463,"164":206,"2":54016,"24":13,"16":367372935356219392,"44":-4116430765539776512},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-08-02 22:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136484608001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:22:29] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-02 22:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367372935356219392,"km_value":367372935356219.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:22:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4116430765539776512,"description":"Unknown IO ID 44"} 
[2026-08-02 22:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136484608001,"power":27463,"unknown_164":206,"power_alt":54016,"ignition":13,"odometer":null,"unknown_44":-4116430765539776512}} 
[2026-08-02 22:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":147067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:22:29] local.INFO: GPS data processed {"connection_id":147067,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:22:29] local.INFO: Acknowledgment sent {"connection_id":147067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:23:01] local.INFO: TCP Data received {"connection_id":147067,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc363bf50012cc77140074d36380009008031..."} 
[2026-08-02 22:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc363bf50012cc77140074d36380009008031..."} 
[2026-08-02 22:23:01] local.INFO: Processing buffer {"connection_id":147067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc363bf50012cc77140074d36380009008031..."} 
[2026-08-02 22:23:01] local.INFO: Packet analysis {"connection_id":147067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc363"} 
[2026-08-02 22:23:01] local.INFO: Extracted packet for processing {"connection_id":147067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc363"} 
[2026-08-02 22:23:01] local.INFO: GPS Element Parsed {"raw_longitude":751268160,"raw_latitude":122500664,"longitude_deg":75.126816,"latitude_deg":12.2500664,"altitude":9,"angle":128,"satellites":49,"speed":13,"hex_longitude":"2cc77140","hex_latitude":"074d3638","is_valid_coordinates":true} 
[2026-08-02 22:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136515840001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367374958285815808,"note":"Value kept but may cause issues"} 
[2026-08-02 22:23:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4078079799967649792,"note":"Value kept but may cause issues"} 
[2026-08-02 22:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785689522000,"timestamp_ms":1785689522000,"timestamp_seconds":1785689522,"priority":1,"record_length":96,"hex_timestamp":"0000019fc363bf50"} 
[2026-08-02 22:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-02 22:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136515840001,"66":27332,"163":206,"2":54016,"24":13,"16":367374958285815808,"44":-4078079799967649792},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,2,24,16,44]} 
[2026-08-02 22:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136515840001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:23:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-02 22:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367374958285815808,"km_value":367374958285815.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:23:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4078079799967649792,"description":"Unknown IO ID 44"} 
[2026-08-02 22:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136515840001,"power":27332,"unknown_163":206,"power_alt":54016,"ignition":13,"odometer":null,"unknown_44":-4078079799967649792}} 
[2026-08-02 22:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":147067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:23:01] local.INFO: GPS data processed {"connection_id":147067,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:23:01] local.INFO: Acknowledgment sent {"connection_id":147067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:23:28] local.INFO: TCP Data received {"connection_id":146844,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:23:28] local.INFO: Processing buffer {"connection_id":146844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:23:28] local.INFO: IMEI packet received {"connection_id":146844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":146844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:23:29] local.INFO: TCP Data received {"connection_id":146844,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:23:29] local.INFO: Processing buffer {"connection_id":146844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:23:29] local.INFO: IMEI packet received {"connection_id":146844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":146844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:23:33] local.INFO: TCP Data received {"connection_id":146844,"ip":"117.224.14.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:23:33] local.INFO: Processing buffer {"connection_id":146844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:23:33] local.INFO: IMEI packet received {"connection_id":146844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":146844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:23:34] local.INFO: TCP Data received {"connection_id":146844,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc363d2d8012cc77780074d31e0000a007132..."} 
[2026-08-02 22:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc363d2d8012cc77780074d31e0000a007132..."} 
[2026-08-02 22:23:34] local.INFO: Processing buffer {"connection_id":146844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc363d2d8012cc77780074d31e0000a007132..."} 
[2026-08-02 22:23:34] local.INFO: Packet analysis {"connection_id":146844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc363"} 
[2026-08-02 22:23:34] local.INFO: Extracted packet for processing {"connection_id":146844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc363"} 
[2026-08-02 22:23:34] local.INFO: GPS Element Parsed {"raw_longitude":751269760,"raw_latitude":122499552,"longitude_deg":75.126976,"latitude_deg":12.2499552,"altitude":10,"angle":113,"satellites":50,"speed":19,"hex_longitude":"2cc77780","hex_latitude":"074d31e0","is_valid_coordinates":true} 
[2026-08-02 22:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136517632001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367375048480129024,"note":"Value kept but may cause issues"} 
[2026-08-02 22:23:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4075405787689240576,"note":"Value kept but may cause issues"} 
[2026-08-02 22:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785689527000,"timestamp_ms":1785689527000,"timestamp_seconds":1785689527,"priority":1,"record_length":96,"hex_timestamp":"0000019fc363d2d8"} 
[2026-08-02 22:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":196,"data_length":795,"current_offset":136} 
[2026-08-02 22:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136517632001,"66":27365,"163":206,"2":54016,"24":19,"16":367375048480129024,"44":-4075405787689240576},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,2,24,16,44]} 
[2026-08-02 22:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136517632001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:23:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-02 22:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367375048480129024,"km_value":367375048480129.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:23:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4075405787689240576,"description":"Unknown IO ID 44"} 
[2026-08-02 22:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136517632001,"power":27365,"unknown_163":206,"power_alt":54016,"ignition":19,"odometer":null,"unknown_44":-4075405787689240576}} 
[2026-08-02 22:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":146844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:23:34] local.INFO: GPS data processed {"connection_id":146844,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:23:34] local.INFO: Acknowledgment sent {"connection_id":146844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:23:39] local.INFO: TCP Data received {"connection_id":146844,"ip":"117.224.14.1","data_length":795,"data_hex":"000000000000030f8e0a0000019fc363de90012cc77c80074d3060000a006132..."} 
[2026-08-02 22:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc363de90012cc77c80074d3060000a006132..."} 
[2026-08-02 22:23:39] local.INFO: Processing buffer {"connection_id":146844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc363de90012cc77c80074d3060000a006132..."} 
[2026-08-02 22:23:39] local.INFO: Packet analysis {"connection_id":146844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc363"} 
[2026-08-02 22:23:39] local.INFO: Extracted packet for processing {"connection_id":146844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc363"} 
[2026-08-02 22:23:39] local.INFO: GPS Element Parsed {"raw_longitude":751271040,"raw_latitude":122499168,"longitude_deg":75.127104,"latitude_deg":12.2499168,"altitude":10,"angle":97,"satellites":50,"speed":16,"hex_longitude":"2cc77c80","hex_latitude":"074d3060","is_valid_coordinates":true} 
[2026-08-02 22:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136518912001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367375112904638464,"note":"Value kept but may cause issues"} 
[2026-08-02 22:23:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4073646569085083648,"note":"Value kept but may cause issues"} 
[2026-08-02 22:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785689530000,"timestamp_ms":1785689530000,"timestamp_seconds":1785689530,"priority":1,"record_length":96,"hex_timestamp":"0000019fc363de90"} 
[2026-08-02 22:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 22:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.14.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136518912001,"66":27332,"163":206,"2":54016,"24":16,"16":367375112904638464,"44":-4073646569085083648},"client_ip":"117.224.14.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,2,24,16,44]} 
[2026-08-02 22:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136518912001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:23:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-02 22:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367375112904638464,"km_value":367375112904638.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:23:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4073646569085083648,"description":"Unknown IO ID 44"} 
[2026-08-02 22:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136518912001,"power":27332,"unknown_163":206,"power_alt":54016,"ignition":16,"odometer":null,"unknown_44":-4073646569085083648}} 
[2026-08-02 22:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":146844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:23:39] local.INFO: GPS data processed {"connection_id":146844,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:23:39] local.INFO: Acknowledgment sent {"connection_id":146844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:27:28] local.INFO: TCP Data received {"connection_id":148105,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:27:28] local.INFO: Processing buffer {"connection_id":148105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:27:28] local.INFO: IMEI packet received {"connection_id":148105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":148105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:27:29] local.INFO: TCP Data received {"connection_id":148105,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:27:29] local.INFO: Processing buffer {"connection_id":148105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:27:29] local.INFO: IMEI packet received {"connection_id":148105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":148105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:27:33] local.INFO: TCP Data received {"connection_id":148105,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:27:33] local.INFO: Processing buffer {"connection_id":148105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:27:33] local.INFO: IMEI packet received {"connection_id":148105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":148105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:27:34] local.INFO: TCP Data received {"connection_id":148105,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3674990012cca4d80074c24800014005d32..."} 
[2026-08-02 22:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3674990012cca4d80074c24800014005d32..."} 
[2026-08-02 22:27:34] local.INFO: Processing buffer {"connection_id":148105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3674990012cca4d80074c24800014005d32..."} 
[2026-08-02 22:27:34] local.INFO: Packet analysis {"connection_id":148105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc367"} 
[2026-08-02 22:27:34] local.INFO: Extracted packet for processing {"connection_id":148105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc367"} 
[2026-08-02 22:27:34] local.INFO: GPS Element Parsed {"raw_longitude":751455616,"raw_latitude":122430592,"longitude_deg":75.1455616,"latitude_deg":12.2430592,"altitude":20,"angle":93,"satellites":50,"speed":44,"hex_longitude":"2cca4d80","hex_latitude":"074c2480","is_valid_coordinates":true} 
[2026-08-02 22:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136574720001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367385699999023104,"note":"Value kept but may cause issues"} 
[2026-08-02 22:27:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3880062153869807616,"note":"Value kept but may cause issues"} 
[2026-08-02 22:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785689754000,"timestamp_ms":1785689754000,"timestamp_seconds":1785689754,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3674990"} 
[2026-08-02 22:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 22:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136574720001,"66":27365,"17":206,"2":54016,"24":44,"16":367385699999023104,"44":-3880062153869807616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,2,24,16,44]} 
[2026-08-02 22:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136574720001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367385699999023104,"km_value":367385699999023.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:27:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3880062153869807616,"description":"Unknown IO ID 44"} 
[2026-08-02 22:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136574720001,"power":27365,"axis_x":206,"power_alt":54016,"ignition":44,"odometer":null,"unknown_44":-3880062153869807616}} 
[2026-08-02 22:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":148105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:27:34] local.INFO: GPS data processed {"connection_id":148105,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:27:34] local.INFO: Acknowledgment sent {"connection_id":148105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:28:05] local.INFO: TCP Data received {"connection_id":148105,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36768d0012cca7240074c22500013005e32..."} 
[2026-08-02 22:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36768d0012cca7240074c22500013005e32..."} 
[2026-08-02 22:28:05] local.INFO: Processing buffer {"connection_id":148105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36768d0012cca7240074c22500013005e32..."} 
[2026-08-02 22:28:05] local.INFO: Packet analysis {"connection_id":148105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc367"} 
[2026-08-02 22:28:05] local.INFO: Extracted packet for processing {"connection_id":148105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc367"} 
[2026-08-02 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":751465024,"raw_latitude":122430032,"longitude_deg":75.1465024,"latitude_deg":12.2430032,"altitude":19,"angle":94,"satellites":50,"speed":47,"hex_longitude":"2cca7240","hex_latitude":"074c2250","is_valid_coordinates":true} 
[2026-08-02 22: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-08-02 22:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136577024001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367386142380654592,"note":"Value kept but may cause issues"} 
[2026-08-02 22:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3869295736010801152,"note":"Value kept but may cause issues"} 
[2026-08-02 22:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785689762000,"timestamp_ms":1785689762000,"timestamp_seconds":1785689762,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36768d0"} 
[2026-08-02 22:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 22:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136577024001,"66":27321,"17":206,"2":54016,"24":47,"16":367386142380654592,"44":-3869295736010801152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,2,24,16,44]} 
[2026-08-02 22:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136577024001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367386142380654592,"km_value":367386142380654.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:28:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3869295736010801152,"description":"Unknown IO ID 44"} 
[2026-08-02 22:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136577024001,"power":27321,"axis_x":206,"power_alt":54016,"ignition":47,"odometer":null,"unknown_44":-3869295736010801152}} 
[2026-08-02 22:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":148105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:28:05] local.INFO: GPS data processed {"connection_id":148105,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:28:05] local.INFO: Acknowledgment sent {"connection_id":148105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:28:22] local.INFO: TCP Data received {"connection_id":149408,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:28:22] local.INFO: Processing buffer {"connection_id":149408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:28:22] local.INFO: IMEI packet received {"connection_id":149408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":149408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:28:23] local.INFO: TCP Data received {"connection_id":149408,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:28:23] local.INFO: Processing buffer {"connection_id":149408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:28:23] local.INFO: IMEI packet received {"connection_id":149408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":149408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:28:28] local.INFO: TCP Data received {"connection_id":149408,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:28:28] local.INFO: Processing buffer {"connection_id":149408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:28:28] local.INFO: IMEI packet received {"connection_id":149408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":149408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:28:29] local.INFO: TCP Data received {"connection_id":149408,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc368bca8012ccb2040074b1208000a00a833..."} 
[2026-08-02 22:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc368bca8012ccb2040074b1208000a00a833..."} 
[2026-08-02 22:28:29] local.INFO: Processing buffer {"connection_id":149408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc368bca8012ccb2040074b1208000a00a833..."} 
[2026-08-02 22:28:29] local.INFO: Packet analysis {"connection_id":149408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc368"} 
[2026-08-02 22:28:29] local.INFO: Extracted packet for processing {"connection_id":149408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc368"} 
[2026-08-02 22:28:29] local.INFO: GPS Element Parsed {"raw_longitude":751509568,"raw_latitude":122360328,"longitude_deg":75.1509568,"latitude_deg":12.2360328,"altitude":10,"angle":168,"satellites":51,"speed":33,"hex_longitude":"2ccb2040","hex_latitude":"074b1208","is_valid_coordinates":true} 
[2026-08-02 22:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136598784001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367390437347950592,"note":"Value kept but may cause issues"} 
[2026-08-02 22:28:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3812156315754276864,"note":"Value kept but may cause issues"} 
[2026-08-02 22:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785689849000,"timestamp_ms":1785689849000,"timestamp_seconds":1785689849,"priority":1,"record_length":96,"hex_timestamp":"0000019fc368bca8"} 
[2026-08-02 22:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 22:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136598784001,"66":27267,"103":206,"85":37632,"24":33,"16":367390437347950592,"44":-3812156315754276864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-08-02 22:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136598784001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:28:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 22:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367390437347950592,"km_value":367390437347950.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:28:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3812156315754276864,"description":"Unknown IO ID 44"} 
[2026-08-02 22:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136598784001,"power":27267,"unknown_103":206,"unknown_85":37632,"ignition":33,"odometer":null,"unknown_44":-3812156315754276864}} 
[2026-08-02 22:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":149408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:28:29] local.INFO: GPS data processed {"connection_id":149408,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:28:29] local.INFO: Acknowledgment sent {"connection_id":149408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:29:00] local.INFO: TCP Data received {"connection_id":149408,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc368c860012ccb2380074b08100008009531..."} 
[2026-08-02 22:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc368c860012ccb2380074b08100008009531..."} 
[2026-08-02 22:29:00] local.INFO: Processing buffer {"connection_id":149408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc368c860012ccb2380074b08100008009531..."} 
[2026-08-02 22:29:00] local.INFO: Packet analysis {"connection_id":149408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc368"} 
[2026-08-02 22:29:00] local.INFO: Extracted packet for processing {"connection_id":149408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc368"} 
[2026-08-02 22:29:00] local.INFO: GPS Element Parsed {"raw_longitude":751510400,"raw_latitude":122357776,"longitude_deg":75.15104,"latitude_deg":12.2357776,"altitude":8,"angle":149,"satellites":49,"speed":37,"hex_longitude":"2ccb2380","hex_latitude":"074b0810","is_valid_coordinates":true} 
[2026-08-02 22:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136601344001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367390566196969472,"note":"Value kept but may cause issues"} 
[2026-08-02 22:29:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3809974884687017984,"note":"Value kept but may cause issues"} 
[2026-08-02 22:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785689852000,"timestamp_ms":1785689852000,"timestamp_seconds":1785689852,"priority":1,"record_length":96,"hex_timestamp":"0000019fc368c860"} 
[2026-08-02 22:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 22:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":149408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":149408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":149408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136601344001,"66":27343,"103":206,"85":37632,"24":37,"16":367390566196969472,"44":-3809974884687017984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-08-02 22:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136601344001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:29:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 22:29:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367390566196969472,"km_value":367390566196969.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:29:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3809974884687017984,"description":"Unknown IO ID 44"} 
[2026-08-02 22:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136601344001,"power":27343,"unknown_103":206,"unknown_85":37632,"ignition":37,"odometer":null,"unknown_44":-3809974884687017984}} 
[2026-08-02 22:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":149408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:29:00] local.INFO: GPS data processed {"connection_id":149408,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:29:00] local.INFO: Acknowledgment sent {"connection_id":149408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:29:23] local.INFO: TCP Data received {"connection_id":149409,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:29:23] local.INFO: Processing buffer {"connection_id":149409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:29:23] local.INFO: IMEI packet received {"connection_id":149409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":149409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:29:23] local.INFO: TCP Data received {"connection_id":149409,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:29:23] local.INFO: Processing buffer {"connection_id":149409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:29:23] local.INFO: IMEI packet received {"connection_id":149409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":149409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:29:27] local.INFO: TCP Data received {"connection_id":149409,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:29:27] local.INFO: Processing buffer {"connection_id":149409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:29:27] local.INFO: IMEI packet received {"connection_id":149409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":149409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:29:28] local.INFO: TCP Data received {"connection_id":149409,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:29:28] local.INFO: Processing buffer {"connection_id":149409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:29:28] local.INFO: IMEI packet received {"connection_id":149409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":149409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:29:28] local.INFO: TCP Data received {"connection_id":149409,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc368d418012ccb2b00074afee00007008931..."} 
[2026-08-02 22:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc368d418012ccb2b00074afee00007008931..."} 
[2026-08-02 22:29:28] local.INFO: Processing buffer {"connection_id":149409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc368d418012ccb2b00074afee00007008931..."} 
[2026-08-02 22:29:28] local.INFO: Packet analysis {"connection_id":149409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc368"} 
[2026-08-02 22:29:28] local.INFO: Extracted packet for processing {"connection_id":149409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc368"} 
[2026-08-02 22:29:28] local.INFO: GPS Element Parsed {"raw_longitude":751512320,"raw_latitude":122355424,"longitude_deg":75.151232,"latitude_deg":12.2355424,"altitude":7,"angle":137,"satellites":49,"speed":40,"hex_longitude":"2ccb2b00","hex_latitude":"074afee0","is_valid_coordinates":true} 
[2026-08-02 22: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-08-02 22:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136602112001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367390712225857536,"note":"Value kept but may cause issues"} 
[2026-08-02 22:29:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3809060091013361664,"note":"Value kept but may cause issues"} 
[2026-08-02 22:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785689855000,"timestamp_ms":1785689855000,"timestamp_seconds":1785689855,"priority":1,"record_length":96,"hex_timestamp":"0000019fc368d418"} 
[2026-08-02 22:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 22:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22: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-08-02 22:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":149409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":149409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":149409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136602112001,"66":27104,"103":206,"85":37632,"24":40,"16":367390712225857536,"44":-3809060091013361664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-08-02 22:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136602112001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:29:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 22:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367390712225857536,"km_value":367390712225857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:29:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3809060091013361664,"description":"Unknown IO ID 44"} 
[2026-08-02 22:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136602112001,"power":27104,"unknown_103":206,"unknown_85":37632,"ignition":40,"odometer":null,"unknown_44":-3809060091013361664}} 
[2026-08-02 22:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":149409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:29:28] local.INFO: GPS data processed {"connection_id":149409,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:29:28] local.INFO: Acknowledgment sent {"connection_id":149409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:29:31] local.INFO: TCP Data received {"connection_id":149409,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc368f740012ccb3e80074aecd00008007d32..."} 
[2026-08-02 22:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc368f740012ccb3e80074aecd00008007d32..."} 
[2026-08-02 22:29:31] local.INFO: Processing buffer {"connection_id":149409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc368f740012ccb3e80074aecd00008007d32..."} 
[2026-08-02 22:29:31] local.INFO: Packet analysis {"connection_id":149409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc368"} 
[2026-08-02 22:29:31] local.INFO: Extracted packet for processing {"connection_id":149409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc368"} 
[2026-08-02 22:29:31] local.INFO: GPS Element Parsed {"raw_longitude":751517312,"raw_latitude":122350800,"longitude_deg":75.1517312,"latitude_deg":12.23508,"altitude":8,"angle":125,"satellites":50,"speed":20,"hex_longitude":"2ccb3e80","hex_latitude":"074aecd0","is_valid_coordinates":true} 
[2026-08-02 22:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136602880001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367391038643372032,"note":"Value kept but may cause issues"} 
[2026-08-02 22:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3806949028688633856,"note":"Value kept but may cause issues"} 
[2026-08-02 22:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785689864000,"timestamp_ms":1785689864000,"timestamp_seconds":1785689864,"priority":1,"record_length":96,"hex_timestamp":"0000019fc368f740"} 
[2026-08-02 22:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-02 22:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136602880001,"66":27223,"103":206,"85":37632,"24":20,"16":367391038643372032,"44":-3806949028688633856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-08-02 22:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136602880001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:29:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 22:29:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367391038643372032,"km_value":367391038643372.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3806949028688633856,"description":"Unknown IO ID 44"} 
[2026-08-02 22:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136602880001,"power":27223,"unknown_103":206,"unknown_85":37632,"ignition":20,"odometer":null,"unknown_44":-3806949028688633856}} 
[2026-08-02 22:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":149409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:29:31] local.INFO: GPS data processed {"connection_id":149409,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:29:31] local.INFO: Acknowledgment sent {"connection_id":149409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:30:02] local.INFO: TCP Data received {"connection_id":149409,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3692238012ccb5080074ae3c0000a007231..."} 
[2026-08-02 22:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3692238012ccb5080074ae3c0000a007231..."} 
[2026-08-02 22:30:02] local.INFO: Processing buffer {"connection_id":149409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3692238012ccb5080074ae3c0000a007231..."} 
[2026-08-02 22:30:02] local.INFO: Packet analysis {"connection_id":149409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc369"} 
[2026-08-02 22:30:02] local.INFO: Extracted packet for processing {"connection_id":149409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc369"} 
[2026-08-02 22:30:02] local.INFO: GPS Element Parsed {"raw_longitude":751521920,"raw_latitude":122348480,"longitude_deg":75.152192,"latitude_deg":12.234848,"altitude":10,"angle":114,"satellites":49,"speed":19,"hex_longitude":"2ccb5080","hex_latitude":"074ae3c0","is_valid_coordinates":true} 
[2026-08-02 22:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136605184001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367391283456507904,"note":"Value kept but may cause issues"} 
[2026-08-02 22:30:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3801460266643959808,"note":"Value kept but may cause issues"} 
[2026-08-02 22:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785689875000,"timestamp_ms":1785689875000,"timestamp_seconds":1785689875,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3692238"} 
[2026-08-02 22:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-02 22:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136605184001,"66":27365,"103":206,"85":37632,"24":19,"16":367391283456507904,"44":-3801460266643959808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-08-02 22:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136605184001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:30:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 22:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367391283456507904,"km_value":367391283456507.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:30:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3801460266643959808,"description":"Unknown IO ID 44"} 
[2026-08-02 22:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136605184001,"power":27365,"unknown_103":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-3801460266643959808}} 
[2026-08-02 22:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":149409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:30:02] local.INFO: GPS data processed {"connection_id":149409,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:30:02] local.INFO: Acknowledgment sent {"connection_id":149409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:30:28] local.INFO: TCP Data received {"connection_id":148106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:30:28] local.INFO: Processing buffer {"connection_id":148106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:30:28] local.INFO: IMEI packet received {"connection_id":148106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":148106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:30:29] local.INFO: TCP Data received {"connection_id":148106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:30:29] local.INFO: Processing buffer {"connection_id":148106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:30:29] local.INFO: IMEI packet received {"connection_id":148106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":148106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:30:33] local.INFO: TCP Data received {"connection_id":148106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:30:33] local.INFO: Processing buffer {"connection_id":148106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:30:33] local.INFO: IMEI packet received {"connection_id":148106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":148106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:30:34] local.INFO: TCP Data received {"connection_id":148106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36a7de0012ccb9600074a1ef8000a00ae2e..."} 
[2026-08-02 22:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36a7de0012ccb9600074a1ef8000a00ae2e..."} 
[2026-08-02 22:30:34] local.INFO: Processing buffer {"connection_id":148106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36a7de0012ccb9600074a1ef8000a00ae2e..."} 
[2026-08-02 22:30:34] local.INFO: Packet analysis {"connection_id":148106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36a"} 
[2026-08-02 22:30:34] local.INFO: Extracted packet for processing {"connection_id":148106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36a"} 
[2026-08-02 22:30:34] local.INFO: GPS Element Parsed {"raw_longitude":751539712,"raw_latitude":122298104,"longitude_deg":75.1539712,"latitude_deg":12.2298104,"altitude":10,"angle":174,"satellites":46,"speed":34,"hex_longitude":"2ccb9600","hex_latitude":"074a1ef8","is_valid_coordinates":true} 
[2026-08-02 22:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136629760001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367394380127928320,"note":"Value kept but may cause issues"} 
[2026-08-02 22:30:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776760837450227712,"note":"Value kept but may cause issues"} 
[2026-08-02 22:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785689964000,"timestamp_ms":1785689964000,"timestamp_seconds":1785689964,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36a7de0"} 
[2026-08-02 22:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136629760001,"66":27332,"101":206,"85":37632,"24":34,"16":367394380127928320,"44":-3776760837450227712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-08-02 22:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136629760001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:30:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 22:30:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367394380127928320,"km_value":367394380127928.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:30:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776760837450227712,"description":"Unknown IO ID 44"} 
[2026-08-02 22:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136629760001,"power":27332,"unknown_101":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-3776760837450227712}} 
[2026-08-02 22:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":148106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:30:34] local.INFO: GPS data processed {"connection_id":148106,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:30:34] local.INFO: Acknowledgment sent {"connection_id":148106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:30:38] local.INFO: TCP Data received {"connection_id":148106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36a8d80012ccb9880074a11a8000b00a22e..."} 
[2026-08-02 22:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36a8d80012ccb9880074a11a8000b00a22e..."} 
[2026-08-02 22:30:38] local.INFO: Processing buffer {"connection_id":148106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36a8d80012ccb9880074a11a8000b00a22e..."} 
[2026-08-02 22:30:38] local.INFO: Packet analysis {"connection_id":148106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36a"} 
[2026-08-02 22:30:38] local.INFO: Extracted packet for processing {"connection_id":148106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36a"} 
[2026-08-02 22:30:38] local.INFO: GPS Element Parsed {"raw_longitude":751540352,"raw_latitude":122294696,"longitude_deg":75.1540352,"latitude_deg":12.2294696,"altitude":11,"angle":162,"satellites":46,"speed":33,"hex_longitude":"2ccb9880","hex_latitude":"074a11a8","is_valid_coordinates":true} 
[2026-08-02 22:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136630784001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367394547631652864,"note":"Value kept but may cause issues"} 
[2026-08-02 22:30:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776831206195267584,"note":"Value kept but may cause issues"} 
[2026-08-02 22:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785689968000,"timestamp_ms":1785689968000,"timestamp_seconds":1785689968,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36a8d80"} 
[2026-08-02 22:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 22:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136630784001,"66":27343,"101":206,"85":37632,"24":33,"16":367394547631652864,"44":-3776831206195267584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-08-02 22:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136630784001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:30:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 22:30:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367394547631652864,"km_value":367394547631652.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:30:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776831206195267584,"description":"Unknown IO ID 44"} 
[2026-08-02 22:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136630784001,"power":27343,"unknown_101":206,"unknown_85":37632,"ignition":33,"odometer":null,"unknown_44":-3776831206195267584}} 
[2026-08-02 22:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":148106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:30:38] local.INFO: GPS data processed {"connection_id":148106,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:30:38] local.INFO: Acknowledgment sent {"connection_id":148106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:31:23] local.INFO: TCP Data received {"connection_id":149410,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:31:23] local.INFO: Processing buffer {"connection_id":149410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:31:23] local.INFO: IMEI packet received {"connection_id":149410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":149410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:31:26] local.INFO: TCP Data received {"connection_id":149410,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:31:26] local.INFO: Processing buffer {"connection_id":149410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:31:26] local.INFO: IMEI packet received {"connection_id":149410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":149410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:31:27] local.INFO: TCP Data received {"connection_id":149410,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36b9720012ccc408007495798000b00a632..."} 
[2026-08-02 22:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36b9720012ccc408007495798000b00a632..."} 
[2026-08-02 22:31:27] local.INFO: Processing buffer {"connection_id":149410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36b9720012ccc408007495798000b00a632..."} 
[2026-08-02 22:31:27] local.INFO: Packet analysis {"connection_id":149410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36b"} 
[2026-08-02 22:31:27] local.INFO: Extracted packet for processing {"connection_id":149410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36b"} 
[2026-08-02 22:31:27] local.INFO: GPS Element Parsed {"raw_longitude":751583360,"raw_latitude":122247064,"longitude_deg":75.158336,"latitude_deg":12.2247064,"altitude":11,"angle":166,"satellites":50,"speed":46,"hex_longitude":"2ccc4080","hex_latitude":"07495798","is_valid_coordinates":true} 
[2026-08-02 22:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136649216001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367397717317517312,"note":"Value kept but may cause issues"} 
[2026-08-02 22:31:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3728839722679166976,"note":"Value kept but may cause issues"} 
[2026-08-02 22:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785690036000,"timestamp_ms":1785690036000,"timestamp_seconds":1785690036,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36b9720"} 
[2026-08-02 22:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136649216001,"66":27376,"101":206,"85":37632,"24":46,"16":367397717317517312,"44":-3728839722679166976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-08-02 22:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136649216001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:31:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 22:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367397717317517312,"km_value":367397717317517.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:31:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3728839722679166976,"description":"Unknown IO ID 44"} 
[2026-08-02 22:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136649216001,"power":27376,"unknown_101":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3728839722679166976}} 
[2026-08-02 22:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":149410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:31:27] local.INFO: GPS data processed {"connection_id":149410,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:31:27] local.INFO: Acknowledgment sent {"connection_id":149410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:31:28] local.INFO: TCP Data received {"connection_id":149410,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36ba6c0012ccc424007494518000b00b132..."} 
[2026-08-02 22:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36ba6c0012ccc424007494518000b00b132..."} 
[2026-08-02 22:31:28] local.INFO: Processing buffer {"connection_id":149410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36ba6c0012ccc424007494518000b00b132..."} 
[2026-08-02 22:31:28] local.INFO: Packet analysis {"connection_id":149410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36b"} 
[2026-08-02 22:31:28] local.INFO: Extracted packet for processing {"connection_id":149410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36b"} 
[2026-08-02 22:31:28] local.INFO: GPS Element Parsed {"raw_longitude":751583808,"raw_latitude":122242328,"longitude_deg":75.1583808,"latitude_deg":12.2242328,"altitude":11,"angle":177,"satellites":50,"speed":47,"hex_longitude":"2ccc4240","hex_latitude":"07494518","is_valid_coordinates":true} 
[2026-08-02 22:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136649216001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367397949245751296,"note":"Value kept but may cause issues"} 
[2026-08-02 22:31:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3728839722679166976,"note":"Value kept but may cause issues"} 
[2026-08-02 22:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785690040000,"timestamp_ms":1785690040000,"timestamp_seconds":1785690040,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36ba6c0"} 
[2026-08-02 22:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":149410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":149410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":149410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136649216001,"66":27332,"101":206,"85":37632,"24":47,"16":367397949245751296,"44":-3728839722679166976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-08-02 22:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136649216001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:31:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-02 22:31:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367397949245751296,"km_value":367397949245751.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:31:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3728839722679166976,"description":"Unknown IO ID 44"} 
[2026-08-02 22:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136649216001,"power":27332,"unknown_101":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3728839722679166976}} 
[2026-08-02 22:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":149410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:31:28] local.INFO: GPS data processed {"connection_id":149410,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:31:28] local.INFO: Acknowledgment sent {"connection_id":149410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:31:59] local.INFO: TCP Data received {"connection_id":149410,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36bc600012ccc3f80074920b0000b00b933..."} 
[2026-08-02 22:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36bc600012ccc3f80074920b0000b00b933..."} 
[2026-08-02 22:31:59] local.INFO: Processing buffer {"connection_id":149410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36bc600012ccc3f80074920b0000b00b933..."} 
[2026-08-02 22:31:59] local.INFO: Packet analysis {"connection_id":149410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36b"} 
[2026-08-02 22:31:59] local.INFO: Extracted packet for processing {"connection_id":149410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36b"} 
[2026-08-02 22:31:59] local.INFO: GPS Element Parsed {"raw_longitude":751583104,"raw_latitude":122233008,"longitude_deg":75.1583104,"latitude_deg":12.2233008,"altitude":11,"angle":185,"satellites":51,"speed":45,"hex_longitude":"2ccc3f80","hex_latitude":"074920b0","is_valid_coordinates":true} 
[2026-08-02 22:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136650240001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367398404512284672,"note":"Value kept but may cause issues"} 
[2026-08-02 22:31:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3728347141471135744,"note":"Value kept but may cause issues"} 
[2026-08-02 22:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785690048000,"timestamp_ms":1785690048000,"timestamp_seconds":1785690048,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36bc600"} 
[2026-08-02 22:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 22:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":149410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":149410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":149410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136650240001,"66":27213,"167":206,"85":37632,"24":45,"16":367398404512284672,"44":-3728347141471135744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-08-02 22:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136650240001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:31:59] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-02 22:31:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367398404512284672,"km_value":367398404512284.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:31:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3728347141471135744,"description":"Unknown IO ID 44"} 
[2026-08-02 22:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136650240001,"power":27213,"unknown_167":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3728347141471135744}} 
[2026-08-02 22:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":149410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:31:59] local.INFO: GPS data processed {"connection_id":149410,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:31:59] local.INFO: Acknowledgment sent {"connection_id":149410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:32:23] local.INFO: TCP Data received {"connection_id":147068,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:32:23] local.INFO: Processing buffer {"connection_id":147068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:32:23] local.INFO: IMEI packet received {"connection_id":147068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":147068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:32:28] local.INFO: TCP Data received {"connection_id":147068,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:32:28] local.INFO: Processing buffer {"connection_id":147068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:32:28] local.INFO: IMEI packet received {"connection_id":147068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":147068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:32:29] local.INFO: TCP Data received {"connection_id":147068,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36be540012ccc3d000748fcf0000a00b831..."} 
[2026-08-02 22:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36be540012ccc3d000748fcf0000a00b831..."} 
[2026-08-02 22:32:29] local.INFO: Processing buffer {"connection_id":147068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36be540012ccc3d000748fcf0000a00b831..."} 
[2026-08-02 22:32:29] local.INFO: Packet analysis {"connection_id":147068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36b"} 
[2026-08-02 22:32:29] local.INFO: Extracted packet for processing {"connection_id":147068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36b"} 
[2026-08-02 22:32:29] local.INFO: GPS Element Parsed {"raw_longitude":751582464,"raw_latitude":122223856,"longitude_deg":75.1582464,"latitude_deg":12.2223856,"altitude":10,"angle":184,"satellites":49,"speed":45,"hex_longitude":"2ccc3d00","hex_latitude":"0748fcf0","is_valid_coordinates":true} 
[2026-08-02 22:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136652288001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367398846893916160,"note":"Value kept but may cause issues"} 
[2026-08-02 22:32:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3729121197659475968,"note":"Value kept but may cause issues"} 
[2026-08-02 22:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785690056000,"timestamp_ms":1785690056000,"timestamp_seconds":1785690056,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36be540"} 
[2026-08-02 22:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 22:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136652288001,"66":27397,"167":206,"85":37632,"24":45,"16":367398846893916160,"44":-3729121197659475968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-08-02 22:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136652288001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:32:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-02 22:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367398846893916160,"km_value":367398846893916.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:32:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3729121197659475968,"description":"Unknown IO ID 44"} 
[2026-08-02 22:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136652288001,"power":27397,"unknown_167":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3729121197659475968}} 
[2026-08-02 22:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":147068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:32:29] local.INFO: GPS data processed {"connection_id":147068,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:32:29] local.INFO: Acknowledgment sent {"connection_id":147068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:33:00] local.INFO: TCP Data received {"connection_id":147068,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36c0480012ccc39400748d880000900bb31..."} 
[2026-08-02 22:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36c0480012ccc39400748d880000900bb31..."} 
[2026-08-02 22:33:00] local.INFO: Processing buffer {"connection_id":147068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36c0480012ccc39400748d880000900bb31..."} 
[2026-08-02 22:33:00] local.INFO: Packet analysis {"connection_id":147068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36c"} 
[2026-08-02 22:33:00] local.INFO: Extracted packet for processing {"connection_id":147068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36c"} 
[2026-08-02 22:33:00] local.INFO: GPS Element Parsed {"raw_longitude":751581504,"raw_latitude":122214528,"longitude_deg":75.1581504,"latitude_deg":12.2214528,"altitude":9,"angle":187,"satellites":49,"speed":47,"hex_longitude":"2ccc3940","hex_latitude":"0748d880","is_valid_coordinates":true} 
[2026-08-02 22: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-08-02 22:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136654336001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367399302160449536,"note":"Value kept but may cause issues"} 
[2026-08-02 22:33:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3729824885103595520,"note":"Value kept but may cause issues"} 
[2026-08-02 22:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785690064000,"timestamp_ms":1785690064000,"timestamp_seconds":1785690064,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36c0480"} 
[2026-08-02 22:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 22:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22: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-08-02 22:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136654336001,"66":27332,"167":206,"85":37632,"24":47,"16":367399302160449536,"44":-3729824885103595520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-08-02 22:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136654336001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:33:00] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-02 22:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367399302160449536,"km_value":367399302160449.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:33:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3729824885103595520,"description":"Unknown IO ID 44"} 
[2026-08-02 22:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136654336001,"power":27332,"unknown_167":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3729824885103595520}} 
[2026-08-02 22:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":147068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:33:00] local.INFO: GPS data processed {"connection_id":147068,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:33:00] local.INFO: Acknowledgment sent {"connection_id":147068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:33:23] local.INFO: TCP Data received {"connection_id":146845,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:33:23] local.INFO: Processing buffer {"connection_id":146845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:33:23] local.INFO: IMEI packet received {"connection_id":146845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":146845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:33:30] local.INFO: TCP Data received {"connection_id":146845,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:33:30] local.INFO: Processing buffer {"connection_id":146845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:33:30] local.INFO: IMEI packet received {"connection_id":146845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":146845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:33:30] local.INFO: TCP Data received {"connection_id":146845,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36c23c0012ccc30400748b3e8000700c530..."} 
[2026-08-02 22:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36c23c0012ccc30400748b3e8000700c530..."} 
[2026-08-02 22:33:30] local.INFO: Processing buffer {"connection_id":146845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36c23c0012ccc30400748b3e8000700c530..."} 
[2026-08-02 22:33:30] local.INFO: Packet analysis {"connection_id":146845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36c"} 
[2026-08-02 22:33:30] local.INFO: Extracted packet for processing {"connection_id":146845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36c"} 
[2026-08-02 22:33:30] local.INFO: GPS Element Parsed {"raw_longitude":751579200,"raw_latitude":122205160,"longitude_deg":75.15792,"latitude_deg":12.220516,"altitude":7,"angle":197,"satellites":48,"speed":46,"hex_longitude":"2ccc3040","hex_latitude":"0748b3e8","is_valid_coordinates":true} 
[2026-08-02 22:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136656384001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367399770311884800,"note":"Value kept but may cause issues"} 
[2026-08-02 22:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3730880416268648448,"note":"Value kept but may cause issues"} 
[2026-08-02 22:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785690072000,"timestamp_ms":1785690072000,"timestamp_seconds":1785690072,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36c23c0"} 
[2026-08-02 22:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 22:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136656384001,"66":27332,"167":206,"85":37632,"24":46,"16":367399770311884800,"44":-3730880416268648448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-08-02 22:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136656384001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:33:30] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-02 22:33:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367399770311884800,"km_value":367399770311884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3730880416268648448,"description":"Unknown IO ID 44"} 
[2026-08-02 22:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136656384001,"power":27332,"unknown_167":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3730880416268648448}} 
[2026-08-02 22:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":146845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:33:30] local.INFO: GPS data processed {"connection_id":146845,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:33:30] local.INFO: Acknowledgment sent {"connection_id":146845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:34:01] local.INFO: TCP Data received {"connection_id":146845,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36c4300012ccc250007489240000700c530..."} 
[2026-08-02 22:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36c4300012ccc250007489240000700c530..."} 
[2026-08-02 22:34:01] local.INFO: Processing buffer {"connection_id":146845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36c4300012ccc250007489240000700c530..."} 
[2026-08-02 22:34:01] local.INFO: Packet analysis {"connection_id":146845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36c"} 
[2026-08-02 22:34:01] local.INFO: Extracted packet for processing {"connection_id":146845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36c"} 
[2026-08-02 22:34:01] local.INFO: GPS Element Parsed {"raw_longitude":751576320,"raw_latitude":122196544,"longitude_deg":75.157632,"latitude_deg":12.2196544,"altitude":7,"angle":197,"satellites":48,"speed":40,"hex_longitude":"2ccc2500","hex_latitude":"07489240","is_valid_coordinates":true} 
[2026-08-02 22: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-08-02 22:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136658432001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367400208398548992,"note":"Value kept but may cause issues"} 
[2026-08-02 22:34:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3733413691061442560,"note":"Value kept but may cause issues"} 
[2026-08-02 22:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785690080000,"timestamp_ms":1785690080000,"timestamp_seconds":1785690080,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36c4300"} 
[2026-08-02 22:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 22:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22: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-08-02 22:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136658432001,"66":26963,"167":206,"85":37632,"24":40,"16":367400208398548992,"44":-3733413691061442560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-08-02 22:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136658432001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:34:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-02 22:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367400208398548992,"km_value":367400208398549.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:34:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3733413691061442560,"description":"Unknown IO ID 44"} 
[2026-08-02 22:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136658432001,"power":26963,"unknown_167":206,"unknown_85":37632,"ignition":40,"odometer":null,"unknown_44":-3733413691061442560}} 
[2026-08-02 22:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":146845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:34:01] local.INFO: GPS data processed {"connection_id":146845,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:34:01] local.INFO: Acknowledgment sent {"connection_id":146845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:34:24] local.INFO: TCP Data received {"connection_id":147069,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:34:24] local.INFO: Processing buffer {"connection_id":147069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:34:24] local.INFO: IMEI packet received {"connection_id":147069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":147069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:34:28] local.INFO: TCP Data received {"connection_id":147069,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:34:28] local.INFO: Processing buffer {"connection_id":147069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:34:28] local.INFO: IMEI packet received {"connection_id":147069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":147069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:34:29] local.INFO: TCP Data received {"connection_id":147069,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36c52a0012ccc2180074884f0000700b931..."} 
[2026-08-02 22:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36c52a0012ccc2180074884f0000700b931..."} 
[2026-08-02 22:34:29] local.INFO: Processing buffer {"connection_id":147069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36c52a0012ccc2180074884f0000700b931..."} 
[2026-08-02 22:34:29] local.INFO: Packet analysis {"connection_id":147069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36c"} 
[2026-08-02 22:34:29] local.INFO: Extracted packet for processing {"connection_id":147069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36c"} 
[2026-08-02 22:34:29] local.INFO: GPS Element Parsed {"raw_longitude":751575424,"raw_latitude":122193136,"longitude_deg":75.1575424,"latitude_deg":12.2193136,"altitude":7,"angle":185,"satellites":49,"speed":29,"hex_longitude":"2ccc2180","hex_latitude":"074884f0","is_valid_coordinates":true} 
[2026-08-02 22:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136660480001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367400380197240832,"note":"Value kept but may cause issues"} 
[2026-08-02 22:34:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3736580284551643136,"note":"Value kept but may cause issues"} 
[2026-08-02 22:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785690084000,"timestamp_ms":1785690084000,"timestamp_seconds":1785690084,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36c52a0"} 
[2026-08-02 22:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-08-02 22:34:29] 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-08-02 22:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136660480001,"66":27365,"167":206,"85":37632,"24":29,"16":367400380197240832,"44":-3736580284551643136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-08-02 22:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136660480001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:34:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-02 22:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367400380197240832,"km_value":367400380197240.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:34:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3736580284551643136,"description":"Unknown IO ID 44"} 
[2026-08-02 22:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136660480001,"power":27365,"unknown_167":206,"unknown_85":37632,"ignition":29,"odometer":null,"unknown_44":-3736580284551643136}} 
[2026-08-02 22:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":147069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:34:29] local.INFO: GPS data processed {"connection_id":147069,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:34:29] local.INFO: Acknowledgment sent {"connection_id":147069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:35:00] local.INFO: TCP Data received {"connection_id":147069,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36ea848012ccc7240074761b0000900a933..."} 
[2026-08-02 22:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36ea848012ccc7240074761b0000900a933..."} 
[2026-08-02 22:35:00] local.INFO: Processing buffer {"connection_id":147069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36ea848012ccc7240074761b0000900a933..."} 
[2026-08-02 22:35:00] local.INFO: Packet analysis {"connection_id":147069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36e"} 
[2026-08-02 22:35:00] local.INFO: Extracted packet for processing {"connection_id":147069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36e"} 
[2026-08-02 22:35:00] local.INFO: GPS Element Parsed {"raw_longitude":751596096,"raw_latitude":122118576,"longitude_deg":75.1596096,"latitude_deg":12.2118576,"altitude":9,"angle":169,"satellites":51,"speed":27,"hex_longitude":"2ccc7240","hex_latitude":"074761b0","is_valid_coordinates":true} 
[2026-08-02 22:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136696832001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367404151178526720,"note":"Value kept but may cause issues"} 
[2026-08-02 22:35:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3716947404943783936,"note":"Value kept but may cause issues"} 
[2026-08-02 22:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785690237000,"timestamp_ms":1785690237000,"timestamp_seconds":1785690237,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36ea848"} 
[2026-08-02 22:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 22:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136696832001,"66":27343,"13":206,"85":37632,"24":27,"16":367404151178526720,"44":-3716947404943783936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,85,24,16,44]} 
[2026-08-02 22:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136696832001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:35:00] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-02 22:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367404151178526720,"km_value":367404151178526.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:35:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3716947404943783936,"description":"Unknown IO ID 44"} 
[2026-08-02 22:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136696832001,"power":27343,"unknown_13":206,"unknown_85":37632,"ignition":27,"odometer":null,"unknown_44":-3716947404943783936}} 
[2026-08-02 22:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":147069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:35:00] local.INFO: GPS data processed {"connection_id":147069,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:35:00] local.INFO: Acknowledgment sent {"connection_id":147069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:35:23] local.INFO: TCP Data received {"connection_id":146846,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:35:23] local.INFO: Processing buffer {"connection_id":146846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:35:23] local.INFO: IMEI packet received {"connection_id":146846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":146846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:35:28] local.INFO: TCP Data received {"connection_id":146846,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:35:28] local.INFO: Processing buffer {"connection_id":146846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:35:28] local.INFO: IMEI packet received {"connection_id":146846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":146846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:35:29] local.INFO: TCP Data received {"connection_id":146846,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36ed340012ccc770007473cf0000700ad32..."} 
[2026-08-02 22:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36ed340012ccc770007473cf0000700ad32..."} 
[2026-08-02 22:35:29] local.INFO: Processing buffer {"connection_id":146846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36ed340012ccc770007473cf0000700ad32..."} 
[2026-08-02 22:35:29] local.INFO: Packet analysis {"connection_id":146846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36e"} 
[2026-08-02 22:35:29] local.INFO: Extracted packet for processing {"connection_id":146846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36e"} 
[2026-08-02 22:35:29] local.INFO: GPS Element Parsed {"raw_longitude":751597312,"raw_latitude":122109168,"longitude_deg":75.1597312,"latitude_deg":12.2109168,"altitude":7,"angle":173,"satellites":50,"speed":35,"hex_longitude":"2ccc7700","hex_latitude":"07473cf0","is_valid_coordinates":true} 
[2026-08-02 22:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136700672001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367404615034994688,"note":"Value kept but may cause issues"} 
[2026-08-02 22:35:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3714836342620704768,"note":"Value kept but may cause issues"} 
[2026-08-02 22:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785690248000,"timestamp_ms":1785690248000,"timestamp_seconds":1785690248,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36ed340"} 
[2026-08-02 22:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 22:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136700672001,"66":27343,"13":206,"85":37632,"24":35,"16":367404615034994688,"44":-3714836342620704768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,85,24,16,44]} 
[2026-08-02 22:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136700672001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:35:29] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-02 22:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367404615034994688,"km_value":367404615034994.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:35:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3714836342620704768,"description":"Unknown IO ID 44"} 
[2026-08-02 22:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136700672001,"power":27343,"unknown_13":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-3714836342620704768}} 
[2026-08-02 22:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":146846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:35:29] local.INFO: GPS data processed {"connection_id":146846,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:35:29] local.INFO: Acknowledgment sent {"connection_id":146846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:36:00] local.INFO: TCP Data received {"connection_id":146846,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36f0220012ccc7b0007471910000800ad33..."} 
[2026-08-02 22:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36f0220012ccc7b0007471910000800ad33..."} 
[2026-08-02 22:36:00] local.INFO: Processing buffer {"connection_id":146846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36f0220012ccc7b0007471910000800ad33..."} 
[2026-08-02 22:36:00] local.INFO: Packet analysis {"connection_id":146846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36f"} 
[2026-08-02 22:36:00] local.INFO: Extracted packet for processing {"connection_id":146846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36f"} 
[2026-08-02 22:36:00] local.INFO: GPS Element Parsed {"raw_longitude":751598336,"raw_latitude":122099984,"longitude_deg":75.1598336,"latitude_deg":12.2099984,"altitude":8,"angle":173,"satellites":51,"speed":31,"hex_longitude":"2ccc7b00","hex_latitude":"07471910","is_valid_coordinates":true} 
[2026-08-02 22:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136703488001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367405061711593472,"note":"Value kept but may cause issues"} 
[2026-08-02 22:36:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3713499336483737600,"note":"Value kept but may cause issues"} 
[2026-08-02 22:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785690260000,"timestamp_ms":1785690260000,"timestamp_seconds":1785690260,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36f0220"} 
[2026-08-02 22:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 22:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136703488001,"66":27463,"168":206,"85":37632,"24":31,"16":367405061711593472,"44":-3713499336483737600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,44]} 
[2026-08-02 22:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136703488001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:36:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-02 22:36:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367405061711593472,"km_value":367405061711593.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:36:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3713499336483737600,"description":"Unknown IO ID 44"} 
[2026-08-02 22:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136703488001,"power":27463,"unknown_168":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-3713499336483737600}} 
[2026-08-02 22:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":146846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:36:00] local.INFO: GPS data processed {"connection_id":146846,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:36:00] local.INFO: Acknowledgment sent {"connection_id":146846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:36:23] local.INFO: TCP Data received {"connection_id":149411,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:36:23] local.INFO: Processing buffer {"connection_id":149411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:36:23] local.INFO: IMEI packet received {"connection_id":149411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":149411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:36:28] local.INFO: TCP Data received {"connection_id":149411,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:36:28] local.INFO: Processing buffer {"connection_id":149411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:36:28] local.INFO: IMEI packet received {"connection_id":149411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":149411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:36:29] local.INFO: TCP Data received {"connection_id":149411,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36f2d18012ccc7f400746f480000b00ab2c..."} 
[2026-08-02 22:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36f2d18012ccc7f400746f480000b00ab2c..."} 
[2026-08-02 22:36:29] local.INFO: Processing buffer {"connection_id":149411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36f2d18012ccc7f400746f480000b00ab2c..."} 
[2026-08-02 22:36:29] local.INFO: Packet analysis {"connection_id":149411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36f"} 
[2026-08-02 22:36:29] local.INFO: Extracted packet for processing {"connection_id":149411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36f"} 
[2026-08-02 22:36:29] local.INFO: GPS Element Parsed {"raw_longitude":751599424,"raw_latitude":122090624,"longitude_deg":75.1599424,"latitude_deg":12.2090624,"altitude":11,"angle":171,"satellites":44,"speed":35,"hex_longitude":"2ccc7f40","hex_latitude":"0746f480","is_valid_coordinates":true} 
[2026-08-02 22:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136706560001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367405516978126848,"note":"Value kept but may cause issues"} 
[2026-08-02 22:36:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3712373436579246080,"note":"Value kept but may cause issues"} 
[2026-08-02 22:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785690271000,"timestamp_ms":1785690271000,"timestamp_seconds":1785690271,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36f2d18"} 
[2026-08-02 22:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 22:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136706560001,"66":27463,"168":206,"85":37632,"24":35,"16":367405516978126848,"44":-3712373436579246080},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,44]} 
[2026-08-02 22:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136706560001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:36:29] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-02 22:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367405516978126848,"km_value":367405516978126.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3712373436579246080,"description":"Unknown IO ID 44"} 
[2026-08-02 22:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136706560001,"power":27463,"unknown_168":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-3712373436579246080}} 
[2026-08-02 22:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":149411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:36:29] local.INFO: GPS data processed {"connection_id":149411,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:36:29] local.INFO: Acknowledgment sent {"connection_id":149411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:37:00] local.INFO: TCP Data received {"connection_id":149411,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36f5810012ccc83800746d0a8001000ac2b..."} 
[2026-08-02 22:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36f5810012ccc83800746d0a8001000ac2b..."} 
[2026-08-02 22:37:00] local.INFO: Processing buffer {"connection_id":149411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36f5810012ccc83800746d0a8001000ac2b..."} 
[2026-08-02 22:37:00] local.INFO: Packet analysis {"connection_id":149411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36f"} 
[2026-08-02 22:37:00] local.INFO: Extracted packet for processing {"connection_id":149411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36f"} 
[2026-08-02 22:37:00] local.INFO: GPS Element Parsed {"raw_longitude":751600512,"raw_latitude":122081448,"longitude_deg":75.1600512,"latitude_deg":12.2081448,"altitude":16,"angle":172,"satellites":43,"speed":30,"hex_longitude":"2ccc8380","hex_latitude":"0746d0a8","is_valid_coordinates":true} 
[2026-08-02 22: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-08-02 22:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136709376001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367405967949692928,"note":"Value kept but may cause issues"} 
[2026-08-02 22:37:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3711177167930621952,"note":"Value kept but may cause issues"} 
[2026-08-02 22:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785690282000,"timestamp_ms":1785690282000,"timestamp_seconds":1785690282,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36f5810"} 
[2026-08-02 22:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 22:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22: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-08-02 22:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":149411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":149411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":149411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136709376001,"66":27300,"239":206,"85":37632,"24":30,"16":367405967949692928,"44":-3711177167930621952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-08-02 22:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136709376001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:37:00] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-02 22:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367405967949692928,"km_value":367405967949692.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:37:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3711177167930621952,"description":"Unknown IO ID 44"} 
[2026-08-02 22:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136709376001,"power":27300,"unknown_239":206,"unknown_85":37632,"ignition":30,"odometer":null,"unknown_44":-3711177167930621952}} 
[2026-08-02 22:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":149411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:37:00] local.INFO: GPS data processed {"connection_id":149411,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:37:00] local.INFO: Acknowledgment sent {"connection_id":149411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:37:27] local.INFO: TCP Data received {"connection_id":148107,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:37:27] local.INFO: Processing buffer {"connection_id":148107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:37:27] local.INFO: IMEI packet received {"connection_id":148107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":148107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:37:28] local.INFO: TCP Data received {"connection_id":148107,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:37:28] local.INFO: Processing buffer {"connection_id":148107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:37:28] local.INFO: IMEI packet received {"connection_id":148107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":148107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:37:33] local.INFO: TCP Data received {"connection_id":148107,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:37:33] local.INFO: Processing buffer {"connection_id":148107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:37:33] local.INFO: IMEI packet received {"connection_id":148107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":148107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:37:34] local.INFO: TCP Data received {"connection_id":148107,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc36f86f0012ccc87400746ad70001500ac28..."} 
[2026-08-02 22:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc36f86f0012ccc87400746ad70001500ac28..."} 
[2026-08-02 22:37:34] local.INFO: Processing buffer {"connection_id":148107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc36f86f0012ccc87400746ad70001500ac28..."} 
[2026-08-02 22:37:34] local.INFO: Packet analysis {"connection_id":148107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc36f"} 
[2026-08-02 22:37:34] local.INFO: Extracted packet for processing {"connection_id":148107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc36f"} 
[2026-08-02 22:37:34] local.INFO: GPS Element Parsed {"raw_longitude":751601472,"raw_latitude":122072432,"longitude_deg":75.1601472,"latitude_deg":12.2072432,"altitude":21,"angle":172,"satellites":40,"speed":30,"hex_longitude":"2ccc8740","hex_latitude":"0746ad70","is_valid_coordinates":true} 
[2026-08-02 22:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136712192001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367406406036357120,"note":"Value kept but may cause issues"} 
[2026-08-02 22:37:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3709980899281950720,"note":"Value kept but may cause issues"} 
[2026-08-02 22:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785690294000,"timestamp_ms":1785690294000,"timestamp_seconds":1785690294,"priority":1,"record_length":96,"hex_timestamp":"0000019fc36f86f0"} 
[2026-08-02 22:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 22:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136712192001,"66":27517,"239":206,"85":37632,"24":30,"16":367406406036357120,"44":-3709980899281950720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-08-02 22:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136712192001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:37:34] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-02 22:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367406406036357120,"km_value":367406406036357.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:37:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3709980899281950720,"description":"Unknown IO ID 44"} 
[2026-08-02 22:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136712192001,"power":27517,"unknown_239":206,"unknown_85":37632,"ignition":30,"odometer":null,"unknown_44":-3709980899281950720}} 
[2026-08-02 22:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":148107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:37:34] local.INFO: GPS data processed {"connection_id":148107,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:37:34] local.INFO: Acknowledgment sent {"connection_id":148107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:38:05] local.INFO: TCP Data received {"connection_id":148107,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3714828012cccfbc007458930001300a42c..."} 
[2026-08-02 22:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3714828012cccfbc007458930001300a42c..."} 
[2026-08-02 22:38:05] local.INFO: Processing buffer {"connection_id":148107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3714828012cccfbc007458930001300a42c..."} 
[2026-08-02 22:38:05] local.INFO: Packet analysis {"connection_id":148107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc371"} 
[2026-08-02 22:38:05] local.INFO: Extracted packet for processing {"connection_id":148107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc371"} 
[2026-08-02 22:38:05] local.INFO: GPS Element Parsed {"raw_longitude":751631296,"raw_latitude":121997616,"longitude_deg":75.1631296,"latitude_deg":12.1997616,"altitude":19,"angle":164,"satellites":44,"speed":33,"hex_longitude":"2cccfbc0","hex_latitude":"07458930","is_valid_coordinates":true} 
[2026-08-02 22:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136741632001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367410378881105920,"note":"Value kept but may cause issues"} 
[2026-08-02 22:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3678948283118718976,"note":"Value kept but may cause issues"} 
[2026-08-02 22:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785690409000,"timestamp_ms":1785690409000,"timestamp_seconds":1785690409,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3714828"} 
[2026-08-02 22:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136741632001,"66":27267,"233":206,"85":37632,"24":33,"16":367410378881105920,"44":-3678948283118718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,44]} 
[2026-08-02 22:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136741632001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:38:05] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-02 22:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367410378881105920,"km_value":367410378881105.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3678948283118718976,"description":"Unknown IO ID 44"} 
[2026-08-02 22:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136741632001,"power":27267,"unknown_233":206,"unknown_85":37632,"ignition":33,"odometer":null,"unknown_44":-3678948283118718976}} 
[2026-08-02 22:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":148107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:38:05] local.INFO: GPS data processed {"connection_id":148107,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:38:05] local.INFO: Acknowledgment sent {"connection_id":148107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:38:33] local.INFO: TCP Data received {"connection_id":146847,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:38:33] local.INFO: Processing buffer {"connection_id":146847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:38:33] local.INFO: IMEI packet received {"connection_id":146847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":146847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:38:33] local.INFO: TCP Data received {"connection_id":146847,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:38:33] local.INFO: Processing buffer {"connection_id":146847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:38:33] local.INFO: IMEI packet received {"connection_id":146847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":146847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:38:37] local.INFO: TCP Data received {"connection_id":146847,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:38:37] local.INFO: Processing buffer {"connection_id":146847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:38:37] local.INFO: IMEI packet received {"connection_id":146847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":146847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:38:38] local.INFO: TCP Data received {"connection_id":146847,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:38:38] local.INFO: Processing buffer {"connection_id":146847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:38:38] local.INFO: IMEI packet received {"connection_id":146847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":146847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:38:38] local.INFO: TCP Data received {"connection_id":146847,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3718a90012ccd0500074567a8001000a428..."} 
[2026-08-02 22:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3718a90012ccd0500074567a8001000a428..."} 
[2026-08-02 22:38:38] local.INFO: Processing buffer {"connection_id":146847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3718a90012ccd0500074567a8001000a428..."} 
[2026-08-02 22:38:38] local.INFO: Packet analysis {"connection_id":146847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc371"} 
[2026-08-02 22:38:38] local.INFO: Extracted packet for processing {"connection_id":146847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc371"} 
[2026-08-02 22:38:38] local.INFO: GPS Element Parsed {"raw_longitude":751633664,"raw_latitude":121989032,"longitude_deg":75.1633664,"latitude_deg":12.1989032,"altitude":16,"angle":164,"satellites":40,"speed":26,"hex_longitude":"2ccd0500","hex_latitude":"074567a8","is_valid_coordinates":true} 
[2026-08-02 22:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136744704001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367410808377835520,"note":"Value kept but may cause issues"} 
[2026-08-02 22:38:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3676133533353955328,"note":"Value kept but may cause issues"} 
[2026-08-02 22:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785690426000,"timestamp_ms":1785690426000,"timestamp_seconds":1785690426,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3718a90"} 
[2026-08-02 22:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 22:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136744704001,"66":27343,"233":206,"85":37632,"24":26,"16":367410808377835520,"44":-3676133533353955328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,44]} 
[2026-08-02 22:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136744704001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:38:38] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-02 22:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367410808377835520,"km_value":367410808377835.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:38:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3676133533353955328,"description":"Unknown IO ID 44"} 
[2026-08-02 22:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136744704001,"power":27343,"unknown_233":206,"unknown_85":37632,"ignition":26,"odometer":null,"unknown_44":-3676133533353955328}} 
[2026-08-02 22:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":146847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:38:38] local.INFO: GPS data processed {"connection_id":146847,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:38:38] local.INFO: Acknowledgment sent {"connection_id":146847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:39:25] local.INFO: TCP Data received {"connection_id":149412,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:39:25] local.INFO: Processing buffer {"connection_id":149412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:39:25] local.INFO: IMEI packet received {"connection_id":149412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":149412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:39:29] local.INFO: TCP Data received {"connection_id":149412,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:39:29] local.INFO: Processing buffer {"connection_id":149412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:39:29] local.INFO: IMEI packet received {"connection_id":149412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":149412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:39:29] local.INFO: TCP Data received {"connection_id":149412,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:39:29] local.INFO: Processing buffer {"connection_id":149412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:39:29] local.INFO: IMEI packet received {"connection_id":149412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":149412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:39:30] local.INFO: TCP Data received {"connection_id":149412,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc372f1f0012ccd808007445a200011009132..."} 
[2026-08-02 22:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc372f1f0012ccd808007445a200011009132..."} 
[2026-08-02 22:39:30] local.INFO: Processing buffer {"connection_id":149412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc372f1f0012ccd808007445a200011009132..."} 
[2026-08-02 22:39:30] local.INFO: Packet analysis {"connection_id":149412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc372"} 
[2026-08-02 22:39:30] local.INFO: Extracted packet for processing {"connection_id":149412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc372"} 
[2026-08-02 22:39:30] local.INFO: GPS Element Parsed {"raw_longitude":751665280,"raw_latitude":121920032,"longitude_deg":75.166528,"latitude_deg":12.1920032,"altitude":17,"angle":145,"satellites":50,"speed":43,"hex_longitude":"2ccd8080","hex_latitude":"07445a20","is_valid_coordinates":true} 
[2026-08-02 22:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136770816001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367414497754742784,"note":"Value kept but may cause issues"} 
[2026-08-02 22:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3642145429934344192,"note":"Value kept but may cause issues"} 
[2026-08-02 22:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785690518000,"timestamp_ms":1785690518000,"timestamp_seconds":1785690518,"priority":1,"record_length":96,"hex_timestamp":"0000019fc372f1f0"} 
[2026-08-02 22:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136770816001,"66":27397,"143":206,"85":37632,"24":43,"16":367414497754742784,"44":-3642145429934344192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-08-02 22:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136770816001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:39:30] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-02 22:39:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367414497754742784,"km_value":367414497754742.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3642145429934344192,"description":"Unknown IO ID 44"} 
[2026-08-02 22:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136770816001,"power":27397,"unknown_143":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-3642145429934344192}} 
[2026-08-02 22:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":149412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:39:30] local.INFO: GPS data processed {"connection_id":149412,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:39:30] local.INFO: Acknowledgment sent {"connection_id":149412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:39:33] local.INFO: TCP Data received {"connection_id":149412,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3730578012ccd8f40074449b00011008333..."} 
[2026-08-02 22:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3730578012ccd8f40074449b00011008333..."} 
[2026-08-02 22:39:33] local.INFO: Processing buffer {"connection_id":149412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3730578012ccd8f40074449b00011008333..."} 
[2026-08-02 22:39:33] local.INFO: Packet analysis {"connection_id":149412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc373"} 
[2026-08-02 22:39:33] local.INFO: Extracted packet for processing {"connection_id":149412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc373"} 
[2026-08-02 22:39:33] local.INFO: GPS Element Parsed {"raw_longitude":751669056,"raw_latitude":121915824,"longitude_deg":75.1669056,"latitude_deg":12.1915824,"altitude":17,"angle":131,"satellites":51,"speed":45,"hex_longitude":"2ccd8f40","hex_latitude":"074449b0","is_valid_coordinates":true} 
[2026-08-02 22:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136772608001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367414768337682432,"note":"Value kept but may cause issues"} 
[2026-08-02 22:39:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3638767730215477248,"note":"Value kept but may cause issues"} 
[2026-08-02 22:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785690523000,"timestamp_ms":1785690523000,"timestamp_seconds":1785690523,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3730578"} 
[2026-08-02 22:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 22:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136772608001,"66":27267,"143":206,"85":37632,"24":45,"16":367414768337682432,"44":-3638767730215477248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-08-02 22:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136772608001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:39:33] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-02 22:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367414768337682432,"km_value":367414768337682.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:39:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3638767730215477248,"description":"Unknown IO ID 44"} 
[2026-08-02 22:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136772608001,"power":27267,"unknown_143":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3638767730215477248}} 
[2026-08-02 22:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":149412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:39:33] local.INFO: GPS data processed {"connection_id":149412,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:39:33] local.INFO: Acknowledgment sent {"connection_id":149412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:40:06] local.INFO: TCP Data received {"connection_id":149412,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3731518012ccd9ec007443f380012007632..."} 
[2026-08-02 22:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3731518012ccd9ec007443f380012007632..."} 
[2026-08-02 22:40:06] local.INFO: Processing buffer {"connection_id":149412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3731518012ccd9ec007443f380012007632..."} 
[2026-08-02 22:40:06] local.INFO: Packet analysis {"connection_id":149412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc373"} 
[2026-08-02 22:40:06] local.INFO: Extracted packet for processing {"connection_id":149412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc373"} 
[2026-08-02 22:40:06] local.INFO: GPS Element Parsed {"raw_longitude":751673024,"raw_latitude":121913144,"longitude_deg":75.1673024,"latitude_deg":12.1913144,"altitude":18,"angle":118,"satellites":50,"speed":47,"hex_longitude":"2ccd9ec0","hex_latitude":"07443f38","is_valid_coordinates":true} 
[2026-08-02 22:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136773888001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367415000265916416,"note":"Value kept but may cause issues"} 
[2026-08-02 22:40:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3634615974310072320,"note":"Value kept but may cause issues"} 
[2026-08-02 22:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785690527000,"timestamp_ms":1785690527000,"timestamp_seconds":1785690527,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3731518"} 
[2026-08-02 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-08-02 22:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 22:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 22:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136773888001,"66":27332,"143":206,"85":37632,"24":47,"16":367415000265916416,"44":-3634615974310072320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-08-02 22:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136773888001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:40:06] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-02 22:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367415000265916416,"km_value":367415000265916.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:40:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3634615974310072320,"description":"Unknown IO ID 44"} 
[2026-08-02 22:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136773888001,"power":27332,"unknown_143":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3634615974310072320}} 
[2026-08-02 22:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":149412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:40:06] local.INFO: GPS data processed {"connection_id":149412,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:40:06] local.INFO: Acknowledgment sent {"connection_id":149412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:40:23] local.INFO: TCP Data received {"connection_id":146848,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:40:23] local.INFO: Processing buffer {"connection_id":146848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:40:23] local.INFO: IMEI packet received {"connection_id":146848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":146848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:40:24] local.INFO: TCP Data received {"connection_id":146848,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:40:24] local.INFO: Processing buffer {"connection_id":146848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:40:24] local.INFO: IMEI packet received {"connection_id":146848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":146848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:40:25] local.INFO: TCP Data received {"connection_id":146848,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37324b8012ccdb080074438800012006833..."} 
[2026-08-02 22:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37324b8012ccdb080074438800012006833..."} 
[2026-08-02 22:40:25] local.INFO: Processing buffer {"connection_id":146848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37324b8012ccdb080074438800012006833..."} 
[2026-08-02 22:40:25] local.INFO: Packet analysis {"connection_id":146848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc373"} 
[2026-08-02 22:40:25] local.INFO: Extracted packet for processing {"connection_id":146848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc373"} 
[2026-08-02 22:40:25] local.INFO: GPS Element Parsed {"raw_longitude":751677568,"raw_latitude":121911424,"longitude_deg":75.1677568,"latitude_deg":12.1911424,"altitude":18,"angle":104,"satellites":51,"speed":47,"hex_longitude":"2ccdb080","hex_latitude":"07443880","is_valid_coordinates":true} 
[2026-08-02 22:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136774912001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367415227899183104,"note":"Value kept but may cause issues"} 
[2026-08-02 22:40:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3630253112171743232,"note":"Value kept but may cause issues"} 
[2026-08-02 22:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785690531000,"timestamp_ms":1785690531000,"timestamp_seconds":1785690531,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37324b8"} 
[2026-08-02 22:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 22:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136774912001,"66":27300,"143":206,"85":37632,"24":47,"16":367415227899183104,"44":-3630253112171743232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-08-02 22:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136774912001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:40:25] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-02 22:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367415227899183104,"km_value":367415227899183.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:40:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3630253112171743232,"description":"Unknown IO ID 44"} 
[2026-08-02 22:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136774912001,"power":27300,"unknown_143":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3630253112171743232}} 
[2026-08-02 22:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":146848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:40:25] local.INFO: GPS data processed {"connection_id":146848,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:40:25] local.INFO: Acknowledgment sent {"connection_id":146848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:40:30] local.INFO: TCP Data received {"connection_id":146848,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3733458012ccdc340074435780013005c34..."} 
[2026-08-02 22:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3733458012ccdc340074435780013005c34..."} 
[2026-08-02 22:40:30] local.INFO: Processing buffer {"connection_id":146848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3733458012ccdc340074435780013005c34..."} 
[2026-08-02 22:40:30] local.INFO: Packet analysis {"connection_id":146848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc373"} 
[2026-08-02 22:40:30] local.INFO: Extracted packet for processing {"connection_id":146848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc373"} 
[2026-08-02 22:40:30] local.INFO: GPS Element Parsed {"raw_longitude":751682368,"raw_latitude":121910648,"longitude_deg":75.1682368,"latitude_deg":12.1910648,"altitude":19,"angle":92,"satellites":52,"speed":47,"hex_longitude":"2ccdc340","hex_latitude":"07443578","is_valid_coordinates":true} 
[2026-08-02 22:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136775936001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367415459827417088,"note":"Value kept but may cause issues"} 
[2026-08-02 22:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3625256931335569408,"note":"Value kept but may cause issues"} 
[2026-08-02 22:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785690535000,"timestamp_ms":1785690535000,"timestamp_seconds":1785690535,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3733458"} 
[2026-08-02 22:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 22:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136775936001,"66":27234,"143":206,"85":37632,"24":47,"16":367415459827417088,"44":-3625256931335569408},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-08-02 22:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136775936001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:40:30] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-02 22:40:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367415459827417088,"km_value":367415459827417.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3625256931335569408,"description":"Unknown IO ID 44"} 
[2026-08-02 22:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136775936001,"power":27234,"unknown_143":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3625256931335569408}} 
[2026-08-02 22:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":146848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:40:30] local.INFO: GPS data processed {"connection_id":146848,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:40:30] local.INFO: Acknowledgment sent {"connection_id":146848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:41:05] local.INFO: TCP Data received {"connection_id":146848,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37441e0012ccf194007440530000d008432..."} 
[2026-08-02 22:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37441e0012ccf194007440530000d008432..."} 
[2026-08-02 22:41:05] local.INFO: Processing buffer {"connection_id":146848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37441e0012ccf194007440530000d008432..."} 
[2026-08-02 22:41:05] local.INFO: Packet analysis {"connection_id":146848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc374"} 
[2026-08-02 22:41:05] local.INFO: Extracted packet for processing {"connection_id":146848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc374"} 
[2026-08-02 22:41:05] local.INFO: GPS Element Parsed {"raw_longitude":751769920,"raw_latitude":121898288,"longitude_deg":75.176992,"latitude_deg":12.1898288,"altitude":13,"angle":132,"satellites":50,"speed":54,"hex_longitude":"2ccf1940","hex_latitude":"07440530","is_valid_coordinates":true} 
[2026-08-02 22: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-08-02 22:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136793600001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367419720434974720,"note":"Value kept but may cause issues"} 
[2026-08-02 22:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3528640645582186496,"note":"Value kept but may cause issues"} 
[2026-08-02 22:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785690604000,"timestamp_ms":1785690604000,"timestamp_seconds":1785690604,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37441e0"} 
[2026-08-02 22:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 22:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22: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-08-02 22:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136793600001,"66":27321,"142":206,"85":37632,"24":54,"16":367419720434974720,"44":-3528640645582186496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-08-02 22:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136793600001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:41:05] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-02 22:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367419720434974720,"km_value":367419720434974.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3528640645582186496,"description":"Unknown IO ID 44"} 
[2026-08-02 22:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136793600001,"power":27321,"unknown_142":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-3528640645582186496}} 
[2026-08-02 22:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":146848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:41:05] local.INFO: GPS data processed {"connection_id":146848,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:41:05] local.INFO: Acknowledgment sent {"connection_id":146848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:41:22] local.INFO: TCP Data received {"connection_id":146849,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:41:22] local.INFO: Processing buffer {"connection_id":146849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:41:22] local.INFO: IMEI packet received {"connection_id":146849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":146849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:41:23] local.INFO: TCP Data received {"connection_id":146849,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:41:23] local.INFO: Processing buffer {"connection_id":146849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:41:23] local.INFO: IMEI packet received {"connection_id":146849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":146849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:41:28] local.INFO: TCP Data received {"connection_id":146849,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:41:28] local.INFO: Processing buffer {"connection_id":146849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:41:28] local.INFO: IMEI packet received {"connection_id":146849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":146849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:41:29] local.INFO: TCP Data received {"connection_id":146849,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3745568012ccf2ac00743f100000d009031..."} 
[2026-08-02 22:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3745568012ccf2ac00743f100000d009031..."} 
[2026-08-02 22:41:29] local.INFO: Processing buffer {"connection_id":146849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3745568012ccf2ac00743f100000d009031..."} 
[2026-08-02 22:41:29] local.INFO: Packet analysis {"connection_id":146849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc374"} 
[2026-08-02 22:41:29] local.INFO: Extracted packet for processing {"connection_id":146849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc374"} 
[2026-08-02 22:41:29] local.INFO: GPS Element Parsed {"raw_longitude":751774400,"raw_latitude":121893120,"longitude_deg":75.17744,"latitude_deg":12.189312,"altitude":13,"angle":144,"satellites":49,"speed":54,"hex_longitude":"2ccf2ac0","hex_latitude":"0743f100","is_valid_coordinates":true} 
[2026-08-02 22:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136794624001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367420046852489216,"note":"Value kept but may cause issues"} 
[2026-08-02 22:41:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3523714833490563072,"note":"Value kept but may cause issues"} 
[2026-08-02 22:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785690609000,"timestamp_ms":1785690609000,"timestamp_seconds":1785690609,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3745568"} 
[2026-08-02 22:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 22:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136794624001,"66":27343,"142":206,"85":37632,"24":54,"16":367420046852489216,"44":-3523714833490563072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-08-02 22:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136794624001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:41:29] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-02 22:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367420046852489216,"km_value":367420046852489.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:41:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3523714833490563072,"description":"Unknown IO ID 44"} 
[2026-08-02 22:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136794624001,"power":27343,"unknown_142":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-3523714833490563072}} 
[2026-08-02 22:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":146849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:41:29] local.INFO: GPS data processed {"connection_id":146849,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:41:29] local.INFO: Acknowledgment sent {"connection_id":146849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:42:05] local.INFO: TCP Data received {"connection_id":146849,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37470c0012ccf3f800743d1a0000d009332..."} 
[2026-08-02 22:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37470c0012ccf3f800743d1a0000d009332..."} 
[2026-08-02 22:42:05] local.INFO: Processing buffer {"connection_id":146849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37470c0012ccf3f800743d1a0000d009332..."} 
[2026-08-02 22:42:05] local.INFO: Packet analysis {"connection_id":146849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc374"} 
[2026-08-02 22:42:05] local.INFO: Extracted packet for processing {"connection_id":146849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc374"} 
[2026-08-02 22:42:05] local.INFO: GPS Element Parsed {"raw_longitude":751779712,"raw_latitude":121885088,"longitude_deg":75.1779712,"latitude_deg":12.1885088,"altitude":13,"angle":147,"satellites":50,"speed":54,"hex_longitude":"2ccf3f80","hex_latitude":"0743d1a0","is_valid_coordinates":true} 
[2026-08-02 22:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136795904001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367420510708957184,"note":"Value kept but may cause issues"} 
[2026-08-02 22:42:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3518789021399449600,"note":"Value kept but may cause issues"} 
[2026-08-02 22:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785690616000,"timestamp_ms":1785690616000,"timestamp_seconds":1785690616,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37470c0"} 
[2026-08-02 22:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 22:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136795904001,"66":27267,"142":206,"85":37632,"24":54,"16":367420510708957184,"44":-3518789021399449600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-08-02 22:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136795904001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:42:05] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-02 22:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-02 22:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367420510708957184,"km_value":367420510708957.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:42:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3518789021399449600,"description":"Unknown IO ID 44"} 
[2026-08-02 22:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136795904001,"power":27267,"unknown_142":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-3518789021399449600}} 
[2026-08-02 22:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":146849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:42:05] local.INFO: GPS data processed {"connection_id":146849,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:42:05] local.INFO: Acknowledgment sent {"connection_id":146849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:42:23] local.INFO: TCP Data received {"connection_id":147070,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:42:23] local.INFO: Processing buffer {"connection_id":147070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:42:23] local.INFO: IMEI packet received {"connection_id":147070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":147070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:42:25] local.INFO: TCP Data received {"connection_id":147070,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:42:25] local.INFO: Processing buffer {"connection_id":147070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:42:25] local.INFO: IMEI packet received {"connection_id":147070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":147070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:42:28] local.INFO: TCP Data received {"connection_id":147070,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:42:28] local.INFO: Processing buffer {"connection_id":147070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:42:28] local.INFO: IMEI packet received {"connection_id":147070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":147070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:42:29] local.INFO: TCP Data received {"connection_id":147070,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3758230012cd05a400742e4600012007d32..."} 
[2026-08-02 22:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3758230012cd05a400742e4600012007d32..."} 
[2026-08-02 22:42:29] local.INFO: Processing buffer {"connection_id":147070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3758230012cd05a400742e4600012007d32..."} 
[2026-08-02 22:42:29] local.INFO: Packet analysis {"connection_id":147070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc375"} 
[2026-08-02 22:42:29] local.INFO: Extracted packet for processing {"connection_id":147070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc375"} 
[2026-08-02 22:42:29] local.INFO: GPS Element Parsed {"raw_longitude":751852096,"raw_latitude":121824352,"longitude_deg":75.1852096,"latitude_deg":12.1824352,"altitude":18,"angle":125,"satellites":50,"speed":56,"hex_longitude":"2cd05a40","hex_latitude":"0742e460","is_valid_coordinates":true} 
[2026-08-02 22:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136813824001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367425084849127424,"note":"Value kept but may cause issues"} 
[2026-08-02 22:42:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3442579671471214592,"note":"Value kept but may cause issues"} 
[2026-08-02 22:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785690686000,"timestamp_ms":1785690686000,"timestamp_seconds":1785690686,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3758230"} 
[2026-08-02 22:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 22:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136813824001,"66":27245,"79":206,"83":43264,"24":56,"16":367425084849127424,"44":-3442579671471214592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-08-02 22:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136813824001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:42:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-02 22:42:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367425084849127424,"km_value":367425084849127.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:42:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3442579671471214592,"description":"Unknown IO ID 44"} 
[2026-08-02 22:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136813824001,"power":27245,"unknown_79":206,"unknown_83":43264,"ignition":56,"odometer":null,"unknown_44":-3442579671471214592}} 
[2026-08-02 22:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":147070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:42:29] local.INFO: GPS data processed {"connection_id":147070,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:42:29] local.INFO: Acknowledgment sent {"connection_id":147070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:43:00] local.INFO: TCP Data received {"connection_id":147070,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3759d88012cd07a800742cdf8000f007d33..."} 
[2026-08-02 22:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3759d88012cd07a800742cdf8000f007d33..."} 
[2026-08-02 22:43:00] local.INFO: Processing buffer {"connection_id":147070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3759d88012cd07a800742cdf8000f007d33..."} 
[2026-08-02 22:43:00] local.INFO: Packet analysis {"connection_id":147070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc375"} 
[2026-08-02 22:43:00] local.INFO: Extracted packet for processing {"connection_id":147070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc375"} 
[2026-08-02 22:43:00] local.INFO: GPS Element Parsed {"raw_longitude":751860352,"raw_latitude":121818616,"longitude_deg":75.1860352,"latitude_deg":12.1818616,"altitude":15,"angle":125,"satellites":51,"speed":56,"hex_longitude":"2cd07a80","hex_latitude":"0742cdf8","is_valid_coordinates":true} 
[2026-08-02 22:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136815616001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367425565885464576,"note":"Value kept but may cause issues"} 
[2026-08-02 22:43:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3433361365985370112,"note":"Value kept but may cause issues"} 
[2026-08-02 22:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785690693000,"timestamp_ms":1785690693000,"timestamp_seconds":1785690693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3759d88"} 
[2026-08-02 22:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-02 22:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136815616001,"66":27365,"79":206,"83":43264,"24":56,"16":367425565885464576,"44":-3433361365985370112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-08-02 22:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136815616001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:43:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-02 22:43:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367425565885464576,"km_value":367425565885464.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:43:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3433361365985370112,"description":"Unknown IO ID 44"} 
[2026-08-02 22:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136815616001,"power":27365,"unknown_79":206,"unknown_83":43264,"ignition":56,"odometer":null,"unknown_44":-3433361365985370112}} 
[2026-08-02 22:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":147070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:43:00] local.INFO: GPS data processed {"connection_id":147070,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:43:00] local.INFO: Acknowledgment sent {"connection_id":147070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:43:29] local.INFO: TCP Data received {"connection_id":147071,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:43:29] local.INFO: Processing buffer {"connection_id":147071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:43:29] local.INFO: IMEI packet received {"connection_id":147071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":147071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:43:33] local.INFO: TCP Data received {"connection_id":147071,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:43:33] local.INFO: Processing buffer {"connection_id":147071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:43:33] local.INFO: IMEI packet received {"connection_id":147071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":147071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:43:37] local.INFO: TCP Data received {"connection_id":147071,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:43:37] local.INFO: Processing buffer {"connection_id":147071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:43:37] local.INFO: IMEI packet received {"connection_id":147071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":147071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:43:38] local.INFO: TCP Data received {"connection_id":147071,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc375b8e0012cd099800742b748000e007e32..."} 
[2026-08-02 22:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc375b8e0012cd099800742b748000e007e32..."} 
[2026-08-02 22:43:38] local.INFO: Processing buffer {"connection_id":147071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc375b8e0012cd099800742b748000e007e32..."} 
[2026-08-02 22:43:38] local.INFO: Packet analysis {"connection_id":147071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc375"} 
[2026-08-02 22:43:38] local.INFO: Extracted packet for processing {"connection_id":147071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc375"} 
[2026-08-02 22:43:38] local.INFO: GPS Element Parsed {"raw_longitude":751868288,"raw_latitude":121812808,"longitude_deg":75.1868288,"latitude_deg":12.1812808,"altitude":14,"angle":126,"satellites":50,"speed":53,"hex_longitude":"2cd09980","hex_latitude":"0742b748","is_valid_coordinates":true} 
[2026-08-02 22:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136817408001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367426034036899840,"note":"Value kept but may cause issues"} 
[2026-08-02 22:43:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3424283797987919872,"note":"Value kept but may cause issues"} 
[2026-08-02 22:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785690700000,"timestamp_ms":1785690700000,"timestamp_seconds":1785690700,"priority":1,"record_length":96,"hex_timestamp":"0000019fc375b8e0"} 
[2026-08-02 22:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 22:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22: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-08-02 22:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136817408001,"66":27397,"78":206,"83":43264,"24":53,"16":367426034036899840,"44":-3424283797987919872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,44]} 
[2026-08-02 22:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136817408001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:43:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-02 22:43:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367426034036899840,"km_value":367426034036899.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:43:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3424283797987919872,"description":"Unknown IO ID 44"} 
[2026-08-02 22:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136817408001,"power":27397,"unknown_78":206,"unknown_83":43264,"ignition":53,"odometer":null,"unknown_44":-3424283797987919872}} 
[2026-08-02 22:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":147071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:43:38] local.INFO: GPS data processed {"connection_id":147071,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:43:38] local.INFO: Acknowledgment sent {"connection_id":147071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:43:39] local.INFO: TCP Data received {"connection_id":147071,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc375d438012cd0b5c00742a238000f007f33..."} 
[2026-08-02 22:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc375d438012cd0b5c00742a238000f007f33..."} 
[2026-08-02 22:43:39] local.INFO: Processing buffer {"connection_id":147071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc375d438012cd0b5c00742a238000f007f33..."} 
[2026-08-02 22:43:39] local.INFO: Packet analysis {"connection_id":147071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc375"} 
[2026-08-02 22:43:39] local.INFO: Extracted packet for processing {"connection_id":147071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc375"} 
[2026-08-02 22:43:39] local.INFO: GPS Element Parsed {"raw_longitude":751875520,"raw_latitude":121807416,"longitude_deg":75.187552,"latitude_deg":12.1807416,"altitude":15,"angle":127,"satellites":51,"speed":49,"hex_longitude":"2cd0b5c0","hex_latitude":"0742a238","is_valid_coordinates":true} 
[2026-08-02 22:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136819200001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367426467828596736,"note":"Value kept but may cause issues"} 
[2026-08-02 22:43:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3415558073711376384,"note":"Value kept but may cause issues"} 
[2026-08-02 22:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785690707000,"timestamp_ms":1785690707000,"timestamp_seconds":1785690707,"priority":1,"record_length":96,"hex_timestamp":"0000019fc375d438"} 
[2026-08-02 22:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 22:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136819200001,"66":27300,"78":206,"83":43264,"24":49,"16":367426467828596736,"44":-3415558073711376384},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,44]} 
[2026-08-02 22:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136819200001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:43:39] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-02 22:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367426467828596736,"km_value":367426467828596.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:43:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3415558073711376384,"description":"Unknown IO ID 44"} 
[2026-08-02 22:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136819200001,"power":27300,"unknown_78":206,"unknown_83":43264,"ignition":49,"odometer":null,"unknown_44":-3415558073711376384}} 
[2026-08-02 22:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":147071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:43:39] local.INFO: GPS data processed {"connection_id":147071,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:43:39] local.INFO: Acknowledgment sent {"connection_id":147071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:44:23] local.INFO: TCP Data received {"connection_id":149413,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:44:23] local.INFO: Processing buffer {"connection_id":149413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:44:23] local.INFO: IMEI packet received {"connection_id":149413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":149413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:44:25] local.INFO: TCP Data received {"connection_id":149413,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:44:25] local.INFO: Processing buffer {"connection_id":149413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:44:25] local.INFO: IMEI packet received {"connection_id":149413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":149413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:44:26] local.INFO: TCP Data received {"connection_id":149413,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3772bf8012cd1d58007417f980013007931..."} 
[2026-08-02 22:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3772bf8012cd1d58007417f980013007931..."} 
[2026-08-02 22:44:26] local.INFO: Processing buffer {"connection_id":149413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3772bf8012cd1d58007417f980013007931..."} 
[2026-08-02 22:44:26] local.INFO: Packet analysis {"connection_id":149413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc377"} 
[2026-08-02 22:44:26] local.INFO: Extracted packet for processing {"connection_id":149413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc377"} 
[2026-08-02 22:44:26] local.INFO: GPS Element Parsed {"raw_longitude":751949184,"raw_latitude":121733016,"longitude_deg":75.1949184,"latitude_deg":12.1733016,"altitude":19,"angle":121,"satellites":49,"speed":44,"hex_longitude":"2cd1d580","hex_latitude":"07417f98","is_valid_coordinates":true} 
[2026-08-02 22:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136841728001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367431523005104128,"note":"Value kept but may cause issues"} 
[2026-08-02 22:44:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3333578486763622400,"note":"Value kept but may cause issues"} 
[2026-08-02 22:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785690795000,"timestamp_ms":1785690795000,"timestamp_seconds":1785690795,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3772bf8"} 
[2026-08-02 22:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 22:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136841728001,"66":27365,"110":206,"83":43264,"24":44,"16":367431523005104128,"44":-3333578486763622400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-08-02 22:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136841728001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:44:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 22:44:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367431523005104128,"km_value":367431523005104.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:44:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3333578486763622400,"description":"Unknown IO ID 44"} 
[2026-08-02 22:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136841728001,"power":27365,"unknown_110":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-3333578486763622400}} 
[2026-08-02 22:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":149413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:44:26] local.INFO: GPS data processed {"connection_id":149413,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:44:26] local.INFO: Acknowledgment sent {"connection_id":149413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:44:28] local.INFO: TCP Data received {"connection_id":149413,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3774b38012cd1f60007416eb80014007433..."} 
[2026-08-02 22:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3774b38012cd1f60007416eb80014007433..."} 
[2026-08-02 22:44:28] local.INFO: Processing buffer {"connection_id":149413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3774b38012cd1f60007416eb80014007433..."} 
[2026-08-02 22:44:28] local.INFO: Packet analysis {"connection_id":149413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc377"} 
[2026-08-02 22:44:28] local.INFO: Extracted packet for processing {"connection_id":149413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc377"} 
[2026-08-02 22:44:28] local.INFO: GPS Element Parsed {"raw_longitude":751957504,"raw_latitude":121728696,"longitude_deg":75.1957504,"latitude_deg":12.1728696,"altitude":20,"angle":116,"satellites":51,"speed":46,"hex_longitude":"2cd1f600","hex_latitude":"07416eb8","is_valid_coordinates":true} 
[2026-08-02 22:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136843520001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367431965386735616,"note":"Value kept but may cause issues"} 
[2026-08-02 22:44:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3326611981091235840,"note":"Value kept but may cause issues"} 
[2026-08-02 22:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785690803000,"timestamp_ms":1785690803000,"timestamp_seconds":1785690803,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3774b38"} 
[2026-08-02 22:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 22:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":149413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":149413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":149413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136843520001,"66":27463,"110":206,"83":43264,"24":46,"16":367431965386735616,"44":-3326611981091235840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-08-02 22:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136843520001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:44:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 22:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367431965386735616,"km_value":367431965386735.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:44:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3326611981091235840,"description":"Unknown IO ID 44"} 
[2026-08-02 22:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136843520001,"power":27463,"unknown_110":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3326611981091235840}} 
[2026-08-02 22:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":149413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:44:28] local.INFO: GPS data processed {"connection_id":149413,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:44:28] local.INFO: Acknowledgment sent {"connection_id":149413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:44:59] local.INFO: TCP Data received {"connection_id":149413,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3776a78012cd2184007415dc80013007432..."} 
[2026-08-02 22:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3776a78012cd2184007415dc80013007432..."} 
[2026-08-02 22:44:59] local.INFO: Processing buffer {"connection_id":149413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3776a78012cd2184007415dc80013007432..."} 
[2026-08-02 22:44:59] local.INFO: Packet analysis {"connection_id":149413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc377"} 
[2026-08-02 22:44:59] local.INFO: Extracted packet for processing {"connection_id":149413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc377"} 
[2026-08-02 22:44:59] local.INFO: GPS Element Parsed {"raw_longitude":751966272,"raw_latitude":121724360,"longitude_deg":75.1966272,"latitude_deg":12.172436,"altitude":19,"angle":116,"satellites":50,"speed":49,"hex_longitude":"2cd21840","hex_latitude":"07415dc8","is_valid_coordinates":true} 
[2026-08-02 22:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136845568001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367432433538170880,"note":"Value kept but may cause issues"} 
[2026-08-02 22:44:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3317464044349245440,"note":"Value kept but may cause issues"} 
[2026-08-02 22:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785690811000,"timestamp_ms":1785690811000,"timestamp_seconds":1785690811,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3776a78"} 
[2026-08-02 22:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 22:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":149413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":149413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":149413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136845568001,"66":27376,"110":206,"83":43264,"24":49,"16":367432433538170880,"44":-3317464044349245440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-08-02 22:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136845568001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:44:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 22:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367432433538170880,"km_value":367432433538170.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:44:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3317464044349245440,"description":"Unknown IO ID 44"} 
[2026-08-02 22:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136845568001,"power":27376,"unknown_110":206,"unknown_83":43264,"ignition":49,"odometer":null,"unknown_44":-3317464044349245440}} 
[2026-08-02 22:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":149413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:44:59] local.INFO: GPS data processed {"connection_id":149413,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:44:59] local.INFO: Acknowledgment sent {"connection_id":149413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:45:23] local.INFO: TCP Data received {"connection_id":148108,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:45:23] local.INFO: Processing buffer {"connection_id":148108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:45:23] local.INFO: IMEI packet received {"connection_id":148108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":148108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:45:23] local.INFO: TCP Data received {"connection_id":148108,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:45:23] local.INFO: Processing buffer {"connection_id":148108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:45:23] local.INFO: IMEI packet received {"connection_id":148108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":148108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:45:28] local.INFO: TCP Data received {"connection_id":148108,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:45:28] local.INFO: Processing buffer {"connection_id":148108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:45:28] local.INFO: IMEI packet received {"connection_id":148108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":148108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:45:29] local.INFO: TCP Data received {"connection_id":148108,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37789b8012cd23c4007414c980011007333..."} 
[2026-08-02 22:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37789b8012cd23c4007414c980011007333..."} 
[2026-08-02 22:45:29] local.INFO: Processing buffer {"connection_id":148108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37789b8012cd23c4007414c980011007333..."} 
[2026-08-02 22:45:29] local.INFO: Packet analysis {"connection_id":148108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc377"} 
[2026-08-02 22:45:29] local.INFO: Extracted packet for processing {"connection_id":148108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc377"} 
[2026-08-02 22:45:29] local.INFO: GPS Element Parsed {"raw_longitude":751975488,"raw_latitude":121719960,"longitude_deg":75.1975488,"latitude_deg":12.171996,"altitude":17,"angle":115,"satellites":51,"speed":50,"hex_longitude":"2cd23c40","hex_latitude":"07414c98","is_valid_coordinates":true} 
[2026-08-02 22:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136847616001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367432918869475328,"note":"Value kept but may cause issues"} 
[2026-08-02 22:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3307823526398015488,"note":"Value kept but may cause issues"} 
[2026-08-02 22:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785690819000,"timestamp_ms":1785690819000,"timestamp_seconds":1785690819,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37789b8"} 
[2026-08-02 22:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136847616001,"66":27463,"245":206,"83":43264,"24":50,"16":367432918869475328,"44":-3307823526398015488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-02 22:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136847616001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367432918869475328,"km_value":367432918869475.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3307823526398015488,"description":"Unknown IO ID 44"} 
[2026-08-02 22:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136847616001,"power":27463,"geofence_id":206,"unknown_83":43264,"ignition":50,"odometer":null,"unknown_44":-3307823526398015488}} 
[2026-08-02 22:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":148108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:45:29] local.INFO: GPS data processed {"connection_id":148108,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:45:29] local.INFO: Acknowledgment sent {"connection_id":148108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:46:00] local.INFO: TCP Data received {"connection_id":148108,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc377a8f8012cd25e0007413a300010007c32..."} 
[2026-08-02 22:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc377a8f8012cd25e0007413a300010007c32..."} 
[2026-08-02 22:46:00] local.INFO: Processing buffer {"connection_id":148108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc377a8f8012cd25e0007413a300010007c32..."} 
[2026-08-02 22:46:00] local.INFO: Packet analysis {"connection_id":148108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc377"} 
[2026-08-02 22:46:00] local.INFO: Extracted packet for processing {"connection_id":148108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc377"} 
[2026-08-02 22:46:00] local.INFO: GPS Element Parsed {"raw_longitude":751984128,"raw_latitude":121715248,"longitude_deg":75.1984128,"latitude_deg":12.1715248,"altitude":16,"angle":124,"satellites":50,"speed":46,"hex_longitude":"2cd25e00","hex_latitude":"07413a30","is_valid_coordinates":true} 
[2026-08-02 22: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-08-02 22:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136849664001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367433387020910592,"note":"Value kept but may cause issues"} 
[2026-08-02 22:46:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3297690427237558272,"note":"Value kept but may cause issues"} 
[2026-08-02 22:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785690827000,"timestamp_ms":1785690827000,"timestamp_seconds":1785690827,"priority":1,"record_length":96,"hex_timestamp":"0000019fc377a8f8"} 
[2026-08-02 22:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 22:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22: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-08-02 22:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136849664001,"66":27300,"245":206,"83":43264,"24":46,"16":367433387020910592,"44":-3297690427237558272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-02 22:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136849664001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:46:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367433387020910592,"km_value":367433387020910.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:46:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3297690427237558272,"description":"Unknown IO ID 44"} 
[2026-08-02 22:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136849664001,"power":27300,"geofence_id":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3297690427237558272}} 
[2026-08-02 22:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":148108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:46:00] local.INFO: GPS data processed {"connection_id":148108,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:46:00] local.INFO: Acknowledgment sent {"connection_id":148108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:46:23] local.INFO: TCP Data received {"connection_id":147072,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:46:23] local.INFO: Processing buffer {"connection_id":147072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:46:23] local.INFO: IMEI packet received {"connection_id":147072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":147072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:46:27] local.INFO: TCP Data received {"connection_id":147072,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:46:27] local.INFO: Processing buffer {"connection_id":147072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:46:27] local.INFO: IMEI packet received {"connection_id":147072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":147072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:46:28] local.INFO: TCP Data received {"connection_id":147072,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37923e0012cd35cc007400a800007008c30..."} 
[2026-08-02 22:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37923e0012cd35cc007400a800007008c30..."} 
[2026-08-02 22:46:28] local.INFO: Processing buffer {"connection_id":147072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37923e0012cd35cc007400a800007008c30..."} 
[2026-08-02 22:46:28] local.INFO: Packet analysis {"connection_id":147072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc379"} 
[2026-08-02 22:46:28] local.INFO: Extracted packet for processing {"connection_id":147072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc379"} 
[2026-08-02 22:46:28] local.INFO: GPS Element Parsed {"raw_longitude":752049344,"raw_latitude":121637504,"longitude_deg":75.2049344,"latitude_deg":12.1637504,"altitude":7,"angle":140,"satellites":48,"speed":42,"hex_longitude":"2cd35cc0","hex_latitude":"07400a80","is_valid_coordinates":true} 
[2026-08-02 22:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136874240001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367438274693693440,"note":"Value kept but may cause issues"} 
[2026-08-02 22:46:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3223381033405227008,"note":"Value kept but may cause issues"} 
[2026-08-02 22:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785690924000,"timestamp_ms":1785690924000,"timestamp_seconds":1785690924,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37923e0"} 
[2026-08-02 22:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 22:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136874240001,"66":27234,"245":206,"83":43264,"24":42,"16":367438274693693440,"44":-3223381033405227008},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-02 22:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136874240001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367438274693693440,"km_value":367438274693693.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:46:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3223381033405227008,"description":"Unknown IO ID 44"} 
[2026-08-02 22:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136874240001,"power":27234,"geofence_id":206,"unknown_83":43264,"ignition":42,"odometer":null,"unknown_44":-3223381033405227008}} 
[2026-08-02 22:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":147072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:46:28] local.INFO: GPS data processed {"connection_id":147072,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:46:28] local.INFO: Acknowledgment sent {"connection_id":147072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:46:59] local.INFO: TCP Data received {"connection_id":147072,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3794708012cd37580073fec400007008e31..."} 
[2026-08-02 22:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3794708012cd37580073fec400007008e31..."} 
[2026-08-02 22:46:59] local.INFO: Processing buffer {"connection_id":147072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3794708012cd37580073fec400007008e31..."} 
[2026-08-02 22:46:59] local.INFO: Packet analysis {"connection_id":147072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc379"} 
[2026-08-02 22:46:59] local.INFO: Extracted packet for processing {"connection_id":147072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc379"} 
[2026-08-02 22:46:59] local.INFO: GPS Element Parsed {"raw_longitude":752055680,"raw_latitude":121629760,"longitude_deg":75.205568,"latitude_deg":12.162976,"altitude":7,"angle":142,"satellites":49,"speed":45,"hex_longitude":"2cd37580","hex_latitude":"073fec40","is_valid_coordinates":true} 
[2026-08-02 22:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136876544001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367438755730030592,"note":"Value kept but may cause issues"} 
[2026-08-02 22:46:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3216484896477642752,"note":"Value kept but may cause issues"} 
[2026-08-02 22:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785690933000,"timestamp_ms":1785690933000,"timestamp_seconds":1785690933,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3794708"} 
[2026-08-02 22:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-02 22:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136876544001,"66":27300,"243":206,"83":43264,"24":45,"16":367438755730030592,"44":-3216484896477642752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-08-02 22:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136876544001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:46:59] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-02 22:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367438755730030592,"km_value":367438755730030.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:46:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3216484896477642752,"description":"Unknown IO ID 44"} 
[2026-08-02 22:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136876544001,"power":27300,"unknown_243":206,"unknown_83":43264,"ignition":45,"odometer":null,"unknown_44":-3216484896477642752}} 
[2026-08-02 22:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":147072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:46:59] local.INFO: GPS data processed {"connection_id":147072,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:46:59] local.INFO: Acknowledgment sent {"connection_id":147072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:47:23] local.INFO: TCP Data received {"connection_id":148109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:47:23] local.INFO: Processing buffer {"connection_id":148109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:47:23] local.INFO: IMEI packet received {"connection_id":148109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":148109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:47:23] local.INFO: TCP Data received {"connection_id":148109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:47:23] local.INFO: Processing buffer {"connection_id":148109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:47:23] local.INFO: IMEI packet received {"connection_id":148109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":148109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:47:28] local.INFO: TCP Data received {"connection_id":148109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:47:28] local.INFO: Processing buffer {"connection_id":148109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:47:28] local.INFO: IMEI packet received {"connection_id":148109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":148109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:47:31] local.INFO: TCP Data received {"connection_id":148109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3796648012cd38bc0073fcee00007009231..."} 
[2026-08-02 22:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3796648012cd38bc0073fcee00007009231..."} 
[2026-08-02 22:47:31] local.INFO: Processing buffer {"connection_id":148109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3796648012cd38bc0073fcee00007009231..."} 
[2026-08-02 22:47:31] local.INFO: Packet analysis {"connection_id":148109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc379"} 
[2026-08-02 22:47:31] local.INFO: Extracted packet for processing {"connection_id":148109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc379"} 
[2026-08-02 22:47:31] local.INFO: GPS Element Parsed {"raw_longitude":752061376,"raw_latitude":121622240,"longitude_deg":75.2061376,"latitude_deg":12.162224,"altitude":7,"angle":146,"satellites":49,"speed":47,"hex_longitude":"2cd38bc0","hex_latitude":"073fcee0","is_valid_coordinates":true} 
[2026-08-02 22:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136878848001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367439210996563968,"note":"Value kept but may cause issues"} 
[2026-08-02 22:47:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3209518390806036480,"note":"Value kept but may cause issues"} 
[2026-08-02 22:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785690941000,"timestamp_ms":1785690941000,"timestamp_seconds":1785690941,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3796648"} 
[2026-08-02 22:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 22:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136878848001,"66":27376,"119":206,"83":43264,"24":47,"16":367439210996563968,"44":-3209518390806036480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,44]} 
[2026-08-02 22:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136878848001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:47:31] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-02 22:47:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367439210996563968,"km_value":367439210996563.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:47:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3209518390806036480,"description":"Unknown IO ID 44"} 
[2026-08-02 22:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136878848001,"power":27376,"unknown_119":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-3209518390806036480}} 
[2026-08-02 22:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":148109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:47:31] local.INFO: GPS data processed {"connection_id":148109,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:47:31] local.INFO: Acknowledgment sent {"connection_id":148109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:48:02] local.INFO: TCP Data received {"connection_id":148109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37ac9c0012cd458c0073e5d10000c009431..."} 
[2026-08-02 22:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37ac9c0012cd458c0073e5d10000c009431..."} 
[2026-08-02 22:48:02] local.INFO: Processing buffer {"connection_id":148109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37ac9c0012cd458c0073e5d10000c009431..."} 
[2026-08-02 22:48:02] local.INFO: Packet analysis {"connection_id":148109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37a"} 
[2026-08-02 22:48:02] local.INFO: Extracted packet for processing {"connection_id":148109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37a"} 
[2026-08-02 22:48:02] local.INFO: GPS Element Parsed {"raw_longitude":752113856,"raw_latitude":121527568,"longitude_deg":75.2113856,"latitude_deg":12.1527568,"altitude":12,"angle":148,"satellites":49,"speed":53,"hex_longitude":"2cd458c0","hex_latitude":"073e5d10","is_valid_coordinates":true} 
[2026-08-02 22:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136902400001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367444545345945600,"note":"Value kept but may cause issues"} 
[2026-08-02 22:48:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3150056801999804416,"note":"Value kept but may cause issues"} 
[2026-08-02 22:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785691032000,"timestamp_ms":1785691032000,"timestamp_seconds":1785691032,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37ac9c0"} 
[2026-08-02 22:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-02 22:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136902400001,"66":27332,"118":206,"83":43264,"24":53,"16":367444545345945600,"44":-3150056801999804416},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-08-02 22:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136902400001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:48:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-02 22:48:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367444545345945600,"km_value":367444545345945.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:48:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3150056801999804416,"description":"Unknown IO ID 44"} 
[2026-08-02 22:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136902400001,"power":27332,"unknown_118":206,"unknown_83":43264,"ignition":53,"odometer":null,"unknown_44":-3150056801999804416}} 
[2026-08-02 22:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":148109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:48:02] local.INFO: GPS data processed {"connection_id":148109,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:48:02] local.INFO: Acknowledgment sent {"connection_id":148109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:48:23] local.INFO: TCP Data received {"connection_id":149414,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:48:23] local.INFO: Processing buffer {"connection_id":149414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:48:23] local.INFO: IMEI packet received {"connection_id":149414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":149414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:48:25] local.INFO: TCP Data received {"connection_id":149414,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:48:25] local.INFO: Processing buffer {"connection_id":149414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:48:25] local.INFO: IMEI packet received {"connection_id":149414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":149414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:48:28] local.INFO: TCP Data received {"connection_id":149414,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:48:28] local.INFO: Processing buffer {"connection_id":149414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:48:28] local.INFO: IMEI packet received {"connection_id":149414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":149414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:48:29] local.INFO: TCP Data received {"connection_id":149414,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37ac9c0012cd458c0073e5d10000c009431..."} 
[2026-08-02 22:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37ac9c0012cd458c0073e5d10000c009431..."} 
[2026-08-02 22:48:29] local.INFO: Processing buffer {"connection_id":149414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37ac9c0012cd458c0073e5d10000c009431..."} 
[2026-08-02 22:48:29] local.INFO: Packet analysis {"connection_id":149414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37a"} 
[2026-08-02 22:48:29] local.INFO: Extracted packet for processing {"connection_id":149414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37a"} 
[2026-08-02 22:48:29] local.INFO: GPS Element Parsed {"raw_longitude":752113856,"raw_latitude":121527568,"longitude_deg":75.2113856,"latitude_deg":12.1527568,"altitude":12,"angle":148,"satellites":49,"speed":53,"hex_longitude":"2cd458c0","hex_latitude":"073e5d10","is_valid_coordinates":true} 
[2026-08-02 22:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136904192001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367444545345945600,"note":"Value kept but may cause issues"} 
[2026-08-02 22:48:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3145553202374701056,"note":"Value kept but may cause issues"} 
[2026-08-02 22:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785691032000,"timestamp_ms":1785691032000,"timestamp_seconds":1785691032,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37ac9c0"} 
[2026-08-02 22:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 22:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136904192001,"66":27332,"118":206,"83":43264,"24":53,"16":367444545345945600,"44":-3145553202374701056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-08-02 22:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136904192001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:48:29] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-02 22:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367444545345945600,"km_value":367444545345945.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:48:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3145553202374701056,"description":"Unknown IO ID 44"} 
[2026-08-02 22:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136904192001,"power":27332,"unknown_118":206,"unknown_83":43264,"ignition":53,"odometer":null,"unknown_44":-3145553202374701056}} 
[2026-08-02 22:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":149414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:48:29] local.INFO: GPS data processed {"connection_id":149414,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:48:29] local.INFO: Acknowledgment sent {"connection_id":149414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:49:01] local.INFO: TCP Data received {"connection_id":149414,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37ae518012cd46d00073e4008000c008f32..."} 
[2026-08-02 22:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37ae518012cd46d00073e4008000c008f32..."} 
[2026-08-02 22:49:01] local.INFO: Processing buffer {"connection_id":149414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37ae518012cd46d00073e4008000c008f32..."} 
[2026-08-02 22:49:01] local.INFO: Packet analysis {"connection_id":149414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37a"} 
[2026-08-02 22:49:01] local.INFO: Extracted packet for processing {"connection_id":149414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37a"} 
[2026-08-02 22:49:01] local.INFO: GPS Element Parsed {"raw_longitude":752119040,"raw_latitude":121520136,"longitude_deg":75.211904,"latitude_deg":12.1520136,"altitude":12,"angle":143,"satellites":50,"speed":51,"hex_longitude":"2cd46d00","hex_latitude":"073e4008","is_valid_coordinates":true} 
[2026-08-02 22:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136904192001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367444979137642496,"note":"Value kept but may cause issues"} 
[2026-08-02 22:49:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3145553202374701056,"note":"Value kept but may cause issues"} 
[2026-08-02 22:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785691039000,"timestamp_ms":1785691039000,"timestamp_seconds":1785691039,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37ae518"} 
[2026-08-02 22:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 22:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136904192001,"66":27213,"118":206,"83":43264,"24":51,"16":367444979137642496,"44":-3145553202374701056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-08-02 22:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136904192001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:49:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-02 22:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367444979137642496,"km_value":367444979137642.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:49:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3145553202374701056,"description":"Unknown IO ID 44"} 
[2026-08-02 22:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136904192001,"power":27213,"unknown_118":206,"unknown_83":43264,"ignition":51,"odometer":null,"unknown_44":-3145553202374701056}} 
[2026-08-02 22:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":149414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:49:01] local.INFO: GPS data processed {"connection_id":149414,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:49:01] local.INFO: Acknowledgment sent {"connection_id":149414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:49:26] local.INFO: TCP Data received {"connection_id":148110,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:49:26] local.INFO: Processing buffer {"connection_id":148110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:49:26] local.INFO: IMEI packet received {"connection_id":148110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":148110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:49:28] local.INFO: TCP Data received {"connection_id":148110,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:49:28] local.INFO: Processing buffer {"connection_id":148110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:49:28] local.INFO: IMEI packet received {"connection_id":148110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":148110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:49:33] local.INFO: TCP Data received {"connection_id":148110,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:49:33] local.INFO: Processing buffer {"connection_id":148110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:49:33] local.INFO: IMEI packet received {"connection_id":148110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":148110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:49:33] local.INFO: TCP Data received {"connection_id":148110,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37c0628012cd4dfc0073cdcc0000f00af33..."} 
[2026-08-02 22:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37c0628012cd4dfc0073cdcc0000f00af33..."} 
[2026-08-02 22:49:33] local.INFO: Processing buffer {"connection_id":148110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37c0628012cd4dfc0073cdcc0000f00af33..."} 
[2026-08-02 22:49:33] local.INFO: Packet analysis {"connection_id":148110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37c"} 
[2026-08-02 22:49:33] local.INFO: Extracted packet for processing {"connection_id":148110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37c"} 
[2026-08-02 22:49:33] local.INFO: GPS Element Parsed {"raw_longitude":752148416,"raw_latitude":121429184,"longitude_deg":75.2148416,"latitude_deg":12.1429184,"altitude":15,"angle":175,"satellites":51,"speed":49,"hex_longitude":"2cd4dfc0","hex_latitude":"073cdcc0","is_valid_coordinates":true} 
[2026-08-02 22:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136922880001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367449643472125952,"note":"Value kept but may cause issues"} 
[2026-08-02 22:49:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3108679980448249856,"note":"Value kept but may cause issues"} 
[2026-08-02 22:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785691113000,"timestamp_ms":1785691113000,"timestamp_seconds":1785691113,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37c0628"} 
[2026-08-02 22:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-02 22:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136922880001,"66":27300,"135":206,"83":43264,"24":49,"16":367449643472125952,"44":-3108679980448249856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-02 22:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136922880001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:49:33] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 22:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367449643472125952,"km_value":367449643472125.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:49:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3108679980448249856,"description":"Unknown IO ID 44"} 
[2026-08-02 22:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136922880001,"power":27300,"unknown_135":206,"unknown_83":43264,"ignition":49,"odometer":null,"unknown_44":-3108679980448249856}} 
[2026-08-02 22:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":148110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:49:33] local.INFO: GPS data processed {"connection_id":148110,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:49:33] local.INFO: Acknowledgment sent {"connection_id":148110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:49:34] local.INFO: TCP Data received {"connection_id":148110,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37c2568012cd4e500073cb5c0000e00ab33..."} 
[2026-08-02 22:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37c2568012cd4e500073cb5c0000e00ab33..."} 
[2026-08-02 22:49:34] local.INFO: Processing buffer {"connection_id":148110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37c2568012cd4e500073cb5c0000e00ab33..."} 
[2026-08-02 22:49:34] local.INFO: Packet analysis {"connection_id":148110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37c"} 
[2026-08-02 22:49:34] local.INFO: Extracted packet for processing {"connection_id":148110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37c"} 
[2026-08-02 22:49:34] local.INFO: GPS Element Parsed {"raw_longitude":752149760,"raw_latitude":121419200,"longitude_deg":75.214976,"latitude_deg":12.14192,"altitude":14,"angle":171,"satellites":51,"speed":50,"hex_longitude":"2cd4e500","hex_latitude":"073cb5c0","is_valid_coordinates":true} 
[2026-08-02 22:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136924928001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367450133098397696,"note":"Value kept but may cause issues"} 
[2026-08-02 22:49:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3107554080543948800,"note":"Value kept but may cause issues"} 
[2026-08-02 22:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785691121000,"timestamp_ms":1785691121000,"timestamp_seconds":1785691121,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37c2568"} 
[2026-08-02 22:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 22:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136924928001,"66":27365,"135":206,"83":43264,"24":50,"16":367450133098397696,"44":-3107554080543948800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-02 22:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136924928001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:49:34] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 22:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367450133098397696,"km_value":367450133098397.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:49:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3107554080543948800,"description":"Unknown IO ID 44"} 
[2026-08-02 22:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136924928001,"power":27365,"unknown_135":206,"unknown_83":43264,"ignition":50,"odometer":null,"unknown_44":-3107554080543948800}} 
[2026-08-02 22:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":148110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:49:34] local.INFO: GPS data processed {"connection_id":148110,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:49:34] local.INFO: Acknowledgment sent {"connection_id":148110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:50:05] local.INFO: TCP Data received {"connection_id":148110,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37c40c0012cd4eac0073c9388000e00aa33..."} 
[2026-08-02 22:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37c40c0012cd4eac0073c9388000e00aa33..."} 
[2026-08-02 22:50:05] local.INFO: Processing buffer {"connection_id":148110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37c40c0012cd4eac0073c9388000e00aa33..."} 
[2026-08-02 22:50:05] local.INFO: Packet analysis {"connection_id":148110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37c"} 
[2026-08-02 22:50:05] local.INFO: Extracted packet for processing {"connection_id":148110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37c"} 
[2026-08-02 22:50:05] local.INFO: GPS Element Parsed {"raw_longitude":752151232,"raw_latitude":121410440,"longitude_deg":75.2151232,"latitude_deg":12.141044,"altitude":14,"angle":170,"satellites":51,"speed":50,"hex_longitude":"2cd4eac0","hex_latitude":"073c9388","is_valid_coordinates":true} 
[2026-08-02 22:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136926976001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367450562595127296,"note":"Value kept but may cause issues"} 
[2026-08-02 22:50:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3106076336918773760,"note":"Value kept but may cause issues"} 
[2026-08-02 22:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785691128000,"timestamp_ms":1785691128000,"timestamp_seconds":1785691128,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37c40c0"} 
[2026-08-02 22:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 22:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136926976001,"66":27213,"135":206,"83":43264,"24":50,"16":367450562595127296,"44":-3106076336918773760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-02 22:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136926976001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:50:05] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 22:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367450562595127296,"km_value":367450562595127.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:50:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3106076336918773760,"description":"Unknown IO ID 44"} 
[2026-08-02 22:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136926976001,"power":27213,"unknown_135":206,"unknown_83":43264,"ignition":50,"odometer":null,"unknown_44":-3106076336918773760}} 
[2026-08-02 22:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":148110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:50:05] local.INFO: GPS data processed {"connection_id":148110,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:50:05] local.INFO: Acknowledgment sent {"connection_id":148110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:50:20] local.INFO: TCP Data received {"connection_id":147073,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:50:20] local.INFO: Processing buffer {"connection_id":147073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:50:20] local.INFO: IMEI packet received {"connection_id":147073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":147073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:50:23] local.INFO: TCP Data received {"connection_id":147073,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:50:23] local.INFO: Processing buffer {"connection_id":147073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:50:23] local.INFO: IMEI packet received {"connection_id":147073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":147073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:50:28] local.INFO: TCP Data received {"connection_id":147073,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:50:28] local.INFO: Processing buffer {"connection_id":147073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:50:28] local.INFO: IMEI packet received {"connection_id":147073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":147073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:50:29] local.INFO: TCP Data received {"connection_id":147073,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37c6000012cd4f1c0073c6d00000e00ab31..."} 
[2026-08-02 22:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37c6000012cd4f1c0073c6d00000e00ab31..."} 
[2026-08-02 22:50:29] local.INFO: Processing buffer {"connection_id":147073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37c6000012cd4f1c0073c6d00000e00ab31..."} 
[2026-08-02 22:50:29] local.INFO: Packet analysis {"connection_id":147073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37c"} 
[2026-08-02 22:50:29] local.INFO: Extracted packet for processing {"connection_id":147073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37c"} 
[2026-08-02 22:50:29] local.INFO: GPS Element Parsed {"raw_longitude":752153024,"raw_latitude":121400576,"longitude_deg":75.2153024,"latitude_deg":12.1400576,"altitude":14,"angle":171,"satellites":49,"speed":48,"hex_longitude":"2cd4f1c0","hex_latitude":"073c6d00","is_valid_coordinates":true} 
[2026-08-02 22:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136928768001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367451047926431744,"note":"Value kept but may cause issues"} 
[2026-08-02 22:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3104457855804930048,"note":"Value kept but may cause issues"} 
[2026-08-02 22:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785691136000,"timestamp_ms":1785691136000,"timestamp_seconds":1785691136,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37c6000"} 
[2026-08-02 22:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-02 22:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136928768001,"66":27180,"135":206,"83":43264,"24":48,"16":367451047926431744,"44":-3104457855804930048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-02 22:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136928768001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:50:29] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 22:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367451047926431744,"km_value":367451047926431.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3104457855804930048,"description":"Unknown IO ID 44"} 
[2026-08-02 22:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136928768001,"power":27180,"unknown_135":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-3104457855804930048}} 
[2026-08-02 22:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":147073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:50:29] local.INFO: GPS data processed {"connection_id":147073,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:50:29] local.INFO: Acknowledgment sent {"connection_id":147073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:51:01] local.INFO: TCP Data received {"connection_id":147073,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37c7f40012cd4f6c0073c4858000e00ac33..."} 
[2026-08-02 22:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37c7f40012cd4f6c0073c4858000e00ac33..."} 
[2026-08-02 22:51:01] local.INFO: Processing buffer {"connection_id":147073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37c7f40012cd4f6c0073c4858000e00ac33..."} 
[2026-08-02 22:51:01] local.INFO: Packet analysis {"connection_id":147073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37c"} 
[2026-08-02 22:51:01] local.INFO: Extracted packet for processing {"connection_id":147073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37c"} 
[2026-08-02 22:51:01] local.INFO: GPS Element Parsed {"raw_longitude":752154304,"raw_latitude":121391192,"longitude_deg":75.2154304,"latitude_deg":12.1391192,"altitude":14,"angle":172,"satellites":51,"speed":46,"hex_longitude":"2cd4f6c0","hex_latitude":"073c4858","is_valid_coordinates":true} 
[2026-08-02 22:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136930816001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367451507487932416,"note":"Value kept but may cause issues"} 
[2026-08-02 22:51:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3102487530970480640,"note":"Value kept but may cause issues"} 
[2026-08-02 22:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785691144000,"timestamp_ms":1785691144000,"timestamp_seconds":1785691144,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37c7f40"} 
[2026-08-02 22:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-02 22:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136930816001,"66":27365,"135":206,"83":43264,"24":46,"16":367451507487932416,"44":-3102487530970480640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-02 22:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136930816001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:51:01] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 22:51:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367451507487932416,"km_value":367451507487932.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:51:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3102487530970480640,"description":"Unknown IO ID 44"} 
[2026-08-02 22:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136930816001,"power":27365,"unknown_135":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3102487530970480640}} 
[2026-08-02 22:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":147073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:51:01] local.INFO: GPS data processed {"connection_id":147073,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:51:01] local.INFO: Acknowledgment sent {"connection_id":147073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:51:20] local.INFO: TCP Data received {"connection_id":148111,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:51:20] local.INFO: Processing buffer {"connection_id":148111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:51:20] local.INFO: IMEI packet received {"connection_id":148111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":148111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:51:23] local.INFO: TCP Data received {"connection_id":148111,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:51:23] local.INFO: Processing buffer {"connection_id":148111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:51:23] local.INFO: IMEI packet received {"connection_id":148111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":148111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:51:24] local.INFO: TCP Data received {"connection_id":148111,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:51:24] local.INFO: Processing buffer {"connection_id":148111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:51:24] local.INFO: IMEI packet received {"connection_id":148111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":148111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:51:28] local.INFO: TCP Data received {"connection_id":148111,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:51:28] local.INFO: Processing buffer {"connection_id":148111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:51:28] local.INFO: IMEI packet received {"connection_id":148111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":148111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:51:29] local.INFO: TCP Data received {"connection_id":148111,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37dac08012cd50740073b6f60000c009b30..."} 
[2026-08-02 22:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37dac08012cd50740073b6f60000c009b30..."} 
[2026-08-02 22:51:29] local.INFO: Processing buffer {"connection_id":148111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37dac08012cd50740073b6f60000c009b30..."} 
[2026-08-02 22:51:29] local.INFO: Packet analysis {"connection_id":148111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37d"} 
[2026-08-02 22:51:29] local.INFO: Extracted packet for processing {"connection_id":148111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37d"} 
[2026-08-02 22:51:29] local.INFO: GPS Element Parsed {"raw_longitude":752158528,"raw_latitude":121335648,"longitude_deg":75.2158528,"latitude_deg":12.1335648,"altitude":12,"angle":155,"satellites":48,"speed":34,"hex_longitude":"2cd50740","hex_latitude":"073b6f60","is_valid_coordinates":true} 
[2026-08-02 22:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136951808001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367454226202230784,"note":"Value kept but may cause issues"} 
[2026-08-02 22:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3097491350149883904,"note":"Value kept but may cause issues"} 
[2026-08-02 22:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785691221000,"timestamp_ms":1785691221000,"timestamp_seconds":1785691221,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37dac08"} 
[2026-08-02 22:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 22:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136951808001,"66":27310,"135":206,"83":43264,"24":34,"16":367454226202230784,"44":-3097491350149883904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-02 22:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136951808001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:51:29] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 22:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367454226202230784,"km_value":367454226202230.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3097491350149883904,"description":"Unknown IO ID 44"} 
[2026-08-02 22:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136951808001,"power":27310,"unknown_135":206,"unknown_83":43264,"ignition":34,"odometer":null,"unknown_44":-3097491350149883904}} 
[2026-08-02 22:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":148111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:51:29] local.INFO: GPS data processed {"connection_id":148111,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:51:29] local.INFO: Acknowledgment sent {"connection_id":148111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:51:33] local.INFO: TCP Data received {"connection_id":148111,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37dd700012cd517c0073b4f80000c009432..."} 
[2026-08-02 22:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37dd700012cd517c0073b4f80000c009432..."} 
[2026-08-02 22:51:33] local.INFO: Processing buffer {"connection_id":148111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37dd700012cd517c0073b4f80000c009432..."} 
[2026-08-02 22:51:33] local.INFO: Packet analysis {"connection_id":148111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37d"} 
[2026-08-02 22:51:33] local.INFO: Extracted packet for processing {"connection_id":148111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37d"} 
[2026-08-02 22:51:33] local.INFO: GPS Element Parsed {"raw_longitude":752162752,"raw_latitude":121327488,"longitude_deg":75.2162752,"latitude_deg":12.1327488,"altitude":12,"angle":148,"satellites":50,"speed":32,"hex_longitude":"2cd517c0","hex_latitude":"073b4f80","is_valid_coordinates":true} 
[2026-08-02 22:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136952576001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367454668583862272,"note":"Value kept but may cause issues"} 
[2026-08-02 22:51:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3096435818987823104,"note":"Value kept but may cause issues"} 
[2026-08-02 22:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785691232000,"timestamp_ms":1785691232000,"timestamp_seconds":1785691232,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37dd700"} 
[2026-08-02 22:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-02 22:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136952576001,"66":27300,"135":206,"83":43264,"24":32,"16":367454668583862272,"44":-3096435818987823104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-02 22:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136952576001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:51:33] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-02 22:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367454668583862272,"km_value":367454668583862.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:51:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3096435818987823104,"description":"Unknown IO ID 44"} 
[2026-08-02 22:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136952576001,"power":27300,"unknown_135":206,"unknown_83":43264,"ignition":32,"odometer":null,"unknown_44":-3096435818987823104}} 
[2026-08-02 22:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":148111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:51:33] local.INFO: GPS data processed {"connection_id":148111,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:51:33] local.INFO: Acknowledgment sent {"connection_id":148111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:52:04] local.INFO: TCP Data received {"connection_id":148111,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37df258012cd52100073b3d50000c009f2f..."} 
[2026-08-02 22:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37df258012cd52100073b3d50000c009f2f..."} 
[2026-08-02 22:52:04] local.INFO: Processing buffer {"connection_id":148111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37df258012cd52100073b3d50000c009f2f..."} 
[2026-08-02 22:52:04] local.INFO: Packet analysis {"connection_id":148111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37d"} 
[2026-08-02 22:52:04] local.INFO: Extracted packet for processing {"connection_id":148111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37d"} 
[2026-08-02 22:52:04] local.INFO: GPS Element Parsed {"raw_longitude":752165120,"raw_latitude":121322832,"longitude_deg":75.216512,"latitude_deg":12.1322832,"altitude":12,"angle":159,"satellites":47,"speed":26,"hex_longitude":"2cd52100","hex_latitude":"073b3d50","is_valid_coordinates":true} 
[2026-08-02 22:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136955392001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367454921986932736,"note":"Value kept but may cause issues"} 
[2026-08-02 22:52:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091791481874186240,"note":"Value kept but may cause issues"} 
[2026-08-02 22:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785691239000,"timestamp_ms":1785691239000,"timestamp_seconds":1785691239,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37df258"} 
[2026-08-02 22:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 22:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136955392001,"66":27267,"137":206,"83":43264,"24":26,"16":367454921986932736,"44":-3091791481874186240},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-02 22:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136955392001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:52:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-02 22:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367454921986932736,"km_value":367454921986932.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:52:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091791481874186240,"description":"Unknown IO ID 44"} 
[2026-08-02 22:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136955392001,"power":27267,"unknown_137":206,"unknown_83":43264,"ignition":26,"odometer":null,"unknown_44":-3091791481874186240}} 
[2026-08-02 22:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":148111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:52:04] local.INFO: GPS data processed {"connection_id":148111,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:52:04] local.INFO: Acknowledgment sent {"connection_id":148111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:52:23] local.INFO: TCP Data received {"connection_id":146850,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:52:23] local.INFO: Processing buffer {"connection_id":146850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:52:23] local.INFO: IMEI packet received {"connection_id":146850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":146850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:52:25] local.INFO: TCP Data received {"connection_id":146850,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:52:25] local.INFO: Processing buffer {"connection_id":146850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:52:25] local.INFO: IMEI packet received {"connection_id":146850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":146850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:52:28] local.INFO: TCP Data received {"connection_id":146850,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:52:28] local.INFO: Processing buffer {"connection_id":146850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:52:28] local.INFO: IMEI packet received {"connection_id":146850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":146850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:52:36] local.INFO: TCP Data received {"connection_id":146850,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37dfe10012cd52300073b3588000c00ad31..."} 
[2026-08-02 22:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37dfe10012cd52300073b3588000c00ad31..."} 
[2026-08-02 22:52:36] local.INFO: Processing buffer {"connection_id":146850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37dfe10012cd52300073b3588000c00ad31..."} 
[2026-08-02 22:52:36] local.INFO: Packet analysis {"connection_id":146850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37d"} 
[2026-08-02 22:52:36] local.INFO: Extracted packet for processing {"connection_id":146850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37d"} 
[2026-08-02 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":752165632,"raw_latitude":121320840,"longitude_deg":75.2165632,"latitude_deg":12.132084,"altitude":12,"angle":173,"satellites":49,"speed":26,"hex_longitude":"2cd52300","hex_latitude":"073b3588","is_valid_coordinates":true} 
[2026-08-02 22:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136957184001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367455020771180544,"note":"Value kept but may cause issues"} 
[2026-08-02 22:52:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3089187838340804608,"note":"Value kept but may cause issues"} 
[2026-08-02 22:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785691242000,"timestamp_ms":1785691242000,"timestamp_seconds":1785691242,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37dfe10"} 
[2026-08-02 22:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 22:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136957184001,"66":27300,"137":206,"83":43264,"24":26,"16":367455020771180544,"44":-3089187838340804608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-02 22:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136957184001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:52:36] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-02 22:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367455020771180544,"km_value":367455020771180.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:52:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3089187838340804608,"description":"Unknown IO ID 44"} 
[2026-08-02 22:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136957184001,"power":27300,"unknown_137":206,"unknown_83":43264,"ignition":26,"odometer":null,"unknown_44":-3089187838340804608}} 
[2026-08-02 22:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":146850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:52:36] local.INFO: GPS data processed {"connection_id":146850,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:52:36] local.INFO: Acknowledgment sent {"connection_id":146850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:53:07] local.INFO: TCP Data received {"connection_id":146850,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37e05e0012cd52340073b3018000c00b830..."} 
[2026-08-02 22:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37e05e0012cd52340073b3018000c00b830..."} 
[2026-08-02 22:53:07] local.INFO: Processing buffer {"connection_id":146850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37e05e0012cd52340073b3018000c00b830..."} 
[2026-08-02 22:53:07] local.INFO: Packet analysis {"connection_id":146850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37e"} 
[2026-08-02 22:53:07] local.INFO: Extracted packet for processing {"connection_id":146850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37e"} 
[2026-08-02 22:53:07] local.INFO: GPS Element Parsed {"raw_longitude":752165696,"raw_latitude":121319448,"longitude_deg":75.2165696,"latitude_deg":12.1319448,"altitude":12,"angle":184,"satellites":48,"speed":27,"hex_longitude":"2cd52340","hex_latitude":"073b3018","is_valid_coordinates":true} 
[2026-08-02 22:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136957952001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367455089490657280,"note":"Value kept but may cause issues"} 
[2026-08-02 22:53:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3088624888387893248,"note":"Value kept but may cause issues"} 
[2026-08-02 22:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785691244000,"timestamp_ms":1785691244000,"timestamp_seconds":1785691244,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37e05e0"} 
[2026-08-02 22:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 22:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136957952001,"66":27397,"137":206,"83":43264,"24":27,"16":367455089490657280,"44":-3088624888387893248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-02 22:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136957952001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:53:07] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-02 22:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367455089490657280,"km_value":367455089490657.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:53:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3088624888387893248,"description":"Unknown IO ID 44"} 
[2026-08-02 22:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136957952001,"power":27397,"unknown_137":206,"unknown_83":43264,"ignition":27,"odometer":null,"unknown_44":-3088624888387893248}} 
[2026-08-02 22:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":146850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:53:07] local.INFO: GPS data processed {"connection_id":146850,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:53:07] local.INFO: Acknowledgment sent {"connection_id":146850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:53:23] local.INFO: TCP Data received {"connection_id":148112,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:53:23] local.INFO: Processing buffer {"connection_id":148112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:53:23] local.INFO: IMEI packet received {"connection_id":148112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":148112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:53:28] local.INFO: TCP Data received {"connection_id":148112,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:53:28] local.INFO: Processing buffer {"connection_id":148112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:53:28] local.INFO: IMEI packet received {"connection_id":148112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":148112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:53:29] local.INFO: TCP Data received {"connection_id":148112,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37e34c0012cd51ec0073b0bb8000a00b931..."} 
[2026-08-02 22:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37e34c0012cd51ec0073b0bb8000a00b931..."} 
[2026-08-02 22:53:29] local.INFO: Processing buffer {"connection_id":148112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37e34c0012cd51ec0073b0bb8000a00b931..."} 
[2026-08-02 22:53:29] local.INFO: Packet analysis {"connection_id":148112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37e"} 
[2026-08-02 22:53:29] local.INFO: Extracted packet for processing {"connection_id":148112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37e"} 
[2026-08-02 22:53:29] local.INFO: GPS Element Parsed {"raw_longitude":752164544,"raw_latitude":121310136,"longitude_deg":75.2164544,"latitude_deg":12.1310136,"altitude":10,"angle":185,"satellites":49,"speed":34,"hex_longitude":"2cd51ec0","hex_latitude":"073b0bb8","is_valid_coordinates":true} 
[2026-08-02 22:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136958464001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367455544757190656,"note":"Value kept but may cause issues"} 
[2026-08-02 22:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3088554519644071936,"note":"Value kept but may cause issues"} 
[2026-08-02 22:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785691256000,"timestamp_ms":1785691256000,"timestamp_seconds":1785691256,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37e34c0"} 
[2026-08-02 22:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 22:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136958464001,"66":27397,"137":206,"83":43264,"24":34,"16":367455544757190656,"44":-3088554519644071936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-02 22:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136958464001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:53:29] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-02 22:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367455544757190656,"km_value":367455544757190.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3088554519644071936,"description":"Unknown IO ID 44"} 
[2026-08-02 22:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136958464001,"power":27397,"unknown_137":206,"unknown_83":43264,"ignition":34,"odometer":null,"unknown_44":-3088554519644071936}} 
[2026-08-02 22:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":148112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:53:29] local.INFO: GPS data processed {"connection_id":148112,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:53:29] local.INFO: Acknowledgment sent {"connection_id":148112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:54:00] local.INFO: TCP Data received {"connection_id":148112,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc37ff9e0012cd53c4007397de8000c00b331..."} 
[2026-08-02 22:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc37ff9e0012cd53c4007397de8000c00b331..."} 
[2026-08-02 22:54:00] local.INFO: Processing buffer {"connection_id":148112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc37ff9e0012cd53c4007397de8000c00b331..."} 
[2026-08-02 22:54:00] local.INFO: Packet analysis {"connection_id":148112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc37f"} 
[2026-08-02 22:54:00] local.INFO: Extracted packet for processing {"connection_id":148112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc37f"} 
[2026-08-02 22:54:00] local.INFO: GPS Element Parsed {"raw_longitude":752172096,"raw_latitude":121208296,"longitude_deg":75.2172096,"latitude_deg":12.1208296,"altitude":12,"angle":179,"satellites":49,"speed":28,"hex_longitude":"2cd53c40","hex_latitude":"07397de8","is_valid_coordinates":true} 
[2026-08-02 22:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136987648001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367460526919254016,"note":"Value kept but may cause issues"} 
[2026-08-02 22:54:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081517645252329472,"note":"Value kept but may cause issues"} 
[2026-08-02 22:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785691372000,"timestamp_ms":1785691372000,"timestamp_seconds":1785691372,"priority":1,"record_length":96,"hex_timestamp":"0000019fc37ff9e0"} 
[2026-08-02 22:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 22:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136987648001,"66":27343,"149":206,"83":43264,"24":28,"16":367460526919254016,"44":-3081517645252329472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-08-02 22:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136987648001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:54:00] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-02 22:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367460526919254016,"km_value":367460526919254.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:54:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081517645252329472,"description":"Unknown IO ID 44"} 
[2026-08-02 22:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136987648001,"power":27343,"unknown_149":206,"unknown_83":43264,"ignition":28,"odometer":null,"unknown_44":-3081517645252329472}} 
[2026-08-02 22:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":148112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:54:00] local.INFO: GPS data processed {"connection_id":148112,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:54:00] local.INFO: Acknowledgment sent {"connection_id":148112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:54:23] local.INFO: TCP Data received {"connection_id":146851,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:54:23] local.INFO: Processing buffer {"connection_id":146851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:54:23] local.INFO: IMEI packet received {"connection_id":146851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":146851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:54:25] local.INFO: TCP Data received {"connection_id":146851,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:54:25] local.INFO: Processing buffer {"connection_id":146851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:54:25] local.INFO: IMEI packet received {"connection_id":146851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":146851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:54:29] local.INFO: TCP Data received {"connection_id":146851,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:54:29] local.INFO: Processing buffer {"connection_id":146851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:54:29] local.INFO: IMEI packet received {"connection_id":146851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":146851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:54:30] local.INFO: TCP Data received {"connection_id":146851,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3802ca8012cd5398007395900000b00b732..."} 
[2026-08-02 22:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3802ca8012cd5398007395900000b00b732..."} 
[2026-08-02 22:54:30] local.INFO: Processing buffer {"connection_id":146851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3802ca8012cd5398007395900000b00b732..."} 
[2026-08-02 22:54:30] local.INFO: Packet analysis {"connection_id":146851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc380"} 
[2026-08-02 22:54:30] local.INFO: Extracted packet for processing {"connection_id":146851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc380"} 
[2026-08-02 22:54:30] local.INFO: GPS Element Parsed {"raw_longitude":752171392,"raw_latitude":121198848,"longitude_deg":75.2171392,"latitude_deg":12.1198848,"altitude":11,"angle":183,"satellites":50,"speed":29,"hex_longitude":"2cd53980","hex_latitude":"07395900","is_valid_coordinates":true} 
[2026-08-02 22:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136991232001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367460986480754688,"note":"Value kept but may cause issues"} 
[2026-08-02 22:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081517645254760448,"note":"Value kept but may cause issues"} 
[2026-08-02 22:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785691385000,"timestamp_ms":1785691385000,"timestamp_seconds":1785691385,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3802ca8"} 
[2026-08-02 22:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 22:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136991232001,"66":27343,"149":206,"83":43264,"24":29,"16":367460986480754688,"44":-3081517645254760448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-08-02 22:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136991232001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:54:30] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-02 22:54:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367460986480754688,"km_value":367460986480754.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081517645254760448,"description":"Unknown IO ID 44"} 
[2026-08-02 22:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136991232001,"power":27343,"unknown_149":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-3081517645254760448}} 
[2026-08-02 22:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":146851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:54:30] local.INFO: GPS data processed {"connection_id":146851,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:54:30] local.INFO: Acknowledgment sent {"connection_id":146851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:55:02] local.INFO: TCP Data received {"connection_id":146851,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3804be8012cd53ac0073940c0000c00ab32..."} 
[2026-08-02 22:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3804be8012cd53ac0073940c0000c00ab32..."} 
[2026-08-02 22:55:02] local.INFO: Processing buffer {"connection_id":146851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3804be8012cd53ac0073940c0000c00ab32..."} 
[2026-08-02 22:55:02] local.INFO: Packet analysis {"connection_id":146851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc380"} 
[2026-08-02 22:55:02] local.INFO: Extracted packet for processing {"connection_id":146851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc380"} 
[2026-08-02 22:55:02] local.INFO: GPS Element Parsed {"raw_longitude":752171712,"raw_latitude":121192640,"longitude_deg":75.2171712,"latitude_deg":12.119264,"altitude":12,"angle":171,"satellites":50,"speed":29,"hex_longitude":"2cd53ac0","hex_latitude":"073940c0","is_valid_coordinates":true} 
[2026-08-02 22:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136994560001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367461287128465408,"note":"Value kept but may cause issues"} 
[2026-08-02 22:55:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3082291701443133440,"note":"Value kept but may cause issues"} 
[2026-08-02 22:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785691393000,"timestamp_ms":1785691393000,"timestamp_seconds":1785691393,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3804be8"} 
[2026-08-02 22:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 22:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136994560001,"66":27365,"149":206,"83":43264,"24":29,"16":367461287128465408,"44":-3082291701443133440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-08-02 22:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136994560001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:55:02] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-02 22:55:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367461287128465408,"km_value":367461287128465.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:55:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3082291701443133440,"description":"Unknown IO ID 44"} 
[2026-08-02 22:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136994560001,"power":27365,"unknown_149":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-3082291701443133440}} 
[2026-08-02 22:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":146851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:55:02] local.INFO: GPS data processed {"connection_id":146851,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:55:02] local.INFO: Acknowledgment sent {"connection_id":146851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:55:25] local.INFO: TCP Data received {"connection_id":149415,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:55:25] local.INFO: Processing buffer {"connection_id":149415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:55:25] local.INFO: IMEI packet received {"connection_id":149415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":149415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:55:28] local.INFO: TCP Data received {"connection_id":149415,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:55:28] local.INFO: Processing buffer {"connection_id":149415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:55:28] local.INFO: IMEI packet received {"connection_id":149415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":149415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:55:33] local.INFO: TCP Data received {"connection_id":149415,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:55:33] local.INFO: Processing buffer {"connection_id":149415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:55:33] local.INFO: IMEI packet received {"connection_id":149415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":149415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:55:34] local.INFO: TCP Data received {"connection_id":149415,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3807ac8012cd5414007391d20000c00a831..."} 
[2026-08-02 22:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3807ac8012cd5414007391d20000c00a831..."} 
[2026-08-02 22:55:34] local.INFO: Processing buffer {"connection_id":149415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3807ac8012cd5414007391d20000c00a831..."} 
[2026-08-02 22:55:34] local.INFO: Packet analysis {"connection_id":149415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc380"} 
[2026-08-02 22:55:34] local.INFO: Extracted packet for processing {"connection_id":149415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc380"} 
[2026-08-02 22:55:34] local.INFO: GPS Element Parsed {"raw_longitude":752173376,"raw_latitude":121183520,"longitude_deg":75.2173376,"latitude_deg":12.118352,"altitude":12,"angle":168,"satellites":49,"speed":30,"hex_longitude":"2cd54140","hex_latitude":"07391d20","is_valid_coordinates":true} 
[2026-08-02 22:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136996608001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367461738100031488,"note":"Value kept but may cause issues"} 
[2026-08-02 22:55:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081939857723834368,"note":"Value kept but may cause issues"} 
[2026-08-02 22:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785691405000,"timestamp_ms":1785691405000,"timestamp_seconds":1785691405,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3807ac8"} 
[2026-08-02 22:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 22:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136996608001,"66":27267,"149":206,"83":43264,"24":30,"16":367461738100031488,"44":-3081939857723834368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-08-02 22:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136996608001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:55:34] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-02 22:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367461738100031488,"km_value":367461738100031.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:55:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081939857723834368,"description":"Unknown IO ID 44"} 
[2026-08-02 22:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136996608001,"power":27267,"unknown_149":206,"unknown_83":43264,"ignition":30,"odometer":null,"unknown_44":-3081939857723834368}} 
[2026-08-02 22:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":149415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:55:34] local.INFO: GPS data processed {"connection_id":149415,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:55:34] local.INFO: Acknowledgment sent {"connection_id":149415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:55:38] local.INFO: TCP Data received {"connection_id":149415,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc380a9a8012cd548400738fb10000c00a934..."} 
[2026-08-02 22:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc380a9a8012cd548400738fb10000c00a934..."} 
[2026-08-02 22:55:38] local.INFO: Processing buffer {"connection_id":149415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc380a9a8012cd548400738fb10000c00a934..."} 
[2026-08-02 22:55:38] local.INFO: Packet analysis {"connection_id":149415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc380"} 
[2026-08-02 22:55:38] local.INFO: Extracted packet for processing {"connection_id":149415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc380"} 
[2026-08-02 22:55:38] local.INFO: GPS Element Parsed {"raw_longitude":752175168,"raw_latitude":121174800,"longitude_deg":75.2175168,"latitude_deg":12.11748,"altitude":12,"angle":169,"satellites":52,"speed":30,"hex_longitude":"2cd54840","hex_latitude":"0738fb10","is_valid_coordinates":true} 
[2026-08-02 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-08-02 22:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457136999680001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367462167596761088,"note":"Value kept but may cause issues"} 
[2026-08-02 22:55:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3080110270377549824,"note":"Value kept but may cause issues"} 
[2026-08-02 22:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785691417000,"timestamp_ms":1785691417000,"timestamp_seconds":1785691417,"priority":1,"record_length":96,"hex_timestamp":"0000019fc380a9a8"} 
[2026-08-02 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-08-02 22:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 22:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 22:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":149415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":149415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":149415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457136999680001,"66":27376,"150":206,"83":43264,"24":30,"16":367462167596761088,"44":-3080110270377549824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-08-02 22:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457136999680001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:55:38] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-02 22:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367462167596761088,"km_value":367462167596761.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:55:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3080110270377549824,"description":"Unknown IO ID 44"} 
[2026-08-02 22:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457136999680001,"power":27376,"unknown_150":206,"unknown_83":43264,"ignition":30,"odometer":null,"unknown_44":-3080110270377549824}} 
[2026-08-02 22:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":149415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:55:38] local.INFO: GPS data processed {"connection_id":149415,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:55:38] local.INFO: Acknowledgment sent {"connection_id":149415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:56:23] local.INFO: TCP Data received {"connection_id":147074,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:56:23] local.INFO: Processing buffer {"connection_id":147074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:56:23] local.INFO: IMEI packet received {"connection_id":147074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":147074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:56:27] local.INFO: TCP Data received {"connection_id":147074,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:56:27] local.INFO: Processing buffer {"connection_id":147074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:56:27] local.INFO: IMEI packet received {"connection_id":147074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":147074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:56:28] local.INFO: TCP Data received {"connection_id":147074,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc380d0b8012cd54b000738dc60000d00b430..."} 
[2026-08-02 22:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc380d0b8012cd54b000738dc60000d00b430..."} 
[2026-08-02 22:56:28] local.INFO: Processing buffer {"connection_id":147074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc380d0b8012cd54b000738dc60000d00b430..."} 
[2026-08-02 22:56:28] local.INFO: Packet analysis {"connection_id":147074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc380"} 
[2026-08-02 22:56:28] local.INFO: Extracted packet for processing {"connection_id":147074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc380"} 
[2026-08-02 22:56:28] local.INFO: GPS Element Parsed {"raw_longitude":752175872,"raw_latitude":121166944,"longitude_deg":75.2175872,"latitude_deg":12.1166944,"altitude":13,"angle":180,"satellites":48,"speed":33,"hex_longitude":"2cd54b00","hex_latitude":"0738dc60","is_valid_coordinates":true} 
[2026-08-02 22:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137002752001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367462549848850432,"note":"Value kept but may cause issues"} 
[2026-08-02 22:56:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3078139945542807552,"note":"Value kept but may cause issues"} 
[2026-08-02 22:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785691427000,"timestamp_ms":1785691427000,"timestamp_seconds":1785691427,"priority":1,"record_length":96,"hex_timestamp":"0000019fc380d0b8"} 
[2026-08-02 22:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137002752001,"66":27321,"150":206,"83":43264,"24":33,"16":367462549848850432,"44":-3078139945542807552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-08-02 22:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137002752001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:56:28] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-02 22:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367462549848850432,"km_value":367462549848850.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:56:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3078139945542807552,"description":"Unknown IO ID 44"} 
[2026-08-02 22:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137002752001,"power":27321,"unknown_150":206,"unknown_83":43264,"ignition":33,"odometer":null,"unknown_44":-3078139945542807552}} 
[2026-08-02 22:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":147074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:56:28] local.INFO: GPS data processed {"connection_id":147074,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:56:28] local.INFO: Acknowledgment sent {"connection_id":147074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:56:59] local.INFO: TCP Data received {"connection_id":147074,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc380fbb0012cd54b800738b970000c00af30..."} 
[2026-08-02 22:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc380fbb0012cd54b800738b970000c00af30..."} 
[2026-08-02 22:56:59] local.INFO: Processing buffer {"connection_id":147074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc380fbb0012cd54b800738b970000c00af30..."} 
[2026-08-02 22:56:59] local.INFO: Packet analysis {"connection_id":147074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc380"} 
[2026-08-02 22:56:59] local.INFO: Extracted packet for processing {"connection_id":147074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc380"} 
[2026-08-02 22:56:59] local.INFO: GPS Element Parsed {"raw_longitude":752176000,"raw_latitude":121158000,"longitude_deg":75.2176,"latitude_deg":12.1158,"altitude":12,"angle":175,"satellites":48,"speed":32,"hex_longitude":"2cd54b80","hex_latitude":"0738b970","is_valid_coordinates":true} 
[2026-08-02 22:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137005312001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367462983640547328,"note":"Value kept but may cause issues"} 
[2026-08-02 22:56:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077365889358864384,"note":"Value kept but may cause issues"} 
[2026-08-02 22:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785691438000,"timestamp_ms":1785691438000,"timestamp_seconds":1785691438,"priority":1,"record_length":96,"hex_timestamp":"0000019fc380fbb0"} 
[2026-08-02 22:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 22:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137005312001,"66":27321,"150":206,"83":43264,"24":32,"16":367462983640547328,"44":-3077365889358864384},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-08-02 22:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137005312001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:56:59] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-02 22:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367462983640547328,"km_value":367462983640547.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:56:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077365889358864384,"description":"Unknown IO ID 44"} 
[2026-08-02 22:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137005312001,"power":27321,"unknown_150":206,"unknown_83":43264,"ignition":32,"odometer":null,"unknown_44":-3077365889358864384}} 
[2026-08-02 22:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":147074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:56:59] local.INFO: GPS data processed {"connection_id":147074,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:56:59] local.INFO: Acknowledgment sent {"connection_id":147074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:57:23] local.INFO: TCP Data received {"connection_id":149416,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:57:23] local.INFO: Processing buffer {"connection_id":149416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:57:23] local.INFO: IMEI packet received {"connection_id":149416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":149416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:57:27] local.INFO: TCP Data received {"connection_id":149416,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:57:27] local.INFO: Processing buffer {"connection_id":149416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:57:27] local.INFO: IMEI packet received {"connection_id":149416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":149416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:57:28] local.INFO: TCP Data received {"connection_id":149416,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3833600012cd60940073785280008008830..."} 
[2026-08-02 22:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3833600012cd60940073785280008008830..."} 
[2026-08-02 22:57:28] local.INFO: Processing buffer {"connection_id":149416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3833600012cd60940073785280008008830..."} 
[2026-08-02 22:57:28] local.INFO: Packet analysis {"connection_id":149416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc383"} 
[2026-08-02 22:57:28] local.INFO: Extracted packet for processing {"connection_id":149416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc383"} 
[2026-08-02 22:57:28] local.INFO: GPS Element Parsed {"raw_longitude":752224576,"raw_latitude":121079080,"longitude_deg":75.2224576,"latitude_deg":12.107908,"altitude":8,"angle":136,"satellites":48,"speed":33,"hex_longitude":"2cd60940","hex_latitude":"07378528","is_valid_coordinates":true} 
[2026-08-02 22:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137041408001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367467570665619456,"note":"Value kept but may cause issues"} 
[2026-08-02 22:57:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3031344730687442944,"note":"Value kept but may cause issues"} 
[2026-08-02 22:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785691584000,"timestamp_ms":1785691584000,"timestamp_seconds":1785691584,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3833600"} 
[2026-08-02 22:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 22:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":149416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":149416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":149416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137041408001,"66":27397,"170":206,"83":43264,"24":33,"16":367467570665619456,"44":-3031344730687442944},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-02 22:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137041408001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:57:28] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-02 22:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367467570665619456,"km_value":367467570665619.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:57:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3031344730687442944,"description":"Unknown IO ID 44"} 
[2026-08-02 22:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137041408001,"power":27397,"unknown_170":206,"unknown_83":43264,"ignition":33,"odometer":null,"unknown_44":-3031344730687442944}} 
[2026-08-02 22:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":149416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:57:28] local.INFO: GPS data processed {"connection_id":149416,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:57:28] local.INFO: Acknowledgment sent {"connection_id":149416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:58:01] local.INFO: TCP Data received {"connection_id":149416,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38368c8012cd6218007376a800007008d33..."} 
[2026-08-02 22:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38368c8012cd6218007376a800007008d33..."} 
[2026-08-02 22:58:01] local.INFO: Processing buffer {"connection_id":149416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38368c8012cd6218007376a800007008d33..."} 
[2026-08-02 22:58:01] local.INFO: Packet analysis {"connection_id":149416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc383"} 
[2026-08-02 22:58:01] local.INFO: Extracted packet for processing {"connection_id":149416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc383"} 
[2026-08-02 22:58:01] local.INFO: GPS Element Parsed {"raw_longitude":752230784,"raw_latitude":121072256,"longitude_deg":75.2230784,"latitude_deg":12.1072256,"altitude":7,"angle":141,"satellites":51,"speed":20,"hex_longitude":"2cd62180","hex_latitude":"07376a80","is_valid_coordinates":true} 
[2026-08-02 22:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137045504001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367468013047250944,"note":"Value kept but may cause issues"} 
[2026-08-02 22:58:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3023815275062155264,"note":"Value kept but may cause issues"} 
[2026-08-02 22:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785691597000,"timestamp_ms":1785691597000,"timestamp_seconds":1785691597,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38368c8"} 
[2026-08-02 22:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 22:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":149416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":149416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":149416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137045504001,"66":27376,"170":206,"83":43264,"24":20,"16":367468013047250944,"44":-3023815275062155264},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-02 22:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137045504001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:58:01] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-02 22:58:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367468013047250944,"km_value":367468013047250.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:58:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3023815275062155264,"description":"Unknown IO ID 44"} 
[2026-08-02 22:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137045504001,"power":27376,"unknown_170":206,"unknown_83":43264,"ignition":20,"odometer":null,"unknown_44":-3023815275062155264}} 
[2026-08-02 22:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":149416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:58:01] local.INFO: GPS data processed {"connection_id":149416,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:58:01] local.INFO: Acknowledgment sent {"connection_id":149416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:58:32] local.INFO: TCP Data received {"connection_id":149417,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:58:32] local.INFO: Processing buffer {"connection_id":149417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:58:32] local.INFO: IMEI packet received {"connection_id":149417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":149417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:58:32] local.INFO: TCP Data received {"connection_id":149417,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 22:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149417,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 22:58:32] local.INFO: Processing buffer {"connection_id":149417,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 22:58:32] local.INFO: IMEI packet received {"connection_id":149417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":149417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:58:33] local.INFO: TCP Data received {"connection_id":149417,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3843bb8012cd64ec007373260000500942e..."} 
[2026-08-02 22:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3843bb8012cd64ec007373260000500942e..."} 
[2026-08-02 22:58:33] local.INFO: Processing buffer {"connection_id":149417,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fc3..."} 
[2026-08-02 22:58:33] local.INFO: IMEI packet received {"connection_id":149417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":149417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:58:34] local.INFO: TCP Data received {"connection_id":149417,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3845710012cd65c0007372190000500872b..."} 
[2026-08-02 22:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3845710012cd65c0007372190000500872b..."} 
[2026-08-02 22:58:34] local.INFO: Processing buffer {"connection_id":149417,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc3843bb8012cd64ec007373260000500942e..."} 
[2026-08-02 22:58:34] local.INFO: Packet analysis {"connection_id":149417,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc384"} 
[2026-08-02 22:58:34] local.INFO: Extracted packet for processing {"connection_id":149417,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc384"} 
[2026-08-02 22:58:34] local.INFO: GPS Element Parsed {"raw_longitude":752242368,"raw_latitude":121057888,"longitude_deg":75.2242368,"latitude_deg":12.1057888,"altitude":5,"angle":148,"satellites":46,"speed":27,"hex_longitude":"2cd64ec0","hex_latitude":"07373260","is_valid_coordinates":true} 
[2026-08-02 22:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137060352001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367468970824957952,"note":"Value kept but may cause issues"} 
[2026-08-02 22:58:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3007348988928589824,"note":"Value kept but may cause issues"} 
[2026-08-02 22:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785691651000,"timestamp_ms":1785691651000,"timestamp_seconds":1785691651,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3843bb8"} 
[2026-08-02 22:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-02 22:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137060352001,"66":27376,"170":206,"83":43264,"24":27,"16":367468970824957952,"44":-3007348988928589824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-02 22:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137060352001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:58:34] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-02 22:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367468970824957952,"km_value":367468970824957.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:58:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3007348988928589824,"description":"Unknown IO ID 44"} 
[2026-08-02 22:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137060352001,"power":27376,"unknown_170":206,"unknown_83":43264,"ignition":27,"odometer":null,"unknown_44":-3007348988928589824}} 
[2026-08-02 22:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":149417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:58:34] local.INFO: GPS data processed {"connection_id":149417,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:58:34] local.INFO: Acknowledgment sent {"connection_id":149417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:58:34] local.INFO: Packet analysis {"connection_id":149417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc384"} 
[2026-08-02 22:58:34] local.INFO: Extracted packet for processing {"connection_id":149417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc384"} 
[2026-08-02 22:58:34] local.INFO: GPS Element Parsed {"raw_longitude":752245760,"raw_latitude":121053584,"longitude_deg":75.224576,"latitude_deg":12.1053584,"altitude":5,"angle":135,"satellites":43,"speed":33,"hex_longitude":"2cd65c00","hex_latitude":"07372190","is_valid_coordinates":true} 
[2026-08-02 22:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137062656001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367469237112930304,"note":"Value kept but may cause issues"} 
[2026-08-02 22:58:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3004252764186189824,"note":"Value kept but may cause issues"} 
[2026-08-02 22:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785691658000,"timestamp_ms":1785691658000,"timestamp_seconds":1785691658,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3845710"} 
[2026-08-02 22:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137062656001,"66":27376,"170":206,"83":43264,"24":33,"16":367469237112930304,"44":-3004252764186189824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-02 22:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137062656001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:58:34] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-02 22:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367469237112930304,"km_value":367469237112930.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:58:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3004252764186189824,"description":"Unknown IO ID 44"} 
[2026-08-02 22:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137062656001,"power":27376,"unknown_170":206,"unknown_83":43264,"ignition":33,"odometer":null,"unknown_44":-3004252764186189824}} 
[2026-08-02 22:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":149417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:58:34] local.INFO: GPS data processed {"connection_id":149417,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:58:34] local.INFO: Acknowledgment sent {"connection_id":149417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:58:35] local.INFO: TCP Data received {"connection_id":149417,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3847268012cd66e80073712600007007c2f..."} 
[2026-08-02 22:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3847268012cd66e80073712600007007c2f..."} 
[2026-08-02 22:58:35] local.INFO: Processing buffer {"connection_id":149417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3847268012cd66e80073712600007007c2f..."} 
[2026-08-02 22:58:35] local.INFO: Packet analysis {"connection_id":149417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc384"} 
[2026-08-02 22:58:35] local.INFO: Extracted packet for processing {"connection_id":149417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc384"} 
[2026-08-02 22:58:35] local.INFO: GPS Element Parsed {"raw_longitude":752250496,"raw_latitude":121049696,"longitude_deg":75.2250496,"latitude_deg":12.1049696,"altitude":7,"angle":124,"satellites":47,"speed":33,"hex_longitude":"2cd66e80","hex_latitude":"07371260","is_valid_coordinates":true} 
[2026-08-02 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137064448001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367469529170706432,"note":"Value kept but may cause issues"} 
[2026-08-02 22:58:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3000523220745875456,"note":"Value kept but may cause issues"} 
[2026-08-02 22:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785691665000,"timestamp_ms":1785691665000,"timestamp_seconds":1785691665,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3847268"} 
[2026-08-02 22:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 22:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137064448001,"66":27343,"170":206,"83":43264,"24":33,"16":367469529170706432,"44":-3000523220745875456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-02 22:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137064448001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:58:35] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-02 22:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367469529170706432,"km_value":367469529170706.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:58:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3000523220745875456,"description":"Unknown IO ID 44"} 
[2026-08-02 22:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137064448001,"power":27343,"unknown_170":206,"unknown_83":43264,"ignition":33,"odometer":null,"unknown_44":-3000523220745875456}} 
[2026-08-02 22:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":149417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:58:35] local.INFO: GPS data processed {"connection_id":149417,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:58:35] local.INFO: Acknowledgment sent {"connection_id":149417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:59:07] local.INFO: TCP Data received {"connection_id":149417,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3849d60012cd68fc00736ffd80007007431..."} 
[2026-08-02 22:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3849d60012cd68fc00736ffd80007007431..."} 
[2026-08-02 22:59:07] local.INFO: Processing buffer {"connection_id":149417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3849d60012cd68fc00736ffd80007007431..."} 
[2026-08-02 22:59:07] local.INFO: Packet analysis {"connection_id":149417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc384"} 
[2026-08-02 22:59:07] local.INFO: Extracted packet for processing {"connection_id":149417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc384"} 
[2026-08-02 22:59:07] local.INFO: GPS Element Parsed {"raw_longitude":752259008,"raw_latitude":121044952,"longitude_deg":75.2259008,"latitude_deg":12.1044952,"altitude":7,"angle":116,"satellites":49,"speed":35,"hex_longitude":"2cd68fc0","hex_latitude":"0736ffd8","is_valid_coordinates":true} 
[2026-08-02 22:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137066240001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367469993027174400,"note":"Value kept but may cause issues"} 
[2026-08-02 22:59:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2995315933677723648,"note":"Value kept but may cause issues"} 
[2026-08-02 22:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785691676000,"timestamp_ms":1785691676000,"timestamp_seconds":1785691676,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3849d60"} 
[2026-08-02 22:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 22:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137066240001,"66":27267,"170":206,"83":43264,"24":35,"16":367469993027174400,"44":-2995315933677723648},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-02 22:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137066240001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:59:07] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-02 22:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367469993027174400,"km_value":367469993027174.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:59:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2995315933677723648,"description":"Unknown IO ID 44"} 
[2026-08-02 22:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137066240001,"power":27267,"unknown_170":206,"unknown_83":43264,"ignition":35,"odometer":null,"unknown_44":-2995315933677723648}} 
[2026-08-02 22:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":149417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:59:07] local.INFO: GPS data processed {"connection_id":149417,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:59:07] local.INFO: Acknowledgment sent {"connection_id":149417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 22:59:23] local.INFO: TCP Data received {"connection_id":146852,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:59:23] local.INFO: Processing buffer {"connection_id":146852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:59:23] local.INFO: IMEI packet received {"connection_id":146852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 22:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":146852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 22:59:28] local.INFO: TCP Data received {"connection_id":146852,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:59:28] local.INFO: Processing buffer {"connection_id":146852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 22:59:28] local.INFO: IMEI packet received {"connection_id":146852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 22:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":146852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 22:59:29] local.INFO: TCP Data received {"connection_id":146852,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc384c470012cd6af800736ed300007007e32..."} 
[2026-08-02 22:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc384c470012cd6af800736ed300007007e32..."} 
[2026-08-02 22:59:29] local.INFO: Processing buffer {"connection_id":146852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc384c470012cd6af800736ed300007007e32..."} 
[2026-08-02 22:59:29] local.INFO: Packet analysis {"connection_id":146852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc384"} 
[2026-08-02 22:59:29] local.INFO: Extracted packet for processing {"connection_id":146852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc384"} 
[2026-08-02 22:59:29] local.INFO: GPS Element Parsed {"raw_longitude":752267136,"raw_latitude":121040176,"longitude_deg":75.2267136,"latitude_deg":12.1040176,"altitude":7,"angle":126,"satellites":50,"speed":35,"hex_longitude":"2cd6af80","hex_latitude":"0736ed30","is_valid_coordinates":true} 
[2026-08-02 22:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 22:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137069056001,"note":"Value kept but may cause issues"} 
[2026-08-02 22:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367470443998740480,"note":"Value kept but may cause issues"} 
[2026-08-02 22:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2985956890703308800,"note":"Value kept but may cause issues"} 
[2026-08-02 22:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 22:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785691686000,"timestamp_ms":1785691686000,"timestamp_seconds":1785691686,"priority":1,"record_length":96,"hex_timestamp":"0000019fc384c470"} 
[2026-08-02 22:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 22:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 22:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 22:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 22:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 22:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 22:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 22:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 22:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 22:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 22:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 22:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137069056001,"66":27332,"170":206,"83":43264,"24":35,"16":367470443998740480,"44":-2985956890703308800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-02 22:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 22:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 22:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137069056001,"description":"Unknown IO ID 0"} 
[2026-08-02 22:59:29] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-02 22:59:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 22:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367470443998740480,"km_value":367470443998740.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 22:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2985956890703308800,"description":"Unknown IO ID 44"} 
[2026-08-02 22:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137069056001,"power":27332,"unknown_170":206,"unknown_83":43264,"ignition":35,"odometer":null,"unknown_44":-2985956890703308800}} 
[2026-08-02 22:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":146852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 22:59:29] local.INFO: GPS data processed {"connection_id":146852,"processed":1,"errors":0,"total":1} 
[2026-08-02 22:59:29] local.INFO: Acknowledgment sent {"connection_id":146852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:00:00] local.INFO: TCP Data received {"connection_id":146852,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc384f738012cd6cb800736d4080007008834..."} 
[2026-08-02 23:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc384f738012cd6cb800736d4080007008834..."} 
[2026-08-02 23:00:00] local.INFO: Processing buffer {"connection_id":146852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc384f738012cd6cb800736d4080007008834..."} 
[2026-08-02 23:00:00] local.INFO: Packet analysis {"connection_id":146852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc384"} 
[2026-08-02 23:00:00] local.INFO: Extracted packet for processing {"connection_id":146852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc384"} 
[2026-08-02 23:00:00] local.INFO: GPS Element Parsed {"raw_longitude":752274304,"raw_latitude":121033736,"longitude_deg":75.2274304,"latitude_deg":12.1033736,"altitude":7,"angle":136,"satellites":52,"speed":29,"hex_longitude":"2cd6cb80","hex_latitude":"0736d408","is_valid_coordinates":true} 
[2026-08-02 23: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-08-02 23:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137071616001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367470907855208448,"note":"Value kept but may cause issues"} 
[2026-08-02 23:00:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2977020060193968128,"note":"Value kept but may cause issues"} 
[2026-08-02 23:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785691699000,"timestamp_ms":1785691699000,"timestamp_seconds":1785691699,"priority":1,"record_length":96,"hex_timestamp":"0000019fc384f738"} 
[2026-08-02 23:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 23:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23: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-08-02 23:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137071616001,"66":27376,"170":206,"83":43264,"24":29,"16":367470907855208448,"44":-2977020060193968128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-02 23:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137071616001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:00:00] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-02 23:00:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-02 23:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367470907855208448,"km_value":367470907855208.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:00:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2977020060193968128,"description":"Unknown IO ID 44"} 
[2026-08-02 23:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137071616001,"power":27376,"unknown_170":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-2977020060193968128}} 
[2026-08-02 23:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":146852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:00:00] local.INFO: GPS data processed {"connection_id":146852,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:00:00] local.INFO: Acknowledgment sent {"connection_id":146852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:00:24] local.INFO: TCP Data received {"connection_id":146853,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:00:24] local.INFO: Processing buffer {"connection_id":146853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:00:24] local.INFO: IMEI packet received {"connection_id":146853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":146853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:00:28] local.INFO: TCP Data received {"connection_id":146853,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:00:28] local.INFO: Processing buffer {"connection_id":146853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:00:28] local.INFO: IMEI packet received {"connection_id":146853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":146853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:00:33] local.INFO: TCP Data received {"connection_id":146853,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:00:33] local.INFO: Processing buffer {"connection_id":146853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:00:33] local.INFO: IMEI packet received {"connection_id":146853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":146853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:00:35] local.INFO: TCP Data received {"connection_id":146853,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:00:35] local.INFO: Processing buffer {"connection_id":146853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:00:35] local.INFO: IMEI packet received {"connection_id":146853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":146853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:00:36] local.INFO: TCP Data received {"connection_id":146853,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3852a00012cd6e3c00736b9e80007008733..."} 
[2026-08-02 23:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3852a00012cd6e3c00736b9e80007008733..."} 
[2026-08-02 23:00:36] local.INFO: Processing buffer {"connection_id":146853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3852a00012cd6e3c00736b9e80007008733..."} 
[2026-08-02 23:00:36] local.INFO: Packet analysis {"connection_id":146853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc385"} 
[2026-08-02 23:00:36] local.INFO: Extracted packet for processing {"connection_id":146853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc385"} 
[2026-08-02 23:00:36] local.INFO: GPS Element Parsed {"raw_longitude":752280512,"raw_latitude":121027048,"longitude_deg":75.2280512,"latitude_deg":12.1027048,"altitude":7,"angle":135,"satellites":51,"speed":25,"hex_longitude":"2cd6e3c0","hex_latitude":"0736b9e8","is_valid_coordinates":true} 
[2026-08-02 23:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137074944001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367471341646905344,"note":"Value kept but may cause issues"} 
[2026-08-02 23:00:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2969138760847718400,"note":"Value kept but may cause issues"} 
[2026-08-02 23:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785691712000,"timestamp_ms":1785691712000,"timestamp_seconds":1785691712,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3852a00"} 
[2026-08-02 23:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 23:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137074944001,"66":27234,"165":206,"83":40960,"24":25,"16":367471341646905344,"44":-2969138760847718400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-08-02 23:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137074944001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:00:36] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-02 23:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367471341646905344,"km_value":367471341646905.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:00:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2969138760847718400,"description":"Unknown IO ID 44"} 
[2026-08-02 23:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137074944001,"power":27234,"unknown_165":206,"unknown_83":40960,"ignition":25,"odometer":null,"unknown_44":-2969138760847718400}} 
[2026-08-02 23:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":146853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:00:36] local.INFO: GPS data processed {"connection_id":146853,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:00:36] local.INFO: Acknowledgment sent {"connection_id":146853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:00:39] local.INFO: TCP Data received {"connection_id":146853,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38539a0012cd6e9c00736b3180007009734..."} 
[2026-08-02 23:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38539a0012cd6e9c00736b3180007009734..."} 
[2026-08-02 23:00:39] local.INFO: Processing buffer {"connection_id":146853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38539a0012cd6e9c00736b3180007009734..."} 
[2026-08-02 23:00:39] local.INFO: Packet analysis {"connection_id":146853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc385"} 
[2026-08-02 23:00:39] local.INFO: Extracted packet for processing {"connection_id":146853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc385"} 
[2026-08-02 23:00:39] local.INFO: GPS Element Parsed {"raw_longitude":752282048,"raw_latitude":121025304,"longitude_deg":75.2282048,"latitude_deg":12.1025304,"altitude":7,"angle":151,"satellites":52,"speed":19,"hex_longitude":"2cd6e9c0","hex_latitude":"0736b318","is_valid_coordinates":true} 
[2026-08-02 23: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-08-02 23:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137078272001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367471457611022336,"note":"Value kept but may cause issues"} 
[2026-08-02 23:00:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2962312992664197120,"note":"Value kept but may cause issues"} 
[2026-08-02 23:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785691716000,"timestamp_ms":1785691716000,"timestamp_seconds":1785691716,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38539a0"} 
[2026-08-02 23:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-02 23:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23: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-08-02 23:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137078272001,"66":27397,"165":206,"83":40960,"24":19,"16":367471457611022336,"44":-2962312992664197120},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-08-02 23:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137078272001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:00:39] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-02 23:00:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367471457611022336,"km_value":367471457611022.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:00:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2962312992664197120,"description":"Unknown IO ID 44"} 
[2026-08-02 23:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137078272001,"power":27397,"unknown_165":206,"unknown_83":40960,"ignition":19,"odometer":null,"unknown_44":-2962312992664197120}} 
[2026-08-02 23:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":146853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:00:39] local.INFO: GPS data processed {"connection_id":146853,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:00:39] local.INFO: Acknowledgment sent {"connection_id":146853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:01:23] local.INFO: TCP Data received {"connection_id":147075,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:01:23] local.INFO: Processing buffer {"connection_id":147075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:01:23] local.INFO: IMEI packet received {"connection_id":147075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":147075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:01:24] local.INFO: TCP Data received {"connection_id":147075,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:01:24] local.INFO: Processing buffer {"connection_id":147075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:01:24] local.INFO: IMEI packet received {"connection_id":147075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":147075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:01:24] local.INFO: TCP Data received {"connection_id":147075,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3854940012cd6ed000736ac480008008a34..."} 
[2026-08-02 23:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3854940012cd6ed000736ac480008008a34..."} 
[2026-08-02 23:01:24] local.INFO: Processing buffer {"connection_id":147075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3854940012cd6ed000736ac480008008a34..."} 
[2026-08-02 23:01:24] local.INFO: Packet analysis {"connection_id":147075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc385"} 
[2026-08-02 23:01:24] local.INFO: Extracted packet for processing {"connection_id":147075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc385"} 
[2026-08-02 23:01:24] local.INFO: GPS Element Parsed {"raw_longitude":752282880,"raw_latitude":121023560,"longitude_deg":75.228288,"latitude_deg":12.102356,"altitude":8,"angle":138,"satellites":52,"speed":21,"hex_longitude":"2cd6ed00","hex_latitude":"0736ac48","is_valid_coordinates":true} 
[2026-08-02 23:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137079296001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367471547805335552,"note":"Value kept but may cause issues"} 
[2026-08-02 23:01:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2960624142804379648,"note":"Value kept but may cause issues"} 
[2026-08-02 23:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785691720000,"timestamp_ms":1785691720000,"timestamp_seconds":1785691720,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3854940"} 
[2026-08-02 23:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 23:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137079296001,"66":27343,"165":206,"83":40960,"24":21,"16":367471547805335552,"44":-2960624142804379648},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-08-02 23:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137079296001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:01:24] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-02 23:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367471547805335552,"km_value":367471547805335.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:01:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2960624142804379648,"description":"Unknown IO ID 44"} 
[2026-08-02 23:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137079296001,"power":27343,"unknown_165":206,"unknown_83":40960,"ignition":21,"odometer":null,"unknown_44":-2960624142804379648}} 
[2026-08-02 23:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":147075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:01:24] local.INFO: GPS data processed {"connection_id":147075,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:01:24] local.INFO: Acknowledgment sent {"connection_id":147075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:01:28] local.INFO: TCP Data received {"connection_id":147075,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3857ff0012cd7084007369358000a008130..."} 
[2026-08-02 23:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3857ff0012cd7084007369358000a008130..."} 
[2026-08-02 23:01:28] local.INFO: Processing buffer {"connection_id":147075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3857ff0012cd7084007369358000a008130..."} 
[2026-08-02 23:01:28] local.INFO: Packet analysis {"connection_id":147075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc385"} 
[2026-08-02 23:01:28] local.INFO: Extracted packet for processing {"connection_id":147075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc385"} 
[2026-08-02 23:01:28] local.INFO: GPS Element Parsed {"raw_longitude":752289856,"raw_latitude":121017176,"longitude_deg":75.2289856,"latitude_deg":12.1017176,"altitude":10,"angle":129,"satellites":48,"speed":27,"hex_longitude":"2cd70840","hex_latitude":"07369358","is_valid_coordinates":true} 
[2026-08-02 23:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137080320001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367472003071868928,"note":"Value kept but may cause issues"} 
[2026-08-02 23:01:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2959709349130516480,"note":"Value kept but may cause issues"} 
[2026-08-02 23:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785691734000,"timestamp_ms":1785691734000,"timestamp_seconds":1785691734,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3857ff0"} 
[2026-08-02 23:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137080320001,"66":27397,"165":206,"83":40960,"24":27,"16":367472003071868928,"44":-2959709349130516480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-08-02 23:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137080320001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:01:28] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-02 23:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367472003071868928,"km_value":367472003071868.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:01:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2959709349130516480,"description":"Unknown IO ID 44"} 
[2026-08-02 23:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137080320001,"power":27397,"unknown_165":206,"unknown_83":40960,"ignition":27,"odometer":null,"unknown_44":-2959709349130516480}} 
[2026-08-02 23:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":147075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:01:28] local.INFO: GPS data processed {"connection_id":147075,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:01:28] local.INFO: Acknowledgment sent {"connection_id":147075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:01:59] local.INFO: TCP Data received {"connection_id":147075,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3876c20012cd899000735cce8000b007b32..."} 
[2026-08-02 23:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3876c20012cd899000735cce8000b007b32..."} 
[2026-08-02 23:01:59] local.INFO: Processing buffer {"connection_id":147075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3876c20012cd899000735cce8000b007b32..."} 
[2026-08-02 23:01:59] local.INFO: Packet analysis {"connection_id":147075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc387"} 
[2026-08-02 23:01:59] local.INFO: Extracted packet for processing {"connection_id":147075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc387"} 
[2026-08-02 23:01:59] local.INFO: GPS Element Parsed {"raw_longitude":752392448,"raw_latitude":120966376,"longitude_deg":75.2392448,"latitude_deg":12.0966376,"altitude":11,"angle":123,"satellites":50,"speed":55,"hex_longitude":"2cd89900","hex_latitude":"0735cce8","is_valid_coordinates":true} 
[2026-08-02 23:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137114368001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367477474860204032,"note":"Value kept but may cause issues"} 
[2026-08-02 23:01:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2848174889622183936,"note":"Value kept but may cause issues"} 
[2026-08-02 23:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785691860000,"timestamp_ms":1785691860000,"timestamp_seconds":1785691860,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3876c20"} 
[2026-08-02 23:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137114368001,"66":27376,"175":206,"83":40960,"24":55,"16":367477474860204032,"44":-2848174889622183936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-08-02 23:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137114368001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:01:59] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 23:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367477474860204032,"km_value":367477474860204.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:01:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2848174889622183936,"description":"Unknown IO ID 44"} 
[2026-08-02 23:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137114368001,"power":27376,"unknown_175":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2848174889622183936}} 
[2026-08-02 23:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":147075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:01:59] local.INFO: GPS data processed {"connection_id":147075,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:01:59] local.INFO: Acknowledgment sent {"connection_id":147075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:02:28] local.INFO: TCP Data received {"connection_id":148113,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:02:28] local.INFO: Processing buffer {"connection_id":148113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:02:28] local.INFO: IMEI packet received {"connection_id":148113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":148113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:02:29] local.INFO: TCP Data received {"connection_id":148113,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:02:29] local.INFO: Processing buffer {"connection_id":148113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:02:29] local.INFO: IMEI packet received {"connection_id":148113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":148113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:02:29] local.INFO: TCP Data received {"connection_id":148113,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3878778012cd8b8c00735b888000b007832..."} 
[2026-08-02 23:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3878778012cd8b8c00735b888000b007832..."} 
[2026-08-02 23:02:29] local.INFO: Processing buffer {"connection_id":148113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3878778012cd8b8c00735b888000b007832..."} 
[2026-08-02 23:02:29] local.INFO: Packet analysis {"connection_id":148113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc387"} 
[2026-08-02 23:02:29] local.INFO: Extracted packet for processing {"connection_id":148113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc387"} 
[2026-08-02 23:02:29] local.INFO: GPS Element Parsed {"raw_longitude":752400576,"raw_latitude":120961160,"longitude_deg":75.2400576,"latitude_deg":12.096116,"altitude":11,"angle":120,"satellites":50,"speed":54,"hex_longitude":"2cd8b8c0","hex_latitude":"0735b888","is_valid_coordinates":true} 
[2026-08-02 23:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137116160001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367477938716672000,"note":"Value kept but may cause issues"} 
[2026-08-02 23:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2839238059112994816,"note":"Value kept but may cause issues"} 
[2026-08-02 23:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785691867000,"timestamp_ms":1785691867000,"timestamp_seconds":1785691867,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3878778"} 
[2026-08-02 23:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 23:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137116160001,"66":27365,"175":206,"83":40960,"24":54,"16":367477938716672000,"44":-2839238059112994816},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-08-02 23:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137116160001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:02:29] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 23:02:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367477938716672000,"km_value":367477938716672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2839238059112994816,"description":"Unknown IO ID 44"} 
[2026-08-02 23:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137116160001,"power":27365,"unknown_175":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2839238059112994816}} 
[2026-08-02 23:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":148113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:02:29] local.INFO: GPS data processed {"connection_id":148113,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:02:29] local.INFO: Acknowledgment sent {"connection_id":148113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:02:33] local.INFO: TCP Data received {"connection_id":148113,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc387a2d0012cd8d9800735a5f0000b007532..."} 
[2026-08-02 23:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc387a2d0012cd8d9800735a5f0000b007532..."} 
[2026-08-02 23:02:33] local.INFO: Processing buffer {"connection_id":148113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc387a2d0012cd8d9800735a5f0000b007532..."} 
[2026-08-02 23:02:33] local.INFO: Packet analysis {"connection_id":148113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc387"} 
[2026-08-02 23:02:33] local.INFO: Extracted packet for processing {"connection_id":148113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc387"} 
[2026-08-02 23:02:33] local.INFO: GPS Element Parsed {"raw_longitude":752408960,"raw_latitude":120956400,"longitude_deg":75.240896,"latitude_deg":12.09564,"altitude":11,"angle":117,"satellites":50,"speed":54,"hex_longitude":"2cd8d980","hex_latitude":"0735a5f0","is_valid_coordinates":true} 
[2026-08-02 23:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137117952001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367478398278172672,"note":"Value kept but may cause issues"} 
[2026-08-02 23:02:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2830301228603766784,"note":"Value kept but may cause issues"} 
[2026-08-02 23:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785691874000,"timestamp_ms":1785691874000,"timestamp_seconds":1785691874,"priority":1,"record_length":96,"hex_timestamp":"0000019fc387a2d0"} 
[2026-08-02 23:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 23:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137117952001,"66":27376,"175":206,"83":40960,"24":54,"16":367478398278172672,"44":-2830301228603766784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-08-02 23:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137117952001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:02:33] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 23:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367478398278172672,"km_value":367478398278172.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:02:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2830301228603766784,"description":"Unknown IO ID 44"} 
[2026-08-02 23:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137117952001,"power":27376,"unknown_175":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2830301228603766784}} 
[2026-08-02 23:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":148113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:02:33] local.INFO: GPS data processed {"connection_id":148113,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:02:33] local.INFO: Acknowledgment sent {"connection_id":148113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:03:05] local.INFO: TCP Data received {"connection_id":148113,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc387be28012cd8fbc0073594e8000c007333..."} 
[2026-08-02 23:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc387be28012cd8fbc0073594e8000c007333..."} 
[2026-08-02 23:03:05] local.INFO: Processing buffer {"connection_id":148113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc387be28012cd8fbc0073594e8000c007333..."} 
[2026-08-02 23:03:05] local.INFO: Packet analysis {"connection_id":148113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc387"} 
[2026-08-02 23:03:05] local.INFO: Extracted packet for processing {"connection_id":148113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc387"} 
[2026-08-02 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":752417728,"raw_latitude":120952040,"longitude_deg":75.2417728,"latitude_deg":12.095204,"altitude":12,"angle":115,"satellites":51,"speed":54,"hex_longitude":"2cd8fbc0","hex_latitude":"073594e8","is_valid_coordinates":true} 
[2026-08-02 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137119744001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367478866429607936,"note":"Value kept but may cause issues"} 
[2026-08-02 23:03:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2821082923117711360,"note":"Value kept but may cause issues"} 
[2026-08-02 23:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785691881000,"timestamp_ms":1785691881000,"timestamp_seconds":1785691881,"priority":1,"record_length":96,"hex_timestamp":"0000019fc387be28"} 
[2026-08-02 23:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 23:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137119744001,"66":27343,"175":206,"83":40960,"24":54,"16":367478866429607936,"44":-2821082923117711360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-08-02 23:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137119744001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:03:05] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 23:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367478866429607936,"km_value":367478866429607.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:03:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2821082923117711360,"description":"Unknown IO ID 44"} 
[2026-08-02 23:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137119744001,"power":27343,"unknown_175":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2821082923117711360}} 
[2026-08-02 23:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":148113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:03:05] local.INFO: GPS data processed {"connection_id":148113,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:03:05] local.INFO: Acknowledgment sent {"connection_id":148113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:03:22] local.INFO: TCP Data received {"connection_id":147076,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:03:22] local.INFO: Processing buffer {"connection_id":147076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:03:22] local.INFO: IMEI packet received {"connection_id":147076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":147076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:03:23] local.INFO: TCP Data received {"connection_id":147076,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:03:23] local.INFO: Processing buffer {"connection_id":147076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:03:23] local.INFO: IMEI packet received {"connection_id":147076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":147076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:03:28] local.INFO: TCP Data received {"connection_id":147076,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:03:28] local.INFO: Processing buffer {"connection_id":147076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:03:28] local.INFO: IMEI packet received {"connection_id":147076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":147076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:03:29] local.INFO: TCP Data received {"connection_id":147076,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc387d980012cd91e40073585c8000d007033..."} 
[2026-08-02 23:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc387d980012cd91e40073585c8000d007033..."} 
[2026-08-02 23:03:29] local.INFO: Processing buffer {"connection_id":147076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc387d980012cd91e40073585c8000d007033..."} 
[2026-08-02 23:03:29] local.INFO: Packet analysis {"connection_id":147076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc387"} 
[2026-08-02 23:03:29] local.INFO: Extracted packet for processing {"connection_id":147076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc387"} 
[2026-08-02 23:03:29] local.INFO: GPS Element Parsed {"raw_longitude":752426560,"raw_latitude":120948168,"longitude_deg":75.242656,"latitude_deg":12.0948168,"altitude":13,"angle":112,"satellites":51,"speed":52,"hex_longitude":"2cd91e40","hex_latitude":"073585c8","is_valid_coordinates":true} 
[2026-08-02 23:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137121536001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367479321696141312,"note":"Value kept but may cause issues"} 
[2026-08-02 23:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2811442405166487552,"note":"Value kept but may cause issues"} 
[2026-08-02 23:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785691888000,"timestamp_ms":1785691888000,"timestamp_seconds":1785691888,"priority":1,"record_length":96,"hex_timestamp":"0000019fc387d980"} 
[2026-08-02 23:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137121536001,"66":27397,"175":206,"83":40960,"24":52,"16":367479321696141312,"44":-2811442405166487552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-08-02 23:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137121536001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:03:29] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-02 23:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367479321696141312,"km_value":367479321696141.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2811442405166487552,"description":"Unknown IO ID 44"} 
[2026-08-02 23:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137121536001,"power":27397,"unknown_175":206,"unknown_83":40960,"ignition":52,"odometer":null,"unknown_44":-2811442405166487552}} 
[2026-08-02 23:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":147076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:03:29] local.INFO: GPS data processed {"connection_id":147076,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:03:29] local.INFO: Acknowledgment sent {"connection_id":147076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:04:00] local.INFO: TCP Data received {"connection_id":147076,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3895850012cdabb8007348b380015008631..."} 
[2026-08-02 23:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3895850012cdabb8007348b380015008631..."} 
[2026-08-02 23:04:00] local.INFO: Processing buffer {"connection_id":147076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3895850012cdabb8007348b380015008631..."} 
[2026-08-02 23:04:00] local.INFO: Packet analysis {"connection_id":147076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc389"} 
[2026-08-02 23:04:00] local.INFO: Extracted packet for processing {"connection_id":147076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc389"} 
[2026-08-02 23:04:00] local.INFO: GPS Element Parsed {"raw_longitude":752532352,"raw_latitude":120884024,"longitude_deg":75.2532352,"latitude_deg":12.0884024,"altitude":21,"angle":134,"satellites":49,"speed":55,"hex_longitude":"2cdabb80","hex_latitude":"07348b38","is_valid_coordinates":true} 
[2026-08-02 23:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137146624001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367485283110748160,"note":"Value kept but may cause issues"} 
[2026-08-02 23:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2693363652452218880,"note":"Value kept but may cause issues"} 
[2026-08-02 23:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785691986000,"timestamp_ms":1785691986000,"timestamp_seconds":1785691986,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3895850"} 
[2026-08-02 23:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 23:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137146624001,"66":27104,"225":206,"83":40960,"24":55,"16":367485283110748160,"44":-2693363652452218880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-08-02 23:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137146624001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:04:00] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-02 23:04:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367485283110748160,"km_value":367485283110748.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2693363652452218880,"description":"Unknown IO ID 44"} 
[2026-08-02 23:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137146624001,"power":27104,"unknown_225":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2693363652452218880}} 
[2026-08-02 23:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":147076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:04:00] local.INFO: GPS data processed {"connection_id":147076,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:04:00] local.INFO: Acknowledgment sent {"connection_id":147076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:04:23] local.INFO: TCP Data received {"connection_id":147077,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:04:23] local.INFO: Processing buffer {"connection_id":147077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:04:23] local.INFO: IMEI packet received {"connection_id":147077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":147077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:04:28] local.INFO: TCP Data received {"connection_id":147077,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:04:28] local.INFO: Processing buffer {"connection_id":147077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:04:28] local.INFO: IMEI packet received {"connection_id":147077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":147077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:04:29] local.INFO: TCP Data received {"connection_id":147077,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38973a8012cdad5c007346d500014008f33..."} 
[2026-08-02 23:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38973a8012cdad5c007346d500014008f33..."} 
[2026-08-02 23:04:29] local.INFO: Processing buffer {"connection_id":147077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38973a8012cdad5c007346d500014008f33..."} 
[2026-08-02 23:04:29] local.INFO: Packet analysis {"connection_id":147077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc389"} 
[2026-08-02 23:04:29] local.INFO: Extracted packet for processing {"connection_id":147077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc389"} 
[2026-08-02 23:04:29] local.INFO: GPS Element Parsed {"raw_longitude":752539072,"raw_latitude":120876368,"longitude_deg":75.2539072,"latitude_deg":12.0876368,"altitude":20,"angle":143,"satellites":51,"speed":59,"hex_longitude":"2cdad5c0","hex_latitude":"07346d50","is_valid_coordinates":true} 
[2026-08-02 23:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137148416001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367485772737019904,"note":"Value kept but may cause issues"} 
[2026-08-02 23:04:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2685411984361703424,"note":"Value kept but may cause issues"} 
[2026-08-02 23:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785691993000,"timestamp_ms":1785691993000,"timestamp_seconds":1785691993,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38973a8"} 
[2026-08-02 23:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-02 23:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137148416001,"66":27300,"145":206,"83":40960,"24":59,"16":367485772737019904,"44":-2685411984361703424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-08-02 23:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137148416001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:04:29] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-02 23:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367485772737019904,"km_value":367485772737019.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:04:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2685411984361703424,"description":"Unknown IO ID 44"} 
[2026-08-02 23:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137148416001,"power":27300,"unknown_145":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2685411984361703424}} 
[2026-08-02 23:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":147077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:04:29] local.INFO: GPS data processed {"connection_id":147077,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:04:29] local.INFO: Acknowledgment sent {"connection_id":147077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:05:00] local.INFO: TCP Data received {"connection_id":147077,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3898b18012cdaeb40073450b80015009033..."} 
[2026-08-02 23:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3898b18012cdaeb40073450b80015009033..."} 
[2026-08-02 23:05:00] local.INFO: Processing buffer {"connection_id":147077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3898b18012cdaeb40073450b80015009033..."} 
[2026-08-02 23:05:00] local.INFO: Packet analysis {"connection_id":147077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc389"} 
[2026-08-02 23:05:00] local.INFO: Extracted packet for processing {"connection_id":147077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc389"} 
[2026-08-02 23:05:00] local.INFO: GPS Element Parsed {"raw_longitude":752544576,"raw_latitude":120869048,"longitude_deg":75.2544576,"latitude_deg":12.0869048,"altitude":21,"angle":144,"satellites":51,"speed":58,"hex_longitude":"2cdaeb40","hex_latitude":"073450b8","is_valid_coordinates":true} 
[2026-08-02 23:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137150208001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367486215118651392,"note":"Value kept but may cause issues"} 
[2026-08-02 23:05:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2678023266225008640,"note":"Value kept but may cause issues"} 
[2026-08-02 23:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785691999000,"timestamp_ms":1785691999000,"timestamp_seconds":1785691999,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3898b18"} 
[2026-08-02 23:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 23:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137150208001,"66":27397,"145":206,"83":40960,"24":58,"16":367486215118651392,"44":-2678023266225008640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-08-02 23:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137150208001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:05:00] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-02 23:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367486215118651392,"km_value":367486215118651.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:05:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2678023266225008640,"description":"Unknown IO ID 44"} 
[2026-08-02 23:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137150208001,"power":27397,"unknown_145":206,"unknown_83":40960,"ignition":58,"odometer":null,"unknown_44":-2678023266225008640}} 
[2026-08-02 23:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":147077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:05:00] local.INFO: GPS data processed {"connection_id":147077,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:05:00] local.INFO: Acknowledgment sent {"connection_id":147077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:05:23] local.INFO: TCP Data received {"connection_id":148114,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:05:23] local.INFO: Processing buffer {"connection_id":148114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:05:23] local.INFO: IMEI packet received {"connection_id":148114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":148114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:05:28] local.INFO: TCP Data received {"connection_id":148114,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:05:28] local.INFO: Processing buffer {"connection_id":148114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:05:28] local.INFO: IMEI packet received {"connection_id":148114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":148114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:05:29] local.INFO: TCP Data received {"connection_id":148114,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc389a670012cdb0000073433e00015008d34..."} 
[2026-08-02 23:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc389a670012cdb0000073433e00015008d34..."} 
[2026-08-02 23:05:29] local.INFO: Processing buffer {"connection_id":148114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc389a670012cdb0000073433e00015008d34..."} 
[2026-08-02 23:05:29] local.INFO: Packet analysis {"connection_id":148114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc389"} 
[2026-08-02 23:05:29] local.INFO: Extracted packet for processing {"connection_id":148114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc389"} 
[2026-08-02 23:05:29] local.INFO: GPS Element Parsed {"raw_longitude":752549888,"raw_latitude":120861664,"longitude_deg":75.2549888,"latitude_deg":12.0861664,"altitude":21,"angle":141,"satellites":52,"speed":44,"hex_longitude":"2cdb0000","hex_latitude":"073433e0","is_valid_coordinates":true} 
[2026-08-02 23:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137151744001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367486653205315584,"note":"Value kept but may cause issues"} 
[2026-08-02 23:05:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2671971554227603456,"note":"Value kept but may cause issues"} 
[2026-08-02 23:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785692006000,"timestamp_ms":1785692006000,"timestamp_seconds":1785692006,"priority":1,"record_length":96,"hex_timestamp":"0000019fc389a670"} 
[2026-08-02 23:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 23:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137151744001,"66":27180,"145":206,"83":40960,"24":44,"16":367486653205315584,"44":-2671971554227603456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-08-02 23:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137151744001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:05:29] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-02 23:05:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367486653205315584,"km_value":367486653205315.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:05:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2671971554227603456,"description":"Unknown IO ID 44"} 
[2026-08-02 23:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137151744001,"power":27180,"unknown_145":206,"unknown_83":40960,"ignition":44,"odometer":null,"unknown_44":-2671971554227603456}} 
[2026-08-02 23:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":148114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:05:29] local.INFO: GPS data processed {"connection_id":148114,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:05:29] local.INFO: Acknowledgment sent {"connection_id":148114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:06:00] local.INFO: TCP Data received {"connection_id":148114,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38b3cb0012cdb6840073386a0001300b02d..."} 
[2026-08-02 23:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38b3cb0012cdb6840073386a0001300b02d..."} 
[2026-08-02 23:06:00] local.INFO: Processing buffer {"connection_id":148114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38b3cb0012cdb6840073386a0001300b02d..."} 
[2026-08-02 23:06:00] local.INFO: Packet analysis {"connection_id":148114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc38b"} 
[2026-08-02 23:06:00] local.INFO: Extracted packet for processing {"connection_id":148114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc38b"} 
[2026-08-02 23:06:00] local.INFO: GPS Element Parsed {"raw_longitude":752576576,"raw_latitude":120817312,"longitude_deg":75.2576576,"latitude_deg":12.0817312,"altitude":19,"angle":176,"satellites":45,"speed":21,"hex_longitude":"2cdb6840","hex_latitude":"073386a0","is_valid_coordinates":true} 
[2026-08-02 23: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-08-02 23:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137179392001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367489243070595072,"note":"Value kept but may cause issues"} 
[2026-08-02 23:06:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636646444663287808,"note":"Value kept but may cause issues"} 
[2026-08-02 23:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785692110000,"timestamp_ms":1785692110000,"timestamp_seconds":1785692110,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38b3cb0"} 
[2026-08-02 23:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 23:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23: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-08-02 23:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137179392001,"66":27332,"146":206,"83":40960,"24":21,"16":367489243070595072,"44":-2636646444663287808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-08-02 23:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137179392001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:06:00] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-02 23:06:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367489243070595072,"km_value":367489243070595.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:06:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636646444663287808,"description":"Unknown IO ID 44"} 
[2026-08-02 23:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137179392001,"power":27332,"unknown_146":206,"unknown_83":40960,"ignition":21,"odometer":null,"unknown_44":-2636646444663287808}} 
[2026-08-02 23:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":148114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:06:00] local.INFO: GPS data processed {"connection_id":148114,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:06:00] local.INFO: Acknowledgment sent {"connection_id":148114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:06:23] local.INFO: TCP Data received {"connection_id":147078,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:06:23] local.INFO: Processing buffer {"connection_id":147078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:06:23] local.INFO: IMEI packet received {"connection_id":147078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":147078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:06:28] local.INFO: TCP Data received {"connection_id":147078,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:06:28] local.INFO: Processing buffer {"connection_id":147078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:06:28] local.INFO: IMEI packet received {"connection_id":147078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":147078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:06:29] local.INFO: TCP Data received {"connection_id":147078,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38b5038012cdb6a8007337a28001400a32e..."} 
[2026-08-02 23:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38b5038012cdb6a8007337a28001400a32e..."} 
[2026-08-02 23:06:29] local.INFO: Processing buffer {"connection_id":147078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38b5038012cdb6a8007337a28001400a32e..."} 
[2026-08-02 23:06:29] local.INFO: Packet analysis {"connection_id":147078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc38b"} 
[2026-08-02 23:06:29] local.INFO: Extracted packet for processing {"connection_id":147078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc38b"} 
[2026-08-02 23:06:29] local.INFO: GPS Element Parsed {"raw_longitude":752577152,"raw_latitude":120814120,"longitude_deg":75.2577152,"latitude_deg":12.081412,"altitude":20,"angle":163,"satellites":46,"speed":27,"hex_longitude":"2cdb6a80","hex_latitude":"07337a28","is_valid_coordinates":true} 
[2026-08-02 23:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137180160001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367489401984385024,"note":"Value kept but may cause issues"} 
[2026-08-02 23:06:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636787182152015872,"note":"Value kept but may cause issues"} 
[2026-08-02 23:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785692115000,"timestamp_ms":1785692115000,"timestamp_seconds":1785692115,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38b5038"} 
[2026-08-02 23:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 23:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137180160001,"66":27332,"146":206,"83":40960,"24":27,"16":367489401984385024,"44":-2636787182152015872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-08-02 23:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137180160001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:06:29] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-02 23:06:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367489401984385024,"km_value":367489401984385.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636787182152015872,"description":"Unknown IO ID 44"} 
[2026-08-02 23:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137180160001,"power":27332,"unknown_146":206,"unknown_83":40960,"ignition":27,"odometer":null,"unknown_44":-2636787182152015872}} 
[2026-08-02 23:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":147078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:06:29] local.INFO: GPS data processed {"connection_id":147078,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:06:29] local.INFO: Acknowledgment sent {"connection_id":147078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:07:00] local.INFO: TCP Data received {"connection_id":147078,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38b6b90012cdb7140073369100014009830..."} 
[2026-08-02 23:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38b6b90012cdb7140073369100014009830..."} 
[2026-08-02 23:07:00] local.INFO: Processing buffer {"connection_id":147078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38b6b90012cdb7140073369100014009830..."} 
[2026-08-02 23:07:00] local.INFO: Packet analysis {"connection_id":147078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc38b"} 
[2026-08-02 23:07:00] local.INFO: Extracted packet for processing {"connection_id":147078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc38b"} 
[2026-08-02 23:07:00] local.INFO: GPS Element Parsed {"raw_longitude":752578880,"raw_latitude":120809744,"longitude_deg":75.257888,"latitude_deg":12.0809744,"altitude":20,"angle":152,"satellites":48,"speed":27,"hex_longitude":"2cdb7140","hex_latitude":"07336910","is_valid_coordinates":true} 
[2026-08-02 23:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137181440001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367489629617651712,"note":"Value kept but may cause issues"} 
[2026-08-02 23:07:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636153863455234048,"note":"Value kept but may cause issues"} 
[2026-08-02 23:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785692122000,"timestamp_ms":1785692122000,"timestamp_seconds":1785692122,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38b6b90"} 
[2026-08-02 23:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 23:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137181440001,"66":27343,"146":206,"83":40960,"24":27,"16":367489629617651712,"44":-2636153863455234048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-08-02 23:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137181440001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:07:00] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-02 23:07:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367489629617651712,"km_value":367489629617651.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:07:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636153863455234048,"description":"Unknown IO ID 44"} 
[2026-08-02 23:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137181440001,"power":27343,"unknown_146":206,"unknown_83":40960,"ignition":27,"odometer":null,"unknown_44":-2636153863455234048}} 
[2026-08-02 23:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":147078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:07:00] local.INFO: GPS data processed {"connection_id":147078,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:07:00] local.INFO: Acknowledgment sent {"connection_id":147078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:07:22] local.INFO: TCP Data received {"connection_id":146854,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:07:22] local.INFO: Processing buffer {"connection_id":146854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:07:22] local.INFO: IMEI packet received {"connection_id":146854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":146854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:07:27] local.INFO: TCP Data received {"connection_id":146854,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:07:27] local.INFO: Processing buffer {"connection_id":146854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:07:27] local.INFO: IMEI packet received {"connection_id":146854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":146854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:07:28] local.INFO: TCP Data received {"connection_id":146854,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:07:28] local.INFO: Processing buffer {"connection_id":146854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:07:28] local.INFO: IMEI packet received {"connection_id":146854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":146854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:07:28] local.INFO: TCP Data received {"connection_id":146854,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38bbd98012cdb820007334a100016009532..."} 
[2026-08-02 23:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38bbd98012cdb820007334a100016009532..."} 
[2026-08-02 23:07:28] local.INFO: Processing buffer {"connection_id":146854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38bbd98012cdb820007334a100016009532..."} 
[2026-08-02 23:07:28] local.INFO: Packet analysis {"connection_id":146854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc38b"} 
[2026-08-02 23:07:28] local.INFO: Extracted packet for processing {"connection_id":146854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc38b"} 
[2026-08-02 23:07:28] local.INFO: GPS Element Parsed {"raw_longitude":752583168,"raw_latitude":120801808,"longitude_deg":75.2583168,"latitude_deg":12.0801808,"altitude":22,"angle":149,"satellites":50,"speed":16,"hex_longitude":"2cdb8200","hex_latitude":"07334a10","is_valid_coordinates":true} 
[2026-08-02 23:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137183232001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367490063409348608,"note":"Value kept but may cause issues"} 
[2026-08-02 23:07:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2634253907363557376,"note":"Value kept but may cause issues"} 
[2026-08-02 23:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785692143000,"timestamp_ms":1785692143000,"timestamp_seconds":1785692143,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38bbd98"} 
[2026-08-02 23:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":146854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":146854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":146854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137183232001,"66":27289,"145":206,"83":40960,"24":16,"16":367490063409348608,"44":-2634253907363557376},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-08-02 23:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137183232001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:07:28] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-02 23:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367490063409348608,"km_value":367490063409348.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:07:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2634253907363557376,"description":"Unknown IO ID 44"} 
[2026-08-02 23:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137183232001,"power":27289,"unknown_145":206,"unknown_83":40960,"ignition":16,"odometer":null,"unknown_44":-2634253907363557376}} 
[2026-08-02 23:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":146854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:07:28] local.INFO: GPS data processed {"connection_id":146854,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:07:28] local.INFO: Acknowledgment sent {"connection_id":146854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:07:33] local.INFO: TCP Data received {"connection_id":146854,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38bbd98012cdb820007334a100016009532..."} 
[2026-08-02 23:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38bbd98012cdb820007334a100016009532..."} 
[2026-08-02 23:07:33] local.INFO: Processing buffer {"connection_id":146854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38bbd98012cdb820007334a100016009532..."} 
[2026-08-02 23:07:33] local.INFO: Packet analysis {"connection_id":146854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc38b"} 
[2026-08-02 23:07:33] local.INFO: Extracted packet for processing {"connection_id":146854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc38b"} 
[2026-08-02 23:07:33] local.INFO: GPS Element Parsed {"raw_longitude":752583168,"raw_latitude":120801808,"longitude_deg":75.2583168,"latitude_deg":12.0801808,"altitude":22,"angle":149,"satellites":50,"speed":16,"hex_longitude":"2cdb8200","hex_latitude":"07334a10","is_valid_coordinates":true} 
[2026-08-02 23:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137188608001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367490063409348608,"note":"Value kept but may cause issues"} 
[2026-08-02 23:07:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629539201505685504,"note":"Value kept but may cause issues"} 
[2026-08-02 23:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785692143000,"timestamp_ms":1785692143000,"timestamp_seconds":1785692143,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38bbd98"} 
[2026-08-02 23:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-02 23:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137188608001,"66":27289,"145":206,"83":40960,"24":16,"16":367490063409348608,"44":-2629539201505685504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-08-02 23:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137188608001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:07:33] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-02 23:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367490063409348608,"km_value":367490063409348.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:07:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629539201505685504,"description":"Unknown IO ID 44"} 
[2026-08-02 23:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137188608001,"power":27289,"unknown_145":206,"unknown_83":40960,"ignition":16,"odometer":null,"unknown_44":-2629539201505685504}} 
[2026-08-02 23:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":146854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:07:33] local.INFO: GPS data processed {"connection_id":146854,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:07:33] local.INFO: Acknowledgment sent {"connection_id":146854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:08:04] local.INFO: TCP Data received {"connection_id":146854,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38d1d28012cdbad800731e500001a00bb32..."} 
[2026-08-02 23:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38d1d28012cdbad800731e500001a00bb32..."} 
[2026-08-02 23:08:04] local.INFO: Processing buffer {"connection_id":146854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38d1d28012cdbad800731e500001a00bb32..."} 
[2026-08-02 23:08:04] local.INFO: Packet analysis {"connection_id":146854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc38d"} 
[2026-08-02 23:08:04] local.INFO: Extracted packet for processing {"connection_id":146854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc38d"} 
[2026-08-02 23:08:04] local.INFO: GPS Element Parsed {"raw_longitude":752594304,"raw_latitude":120710400,"longitude_deg":75.2594304,"latitude_deg":12.07104,"altitude":26,"angle":187,"satellites":50,"speed":49,"hex_longitude":"2cdbad80","hex_latitude":"0731e500","is_valid_coordinates":true} 
[2026-08-02 23:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137209600001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367494590304878592,"note":"Value kept but may cause issues"} 
[2026-08-02 23:08:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2616732090086340608,"note":"Value kept but may cause issues"} 
[2026-08-02 23:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785692233000,"timestamp_ms":1785692233000,"timestamp_seconds":1785692233,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38d1d28"} 
[2026-08-02 23:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 23:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137209600001,"66":27365,"144":206,"83":40960,"24":49,"16":367494590304878592,"44":-2616732090086340608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-08-02 23:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137209600001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:08:04] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-02 23:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367494590304878592,"km_value":367494590304878.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:08:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2616732090086340608,"description":"Unknown IO ID 44"} 
[2026-08-02 23:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137209600001,"power":27365,"unknown_144":206,"unknown_83":40960,"ignition":49,"odometer":null,"unknown_44":-2616732090086340608}} 
[2026-08-02 23:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":146854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:08:04] local.INFO: GPS data processed {"connection_id":146854,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:08:04] local.INFO: Acknowledgment sent {"connection_id":146854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:08:29] local.INFO: TCP Data received {"connection_id":148115,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:08:29] local.INFO: Processing buffer {"connection_id":148115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:08:29] local.INFO: IMEI packet received {"connection_id":148115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":148115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:08:31] local.INFO: TCP Data received {"connection_id":148115,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:08:31] local.INFO: Processing buffer {"connection_id":148115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:08:31] local.INFO: IMEI packet received {"connection_id":148115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":148115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:08:32] local.INFO: TCP Data received {"connection_id":148115,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38d3880012cdba7400731c0c0001900bd32..."} 
[2026-08-02 23:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38d3880012cdba7400731c0c0001900bd32..."} 
[2026-08-02 23:08:32] local.INFO: Processing buffer {"connection_id":148115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38d3880012cdba7400731c0c0001900bd32..."} 
[2026-08-02 23:08:32] local.INFO: Packet analysis {"connection_id":148115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc38d"} 
[2026-08-02 23:08:32] local.INFO: Extracted packet for processing {"connection_id":148115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc38d"} 
[2026-08-02 23:08:32] local.INFO: GPS Element Parsed {"raw_longitude":752592704,"raw_latitude":120701120,"longitude_deg":75.2592704,"latitude_deg":12.070112,"altitude":25,"angle":189,"satellites":50,"speed":55,"hex_longitude":"2cdba740","hex_latitude":"0731c0c0","is_valid_coordinates":true} 
[2026-08-02 23:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137211648001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367495045571411968,"note":"Value kept but may cause issues"} 
[2026-08-02 23:08:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2617295040042172416,"note":"Value kept but may cause issues"} 
[2026-08-02 23:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785692240000,"timestamp_ms":1785692240000,"timestamp_seconds":1785692240,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38d3880"} 
[2026-08-02 23:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 23:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137211648001,"66":27397,"144":206,"83":40960,"24":55,"16":367495045571411968,"44":-2617295040042172416},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-08-02 23:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137211648001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:08:32] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-02 23:08:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367495045571411968,"km_value":367495045571411.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:08:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2617295040042172416,"description":"Unknown IO ID 44"} 
[2026-08-02 23:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137211648001,"power":27397,"unknown_144":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2617295040042172416}} 
[2026-08-02 23:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":148115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:08:32] local.INFO: GPS data processed {"connection_id":148115,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:08:32] local.INFO: Acknowledgment sent {"connection_id":148115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:08:36] local.INFO: TCP Data received {"connection_id":148115,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38d4ff0012cdba54007319f78001900b132..."} 
[2026-08-02 23:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38d4ff0012cdba54007319f78001900b132..."} 
[2026-08-02 23:08:36] local.INFO: Processing buffer {"connection_id":148115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38d4ff0012cdba54007319f78001900b132..."} 
[2026-08-02 23:08:36] local.INFO: Packet analysis {"connection_id":148115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc38d"} 
[2026-08-02 23:08:36] local.INFO: Extracted packet for processing {"connection_id":148115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc38d"} 
[2026-08-02 23:08:36] local.INFO: GPS Element Parsed {"raw_longitude":752592192,"raw_latitude":120692600,"longitude_deg":75.2592192,"latitude_deg":12.06926,"altitude":25,"angle":177,"satellites":50,"speed":57,"hex_longitude":"2cdba540","hex_latitude":"07319f78","is_valid_coordinates":true} 
[2026-08-02 23:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137213440001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367495462183239680,"note":"Value kept but may cause issues"} 
[2026-08-02 23:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2619054258648989696,"note":"Value kept but may cause issues"} 
[2026-08-02 23:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785692246000,"timestamp_ms":1785692246000,"timestamp_seconds":1785692246,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38d4ff0"} 
[2026-08-02 23:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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-08-02 23: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-08-02 23:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137213440001,"66":27376,"146":206,"83":40960,"24":57,"16":367495462183239680,"44":-2619054258648989696},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-08-02 23:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137213440001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:08:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-02 23:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367495462183239680,"km_value":367495462183239.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:08:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2619054258648989696,"description":"Unknown IO ID 44"} 
[2026-08-02 23:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137213440001,"power":27376,"unknown_146":206,"unknown_83":40960,"ignition":57,"odometer":null,"unknown_44":-2619054258648989696}} 
[2026-08-02 23:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":148115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:08:36] local.INFO: GPS data processed {"connection_id":148115,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:08:36] local.INFO: Acknowledgment sent {"connection_id":148115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:09:23] local.INFO: TCP Data received {"connection_id":147079,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:09:23] local.INFO: Processing buffer {"connection_id":147079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:09:23] local.INFO: IMEI packet received {"connection_id":147079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":147079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:09:24] local.INFO: TCP Data received {"connection_id":147079,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:09:24] local.INFO: Processing buffer {"connection_id":147079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:09:24] local.INFO: IMEI packet received {"connection_id":147079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":147079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:09:25] local.INFO: TCP Data received {"connection_id":147079,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38d6760012cdbaa8007317f20001b00a432..."} 
[2026-08-02 23:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38d6760012cdbaa8007317f20001b00a432..."} 
[2026-08-02 23:09:25] local.INFO: Processing buffer {"connection_id":147079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38d6760012cdbaa8007317f20001b00a432..."} 
[2026-08-02 23:09:25] local.INFO: Packet analysis {"connection_id":147079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc38d"} 
[2026-08-02 23:09:25] local.INFO: Extracted packet for processing {"connection_id":147079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc38d"} 
[2026-08-02 23:09:25] local.INFO: GPS Element Parsed {"raw_longitude":752593536,"raw_latitude":120684320,"longitude_deg":75.2593536,"latitude_deg":12.068432,"altitude":27,"angle":164,"satellites":50,"speed":54,"hex_longitude":"2cdbaa80","hex_latitude":"07317f20","is_valid_coordinates":true} 
[2026-08-02 23:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137214976001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367495865910165504,"note":"Value kept but may cause issues"} 
[2026-08-02 23:09:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2619617208604592128,"note":"Value kept but may cause issues"} 
[2026-08-02 23:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785692252000,"timestamp_ms":1785692252000,"timestamp_seconds":1785692252,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38d6760"} 
[2026-08-02 23:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 23:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137214976001,"66":27343,"146":206,"83":40960,"24":54,"16":367495865910165504,"44":-2619617208604592128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-08-02 23:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137214976001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:09:25] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-02 23:09:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367495865910165504,"km_value":367495865910165.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:09:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2619617208604592128,"description":"Unknown IO ID 44"} 
[2026-08-02 23:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137214976001,"power":27343,"unknown_146":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2619617208604592128}} 
[2026-08-02 23:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":147079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:09:25] local.INFO: GPS data processed {"connection_id":147079,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:09:25] local.INFO: Acknowledgment sent {"connection_id":147079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:09:28] local.INFO: TCP Data received {"connection_id":147079,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38d7ed0012cdbb6c0073161900018009732..."} 
[2026-08-02 23:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38d7ed0012cdbb6c0073161900018009732..."} 
[2026-08-02 23:09:28] local.INFO: Processing buffer {"connection_id":147079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38d7ed0012cdbb6c0073161900018009732..."} 
[2026-08-02 23:09:28] local.INFO: Packet analysis {"connection_id":147079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc38d"} 
[2026-08-02 23:09:28] local.INFO: Extracted packet for processing {"connection_id":147079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc38d"} 
[2026-08-02 23:09:28] local.INFO: GPS Element Parsed {"raw_longitude":752596672,"raw_latitude":120676752,"longitude_deg":75.2596672,"latitude_deg":12.0676752,"altitude":24,"angle":151,"satellites":50,"speed":54,"hex_longitude":"2cdbb6c0","hex_latitude":"07316190","is_valid_coordinates":true} 
[2026-08-02 23:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137216512001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367496265342124032,"note":"Value kept but may cause issues"} 
[2026-08-02 23:09:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2618139464978980864,"note":"Value kept but may cause issues"} 
[2026-08-02 23:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785692258000,"timestamp_ms":1785692258000,"timestamp_seconds":1785692258,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38d7ed0"} 
[2026-08-02 23:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137216512001,"66":27397,"146":206,"83":40960,"24":54,"16":367496265342124032,"44":-2618139464978980864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-08-02 23:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137216512001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:09:28] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-02 23:09:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367496265342124032,"km_value":367496265342124.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:09:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2618139464978980864,"description":"Unknown IO ID 44"} 
[2026-08-02 23:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137216512001,"power":27397,"unknown_146":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2618139464978980864}} 
[2026-08-02 23:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":147079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:09:28] local.INFO: GPS data processed {"connection_id":147079,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:09:28] local.INFO: Acknowledgment sent {"connection_id":147079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:09:59] local.INFO: TCP Data received {"connection_id":147079,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38ec6f0012cdc4480072feca00007009331..."} 
[2026-08-02 23:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38ec6f0012cdc4480072feca00007009331..."} 
[2026-08-02 23:09:59] local.INFO: Processing buffer {"connection_id":147079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38ec6f0012cdc4480072feca00007009331..."} 
[2026-08-02 23:09:59] local.INFO: Packet analysis {"connection_id":147079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc38e"} 
[2026-08-02 23:09:59] local.INFO: Extracted packet for processing {"connection_id":147079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc38e"} 
[2026-08-02 23:09:59] local.INFO: GPS Element Parsed {"raw_longitude":752632960,"raw_latitude":120581280,"longitude_deg":75.263296,"latitude_deg":12.058128,"altitude":7,"angle":147,"satellites":49,"speed":42,"hex_longitude":"2cdc4480","hex_latitude":"072feca0","is_valid_coordinates":true} 
[2026-08-02 23:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137237504001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367501320518631424,"note":"Value kept but may cause issues"} 
[2026-08-02 23:09:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2580210711891658752,"note":"Value kept but may cause issues"} 
[2026-08-02 23:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785692342000,"timestamp_ms":1785692342000,"timestamp_seconds":1785692342,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38ec6f0"} 
[2026-08-02 23:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 23:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137237504001,"66":27365,"95":206,"83":40960,"24":42,"16":367501320518631424,"44":-2580210711891658752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-08-02 23:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137237504001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:09:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 23:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367501320518631424,"km_value":367501320518631.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:09:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2580210711891658752,"description":"Unknown IO ID 44"} 
[2026-08-02 23:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137237504001,"power":27365,"unknown_95":206,"unknown_83":40960,"ignition":42,"odometer":null,"unknown_44":-2580210711891658752}} 
[2026-08-02 23:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":147079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:09:59] local.INFO: GPS data processed {"connection_id":147079,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:09:59] local.INFO: Acknowledgment sent {"connection_id":147079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:10:23] local.INFO: TCP Data received {"connection_id":149418,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:10:23] local.INFO: Processing buffer {"connection_id":149418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:10:23] local.INFO: IMEI packet received {"connection_id":149418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":149418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:10:26] local.INFO: TCP Data received {"connection_id":149418,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:10:26] local.INFO: Processing buffer {"connection_id":149418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:10:26] local.INFO: IMEI packet received {"connection_id":149418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":149418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:10:27] local.INFO: TCP Data received {"connection_id":149418,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38eea18012cdc5940072fcce00007009232..."} 
[2026-08-02 23:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38eea18012cdc5940072fcce00007009232..."} 
[2026-08-02 23:10:27] local.INFO: Processing buffer {"connection_id":149418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38eea18012cdc5940072fcce00007009232..."} 
[2026-08-02 23:10:27] local.INFO: Packet analysis {"connection_id":149418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc38e"} 
[2026-08-02 23:10:27] local.INFO: Extracted packet for processing {"connection_id":149418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc38e"} 
[2026-08-02 23:10:27] local.INFO: GPS Element Parsed {"raw_longitude":752638272,"raw_latitude":120573152,"longitude_deg":75.2638272,"latitude_deg":12.0573152,"altitude":7,"angle":146,"satellites":50,"speed":43,"hex_longitude":"2cdc5940","hex_latitude":"072fcce0","is_valid_coordinates":true} 
[2026-08-02 23:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137239552001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367501788670066688,"note":"Value kept but may cause issues"} 
[2026-08-02 23:10:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2574792318591918080,"note":"Value kept but may cause issues"} 
[2026-08-02 23:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785692351000,"timestamp_ms":1785692351000,"timestamp_seconds":1785692351,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38eea18"} 
[2026-08-02 23:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 23:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137239552001,"66":27365,"95":206,"83":40960,"24":43,"16":367501788670066688,"44":-2574792318591918080},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-08-02 23:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137239552001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:10:27] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 23:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367501788670066688,"km_value":367501788670066.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:10:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2574792318591918080,"description":"Unknown IO ID 44"} 
[2026-08-02 23:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137239552001,"power":27365,"unknown_95":206,"unknown_83":40960,"ignition":43,"odometer":null,"unknown_44":-2574792318591918080}} 
[2026-08-02 23:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":149418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:10:27] local.INFO: GPS data processed {"connection_id":149418,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:10:27] local.INFO: Acknowledgment sent {"connection_id":149418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:10:58] local.INFO: TCP Data received {"connection_id":149418,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38f0570012cdc6c40072fb3e00006008730..."} 
[2026-08-02 23:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38f0570012cdc6c40072fb3e00006008730..."} 
[2026-08-02 23:10:58] local.INFO: Processing buffer {"connection_id":149418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38f0570012cdc6c40072fb3e00006008730..."} 
[2026-08-02 23:10:58] local.INFO: Packet analysis {"connection_id":149418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc38f"} 
[2026-08-02 23:10:58] local.INFO: Extracted packet for processing {"connection_id":149418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc38f"} 
[2026-08-02 23:10:58] local.INFO: GPS Element Parsed {"raw_longitude":752643136,"raw_latitude":120566752,"longitude_deg":75.2643136,"latitude_deg":12.0566752,"altitude":6,"angle":135,"satellites":48,"speed":48,"hex_longitude":"2cdc6c40","hex_latitude":"072fb3e0","is_valid_coordinates":true} 
[2026-08-02 23:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137241856001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367502175217123328,"note":"Value kept but may cause issues"} 
[2026-08-02 23:10:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2568951712827252736,"note":"Value kept but may cause issues"} 
[2026-08-02 23:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785692358000,"timestamp_ms":1785692358000,"timestamp_seconds":1785692358,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38f0570"} 
[2026-08-02 23:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 23:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137241856001,"66":27397,"95":206,"83":40960,"24":48,"16":367502175217123328,"44":-2568951712827252736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-08-02 23:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137241856001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:10:58] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 23:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367502175217123328,"km_value":367502175217123.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:10:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2568951712827252736,"description":"Unknown IO ID 44"} 
[2026-08-02 23:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137241856001,"power":27397,"unknown_95":206,"unknown_83":40960,"ignition":48,"odometer":null,"unknown_44":-2568951712827252736}} 
[2026-08-02 23:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":149418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:10:58] local.INFO: GPS data processed {"connection_id":149418,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:10:58] local.INFO: Acknowledgment sent {"connection_id":149418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:11:23] local.INFO: TCP Data received {"connection_id":147080,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:11:23] local.INFO: Processing buffer {"connection_id":147080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:11:23] local.INFO: IMEI packet received {"connection_id":147080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":147080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:11:26] local.INFO: TCP Data received {"connection_id":147080,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:11:26] local.INFO: Processing buffer {"connection_id":147080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:11:26] local.INFO: IMEI packet received {"connection_id":147080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":147080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:11:26] local.INFO: TCP Data received {"connection_id":147080,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc38f24b0012cdc8900072f99080006008432..."} 
[2026-08-02 23:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc38f24b0012cdc8900072f99080006008432..."} 
[2026-08-02 23:11:26] local.INFO: Processing buffer {"connection_id":147080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc38f24b0012cdc8900072f99080006008432..."} 
[2026-08-02 23:11:26] local.INFO: Packet analysis {"connection_id":147080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc38f"} 
[2026-08-02 23:11:26] local.INFO: Extracted packet for processing {"connection_id":147080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc38f"} 
[2026-08-02 23:11:26] local.INFO: GPS Element Parsed {"raw_longitude":752650496,"raw_latitude":120559880,"longitude_deg":75.2650496,"latitude_deg":12.055988,"altitude":6,"angle":132,"satellites":50,"speed":51,"hex_longitude":"2cdc8900","hex_latitude":"072f9908","is_valid_coordinates":true} 
[2026-08-02 23:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137243648001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367502660548427776,"note":"Value kept but may cause issues"} 
[2026-08-02 23:11:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2563603688271388672,"note":"Value kept but may cause issues"} 
[2026-08-02 23:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785692366000,"timestamp_ms":1785692366000,"timestamp_seconds":1785692366,"priority":1,"record_length":96,"hex_timestamp":"0000019fc38f24b0"} 
[2026-08-02 23:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 23:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137243648001,"66":27332,"95":206,"83":40960,"24":51,"16":367502660548427776,"44":-2563603688271388672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-08-02 23:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137243648001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:11:26] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-02 23:11:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367502660548427776,"km_value":367502660548427.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:11:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2563603688271388672,"description":"Unknown IO ID 44"} 
[2026-08-02 23:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137243648001,"power":27332,"unknown_95":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2563603688271388672}} 
[2026-08-02 23:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":147080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:11:26] local.INFO: GPS data processed {"connection_id":147080,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:11:26] local.INFO: Acknowledgment sent {"connection_id":147080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:12:00] local.INFO: TCP Data received {"connection_id":147080,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3908c10012cdcba80072e8d88001b00cf32..."} 
[2026-08-02 23:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3908c10012cdcba80072e8d88001b00cf32..."} 
[2026-08-02 23:12:00] local.INFO: Processing buffer {"connection_id":147080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3908c10012cdcba80072e8d88001b00cf32..."} 
[2026-08-02 23:12:00] local.INFO: Packet analysis {"connection_id":147080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc390"} 
[2026-08-02 23:12:00] local.INFO: Extracted packet for processing {"connection_id":147080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc390"} 
[2026-08-02 23:12:00] local.INFO: GPS Element Parsed {"raw_longitude":752663168,"raw_latitude":120491400,"longitude_deg":75.2663168,"latitude_deg":12.04914,"altitude":27,"angle":207,"satellites":50,"speed":38,"hex_longitude":"2cdcba80","hex_latitude":"072e8d88","is_valid_coordinates":true} 
[2026-08-02 23:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137266688001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367506341335400448,"note":"Value kept but may cause issues"} 
[2026-08-02 23:12:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2537004302989445120,"note":"Value kept but may cause issues"} 
[2026-08-02 23:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785692458000,"timestamp_ms":1785692458000,"timestamp_seconds":1785692458,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3908c10"} 
[2026-08-02 23:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-02 23:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137266688001,"66":27365,"94":206,"83":40960,"24":38,"16":367506341335400448,"44":-2537004302989445120},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-08-02 23:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137266688001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:12:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-02 23:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367506341335400448,"km_value":367506341335400.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:12:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2537004302989445120,"description":"Unknown IO ID 44"} 
[2026-08-02 23:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137266688001,"power":27365,"unknown_94":206,"unknown_83":40960,"ignition":38,"odometer":null,"unknown_44":-2537004302989445120}} 
[2026-08-02 23:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":147080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:12:00] local.INFO: GPS data processed {"connection_id":147080,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:12:00] local.INFO: Acknowledgment sent {"connection_id":147080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:12:21] local.INFO: TCP Data received {"connection_id":146855,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:12:21] local.INFO: Processing buffer {"connection_id":146855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:12:21] local.INFO: IMEI packet received {"connection_id":146855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":146855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:12:23] local.INFO: TCP Data received {"connection_id":146855,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:12:23] local.INFO: Processing buffer {"connection_id":146855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:12:23] local.INFO: IMEI packet received {"connection_id":146855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":146855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:12:28] local.INFO: TCP Data received {"connection_id":146855,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:12:28] local.INFO: Processing buffer {"connection_id":146855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:12:28] local.INFO: IMEI packet received {"connection_id":146855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":146855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:12:29] local.INFO: TCP Data received {"connection_id":146855,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc390af38012cdcac00072e6b30001300c531..."} 
[2026-08-02 23:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc390af38012cdcac00072e6b30001300c531..."} 
[2026-08-02 23:12:29] local.INFO: Processing buffer {"connection_id":146855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc390af38012cdcac00072e6b30001300c531..."} 
[2026-08-02 23:12:29] local.INFO: Packet analysis {"connection_id":146855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc390"} 
[2026-08-02 23:12:29] local.INFO: Extracted packet for processing {"connection_id":146855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc390"} 
[2026-08-02 23:12:29] local.INFO: GPS Element Parsed {"raw_longitude":752659456,"raw_latitude":120482608,"longitude_deg":75.2659456,"latitude_deg":12.0482608,"altitude":19,"angle":197,"satellites":49,"speed":42,"hex_longitude":"2cdcac00","hex_latitude":"072e6b30","is_valid_coordinates":true} 
[2026-08-02 23:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137269248001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367506805191868416,"note":"Value kept but may cause issues"} 
[2026-08-02 23:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2541578271363069952,"note":"Value kept but may cause issues"} 
[2026-08-02 23:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785692467000,"timestamp_ms":1785692467000,"timestamp_seconds":1785692467,"priority":1,"record_length":96,"hex_timestamp":"0000019fc390af38"} 
[2026-08-02 23:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 23:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137269248001,"66":27300,"94":206,"83":40960,"24":42,"16":367506805191868416,"44":-2541578271363069952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-08-02 23:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137269248001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:12:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-02 23:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367506805191868416,"km_value":367506805191868.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2541578271363069952,"description":"Unknown IO ID 44"} 
[2026-08-02 23:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137269248001,"power":27300,"unknown_94":206,"unknown_83":40960,"ignition":42,"odometer":null,"unknown_44":-2541578271363069952}} 
[2026-08-02 23:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":146855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:12:29] local.INFO: GPS data processed {"connection_id":146855,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:12:29] local.INFO: Acknowledgment sent {"connection_id":146855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:13:00] local.INFO: TCP Data received {"connection_id":146855,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc390ce78012cdca300072e47b0000b00bb30..."} 
[2026-08-02 23:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc390ce78012cdca300072e47b0000b00bb30..."} 
[2026-08-02 23:13:00] local.INFO: Processing buffer {"connection_id":146855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc390ce78012cdca300072e47b0000b00bb30..."} 
[2026-08-02 23:13:00] local.INFO: Packet analysis {"connection_id":146855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc390"} 
[2026-08-02 23:13:00] local.INFO: Extracted packet for processing {"connection_id":146855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc390"} 
[2026-08-02 23:13:00] local.INFO: GPS Element Parsed {"raw_longitude":752657152,"raw_latitude":120473520,"longitude_deg":75.2657152,"latitude_deg":12.047352,"altitude":11,"angle":187,"satellites":48,"speed":52,"hex_longitude":"2cdca300","hex_latitude":"072e47b0","is_valid_coordinates":true} 
[2026-08-02 23:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137271552001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367507260458401792,"note":"Value kept but may cause issues"} 
[2026-08-02 23:13:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2545659658527625216,"note":"Value kept but may cause issues"} 
[2026-08-02 23:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785692475000,"timestamp_ms":1785692475000,"timestamp_seconds":1785692475,"priority":1,"record_length":96,"hex_timestamp":"0000019fc390ce78"} 
[2026-08-02 23:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 23:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137271552001,"66":27310,"94":206,"83":40960,"24":52,"16":367507260458401792,"44":-2545659658527625216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-08-02 23:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137271552001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:13:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-02 23:13:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367507260458401792,"km_value":367507260458401.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:13:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2545659658527625216,"description":"Unknown IO ID 44"} 
[2026-08-02 23:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137271552001,"power":27310,"unknown_94":206,"unknown_83":40960,"ignition":52,"odometer":null,"unknown_44":-2545659658527625216}} 
[2026-08-02 23:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":146855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:13:00] local.INFO: GPS data processed {"connection_id":146855,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:13:00] local.INFO: Acknowledgment sent {"connection_id":146855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:13:22] local.INFO: TCP Data received {"connection_id":149419,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:13:22] local.INFO: Processing buffer {"connection_id":149419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:13:22] local.INFO: IMEI packet received {"connection_id":149419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":149419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:13:22] local.INFO: TCP Data received {"connection_id":149419,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:13:22] local.INFO: Processing buffer {"connection_id":149419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:13:22] local.INFO: IMEI packet received {"connection_id":149419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":149419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:13:28] local.INFO: TCP Data received {"connection_id":149419,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:13:28] local.INFO: Processing buffer {"connection_id":149419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:13:28] local.INFO: IMEI packet received {"connection_id":149419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":149419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:13:29] local.INFO: TCP Data received {"connection_id":149419,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc390edb8012cdca0c0072e23e0000a00ba2f..."} 
[2026-08-02 23:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc390edb8012cdca0c0072e23e0000a00ba2f..."} 
[2026-08-02 23:13:29] local.INFO: Processing buffer {"connection_id":149419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc390edb8012cdca0c0072e23e0000a00ba2f..."} 
[2026-08-02 23:13:29] local.INFO: Packet analysis {"connection_id":149419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc390"} 
[2026-08-02 23:13:29] local.INFO: Extracted packet for processing {"connection_id":149419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc390"} 
[2026-08-02 23:13:29] local.INFO: GPS Element Parsed {"raw_longitude":752656576,"raw_latitude":120464352,"longitude_deg":75.2656576,"latitude_deg":12.0464352,"altitude":10,"angle":186,"satellites":47,"speed":39,"hex_longitude":"2cdca0c0","hex_latitude":"072e23e0","is_valid_coordinates":true} 
[2026-08-02 23:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137273600001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367507702840033280,"note":"Value kept but may cause issues"} 
[2026-08-02 23:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2548192933320347648,"note":"Value kept but may cause issues"} 
[2026-08-02 23:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785692483000,"timestamp_ms":1785692483000,"timestamp_seconds":1785692483,"priority":1,"record_length":96,"hex_timestamp":"0000019fc390edb8"} 
[2026-08-02 23:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-02 23:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137273600001,"66":27376,"94":206,"83":40960,"24":39,"16":367507702840033280,"44":-2548192933320347648},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-08-02 23:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137273600001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:13:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-02 23:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367507702840033280,"km_value":367507702840033.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2548192933320347648,"description":"Unknown IO ID 44"} 
[2026-08-02 23:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137273600001,"power":27376,"unknown_94":206,"unknown_83":40960,"ignition":39,"odometer":null,"unknown_44":-2548192933320347648}} 
[2026-08-02 23:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":149419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:13:29] local.INFO: GPS data processed {"connection_id":149419,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:13:29] local.INFO: Acknowledgment sent {"connection_id":149419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:14:11] local.INFO: TCP Data received {"connection_id":149419,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3925ce8012cdca640072cc218001700b92f..."} 
[2026-08-02 23:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3925ce8012cdca640072cc218001700b92f..."} 
[2026-08-02 23:14:11] local.INFO: Processing buffer {"connection_id":149419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3925ce8012cdca640072cc218001700b92f..."} 
[2026-08-02 23:14:11] local.INFO: Packet analysis {"connection_id":149419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc392"} 
[2026-08-02 23:14:11] local.INFO: Extracted packet for processing {"connection_id":149419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc392"} 
[2026-08-02 23:14:11] local.INFO: GPS Element Parsed {"raw_longitude":752657984,"raw_latitude":120373784,"longitude_deg":75.2657984,"latitude_deg":12.0373784,"altitude":23,"angle":185,"satellites":47,"speed":34,"hex_longitude":"2cdca640","hex_latitude":"072cc218","is_valid_coordinates":true} 
[2026-08-02 23: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-08-02 23:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137298432001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367512122361380864,"note":"Value kept but may cause issues"} 
[2026-08-02 23:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2547489245902874624,"note":"Value kept but may cause issues"} 
[2026-08-02 23:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785692577000,"timestamp_ms":1785692577000,"timestamp_seconds":1785692577,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3925ce8"} 
[2026-08-02 23:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 23:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23: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-08-02 23:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137298432001,"66":27365,"28":206,"83":40960,"24":34,"16":367512122361380864,"44":-2547489245902874624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-02 23:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137298432001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-02 23:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367512122361380864,"km_value":367512122361380.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2547489245902874624,"description":"Unknown IO ID 44"} 
[2026-08-02 23:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137298432001,"power":27365,"unknown_28":206,"unknown_83":40960,"ignition":34,"odometer":null,"unknown_44":-2547489245902874624}} 
[2026-08-02 23:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":149419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:14:11] local.INFO: GPS data processed {"connection_id":149419,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:14:11] local.INFO: Acknowledgment sent {"connection_id":149419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:14:28] local.INFO: TCP Data received {"connection_id":148116,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:14:28] local.INFO: Processing buffer {"connection_id":148116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:14:28] local.INFO: IMEI packet received {"connection_id":148116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":148116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:14:29] local.INFO: TCP Data received {"connection_id":148116,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:14:29] local.INFO: Processing buffer {"connection_id":148116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:14:29] local.INFO: IMEI packet received {"connection_id":148116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":148116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:14:33] local.INFO: TCP Data received {"connection_id":148116,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:14:33] local.INFO: Processing buffer {"connection_id":148116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:14:33] local.INFO: IMEI packet received {"connection_id":148116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":148116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:14:34] local.INFO: TCP Data received {"connection_id":148116,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3926c88012cdca400072cb5e8001800c72e..."} 
[2026-08-02 23:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3926c88012cdca400072cb5e8001800c72e..."} 
[2026-08-02 23:14:34] local.INFO: Processing buffer {"connection_id":148116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3926c88012cdca400072cb5e8001800c72e..."} 
[2026-08-02 23:14:34] local.INFO: Packet analysis {"connection_id":148116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc392"} 
[2026-08-02 23:14:34] local.INFO: Extracted packet for processing {"connection_id":148116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc392"} 
[2026-08-02 23:14:34] local.INFO: GPS Element Parsed {"raw_longitude":752657408,"raw_latitude":120370664,"longitude_deg":75.2657408,"latitude_deg":12.0370664,"altitude":24,"angle":199,"satellites":46,"speed":29,"hex_longitude":"2cdca400","hex_latitude":"072cb5e8","is_valid_coordinates":true} 
[2026-08-02 23:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137299712001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367512276980203520,"note":"Value kept but may cause issues"} 
[2026-08-02 23:14:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2547278139671570432,"note":"Value kept but may cause issues"} 
[2026-08-02 23:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785692581000,"timestamp_ms":1785692581000,"timestamp_seconds":1785692581,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3926c88"} 
[2026-08-02 23:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 23:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137299712001,"66":27300,"28":206,"83":40960,"24":29,"16":367512276980203520,"44":-2547278139671570432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-02 23:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137299712001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:14:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-02 23:14:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367512276980203520,"km_value":367512276980203.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:14:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2547278139671570432,"description":"Unknown IO ID 44"} 
[2026-08-02 23:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137299712001,"power":27300,"unknown_28":206,"unknown_83":40960,"ignition":29,"odometer":null,"unknown_44":-2547278139671570432}} 
[2026-08-02 23:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":148116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:14:34] local.INFO: GPS data processed {"connection_id":148116,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:14:34] local.INFO: Acknowledgment sent {"connection_id":148116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:15:06] local.INFO: TCP Data received {"connection_id":148116,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc393a120012cdcb4c0072bcbd8001800bc2f..."} 
[2026-08-02 23:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc393a120012cdcb4c0072bcbd8001800bc2f..."} 
[2026-08-02 23:15:06] local.INFO: Processing buffer {"connection_id":148116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc393a120012cdcb4c0072bcbd8001800bc2f..."} 
[2026-08-02 23:15:06] local.INFO: Packet analysis {"connection_id":148116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc393"} 
[2026-08-02 23:15:06] local.INFO: Extracted packet for processing {"connection_id":148116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc393"} 
[2026-08-02 23:15:06] local.INFO: GPS Element Parsed {"raw_longitude":752661696,"raw_latitude":120310744,"longitude_deg":75.2661696,"latitude_deg":12.0310744,"altitude":24,"angle":188,"satellites":47,"speed":31,"hex_longitude":"2cdcb4c0","hex_latitude":"072bcbd8","is_valid_coordinates":true} 
[2026-08-02 23:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137320192001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367515433781166080,"note":"Value kept but may cause issues"} 
[2026-08-02 23:15:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543056015036418048,"note":"Value kept but may cause issues"} 
[2026-08-02 23:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785692660000,"timestamp_ms":1785692660000,"timestamp_seconds":1785692660,"priority":1,"record_length":96,"hex_timestamp":"0000019fc393a120"} 
[2026-08-02 23:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23: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-08-02 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 23:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137320192001,"66":27071,"225":206,"83":40960,"24":31,"16":367515433781166080,"44":-2543056015036418048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-08-02 23:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137320192001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:15:06] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-02 23:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367515433781166080,"km_value":367515433781166.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:15:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543056015036418048,"description":"Unknown IO ID 44"} 
[2026-08-02 23:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137320192001,"power":27071,"unknown_225":206,"unknown_83":40960,"ignition":31,"odometer":null,"unknown_44":-2543056015036418048}} 
[2026-08-02 23:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":148116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:15:06] local.INFO: GPS data processed {"connection_id":148116,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:15:06] local.INFO: Acknowledgment sent {"connection_id":148116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:15:23] local.INFO: TCP Data received {"connection_id":149420,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:15:23] local.INFO: Processing buffer {"connection_id":149420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:15:23] local.INFO: IMEI packet received {"connection_id":149420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":149420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:15:28] local.INFO: TCP Data received {"connection_id":149420,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:15:28] local.INFO: Processing buffer {"connection_id":149420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:15:28] local.INFO: IMEI packet received {"connection_id":149420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":149420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:15:29] local.INFO: TCP Data received {"connection_id":149420,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc393b4a8012cdcb340072bbdf8001400af2e..."} 
[2026-08-02 23:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc393b4a8012cdcb340072bbdf8001400af2e..."} 
[2026-08-02 23:15:29] local.INFO: Processing buffer {"connection_id":149420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc393b4a8012cdcb340072bbdf8001400af2e..."} 
[2026-08-02 23:15:29] local.INFO: Packet analysis {"connection_id":149420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc393"} 
[2026-08-02 23:15:29] local.INFO: Extracted packet for processing {"connection_id":149420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc393"} 
[2026-08-02 23:15:29] local.INFO: GPS Element Parsed {"raw_longitude":752661312,"raw_latitude":120307192,"longitude_deg":75.2661312,"latitude_deg":12.0307192,"altitude":20,"angle":175,"satellites":46,"speed":24,"hex_longitude":"2cdcb340","hex_latitude":"072bbdf8","is_valid_coordinates":true} 
[2026-08-02 23:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137320960001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367515609874825216,"note":"Value kept but may cause issues"} 
[2026-08-02 23:15:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543196752525404160,"note":"Value kept but may cause issues"} 
[2026-08-02 23:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785692665000,"timestamp_ms":1785692665000,"timestamp_seconds":1785692665,"priority":1,"record_length":96,"hex_timestamp":"0000019fc393b4a8"} 
[2026-08-02 23:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-02 23:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137320960001,"66":27484,"225":206,"83":40960,"24":24,"16":367515609874825216,"44":-2543196752525404160},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-08-02 23:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137320960001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:15:29] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-02 23:15:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367515609874825216,"km_value":367515609874825.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:15:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543196752525404160,"description":"Unknown IO ID 44"} 
[2026-08-02 23:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137320960001,"power":27484,"unknown_225":206,"unknown_83":40960,"ignition":24,"odometer":null,"unknown_44":-2543196752525404160}} 
[2026-08-02 23:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":149420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:15:29] local.INFO: GPS data processed {"connection_id":149420,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:15:29] local.INFO: Acknowledgment sent {"connection_id":149420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:16:00] local.INFO: TCP Data received {"connection_id":149420,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc393c060012cdcb340072bb760001300ba30..."} 
[2026-08-02 23:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc393c060012cdcb340072bb760001300ba30..."} 
[2026-08-02 23:16:00] local.INFO: Processing buffer {"connection_id":149420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc393c060012cdcb340072bb760001300ba30..."} 
[2026-08-02 23:16:00] local.INFO: Packet analysis {"connection_id":149420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc393"} 
[2026-08-02 23:16:00] local.INFO: Extracted packet for processing {"connection_id":149420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc393"} 
[2026-08-02 23:16:00] local.INFO: GPS Element Parsed {"raw_longitude":752661312,"raw_latitude":120305504,"longitude_deg":75.2661312,"latitude_deg":12.0305504,"altitude":19,"angle":186,"satellites":48,"speed":21,"hex_longitude":"2cdcb340","hex_latitude":"072bb760","is_valid_coordinates":true} 
[2026-08-02 23:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137322240001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367515691479203840,"note":"Value kept but may cause issues"} 
[2026-08-02 23:16:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543618964991379456,"note":"Value kept but may cause issues"} 
[2026-08-02 23:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785692668000,"timestamp_ms":1785692668000,"timestamp_seconds":1785692668,"priority":1,"record_length":96,"hex_timestamp":"0000019fc393c060"} 
[2026-08-02 23:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 23:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":149420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":149420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":149420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137322240001,"66":27484,"225":206,"83":40960,"24":21,"16":367515691479203840,"44":-2543618964991379456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-08-02 23:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137322240001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:16:00] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-02 23:16:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367515691479203840,"km_value":367515691479203.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:16:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543618964991379456,"description":"Unknown IO ID 44"} 
[2026-08-02 23:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137322240001,"power":27484,"unknown_225":206,"unknown_83":40960,"ignition":21,"odometer":null,"unknown_44":-2543618964991379456}} 
[2026-08-02 23:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":149420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:16:00] local.INFO: GPS data processed {"connection_id":149420,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:16:00] local.INFO: Acknowledgment sent {"connection_id":149420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:16:22] local.INFO: TCP Data received {"connection_id":146856,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:16:22] local.INFO: Processing buffer {"connection_id":146856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:16:22] local.INFO: IMEI packet received {"connection_id":146856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":146856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:16:25] local.INFO: TCP Data received {"connection_id":146856,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:16:25] local.INFO: Processing buffer {"connection_id":146856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:16:25] local.INFO: IMEI packet received {"connection_id":146856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":146856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:16:26] local.INFO: TCP Data received {"connection_id":146856,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:16:26] local.INFO: Processing buffer {"connection_id":146856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:16:26] local.INFO: IMEI packet received {"connection_id":146856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":146856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:16:28] local.INFO: TCP Data received {"connection_id":146856,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:16:28] local.INFO: Processing buffer {"connection_id":146856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:16:28] local.INFO: IMEI packet received {"connection_id":146856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":146856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:16:29] local.INFO: TCP Data received {"connection_id":146856,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc393f710012cdcaf40072b93c8001100be2f..."} 
[2026-08-02 23:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc393f710012cdcaf40072b93c8001100be2f..."} 
[2026-08-02 23:16:29] local.INFO: Processing buffer {"connection_id":146856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc393f710012cdcaf40072b93c8001100be2f..."} 
[2026-08-02 23:16:29] local.INFO: Packet analysis {"connection_id":146856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc393"} 
[2026-08-02 23:16:29] local.INFO: Extracted packet for processing {"connection_id":146856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc393"} 
[2026-08-02 23:16:29] local.INFO: GPS Element Parsed {"raw_longitude":752660288,"raw_latitude":120296392,"longitude_deg":75.2660288,"latitude_deg":12.0296392,"altitude":17,"angle":190,"satellites":47,"speed":31,"hex_longitude":"2cdcaf40","hex_latitude":"072b93c8","is_valid_coordinates":true} 
[2026-08-02 23:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137323008001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367516138155802624,"note":"Value kept but may cause issues"} 
[2026-08-02 23:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543618964991811584,"note":"Value kept but may cause issues"} 
[2026-08-02 23:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785692682000,"timestamp_ms":1785692682000,"timestamp_seconds":1785692682,"priority":1,"record_length":96,"hex_timestamp":"0000019fc393f710"} 
[2026-08-02 23:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-02 23:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137323008001,"66":27343,"225":206,"83":40960,"24":31,"16":367516138155802624,"44":-2543618964991811584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-08-02 23:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137323008001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:16:29] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-02 23:16:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367516138155802624,"km_value":367516138155802.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543618964991811584,"description":"Unknown IO ID 44"} 
[2026-08-02 23:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137323008001,"power":27343,"unknown_225":206,"unknown_83":40960,"ignition":31,"odometer":null,"unknown_44":-2543618964991811584}} 
[2026-08-02 23:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":146856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:16:29] local.INFO: GPS data processed {"connection_id":146856,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:16:29] local.INFO: Acknowledgment sent {"connection_id":146856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:16:33] local.INFO: TCP Data received {"connection_id":146856,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3942208012cdcab80072b6fc0000a00ba31..."} 
[2026-08-02 23:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3942208012cdcab80072b6fc0000a00ba31..."} 
[2026-08-02 23:16:33] local.INFO: Processing buffer {"connection_id":146856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3942208012cdcab80072b6fc0000a00ba31..."} 
[2026-08-02 23:16:33] local.INFO: Packet analysis {"connection_id":146856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc394"} 
[2026-08-02 23:16:33] local.INFO: Extracted packet for processing {"connection_id":146856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc394"} 
[2026-08-02 23:16:33] local.INFO: GPS Element Parsed {"raw_longitude":752659328,"raw_latitude":120287168,"longitude_deg":75.2659328,"latitude_deg":12.0287168,"altitude":10,"angle":186,"satellites":49,"speed":35,"hex_longitude":"2cdcab80","hex_latitude":"072b6fc0","is_valid_coordinates":true} 
[2026-08-02 23:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137326592001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367516584832401408,"note":"Value kept but may cause issues"} 
[2026-08-02 23:16:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2544744864900986880,"note":"Value kept but may cause issues"} 
[2026-08-02 23:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785692693000,"timestamp_ms":1785692693000,"timestamp_seconds":1785692693,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3942208"} 
[2026-08-02 23:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137326592001,"66":27267,"225":206,"83":40960,"24":35,"16":367516584832401408,"44":-2544744864900986880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-08-02 23:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137326592001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:16:33] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-02 23:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367516584832401408,"km_value":367516584832401.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:16:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2544744864900986880,"description":"Unknown IO ID 44"} 
[2026-08-02 23:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137326592001,"power":27267,"unknown_225":206,"unknown_83":40960,"ignition":35,"odometer":null,"unknown_44":-2544744864900986880}} 
[2026-08-02 23:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":146856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:16:33] local.INFO: GPS data processed {"connection_id":146856,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:16:33] local.INFO: Acknowledgment sent {"connection_id":146856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:17:04] local.INFO: TCP Data received {"connection_id":146856,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3944530012cdcaa40072b4b00000600b131..."} 
[2026-08-02 23:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3944530012cdcaa40072b4b00000600b131..."} 
[2026-08-02 23:17:04] local.INFO: Processing buffer {"connection_id":146856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3944530012cdcaa40072b4b00000600b131..."} 
[2026-08-02 23:17:04] local.INFO: Packet analysis {"connection_id":146856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc394"} 
[2026-08-02 23:17:04] local.INFO: Extracted packet for processing {"connection_id":146856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc394"} 
[2026-08-02 23:17:04] local.INFO: GPS Element Parsed {"raw_longitude":752659008,"raw_latitude":120277760,"longitude_deg":75.2659008,"latitude_deg":12.027776,"altitude":6,"angle":177,"satellites":49,"speed":42,"hex_longitude":"2cdcaa40","hex_latitude":"072b4b00","is_valid_coordinates":true} 
[2026-08-02 23:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137329408001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367517044393902080,"note":"Value kept but may cause issues"} 
[2026-08-02 23:17:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2545800396066013184,"note":"Value kept but may cause issues"} 
[2026-08-02 23:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785692702000,"timestamp_ms":1785692702000,"timestamp_seconds":1785692702,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3944530"} 
[2026-08-02 23:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 23:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137329408001,"66":27321,"225":206,"83":40960,"24":42,"16":367517044393902080,"44":-2545800396066013184},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-08-02 23:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137329408001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:17:04] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-02 23:17:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367517044393902080,"km_value":367517044393902.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:17:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2545800396066013184,"description":"Unknown IO ID 44"} 
[2026-08-02 23:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137329408001,"power":27321,"unknown_225":206,"unknown_83":40960,"ignition":42,"odometer":null,"unknown_44":-2545800396066013184}} 
[2026-08-02 23:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":146856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:17:04] local.INFO: GPS data processed {"connection_id":146856,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:17:04] local.INFO: Acknowledgment sent {"connection_id":146856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:17:23] local.INFO: TCP Data received {"connection_id":148117,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:17:23] local.INFO: Processing buffer {"connection_id":148117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:17:23] local.INFO: IMEI packet received {"connection_id":148117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":148117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:17:23] local.INFO: TCP Data received {"connection_id":148117,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:17:23] local.INFO: Processing buffer {"connection_id":148117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:17:23] local.INFO: IMEI packet received {"connection_id":148117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":148117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:17:28] local.INFO: TCP Data received {"connection_id":148117,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:17:28] local.INFO: Processing buffer {"connection_id":148117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:17:28] local.INFO: IMEI packet received {"connection_id":148117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":148117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:17:29] local.INFO: TCP Data received {"connection_id":148117,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3945ca0012cdcadc0072b3308000600a330..."} 
[2026-08-02 23:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3945ca0012cdcadc0072b3308000600a330..."} 
[2026-08-02 23:17:29] local.INFO: Processing buffer {"connection_id":148117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3945ca0012cdcadc0072b3308000600a330..."} 
[2026-08-02 23:17:29] local.INFO: Packet analysis {"connection_id":148117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc394"} 
[2026-08-02 23:17:29] local.INFO: Extracted packet for processing {"connection_id":148117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc394"} 
[2026-08-02 23:17:29] local.INFO: GPS Element Parsed {"raw_longitude":752659904,"raw_latitude":120271624,"longitude_deg":75.2659904,"latitude_deg":12.0271624,"altitude":6,"angle":163,"satellites":48,"speed":39,"hex_longitude":"2cdcadc0","hex_latitude":"072b3308","is_valid_coordinates":true} 
[2026-08-02 23:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137331712001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367517345041612800,"note":"Value kept but may cause issues"} 
[2026-08-02 23:17:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2546152239789309952,"note":"Value kept but may cause issues"} 
[2026-08-02 23:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785692708000,"timestamp_ms":1785692708000,"timestamp_seconds":1785692708,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3945ca0"} 
[2026-08-02 23:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 23:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137331712001,"66":27267,"224":206,"83":40960,"24":39,"16":367517345041612800,"44":-2546152239789309952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-08-02 23:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137331712001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:17:29] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-02 23:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367517345041612800,"km_value":367517345041612.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2546152239789309952,"description":"Unknown IO ID 44"} 
[2026-08-02 23:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137331712001,"power":27267,"unknown_224":206,"unknown_83":40960,"ignition":39,"odometer":null,"unknown_44":-2546152239789309952}} 
[2026-08-02 23:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":148117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:17:29] local.INFO: GPS data processed {"connection_id":148117,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:17:29] local.INFO: Acknowledgment sent {"connection_id":148117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:18:01] local.INFO: TCP Data received {"connection_id":148117,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc395d788012cdd5740072a47b0000e008132..."} 
[2026-08-02 23:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc395d788012cdd5740072a47b0000e008132..."} 
[2026-08-02 23:18:01] local.INFO: Processing buffer {"connection_id":148117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc395d788012cdd5740072a47b0000e008132..."} 
[2026-08-02 23:18:01] local.INFO: Packet analysis {"connection_id":148117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc395"} 
[2026-08-02 23:18:01] local.INFO: Extracted packet for processing {"connection_id":148117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc395"} 
[2026-08-02 23:18:01] local.INFO: GPS Element Parsed {"raw_longitude":752703296,"raw_latitude":120211376,"longitude_deg":75.2703296,"latitude_deg":12.0211376,"altitude":14,"angle":129,"satellites":50,"speed":24,"hex_longitude":"2cdd5740","hex_latitude":"072a47b0","is_valid_coordinates":true} 
[2026-08-02 23:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137354496001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:18:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2505127261949175808,"note":"Value kept but may cause issues"} 
[2026-08-02 23:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367521085958127616,"note":"Value kept but may cause issues"} 
[2026-08-02 23:18:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 23:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785692805000,"timestamp_ms":1785692805000,"timestamp_seconds":1785692805,"priority":1,"record_length":96,"hex_timestamp":"0000019fc395d788"} 
[2026-08-02 23:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 23:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137354496001,"66":27332,"44":-2505127261949175808,"83":40960,"24":24,"16":367521085958127616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-02 23:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137354496001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:18:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2505127261949175808,"description":"Unknown IO ID 44"} 
[2026-08-02 23:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367521085958127616,"km_value":367521085958127.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:18:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457137354496001,"power":27332,"unknown_44":-2505127261949175808,"unknown_83":40960,"ignition":24,"odometer":null}} 
[2026-08-02 23:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":148117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:18:01] local.INFO: GPS data processed {"connection_id":148117,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:18:01] local.INFO: Acknowledgment sent {"connection_id":148117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:18:26] local.INFO: TCP Data received {"connection_id":146857,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:18:26] local.INFO: Processing buffer {"connection_id":146857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:18:26] local.INFO: IMEI packet received {"connection_id":146857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":146857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:18:27] local.INFO: TCP Data received {"connection_id":146857,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:18:27] local.INFO: Processing buffer {"connection_id":146857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:18:27] local.INFO: IMEI packet received {"connection_id":146857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":146857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:18:33] local.INFO: TCP Data received {"connection_id":146857,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:18:33] local.INFO: Processing buffer {"connection_id":146857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:18:33] local.INFO: IMEI packet received {"connection_id":146857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":146857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:18:34] local.INFO: TCP Data received {"connection_id":146857,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3960a50012cdd6fc0072a34b0000f008d31..."} 
[2026-08-02 23:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3960a50012cdd6fc0072a34b0000f008d31..."} 
[2026-08-02 23:18:34] local.INFO: Processing buffer {"connection_id":146857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3960a50012cdd6fc0072a34b0000f008d31..."} 
[2026-08-02 23:18:34] local.INFO: Packet analysis {"connection_id":146857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc396"} 
[2026-08-02 23:18:34] local.INFO: Extracted packet for processing {"connection_id":146857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc396"} 
[2026-08-02 23:18:34] local.INFO: GPS Element Parsed {"raw_longitude":752709568,"raw_latitude":120206512,"longitude_deg":75.2709568,"latitude_deg":12.0206512,"altitude":15,"angle":141,"satellites":49,"speed":25,"hex_longitude":"2cdd6fc0","hex_latitude":"072a34b0","is_valid_coordinates":true} 
[2026-08-02 23:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137358080001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:18:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2497457068835360768,"note":"Value kept but may cause issues"} 
[2026-08-02 23:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367521468210216960,"note":"Value kept but may cause issues"} 
[2026-08-02 23:18:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 23:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785692818000,"timestamp_ms":1785692818000,"timestamp_seconds":1785692818,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3960a50"} 
[2026-08-02 23:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 23:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137358080001,"66":27267,"44":-2497457068835360768,"83":40960,"24":25,"16":367521468210216960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-02 23:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137358080001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:18:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2497457068835360768,"description":"Unknown IO ID 44"} 
[2026-08-02 23:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367521468210216960,"km_value":367521468210216.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:18:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457137358080001,"power":27267,"unknown_44":-2497457068835360768,"unknown_83":40960,"ignition":25,"odometer":null}} 
[2026-08-02 23:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":146857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:18:34] local.INFO: GPS data processed {"connection_id":146857,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:18:34] local.INFO: Acknowledgment sent {"connection_id":146857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:18:38] local.INFO: TCP Data received {"connection_id":146857,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3963160012cdd7dc0072a2408000f008131..."} 
[2026-08-02 23:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3963160012cdd7dc0072a2408000f008131..."} 
[2026-08-02 23:18:38] local.INFO: Processing buffer {"connection_id":146857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3963160012cdd7dc0072a2408000f008131..."} 
[2026-08-02 23:18:38] local.INFO: Packet analysis {"connection_id":146857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc396"} 
[2026-08-02 23:18:38] local.INFO: Extracted packet for processing {"connection_id":146857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc396"} 
[2026-08-02 23:18:38] local.INFO: GPS Element Parsed {"raw_longitude":752713152,"raw_latitude":120202248,"longitude_deg":75.2713152,"latitude_deg":12.0202248,"altitude":15,"angle":129,"satellites":49,"speed":22,"hex_longitude":"2cdd7dc0","hex_latitude":"072a2408","is_valid_coordinates":true} 
[2026-08-02 23:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137361408001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:18:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2490560931907194880,"note":"Value kept but may cause issues"} 
[2026-08-02 23:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367521734498189312,"note":"Value kept but may cause issues"} 
[2026-08-02 23:18:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 23:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785692828000,"timestamp_ms":1785692828000,"timestamp_seconds":1785692828,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3963160"} 
[2026-08-02 23:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 23:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137361408001,"66":27343,"44":-2490560931907194880,"83":40960,"24":22,"16":367521734498189312},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-02 23:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137361408001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:18:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2490560931907194880,"description":"Unknown IO ID 44"} 
[2026-08-02 23:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367521734498189312,"km_value":367521734498189.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:18:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457137361408001,"power":27343,"unknown_44":-2490560931907194880,"unknown_83":40960,"ignition":22,"odometer":null}} 
[2026-08-02 23:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":146857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:18:38] local.INFO: GPS data processed {"connection_id":146857,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:18:38] local.INFO: Acknowledgment sent {"connection_id":146857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:19:23] local.INFO: TCP Data received {"connection_id":149421,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:19:23] local.INFO: Processing buffer {"connection_id":149421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:19:23] local.INFO: IMEI packet received {"connection_id":149421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":149421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:19:27] local.INFO: TCP Data received {"connection_id":149421,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:19:27] local.INFO: Processing buffer {"connection_id":149421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:19:27] local.INFO: IMEI packet received {"connection_id":149421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":149421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:19:28] local.INFO: TCP Data received {"connection_id":149421,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3966bf8012cdd9a00072a0c60000c008931..."} 
[2026-08-02 23:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3966bf8012cdd9a00072a0c60000c008931..."} 
[2026-08-02 23:19:28] local.INFO: Processing buffer {"connection_id":149421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3966bf8012cdd9a00072a0c60000c008931..."} 
[2026-08-02 23:19:28] local.INFO: Packet analysis {"connection_id":149421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc396"} 
[2026-08-02 23:19:28] local.INFO: Extracted packet for processing {"connection_id":149421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc396"} 
[2026-08-02 23:19:28] local.INFO: GPS Element Parsed {"raw_longitude":752720384,"raw_latitude":120196192,"longitude_deg":75.2720384,"latitude_deg":12.0196192,"altitude":12,"angle":137,"satellites":49,"speed":25,"hex_longitude":"2cdd9a00","hex_latitude":"072a0c60","is_valid_coordinates":true} 
[2026-08-02 23:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137363968001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:19:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2486620282234337280,"note":"Value kept but may cause issues"} 
[2026-08-02 23:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367522189764722688,"note":"Value kept but may cause issues"} 
[2026-08-02 23:19:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 23:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785692843000,"timestamp_ms":1785692843000,"timestamp_seconds":1785692843,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3966bf8"} 
[2026-08-02 23:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":149421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":149421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":149421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137363968001,"66":27365,"44":-2486620282234337280,"83":40960,"24":25,"16":367522189764722688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-02 23:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137363968001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:19:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2486620282234337280,"description":"Unknown IO ID 44"} 
[2026-08-02 23:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367522189764722688,"km_value":367522189764722.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:19:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457137363968001,"power":27365,"unknown_44":-2486620282234337280,"unknown_83":40960,"ignition":25,"odometer":null}} 
[2026-08-02 23:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":149421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:19:28] local.INFO: GPS data processed {"connection_id":149421,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:19:28] local.INFO: Acknowledgment sent {"connection_id":149421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:19:59] local.INFO: TCP Data received {"connection_id":149421,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3969ec0012cddb4000729f1980008008831..."} 
[2026-08-02 23:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3969ec0012cddb4000729f1980008008831..."} 
[2026-08-02 23:19:59] local.INFO: Processing buffer {"connection_id":149421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3969ec0012cddb4000729f1980008008831..."} 
[2026-08-02 23:19:59] local.INFO: Packet analysis {"connection_id":149421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc396"} 
[2026-08-02 23:19:59] local.INFO: Extracted packet for processing {"connection_id":149421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc396"} 
[2026-08-02 23:19:59] local.INFO: GPS Element Parsed {"raw_longitude":752727040,"raw_latitude":120189336,"longitude_deg":75.272704,"latitude_deg":12.0189336,"altitude":8,"angle":136,"satellites":49,"speed":27,"hex_longitude":"2cddb400","hex_latitude":"0729f198","is_valid_coordinates":true} 
[2026-08-02 23:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137367808001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:19:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2478668614143811584,"note":"Value kept but may cause issues"} 
[2026-08-02 23:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367522649326223360,"note":"Value kept but may cause issues"} 
[2026-08-02 23:19:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-02 23:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785692856000,"timestamp_ms":1785692856000,"timestamp_seconds":1785692856,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3969ec0"} 
[2026-08-02 23:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 23:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":149421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":149421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":149421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137367808001,"66":27267,"44":-2478668614143811584,"83":40960,"24":27,"16":367522649326223360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-02 23:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137367808001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:19:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2478668614143811584,"description":"Unknown IO ID 44"} 
[2026-08-02 23:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367522649326223360,"km_value":367522649326223.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:19:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457137367808001,"power":27267,"unknown_44":-2478668614143811584,"unknown_83":40960,"ignition":27,"odometer":null}} 
[2026-08-02 23:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":149421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:19:59] local.INFO: GPS data processed {"connection_id":149421,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:19:59] local.INFO: Acknowledgment sent {"connection_id":149421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:20:25] local.INFO: TCP Data received {"connection_id":148118,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:20:25] local.INFO: Processing buffer {"connection_id":148118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:20:25] local.INFO: IMEI packet received {"connection_id":148118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":148118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:20:27] local.INFO: TCP Data received {"connection_id":148118,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:20:27] local.INFO: Processing buffer {"connection_id":148118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:20:27] local.INFO: IMEI packet received {"connection_id":148118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":148118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:20:28] local.INFO: TCP Data received {"connection_id":148118,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39840b8012cdeb9000728bfd80008008532..."} 
[2026-08-02 23:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39840b8012cdeb9000728bfd80008008532..."} 
[2026-08-02 23:20:28] local.INFO: Processing buffer {"connection_id":148118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39840b8012cdeb9000728bfd80008008532..."} 
[2026-08-02 23:20:28] local.INFO: Packet analysis {"connection_id":148118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc398"} 
[2026-08-02 23:20:28] local.INFO: Extracted packet for processing {"connection_id":148118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc398"} 
[2026-08-02 23:20:28] local.INFO: GPS Element Parsed {"raw_longitude":752793856,"raw_latitude":120111064,"longitude_deg":75.2793856,"latitude_deg":12.0111064,"altitude":8,"angle":133,"satellites":50,"speed":46,"hex_longitude":"2cdeb900","hex_latitude":"0728bfd8","is_valid_coordinates":true} 
[2026-08-02 23:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137396480001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367527597128548352,"note":"Value kept but may cause issues"} 
[2026-08-02 23:20:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2404429589056450560,"note":"Value kept but may cause issues"} 
[2026-08-02 23:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785692963000,"timestamp_ms":1785692963000,"timestamp_seconds":1785692963,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39840b8"} 
[2026-08-02 23:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 23:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":148118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":148118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":148118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137396480001,"66":27300,"54":206,"83":40960,"24":46,"16":367527597128548352,"44":-2404429589056450560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-08-02 23:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137396480001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:20:28] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-02 23:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367527597128548352,"km_value":367527597128548.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:20:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2404429589056450560,"description":"Unknown IO ID 44"} 
[2026-08-02 23:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137396480001,"power":27300,"unknown_54":206,"unknown_83":40960,"ignition":46,"odometer":null,"unknown_44":-2404429589056450560}} 
[2026-08-02 23:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":148118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:20:28] local.INFO: GPS data processed {"connection_id":148118,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:20:28] local.INFO: Acknowledgment sent {"connection_id":148118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:20:59] local.INFO: TCP Data received {"connection_id":148118,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3985ff8012cded3400728a5b00008008a31..."} 
[2026-08-02 23:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3985ff8012cded3400728a5b00008008a31..."} 
[2026-08-02 23:20:59] local.INFO: Processing buffer {"connection_id":148118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3985ff8012cded3400728a5b00008008a31..."} 
[2026-08-02 23:20:59] local.INFO: Packet analysis {"connection_id":148118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc398"} 
[2026-08-02 23:20:59] local.INFO: Extracted packet for processing {"connection_id":148118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc398"} 
[2026-08-02 23:20:59] local.INFO: GPS Element Parsed {"raw_longitude":752800576,"raw_latitude":120104368,"longitude_deg":75.2800576,"latitude_deg":12.0104368,"altitude":8,"angle":138,"satellites":49,"speed":45,"hex_longitude":"2cded340","hex_latitude":"0728a5b0","is_valid_coordinates":true} 
[2026-08-02 23:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137398528001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367528052395081728,"note":"Value kept but may cause issues"} 
[2026-08-02 23:20:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2397885295849646080,"note":"Value kept but may cause issues"} 
[2026-08-02 23:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785692971000,"timestamp_ms":1785692971000,"timestamp_seconds":1785692971,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3985ff8"} 
[2026-08-02 23:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 23:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137398528001,"66":27169,"54":206,"83":40960,"24":45,"16":367528052395081728,"44":-2397885295849646080},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-08-02 23:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137398528001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:20:59] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-02 23:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367528052395081728,"km_value":367528052395081.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:20:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2397885295849646080,"description":"Unknown IO ID 44"} 
[2026-08-02 23:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137398528001,"power":27169,"unknown_54":206,"unknown_83":40960,"ignition":45,"odometer":null,"unknown_44":-2397885295849646080}} 
[2026-08-02 23:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":148118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:20:59] local.INFO: GPS data processed {"connection_id":148118,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:20:59] local.INFO: Acknowledgment sent {"connection_id":148118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:21:22] local.INFO: TCP Data received {"connection_id":149422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:21:22] local.INFO: Processing buffer {"connection_id":149422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:21:22] local.INFO: IMEI packet received {"connection_id":149422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":149422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:21:24] local.INFO: TCP Data received {"connection_id":149422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:21:24] local.INFO: Processing buffer {"connection_id":149422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:21:24] local.INFO: IMEI packet received {"connection_id":149422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":149422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:21:28] local.INFO: TCP Data received {"connection_id":149422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:21:28] local.INFO: Processing buffer {"connection_id":149422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:21:28] local.INFO: IMEI packet received {"connection_id":149422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":149422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:21:30] local.INFO: TCP Data received {"connection_id":149422,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3988320012cdeebc0072887f00007008e30..."} 
[2026-08-02 23:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3988320012cdeebc0072887f00007008e30..."} 
[2026-08-02 23:21:30] local.INFO: Processing buffer {"connection_id":149422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3988320012cdeebc0072887f00007008e30..."} 
[2026-08-02 23:21:30] local.INFO: Packet analysis {"connection_id":149422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc398"} 
[2026-08-02 23:21:30] local.INFO: Extracted packet for processing {"connection_id":149422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc398"} 
[2026-08-02 23:21:30] local.INFO: GPS Element Parsed {"raw_longitude":752806848,"raw_latitude":120096752,"longitude_deg":75.2806848,"latitude_deg":12.0096752,"altitude":7,"angle":142,"satellites":48,"speed":40,"hex_longitude":"2cdeebc0","hex_latitude":"072887f0","is_valid_coordinates":true} 
[2026-08-02 23:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137400576001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367528524841484288,"note":"Value kept but may cause issues"} 
[2026-08-02 23:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2390496577712705536,"note":"Value kept but may cause issues"} 
[2026-08-02 23:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785692980000,"timestamp_ms":1785692980000,"timestamp_seconds":1785692980,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3988320"} 
[2026-08-02 23:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-02 23:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137400576001,"66":27300,"54":206,"83":40960,"24":40,"16":367528524841484288,"44":-2390496577712705536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-08-02 23:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137400576001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:21:30] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-02 23:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367528524841484288,"km_value":367528524841484.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2390496577712705536,"description":"Unknown IO ID 44"} 
[2026-08-02 23:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137400576001,"power":27300,"unknown_54":206,"unknown_83":40960,"ignition":40,"odometer":null,"unknown_44":-2390496577712705536}} 
[2026-08-02 23:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":149422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:21:30] local.INFO: GPS data processed {"connection_id":149422,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:21:30] local.INFO: Acknowledgment sent {"connection_id":149422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:22:11] local.INFO: TCP Data received {"connection_id":149422,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc398a648012cdf00c007286b88000700912f..."} 
[2026-08-02 23:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc398a648012cdf00c007286b88000700912f..."} 
[2026-08-02 23:22:11] local.INFO: Processing buffer {"connection_id":149422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc398a648012cdf00c007286b88000700912f..."} 
[2026-08-02 23:22:11] local.INFO: Packet analysis {"connection_id":149422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc398"} 
[2026-08-02 23:22:11] local.INFO: Extracted packet for processing {"connection_id":149422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc398"} 
[2026-08-02 23:22:11] local.INFO: GPS Element Parsed {"raw_longitude":752812224,"raw_latitude":120089480,"longitude_deg":75.2812224,"latitude_deg":12.008948,"altitude":7,"angle":145,"satellites":47,"speed":39,"hex_longitude":"2cdf00c0","hex_latitude":"07286b88","is_valid_coordinates":true} 
[2026-08-02 23:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137402880001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367528958633181184,"note":"Value kept but may cause issues"} 
[2026-08-02 23:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2383600440785244160,"note":"Value kept but may cause issues"} 
[2026-08-02 23:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785692989000,"timestamp_ms":1785692989000,"timestamp_seconds":1785692989,"priority":1,"record_length":96,"hex_timestamp":"0000019fc398a648"} 
[2026-08-02 23:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 23:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137402880001,"66":27300,"54":206,"83":40960,"24":39,"16":367528958633181184,"44":-2383600440785244160},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-08-02 23:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137402880001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:22:11] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-02 23:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367528958633181184,"km_value":367528958633181.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2383600440785244160,"description":"Unknown IO ID 44"} 
[2026-08-02 23:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137402880001,"power":27300,"unknown_54":206,"unknown_83":40960,"ignition":39,"odometer":null,"unknown_44":-2383600440785244160}} 
[2026-08-02 23:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":149422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:22:11] local.INFO: GPS data processed {"connection_id":149422,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:22:11] local.INFO: Acknowledgment sent {"connection_id":149422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:22:22] local.INFO: TCP Data received {"connection_id":147081,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:22:22] local.INFO: Processing buffer {"connection_id":147081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:22:22] local.INFO: IMEI packet received {"connection_id":147081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":147081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:22:28] local.INFO: TCP Data received {"connection_id":147081,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:22:28] local.INFO: Processing buffer {"connection_id":147081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:22:28] local.INFO: IMEI packet received {"connection_id":147081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":147081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:22:29] local.INFO: TCP Data received {"connection_id":147081,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc398c970012cdf148007284eb80006009132..."} 
[2026-08-02 23:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc398c970012cdf148007284eb80006009132..."} 
[2026-08-02 23:22:29] local.INFO: Processing buffer {"connection_id":147081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc398c970012cdf148007284eb80006009132..."} 
[2026-08-02 23:22:29] local.INFO: Packet analysis {"connection_id":147081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc398"} 
[2026-08-02 23:22:29] local.INFO: Extracted packet for processing {"connection_id":147081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc398"} 
[2026-08-02 23:22:29] local.INFO: GPS Element Parsed {"raw_longitude":752817280,"raw_latitude":120082104,"longitude_deg":75.281728,"latitude_deg":12.0082104,"altitude":6,"angle":145,"satellites":50,"speed":40,"hex_longitude":"2cdf1480","hex_latitude":"07284eb8","is_valid_coordinates":true} 
[2026-08-02 23:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137405184001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367529392424878080,"note":"Value kept but may cause issues"} 
[2026-08-02 23:22:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2377689466276182016,"note":"Value kept but may cause issues"} 
[2026-08-02 23:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785692998000,"timestamp_ms":1785692998000,"timestamp_seconds":1785692998,"priority":1,"record_length":96,"hex_timestamp":"0000019fc398c970"} 
[2026-08-02 23:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 23:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137405184001,"66":27365,"54":206,"83":40960,"24":40,"16":367529392424878080,"44":-2377689466276182016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-08-02 23:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137405184001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:22:29] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-02 23:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-02 23:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367529392424878080,"km_value":367529392424878.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:22:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2377689466276182016,"description":"Unknown IO ID 44"} 
[2026-08-02 23:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137405184001,"power":27365,"unknown_54":206,"unknown_83":40960,"ignition":40,"odometer":null,"unknown_44":-2377689466276182016}} 
[2026-08-02 23:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":147081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:22:29] local.INFO: GPS data processed {"connection_id":147081,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:22:29] local.INFO: Acknowledgment sent {"connection_id":147081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:23:00] local.INFO: TCP Data received {"connection_id":147081,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39ab988012ce045400726ddc80005007232..."} 
[2026-08-02 23:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39ab988012ce045400726ddc80005007232..."} 
[2026-08-02 23:23:00] local.INFO: Processing buffer {"connection_id":147081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39ab988012ce045400726ddc80005007232..."} 
[2026-08-02 23:23:00] local.INFO: Packet analysis {"connection_id":147081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39a"} 
[2026-08-02 23:23:00] local.INFO: Extracted packet for processing {"connection_id":147081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39a"} 
[2026-08-02 23:23:00] local.INFO: GPS Element Parsed {"raw_longitude":752895296,"raw_latitude":119987656,"longitude_deg":75.2895296,"latitude_deg":11.9987656,"altitude":5,"angle":114,"satellites":50,"speed":36,"hex_longitude":"2ce04540","hex_latitude":"0726ddc8","is_valid_coordinates":true} 
[2026-08-02 23:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137438720001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367535298004910080,"note":"Value kept but may cause issues"} 
[2026-08-02 23:23:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2290784067242207232,"note":"Value kept but may cause issues"} 
[2026-08-02 23:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785693125000,"timestamp_ms":1785693125000,"timestamp_seconds":1785693125,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39ab988"} 
[2026-08-02 23:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-02 23:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137438720001,"66":27376,"151":206,"83":43008,"24":36,"16":367535298004910080,"44":-2290784067242207232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-08-02 23:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137438720001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:23:00] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-02 23:23:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367535298004910080,"km_value":367535298004910.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:23:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2290784067242207232,"description":"Unknown IO ID 44"} 
[2026-08-02 23:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137438720001,"power":27376,"unknown_151":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-2290784067242207232}} 
[2026-08-02 23:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":147081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:23:00] local.INFO: GPS data processed {"connection_id":147081,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:23:00] local.INFO: Acknowledgment sent {"connection_id":147081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:23:25] local.INFO: TCP Data received {"connection_id":148119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:23:25] local.INFO: Processing buffer {"connection_id":148119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:23:25] local.INFO: IMEI packet received {"connection_id":148119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":148119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:23:28] local.INFO: TCP Data received {"connection_id":148119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:23:28] local.INFO: Processing buffer {"connection_id":148119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:23:28] local.INFO: IMEI packet received {"connection_id":148119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":148119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:23:33] local.INFO: TCP Data received {"connection_id":148119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:23:33] local.INFO: Processing buffer {"connection_id":148119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:23:33] local.INFO: IMEI packet received {"connection_id":148119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":148119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:23:35] local.INFO: TCP Data received {"connection_id":148119,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39ac540012ce04f800726da580005006633..."} 
[2026-08-02 23:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39ac540012ce04f800726da580005006633..."} 
[2026-08-02 23:23:35] local.INFO: Processing buffer {"connection_id":148119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39ac540012ce04f800726da580005006633..."} 
[2026-08-02 23:23:35] local.INFO: Packet analysis {"connection_id":148119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39a"} 
[2026-08-02 23:23:35] local.INFO: Extracted packet for processing {"connection_id":148119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39a"} 
[2026-08-02 23:23:35] local.INFO: GPS Element Parsed {"raw_longitude":752897920,"raw_latitude":119986776,"longitude_deg":75.289792,"latitude_deg":11.9986776,"altitude":5,"angle":102,"satellites":51,"speed":37,"hex_longitude":"2ce04f80","hex_latitude":"0726da58","is_valid_coordinates":true} 
[2026-08-02 23:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137440000001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367535431148896256,"note":"Value kept but may cause issues"} 
[2026-08-02 23:23:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2286350836359641088,"note":"Value kept but may cause issues"} 
[2026-08-02 23:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785693128000,"timestamp_ms":1785693128000,"timestamp_seconds":1785693128,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39ac540"} 
[2026-08-02 23:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 23:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137440000001,"66":27321,"151":206,"83":43008,"24":37,"16":367535431148896256,"44":-2286350836359641088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-08-02 23:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137440000001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:23:35] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-02 23:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367535431148896256,"km_value":367535431148896.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:23:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2286350836359641088,"description":"Unknown IO ID 44"} 
[2026-08-02 23:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137440000001,"power":27321,"unknown_151":206,"unknown_83":43008,"ignition":37,"odometer":null,"unknown_44":-2286350836359641088}} 
[2026-08-02 23:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":148119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:23:35] local.INFO: GPS data processed {"connection_id":148119,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:23:35] local.INFO: Acknowledgment sent {"connection_id":148119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:24:06] local.INFO: TCP Data received {"connection_id":148119,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39ae868012ce071800726d7a00005005932..."} 
[2026-08-02 23:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39ae868012ce071800726d7a00005005932..."} 
[2026-08-02 23:24:06] local.INFO: Processing buffer {"connection_id":148119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39ae868012ce071800726d7a00005005932..."} 
[2026-08-02 23:24:06] local.INFO: Packet analysis {"connection_id":148119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39a"} 
[2026-08-02 23:24:06] local.INFO: Extracted packet for processing {"connection_id":148119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39a"} 
[2026-08-02 23:24:06] local.INFO: GPS Element Parsed {"raw_longitude":752906624,"raw_latitude":119986080,"longitude_deg":75.2906624,"latitude_deg":11.998608,"altitude":5,"angle":89,"satellites":50,"speed":35,"hex_longitude":"2ce07180","hex_latitude":"0726d7a0","is_valid_coordinates":true} 
[2026-08-02 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-08-02 23:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137440768001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367535847760723968,"note":"Value kept but may cause issues"} 
[2026-08-02 23:24:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2283465717848582144,"note":"Value kept but may cause issues"} 
[2026-08-02 23:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785693137000,"timestamp_ms":1785693137000,"timestamp_seconds":1785693137,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39ae868"} 
[2026-08-02 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-08-02 23:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 23:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 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-08-02 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-08-02 23:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137440768001,"66":27343,"151":206,"83":43008,"24":35,"16":367535847760723968,"44":-2283465717848582144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-08-02 23:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137440768001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:24:06] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-02 23:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367535847760723968,"km_value":367535847760723.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:24:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2283465717848582144,"description":"Unknown IO ID 44"} 
[2026-08-02 23:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137440768001,"power":27343,"unknown_151":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-2283465717848582144}} 
[2026-08-02 23:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":148119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:24:06] local.INFO: GPS data processed {"connection_id":148119,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:24:06] local.INFO: Acknowledgment sent {"connection_id":148119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:24:23] local.INFO: TCP Data received {"connection_id":147082,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:24:23] local.INFO: Processing buffer {"connection_id":147082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:24:23] local.INFO: IMEI packet received {"connection_id":147082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":147082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:24:23] local.INFO: TCP Data received {"connection_id":147082,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:24:23] local.INFO: Processing buffer {"connection_id":147082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:24:23] local.INFO: IMEI packet received {"connection_id":147082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":147082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:24:27] local.INFO: TCP Data received {"connection_id":147082,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:24:27] local.INFO: Processing buffer {"connection_id":147082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:24:27] local.INFO: IMEI packet received {"connection_id":147082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":147082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:24:28] local.INFO: TCP Data received {"connection_id":147082,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39b07a8012ce08e400726d4e80005006732..."} 
[2026-08-02 23:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39b07a8012ce08e400726d4e80005006732..."} 
[2026-08-02 23:24:28] local.INFO: Processing buffer {"connection_id":147082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39b07a8012ce08e400726d4e80005006732..."} 
[2026-08-02 23:24:28] local.INFO: Packet analysis {"connection_id":147082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39b"} 
[2026-08-02 23:24:28] local.INFO: Extracted packet for processing {"connection_id":147082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39b"} 
[2026-08-02 23:24:28] local.INFO: GPS Element Parsed {"raw_longitude":752913984,"raw_latitude":119985384,"longitude_deg":75.2913984,"latitude_deg":11.9985384,"altitude":5,"angle":103,"satellites":50,"speed":38,"hex_longitude":"2ce08e40","hex_latitude":"0726d4e8","is_valid_coordinates":true} 
[2026-08-02 23:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137443072001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367536195653074944,"note":"Value kept but may cause issues"} 
[2026-08-02 23:24:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2273895568640598016,"note":"Value kept but may cause issues"} 
[2026-08-02 23:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785693145000,"timestamp_ms":1785693145000,"timestamp_seconds":1785693145,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39b07a8"} 
[2026-08-02 23:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137443072001,"66":27343,"151":206,"83":43008,"24":38,"16":367536195653074944,"44":-2273895568640598016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-08-02 23:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137443072001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:24:28] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-02 23:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367536195653074944,"km_value":367536195653074.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:24:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2273895568640598016,"description":"Unknown IO ID 44"} 
[2026-08-02 23:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137443072001,"power":27343,"unknown_151":206,"unknown_83":43008,"ignition":38,"odometer":null,"unknown_44":-2273895568640598016}} 
[2026-08-02 23:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":147082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:24:28] local.INFO: GPS data processed {"connection_id":147082,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:24:28] local.INFO: Acknowledgment sent {"connection_id":147082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:24:59] local.INFO: TCP Data received {"connection_id":147082,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39b1360012ce099800726d0f80004007332..."} 
[2026-08-02 23:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39b1360012ce099800726d0f80004007332..."} 
[2026-08-02 23:24:59] local.INFO: Processing buffer {"connection_id":147082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39b1360012ce099800726d0f80004007332..."} 
[2026-08-02 23:24:59] local.INFO: Packet analysis {"connection_id":147082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39b"} 
[2026-08-02 23:24:59] local.INFO: Extracted packet for processing {"connection_id":147082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39b"} 
[2026-08-02 23:24:59] local.INFO: GPS Element Parsed {"raw_longitude":752916864,"raw_latitude":119984376,"longitude_deg":75.2916864,"latitude_deg":11.9984376,"altitude":4,"angle":115,"satellites":50,"speed":40,"hex_longitude":"2ce09980","hex_latitude":"0726d0f8","is_valid_coordinates":true} 
[2026-08-02 23:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137445120001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367536341681963008,"note":"Value kept but may cause issues"} 
[2026-08-02 23:24:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2265803163060344832,"note":"Value kept but may cause issues"} 
[2026-08-02 23:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785693148000,"timestamp_ms":1785693148000,"timestamp_seconds":1785693148,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39b1360"} 
[2026-08-02 23:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137445120001,"66":27343,"151":206,"83":43008,"24":40,"16":367536341681963008,"44":-2265803163060344832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-08-02 23:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137445120001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:24:59] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-02 23:24:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367536341681963008,"km_value":367536341681963.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:24:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2265803163060344832,"description":"Unknown IO ID 44"} 
[2026-08-02 23:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137445120001,"power":27343,"unknown_151":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-2265803163060344832}} 
[2026-08-02 23:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":147082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:24:59] local.INFO: GPS data processed {"connection_id":147082,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:24:59] local.INFO: Acknowledgment sent {"connection_id":147082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:25:21] local.INFO: TCP Data received {"connection_id":148120,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:25:21] local.INFO: Processing buffer {"connection_id":148120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:25:21] local.INFO: IMEI packet received {"connection_id":148120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":148120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:25:23] local.INFO: TCP Data received {"connection_id":148120,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:25:23] local.INFO: Processing buffer {"connection_id":148120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:25:23] local.INFO: IMEI packet received {"connection_id":148120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":148120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:25:27] local.INFO: TCP Data received {"connection_id":148120,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:25:28] local.INFO: Processing buffer {"connection_id":148120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:25:28] local.INFO: IMEI packet received {"connection_id":148120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":148120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:25:30] local.INFO: TCP Data received {"connection_id":148120,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39b3688012ce0b8800726be500005007a33..."} 
[2026-08-02 23:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39b3688012ce0b8800726be500005007a33..."} 
[2026-08-02 23:25:30] local.INFO: Processing buffer {"connection_id":148120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39b3688012ce0b8800726be500005007a33..."} 
[2026-08-02 23:25:30] local.INFO: Packet analysis {"connection_id":148120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39b"} 
[2026-08-02 23:25:30] local.INFO: Extracted packet for processing {"connection_id":148120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39b"} 
[2026-08-02 23:25:30] local.INFO: GPS Element Parsed {"raw_longitude":752924800,"raw_latitude":119979600,"longitude_deg":75.29248,"latitude_deg":11.99796,"altitude":5,"angle":122,"satellites":51,"speed":38,"hex_longitude":"2ce0b880","hex_latitude":"0726be50","is_valid_coordinates":true} 
[2026-08-02 23:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137445888001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367536784063594496,"note":"Value kept but may cause issues"} 
[2026-08-02 23:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2262636569572608000,"note":"Value kept but may cause issues"} 
[2026-08-02 23:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785693157000,"timestamp_ms":1785693157000,"timestamp_seconds":1785693157,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39b3688"} 
[2026-08-02 23:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137445888001,"66":27343,"151":206,"83":43008,"24":38,"16":367536784063594496,"44":-2262636569572608000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-08-02 23:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137445888001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:25:30] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-02 23:25:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367536784063594496,"km_value":367536784063594.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2262636569572608000,"description":"Unknown IO ID 44"} 
[2026-08-02 23:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137445888001,"power":27343,"unknown_151":206,"unknown_83":43008,"ignition":38,"odometer":null,"unknown_44":-2262636569572608000}} 
[2026-08-02 23:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":148120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:25:30] local.INFO: GPS data processed {"connection_id":148120,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:25:30] local.INFO: Acknowledgment sent {"connection_id":148120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:26:03] local.INFO: TCP Data received {"connection_id":148120,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39d70d8012ce26bc007261cf80004006b30..."} 
[2026-08-02 23:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39d70d8012ce26bc007261cf80004006b30..."} 
[2026-08-02 23:26:03] local.INFO: Processing buffer {"connection_id":148120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39d70d8012ce26bc007261cf80004006b30..."} 
[2026-08-02 23:26:03] local.INFO: Packet analysis {"connection_id":148120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39d"} 
[2026-08-02 23:26:03] local.INFO: Extracted packet for processing {"connection_id":148120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39d"} 
[2026-08-02 23:26:03] local.INFO: GPS Element Parsed {"raw_longitude":753036224,"raw_latitude":119938296,"longitude_deg":75.3036224,"latitude_deg":11.9938296,"altitude":4,"angle":107,"satellites":48,"speed":40,"hex_longitude":"2ce26bc0","hex_latitude":"07261cf8","is_valid_coordinates":true} 
[2026-08-02 23:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137483008001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367542474895261696,"note":"Value kept but may cause issues"} 
[2026-08-02 23:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2142024542063208448,"note":"Value kept but may cause issues"} 
[2026-08-02 23:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785693303000,"timestamp_ms":1785693303000,"timestamp_seconds":1785693303,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39d70d8"} 
[2026-08-02 23:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-02 23:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137483008001,"66":27321,"87":206,"83":43008,"24":40,"16":367542474895261696,"44":-2142024542063208448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-08-02 23:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137483008001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:26:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 23:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367542474895261696,"km_value":367542474895261.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:26:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2142024542063208448,"description":"Unknown IO ID 44"} 
[2026-08-02 23:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137483008001,"power":27321,"unknown_87":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-2142024542063208448}} 
[2026-08-02 23:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":148120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:26:03] local.INFO: GPS data processed {"connection_id":148120,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:26:03] local.INFO: Acknowledgment sent {"connection_id":148120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:26:22] local.INFO: TCP Data received {"connection_id":149423,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:26:22] local.INFO: Processing buffer {"connection_id":149423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:26:22] local.INFO: IMEI packet received {"connection_id":149423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":149423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:26:24] local.INFO: TCP Data received {"connection_id":149423,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:26:24] local.INFO: Processing buffer {"connection_id":149423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:26:24] local.INFO: IMEI packet received {"connection_id":149423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":149423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:26:28] local.INFO: TCP Data received {"connection_id":149423,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:26:28] local.INFO: Processing buffer {"connection_id":149423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:26:28] local.INFO: IMEI packet received {"connection_id":149423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":149423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:26:29] local.INFO: TCP Data received {"connection_id":149423,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39d9400012ce28f80072611200004006d33..."} 
[2026-08-02 23:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39d9400012ce28f80072611200004006d33..."} 
[2026-08-02 23:26:29] local.INFO: Processing buffer {"connection_id":149423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39d9400012ce28f80072611200004006d33..."} 
[2026-08-02 23:26:29] local.INFO: Packet analysis {"connection_id":149423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39d"} 
[2026-08-02 23:26:29] local.INFO: Extracted packet for processing {"connection_id":149423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39d"} 
[2026-08-02 23:26:29] local.INFO: GPS Element Parsed {"raw_longitude":753045376,"raw_latitude":119935264,"longitude_deg":75.3045376,"latitude_deg":11.9935264,"altitude":4,"angle":109,"satellites":51,"speed":42,"hex_longitude":"2ce28f80","hex_latitude":"07261120","is_valid_coordinates":true} 
[2026-08-02 23:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137485568001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367542934456762368,"note":"Value kept but may cause issues"} 
[2026-08-02 23:26:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2131398861693061120,"note":"Value kept but may cause issues"} 
[2026-08-02 23:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785693312000,"timestamp_ms":1785693312000,"timestamp_seconds":1785693312,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39d9400"} 
[2026-08-02 23:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 23:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137485568001,"66":27376,"87":206,"83":43008,"24":42,"16":367542934456762368,"44":-2131398861693061120},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-08-02 23:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137485568001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:26:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 23:26:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367542934456762368,"km_value":367542934456762.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:26:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2131398861693061120,"description":"Unknown IO ID 44"} 
[2026-08-02 23:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137485568001,"power":27376,"unknown_87":206,"unknown_83":43008,"ignition":42,"odometer":null,"unknown_44":-2131398861693061120}} 
[2026-08-02 23:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":149423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:26:29] local.INFO: GPS data processed {"connection_id":149423,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:26:29] local.INFO: Acknowledgment sent {"connection_id":149423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:27:00] local.INFO: TCP Data received {"connection_id":149423,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39db728012ce2b340072604480004006e33..."} 
[2026-08-02 23:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39db728012ce2b340072604480004006e33..."} 
[2026-08-02 23:27:00] local.INFO: Processing buffer {"connection_id":149423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39db728012ce2b340072604480004006e33..."} 
[2026-08-02 23:27:00] local.INFO: Packet analysis {"connection_id":149423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39d"} 
[2026-08-02 23:27:00] local.INFO: Extracted packet for processing {"connection_id":149423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39d"} 
[2026-08-02 23:27:00] local.INFO: GPS Element Parsed {"raw_longitude":753054528,"raw_latitude":119931976,"longitude_deg":75.3054528,"latitude_deg":11.9931976,"altitude":4,"angle":110,"satellites":51,"speed":43,"hex_longitude":"2ce2b340","hex_latitude":"07260448","is_valid_coordinates":true} 
[2026-08-02 23:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137487872001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367543398313230336,"note":"Value kept but may cause issues"} 
[2026-08-02 23:27:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2121336131276431360,"note":"Value kept but may cause issues"} 
[2026-08-02 23:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785693321000,"timestamp_ms":1785693321000,"timestamp_seconds":1785693321,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39db728"} 
[2026-08-02 23:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 23:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":149423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":149423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":149423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137487872001,"66":27376,"87":206,"83":43008,"24":43,"16":367543398313230336,"44":-2121336131276431360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-08-02 23:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137487872001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:27:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 23:27:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367543398313230336,"km_value":367543398313230.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:27:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2121336131276431360,"description":"Unknown IO ID 44"} 
[2026-08-02 23:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137487872001,"power":27376,"unknown_87":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-2121336131276431360}} 
[2026-08-02 23:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":149423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:27:00] local.INFO: GPS data processed {"connection_id":149423,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:27:00] local.INFO: Acknowledgment sent {"connection_id":149423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:27:22] local.INFO: TCP Data received {"connection_id":147083,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:27:22] local.INFO: Processing buffer {"connection_id":147083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:27:22] local.INFO: IMEI packet received {"connection_id":147083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":147083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:27:28] local.INFO: TCP Data received {"connection_id":147083,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:27:28] local.INFO: Processing buffer {"connection_id":147083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:27:28] local.INFO: IMEI packet received {"connection_id":147083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":147083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:27:31] local.INFO: TCP Data received {"connection_id":147083,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39dd668012ce2d4400725f6000004007832..."} 
[2026-08-02 23:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39dd668012ce2d4400725f6000004007832..."} 
[2026-08-02 23:27:31] local.INFO: Processing buffer {"connection_id":147083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39dd668012ce2d4400725f6000004007832..."} 
[2026-08-02 23:27:31] local.INFO: Packet analysis {"connection_id":147083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39d"} 
[2026-08-02 23:27:31] local.INFO: Extracted packet for processing {"connection_id":147083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39d"} 
[2026-08-02 23:27:31] local.INFO: GPS Element Parsed {"raw_longitude":753062976,"raw_latitude":119928320,"longitude_deg":75.3062976,"latitude_deg":11.992832,"altitude":4,"angle":120,"satellites":50,"speed":46,"hex_longitude":"2ce2d440","hex_latitude":"0725f600","is_valid_coordinates":true} 
[2026-08-02 23:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137490176001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367543836399894528,"note":"Value kept but may cause issues"} 
[2026-08-02 23:27:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2111273400859867136,"note":"Value kept but may cause issues"} 
[2026-08-02 23:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785693329000,"timestamp_ms":1785693329000,"timestamp_seconds":1785693329,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39dd668"} 
[2026-08-02 23:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 23:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137490176001,"66":27343,"87":206,"83":43008,"24":46,"16":367543836399894528,"44":-2111273400859867136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-08-02 23:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137490176001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:27:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 23:27:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367543836399894528,"km_value":367543836399894.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:27:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2111273400859867136,"description":"Unknown IO ID 44"} 
[2026-08-02 23:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137490176001,"power":27343,"unknown_87":206,"unknown_83":43008,"ignition":46,"odometer":null,"unknown_44":-2111273400859867136}} 
[2026-08-02 23:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":147083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:27:31] local.INFO: GPS data processed {"connection_id":147083,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:27:31] local.INFO: Acknowledgment sent {"connection_id":147083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:28:05] local.INFO: TCP Data received {"connection_id":147083,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39f3210012ce3a3400724efd0000d008c30..."} 
[2026-08-02 23:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39f3210012ce3a3400724efd0000d008c30..."} 
[2026-08-02 23:28:05] local.INFO: Processing buffer {"connection_id":147083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39f3210012ce3a3400724efd0000d008c30..."} 
[2026-08-02 23:28:05] local.INFO: Packet analysis {"connection_id":147083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39f"} 
[2026-08-02 23:28:05] local.INFO: Extracted packet for processing {"connection_id":147083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39f"} 
[2026-08-02 23:28:05] local.INFO: GPS Element Parsed {"raw_longitude":753115968,"raw_latitude":119861200,"longitude_deg":75.3115968,"latitude_deg":11.98612,"altitude":13,"angle":140,"satellites":48,"speed":35,"hex_longitude":"2ce3a340","hex_latitude":"0724efd0","is_valid_coordinates":true} 
[2026-08-02 23: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-08-02 23:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137511424001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367547972453400576,"note":"Value kept but may cause issues"} 
[2026-08-02 23:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2050122962185693184,"note":"Value kept but may cause issues"} 
[2026-08-02 23:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785693418000,"timestamp_ms":1785693418000,"timestamp_seconds":1785693418,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39f3210"} 
[2026-08-02 23:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137511424001,"66":27321,"86":206,"83":43008,"24":35,"16":367547972453400576,"44":-2050122962185693184},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-08-02 23:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137511424001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:28:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-02 23:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367547972453400576,"km_value":367547972453400.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:28:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2050122962185693184,"description":"Unknown IO ID 44"} 
[2026-08-02 23:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137511424001,"power":27321,"unknown_86":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-2050122962185693184}} 
[2026-08-02 23:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":147083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:28:05] local.INFO: GPS data processed {"connection_id":147083,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:28:05] local.INFO: Acknowledgment sent {"connection_id":147083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:28:22] local.INFO: TCP Data received {"connection_id":146858,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:28:23] local.INFO: Processing buffer {"connection_id":146858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:28:23] local.INFO: IMEI packet received {"connection_id":146858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":146858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:28:28] local.INFO: TCP Data received {"connection_id":146858,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:28:28] local.INFO: Processing buffer {"connection_id":146858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:28:28] local.INFO: IMEI packet received {"connection_id":146858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":146858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:28:29] local.INFO: TCP Data received {"connection_id":146858,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39f5d08012ce3bc000724d368000b008b32..."} 
[2026-08-02 23:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39f5d08012ce3bc000724d368000b008b32..."} 
[2026-08-02 23:28:29] local.INFO: Processing buffer {"connection_id":146858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39f5d08012ce3bc000724d368000b008b32..."} 
[2026-08-02 23:28:29] local.INFO: Packet analysis {"connection_id":146858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39f"} 
[2026-08-02 23:28:29] local.INFO: Extracted packet for processing {"connection_id":146858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39f"} 
[2026-08-02 23:28:29] local.INFO: GPS Element Parsed {"raw_longitude":753122304,"raw_latitude":119853928,"longitude_deg":75.3122304,"latitude_deg":11.9853928,"altitude":11,"angle":139,"satellites":50,"speed":33,"hex_longitude":"2ce3bc00","hex_latitude":"0724d368","is_valid_coordinates":true} 
[2026-08-02 23:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137515008001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367548436309868544,"note":"Value kept but may cause issues"} 
[2026-08-02 23:28:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2043719406467428352,"note":"Value kept but may cause issues"} 
[2026-08-02 23:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785693429000,"timestamp_ms":1785693429000,"timestamp_seconds":1785693429,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39f5d08"} 
[2026-08-02 23:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 23:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137515008001,"66":27376,"86":206,"83":43008,"24":33,"16":367548436309868544,"44":-2043719406467428352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-08-02 23:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137515008001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:28:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-02 23:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367548436309868544,"km_value":367548436309868.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:28:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2043719406467428352,"description":"Unknown IO ID 44"} 
[2026-08-02 23:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137515008001,"power":27376,"unknown_86":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-2043719406467428352}} 
[2026-08-02 23:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":146858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:28:29] local.INFO: GPS data processed {"connection_id":146858,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:28:29] local.INFO: Acknowledgment sent {"connection_id":146858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:29:00] local.INFO: TCP Data received {"connection_id":146858,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39f8800012ce3d3c00724b7a8000b008a31..."} 
[2026-08-02 23:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39f8800012ce3d3c00724b7a8000b008a31..."} 
[2026-08-02 23:29:00] local.INFO: Processing buffer {"connection_id":146858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39f8800012ce3d3c00724b7a8000b008a31..."} 
[2026-08-02 23:29:00] local.INFO: Packet analysis {"connection_id":146858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39f"} 
[2026-08-02 23:29:00] local.INFO: Extracted packet for processing {"connection_id":146858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39f"} 
[2026-08-02 23:29:00] local.INFO: GPS Element Parsed {"raw_longitude":753128384,"raw_latitude":119846824,"longitude_deg":75.3128384,"latitude_deg":11.9846824,"altitude":11,"angle":138,"satellites":49,"speed":28,"hex_longitude":"2ce3d3c0","hex_latitude":"0724b7a8","is_valid_coordinates":true} 
[2026-08-02 23:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137517824001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367548887281434624,"note":"Value kept but may cause issues"} 
[2026-08-02 23:29:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2036752900795701248,"note":"Value kept but may cause issues"} 
[2026-08-02 23:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785693440000,"timestamp_ms":1785693440000,"timestamp_seconds":1785693440,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39f8800"} 
[2026-08-02 23:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 23:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137517824001,"66":27376,"86":206,"83":43008,"24":28,"16":367548887281434624,"44":-2036752900795701248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-08-02 23:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137517824001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:29:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-02 23:29:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367548887281434624,"km_value":367548887281434.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:29:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2036752900795701248,"description":"Unknown IO ID 44"} 
[2026-08-02 23:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137517824001,"power":27376,"unknown_86":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-2036752900795701248}} 
[2026-08-02 23:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":146858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:29:00] local.INFO: GPS data processed {"connection_id":146858,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:29:00] local.INFO: Acknowledgment sent {"connection_id":146858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:29:23] local.INFO: TCP Data received {"connection_id":149424,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:29:23] local.INFO: Processing buffer {"connection_id":149424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:29:23] local.INFO: IMEI packet received {"connection_id":149424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":149424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:29:27] local.INFO: TCP Data received {"connection_id":149424,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:29:27] local.INFO: Processing buffer {"connection_id":149424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:29:27] local.INFO: IMEI packet received {"connection_id":149424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":149424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:29:27] local.INFO: TCP Data received {"connection_id":149424,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39fb6e0012ce3ea0007249c28000a008e31..."} 
[2026-08-02 23:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39fb6e0012ce3ea0007249c28000a008e31..."} 
[2026-08-02 23:29:27] local.INFO: Processing buffer {"connection_id":149424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39fb6e0012ce3ea0007249c28000a008e31..."} 
[2026-08-02 23:29:27] local.INFO: Packet analysis {"connection_id":149424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39f"} 
[2026-08-02 23:29:27] local.INFO: Extracted packet for processing {"connection_id":149424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39f"} 
[2026-08-02 23:29:27] local.INFO: GPS Element Parsed {"raw_longitude":753134080,"raw_latitude":119839784,"longitude_deg":75.313408,"latitude_deg":11.9839784,"altitude":10,"angle":142,"satellites":49,"speed":30,"hex_longitude":"2ce3ea00","hex_latitude":"07249c28","is_valid_coordinates":true} 
[2026-08-02 23:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137520640001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367549321073131520,"note":"Value kept but may cause issues"} 
[2026-08-02 23:29:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2030067870100641792,"note":"Value kept but may cause issues"} 
[2026-08-02 23:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785693452000,"timestamp_ms":1785693452000,"timestamp_seconds":1785693452,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39fb6e0"} 
[2026-08-02 23:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 23:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137520640001,"66":27321,"86":206,"83":43008,"24":30,"16":367549321073131520,"44":-2030067870100641792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-08-02 23:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137520640001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:29:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-02 23:29:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367549321073131520,"km_value":367549321073131.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:29:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2030067870100641792,"description":"Unknown IO ID 44"} 
[2026-08-02 23:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137520640001,"power":27321,"unknown_86":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-2030067870100641792}} 
[2026-08-02 23:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":149424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:29:28] local.INFO: GPS data processed {"connection_id":149424,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:29:28] local.INFO: Acknowledgment sent {"connection_id":149424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:29:28] local.INFO: TCP Data received {"connection_id":149424,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc39fe5c0012ce40040072481300009008932..."} 
[2026-08-02 23:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc39fe5c0012ce40040072481300009008932..."} 
[2026-08-02 23:29:28] local.INFO: Processing buffer {"connection_id":149424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc39fe5c0012ce40040072481300009008932..."} 
[2026-08-02 23:29:28] local.INFO: Packet analysis {"connection_id":149424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc39f"} 
[2026-08-02 23:29:28] local.INFO: Extracted packet for processing {"connection_id":149424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc39f"} 
[2026-08-02 23:29:28] local.INFO: GPS Element Parsed {"raw_longitude":753139776,"raw_latitude":119832880,"longitude_deg":75.3139776,"latitude_deg":11.983288,"altitude":9,"angle":137,"satellites":50,"speed":30,"hex_longitude":"2ce40040","hex_latitude":"07248130","is_valid_coordinates":true} 
[2026-08-02 23: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-08-02 23:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137523712001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367549754864828416,"note":"Value kept but may cause issues"} 
[2026-08-02 23:29:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2023805051870631936,"note":"Value kept but may cause issues"} 
[2026-08-02 23:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785693464000,"timestamp_ms":1785693464000,"timestamp_seconds":1785693464,"priority":1,"record_length":96,"hex_timestamp":"0000019fc39fe5c0"} 
[2026-08-02 23:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 23:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23: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-08-02 23:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":149424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":149424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":149424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137523712001,"66":27365,"89":206,"83":43008,"24":30,"16":367549754864828416,"44":-2023805051870631936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-02 23:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137523712001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:29:28] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-02 23:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367549754864828416,"km_value":367549754864828.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:29:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2023805051870631936,"description":"Unknown IO ID 44"} 
[2026-08-02 23:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137523712001,"power":27365,"unknown_89":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-2023805051870631936}} 
[2026-08-02 23:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":149424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:29:28] local.INFO: GPS data processed {"connection_id":149424,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:29:28] local.INFO: Acknowledgment sent {"connection_id":149424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:30:02] local.INFO: TCP Data received {"connection_id":149424,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a014a0012ce41840072464c8000e009030..."} 
[2026-08-02 23:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a014a0012ce41840072464c8000e009030..."} 
[2026-08-02 23:30:02] local.INFO: Processing buffer {"connection_id":149424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a014a0012ce41840072464c8000e009030..."} 
[2026-08-02 23:30:02] local.INFO: Packet analysis {"connection_id":149424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a0"} 
[2026-08-02 23:30:02] local.INFO: Extracted packet for processing {"connection_id":149424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a0"} 
[2026-08-02 23:30:02] local.INFO: GPS Element Parsed {"raw_longitude":753145920,"raw_latitude":119825608,"longitude_deg":75.314592,"latitude_deg":11.9825608,"altitude":14,"angle":144,"satellites":48,"speed":31,"hex_longitude":"2ce41840","hex_latitude":"072464c8","is_valid_coordinates":true} 
[2026-08-02 23:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137526784001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367550210131361792,"note":"Value kept but may cause issues"} 
[2026-08-02 23:30:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2017542233640587264,"note":"Value kept but may cause issues"} 
[2026-08-02 23:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785693476000,"timestamp_ms":1785693476000,"timestamp_seconds":1785693476,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a014a0"} 
[2026-08-02 23:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 23:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137526784001,"66":27397,"89":206,"83":43008,"24":31,"16":367550210131361792,"44":-2017542233640587264},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-02 23:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137526784001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:30:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-02 23:30:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367550210131361792,"km_value":367550210131361.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:30:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2017542233640587264,"description":"Unknown IO ID 44"} 
[2026-08-02 23:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137526784001,"power":27397,"unknown_89":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-2017542233640587264}} 
[2026-08-02 23:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":149424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:30:02] local.INFO: GPS data processed {"connection_id":149424,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:30:02] local.INFO: Acknowledgment sent {"connection_id":149424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:30:21] local.INFO: TCP Data received {"connection_id":146859,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:30:21] local.INFO: Processing buffer {"connection_id":146859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:30:21] local.INFO: IMEI packet received {"connection_id":146859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":146859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:30:23] local.INFO: TCP Data received {"connection_id":146859,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:30:23] local.INFO: Processing buffer {"connection_id":146859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:30:23] local.INFO: IMEI packet received {"connection_id":146859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":146859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:30:24] local.INFO: TCP Data received {"connection_id":146859,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:30:24] local.INFO: Processing buffer {"connection_id":146859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:30:24] local.INFO: IMEI packet received {"connection_id":146859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":146859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:30:26] local.INFO: TCP Data received {"connection_id":146859,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:30:26] local.INFO: Processing buffer {"connection_id":146859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:30:26] local.INFO: IMEI packet received {"connection_id":146859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":146859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:30:27] local.INFO: TCP Data received {"connection_id":146859,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a187b8012ce4e680072373d00006007e2f..."} 
[2026-08-02 23:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a187b8012ce4e680072373d00006007e2f..."} 
[2026-08-02 23:30:27] local.INFO: Processing buffer {"connection_id":146859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a187b8012ce4e680072373d00006007e2f..."} 
[2026-08-02 23:30:27] local.INFO: Packet analysis {"connection_id":146859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a1"} 
[2026-08-02 23:30:27] local.INFO: Extracted packet for processing {"connection_id":146859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a1"} 
[2026-08-02 23:30:27] local.INFO: GPS Element Parsed {"raw_longitude":753198720,"raw_latitude":119763920,"longitude_deg":75.319872,"latitude_deg":11.976392,"altitude":6,"angle":126,"satellites":47,"speed":31,"hex_longitude":"2ce4e680","hex_latitude":"072373d0","is_valid_coordinates":true} 
[2026-08-02 23:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137552640001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367554157206306816,"note":"Value kept but may cause issues"} 
[2026-08-02 23:30:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1957728801106534400,"note":"Value kept but may cause issues"} 
[2026-08-02 23:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785693571000,"timestamp_ms":1785693571000,"timestamp_seconds":1785693571,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a187b8"} 
[2026-08-02 23:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 23:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137552640001,"66":27397,"87":206,"83":43008,"24":31,"16":367554157206306816,"44":-1957728801106534400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-08-02 23:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137552640001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:30:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 23:30:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367554157206306816,"km_value":367554157206306.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:30:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1957728801106534400,"description":"Unknown IO ID 44"} 
[2026-08-02 23:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137552640001,"power":27397,"unknown_87":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1957728801106534400}} 
[2026-08-02 23:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":146859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:30:27] local.INFO: GPS data processed {"connection_id":146859,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:30:27] local.INFO: Acknowledgment sent {"connection_id":146859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:30:28] local.INFO: TCP Data received {"connection_id":146859,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a1b698012ce4f380072368480007009831..."} 
[2026-08-02 23:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a1b698012ce4f380072368480007009831..."} 
[2026-08-02 23:30:28] local.INFO: Processing buffer {"connection_id":146859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a1b698012ce4f380072368480007009831..."} 
[2026-08-02 23:30:28] local.INFO: Packet analysis {"connection_id":146859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a1"} 
[2026-08-02 23:30:28] local.INFO: Extracted packet for processing {"connection_id":146859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a1"} 
[2026-08-02 23:30:28] local.INFO: GPS Element Parsed {"raw_longitude":753202048,"raw_latitude":119760968,"longitude_deg":75.3202048,"latitude_deg":11.9760968,"altitude":7,"angle":152,"satellites":49,"speed":8,"hex_longitude":"2ce4f380","hex_latitude":"07236848","is_valid_coordinates":true} 
[2026-08-02 23:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137554176001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367554371954671616,"note":"Value kept but may cause issues"} 
[2026-08-02 23:30:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1952732620270612480,"note":"Value kept but may cause issues"} 
[2026-08-02 23:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785693583000,"timestamp_ms":1785693583000,"timestamp_seconds":1785693583,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a1b698"} 
[2026-08-02 23:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 23:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":146859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":146859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":146859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137554176001,"66":27093,"87":206,"83":43008,"24":8,"16":367554371954671616,"44":-1952732620270612480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-08-02 23:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137554176001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:30:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 23:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367554371954671616,"km_value":367554371954671.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:30:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1952732620270612480,"description":"Unknown IO ID 44"} 
[2026-08-02 23:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137554176001,"power":27093,"unknown_87":206,"unknown_83":43008,"ignition":8,"odometer":null,"unknown_44":-1952732620270612480}} 
[2026-08-02 23:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":146859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:30:28] local.INFO: GPS data processed {"connection_id":146859,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:30:28] local.INFO: Acknowledgment sent {"connection_id":146859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:31:04] local.INFO: TCP Data received {"connection_id":146859,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a1c250012ce4f500072365f00007008430..."} 
[2026-08-02 23:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a1c250012ce4f500072365f00007008430..."} 
[2026-08-02 23:31:04] local.INFO: Processing buffer {"connection_id":146859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a1c250012ce4f500072365f00007008430..."} 
[2026-08-02 23:31:04] local.INFO: Packet analysis {"connection_id":146859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a1"} 
[2026-08-02 23:31:04] local.INFO: Extracted packet for processing {"connection_id":146859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a1"} 
[2026-08-02 23:31:04] local.INFO: GPS Element Parsed {"raw_longitude":753202432,"raw_latitude":119760368,"longitude_deg":75.3202432,"latitude_deg":11.9760368,"altitude":7,"angle":132,"satellites":48,"speed":10,"hex_longitude":"2ce4f500","hex_latitude":"072365f0","is_valid_coordinates":true} 
[2026-08-02 23:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137557248001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367554406314409984,"note":"Value kept but may cause issues"} 
[2026-08-02 23:31:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1949073445574129664,"note":"Value kept but may cause issues"} 
[2026-08-02 23:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785693586000,"timestamp_ms":1785693586000,"timestamp_seconds":1785693586,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a1c250"} 
[2026-08-02 23:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-02 23:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2640,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137557248001,"66":27321,"87":206,"83":43008,"24":10,"16":367554406314409984,"44":-1949073445574129664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-08-02 23:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137557248001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:31:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 23:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367554406314409984,"km_value":367554406314410.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:31:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1949073445574129664,"description":"Unknown IO ID 44"} 
[2026-08-02 23:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137557248001,"power":27321,"unknown_87":206,"unknown_83":43008,"ignition":10,"odometer":null,"unknown_44":-1949073445574129664}} 
[2026-08-02 23:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":146859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:31:04] local.INFO: GPS data processed {"connection_id":146859,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:31:04] local.INFO: Acknowledgment sent {"connection_id":146859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:31:23] local.INFO: TCP Data received {"connection_id":149425,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:31:23] local.INFO: Processing buffer {"connection_id":149425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:31:23] local.INFO: IMEI packet received {"connection_id":149425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":149425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:31:31] local.INFO: TCP Data received {"connection_id":149425,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:31:31] local.INFO: Processing buffer {"connection_id":149425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:31:31] local.INFO: IMEI packet received {"connection_id":149425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":149425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:31:33] local.INFO: TCP Data received {"connection_id":149425,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a1ca20012ce4f700072364980007007531..."} 
[2026-08-02 23:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a1ca20012ce4f700072364980007007531..."} 
[2026-08-02 23:31:33] local.INFO: Processing buffer {"connection_id":149425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a1ca20012ce4f700072364980007007531..."} 
[2026-08-02 23:31:33] local.INFO: Packet analysis {"connection_id":149425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a1"} 
[2026-08-02 23:31:33] local.INFO: Extracted packet for processing {"connection_id":149425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a1"} 
[2026-08-02 23:31:33] local.INFO: GPS Element Parsed {"raw_longitude":753202944,"raw_latitude":119760024,"longitude_deg":75.3202944,"latitude_deg":11.9760024,"altitude":7,"angle":117,"satellites":49,"speed":13,"hex_longitude":"2ce4f700","hex_latitude":"07236498","is_valid_coordinates":true} 
[2026-08-02 23:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137558016001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367554436379181056,"note":"Value kept but may cause issues"} 
[2026-08-02 23:31:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1948651233109217280,"note":"Value kept but may cause issues"} 
[2026-08-02 23:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785693588000,"timestamp_ms":1785693588000,"timestamp_seconds":1785693588,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a1ca20"} 
[2026-08-02 23:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23: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-08-02 23:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 23:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137558016001,"66":27234,"87":206,"83":43008,"24":13,"16":367554436379181056,"44":-1948651233109217280},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-08-02 23:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137558016001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:31:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-02 23:31:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367554436379181056,"km_value":367554436379181.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:31:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1948651233109217280,"description":"Unknown IO ID 44"} 
[2026-08-02 23:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137558016001,"power":27234,"unknown_87":206,"unknown_83":43008,"ignition":13,"odometer":null,"unknown_44":-1948651233109217280}} 
[2026-08-02 23:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":149425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:31:33] local.INFO: GPS data processed {"connection_id":149425,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:31:33] local.INFO: Acknowledgment sent {"connection_id":149425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:32:23] local.INFO: TCP Data received {"connection_id":147084,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:32:23] local.INFO: Processing buffer {"connection_id":147084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:32:23] local.INFO: IMEI packet received {"connection_id":147084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":147084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:32:23] local.INFO: TCP Data received {"connection_id":147084,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:32:23] local.INFO: Processing buffer {"connection_id":147084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:32:23] local.INFO: IMEI packet received {"connection_id":147084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":147084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:32:28] local.INFO: TCP Data received {"connection_id":147084,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:32:28] local.INFO: Processing buffer {"connection_id":147084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:32:28] local.INFO: IMEI packet received {"connection_id":147084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":147084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:32:29] local.INFO: TCP Data received {"connection_id":147084,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a354a8012ce5d60007224e000009008d32..."} 
[2026-08-02 23:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a354a8012ce5d60007224e000009008d32..."} 
[2026-08-02 23:32:29] local.INFO: Processing buffer {"connection_id":147084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a354a8012ce5d60007224e000009008d32..."} 
[2026-08-02 23:32:29] local.INFO: Packet analysis {"connection_id":147084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a3"} 
[2026-08-02 23:32:29] local.INFO: Extracted packet for processing {"connection_id":147084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a3"} 
[2026-08-02 23:32:29] local.INFO: GPS Element Parsed {"raw_longitude":753260032,"raw_latitude":119688704,"longitude_deg":75.3260032,"latitude_deg":11.9688704,"altitude":9,"angle":141,"satellites":50,"speed":46,"hex_longitude":"2ce5d600","hex_latitude":"07224e00","is_valid_coordinates":true} 
[2026-08-02 23:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137582336001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367558864490463232,"note":"Value kept but may cause issues"} 
[2026-08-02 23:32:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1891511812853510144,"note":"Value kept but may cause issues"} 
[2026-08-02 23:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785693689000,"timestamp_ms":1785693689000,"timestamp_seconds":1785693689,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a354a8"} 
[2026-08-02 23:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 23:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137582336001,"66":27397,"156":206,"83":43008,"24":46,"16":367558864490463232,"44":-1891511812853510144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,44]} 
[2026-08-02 23:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137582336001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:32:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-02 23:32:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367558864490463232,"km_value":367558864490463.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:32:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1891511812853510144,"description":"Unknown IO ID 44"} 
[2026-08-02 23:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137582336001,"power":27397,"unknown_156":206,"unknown_83":43008,"ignition":46,"odometer":null,"unknown_44":-1891511812853510144}} 
[2026-08-02 23:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":147084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:32:29] local.INFO: GPS data processed {"connection_id":147084,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:32:29] local.INFO: Acknowledgment sent {"connection_id":147084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:33:00] local.INFO: TCP Data received {"connection_id":147084,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a373e8012ce5edc0072230f00008008d32..."} 
[2026-08-02 23:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a373e8012ce5edc0072230f00008008d32..."} 
[2026-08-02 23:33:00] local.INFO: Processing buffer {"connection_id":147084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a373e8012ce5edc0072230f00008008d32..."} 
[2026-08-02 23:33:00] local.INFO: Packet analysis {"connection_id":147084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a3"} 
[2026-08-02 23:33:00] local.INFO: Extracted packet for processing {"connection_id":147084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a3"} 
[2026-08-02 23:33:00] local.INFO: GPS Element Parsed {"raw_longitude":753266112,"raw_latitude":119681264,"longitude_deg":75.3266112,"latitude_deg":11.9681264,"altitude":8,"angle":141,"satellites":50,"speed":47,"hex_longitude":"2ce5edc0","hex_latitude":"072230f0","is_valid_coordinates":true} 
[2026-08-02 23: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-08-02 23:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137584384001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367559328346931200,"note":"Value kept but may cause issues"} 
[2026-08-02 23:33:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1885319363367665664,"note":"Value kept but may cause issues"} 
[2026-08-02 23:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785693697000,"timestamp_ms":1785693697000,"timestamp_seconds":1785693697,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a373e8"} 
[2026-08-02 23:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 23:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23: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-08-02 23:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137584384001,"66":27397,"156":206,"83":43008,"24":47,"16":367559328346931200,"44":-1885319363367665664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,44]} 
[2026-08-02 23:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137584384001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:33:00] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-02 23:33:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367559328346931200,"km_value":367559328346931.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:33:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1885319363367665664,"description":"Unknown IO ID 44"} 
[2026-08-02 23:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137584384001,"power":27397,"unknown_156":206,"unknown_83":43008,"ignition":47,"odometer":null,"unknown_44":-1885319363367665664}} 
[2026-08-02 23:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":147084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:33:00] local.INFO: GPS data processed {"connection_id":147084,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:33:00] local.INFO: Acknowledgment sent {"connection_id":147084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:33:22] local.INFO: TCP Data received {"connection_id":147085,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:33:22] local.INFO: Processing buffer {"connection_id":147085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:33:22] local.INFO: IMEI packet received {"connection_id":147085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":147085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:33:24] local.INFO: TCP Data received {"connection_id":147085,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:33:24] local.INFO: Processing buffer {"connection_id":147085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:33:24] local.INFO: IMEI packet received {"connection_id":147085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":147085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:33:27] local.INFO: TCP Data received {"connection_id":147085,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:33:27] local.INFO: Processing buffer {"connection_id":147085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:33:27] local.INFO: IMEI packet received {"connection_id":147085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":147085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:33:28] local.INFO: TCP Data received {"connection_id":147085,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a39328012ce60640072213d00008008e30..."} 
[2026-08-02 23:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a39328012ce60640072213d00008008e30..."} 
[2026-08-02 23:33:28] local.INFO: Processing buffer {"connection_id":147085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a39328012ce60640072213d00008008e30..."} 
[2026-08-02 23:33:28] local.INFO: Packet analysis {"connection_id":147085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a3"} 
[2026-08-02 23:33:28] local.INFO: Extracted packet for processing {"connection_id":147085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a3"} 
[2026-08-02 23:33:28] local.INFO: GPS Element Parsed {"raw_longitude":753272384,"raw_latitude":119673808,"longitude_deg":75.3272384,"latitude_deg":11.9673808,"altitude":8,"angle":142,"satellites":48,"speed":46,"hex_longitude":"2ce60640","hex_latitude":"072213d0","is_valid_coordinates":true} 
[2026-08-02 23:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137586432001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367559796498366464,"note":"Value kept but may cause issues"} 
[2026-08-02 23:33:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1878634332672692224,"note":"Value kept but may cause issues"} 
[2026-08-02 23:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785693705000,"timestamp_ms":1785693705000,"timestamp_seconds":1785693705,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a39328"} 
[2026-08-02 23:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 23:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137586432001,"66":27397,"156":206,"83":43008,"24":46,"16":367559796498366464,"44":-1878634332672692224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,44]} 
[2026-08-02 23:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137586432001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:33:28] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-02 23:33:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367559796498366464,"km_value":367559796498366.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:33:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1878634332672692224,"description":"Unknown IO ID 44"} 
[2026-08-02 23:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137586432001,"power":27397,"unknown_156":206,"unknown_83":43008,"ignition":46,"odometer":null,"unknown_44":-1878634332672692224}} 
[2026-08-02 23:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":147085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:33:28] local.INFO: GPS data processed {"connection_id":147085,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:33:28] local.INFO: Acknowledgment sent {"connection_id":147085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:33:33] local.INFO: TCP Data received {"connection_id":147085,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a3b268012ce61a800721f6600008009533..."} 
[2026-08-02 23:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a3b268012ce61a800721f6600008009533..."} 
[2026-08-02 23:33:33] local.INFO: Processing buffer {"connection_id":147085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a3b268012ce61a800721f6600008009533..."} 
[2026-08-02 23:33:33] local.INFO: Packet analysis {"connection_id":147085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a3"} 
[2026-08-02 23:33:33] local.INFO: Extracted packet for processing {"connection_id":147085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a3"} 
[2026-08-02 23:33:33] local.INFO: GPS Element Parsed {"raw_longitude":753277568,"raw_latitude":119666272,"longitude_deg":75.3277568,"latitude_deg":11.9666272,"altitude":8,"angle":149,"satellites":51,"speed":45,"hex_longitude":"2ce61a80","hex_latitude":"0721f660","is_valid_coordinates":true} 
[2026-08-02 23:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137588480001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367560238879997952,"note":"Value kept but may cause issues"} 
[2026-08-02 23:33:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1871738195745189888,"note":"Value kept but may cause issues"} 
[2026-08-02 23:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785693713000,"timestamp_ms":1785693713000,"timestamp_seconds":1785693713,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a3b268"} 
[2026-08-02 23:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 23:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137588480001,"66":27365,"157":206,"83":43008,"24":45,"16":367560238879997952,"44":-1871738195745189888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-08-02 23:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137588480001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:33:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-02 23:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367560238879997952,"km_value":367560238879997.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:33:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1871738195745189888,"description":"Unknown IO ID 44"} 
[2026-08-02 23:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137588480001,"power":27365,"unknown_157":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1871738195745189888}} 
[2026-08-02 23:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":147085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:33:33] local.INFO: GPS data processed {"connection_id":147085,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:33:33] local.INFO: Acknowledgment sent {"connection_id":147085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:34:04] local.INFO: TCP Data received {"connection_id":147085,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a3d1a8012ce62d400721d8680009009033..."} 
[2026-08-02 23:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a3d1a8012ce62d400721d8680009009033..."} 
[2026-08-02 23:34:04] local.INFO: Processing buffer {"connection_id":147085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a3d1a8012ce62d400721d8680009009033..."} 
[2026-08-02 23:34:04] local.INFO: Packet analysis {"connection_id":147085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a3"} 
[2026-08-02 23:34:04] local.INFO: Extracted packet for processing {"connection_id":147085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a3"} 
[2026-08-02 23:34:04] local.INFO: GPS Element Parsed {"raw_longitude":753282368,"raw_latitude":119658600,"longitude_deg":75.3282368,"latitude_deg":11.96586,"altitude":9,"angle":144,"satellites":51,"speed":44,"hex_longitude":"2ce62d40","hex_latitude":"0721d868","is_valid_coordinates":true} 
[2026-08-02 23:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137590528001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367560672671694848,"note":"Value kept but may cause issues"} 
[2026-08-02 23:34:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1866038327468728320,"note":"Value kept but may cause issues"} 
[2026-08-02 23:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785693721000,"timestamp_ms":1785693721000,"timestamp_seconds":1785693721,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a3d1a8"} 
[2026-08-02 23:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 23:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137590528001,"66":27321,"157":206,"83":43008,"24":44,"16":367560672671694848,"44":-1866038327468728320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-08-02 23:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137590528001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:34:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-02 23:34:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367560672671694848,"km_value":367560672671694.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:34:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1866038327468728320,"description":"Unknown IO ID 44"} 
[2026-08-02 23:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137590528001,"power":27321,"unknown_157":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1866038327468728320}} 
[2026-08-02 23:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":147085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:34:04] local.INFO: GPS data processed {"connection_id":147085,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:34:04] local.INFO: Acknowledgment sent {"connection_id":147085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:34:22] local.INFO: TCP Data received {"connection_id":146860,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:34:22] local.INFO: Processing buffer {"connection_id":146860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:34:22] local.INFO: IMEI packet received {"connection_id":146860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":146860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:34:28] local.INFO: TCP Data received {"connection_id":146860,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:34:28] local.INFO: Processing buffer {"connection_id":146860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:34:28] local.INFO: IMEI packet received {"connection_id":146860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":146860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:34:29] local.INFO: TCP Data received {"connection_id":146860,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a3f4d0012ce645800721b988000a008e32..."} 
[2026-08-02 23:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a3f4d0012ce645800721b988000a008e32..."} 
[2026-08-02 23:34:29] local.INFO: Processing buffer {"connection_id":146860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a3f4d0012ce645800721b988000a008e32..."} 
[2026-08-02 23:34:29] local.INFO: Packet analysis {"connection_id":146860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a3"} 
[2026-08-02 23:34:29] local.INFO: Extracted packet for processing {"connection_id":146860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a3"} 
[2026-08-02 23:34:29] local.INFO: GPS Element Parsed {"raw_longitude":753288576,"raw_latitude":119650696,"longitude_deg":75.3288576,"latitude_deg":11.9650696,"altitude":10,"angle":142,"satellites":50,"speed":43,"hex_longitude":"2ce64580","hex_latitude":"0721b988","is_valid_coordinates":true} 
[2026-08-02 23:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137592576001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367561158002999296,"note":"Value kept but may cause issues"} 
[2026-08-02 23:34:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1860760671657367552,"note":"Value kept but may cause issues"} 
[2026-08-02 23:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785693730000,"timestamp_ms":1785693730000,"timestamp_seconds":1785693730,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a3f4d0"} 
[2026-08-02 23:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 23:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137592576001,"66":27604,"157":206,"83":43008,"24":43,"16":367561158002999296,"44":-1860760671657367552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-08-02 23:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137592576001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:34:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-02 23:34:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367561158002999296,"km_value":367561158002999.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:34:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1860760671657367552,"description":"Unknown IO ID 44"} 
[2026-08-02 23:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137592576001,"power":27604,"unknown_157":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1860760671657367552}} 
[2026-08-02 23:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":146860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:34:29] local.INFO: GPS data processed {"connection_id":146860,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:34:29] local.INFO: Acknowledgment sent {"connection_id":146860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:35:00] local.INFO: TCP Data received {"connection_id":146860,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a417f8012ce65c8007219b500009008e33..."} 
[2026-08-02 23:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a417f8012ce65c8007219b500009008e33..."} 
[2026-08-02 23:35:00] local.INFO: Processing buffer {"connection_id":146860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a417f8012ce65c8007219b500009008e33..."} 
[2026-08-02 23:35:00] local.INFO: Packet analysis {"connection_id":146860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a4"} 
[2026-08-02 23:35:00] local.INFO: Extracted packet for processing {"connection_id":146860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a4"} 
[2026-08-02 23:35:00] local.INFO: GPS Element Parsed {"raw_longitude":753294464,"raw_latitude":119642960,"longitude_deg":75.3294464,"latitude_deg":11.964296,"altitude":9,"angle":142,"satellites":51,"speed":43,"hex_longitude":"2ce65c80","hex_latitude":"07219b50","is_valid_coordinates":true} 
[2026-08-02 23:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137594880001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367561621859467264,"note":"Value kept but may cause issues"} 
[2026-08-02 23:35:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1853934903474157568,"note":"Value kept but may cause issues"} 
[2026-08-02 23:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785693739000,"timestamp_ms":1785693739000,"timestamp_seconds":1785693739,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a417f8"} 
[2026-08-02 23:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-02 23:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137594880001,"66":27865,"156":206,"83":43008,"24":43,"16":367561621859467264,"44":-1853934903474157568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,44]} 
[2026-08-02 23:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137594880001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:35:00] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-02 23:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367561621859467264,"km_value":367561621859467.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:35:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1853934903474157568,"description":"Unknown IO ID 44"} 
[2026-08-02 23:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137594880001,"power":27865,"unknown_156":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1853934903474157568}} 
[2026-08-02 23:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":146860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:35:00] local.INFO: GPS data processed {"connection_id":146860,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:35:00] local.INFO: Acknowledgment sent {"connection_id":146860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:35:27] local.INFO: TCP Data received {"connection_id":147086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:35:27] local.INFO: Processing buffer {"connection_id":147086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:35:27] local.INFO: IMEI packet received {"connection_id":147086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":147086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:35:32] local.INFO: TCP Data received {"connection_id":147086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:35:32] local.INFO: Processing buffer {"connection_id":147086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:35:32] local.INFO: IMEI packet received {"connection_id":147086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":147086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:35:33] local.INFO: TCP Data received {"connection_id":147086,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a43738012ce6714007217eb00009009030..."} 
[2026-08-02 23:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a43738012ce6714007217eb00009009030..."} 
[2026-08-02 23:35:33] local.INFO: Processing buffer {"connection_id":147086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a43738012ce6714007217eb00009009030..."} 
[2026-08-02 23:35:33] local.INFO: Packet analysis {"connection_id":147086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a4"} 
[2026-08-02 23:35:33] local.INFO: Extracted packet for processing {"connection_id":147086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a4"} 
[2026-08-02 23:35:33] local.INFO: GPS Element Parsed {"raw_longitude":753299776,"raw_latitude":119635632,"longitude_deg":75.3299776,"latitude_deg":11.9635632,"altitude":9,"angle":144,"satellites":48,"speed":43,"hex_longitude":"2ce67140","hex_latitude":"07217eb0","is_valid_coordinates":true} 
[2026-08-02 23:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137597184001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367562059946131456,"note":"Value kept but may cause issues"} 
[2026-08-02 23:35:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1847460979011792896,"note":"Value kept but may cause issues"} 
[2026-08-02 23:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785693747000,"timestamp_ms":1785693747000,"timestamp_seconds":1785693747,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a43738"} 
[2026-08-02 23:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 23:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137597184001,"66":27876,"67":206,"83":43008,"24":43,"16":367562059946131456,"44":-1847460979011792896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-02 23:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137597184001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:35:33] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-02 23:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367562059946131456,"km_value":367562059946131.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:35:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1847460979011792896,"description":"Unknown IO ID 44"} 
[2026-08-02 23:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137597184001,"power":27876,"unknown_67":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1847460979011792896}} 
[2026-08-02 23:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":147086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:35:33] local.INFO: GPS data processed {"connection_id":147086,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:35:33] local.INFO: Acknowledgment sent {"connection_id":147086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:35:38] local.INFO: TCP Data received {"connection_id":147086,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a45a60012ce6868007216188000a009130..."} 
[2026-08-02 23:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a45a60012ce6868007216188000a009130..."} 
[2026-08-02 23:35:38] local.INFO: Processing buffer {"connection_id":147086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a45a60012ce6868007216188000a009130..."} 
[2026-08-02 23:35:38] local.INFO: Packet analysis {"connection_id":147086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a4"} 
[2026-08-02 23:35:38] local.INFO: Extracted packet for processing {"connection_id":147086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a4"} 
[2026-08-02 23:35:38] local.INFO: GPS Element Parsed {"raw_longitude":753305216,"raw_latitude":119628168,"longitude_deg":75.3305216,"latitude_deg":11.9628168,"altitude":10,"angle":145,"satellites":48,"speed":39,"hex_longitude":"2ce68680","hex_latitude":"07216188","is_valid_coordinates":true} 
[2026-08-02 23:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137599232001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367562502327762944,"note":"Value kept but may cause issues"} 
[2026-08-02 23:35:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1841620373246922752,"note":"Value kept but may cause issues"} 
[2026-08-02 23:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785693756000,"timestamp_ms":1785693756000,"timestamp_seconds":1785693756,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a45a60"} 
[2026-08-02 23:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":228,"data_length":795,"current_offset":136} 
[2026-08-02 23:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137599232001,"66":27865,"67":206,"83":43008,"24":39,"16":367562502327762944,"44":-1841620373246922752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-02 23:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137599232001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:35:38] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-02 23:35:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367562502327762944,"km_value":367562502327762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:35:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1841620373246922752,"description":"Unknown IO ID 44"} 
[2026-08-02 23:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137599232001,"power":27865,"unknown_67":206,"unknown_83":43008,"ignition":39,"odometer":null,"unknown_44":-1841620373246922752}} 
[2026-08-02 23:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":147086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:35:38] local.INFO: GPS data processed {"connection_id":147086,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:35:38] local.INFO: Acknowledgment sent {"connection_id":147086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:36:22] local.INFO: TCP Data received {"connection_id":148121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:36:22] local.INFO: Processing buffer {"connection_id":148121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:36:22] local.INFO: IMEI packet received {"connection_id":148121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":148121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:36:27] local.INFO: TCP Data received {"connection_id":148121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:36:27] local.INFO: Processing buffer {"connection_id":148121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:36:27] local.INFO: IMEI packet received {"connection_id":148121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":148121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:36:28] local.INFO: TCP Data received {"connection_id":148121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a475b8012ce693c007214fd8000a008432..."} 
[2026-08-02 23:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a475b8012ce693c007214fd8000a008432..."} 
[2026-08-02 23:36:28] local.INFO: Processing buffer {"connection_id":148121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a475b8012ce693c007214fd8000a008432..."} 
[2026-08-02 23:36:28] local.INFO: Packet analysis {"connection_id":148121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a4"} 
[2026-08-02 23:36:28] local.INFO: Extracted packet for processing {"connection_id":148121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a4"} 
[2026-08-02 23:36:28] local.INFO: GPS Element Parsed {"raw_longitude":753308608,"raw_latitude":119623640,"longitude_deg":75.3308608,"latitude_deg":11.962364,"altitude":10,"angle":132,"satellites":50,"speed":18,"hex_longitude":"2ce693c0","hex_latitude":"07214fd8","is_valid_coordinates":true} 
[2026-08-02 23:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137601536001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367562777205669888,"note":"Value kept but may cause issues"} 
[2026-08-02 23:36:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1835639029993732096,"note":"Value kept but may cause issues"} 
[2026-08-02 23:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785693763000,"timestamp_ms":1785693763000,"timestamp_seconds":1785693763,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a475b8"} 
[2026-08-02 23:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-02 23:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":148121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":148121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":148121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137601536001,"66":27767,"67":206,"83":43008,"24":18,"16":367562777205669888,"44":-1835639029993732096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-02 23:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137601536001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:36:28] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-02 23:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367562777205669888,"km_value":367562777205669.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:36:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1835639029993732096,"description":"Unknown IO ID 44"} 
[2026-08-02 23:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137601536001,"power":27767,"unknown_67":206,"unknown_83":43008,"ignition":18,"odometer":null,"unknown_44":-1835639029993732096}} 
[2026-08-02 23:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":148121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:36:28] local.INFO: GPS data processed {"connection_id":148121,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:36:28] local.INFO: Acknowledgment sent {"connection_id":148121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:36:59] local.INFO: TCP Data received {"connection_id":148121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3a48170012ce6968007214d08000a009a33..."} 
[2026-08-02 23:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3a48170012ce6968007214d08000a009a33..."} 
[2026-08-02 23:36:59] local.INFO: Processing buffer {"connection_id":148121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3a48170012ce6968007214d08000a009a33..."} 
[2026-08-02 23:36:59] local.INFO: Packet analysis {"connection_id":148121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3a4"} 
[2026-08-02 23:36:59] local.INFO: Extracted packet for processing {"connection_id":148121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3a4"} 
[2026-08-02 23:36:59] local.INFO: GPS Element Parsed {"raw_longitude":753309312,"raw_latitude":119622920,"longitude_deg":75.3309312,"latitude_deg":11.962292,"altitude":10,"angle":154,"satellites":51,"speed":9,"hex_longitude":"2ce69680","hex_latitude":"07214d08","is_valid_coordinates":true} 
[2026-08-02 23:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137603328001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367562824450310144,"note":"Value kept but may cause issues"} 
[2026-08-02 23:36:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1831909486553475072,"note":"Value kept but may cause issues"} 
[2026-08-02 23:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785693766000,"timestamp_ms":1785693766000,"timestamp_seconds":1785693766,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3a48170"} 
[2026-08-02 23:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-02 23:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137603328001,"66":27767,"67":206,"83":43008,"24":9,"16":367562824450310144,"44":-1831909486553475072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-02 23:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137603328001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:36:59] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-02 23:36:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367562824450310144,"km_value":367562824450310.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:36:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1831909486553475072,"description":"Unknown IO ID 44"} 
[2026-08-02 23:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137603328001,"power":27767,"unknown_67":206,"unknown_83":43008,"ignition":9,"odometer":null,"unknown_44":-1831909486553475072}} 
[2026-08-02 23:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":148121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:36:59] local.INFO: GPS data processed {"connection_id":148121,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:36:59] local.INFO: Acknowledgment sent {"connection_id":148121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:37:22] local.INFO: TCP Data received {"connection_id":147087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:37:22] local.INFO: Processing buffer {"connection_id":147087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:37:22] local.INFO: IMEI packet received {"connection_id":147087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":147087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:37:26] local.INFO: TCP Data received {"connection_id":147087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:37:26] local.INFO: Processing buffer {"connection_id":147087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:37:26] local.INFO: IMEI packet received {"connection_id":147087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":147087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:37:27] local.INFO: TCP Data received {"connection_id":147087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:37:27] local.INFO: Processing buffer {"connection_id":147087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:37:27] local.INFO: IMEI packet received {"connection_id":147087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":147087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:37:28] local.INFO: TCP Data received {"connection_id":147087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:37:28] local.INFO: Processing buffer {"connection_id":147087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:37:28] local.INFO: IMEI packet received {"connection_id":147087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":147087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:42:35] local.INFO: TCP Data received {"connection_id":146862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:42:35] local.INFO: Processing buffer {"connection_id":146862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:42:35] local.INFO: IMEI packet received {"connection_id":146862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":146862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:42:35] local.INFO: TCP Data received {"connection_id":146862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3ac3618012ce90100071df690000e007131..."} 
[2026-08-02 23:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3ac3618012ce90100071df690000e007131..."} 
[2026-08-02 23:42:35] local.INFO: Processing buffer {"connection_id":146862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3ac3618012ce90100071df690000e007131..."} 
[2026-08-02 23:42:35] local.INFO: Packet analysis {"connection_id":146862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3ac"} 
[2026-08-02 23:42:35] local.INFO: Extracted packet for processing {"connection_id":146862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3ac"} 
[2026-08-02 23:42:35] local.INFO: GPS Element Parsed {"raw_longitude":753467648,"raw_latitude":119404176,"longitude_deg":75.3467648,"latitude_deg":11.9404176,"altitude":14,"angle":113,"satellites":49,"speed":23,"hex_longitude":"2ce90100","hex_latitude":"071df690","is_valid_coordinates":true} 
[2026-08-02 23:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137729536001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367576061539516416,"note":"Value kept but may cause issues"} 
[2026-08-02 23:42:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1665979987837657088,"note":"Value kept but may cause issues"} 
[2026-08-02 23:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785694271000,"timestamp_ms":1785694271000,"timestamp_seconds":1785694271,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3ac3618"} 
[2026-08-02 23:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 23:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137729536001,"66":27213,"111":206,"83":43008,"24":23,"16":367576061539516416,"44":-1665979987837657088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-08-02 23:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137729536001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:42:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-02 23:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367576061539516416,"km_value":367576061539516.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:42:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1665979987837657088,"description":"Unknown IO ID 44"} 
[2026-08-02 23:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137729536001,"power":27213,"unknown_111":206,"unknown_83":43008,"ignition":23,"odometer":null,"unknown_44":-1665979987837657088}} 
[2026-08-02 23:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":146862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:42:36] local.INFO: GPS data processed {"connection_id":146862,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:42:36] local.INFO: Acknowledgment sent {"connection_id":146862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:43:07] local.INFO: TCP Data received {"connection_id":146862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3ac68e0012ce91e80071de7b0000e007e32..."} 
[2026-08-02 23:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3ac68e0012ce91e80071de7b0000e007e32..."} 
[2026-08-02 23:43:07] local.INFO: Processing buffer {"connection_id":146862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3ac68e0012ce91e80071de7b0000e007e32..."} 
[2026-08-02 23:43:07] local.INFO: Packet analysis {"connection_id":146862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3ac"} 
[2026-08-02 23:43:07] local.INFO: Extracted packet for processing {"connection_id":146862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3ac"} 
[2026-08-02 23:43:07] local.INFO: GPS Element Parsed {"raw_longitude":753475200,"raw_latitude":119400368,"longitude_deg":75.34752,"latitude_deg":11.9400368,"altitude":14,"angle":126,"satellites":50,"speed":23,"hex_longitude":"2ce91e80","hex_latitude":"071de7b0","is_valid_coordinates":true} 
[2026-08-02 23:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137733376001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367576465266442240,"note":"Value kept but may cause issues"} 
[2026-08-02 23:43:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1657043157328162816,"note":"Value kept but may cause issues"} 
[2026-08-02 23:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785694284000,"timestamp_ms":1785694284000,"timestamp_seconds":1785694284,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3ac68e0"} 
[2026-08-02 23:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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-08-02 23: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-08-02 23:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23: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-08-02 23:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137733376001,"66":27343,"109":206,"83":43008,"24":23,"16":367576465266442240,"44":-1657043157328162816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-08-02 23:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137733376001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:43:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-02 23:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367576465266442240,"km_value":367576465266442.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:43:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1657043157328162816,"description":"Unknown IO ID 44"} 
[2026-08-02 23:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137733376001,"power":27343,"unknown_109":206,"unknown_83":43008,"ignition":23,"odometer":null,"unknown_44":-1657043157328162816}} 
[2026-08-02 23:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":146862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:43:07] local.INFO: GPS data processed {"connection_id":146862,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:43:07] local.INFO: Acknowledgment sent {"connection_id":146862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:43:29] local.INFO: TCP Data received {"connection_id":146863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:43:29] local.INFO: Processing buffer {"connection_id":146863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:43:29] local.INFO: IMEI packet received {"connection_id":146863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":146863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:43:31] local.INFO: TCP Data received {"connection_id":146863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:43:31] local.INFO: Processing buffer {"connection_id":146863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:43:31] local.INFO: IMEI packet received {"connection_id":146863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":146863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:43:32] local.INFO: TCP Data received {"connection_id":146863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:43:32] local.INFO: Processing buffer {"connection_id":146863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:43:32] local.INFO: IMEI packet received {"connection_id":146863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":146863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:43:34] local.INFO: TCP Data received {"connection_id":146863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:43:34] local.INFO: Processing buffer {"connection_id":146863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:43:34] local.INFO: IMEI packet received {"connection_id":146863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":146863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:43:57] local.INFO: TCP Data received {"connection_id":146863,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3ac8c08012ce92e80071dd8e0000d008a32..."} 
[2026-08-02 23:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3ac8c08012ce92e80071dd8e0000d008a32..."} 
[2026-08-02 23:43:57] local.INFO: Processing buffer {"connection_id":146863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3ac8c08012ce92e80071dd8e0000d008a32..."} 
[2026-08-02 23:43:57] local.INFO: Packet analysis {"connection_id":146863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3ac"} 
[2026-08-02 23:43:57] local.INFO: Extracted packet for processing {"connection_id":146863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3ac"} 
[2026-08-02 23:43:57] local.INFO: GPS Element Parsed {"raw_longitude":753479296,"raw_latitude":119396576,"longitude_deg":75.3479296,"latitude_deg":11.9396576,"altitude":13,"angle":138,"satellites":50,"speed":25,"hex_longitude":"2ce92e80","hex_latitude":"071dd8e0","is_valid_coordinates":true} 
[2026-08-02 23:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137736704001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367576735849381888,"note":"Value kept but may cause issues"} 
[2026-08-02 23:43:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1648739645516173312,"note":"Value kept but may cause issues"} 
[2026-08-02 23:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785694293000,"timestamp_ms":1785694293000,"timestamp_seconds":1785694293,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3ac8c08"} 
[2026-08-02 23:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137736704001,"66":27332,"109":206,"83":43008,"24":25,"16":367576735849381888,"44":-1648739645516173312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-08-02 23:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137736704001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:43:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-02 23:43:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367576735849381888,"km_value":367576735849381.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:43:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1648739645516173312,"description":"Unknown IO ID 44"} 
[2026-08-02 23:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137736704001,"power":27332,"unknown_109":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-1648739645516173312}} 
[2026-08-02 23:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":146863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:43:57] local.INFO: GPS data processed {"connection_id":146863,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:43:57] local.INFO: Acknowledgment sent {"connection_id":146863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:43:58] local.INFO: TCP Data received {"connection_id":146863,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3acc2b8012ce943c0071dbaf8000a009331..."} 
[2026-08-02 23:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3acc2b8012ce943c0071dbaf8000a009331..."} 
[2026-08-02 23:43:58] local.INFO: Processing buffer {"connection_id":146863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3acc2b8012ce943c0071dbaf8000a009331..."} 
[2026-08-02 23:43:58] local.INFO: Packet analysis {"connection_id":146863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3ac"} 
[2026-08-02 23:43:58] local.INFO: Extracted packet for processing {"connection_id":146863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3ac"} 
[2026-08-02 23:43:58] local.INFO: GPS Element Parsed {"raw_longitude":753484736,"raw_latitude":119388920,"longitude_deg":75.3484736,"latitude_deg":11.938892,"altitude":10,"angle":147,"satellites":49,"speed":27,"hex_longitude":"2ce943c0","hex_latitude":"071dbaf8","is_valid_coordinates":true} 
[2026-08-02 23:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137739008001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367577186820947968,"note":"Value kept but may cause issues"} 
[2026-08-02 23:43:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1644236045889773568,"note":"Value kept but may cause issues"} 
[2026-08-02 23:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785694307000,"timestamp_ms":1785694307000,"timestamp_seconds":1785694307,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3acc2b8"} 
[2026-08-02 23:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 23:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137739008001,"66":27365,"110":206,"83":43008,"24":27,"16":367577186820947968,"44":-1644236045889773568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-08-02 23:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137739008001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:43:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 23:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367577186820947968,"km_value":367577186820947.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:43:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1644236045889773568,"description":"Unknown IO ID 44"} 
[2026-08-02 23:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137739008001,"power":27365,"unknown_110":206,"unknown_83":43008,"ignition":27,"odometer":null,"unknown_44":-1644236045889773568}} 
[2026-08-02 23:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":146863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:43:58] local.INFO: GPS data processed {"connection_id":146863,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:43:58] local.INFO: Acknowledgment sent {"connection_id":146863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:44:31] local.INFO: TCP Data received {"connection_id":149427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:44:31] local.INFO: Processing buffer {"connection_id":149427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:44:31] local.INFO: IMEI packet received {"connection_id":149427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":149427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:44:32] local.INFO: TCP Data received {"connection_id":149427,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 23:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149427,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 23:44:32] local.INFO: Processing buffer {"connection_id":149427,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-02 23:44:32] local.INFO: IMEI packet received {"connection_id":149427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":149427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:44:33] local.INFO: TCP Data received {"connection_id":149427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3ae4958012cea0440071d3e780003009631..."} 
[2026-08-02 23:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3ae4958012cea0440071d3e780003009631..."} 
[2026-08-02 23:44:33] local.INFO: Processing buffer {"connection_id":149427,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fc3..."} 
[2026-08-02 23:44:33] local.INFO: IMEI packet received {"connection_id":149427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":149427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:44:34] local.INFO: TCP Data received {"connection_id":149427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3ae4d40012cea04c0071d3c98000300a731..."} 
[2026-08-02 23:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3ae4d40012cea04c0071d3c98000300a731..."} 
[2026-08-02 23:44:34] local.INFO: Processing buffer {"connection_id":149427,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fc3ae4958012cea0440071d3e780003009631..."} 
[2026-08-02 23:44:34] local.INFO: Packet analysis {"connection_id":149427,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fc3ae"} 
[2026-08-02 23:44:34] local.INFO: Extracted packet for processing {"connection_id":149427,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3ae"} 
[2026-08-02 23:44:34] local.INFO: GPS Element Parsed {"raw_longitude":753534016,"raw_latitude":119357048,"longitude_deg":75.3534016,"latitude_deg":11.9357048,"altitude":3,"angle":150,"satellites":49,"speed":20,"hex_longitude":"2cea0440","hex_latitude":"071d3e78","is_valid_coordinates":true} 
[2026-08-02 23:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137767936001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367580515420602368,"note":"Value kept but may cause issues"} 
[2026-08-02 23:44:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584422613348773888,"note":"Value kept but may cause issues"} 
[2026-08-02 23:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785694407000,"timestamp_ms":1785694407000,"timestamp_seconds":1785694407,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3ae4958"} 
[2026-08-02 23:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 23:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137767936001,"66":27321,"245":206,"83":41216,"24":20,"16":367580515420602368,"44":-1584422613348773888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-02 23:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137767936001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367580515420602368,"km_value":367580515420602.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:44:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584422613348773888,"description":"Unknown IO ID 44"} 
[2026-08-02 23:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137767936001,"power":27321,"geofence_id":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1584422613348773888}} 
[2026-08-02 23:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":149427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:44:34] local.INFO: GPS data processed {"connection_id":149427,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:44:34] local.INFO: Acknowledgment sent {"connection_id":149427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:44:34] local.INFO: Packet analysis {"connection_id":149427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3ae"} 
[2026-08-02 23:44:34] local.INFO: Extracted packet for processing {"connection_id":149427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3ae"} 
[2026-08-02 23:44:34] local.INFO: GPS Element Parsed {"raw_longitude":753534144,"raw_latitude":119356568,"longitude_deg":75.3534144,"latitude_deg":11.9356568,"altitude":3,"angle":167,"satellites":49,"speed":20,"hex_longitude":"2cea04c0","hex_latitude":"071d3c98","is_valid_coordinates":true} 
[2026-08-02 23:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137768192001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367580541190406144,"note":"Value kept but may cause issues"} 
[2026-08-02 23:44:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584070769627990016,"note":"Value kept but may cause issues"} 
[2026-08-02 23:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785694408000,"timestamp_ms":1785694408000,"timestamp_seconds":1785694408,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3ae4d40"} 
[2026-08-02 23:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 23:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137768192001,"66":27267,"245":206,"83":41216,"24":20,"16":367580541190406144,"44":-1584070769627990016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-02 23:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137768192001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367580541190406144,"km_value":367580541190406.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:44:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584070769627990016,"description":"Unknown IO ID 44"} 
[2026-08-02 23:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137768192001,"power":27267,"geofence_id":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1584070769627990016}} 
[2026-08-02 23:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":149427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:44:34] local.INFO: GPS data processed {"connection_id":149427,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:44:34] local.INFO: Acknowledgment sent {"connection_id":149427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:44:38] local.INFO: TCP Data received {"connection_id":149427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3ae5128012cea04c0071d3a90000300b431..."} 
[2026-08-02 23:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3ae5128012cea04c0071d3a90000300b431..."} 
[2026-08-02 23:44:38] local.INFO: Processing buffer {"connection_id":149427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3ae5128012cea04c0071d3a90000300b431..."} 
[2026-08-02 23:44:38] local.INFO: Packet analysis {"connection_id":149427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3ae"} 
[2026-08-02 23:44:38] local.INFO: Extracted packet for processing {"connection_id":149427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3ae"} 
[2026-08-02 23:44:38] local.INFO: GPS Element Parsed {"raw_longitude":753534144,"raw_latitude":119356048,"longitude_deg":75.3534144,"latitude_deg":11.9356048,"altitude":3,"angle":180,"satellites":49,"speed":21,"hex_longitude":"2cea04c0","hex_latitude":"071d3a90","is_valid_coordinates":true} 
[2026-08-02 23:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137768448001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367580566960209920,"note":"Value kept but may cause issues"} 
[2026-08-02 23:44:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583930032139757568,"note":"Value kept but may cause issues"} 
[2026-08-02 23:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785694409000,"timestamp_ms":1785694409000,"timestamp_seconds":1785694409,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3ae5128"} 
[2026-08-02 23:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 23:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":149427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":149427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":149427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137768448001,"66":27267,"245":206,"83":41216,"24":21,"16":367580566960209920,"44":-1583930032139757568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-02 23:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137768448001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:44:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367580566960209920,"km_value":367580566960209.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:44:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583930032139757568,"description":"Unknown IO ID 44"} 
[2026-08-02 23:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137768448001,"power":27267,"geofence_id":206,"unknown_83":41216,"ignition":21,"odometer":null,"unknown_44":-1583930032139757568}} 
[2026-08-02 23:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":149427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:44:38] local.INFO: GPS data processed {"connection_id":149427,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:44:38] local.INFO: Acknowledgment sent {"connection_id":149427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:45:35] local.INFO: TCP Data received {"connection_id":147090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:45:35] local.INFO: Processing buffer {"connection_id":147090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:45:35] local.INFO: IMEI packet received {"connection_id":147090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":147090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:45:37] local.INFO: TCP Data received {"connection_id":147090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:45:37] local.INFO: Processing buffer {"connection_id":147090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:45:37] local.INFO: IMEI packet received {"connection_id":147090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":147090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:45:43] local.INFO: TCP Data received {"connection_id":147090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:45:43] local.INFO: Processing buffer {"connection_id":147090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:45:43] local.INFO: IMEI packet received {"connection_id":147090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":147090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:45:44] local.INFO: TCP Data received {"connection_id":147090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3ae8fa8012cea02c0071d1640000800ba30..."} 
[2026-08-02 23:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3ae8fa8012cea02c0071d1640000800ba30..."} 
[2026-08-02 23:45:44] local.INFO: Processing buffer {"connection_id":147090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3ae8fa8012cea02c0071d1640000800ba30..."} 
[2026-08-02 23:45:44] local.INFO: Packet analysis {"connection_id":147090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3ae"} 
[2026-08-02 23:45:44] local.INFO: Extracted packet for processing {"connection_id":147090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3ae"} 
[2026-08-02 23:45:44] local.INFO: GPS Element Parsed {"raw_longitude":753533632,"raw_latitude":119346752,"longitude_deg":75.3533632,"latitude_deg":11.9346752,"altitude":8,"angle":186,"satellites":48,"speed":21,"hex_longitude":"2cea02c0","hex_latitude":"071d1640","is_valid_coordinates":true} 
[2026-08-02 23:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137768704001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367581017931776000,"note":"Value kept but may cause issues"} 
[2026-08-02 23:45:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583930032139890688,"note":"Value kept but may cause issues"} 
[2026-08-02 23:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785694425000,"timestamp_ms":1785694425000,"timestamp_seconds":1785694425,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3ae8fa8"} 
[2026-08-02 23:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 23:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:45: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-08-02 23:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137768704001,"66":27343,"245":206,"83":41216,"24":21,"16":367581017931776000,"44":-1583930032139890688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-02 23:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137768704001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:45:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367581017931776000,"km_value":367581017931776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:45:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583930032139890688,"description":"Unknown IO ID 44"} 
[2026-08-02 23:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137768704001,"power":27343,"geofence_id":206,"unknown_83":41216,"ignition":21,"odometer":null,"unknown_44":-1583930032139890688}} 
[2026-08-02 23:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":147090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:45:44] local.INFO: GPS data processed {"connection_id":147090,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:45:44] local.INFO: Acknowledgment sent {"connection_id":147090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:45:47] local.INFO: TCP Data received {"connection_id":147090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3aed5f8012cea0000071cf3b0000b00b931..."} 
[2026-08-02 23:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3aed5f8012cea0000071cf3b0000b00b931..."} 
[2026-08-02 23:45:47] local.INFO: Processing buffer {"connection_id":147090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3aed5f8012cea0000071cf3b0000b00b931..."} 
[2026-08-02 23:45:47] local.INFO: Packet analysis {"connection_id":147090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3ae"} 
[2026-08-02 23:45:47] local.INFO: Extracted packet for processing {"connection_id":147090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3ae"} 
[2026-08-02 23:45:47] local.INFO: GPS Element Parsed {"raw_longitude":753532928,"raw_latitude":119337904,"longitude_deg":75.3532928,"latitude_deg":11.9337904,"altitude":11,"angle":185,"satellites":49,"speed":21,"hex_longitude":"2cea0000","hex_latitude":"071cf3b0","is_valid_coordinates":true} 
[2026-08-02 23:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137772800001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367581451723472896,"note":"Value kept but may cause issues"} 
[2026-08-02 23:45:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584492982095691776,"note":"Value kept but may cause issues"} 
[2026-08-02 23:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785694443000,"timestamp_ms":1785694443000,"timestamp_seconds":1785694443,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3aed5f8"} 
[2026-08-02 23:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":147090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":147090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":147090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137772800001,"66":27332,"179":206,"83":41216,"24":21,"16":367581451723472896,"44":-1584492982095691776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,44]} 
[2026-08-02 23:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137772800001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:45:47] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-02 23:45:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367581451723472896,"km_value":367581451723472.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:45:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584492982095691776,"description":"Unknown IO ID 44"} 
[2026-08-02 23:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137772800001,"power":27332,"unknown_179":206,"unknown_83":41216,"ignition":21,"odometer":null,"unknown_44":-1584492982095691776}} 
[2026-08-02 23:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":147090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:45:47] local.INFO: GPS data processed {"connection_id":147090,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:45:47] local.INFO: Acknowledgment sent {"connection_id":147090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:46:22] local.INFO: TCP Data received {"connection_id":148122,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:46:22] local.INFO: Processing buffer {"connection_id":148122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:46:22] local.INFO: IMEI packet received {"connection_id":148122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":148122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:46:29] local.INFO: TCP Data received {"connection_id":148122,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:46:29] local.INFO: Processing buffer {"connection_id":148122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:46:29] local.INFO: IMEI packet received {"connection_id":148122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":148122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:46:30] local.INFO: TCP Data received {"connection_id":148122,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3af1090012ce9fd80071ccf68000d00b530..."} 
[2026-08-02 23:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3af1090012ce9fd80071ccf68000d00b530..."} 
[2026-08-02 23:46:30] local.INFO: Processing buffer {"connection_id":148122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3af1090012ce9fd80071ccf68000d00b530..."} 
[2026-08-02 23:46:30] local.INFO: Packet analysis {"connection_id":148122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3af"} 
[2026-08-02 23:46:30] local.INFO: Extracted packet for processing {"connection_id":148122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3af"} 
[2026-08-02 23:46:30] local.INFO: GPS Element Parsed {"raw_longitude":753532288,"raw_latitude":119328616,"longitude_deg":75.3532288,"latitude_deg":11.9328616,"altitude":13,"angle":181,"satellites":48,"speed":24,"hex_longitude":"2ce9fd80","hex_latitude":"071ccf68","is_valid_coordinates":true} 
[2026-08-02 23:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137777408001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367581902695038976,"note":"Value kept but may cause issues"} 
[2026-08-02 23:46:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585267038283911168,"note":"Value kept but may cause issues"} 
[2026-08-02 23:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785694458000,"timestamp_ms":1785694458000,"timestamp_seconds":1785694458,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3af1090"} 
[2026-08-02 23:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 23:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137777408001,"66":27365,"179":206,"83":41216,"24":24,"16":367581902695038976,"44":-1585267038283911168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,44]} 
[2026-08-02 23:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137777408001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:46:30] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-02 23:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367581902695038976,"km_value":367581902695039.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:46:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1585267038283911168,"description":"Unknown IO ID 44"} 
[2026-08-02 23:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137777408001,"power":27365,"unknown_179":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1585267038283911168}} 
[2026-08-02 23:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":148122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:46:30] local.INFO: GPS data processed {"connection_id":148122,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:46:30] local.INFO: Acknowledgment sent {"connection_id":148122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:47:01] local.INFO: TCP Data received {"connection_id":148122,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3af4740012ce9fa80071ca9e8000d00b731..."} 
[2026-08-02 23:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3af4740012ce9fa80071ca9e8000d00b731..."} 
[2026-08-02 23:47:01] local.INFO: Processing buffer {"connection_id":148122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3af4740012ce9fa80071ca9e8000d00b731..."} 
[2026-08-02 23:47:01] local.INFO: Packet analysis {"connection_id":148122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3af"} 
[2026-08-02 23:47:01] local.INFO: Extracted packet for processing {"connection_id":148122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3af"} 
[2026-08-02 23:47:01] local.INFO: GPS Element Parsed {"raw_longitude":753531520,"raw_latitude":119319016,"longitude_deg":75.353152,"latitude_deg":11.9319016,"altitude":13,"angle":183,"satellites":49,"speed":32,"hex_longitude":"2ce9fa80","hex_latitude":"071ca9e8","is_valid_coordinates":true} 
[2026-08-02 23:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137781248001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367582370846474240,"note":"Value kept but may cause issues"} 
[2026-08-02 23:47:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585970725728065536,"note":"Value kept but may cause issues"} 
[2026-08-02 23:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785694472000,"timestamp_ms":1785694472000,"timestamp_seconds":1785694472,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3af4740"} 
[2026-08-02 23:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 23:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137781248001,"66":27267,"110":206,"83":43008,"24":32,"16":367582370846474240,"44":-1585970725728065536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-08-02 23:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137781248001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:47:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 23:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367582370846474240,"km_value":367582370846474.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:47:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1585970725728065536,"description":"Unknown IO ID 44"} 
[2026-08-02 23:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137781248001,"power":27267,"unknown_110":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1585970725728065536}} 
[2026-08-02 23:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":148122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:47:01] local.INFO: GPS data processed {"connection_id":148122,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:47:01] local.INFO: Acknowledgment sent {"connection_id":148122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:47:22] local.INFO: TCP Data received {"connection_id":149428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:47:22] local.INFO: Processing buffer {"connection_id":149428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:47:22] local.INFO: IMEI packet received {"connection_id":149428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":149428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:47:23] local.INFO: TCP Data received {"connection_id":149428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:47:23] local.INFO: Processing buffer {"connection_id":149428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:47:23] local.INFO: IMEI packet received {"connection_id":149428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":149428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:47:28] local.INFO: TCP Data received {"connection_id":149428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:47:28] local.INFO: Processing buffer {"connection_id":149428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:47:28] local.INFO: IMEI packet received {"connection_id":149428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":149428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:47:29] local.INFO: TCP Data received {"connection_id":149428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3af7620012ce9f800071c84c8000a00b731..."} 
[2026-08-02 23:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3af7620012ce9f800071c84c8000a00b731..."} 
[2026-08-02 23:47:29] local.INFO: Processing buffer {"connection_id":149428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3af7620012ce9f800071c84c8000a00b731..."} 
[2026-08-02 23:47:29] local.INFO: Packet analysis {"connection_id":149428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3af"} 
[2026-08-02 23:47:29] local.INFO: Extracted packet for processing {"connection_id":149428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3af"} 
[2026-08-02 23:47:29] local.INFO: GPS Element Parsed {"raw_longitude":753530880,"raw_latitude":119309512,"longitude_deg":75.353088,"latitude_deg":11.9309512,"altitude":10,"angle":183,"satellites":49,"speed":28,"hex_longitude":"2ce9f800","hex_latitude":"071c84c8","is_valid_coordinates":true} 
[2026-08-02 23:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137784832001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367582830407974912,"note":"Value kept but may cause issues"} 
[2026-08-02 23:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586815150660655104,"note":"Value kept but may cause issues"} 
[2026-08-02 23:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785694484000,"timestamp_ms":1785694484000,"timestamp_seconds":1785694484,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3af7620"} 
[2026-08-02 23:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 23:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137784832001,"66":27397,"110":206,"83":43008,"24":28,"16":367582830407974912,"44":-1586815150660655104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-08-02 23:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137784832001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:47:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-02 23:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-02 23:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367582830407974912,"km_value":367582830407974.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586815150660655104,"description":"Unknown IO ID 44"} 
[2026-08-02 23:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137784832001,"power":27397,"unknown_110":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-1586815150660655104}} 
[2026-08-02 23:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":149428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:47:29] local.INFO: GPS data processed {"connection_id":149428,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:47:29] local.INFO: Acknowledgment sent {"connection_id":149428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:48:00] local.INFO: TCP Data received {"connection_id":149428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b19ce8012cea5c80071ae2c0000f009f2e..."} 
[2026-08-02 23:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b19ce8012cea5c80071ae2c0000f009f2e..."} 
[2026-08-02 23:48:00] local.INFO: Processing buffer {"connection_id":149428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b19ce8012cea5c80071ae2c0000f009f2e..."} 
[2026-08-02 23:48:00] local.INFO: Packet analysis {"connection_id":149428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b1"} 
[2026-08-02 23:48:00] local.INFO: Extracted packet for processing {"connection_id":149428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b1"} 
[2026-08-02 23:48:00] local.INFO: GPS Element Parsed {"raw_longitude":753556608,"raw_latitude":119202496,"longitude_deg":75.3556608,"latitude_deg":11.9202496,"altitude":15,"angle":159,"satellites":46,"speed":30,"hex_longitude":"2cea5c80","hex_latitude":"071ae2c0","is_valid_coordinates":true} 
[2026-08-02 23:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137821440001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367588220591931392,"note":"Value kept but may cause issues"} 
[2026-08-02 23:48:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1562186090225956864,"note":"Value kept but may cause issues"} 
[2026-08-02 23:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785694625000,"timestamp_ms":1785694625000,"timestamp_seconds":1785694625,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b19ce8"} 
[2026-08-02 23:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 23:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":149428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":149428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":149428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137821440001,"66":27321,"105":206,"83":41216,"24":30,"16":367588220591931392,"44":-1562186090225956864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-08-02 23:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137821440001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:48:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 23:48:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367588220591931392,"km_value":367588220591931.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:48:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1562186090225956864,"description":"Unknown IO ID 44"} 
[2026-08-02 23:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137821440001,"power":27321,"unknown_105":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1562186090225956864}} 
[2026-08-02 23:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":149428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:48:00] local.INFO: GPS data processed {"connection_id":149428,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:48:00] local.INFO: Acknowledgment sent {"connection_id":149428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:48:22] local.INFO: TCP Data received {"connection_id":147091,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:48:22] local.INFO: Processing buffer {"connection_id":147091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:48:22] local.INFO: IMEI packet received {"connection_id":147091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":147091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:48:23] local.INFO: TCP Data received {"connection_id":147091,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:48:23] local.INFO: Processing buffer {"connection_id":147091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:48:23] local.INFO: IMEI packet received {"connection_id":147091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":147091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:48:27] local.INFO: TCP Data received {"connection_id":147091,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:48:27] local.INFO: Processing buffer {"connection_id":147091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:48:27] local.INFO: IMEI packet received {"connection_id":147091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":147091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:48:28] local.INFO: TCP Data received {"connection_id":147091,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b1b070012cea6080071ad420000f00ab2f..."} 
[2026-08-02 23:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b1b070012cea6080071ad420000f00ab2f..."} 
[2026-08-02 23:48:28] local.INFO: Processing buffer {"connection_id":147091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b1b070012cea6080071ad420000f00ab2f..."} 
[2026-08-02 23:48:28] local.INFO: Packet analysis {"connection_id":147091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b1"} 
[2026-08-02 23:48:28] local.INFO: Extracted packet for processing {"connection_id":147091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b1"} 
[2026-08-02 23:48:28] local.INFO: GPS Element Parsed {"raw_longitude":753557632,"raw_latitude":119198752,"longitude_deg":75.3557632,"latitude_deg":11.9198752,"altitude":15,"angle":171,"satellites":47,"speed":29,"hex_longitude":"2cea6080","hex_latitude":"071ad420","is_valid_coordinates":true} 
[2026-08-02 23:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137824000001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367588409570492416,"note":"Value kept but may cause issues"} 
[2026-08-02 23:48:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1559230602972839936,"note":"Value kept but may cause issues"} 
[2026-08-02 23:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785694630000,"timestamp_ms":1785694630000,"timestamp_seconds":1785694630,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b1b070"} 
[2026-08-02 23:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 23:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137824000001,"66":27332,"105":206,"83":41216,"24":29,"16":367588409570492416,"44":-1559230602972839936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-08-02 23:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137824000001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:48:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 23:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367588409570492416,"km_value":367588409570492.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:48:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1559230602972839936,"description":"Unknown IO ID 44"} 
[2026-08-02 23:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137824000001,"power":27332,"unknown_105":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1559230602972839936}} 
[2026-08-02 23:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":147091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:48:28] local.INFO: GPS data processed {"connection_id":147091,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:48:28] local.INFO: Acknowledgment sent {"connection_id":147091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:48:59] local.INFO: TCP Data received {"connection_id":147091,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b1d780012cea69c0071ab210001100a226..."} 
[2026-08-02 23:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b1d780012cea69c0071ab210001100a226..."} 
[2026-08-02 23:48:59] local.INFO: Processing buffer {"connection_id":147091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b1d780012cea69c0071ab210001100a226..."} 
[2026-08-02 23:48:59] local.INFO: Packet analysis {"connection_id":147091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b1"} 
[2026-08-02 23:48:59] local.INFO: Extracted packet for processing {"connection_id":147091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b1"} 
[2026-08-02 23:48:59] local.INFO: GPS Element Parsed {"raw_longitude":753560000,"raw_latitude":119190032,"longitude_deg":75.356,"latitude_deg":11.9190032,"altitude":17,"angle":162,"satellites":38,"speed":38,"hex_longitude":"2cea69c0","hex_latitude":"071ab210","is_valid_coordinates":true} 
[2026-08-02 23:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137825280001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367588847657156608,"note":"Value kept but may cause issues"} 
[2026-08-02 23:48:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1558104703066955776,"note":"Value kept but may cause issues"} 
[2026-08-02 23:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785694640000,"timestamp_ms":1785694640000,"timestamp_seconds":1785694640,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b1d780"} 
[2026-08-02 23:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 23:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137825280001,"66":27343,"105":206,"83":41216,"24":38,"16":367588847657156608,"44":-1558104703066955776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-08-02 23:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137825280001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:48:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-02 23:48:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367588847657156608,"km_value":367588847657156.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:48:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1558104703066955776,"description":"Unknown IO ID 44"} 
[2026-08-02 23:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137825280001,"power":27343,"unknown_105":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1558104703066955776}} 
[2026-08-02 23:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":147091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:48:59] local.INFO: GPS data processed {"connection_id":147091,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:48:59] local.INFO: Acknowledgment sent {"connection_id":147091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:49:22] local.INFO: TCP Data received {"connection_id":148123,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:49:22] local.INFO: Processing buffer {"connection_id":148123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:49:22] local.INFO: IMEI packet received {"connection_id":148123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":148123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:49:22] local.INFO: TCP Data received {"connection_id":148123,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:49:22] local.INFO: Processing buffer {"connection_id":148123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:49:22] local.INFO: IMEI packet received {"connection_id":148123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":148123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:49:28] local.INFO: TCP Data received {"connection_id":148123,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:49:28] local.INFO: Processing buffer {"connection_id":148123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:49:28] local.INFO: IMEI packet received {"connection_id":148123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":148123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:49:29] local.INFO: TCP Data received {"connection_id":148123,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b1eef0012cea7380071a9ae8001500952e..."} 
[2026-08-02 23:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b1eef0012cea7380071a9ae8001500952e..."} 
[2026-08-02 23:49:29] local.INFO: Processing buffer {"connection_id":148123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b1eef0012cea7380071a9ae8001500952e..."} 
[2026-08-02 23:49:29] local.INFO: Packet analysis {"connection_id":148123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b1"} 
[2026-08-02 23:49:29] local.INFO: Extracted packet for processing {"connection_id":148123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b1"} 
[2026-08-02 23:49:29] local.INFO: GPS Element Parsed {"raw_longitude":753562496,"raw_latitude":119184104,"longitude_deg":75.3562496,"latitude_deg":11.9184104,"altitude":21,"angle":149,"satellites":46,"speed":41,"hex_longitude":"2cea7380","hex_latitude":"071a9ae8","is_valid_coordinates":true} 
[2026-08-02 23: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-08-02 23:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137827840001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367589156894801920,"note":"Value kept but may cause issues"} 
[2026-08-02 23:49:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1555501059534614528,"note":"Value kept but may cause issues"} 
[2026-08-02 23:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785694646000,"timestamp_ms":1785694646000,"timestamp_seconds":1785694646,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b1eef0"} 
[2026-08-02 23:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23: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-08-02 23:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137827840001,"66":27245,"103":206,"83":41216,"24":41,"16":367589156894801920,"44":-1555501059534614528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-08-02 23:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137827840001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:49:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 23:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367589156894801920,"km_value":367589156894801.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:49:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1555501059534614528,"description":"Unknown IO ID 44"} 
[2026-08-02 23:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137827840001,"power":27245,"unknown_103":206,"unknown_83":41216,"ignition":41,"odometer":null,"unknown_44":-1555501059534614528}} 
[2026-08-02 23:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":148123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:49:29] local.INFO: GPS data processed {"connection_id":148123,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:49:29] local.INFO: Acknowledgment sent {"connection_id":148123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:50:00] local.INFO: TCP Data received {"connection_id":148123,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b219e8012cea88c0071a7cf0001d00892e..."} 
[2026-08-02 23:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b219e8012cea88c0071a7cf0001d00892e..."} 
[2026-08-02 23:50:00] local.INFO: Processing buffer {"connection_id":148123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b219e8012cea88c0071a7cf0001d00892e..."} 
[2026-08-02 23:50:00] local.INFO: Packet analysis {"connection_id":148123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b2"} 
[2026-08-02 23:50:00] local.INFO: Extracted packet for processing {"connection_id":148123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b2"} 
[2026-08-02 23:50:00] local.INFO: GPS Element Parsed {"raw_longitude":753567936,"raw_latitude":119176432,"longitude_deg":75.3567936,"latitude_deg":11.9176432,"altitude":29,"angle":137,"satellites":46,"speed":29,"hex_longitude":"2cea88c0","hex_latitude":"071a7cf0","is_valid_coordinates":true} 
[2026-08-02 23:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137829376001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367589612161335296,"note":"Value kept but may cause issues"} 
[2026-08-02 23:50:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1552756678513203200,"note":"Value kept but may cause issues"} 
[2026-08-02 23:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785694657000,"timestamp_ms":1785694657000,"timestamp_seconds":1785694657,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b219e8"} 
[2026-08-02 23:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-02 23:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137829376001,"66":27321,"103":206,"83":41216,"24":29,"16":367589612161335296,"44":-1552756678513203200},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-08-02 23:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137829376001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:50:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 23:50:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367589612161335296,"km_value":367589612161335.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:50:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1552756678513203200,"description":"Unknown IO ID 44"} 
[2026-08-02 23:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137829376001,"power":27321,"unknown_103":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1552756678513203200}} 
[2026-08-02 23:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":148123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:50:00] local.INFO: GPS data processed {"connection_id":148123,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:50:00] local.INFO: Acknowledgment sent {"connection_id":148123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:50:22] local.INFO: TCP Data received {"connection_id":148124,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:50:22] local.INFO: Processing buffer {"connection_id":148124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:50:22] local.INFO: IMEI packet received {"connection_id":148124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":148124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:50:27] local.INFO: TCP Data received {"connection_id":148124,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:50:27] local.INFO: Processing buffer {"connection_id":148124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:50:27] local.INFO: IMEI packet received {"connection_id":148124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":148124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:50:28] local.INFO: TCP Data received {"connection_id":148124,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b219e8012cea88c0071a7cf0001d00892e..."} 
[2026-08-02 23:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b219e8012cea88c0071a7cf0001d00892e..."} 
[2026-08-02 23:50:28] local.INFO: Processing buffer {"connection_id":148124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b219e8012cea88c0071a7cf0001d00892e..."} 
[2026-08-02 23:50:28] local.INFO: Packet analysis {"connection_id":148124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b2"} 
[2026-08-02 23:50:28] local.INFO: Extracted packet for processing {"connection_id":148124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b2"} 
[2026-08-02 23:50:28] local.INFO: GPS Element Parsed {"raw_longitude":753567936,"raw_latitude":119176432,"longitude_deg":75.3567936,"latitude_deg":11.9176432,"altitude":29,"angle":137,"satellites":46,"speed":29,"hex_longitude":"2cea88c0","hex_latitude":"071a7cf0","is_valid_coordinates":true} 
[2026-08-02 23:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137832192001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367589612161335296,"note":"Value kept but may cause issues"} 
[2026-08-02 23:50:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1546775335260065792,"note":"Value kept but may cause issues"} 
[2026-08-02 23:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785694657000,"timestamp_ms":1785694657000,"timestamp_seconds":1785694657,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b219e8"} 
[2026-08-02 23:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-02 23:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":148124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":148124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":148124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137832192001,"66":27321,"103":206,"83":41216,"24":29,"16":367589612161335296,"44":-1546775335260065792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-08-02 23:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137832192001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:50:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-02 23:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367589612161335296,"km_value":367589612161335.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:50:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1546775335260065792,"description":"Unknown IO ID 44"} 
[2026-08-02 23:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137832192001,"power":27321,"unknown_103":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1546775335260065792}} 
[2026-08-02 23:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":148124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:50:28] local.INFO: GPS data processed {"connection_id":148124,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:50:28] local.INFO: Acknowledgment sent {"connection_id":148124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:50:59] local.INFO: TCP Data received {"connection_id":148124,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b438e0012ceb80c00719e6900017009c2e..."} 
[2026-08-02 23:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b438e0012ceb80c00719e6900017009c2e..."} 
[2026-08-02 23:50:59] local.INFO: Processing buffer {"connection_id":148124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b438e0012ceb80c00719e6900017009c2e..."} 
[2026-08-02 23:50:59] local.INFO: Packet analysis {"connection_id":148124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b4"} 
[2026-08-02 23:50:59] local.INFO: Extracted packet for processing {"connection_id":148124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b4"} 
[2026-08-02 23:50:59] local.INFO: GPS Element Parsed {"raw_longitude":753631424,"raw_latitude":119137936,"longitude_deg":75.3631424,"latitude_deg":11.9137936,"altitude":23,"angle":156,"satellites":46,"speed":34,"hex_longitude":"2ceb80c0","hex_latitude":"0719e690","is_valid_coordinates":true} 
[2026-08-02 23:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137864704001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367593271473471488,"note":"Value kept but may cause issues"} 
[2026-08-02 23:50:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481050928205811712,"note":"Value kept but may cause issues"} 
[2026-08-02 23:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785694796000,"timestamp_ms":1785694796000,"timestamp_seconds":1785694796,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b438e0"} 
[2026-08-02 23:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-02 23:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137864704001,"66":27343,"137":206,"83":41216,"24":34,"16":367593271473471488,"44":-1481050928205811712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-02 23:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137864704001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:50:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-02 23:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367593271473471488,"km_value":367593271473471.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:50:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481050928205811712,"description":"Unknown IO ID 44"} 
[2026-08-02 23:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137864704001,"power":27343,"unknown_137":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1481050928205811712}} 
[2026-08-02 23:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":148124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:50:59] local.INFO: GPS data processed {"connection_id":148124,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:50:59] local.INFO: Acknowledgment sent {"connection_id":148124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:51:24] local.INFO: TCP Data received {"connection_id":149429,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:51:24] local.INFO: Processing buffer {"connection_id":149429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:51:24] local.INFO: IMEI packet received {"connection_id":149429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":149429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:51:28] local.INFO: TCP Data received {"connection_id":149429,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:51:28] local.INFO: Processing buffer {"connection_id":149429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:51:28] local.INFO: IMEI packet received {"connection_id":149429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":149429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:51:30] local.INFO: TCP Data received {"connection_id":149429,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:51:30] local.INFO: Processing buffer {"connection_id":149429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:51:30] local.INFO: IMEI packet received {"connection_id":149429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":149429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:51:30] local.INFO: TCP Data received {"connection_id":149429,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b45ff0012ceb91000719c640001a00982c..."} 
[2026-08-02 23:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b45ff0012ceb91000719c640001a00982c..."} 
[2026-08-02 23:51:30] local.INFO: Processing buffer {"connection_id":149429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b45ff0012ceb91000719c640001a00982c..."} 
[2026-08-02 23:51:30] local.INFO: Packet analysis {"connection_id":149429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b4"} 
[2026-08-02 23:51:30] local.INFO: Extracted packet for processing {"connection_id":149429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b4"} 
[2026-08-02 23:51:30] local.INFO: GPS Element Parsed {"raw_longitude":753635584,"raw_latitude":119129664,"longitude_deg":75.3635584,"latitude_deg":11.9129664,"altitude":26,"angle":152,"satellites":44,"speed":36,"hex_longitude":"2ceb9100","hex_latitude":"0719c640","is_valid_coordinates":true} 
[2026-08-02 23:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137867776001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367593718150070272,"note":"Value kept but may cause issues"} 
[2026-08-02 23:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1476969541045678080,"note":"Value kept but may cause issues"} 
[2026-08-02 23:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785694806000,"timestamp_ms":1785694806000,"timestamp_seconds":1785694806,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b45ff0"} 
[2026-08-02 23:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137867776001,"66":27397,"137":206,"83":41216,"24":36,"16":367593718150070272,"44":-1476969541045678080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-02 23:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137867776001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:51:30] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-02 23:51:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367593718150070272,"km_value":367593718150070.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1476969541045678080,"description":"Unknown IO ID 44"} 
[2026-08-02 23:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137867776001,"power":27397,"unknown_137":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1476969541045678080}} 
[2026-08-02 23:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":149429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:51:30] local.INFO: GPS data processed {"connection_id":149429,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:51:30] local.INFO: Acknowledgment sent {"connection_id":149429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:51:33] local.INFO: TCP Data received {"connection_id":149429,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b48700012ceba3000719a658001c00952d..."} 
[2026-08-02 23:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b48700012ceba3000719a658001c00952d..."} 
[2026-08-02 23:51:33] local.INFO: Processing buffer {"connection_id":149429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b48700012ceba3000719a658001c00952d..."} 
[2026-08-02 23:51:33] local.INFO: Packet analysis {"connection_id":149429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b4"} 
[2026-08-02 23:51:33] local.INFO: Extracted packet for processing {"connection_id":149429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b4"} 
[2026-08-02 23:51:33] local.INFO: GPS Element Parsed {"raw_longitude":753640192,"raw_latitude":119121496,"longitude_deg":75.3640192,"latitude_deg":11.9121496,"altitude":28,"angle":149,"satellites":45,"speed":36,"hex_longitude":"2ceba300","hex_latitude":"0719a658","is_valid_coordinates":true} 
[2026-08-02 23:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137870336001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367594173416603648,"note":"Value kept but may cause issues"} 
[2026-08-02 23:51:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1472395572676247552,"note":"Value kept but may cause issues"} 
[2026-08-02 23:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785694816000,"timestamp_ms":1785694816000,"timestamp_seconds":1785694816,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b48700"} 
[2026-08-02 23:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 23:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137870336001,"66":27310,"137":206,"83":41216,"24":36,"16":367594173416603648,"44":-1472395572676247552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-02 23:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137870336001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:51:33] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-02 23:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367594173416603648,"km_value":367594173416603.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:51:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1472395572676247552,"description":"Unknown IO ID 44"} 
[2026-08-02 23:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137870336001,"power":27310,"unknown_137":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1472395572676247552}} 
[2026-08-02 23:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":149429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:51:33] local.INFO: GPS data processed {"connection_id":149429,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:51:33] local.INFO: Acknowledgment sent {"connection_id":149429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:52:04] local.INFO: TCP Data received {"connection_id":149429,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b4ae10012cebb54007198860001e00942e..."} 
[2026-08-02 23:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b4ae10012cebb54007198860001e00942e..."} 
[2026-08-02 23:52:04] local.INFO: Processing buffer {"connection_id":149429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b4ae10012cebb54007198860001e00942e..."} 
[2026-08-02 23:52:04] local.INFO: Packet analysis {"connection_id":149429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b4"} 
[2026-08-02 23:52:04] local.INFO: Extracted packet for processing {"connection_id":149429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b4"} 
[2026-08-02 23:52:04] local.INFO: GPS Element Parsed {"raw_longitude":753644864,"raw_latitude":119113824,"longitude_deg":75.3644864,"latitude_deg":11.9113824,"altitude":30,"angle":148,"satellites":46,"speed":36,"hex_longitude":"2cebb540","hex_latitude":"07198860","is_valid_coordinates":true} 
[2026-08-02 23:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137872896001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367594607208300544,"note":"Value kept but may cause issues"} 
[2026-08-02 23:52:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1467329023097546752,"note":"Value kept but may cause issues"} 
[2026-08-02 23:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785694826000,"timestamp_ms":1785694826000,"timestamp_seconds":1785694826,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b4ae10"} 
[2026-08-02 23:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-02 23:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137872896001,"66":27397,"137":206,"83":41216,"24":36,"16":367594607208300544,"44":-1467329023097546752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-02 23:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137872896001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:52:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-02 23:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367594607208300544,"km_value":367594607208300.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:52:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1467329023097546752,"description":"Unknown IO ID 44"} 
[2026-08-02 23:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137872896001,"power":27397,"unknown_137":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1467329023097546752}} 
[2026-08-02 23:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":149429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:52:04] local.INFO: GPS data processed {"connection_id":149429,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:52:04] local.INFO: Acknowledgment sent {"connection_id":149429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:52:23] local.INFO: TCP Data received {"connection_id":146864,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:52:23] local.INFO: Processing buffer {"connection_id":146864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:52:23] local.INFO: IMEI packet received {"connection_id":146864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":146864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:52:28] local.INFO: TCP Data received {"connection_id":146864,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:52:28] local.INFO: Processing buffer {"connection_id":146864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:52:28] local.INFO: IMEI packet received {"connection_id":146864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":146864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:52:30] local.INFO: TCP Data received {"connection_id":146864,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b4d520012cebc7c007196890001e009728..."} 
[2026-08-02 23:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b4d520012cebc7c007196890001e009728..."} 
[2026-08-02 23:52:30] local.INFO: Processing buffer {"connection_id":146864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b4d520012cebc7c007196890001e009728..."} 
[2026-08-02 23:52:30] local.INFO: Packet analysis {"connection_id":146864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b4"} 
[2026-08-02 23:52:30] local.INFO: Extracted packet for processing {"connection_id":146864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b4"} 
[2026-08-02 23:52:30] local.INFO: GPS Element Parsed {"raw_longitude":753649600,"raw_latitude":119105680,"longitude_deg":75.36496,"latitude_deg":11.910568,"altitude":30,"angle":151,"satellites":40,"speed":38,"hex_longitude":"2cebc7c0","hex_latitude":"07196890","is_valid_coordinates":true} 
[2026-08-02 23:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137875456001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367595058179866624,"note":"Value kept but may cause issues"} 
[2026-08-02 23:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1462192104774541312,"note":"Value kept but may cause issues"} 
[2026-08-02 23:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785694836000,"timestamp_ms":1785694836000,"timestamp_seconds":1785694836,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b4d520"} 
[2026-08-02 23:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-02 23:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137875456001,"66":27343,"138":206,"83":41216,"24":38,"16":367595058179866624,"44":-1462192104774541312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-08-02 23:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137875456001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:52:30] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-02 23:52:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367595058179866624,"km_value":367595058179866.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1462192104774541312,"description":"Unknown IO ID 44"} 
[2026-08-02 23:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137875456001,"power":27343,"unknown_138":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1462192104774541312}} 
[2026-08-02 23:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":146864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:52:30] local.INFO: GPS data processed {"connection_id":146864,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:52:30] local.INFO: Acknowledgment sent {"connection_id":146864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:53:02] local.INFO: TCP Data received {"connection_id":146864,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b634b0012cec7280071872d8001f00af2d..."} 
[2026-08-02 23:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b634b0012cec7280071872d8001f00af2d..."} 
[2026-08-02 23:53:02] local.INFO: Processing buffer {"connection_id":146864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b634b0012cec7280071872d8001f00af2d..."} 
[2026-08-02 23:53:02] local.INFO: Packet analysis {"connection_id":146864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b6"} 
[2026-08-02 23:53:02] local.INFO: Extracted packet for processing {"connection_id":146864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b6"} 
[2026-08-02 23:53:02] local.INFO: GPS Element Parsed {"raw_longitude":753693312,"raw_latitude":119042776,"longitude_deg":75.3693312,"latitude_deg":11.9042776,"altitude":31,"angle":175,"satellites":45,"speed":41,"hex_longitude":"2cec7280","hex_latitude":"071872d8","is_valid_coordinates":true} 
[2026-08-02 23:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137900288001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367598854930956288,"note":"Value kept but may cause issues"} 
[2026-08-02 23:53:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409697021635409920,"note":"Value kept but may cause issues"} 
[2026-08-02 23:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785694926000,"timestamp_ms":1785694926000,"timestamp_seconds":1785694926,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b634b0"} 
[2026-08-02 23:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 23:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137900288001,"66":27365,"115":206,"83":41216,"24":41,"16":367598854930956288,"44":-1409697021635409920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-08-02 23:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137900288001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:53:02] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-02 23:53:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367598854930956288,"km_value":367598854930956.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:53:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409697021635409920,"description":"Unknown IO ID 44"} 
[2026-08-02 23:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137900288001,"power":27365,"unknown_115":206,"unknown_83":41216,"ignition":41,"odometer":null,"unknown_44":-1409697021635409920}} 
[2026-08-02 23:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":146864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:53:02] local.INFO: GPS data processed {"connection_id":146864,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:53:02] local.INFO: Acknowledgment sent {"connection_id":146864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:53:23] local.INFO: TCP Data received {"connection_id":147092,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:53:23] local.INFO: Processing buffer {"connection_id":147092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:53:23] local.INFO: IMEI packet received {"connection_id":147092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":147092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:53:27] local.INFO: TCP Data received {"connection_id":147092,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:53:27] local.INFO: Processing buffer {"connection_id":147092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:53:27] local.INFO: IMEI packet received {"connection_id":147092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":147092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:53:28] local.INFO: TCP Data received {"connection_id":147092,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b63c80012cec724007186a68001f00bb2d..."} 
[2026-08-02 23:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b63c80012cec724007186a68001f00bb2d..."} 
[2026-08-02 23:53:28] local.INFO: Processing buffer {"connection_id":147092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b63c80012cec724007186a68001f00bb2d..."} 
[2026-08-02 23:53:28] local.INFO: Packet analysis {"connection_id":147092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b6"} 
[2026-08-02 23:53:28] local.INFO: Extracted packet for processing {"connection_id":147092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b6"} 
[2026-08-02 23:53:28] local.INFO: GPS Element Parsed {"raw_longitude":753693248,"raw_latitude":119040616,"longitude_deg":75.3693248,"latitude_deg":11.9040616,"altitude":31,"angle":187,"satellites":45,"speed":43,"hex_longitude":"2cec7240","hex_latitude":"07186a68","is_valid_coordinates":true} 
[2026-08-02 23:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137901056001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367598958010171392,"note":"Value kept but may cause issues"} 
[2026-08-02 23:53:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408922965450237952,"note":"Value kept but may cause issues"} 
[2026-08-02 23:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785694928000,"timestamp_ms":1785694928000,"timestamp_seconds":1785694928,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b63c80"} 
[2026-08-02 23:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-02 23:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137901056001,"66":27332,"115":206,"83":41216,"24":43,"16":367598958010171392,"44":-1408922965450237952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-08-02 23:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137901056001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:53:28] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-02 23:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367598958010171392,"km_value":367598958010171.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:53:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408922965450237952,"description":"Unknown IO ID 44"} 
[2026-08-02 23:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137901056001,"power":27332,"unknown_115":206,"unknown_83":41216,"ignition":43,"odometer":null,"unknown_44":-1408922965450237952}} 
[2026-08-02 23:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":147092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:53:28] local.INFO: GPS data processed {"connection_id":147092,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:53:28] local.INFO: Acknowledgment sent {"connection_id":147092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:53:59] local.INFO: TCP Data received {"connection_id":147092,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b65bc0012cec6b4007184800001f00c325..."} 
[2026-08-02 23:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b65bc0012cec6b4007184800001f00c325..."} 
[2026-08-02 23:53:59] local.INFO: Processing buffer {"connection_id":147092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b65bc0012cec6b4007184800001f00c325..."} 
[2026-08-02 23:53:59] local.INFO: Packet analysis {"connection_id":147092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b6"} 
[2026-08-02 23:53:59] local.INFO: Extracted packet for processing {"connection_id":147092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b6"} 
[2026-08-02 23:53:59] local.INFO: GPS Element Parsed {"raw_longitude":753691456,"raw_latitude":119031808,"longitude_deg":75.3691456,"latitude_deg":11.9031808,"altitude":31,"angle":195,"satellites":37,"speed":44,"hex_longitude":"2cec6b40","hex_latitude":"07184800","is_valid_coordinates":true} 
[2026-08-02 23:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137901568001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367599396096835584,"note":"Value kept but may cause issues"} 
[2026-08-02 23:53:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408993334194968576,"note":"Value kept but may cause issues"} 
[2026-08-02 23:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785694936000,"timestamp_ms":1785694936000,"timestamp_seconds":1785694936,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b65bc0"} 
[2026-08-02 23:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-02 23:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137901568001,"66":27376,"116":206,"83":41216,"24":44,"16":367599396096835584,"44":-1408993334194968576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-08-02 23:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137901568001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:53:59] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-02 23:53:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367599396096835584,"km_value":367599396096835.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:53:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408993334194968576,"description":"Unknown IO ID 44"} 
[2026-08-02 23:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137901568001,"power":27376,"unknown_116":206,"unknown_83":41216,"ignition":44,"odometer":null,"unknown_44":-1408993334194968576}} 
[2026-08-02 23:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":147092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:53:59] local.INFO: GPS data processed {"connection_id":147092,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:53:59] local.INFO: Acknowledgment sent {"connection_id":147092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:54:23] local.INFO: TCP Data received {"connection_id":149430,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:54:23] local.INFO: Processing buffer {"connection_id":149430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:54:23] local.INFO: IMEI packet received {"connection_id":149430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":149430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:54:24] local.INFO: TCP Data received {"connection_id":149430,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:54:24] local.INFO: Processing buffer {"connection_id":149430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:54:24] local.INFO: IMEI packet received {"connection_id":149430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":149430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:54:28] local.INFO: TCP Data received {"connection_id":149430,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:54:28] local.INFO: Processing buffer {"connection_id":149430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:54:28] local.INFO: IMEI packet received {"connection_id":149430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":149430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:54:29] local.INFO: TCP Data received {"connection_id":149430,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b682d0012cec61c007182440002000c12c..."} 
[2026-08-02 23:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b682d0012cec61c007182440002000c12c..."} 
[2026-08-02 23:54:29] local.INFO: Processing buffer {"connection_id":149430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b682d0012cec61c007182440002000c12c..."} 
[2026-08-02 23:54:29] local.INFO: Packet analysis {"connection_id":149430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b6"} 
[2026-08-02 23:54:29] local.INFO: Extracted packet for processing {"connection_id":149430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b6"} 
[2026-08-02 23:54:29] local.INFO: GPS Element Parsed {"raw_longitude":753689024,"raw_latitude":119022656,"longitude_deg":75.3689024,"latitude_deg":11.9022656,"altitude":32,"angle":193,"satellites":44,"speed":35,"hex_longitude":"2cec61c0","hex_latitude":"07182440","is_valid_coordinates":true} 
[2026-08-02 23:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137903616001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367599851363368960,"note":"Value kept but may cause issues"} 
[2026-08-02 23:54:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410963659034198016,"note":"Value kept but may cause issues"} 
[2026-08-02 23:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785694946000,"timestamp_ms":1785694946000,"timestamp_seconds":1785694946,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b682d0"} 
[2026-08-02 23:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 23:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137903616001,"66":27463,"116":206,"83":41216,"24":35,"16":367599851363368960,"44":-1410963659034198016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-08-02 23:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137903616001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:54:29] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-02 23:54:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367599851363368960,"km_value":367599851363368.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410963659034198016,"description":"Unknown IO ID 44"} 
[2026-08-02 23:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137903616001,"power":27463,"unknown_116":206,"unknown_83":41216,"ignition":35,"odometer":null,"unknown_44":-1410963659034198016}} 
[2026-08-02 23:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":149430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:54:29] local.INFO: GPS data processed {"connection_id":149430,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:54:29] local.INFO: Acknowledgment sent {"connection_id":149430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:54:33] local.INFO: TCP Data received {"connection_id":149430,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b6b1b0012cec5a00071800d0001f00bf2e..."} 
[2026-08-02 23:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b6b1b0012cec5a00071800d0001f00bf2e..."} 
[2026-08-02 23:54:33] local.INFO: Processing buffer {"connection_id":149430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b6b1b0012cec5a00071800d0001f00bf2e..."} 
[2026-08-02 23:54:33] local.INFO: Packet analysis {"connection_id":149430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b6"} 
[2026-08-02 23:54:33] local.INFO: Extracted packet for processing {"connection_id":149430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b6"} 
[2026-08-02 23:54:33] local.INFO: GPS Element Parsed {"raw_longitude":753687040,"raw_latitude":119013584,"longitude_deg":75.368704,"latitude_deg":11.9013584,"altitude":31,"angle":191,"satellites":46,"speed":29,"hex_longitude":"2cec5a00","hex_latitude":"071800d0","is_valid_coordinates":true} 
[2026-08-02 23:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137906176001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367600302334935040,"note":"Value kept but may cause issues"} 
[2026-08-02 23:54:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413637671315292160,"note":"Value kept but may cause issues"} 
[2026-08-02 23:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785694958000,"timestamp_ms":1785694958000,"timestamp_seconds":1785694958,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b6b1b0"} 
[2026-08-02 23:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-02 23:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137906176001,"66":27300,"116":206,"83":41216,"24":29,"16":367600302334935040,"44":-1413637671315292160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-08-02 23:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137906176001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:54:33] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-02 23:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367600302334935040,"km_value":367600302334935.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:54:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413637671315292160,"description":"Unknown IO ID 44"} 
[2026-08-02 23:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137906176001,"power":27300,"unknown_116":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1413637671315292160}} 
[2026-08-02 23:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":149430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:54:33] local.INFO: GPS data processed {"connection_id":149430,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:54:33] local.INFO: Acknowledgment sent {"connection_id":149430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:55:04] local.INFO: TCP Data received {"connection_id":149430,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b6dca8012cec55400717dd40002100ba2f..."} 
[2026-08-02 23:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b6dca8012cec55400717dd40002100ba2f..."} 
[2026-08-02 23:55:04] local.INFO: Processing buffer {"connection_id":149430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b6dca8012cec55400717dd40002100ba2f..."} 
[2026-08-02 23:55:04] local.INFO: Packet analysis {"connection_id":149430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b6"} 
[2026-08-02 23:55:04] local.INFO: Extracted packet for processing {"connection_id":149430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b6"} 
[2026-08-02 23:55:04] local.INFO: GPS Element Parsed {"raw_longitude":753685824,"raw_latitude":119004480,"longitude_deg":75.3685824,"latitude_deg":11.900448,"altitude":33,"angle":186,"satellites":47,"speed":34,"hex_longitude":"2cec5540","hex_latitude":"0717dd40","is_valid_coordinates":true} 
[2026-08-02 23:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137909248001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367600749011533824,"note":"Value kept but may cause issues"} 
[2026-08-02 23:55:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415819102387122176,"note":"Value kept but may cause issues"} 
[2026-08-02 23:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785694969000,"timestamp_ms":1785694969000,"timestamp_seconds":1785694969,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b6dca8"} 
[2026-08-02 23:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 23:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137909248001,"66":27343,"116":206,"83":41216,"24":34,"16":367600749011533824,"44":-1415819102387122176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-08-02 23:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137909248001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:55:04] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-02 23:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367600749011533824,"km_value":367600749011533.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:55:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415819102387122176,"description":"Unknown IO ID 44"} 
[2026-08-02 23:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137909248001,"power":27343,"unknown_116":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1415819102387122176}} 
[2026-08-02 23:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":149430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:55:04] local.INFO: GPS data processed {"connection_id":149430,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:55:04] local.INFO: Acknowledgment sent {"connection_id":149430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:55:22] local.INFO: TCP Data received {"connection_id":147093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:55:22] local.INFO: Processing buffer {"connection_id":147093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:55:22] local.INFO: IMEI packet received {"connection_id":147093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":147093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:55:23] local.INFO: TCP Data received {"connection_id":147093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:55:23] local.INFO: Processing buffer {"connection_id":147093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:55:23] local.INFO: IMEI packet received {"connection_id":147093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":147093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:55:28] local.INFO: TCP Data received {"connection_id":147093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:55:28] local.INFO: Processing buffer {"connection_id":147093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:55:28] local.INFO: IMEI packet received {"connection_id":147093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":147093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:55:29] local.INFO: TCP Data received {"connection_id":147093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b707a0012cec51c00717b7d8002400b62c..."} 
[2026-08-02 23:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b707a0012cec51c00717b7d8002400b62c..."} 
[2026-08-02 23:55:29] local.INFO: Processing buffer {"connection_id":147093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b707a0012cec51c00717b7d8002400b62c..."} 
[2026-08-02 23:55:29] local.INFO: Packet analysis {"connection_id":147093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b7"} 
[2026-08-02 23:55:29] local.INFO: Extracted packet for processing {"connection_id":147093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b7"} 
[2026-08-02 23:55:29] local.INFO: GPS Element Parsed {"raw_longitude":753684928,"raw_latitude":118994904,"longitude_deg":75.3684928,"latitude_deg":11.8994904,"altitude":36,"angle":182,"satellites":44,"speed":33,"hex_longitude":"2cec51c0","hex_latitude":"0717b7d8","is_valid_coordinates":true} 
[2026-08-02 23:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137912064001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367601217162969088,"note":"Value kept but may cause issues"} 
[2026-08-02 23:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1417156108528828416,"note":"Value kept but may cause issues"} 
[2026-08-02 23:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785694980000,"timestamp_ms":1785694980000,"timestamp_seconds":1785694980,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b707a0"} 
[2026-08-02 23:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:55:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137912064001,"66":27234,"67":206,"83":41216,"24":33,"16":367601217162969088,"44":-1417156108528828416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-02 23:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137912064001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:55:29] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-02 23:55:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367601217162969088,"km_value":367601217162969.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1417156108528828416,"description":"Unknown IO ID 44"} 
[2026-08-02 23:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137912064001,"power":27234,"unknown_67":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1417156108528828416}} 
[2026-08-02 23:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":147093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:55:29] local.INFO: GPS data processed {"connection_id":147093,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:55:29] local.INFO: Acknowledgment sent {"connection_id":147093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:56:00] local.INFO: TCP Data received {"connection_id":147093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b8e048012cec8ac007163768001a00962d..."} 
[2026-08-02 23:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b8e048012cec8ac007163768001a00962d..."} 
[2026-08-02 23:56:00] local.INFO: Processing buffer {"connection_id":147093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b8e048012cec8ac007163768001a00962d..."} 
[2026-08-02 23:56:00] local.INFO: Packet analysis {"connection_id":147093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b8"} 
[2026-08-02 23:56:00] local.INFO: Extracted packet for processing {"connection_id":147093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b8"} 
[2026-08-02 23:56:00] local.INFO: GPS Element Parsed {"raw_longitude":753699520,"raw_latitude":118896488,"longitude_deg":75.369952,"latitude_deg":11.8896488,"altitude":26,"angle":150,"satellites":45,"speed":29,"hex_longitude":"2cec8ac0","hex_latitude":"07163768","is_valid_coordinates":true} 
[2026-08-02 23:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137944320001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367606143490457600,"note":"Value kept but may cause issues"} 
[2026-08-02 23:56:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1404137890882416640,"note":"Value kept but may cause issues"} 
[2026-08-02 23:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785695101000,"timestamp_ms":1785695101000,"timestamp_seconds":1785695101,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b8e048"} 
[2026-08-02 23:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 23:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137944320001,"66":27300,"192":206,"83":41216,"24":29,"16":367606143490457600,"44":-1404137890882416640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-02 23:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137944320001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:56:00] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-02 23:56:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367606143490457600,"km_value":367606143490457.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:56:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1404137890882416640,"description":"Unknown IO ID 44"} 
[2026-08-02 23:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137944320001,"power":27300,"unknown_192":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1404137890882416640}} 
[2026-08-02 23:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":147093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:56:00] local.INFO: GPS data processed {"connection_id":147093,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:56:00] local.INFO: Acknowledgment sent {"connection_id":147093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:56:22] local.INFO: TCP Data received {"connection_id":147094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:56:22] local.INFO: Processing buffer {"connection_id":147094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:56:22] local.INFO: IMEI packet received {"connection_id":147094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":147094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:56:26] local.INFO: TCP Data received {"connection_id":147094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:56:26] local.INFO: Processing buffer {"connection_id":147094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:56:26] local.INFO: IMEI packet received {"connection_id":147094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":147094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:56:27] local.INFO: TCP Data received {"connection_id":147094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:56:27] local.INFO: Processing buffer {"connection_id":147094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:56:27] local.INFO: IMEI packet received {"connection_id":147094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":147094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:56:28] local.INFO: TCP Data received {"connection_id":147094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b8efe8012cec918007162da0001b00892e..."} 
[2026-08-02 23:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b8efe8012cec918007162da0001b00892e..."} 
[2026-08-02 23:56:28] local.INFO: Processing buffer {"connection_id":147094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b8efe8012cec918007162da0001b00892e..."} 
[2026-08-02 23:56:28] local.INFO: Packet analysis {"connection_id":147094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b8"} 
[2026-08-02 23:56:28] local.INFO: Extracted packet for processing {"connection_id":147094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b8"} 
[2026-08-02 23:56:28] local.INFO: GPS Element Parsed {"raw_longitude":753701248,"raw_latitude":118893984,"longitude_deg":75.3701248,"latitude_deg":11.8893984,"altitude":27,"angle":137,"satellites":46,"speed":31,"hex_longitude":"2cec9180","hex_latitude":"07162da0","is_valid_coordinates":true} 
[2026-08-02 23:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137945856001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367606289519345664,"note":"Value kept but may cause issues"} 
[2026-08-02 23:56:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1402097197302454272,"note":"Value kept but may cause issues"} 
[2026-08-02 23:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785695105000,"timestamp_ms":1785695105000,"timestamp_seconds":1785695105,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b8efe8"} 
[2026-08-02 23:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 23:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137945856001,"66":27300,"192":206,"83":41216,"24":31,"16":367606289519345664,"44":-1402097197302454272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-02 23:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137945856001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:56:28] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-02 23:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367606289519345664,"km_value":367606289519345.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:56:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1402097197302454272,"description":"Unknown IO ID 44"} 
[2026-08-02 23:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137945856001,"power":27300,"unknown_192":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1402097197302454272}} 
[2026-08-02 23:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":147094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:56:28] local.INFO: GPS data processed {"connection_id":147094,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:56:28] local.INFO: Acknowledgment sent {"connection_id":147094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:57:04] local.INFO: TCP Data received {"connection_id":147094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b91ec8012cecaa00071610b0001c00892c..."} 
[2026-08-02 23:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b91ec8012cecaa00071610b0001c00892c..."} 
[2026-08-02 23:57:04] local.INFO: Processing buffer {"connection_id":147094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b91ec8012cecaa00071610b0001c00892c..."} 
[2026-08-02 23:57:04] local.INFO: Packet analysis {"connection_id":147094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b9"} 
[2026-08-02 23:57:04] local.INFO: Extracted packet for processing {"connection_id":147094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b9"} 
[2026-08-02 23:57:04] local.INFO: GPS Element Parsed {"raw_longitude":753707520,"raw_latitude":118886576,"longitude_deg":75.370752,"latitude_deg":11.8886576,"altitude":28,"angle":137,"satellites":44,"speed":33,"hex_longitude":"2cecaa00","hex_latitude":"071610b0","is_valid_coordinates":true} 
[2026-08-02 23:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137946880001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367606753375813632,"note":"Value kept but may cause issues"} 
[2026-08-02 23:57:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1400197241210298368,"note":"Value kept but may cause issues"} 
[2026-08-02 23:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785695117000,"timestamp_ms":1785695117000,"timestamp_seconds":1785695117,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b91ec8"} 
[2026-08-02 23:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 23:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137946880001,"66":27376,"192":206,"83":41216,"24":33,"16":367606753375813632,"44":-1400197241210298368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-02 23:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137946880001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:57:04] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-02 23:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367606753375813632,"km_value":367606753375813.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:57:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1400197241210298368,"description":"Unknown IO ID 44"} 
[2026-08-02 23:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137946880001,"power":27376,"unknown_192":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1400197241210298368}} 
[2026-08-02 23:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":147094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:57:04] local.INFO: GPS data processed {"connection_id":147094,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:57:04] local.INFO: Acknowledgment sent {"connection_id":147094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:57:28] local.INFO: TCP Data received {"connection_id":148125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:57:28] local.INFO: Processing buffer {"connection_id":148125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:57:28] local.INFO: IMEI packet received {"connection_id":148125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":148125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:57:32] local.INFO: TCP Data received {"connection_id":148125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:57:32] local.INFO: Processing buffer {"connection_id":148125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:57:32] local.INFO: IMEI packet received {"connection_id":148125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":148125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:57:33] local.INFO: TCP Data received {"connection_id":148125,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b945d8012cecbd400715f4e8001b00952d..."} 
[2026-08-02 23:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b945d8012cecbd400715f4e8001b00952d..."} 
[2026-08-02 23:57:33] local.INFO: Processing buffer {"connection_id":148125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b945d8012cecbd400715f4e8001b00952d..."} 
[2026-08-02 23:57:33] local.INFO: Packet analysis {"connection_id":148125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b9"} 
[2026-08-02 23:57:33] local.INFO: Extracted packet for processing {"connection_id":148125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b9"} 
[2026-08-02 23:57:33] local.INFO: GPS Element Parsed {"raw_longitude":753712448,"raw_latitude":118879464,"longitude_deg":75.3712448,"latitude_deg":11.8879464,"altitude":27,"angle":149,"satellites":45,"speed":34,"hex_longitude":"2cecbd40","hex_latitude":"0715f4e8","is_valid_coordinates":true} 
[2026-08-02 23:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137949952001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367607174282608640,"note":"Value kept but may cause issues"} 
[2026-08-02 23:57:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1393301104282783744,"note":"Value kept but may cause issues"} 
[2026-08-02 23:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785695127000,"timestamp_ms":1785695127000,"timestamp_seconds":1785695127,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b945d8"} 
[2026-08-02 23:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23: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-08-02 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 23:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137949952001,"66":27343,"192":206,"83":41216,"24":34,"16":367607174282608640,"44":-1393301104282783744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-02 23:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137949952001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:57:33] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-02 23:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367607174282608640,"km_value":367607174282608.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:57:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1393301104282783744,"description":"Unknown IO ID 44"} 
[2026-08-02 23:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137949952001,"power":27343,"unknown_192":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1393301104282783744}} 
[2026-08-02 23:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":148125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:57:33] local.INFO: GPS data processed {"connection_id":148125,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:57:33] local.INFO: Acknowledgment sent {"connection_id":148125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:57:34] local.INFO: TCP Data received {"connection_id":148125,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b970d0012cecce800715d3a0001a00992a..."} 
[2026-08-02 23:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b970d0012cecce800715d3a0001a00992a..."} 
[2026-08-02 23:57:34] local.INFO: Processing buffer {"connection_id":148125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b970d0012cecce800715d3a0001a00992a..."} 
[2026-08-02 23:57:34] local.INFO: Packet analysis {"connection_id":148125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b9"} 
[2026-08-02 23:57:34] local.INFO: Extracted packet for processing {"connection_id":148125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b9"} 
[2026-08-02 23:57:34] local.INFO: GPS Element Parsed {"raw_longitude":753716864,"raw_latitude":118870944,"longitude_deg":75.3716864,"latitude_deg":11.8870944,"altitude":26,"angle":153,"satellites":42,"speed":36,"hex_longitude":"2cecce80","hex_latitude":"0715d3a0","is_valid_coordinates":true} 
[2026-08-02 23:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137952512001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367607638139076608,"note":"Value kept but may cause issues"} 
[2026-08-02 23:57:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1387882710982924288,"note":"Value kept but may cause issues"} 
[2026-08-02 23:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785695138000,"timestamp_ms":1785695138000,"timestamp_seconds":1785695138,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b970d0"} 
[2026-08-02 23:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-02 23:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137952512001,"66":27376,"192":206,"83":41216,"24":36,"16":367607638139076608,"44":-1387882710982924288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-02 23:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137952512001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:57:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-02 23:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367607638139076608,"km_value":367607638139076.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:57:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1387882710982924288,"description":"Unknown IO ID 44"} 
[2026-08-02 23:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137952512001,"power":27376,"unknown_192":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1387882710982924288}} 
[2026-08-02 23:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":148125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:57:34] local.INFO: GPS data processed {"connection_id":148125,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:57:34] local.INFO: Acknowledgment sent {"connection_id":148125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:58:05] local.INFO: TCP Data received {"connection_id":148125,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b997e0012cecdc400715b3680019009c2f..."} 
[2026-08-02 23:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b997e0012cecdc400715b3680019009c2f..."} 
[2026-08-02 23:58:05] local.INFO: Processing buffer {"connection_id":148125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b997e0012cecdc400715b3680019009c2f..."} 
[2026-08-02 23:58:05] local.INFO: Packet analysis {"connection_id":148125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b9"} 
[2026-08-02 23:58:05] local.INFO: Extracted packet for processing {"connection_id":148125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b9"} 
[2026-08-02 23:58:05] local.INFO: GPS Element Parsed {"raw_longitude":753720384,"raw_latitude":118862696,"longitude_deg":75.3720384,"latitude_deg":11.8862696,"altitude":25,"angle":156,"satellites":47,"speed":35,"hex_longitude":"2cecdc40","hex_latitude":"0715b368","is_valid_coordinates":true} 
[2026-08-02 23:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137955328001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367608071930773504,"note":"Value kept but may cause issues"} 
[2026-08-02 23:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1383027267636846592,"note":"Value kept but may cause issues"} 
[2026-08-02 23:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785695148000,"timestamp_ms":1785695148000,"timestamp_seconds":1785695148,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b997e0"} 
[2026-08-02 23:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-02 23:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137955328001,"66":27300,"192":206,"83":41216,"24":35,"16":367608071930773504,"44":-1383027267636846592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-02 23:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137955328001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:58:05] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-02 23:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367608071930773504,"km_value":367608071930773.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1383027267636846592,"description":"Unknown IO ID 44"} 
[2026-08-02 23:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137955328001,"power":27300,"unknown_192":206,"unknown_83":41216,"ignition":35,"odometer":null,"unknown_44":-1383027267636846592}} 
[2026-08-02 23:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":148125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:58:05] local.INFO: GPS data processed {"connection_id":148125,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:58:05] local.INFO: Acknowledgment sent {"connection_id":148125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:58:20] local.INFO: TCP Data received {"connection_id":146865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:58:20] local.INFO: Processing buffer {"connection_id":146865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:58:20] local.INFO: IMEI packet received {"connection_id":146865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":146865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:58:24] local.INFO: TCP Data received {"connection_id":146865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:58:24] local.INFO: Processing buffer {"connection_id":146865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:58:24] local.INFO: IMEI packet received {"connection_id":146865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":146865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:58:26] local.INFO: TCP Data received {"connection_id":146865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:58:26] local.INFO: Processing buffer {"connection_id":146865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:58:26] local.INFO: IMEI packet received {"connection_id":146865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":146865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:58:27] local.INFO: TCP Data received {"connection_id":146865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b9c6c0012ceceb8007159128001800972e..."} 
[2026-08-02 23:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b9c6c0012ceceb8007159128001800972e..."} 
[2026-08-02 23:58:27] local.INFO: Processing buffer {"connection_id":146865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b9c6c0012ceceb8007159128001800972e..."} 
[2026-08-02 23:58:27] local.INFO: Packet analysis {"connection_id":146865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b9"} 
[2026-08-02 23:58:27] local.INFO: Extracted packet for processing {"connection_id":146865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b9"} 
[2026-08-02 23:58:27] local.INFO: GPS Element Parsed {"raw_longitude":753724288,"raw_latitude":118853928,"longitude_deg":75.3724288,"latitude_deg":11.8853928,"altitude":24,"angle":151,"satellites":46,"speed":31,"hex_longitude":"2ceceb80","hex_latitude":"07159128","is_valid_coordinates":true} 
[2026-08-02 23: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-08-02 23:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137957888001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367608531492274176,"note":"Value kept but may cause issues"} 
[2026-08-02 23:58:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1379156986709186560,"note":"Value kept but may cause issues"} 
[2026-08-02 23:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785695160000,"timestamp_ms":1785695160000,"timestamp_seconds":1785695160,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b9c6c0"} 
[2026-08-02 23:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 23:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23: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-08-02 23:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137957888001,"66":27267,"192":206,"83":41216,"24":31,"16":367608531492274176,"44":-1379156986709186560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-02 23:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137957888001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:58:27] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-02 23:58:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367608531492274176,"km_value":367608531492274.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:58:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1379156986709186560,"description":"Unknown IO ID 44"} 
[2026-08-02 23:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137957888001,"power":27267,"unknown_192":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1379156986709186560}} 
[2026-08-02 23:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":146865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:58:27] local.INFO: GPS data processed {"connection_id":146865,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:58:27] local.INFO: Acknowledgment sent {"connection_id":146865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:58:30] local.INFO: TCP Data received {"connection_id":146865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3b9f1b8012cecff4007157248001700972b..."} 
[2026-08-02 23:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3b9f1b8012cecff4007157248001700972b..."} 
[2026-08-02 23:58:30] local.INFO: Processing buffer {"connection_id":146865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3b9f1b8012cecff4007157248001700972b..."} 
[2026-08-02 23:58:30] local.INFO: Packet analysis {"connection_id":146865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3b9"} 
[2026-08-02 23:58:30] local.INFO: Extracted packet for processing {"connection_id":146865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3b9"} 
[2026-08-02 23:58:30] local.INFO: GPS Element Parsed {"raw_longitude":753729344,"raw_latitude":118846024,"longitude_deg":75.3729344,"latitude_deg":11.8846024,"altitude":23,"angle":151,"satellites":43,"speed":34,"hex_longitude":"2cecff40","hex_latitude":"07157248","is_valid_coordinates":true} 
[2026-08-02 23:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137960960001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367608986758807552,"note":"Value kept but may cause issues"} 
[2026-08-02 23:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1374864493316593664,"note":"Value kept but may cause issues"} 
[2026-08-02 23:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785695171000,"timestamp_ms":1785695171000,"timestamp_seconds":1785695171,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3b9f1b8"} 
[2026-08-02 23:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-02 23:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137960960001,"66":26702,"192":206,"83":41216,"24":34,"16":367608986758807552,"44":-1374864493316593664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-02 23:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137960960001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:58:30] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-02 23:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367608986758807552,"km_value":367608986758807.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1374864493316593664,"description":"Unknown IO ID 44"} 
[2026-08-02 23:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137960960001,"power":26702,"unknown_192":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1374864493316593664}} 
[2026-08-02 23:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":146865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:58:30] local.INFO: GPS data processed {"connection_id":146865,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:58:30] local.INFO: Acknowledgment sent {"connection_id":146865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:59:01] local.INFO: TCP Data received {"connection_id":146865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3ba2c50012ced0ec0071550f80018009c2d..."} 
[2026-08-02 23:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3ba2c50012ced0ec0071550f80018009c2d..."} 
[2026-08-02 23:59:01] local.INFO: Processing buffer {"connection_id":146865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3ba2c50012ced0ec0071550f80018009c2d..."} 
[2026-08-02 23:59:01] local.INFO: Packet analysis {"connection_id":146865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3ba"} 
[2026-08-02 23:59:01] local.INFO: Extracted packet for processing {"connection_id":146865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3ba"} 
[2026-08-02 23:59:01] local.INFO: GPS Element Parsed {"raw_longitude":753733312,"raw_latitude":118837496,"longitude_deg":75.3733312,"latitude_deg":11.8837496,"altitude":24,"angle":156,"satellites":45,"speed":22,"hex_longitude":"2ced0ec0","hex_latitude":"071550f8","is_valid_coordinates":true} 
[2026-08-02 23:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137963776001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367609442025340928,"note":"Value kept but may cause issues"} 
[2026-08-02 23:59:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1369305362528581632,"note":"Value kept but may cause issues"} 
[2026-08-02 23:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785695186000,"timestamp_ms":1785695186000,"timestamp_seconds":1785695186,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3ba2c50"} 
[2026-08-02 23:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-02 23:59:01] 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-08-02 23:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137963776001,"66":27050,"192":206,"83":41216,"24":22,"16":367609442025340928,"44":-1369305362528581632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-02 23:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137963776001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:59:01] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-02 23:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367609442025340928,"km_value":367609442025340.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:59:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1369305362528581632,"description":"Unknown IO ID 44"} 
[2026-08-02 23:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137963776001,"power":27050,"unknown_192":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1369305362528581632}} 
[2026-08-02 23:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":146865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:59:01] local.INFO: GPS data processed {"connection_id":146865,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:59:01] local.INFO: Acknowledgment sent {"connection_id":146865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-02 23:59:22] local.INFO: TCP Data received {"connection_id":148126,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:59:22] local.INFO: Processing buffer {"connection_id":148126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:59:22] local.INFO: IMEI packet received {"connection_id":148126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-02 23:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":148126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-02 23:59:28] local.INFO: TCP Data received {"connection_id":148126,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:59:28] local.INFO: Processing buffer {"connection_id":148126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-02 23:59:28] local.INFO: IMEI packet received {"connection_id":148126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-02 23:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":148126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-02 23:59:29] local.INFO: TCP Data received {"connection_id":148126,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fc3bbf940012ced1fc007141f20001b00a730..."} 
[2026-08-02 23:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fc3bbf940012ced1fc007141f20001b00a730..."} 
[2026-08-02 23:59:29] local.INFO: Processing buffer {"connection_id":148126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fc3bbf940012ced1fc007141f20001b00a730..."} 
[2026-08-02 23:59:29] local.INFO: Packet analysis {"connection_id":148126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fc3bb"} 
[2026-08-02 23:59:29] local.INFO: Extracted packet for processing {"connection_id":148126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fc3bb"} 
[2026-08-02 23:59:29] local.INFO: GPS Element Parsed {"raw_longitude":753737664,"raw_latitude":118759200,"longitude_deg":75.3737664,"latitude_deg":11.87592,"altitude":27,"angle":167,"satellites":48,"speed":19,"hex_longitude":"2ced1fc0","hex_latitude":"07141f20","is_valid_coordinates":true} 
[2026-08-02 23:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-02 23:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457137995776001,"note":"Value kept but may cause issues"} 
[2026-08-02 23:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367613401985187840,"note":"Value kept but may cause issues"} 
[2026-08-02 23:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1360368532039260160,"note":"Value kept but may cause issues"} 
[2026-08-02 23:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-02 23:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785695304000,"timestamp_ms":1785695304000,"timestamp_seconds":1785695304,"priority":1,"record_length":96,"hex_timestamp":"0000019fc3bbf940"} 
[2026-08-02 23:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-02 23:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-02 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-02 23:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-02 23:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-02 23:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-02 23:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-02 23:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-02 23:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-02 23:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-02 23:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-02 23:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-02 23:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457137995776001,"66":27343,"26":206,"83":41216,"24":19,"16":367613401985187840,"44":-1360368532039260160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-08-02 23:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-02 23:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-02 23:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457137995776001,"description":"Unknown IO ID 0"} 
[2026-08-02 23:59:29] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-02 23:59:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-02 23:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367613401985187840,"km_value":367613401985187.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-02 23:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1360368532039260160,"description":"Unknown IO ID 44"} 
[2026-08-02 23:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457137995776001,"power":27343,"unknown_26":206,"unknown_83":41216,"ignition":19,"odometer":null,"unknown_44":-1360368532039260160}} 
[2026-08-02 23:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":148126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-02 23:59:29] local.INFO: GPS data processed {"connection_id":148126,"processed":1,"errors":0,"total":1} 
[2026-08-02 23:59:29] local.INFO: Acknowledgment sent {"connection_id":148126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
